configure revision 83d7c197
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.61 for xmag 1.0.3. 4# 5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6# 7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## --------------------- ## 12## M4sh Initialization. ## 13## --------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 18 emulate sh 19 NULLCMD=: 20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27esac 28 29fi 30 31 32 33 34# PATH needs CR 35# Avoid depending upon Character Ranges. 36as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39as_cr_digits='0123456789' 40as_cr_alnum=$as_cr_Letters$as_cr_digits 41 42# The user is always right. 43if test "${PATH_SEPARATOR+set}" != set; then 44 echo "#! /bin/sh" >conf$$.sh 45 echo "exit 0" >>conf$$.sh 46 chmod +x conf$$.sh 47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 48 PATH_SEPARATOR=';' 49 else 50 PATH_SEPARATOR=: 51 fi 52 rm -f conf$$.sh 53fi 54 55# Support unset when possible. 56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 57 as_unset=unset 58else 59 as_unset=false 60fi 61 62 63# IFS 64# We need space, tab and new line, in precisely that order. Quoting is 65# there to prevent editors from complaining about space-tab. 66# (If _AS_PATH_WALK were called with IFS unset, it would disable word 67# splitting by setting IFS to empty value.) 68as_nl=' 69' 70IFS=" "" $as_nl" 71 72# Find who we are. Look in the path if we contain no directory separator. 73case $0 in 74 *[\\/]* ) as_myself=$0 ;; 75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 76for as_dir in $PATH 77do 78 IFS=$as_save_IFS 79 test -z "$as_dir" && as_dir=. 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 81done 82IFS=$as_save_IFS 83 84 ;; 85esac 86# We did not find ourselves, most probably we were run as `sh COMMAND' 87# in which case we are not to be found in the path. 88if test "x$as_myself" = x; then 89 as_myself=$0 90fi 91if test ! -f "$as_myself"; then 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 93 { (exit 1); exit 1; } 94fi 95 96# Work around bugs in pre-3.0 UWIN ksh. 97for as_var in ENV MAIL MAILPATH 98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 99done 100PS1='$ ' 101PS2='> ' 102PS4='+ ' 103 104# NLS nuisances. 105for as_var in \ 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 108 LC_TELEPHONE LC_TIME 109do 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 111 eval $as_var=C; export $as_var 112 else 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 114 fi 115done 116 117# Required to use basename. 118if expr a : '\(a\)' >/dev/null 2>&1 && 119 test "X`expr 00001 : '.*\(...\)'`" = X001; then 120 as_expr=expr 121else 122 as_expr=false 123fi 124 125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 126 as_basename=basename 127else 128 as_basename=false 129fi 130 131 132# Name of the executable. 133as_me=`$as_basename -- "$0" || 134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 135 X"$0" : 'X\(//\)$' \| \ 136 X"$0" : 'X\(/\)' \| . 2>/dev/null || 137echo X/"$0" | 138 sed '/^.*\/\([^/][^/]*\)\/*$/{ 139 s//\1/ 140 q 141 } 142 /^X\/\(\/\/\)$/{ 143 s//\1/ 144 q 145 } 146 /^X\/\(\/\).*/{ 147 s//\1/ 148 q 149 } 150 s/.*/./; q'` 151 152# CDPATH. 153$as_unset CDPATH 154 155 156if test "x$CONFIG_SHELL" = x; then 157 if (eval ":") 2>/dev/null; then 158 as_have_required=yes 159else 160 as_have_required=no 161fi 162 163 if test $as_have_required = yes && (eval ": 164(as_func_return () { 165 (exit \$1) 166} 167as_func_success () { 168 as_func_return 0 169} 170as_func_failure () { 171 as_func_return 1 172} 173as_func_ret_success () { 174 return 0 175} 176as_func_ret_failure () { 177 return 1 178} 179 180exitcode=0 181if as_func_success; then 182 : 183else 184 exitcode=1 185 echo as_func_success failed. 186fi 187 188if as_func_failure; then 189 exitcode=1 190 echo as_func_failure succeeded. 191fi 192 193if as_func_ret_success; then 194 : 195else 196 exitcode=1 197 echo as_func_ret_success failed. 198fi 199 200if as_func_ret_failure; then 201 exitcode=1 202 echo as_func_ret_failure succeeded. 203fi 204 205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 206 : 207else 208 exitcode=1 209 echo positional parameters were not saved. 210fi 211 212test \$exitcode = 0) || { (exit 1); exit 1; } 213 214( 215 as_lineno_1=\$LINENO 216 as_lineno_2=\$LINENO 217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 219") 2> /dev/null; then 220 : 221else 222 as_candidate_shells= 223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 225do 226 IFS=$as_save_IFS 227 test -z "$as_dir" && as_dir=. 228 case $as_dir in 229 /*) 230 for as_base in sh bash ksh sh5; do 231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 232 done;; 233 esac 234done 235IFS=$as_save_IFS 236 237 238 for as_shell in $as_candidate_shells $SHELL; do 239 # Try only shells that exist, to save several forks. 240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 241 { ("$as_shell") 2> /dev/null <<\_ASEOF 242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 243 emulate sh 244 NULLCMD=: 245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 246 # is contrary to our usage. Disable this feature. 247 alias -g '${1+"$@"}'='"$@"' 248 setopt NO_GLOB_SUBST 249else 250 case `(set -o) 2>/dev/null` in 251 *posix*) set -o posix ;; 252esac 253 254fi 255 256 257: 258_ASEOF 259}; then 260 CONFIG_SHELL=$as_shell 261 as_have_required=yes 262 if { "$as_shell" 2> /dev/null <<\_ASEOF 263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 264 emulate sh 265 NULLCMD=: 266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 267 # is contrary to our usage. Disable this feature. 268 alias -g '${1+"$@"}'='"$@"' 269 setopt NO_GLOB_SUBST 270else 271 case `(set -o) 2>/dev/null` in 272 *posix*) set -o posix ;; 273esac 274 275fi 276 277 278: 279(as_func_return () { 280 (exit $1) 281} 282as_func_success () { 283 as_func_return 0 284} 285as_func_failure () { 286 as_func_return 1 287} 288as_func_ret_success () { 289 return 0 290} 291as_func_ret_failure () { 292 return 1 293} 294 295exitcode=0 296if as_func_success; then 297 : 298else 299 exitcode=1 300 echo as_func_success failed. 301fi 302 303if as_func_failure; then 304 exitcode=1 305 echo as_func_failure succeeded. 306fi 307 308if as_func_ret_success; then 309 : 310else 311 exitcode=1 312 echo as_func_ret_success failed. 313fi 314 315if as_func_ret_failure; then 316 exitcode=1 317 echo as_func_ret_failure succeeded. 318fi 319 320if ( set x; as_func_ret_success y && test x = "$1" ); then 321 : 322else 323 exitcode=1 324 echo positional parameters were not saved. 325fi 326 327test $exitcode = 0) || { (exit 1); exit 1; } 328 329( 330 as_lineno_1=$LINENO 331 as_lineno_2=$LINENO 332 test "x$as_lineno_1" != "x$as_lineno_2" && 333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 334 335_ASEOF 336}; then 337 break 338fi 339 340fi 341 342 done 343 344 if test "x$CONFIG_SHELL" != x; then 345 for as_var in BASH_ENV ENV 346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 347 done 348 export CONFIG_SHELL 349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 350fi 351 352 353 if test $as_have_required = no; then 354 echo This script requires a shell more modern than all the 355 echo shells that I found on your system. Please install a 356 echo modern shell, or manually run the script under such a 357 echo shell if you do have one. 358 { (exit 1); exit 1; } 359fi 360 361 362fi 363 364fi 365 366 367 368(eval "as_func_return () { 369 (exit \$1) 370} 371as_func_success () { 372 as_func_return 0 373} 374as_func_failure () { 375 as_func_return 1 376} 377as_func_ret_success () { 378 return 0 379} 380as_func_ret_failure () { 381 return 1 382} 383 384exitcode=0 385if as_func_success; then 386 : 387else 388 exitcode=1 389 echo as_func_success failed. 390fi 391 392if as_func_failure; then 393 exitcode=1 394 echo as_func_failure succeeded. 395fi 396 397if as_func_ret_success; then 398 : 399else 400 exitcode=1 401 echo as_func_ret_success failed. 402fi 403 404if as_func_ret_failure; then 405 exitcode=1 406 echo as_func_ret_failure succeeded. 407fi 408 409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 410 : 411else 412 exitcode=1 413 echo positional parameters were not saved. 414fi 415 416test \$exitcode = 0") || { 417 echo No shell found that supports shell functions. 418 echo Please tell autoconf@gnu.org about your system, 419 echo including any error possibly output before this 420 echo message 421} 422 423 424 425 as_lineno_1=$LINENO 426 as_lineno_2=$LINENO 427 test "x$as_lineno_1" != "x$as_lineno_2" && 428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 429 430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 431 # uniformly replaced by the line number. The first 'sed' inserts a 432 # line-number line after each line using $LINENO; the second 'sed' 433 # does the real work. The second script uses 'N' to pair each 434 # line-number line with the line containing $LINENO, and appends 435 # trailing '-' during substitution so that $LINENO is not a special 436 # case at line end. 437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 438 # scripts with optimization help from Paolo Bonzini. Blame Lee 439 # E. McMahon (1931-1989) for sed's syntax. :-) 440 sed -n ' 441 p 442 /[$]LINENO/= 443 ' <$as_myself | 444 sed ' 445 s/[$]LINENO.*/&-/ 446 t lineno 447 b 448 :lineno 449 N 450 :loop 451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 452 t loop 453 s/-\n.*// 454 ' >$as_me.lineno && 455 chmod +x "$as_me.lineno" || 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 457 { (exit 1); exit 1; }; } 458 459 # Don't try to exec as it changes $[0], causing all sort of problems 460 # (the dirname of $[0] is not the place where we might find the 461 # original and so on. Autoconf is especially sensitive to this). 462 . "./$as_me.lineno" 463 # Exit status is that of the last command. 464 exit 465} 466 467 468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 469 as_dirname=dirname 470else 471 as_dirname=false 472fi 473 474ECHO_C= ECHO_N= ECHO_T= 475case `echo -n x` in 476-n*) 477 case `echo 'x\c'` in 478 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479 *) ECHO_C='\c';; 480 esac;; 481*) 482 ECHO_N='-n';; 483esac 484 485if expr a : '\(a\)' >/dev/null 2>&1 && 486 test "X`expr 00001 : '.*\(...\)'`" = X001; then 487 as_expr=expr 488else 489 as_expr=false 490fi 491 492rm -f conf$$ conf$$.exe conf$$.file 493if test -d conf$$.dir; then 494 rm -f conf$$.dir/conf$$.file 495else 496 rm -f conf$$.dir 497 mkdir conf$$.dir 498fi 499echo >conf$$.file 500if ln -s conf$$.file conf$$ 2>/dev/null; then 501 as_ln_s='ln -s' 502 # ... but there are two gotchas: 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 505 # In both cases, we have to default to `cp -p'. 506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 507 as_ln_s='cp -p' 508elif ln conf$$.file conf$$ 2>/dev/null; then 509 as_ln_s=ln 510else 511 as_ln_s='cp -p' 512fi 513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 514rmdir conf$$.dir 2>/dev/null 515 516if mkdir -p . 2>/dev/null; then 517 as_mkdir_p=: 518else 519 test -d ./-p && rmdir ./-p 520 as_mkdir_p=false 521fi 522 523if test -x / >/dev/null 2>&1; then 524 as_test_x='test -x' 525else 526 if ls -dL / >/dev/null 2>&1; then 527 as_ls_L_option=L 528 else 529 as_ls_L_option= 530 fi 531 as_test_x=' 532 eval sh -c '\'' 533 if test -d "$1"; then 534 test -d "$1/."; 535 else 536 case $1 in 537 -*)set "./$1";; 538 esac; 539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 540 ???[sx]*):;;*)false;;esac;fi 541 '\'' sh 542 ' 543fi 544as_executable_p=$as_test_x 545 546# Sed expression to map a string onto a valid CPP name. 547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 548 549# Sed expression to map a string onto a valid variable name. 550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 551 552 553 554exec 7<&0 </dev/null 6>&1 555 556# Name of the host. 557# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 558# so uname gets run too. 559ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 560 561# 562# Initializations. 563# 564ac_default_prefix=/usr/local 565ac_clean_files= 566ac_config_libobj_dir=. 567LIBOBJS= 568cross_compiling=no 569subdirs= 570MFLAGS= 571MAKEFLAGS= 572SHELL=${CONFIG_SHELL-/bin/sh} 573 574# Identity of this package. 575PACKAGE_NAME='xmag' 576PACKAGE_TARNAME='xmag' 577PACKAGE_VERSION='1.0.3' 578PACKAGE_STRING='xmag 1.0.3' 579PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 580 581# Factoring default headers for most tests. 582ac_includes_default="\ 583#include <stdio.h> 584#ifdef HAVE_SYS_TYPES_H 585# include <sys/types.h> 586#endif 587#ifdef HAVE_SYS_STAT_H 588# include <sys/stat.h> 589#endif 590#ifdef STDC_HEADERS 591# include <stdlib.h> 592# include <stddef.h> 593#else 594# ifdef HAVE_STDLIB_H 595# include <stdlib.h> 596# endif 597#endif 598#ifdef HAVE_STRING_H 599# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 600# include <memory.h> 601# endif 602# include <string.h> 603#endif 604#ifdef HAVE_STRINGS_H 605# include <strings.h> 606#endif 607#ifdef HAVE_INTTYPES_H 608# include <inttypes.h> 609#endif 610#ifdef HAVE_STDINT_H 611# include <stdint.h> 612#endif 613#ifdef HAVE_UNISTD_H 614# include <unistd.h> 615#endif" 616 617ac_subst_vars='SHELL 618PATH_SEPARATOR 619PACKAGE_NAME 620PACKAGE_TARNAME 621PACKAGE_VERSION 622PACKAGE_STRING 623PACKAGE_BUGREPORT 624exec_prefix 625prefix 626program_transform_name 627bindir 628sbindir 629libexecdir 630datarootdir 631datadir 632sysconfdir 633sharedstatedir 634localstatedir 635includedir 636oldincludedir 637docdir 638infodir 639htmldir 640dvidir 641pdfdir 642psdir 643libdir 644localedir 645mandir 646DEFS 647ECHO_C 648ECHO_N 649ECHO_T 650LIBS 651build_alias 652host_alias 653target_alias 654INSTALL_PROGRAM 655INSTALL_SCRIPT 656INSTALL_DATA 657am__isrc 658CYGPATH_W 659PACKAGE 660VERSION 661ACLOCAL 662AUTOCONF 663AUTOMAKE 664AUTOHEADER 665MAKEINFO 666install_sh 667STRIP 668INSTALL_STRIP_PROGRAM 669mkdir_p 670AWK 671SET_MAKE 672am__leading_dot 673AMTAR 674am__tar 675am__untar 676MAINTAINER_MODE_TRUE 677MAINTAINER_MODE_FALSE 678MAINT 679CC 680CFLAGS 681LDFLAGS 682CPPFLAGS 683ac_ct_CC 684EXEEXT 685OBJEXT 686DEPDIR 687am__include 688am__quote 689AMDEP_TRUE 690AMDEP_FALSE 691AMDEPBACKSLASH 692CCDEPMODE 693am__fastdepCC_TRUE 694am__fastdepCC_FALSE 695CPP 696GREP 697EGREP 698CWARNFLAGS 699PKG_CONFIG 700XMAG_CFLAGS 701XMAG_LIBS 702APPDEFS_CFLAGS 703APPDEFS_LIBS 704appdefaultdir 705build 706build_cpu 707build_vendor 708build_os 709host 710host_cpu 711host_vendor 712host_os 713APP_MAN_SUFFIX 714LIB_MAN_SUFFIX 715FILE_MAN_SUFFIX 716MISC_MAN_SUFFIX 717DRIVER_MAN_SUFFIX 718ADMIN_MAN_SUFFIX 719APP_MAN_DIR 720LIB_MAN_DIR 721FILE_MAN_DIR 722MISC_MAN_DIR 723DRIVER_MAN_DIR 724ADMIN_MAN_DIR 725CHANGELOG_CMD 726distcleancheck_listfiles 727LIBOBJS 728LTLIBOBJS' 729ac_subst_files='' 730 ac_precious_vars='build_alias 731host_alias 732target_alias 733CC 734CFLAGS 735LDFLAGS 736LIBS 737CPPFLAGS 738CPP 739PKG_CONFIG 740XMAG_CFLAGS 741XMAG_LIBS 742APPDEFS_CFLAGS 743APPDEFS_LIBS' 744 745 746# Initialize some variables set by options. 747ac_init_help= 748ac_init_version=false 749# The variables have the same names as the options, with 750# dashes changed to underlines. 751cache_file=/dev/null 752exec_prefix=NONE 753no_create= 754no_recursion= 755prefix=NONE 756program_prefix=NONE 757program_suffix=NONE 758program_transform_name=s,x,x, 759silent= 760site= 761srcdir= 762verbose= 763x_includes=NONE 764x_libraries=NONE 765 766# Installation directory options. 767# These are left unexpanded so users can "make install exec_prefix=/foo" 768# and all the variables that are supposed to be based on exec_prefix 769# by default will actually change. 770# Use braces instead of parens because sh, perl, etc. also accept them. 771# (The list follows the same order as the GNU Coding Standards.) 772bindir='${exec_prefix}/bin' 773sbindir='${exec_prefix}/sbin' 774libexecdir='${exec_prefix}/libexec' 775datarootdir='${prefix}/share' 776datadir='${datarootdir}' 777sysconfdir='${prefix}/etc' 778sharedstatedir='${prefix}/com' 779localstatedir='${prefix}/var' 780includedir='${prefix}/include' 781oldincludedir='/usr/include' 782docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 783infodir='${datarootdir}/info' 784htmldir='${docdir}' 785dvidir='${docdir}' 786pdfdir='${docdir}' 787psdir='${docdir}' 788libdir='${exec_prefix}/lib' 789localedir='${datarootdir}/locale' 790mandir='${datarootdir}/man' 791 792ac_prev= 793ac_dashdash= 794for ac_option 795do 796 # If the previous option needs an argument, assign it. 797 if test -n "$ac_prev"; then 798 eval $ac_prev=\$ac_option 799 ac_prev= 800 continue 801 fi 802 803 case $ac_option in 804 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 805 *) ac_optarg=yes ;; 806 esac 807 808 # Accept the important Cygnus configure options, so we can diagnose typos. 809 810 case $ac_dashdash$ac_option in 811 --) 812 ac_dashdash=yes ;; 813 814 -bindir | --bindir | --bindi | --bind | --bin | --bi) 815 ac_prev=bindir ;; 816 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 817 bindir=$ac_optarg ;; 818 819 -build | --build | --buil | --bui | --bu) 820 ac_prev=build_alias ;; 821 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 822 build_alias=$ac_optarg ;; 823 824 -cache-file | --cache-file | --cache-fil | --cache-fi \ 825 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 826 ac_prev=cache_file ;; 827 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 828 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 829 cache_file=$ac_optarg ;; 830 831 --config-cache | -C) 832 cache_file=config.cache ;; 833 834 -datadir | --datadir | --datadi | --datad) 835 ac_prev=datadir ;; 836 -datadir=* | --datadir=* | --datadi=* | --datad=*) 837 datadir=$ac_optarg ;; 838 839 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 840 | --dataroo | --dataro | --datar) 841 ac_prev=datarootdir ;; 842 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 843 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 844 datarootdir=$ac_optarg ;; 845 846 -disable-* | --disable-*) 847 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 848 # Reject names that are not valid shell variable names. 849 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 850 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 851 { (exit 1); exit 1; }; } 852 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 853 eval enable_$ac_feature=no ;; 854 855 -docdir | --docdir | --docdi | --doc | --do) 856 ac_prev=docdir ;; 857 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 858 docdir=$ac_optarg ;; 859 860 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 861 ac_prev=dvidir ;; 862 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 863 dvidir=$ac_optarg ;; 864 865 -enable-* | --enable-*) 866 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 867 # Reject names that are not valid shell variable names. 868 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 869 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 870 { (exit 1); exit 1; }; } 871 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 872 eval enable_$ac_feature=\$ac_optarg ;; 873 874 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 875 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 876 | --exec | --exe | --ex) 877 ac_prev=exec_prefix ;; 878 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 879 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 880 | --exec=* | --exe=* | --ex=*) 881 exec_prefix=$ac_optarg ;; 882 883 -gas | --gas | --ga | --g) 884 # Obsolete; use --with-gas. 885 with_gas=yes ;; 886 887 -help | --help | --hel | --he | -h) 888 ac_init_help=long ;; 889 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 890 ac_init_help=recursive ;; 891 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 892 ac_init_help=short ;; 893 894 -host | --host | --hos | --ho) 895 ac_prev=host_alias ;; 896 -host=* | --host=* | --hos=* | --ho=*) 897 host_alias=$ac_optarg ;; 898 899 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 900 ac_prev=htmldir ;; 901 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 902 | --ht=*) 903 htmldir=$ac_optarg ;; 904 905 -includedir | --includedir | --includedi | --included | --include \ 906 | --includ | --inclu | --incl | --inc) 907 ac_prev=includedir ;; 908 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 909 | --includ=* | --inclu=* | --incl=* | --inc=*) 910 includedir=$ac_optarg ;; 911 912 -infodir | --infodir | --infodi | --infod | --info | --inf) 913 ac_prev=infodir ;; 914 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 915 infodir=$ac_optarg ;; 916 917 -libdir | --libdir | --libdi | --libd) 918 ac_prev=libdir ;; 919 -libdir=* | --libdir=* | --libdi=* | --libd=*) 920 libdir=$ac_optarg ;; 921 922 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 923 | --libexe | --libex | --libe) 924 ac_prev=libexecdir ;; 925 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 926 | --libexe=* | --libex=* | --libe=*) 927 libexecdir=$ac_optarg ;; 928 929 -localedir | --localedir | --localedi | --localed | --locale) 930 ac_prev=localedir ;; 931 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 932 localedir=$ac_optarg ;; 933 934 -localstatedir | --localstatedir | --localstatedi | --localstated \ 935 | --localstate | --localstat | --localsta | --localst | --locals) 936 ac_prev=localstatedir ;; 937 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 938 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 939 localstatedir=$ac_optarg ;; 940 941 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 942 ac_prev=mandir ;; 943 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 944 mandir=$ac_optarg ;; 945 946 -nfp | --nfp | --nf) 947 # Obsolete; use --without-fp. 948 with_fp=no ;; 949 950 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 951 | --no-cr | --no-c | -n) 952 no_create=yes ;; 953 954 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 955 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 956 no_recursion=yes ;; 957 958 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 959 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 960 | --oldin | --oldi | --old | --ol | --o) 961 ac_prev=oldincludedir ;; 962 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 963 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 964 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 965 oldincludedir=$ac_optarg ;; 966 967 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 968 ac_prev=prefix ;; 969 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 970 prefix=$ac_optarg ;; 971 972 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 973 | --program-pre | --program-pr | --program-p) 974 ac_prev=program_prefix ;; 975 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 976 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 977 program_prefix=$ac_optarg ;; 978 979 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 980 | --program-suf | --program-su | --program-s) 981 ac_prev=program_suffix ;; 982 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 983 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 984 program_suffix=$ac_optarg ;; 985 986 -program-transform-name | --program-transform-name \ 987 | --program-transform-nam | --program-transform-na \ 988 | --program-transform-n | --program-transform- \ 989 | --program-transform | --program-transfor \ 990 | --program-transfo | --program-transf \ 991 | --program-trans | --program-tran \ 992 | --progr-tra | --program-tr | --program-t) 993 ac_prev=program_transform_name ;; 994 -program-transform-name=* | --program-transform-name=* \ 995 | --program-transform-nam=* | --program-transform-na=* \ 996 | --program-transform-n=* | --program-transform-=* \ 997 | --program-transform=* | --program-transfor=* \ 998 | --program-transfo=* | --program-transf=* \ 999 | --program-trans=* | --program-tran=* \ 1000 | --progr-tra=* | --program-tr=* | --program-t=*) 1001 program_transform_name=$ac_optarg ;; 1002 1003 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1004 ac_prev=pdfdir ;; 1005 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1006 pdfdir=$ac_optarg ;; 1007 1008 -psdir | --psdir | --psdi | --psd | --ps) 1009 ac_prev=psdir ;; 1010 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1011 psdir=$ac_optarg ;; 1012 1013 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1014 | -silent | --silent | --silen | --sile | --sil) 1015 silent=yes ;; 1016 1017 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1018 ac_prev=sbindir ;; 1019 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1020 | --sbi=* | --sb=*) 1021 sbindir=$ac_optarg ;; 1022 1023 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1024 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1025 | --sharedst | --shareds | --shared | --share | --shar \ 1026 | --sha | --sh) 1027 ac_prev=sharedstatedir ;; 1028 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1029 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1030 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1031 | --sha=* | --sh=*) 1032 sharedstatedir=$ac_optarg ;; 1033 1034 -site | --site | --sit) 1035 ac_prev=site ;; 1036 -site=* | --site=* | --sit=*) 1037 site=$ac_optarg ;; 1038 1039 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1040 ac_prev=srcdir ;; 1041 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1042 srcdir=$ac_optarg ;; 1043 1044 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1045 | --syscon | --sysco | --sysc | --sys | --sy) 1046 ac_prev=sysconfdir ;; 1047 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1048 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1049 sysconfdir=$ac_optarg ;; 1050 1051 -target | --target | --targe | --targ | --tar | --ta | --t) 1052 ac_prev=target_alias ;; 1053 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1054 target_alias=$ac_optarg ;; 1055 1056 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1057 verbose=yes ;; 1058 1059 -version | --version | --versio | --versi | --vers | -V) 1060 ac_init_version=: ;; 1061 1062 -with-* | --with-*) 1063 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1064 # Reject names that are not valid shell variable names. 1065 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1066 { echo "$as_me: error: invalid package name: $ac_package" >&2 1067 { (exit 1); exit 1; }; } 1068 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1069 eval with_$ac_package=\$ac_optarg ;; 1070 1071 -without-* | --without-*) 1072 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1073 # Reject names that are not valid shell variable names. 1074 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1075 { echo "$as_me: error: invalid package name: $ac_package" >&2 1076 { (exit 1); exit 1; }; } 1077 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1078 eval with_$ac_package=no ;; 1079 1080 --x) 1081 # Obsolete; use --with-x. 1082 with_x=yes ;; 1083 1084 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1085 | --x-incl | --x-inc | --x-in | --x-i) 1086 ac_prev=x_includes ;; 1087 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1088 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1089 x_includes=$ac_optarg ;; 1090 1091 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1092 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1093 ac_prev=x_libraries ;; 1094 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1095 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1096 x_libraries=$ac_optarg ;; 1097 1098 -*) { echo "$as_me: error: unrecognized option: $ac_option 1099Try \`$0 --help' for more information." >&2 1100 { (exit 1); exit 1; }; } 1101 ;; 1102 1103 *=*) 1104 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1105 # Reject names that are not valid shell variable names. 1106 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1107 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1108 { (exit 1); exit 1; }; } 1109 eval $ac_envvar=\$ac_optarg 1110 export $ac_envvar ;; 1111 1112 *) 1113 # FIXME: should be removed in autoconf 3.0. 1114 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1115 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1116 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1117 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1118 ;; 1119 1120 esac 1121done 1122 1123if test -n "$ac_prev"; then 1124 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1125 { echo "$as_me: error: missing argument to $ac_option" >&2 1126 { (exit 1); exit 1; }; } 1127fi 1128 1129# Be sure to have absolute directory names. 1130for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1131 datadir sysconfdir sharedstatedir localstatedir includedir \ 1132 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1133 libdir localedir mandir 1134do 1135 eval ac_val=\$$ac_var 1136 case $ac_val in 1137 [\\/$]* | ?:[\\/]* ) continue;; 1138 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1139 esac 1140 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1141 { (exit 1); exit 1; }; } 1142done 1143 1144# There might be people who depend on the old broken behavior: `$host' 1145# used to hold the argument of --host etc. 1146# FIXME: To remove some day. 1147build=$build_alias 1148host=$host_alias 1149target=$target_alias 1150 1151# FIXME: To remove some day. 1152if test "x$host_alias" != x; then 1153 if test "x$build_alias" = x; then 1154 cross_compiling=maybe 1155 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1156 If a cross compiler is detected then cross compile mode will be used." >&2 1157 elif test "x$build_alias" != "x$host_alias"; then 1158 cross_compiling=yes 1159 fi 1160fi 1161 1162ac_tool_prefix= 1163test -n "$host_alias" && ac_tool_prefix=$host_alias- 1164 1165test "$silent" = yes && exec 6>/dev/null 1166 1167 1168ac_pwd=`pwd` && test -n "$ac_pwd" && 1169ac_ls_di=`ls -di .` && 1170ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1171 { echo "$as_me: error: Working directory cannot be determined" >&2 1172 { (exit 1); exit 1; }; } 1173test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1174 { echo "$as_me: error: pwd does not report name of working directory" >&2 1175 { (exit 1); exit 1; }; } 1176 1177 1178# Find the source files, if location was not specified. 1179if test -z "$srcdir"; then 1180 ac_srcdir_defaulted=yes 1181 # Try the directory containing this script, then the parent directory. 1182 ac_confdir=`$as_dirname -- "$0" || 1183$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1184 X"$0" : 'X\(//\)[^/]' \| \ 1185 X"$0" : 'X\(//\)$' \| \ 1186 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1187echo X"$0" | 1188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1189 s//\1/ 1190 q 1191 } 1192 /^X\(\/\/\)[^/].*/{ 1193 s//\1/ 1194 q 1195 } 1196 /^X\(\/\/\)$/{ 1197 s//\1/ 1198 q 1199 } 1200 /^X\(\/\).*/{ 1201 s//\1/ 1202 q 1203 } 1204 s/.*/./; q'` 1205 srcdir=$ac_confdir 1206 if test ! -r "$srcdir/$ac_unique_file"; then 1207 srcdir=.. 1208 fi 1209else 1210 ac_srcdir_defaulted=no 1211fi 1212if test ! -r "$srcdir/$ac_unique_file"; then 1213 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1214 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1215 { (exit 1); exit 1; }; } 1216fi 1217ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1218ac_abs_confdir=`( 1219 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1220 { (exit 1); exit 1; }; } 1221 pwd)` 1222# When building in place, set srcdir=. 1223if test "$ac_abs_confdir" = "$ac_pwd"; then 1224 srcdir=. 1225fi 1226# Remove unnecessary trailing slashes from srcdir. 1227# Double slashes in file names in object file debugging info 1228# mess up M-x gdb in Emacs. 1229case $srcdir in 1230*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1231esac 1232for ac_var in $ac_precious_vars; do 1233 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1234 eval ac_env_${ac_var}_value=\$${ac_var} 1235 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1236 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1237done 1238 1239# 1240# Report the --help message. 1241# 1242if test "$ac_init_help" = "long"; then 1243 # Omit some internal or obsolete options to make the list less imposing. 1244 # This message is too long to be a string in the A/UX 3.1 sh. 1245 cat <<_ACEOF 1246\`configure' configures xmag 1.0.3 to adapt to many kinds of systems. 1247 1248Usage: $0 [OPTION]... [VAR=VALUE]... 1249 1250To assign environment variables (e.g., CC, CFLAGS...), specify them as 1251VAR=VALUE. See below for descriptions of some of the useful variables. 1252 1253Defaults for the options are specified in brackets. 1254 1255Configuration: 1256 -h, --help display this help and exit 1257 --help=short display options specific to this package 1258 --help=recursive display the short help of all the included packages 1259 -V, --version display version information and exit 1260 -q, --quiet, --silent do not print \`checking...' messages 1261 --cache-file=FILE cache test results in FILE [disabled] 1262 -C, --config-cache alias for \`--cache-file=config.cache' 1263 -n, --no-create do not create output files 1264 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1265 1266Installation directories: 1267 --prefix=PREFIX install architecture-independent files in PREFIX 1268 [$ac_default_prefix] 1269 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1270 [PREFIX] 1271 1272By default, \`make install' will install all the files in 1273\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1274an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1275for instance \`--prefix=\$HOME'. 1276 1277For better control, use the options below. 1278 1279Fine tuning of the installation directories: 1280 --bindir=DIR user executables [EPREFIX/bin] 1281 --sbindir=DIR system admin executables [EPREFIX/sbin] 1282 --libexecdir=DIR program executables [EPREFIX/libexec] 1283 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1284 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1285 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1286 --libdir=DIR object code libraries [EPREFIX/lib] 1287 --includedir=DIR C header files [PREFIX/include] 1288 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1289 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1290 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1291 --infodir=DIR info documentation [DATAROOTDIR/info] 1292 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1293 --mandir=DIR man documentation [DATAROOTDIR/man] 1294 --docdir=DIR documentation root [DATAROOTDIR/doc/xmag] 1295 --htmldir=DIR html documentation [DOCDIR] 1296 --dvidir=DIR dvi documentation [DOCDIR] 1297 --pdfdir=DIR pdf documentation [DOCDIR] 1298 --psdir=DIR ps documentation [DOCDIR] 1299_ACEOF 1300 1301 cat <<\_ACEOF 1302 1303Program names: 1304 --program-prefix=PREFIX prepend PREFIX to installed program names 1305 --program-suffix=SUFFIX append SUFFIX to installed program names 1306 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1307 1308System types: 1309 --build=BUILD configure for building on BUILD [guessed] 1310 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1311_ACEOF 1312fi 1313 1314if test -n "$ac_init_help"; then 1315 case $ac_init_help in 1316 short | recursive ) echo "Configuration of xmag 1.0.3:";; 1317 esac 1318 cat <<\_ACEOF 1319 1320Optional Features: 1321 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1322 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1323 --enable-maintainer-mode enable make rules and dependencies not useful 1324 (and sometimes confusing) to the casual installer 1325 --disable-dependency-tracking speeds up one-time build 1326 --enable-dependency-tracking do not reject slow dependency extractors 1327 1328Optional Packages: 1329 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1330 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1331 --with-appdefaultdir=<pathname> 1332 specify directory for app-defaults files (default is 1333 autodetected) 1334 --with-release-version=STRING 1335 Use release version string in package name 1336 1337Some influential environment variables: 1338 CC C compiler command 1339 CFLAGS C compiler flags 1340 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1341 nonstandard directory <lib dir> 1342 LIBS libraries to pass to the linker, e.g. -l<library> 1343 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1344 you have headers in a nonstandard directory <include dir> 1345 CPP C preprocessor 1346 PKG_CONFIG path to pkg-config utility 1347 XMAG_CFLAGS C compiler flags for XMAG, overriding pkg-config 1348 XMAG_LIBS linker flags for XMAG, overriding pkg-config 1349 APPDEFS_CFLAGS 1350 C compiler flags for APPDEFS, overriding pkg-config 1351 APPDEFS_LIBS 1352 linker flags for APPDEFS, overriding pkg-config 1353 1354Use these variables to override the choices made by `configure' or to help 1355it to find libraries and programs with nonstandard names/locations. 1356 1357Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1358_ACEOF 1359ac_status=$? 1360fi 1361 1362if test "$ac_init_help" = "recursive"; then 1363 # If there are subdirs, report their specific --help. 1364 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1365 test -d "$ac_dir" || continue 1366 ac_builddir=. 1367 1368case "$ac_dir" in 1369.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1370*) 1371 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1372 # A ".." for each directory in $ac_dir_suffix. 1373 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1374 case $ac_top_builddir_sub in 1375 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1376 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1377 esac ;; 1378esac 1379ac_abs_top_builddir=$ac_pwd 1380ac_abs_builddir=$ac_pwd$ac_dir_suffix 1381# for backward compatibility: 1382ac_top_builddir=$ac_top_build_prefix 1383 1384case $srcdir in 1385 .) # We are building in place. 1386 ac_srcdir=. 1387 ac_top_srcdir=$ac_top_builddir_sub 1388 ac_abs_top_srcdir=$ac_pwd ;; 1389 [\\/]* | ?:[\\/]* ) # Absolute name. 1390 ac_srcdir=$srcdir$ac_dir_suffix; 1391 ac_top_srcdir=$srcdir 1392 ac_abs_top_srcdir=$srcdir ;; 1393 *) # Relative name. 1394 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1395 ac_top_srcdir=$ac_top_build_prefix$srcdir 1396 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1397esac 1398ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1399 1400 cd "$ac_dir" || { ac_status=$?; continue; } 1401 # Check for guested configure. 1402 if test -f "$ac_srcdir/configure.gnu"; then 1403 echo && 1404 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1405 elif test -f "$ac_srcdir/configure"; then 1406 echo && 1407 $SHELL "$ac_srcdir/configure" --help=recursive 1408 else 1409 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1410 fi || ac_status=$? 1411 cd "$ac_pwd" || { ac_status=$?; break; } 1412 done 1413fi 1414 1415test -n "$ac_init_help" && exit $ac_status 1416if $ac_init_version; then 1417 cat <<\_ACEOF 1418xmag configure 1.0.3 1419generated by GNU Autoconf 2.61 1420 1421Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 14222002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1423This configure script is free software; the Free Software Foundation 1424gives unlimited permission to copy, distribute and modify it. 1425_ACEOF 1426 exit 1427fi 1428cat >config.log <<_ACEOF 1429This file contains any messages produced by compilers while 1430running configure, to aid debugging if configure makes a mistake. 1431 1432It was created by xmag $as_me 1.0.3, which was 1433generated by GNU Autoconf 2.61. Invocation command line was 1434 1435 $ $0 $@ 1436 1437_ACEOF 1438exec 5>>config.log 1439{ 1440cat <<_ASUNAME 1441## --------- ## 1442## Platform. ## 1443## --------- ## 1444 1445hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1446uname -m = `(uname -m) 2>/dev/null || echo unknown` 1447uname -r = `(uname -r) 2>/dev/null || echo unknown` 1448uname -s = `(uname -s) 2>/dev/null || echo unknown` 1449uname -v = `(uname -v) 2>/dev/null || echo unknown` 1450 1451/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1452/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1453 1454/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1455/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1456/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1457/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1458/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1459/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1460/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1461 1462_ASUNAME 1463 1464as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1465for as_dir in $PATH 1466do 1467 IFS=$as_save_IFS 1468 test -z "$as_dir" && as_dir=. 1469 echo "PATH: $as_dir" 1470done 1471IFS=$as_save_IFS 1472 1473} >&5 1474 1475cat >&5 <<_ACEOF 1476 1477 1478## ----------- ## 1479## Core tests. ## 1480## ----------- ## 1481 1482_ACEOF 1483 1484 1485# Keep a trace of the command line. 1486# Strip out --no-create and --no-recursion so they do not pile up. 1487# Strip out --silent because we don't want to record it for future runs. 1488# Also quote any args containing shell meta-characters. 1489# Make two passes to allow for proper duplicate-argument suppression. 1490ac_configure_args= 1491ac_configure_args0= 1492ac_configure_args1= 1493ac_must_keep_next=false 1494for ac_pass in 1 2 1495do 1496 for ac_arg 1497 do 1498 case $ac_arg in 1499 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1501 | -silent | --silent | --silen | --sile | --sil) 1502 continue ;; 1503 *\'*) 1504 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1505 esac 1506 case $ac_pass in 1507 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1508 2) 1509 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1510 if test $ac_must_keep_next = true; then 1511 ac_must_keep_next=false # Got value, back to normal. 1512 else 1513 case $ac_arg in 1514 *=* | --config-cache | -C | -disable-* | --disable-* \ 1515 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1516 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1517 | -with-* | --with-* | -without-* | --without-* | --x) 1518 case "$ac_configure_args0 " in 1519 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1520 esac 1521 ;; 1522 -* ) ac_must_keep_next=true ;; 1523 esac 1524 fi 1525 ac_configure_args="$ac_configure_args '$ac_arg'" 1526 ;; 1527 esac 1528 done 1529done 1530$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1531$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1532 1533# When interrupted or exit'd, cleanup temporary files, and complete 1534# config.log. We remove comments because anyway the quotes in there 1535# would cause problems or look ugly. 1536# WARNING: Use '\'' to represent an apostrophe within the trap. 1537# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1538trap 'exit_status=$? 1539 # Save into config.log some information that might help in debugging. 1540 { 1541 echo 1542 1543 cat <<\_ASBOX 1544## ---------------- ## 1545## Cache variables. ## 1546## ---------------- ## 1547_ASBOX 1548 echo 1549 # The following way of writing the cache mishandles newlines in values, 1550( 1551 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1552 eval ac_val=\$$ac_var 1553 case $ac_val in #( 1554 *${as_nl}*) 1555 case $ac_var in #( 1556 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1557echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1558 esac 1559 case $ac_var in #( 1560 _ | IFS | as_nl) ;; #( 1561 *) $as_unset $ac_var ;; 1562 esac ;; 1563 esac 1564 done 1565 (set) 2>&1 | 1566 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1567 *${as_nl}ac_space=\ *) 1568 sed -n \ 1569 "s/'\''/'\''\\\\'\'''\''/g; 1570 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1571 ;; #( 1572 *) 1573 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1574 ;; 1575 esac | 1576 sort 1577) 1578 echo 1579 1580 cat <<\_ASBOX 1581## ----------------- ## 1582## Output variables. ## 1583## ----------------- ## 1584_ASBOX 1585 echo 1586 for ac_var in $ac_subst_vars 1587 do 1588 eval ac_val=\$$ac_var 1589 case $ac_val in 1590 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1591 esac 1592 echo "$ac_var='\''$ac_val'\''" 1593 done | sort 1594 echo 1595 1596 if test -n "$ac_subst_files"; then 1597 cat <<\_ASBOX 1598## ------------------- ## 1599## File substitutions. ## 1600## ------------------- ## 1601_ASBOX 1602 echo 1603 for ac_var in $ac_subst_files 1604 do 1605 eval ac_val=\$$ac_var 1606 case $ac_val in 1607 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1608 esac 1609 echo "$ac_var='\''$ac_val'\''" 1610 done | sort 1611 echo 1612 fi 1613 1614 if test -s confdefs.h; then 1615 cat <<\_ASBOX 1616## ----------- ## 1617## confdefs.h. ## 1618## ----------- ## 1619_ASBOX 1620 echo 1621 cat confdefs.h 1622 echo 1623 fi 1624 test "$ac_signal" != 0 && 1625 echo "$as_me: caught signal $ac_signal" 1626 echo "$as_me: exit $exit_status" 1627 } >&5 1628 rm -f core *.core core.conftest.* && 1629 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1630 exit $exit_status 1631' 0 1632for ac_signal in 1 2 13 15; do 1633 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1634done 1635ac_signal=0 1636 1637# confdefs.h avoids OS command line length limits that DEFS can exceed. 1638rm -f -r conftest* confdefs.h 1639 1640# Predefined preprocessor variables. 1641 1642cat >>confdefs.h <<_ACEOF 1643#define PACKAGE_NAME "$PACKAGE_NAME" 1644_ACEOF 1645 1646 1647cat >>confdefs.h <<_ACEOF 1648#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1649_ACEOF 1650 1651 1652cat >>confdefs.h <<_ACEOF 1653#define PACKAGE_VERSION "$PACKAGE_VERSION" 1654_ACEOF 1655 1656 1657cat >>confdefs.h <<_ACEOF 1658#define PACKAGE_STRING "$PACKAGE_STRING" 1659_ACEOF 1660 1661 1662cat >>confdefs.h <<_ACEOF 1663#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1664_ACEOF 1665 1666 1667# Let the site file select an alternate cache file if it wants to. 1668# Prefer explicitly selected file to automatically selected ones. 1669if test -n "$CONFIG_SITE"; then 1670 set x "$CONFIG_SITE" 1671elif test "x$prefix" != xNONE; then 1672 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1673else 1674 set x "$ac_default_prefix/share/config.site" \ 1675 "$ac_default_prefix/etc/config.site" 1676fi 1677shift 1678for ac_site_file 1679do 1680 if test -r "$ac_site_file"; then 1681 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1682echo "$as_me: loading site script $ac_site_file" >&6;} 1683 sed 's/^/| /' "$ac_site_file" >&5 1684 . "$ac_site_file" 1685 fi 1686done 1687 1688if test -r "$cache_file"; then 1689 # Some versions of bash will fail to source /dev/null (special 1690 # files actually), so we avoid doing that. 1691 if test -f "$cache_file"; then 1692 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1693echo "$as_me: loading cache $cache_file" >&6;} 1694 case $cache_file in 1695 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1696 *) . "./$cache_file";; 1697 esac 1698 fi 1699else 1700 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1701echo "$as_me: creating cache $cache_file" >&6;} 1702 >$cache_file 1703fi 1704 1705# Check that the precious variables saved in the cache have kept the same 1706# value. 1707ac_cache_corrupted=false 1708for ac_var in $ac_precious_vars; do 1709 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1710 eval ac_new_set=\$ac_env_${ac_var}_set 1711 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1712 eval ac_new_val=\$ac_env_${ac_var}_value 1713 case $ac_old_set,$ac_new_set in 1714 set,) 1715 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1716echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1717 ac_cache_corrupted=: ;; 1718 ,set) 1719 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1720echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1721 ac_cache_corrupted=: ;; 1722 ,);; 1723 *) 1724 if test "x$ac_old_val" != "x$ac_new_val"; then 1725 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1726echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1727 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1728echo "$as_me: former value: $ac_old_val" >&2;} 1729 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1730echo "$as_me: current value: $ac_new_val" >&2;} 1731 ac_cache_corrupted=: 1732 fi;; 1733 esac 1734 # Pass precious variables to config.status. 1735 if test "$ac_new_set" = set; then 1736 case $ac_new_val in 1737 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1738 *) ac_arg=$ac_var=$ac_new_val ;; 1739 esac 1740 case " $ac_configure_args " in 1741 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1742 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1743 esac 1744 fi 1745done 1746if $ac_cache_corrupted; then 1747 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1748echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1749 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1750echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1751 { (exit 1); exit 1; }; } 1752fi 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778ac_ext=c 1779ac_cpp='$CPP $CPPFLAGS' 1780ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1781ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1782ac_compiler_gnu=$ac_cv_c_compiler_gnu 1783 1784 1785am__api_version='1.10' 1786 1787ac_aux_dir= 1788for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1789 if test -f "$ac_dir/install-sh"; then 1790 ac_aux_dir=$ac_dir 1791 ac_install_sh="$ac_aux_dir/install-sh -c" 1792 break 1793 elif test -f "$ac_dir/install.sh"; then 1794 ac_aux_dir=$ac_dir 1795 ac_install_sh="$ac_aux_dir/install.sh -c" 1796 break 1797 elif test -f "$ac_dir/shtool"; then 1798 ac_aux_dir=$ac_dir 1799 ac_install_sh="$ac_aux_dir/shtool install -c" 1800 break 1801 fi 1802done 1803if test -z "$ac_aux_dir"; then 1804 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1805echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1806 { (exit 1); exit 1; }; } 1807fi 1808 1809# These three variables are undocumented and unsupported, 1810# and are intended to be withdrawn in a future Autoconf release. 1811# They can cause serious problems if a builder's source tree is in a directory 1812# whose full name contains unusual characters. 1813ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1814ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1815ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1816 1817 1818# Find a good install program. We prefer a C program (faster), 1819# so one script is as good as another. But avoid the broken or 1820# incompatible versions: 1821# SysV /etc/install, /usr/sbin/install 1822# SunOS /usr/etc/install 1823# IRIX /sbin/install 1824# AIX /bin/install 1825# AmigaOS /C/install, which installs bootblocks on floppy discs 1826# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1827# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1828# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1829# OS/2's system install, which has a completely different semantic 1830# ./install, which can be erroneously created by make from ./install.sh. 1831{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1832echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1833if test -z "$INSTALL"; then 1834if test "${ac_cv_path_install+set}" = set; then 1835 echo $ECHO_N "(cached) $ECHO_C" >&6 1836else 1837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1838for as_dir in $PATH 1839do 1840 IFS=$as_save_IFS 1841 test -z "$as_dir" && as_dir=. 1842 # Account for people who put trailing slashes in PATH elements. 1843case $as_dir/ in 1844 ./ | .// | /cC/* | \ 1845 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1846 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1847 /usr/ucb/* ) ;; 1848 *) 1849 # OSF1 and SCO ODT 3.0 have their own names for install. 1850 # Don't use installbsd from OSF since it installs stuff as root 1851 # by default. 1852 for ac_prog in ginstall scoinst install; do 1853 for ac_exec_ext in '' $ac_executable_extensions; do 1854 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1855 if test $ac_prog = install && 1856 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1857 # AIX install. It has an incompatible calling convention. 1858 : 1859 elif test $ac_prog = install && 1860 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1861 # program-specific install script used by HP pwplus--don't use. 1862 : 1863 else 1864 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1865 break 3 1866 fi 1867 fi 1868 done 1869 done 1870 ;; 1871esac 1872done 1873IFS=$as_save_IFS 1874 1875 1876fi 1877 if test "${ac_cv_path_install+set}" = set; then 1878 INSTALL=$ac_cv_path_install 1879 else 1880 # As a last resort, use the slow shell script. Don't cache a 1881 # value for INSTALL within a source directory, because that will 1882 # break other packages using the cache if that directory is 1883 # removed, or if the value is a relative name. 1884 INSTALL=$ac_install_sh 1885 fi 1886fi 1887{ echo "$as_me:$LINENO: result: $INSTALL" >&5 1888echo "${ECHO_T}$INSTALL" >&6; } 1889 1890# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1891# It thinks the first close brace ends the variable substitution. 1892test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1893 1894test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1895 1896test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1897 1898{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1899echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 1900# Just in case 1901sleep 1 1902echo timestamp > conftest.file 1903# Do `set' in a subshell so we don't clobber the current shell's 1904# arguments. Must try -L first in case configure is actually a 1905# symlink; some systems play weird games with the mod time of symlinks 1906# (eg FreeBSD returns the mod time of the symlink's containing 1907# directory). 1908if ( 1909 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1910 if test "$*" = "X"; then 1911 # -L didn't work. 1912 set X `ls -t $srcdir/configure conftest.file` 1913 fi 1914 rm -f conftest.file 1915 if test "$*" != "X $srcdir/configure conftest.file" \ 1916 && test "$*" != "X conftest.file $srcdir/configure"; then 1917 1918 # If neither matched, then we have a broken ls. This can happen 1919 # if, for instance, CONFIG_SHELL is bash and it inherits a 1920 # broken ls alias from the environment. This has actually 1921 # happened. Such a system could not be considered "sane". 1922 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1923alias in your environment" >&5 1924echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1925alias in your environment" >&2;} 1926 { (exit 1); exit 1; }; } 1927 fi 1928 1929 test "$2" = conftest.file 1930 ) 1931then 1932 # Ok. 1933 : 1934else 1935 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1936Check your system clock" >&5 1937echo "$as_me: error: newly created file is older than distributed files! 1938Check your system clock" >&2;} 1939 { (exit 1); exit 1; }; } 1940fi 1941{ echo "$as_me:$LINENO: result: yes" >&5 1942echo "${ECHO_T}yes" >&6; } 1943test "$program_prefix" != NONE && 1944 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1945# Use a double $ so make ignores it. 1946test "$program_suffix" != NONE && 1947 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1948# Double any \ or $. echo might interpret backslashes. 1949# By default was `s,x,x', remove it if useless. 1950cat <<\_ACEOF >conftest.sed 1951s/[\\$]/&&/g;s/;s,x,x,$// 1952_ACEOF 1953program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1954rm -f conftest.sed 1955 1956# expand $ac_aux_dir to an absolute path 1957am_aux_dir=`cd $ac_aux_dir && pwd` 1958 1959test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1960# Use eval to expand $SHELL 1961if eval "$MISSING --run true"; then 1962 am_missing_run="$MISSING --run " 1963else 1964 am_missing_run= 1965 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1966echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1967fi 1968 1969{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 1970echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 1971if test -z "$MKDIR_P"; then 1972 if test "${ac_cv_path_mkdir+set}" = set; then 1973 echo $ECHO_N "(cached) $ECHO_C" >&6 1974else 1975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1976for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 1977do 1978 IFS=$as_save_IFS 1979 test -z "$as_dir" && as_dir=. 1980 for ac_prog in mkdir gmkdir; do 1981 for ac_exec_ext in '' $ac_executable_extensions; do 1982 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 1983 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 1984 'mkdir (GNU coreutils) '* | \ 1985 'mkdir (coreutils) '* | \ 1986 'mkdir (fileutils) '4.1*) 1987 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 1988 break 3;; 1989 esac 1990 done 1991 done 1992done 1993IFS=$as_save_IFS 1994 1995fi 1996 1997 if test "${ac_cv_path_mkdir+set}" = set; then 1998 MKDIR_P="$ac_cv_path_mkdir -p" 1999 else 2000 # As a last resort, use the slow shell script. Don't cache a 2001 # value for MKDIR_P within a source directory, because that will 2002 # break other packages using the cache if that directory is 2003 # removed, or if the value is a relative name. 2004 test -d ./--version && rmdir ./--version 2005 MKDIR_P="$ac_install_sh -d" 2006 fi 2007fi 2008{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2009echo "${ECHO_T}$MKDIR_P" >&6; } 2010 2011mkdir_p="$MKDIR_P" 2012case $mkdir_p in 2013 [\\/$]* | ?:[\\/]*) ;; 2014 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2015esac 2016 2017for ac_prog in gawk mawk nawk awk 2018do 2019 # Extract the first word of "$ac_prog", so it can be a program name with args. 2020set dummy $ac_prog; ac_word=$2 2021{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2022echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2023if test "${ac_cv_prog_AWK+set}" = set; then 2024 echo $ECHO_N "(cached) $ECHO_C" >&6 2025else 2026 if test -n "$AWK"; then 2027 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2028else 2029as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2030for as_dir in $PATH 2031do 2032 IFS=$as_save_IFS 2033 test -z "$as_dir" && as_dir=. 2034 for ac_exec_ext in '' $ac_executable_extensions; do 2035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2036 ac_cv_prog_AWK="$ac_prog" 2037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2038 break 2 2039 fi 2040done 2041done 2042IFS=$as_save_IFS 2043 2044fi 2045fi 2046AWK=$ac_cv_prog_AWK 2047if test -n "$AWK"; then 2048 { echo "$as_me:$LINENO: result: $AWK" >&5 2049echo "${ECHO_T}$AWK" >&6; } 2050else 2051 { echo "$as_me:$LINENO: result: no" >&5 2052echo "${ECHO_T}no" >&6; } 2053fi 2054 2055 2056 test -n "$AWK" && break 2057done 2058 2059{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2060echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2061set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2062if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2063 echo $ECHO_N "(cached) $ECHO_C" >&6 2064else 2065 cat >conftest.make <<\_ACEOF 2066SHELL = /bin/sh 2067all: 2068 @echo '@@@%%%=$(MAKE)=@@@%%%' 2069_ACEOF 2070# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2071case `${MAKE-make} -f conftest.make 2>/dev/null` in 2072 *@@@%%%=?*=@@@%%%*) 2073 eval ac_cv_prog_make_${ac_make}_set=yes;; 2074 *) 2075 eval ac_cv_prog_make_${ac_make}_set=no;; 2076esac 2077rm -f conftest.make 2078fi 2079if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2080 { echo "$as_me:$LINENO: result: yes" >&5 2081echo "${ECHO_T}yes" >&6; } 2082 SET_MAKE= 2083else 2084 { echo "$as_me:$LINENO: result: no" >&5 2085echo "${ECHO_T}no" >&6; } 2086 SET_MAKE="MAKE=${MAKE-make}" 2087fi 2088 2089rm -rf .tst 2>/dev/null 2090mkdir .tst 2>/dev/null 2091if test -d .tst; then 2092 am__leading_dot=. 2093else 2094 am__leading_dot=_ 2095fi 2096rmdir .tst 2>/dev/null 2097 2098if test "`cd $srcdir && pwd`" != "`pwd`"; then 2099 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2100 # is not polluted with repeated "-I." 2101 am__isrc=' -I$(srcdir)' 2102 # test to see if srcdir already configured 2103 if test -f $srcdir/config.status; then 2104 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2105echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2106 { (exit 1); exit 1; }; } 2107 fi 2108fi 2109 2110# test whether we have cygpath 2111if test -z "$CYGPATH_W"; then 2112 if (cygpath --version) >/dev/null 2>/dev/null; then 2113 CYGPATH_W='cygpath -w' 2114 else 2115 CYGPATH_W=echo 2116 fi 2117fi 2118 2119 2120# Define the identity of the package. 2121 PACKAGE='xmag' 2122 VERSION='1.0.3' 2123 2124 2125cat >>confdefs.h <<_ACEOF 2126#define PACKAGE "$PACKAGE" 2127_ACEOF 2128 2129 2130cat >>confdefs.h <<_ACEOF 2131#define VERSION "$VERSION" 2132_ACEOF 2133 2134# Some tools Automake needs. 2135 2136ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2137 2138 2139AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2140 2141 2142AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2143 2144 2145AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2146 2147 2148MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2149 2150install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2151 2152# Installed binaries are usually stripped using `strip' when the user 2153# run `make install-strip'. However `strip' might not be the right 2154# tool to use in cross-compilation environments, therefore Automake 2155# will honor the `STRIP' environment variable to overrule this program. 2156if test "$cross_compiling" != no; then 2157 if test -n "$ac_tool_prefix"; then 2158 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2159set dummy ${ac_tool_prefix}strip; ac_word=$2 2160{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2161echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2162if test "${ac_cv_prog_STRIP+set}" = set; then 2163 echo $ECHO_N "(cached) $ECHO_C" >&6 2164else 2165 if test -n "$STRIP"; then 2166 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2167else 2168as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2169for as_dir in $PATH 2170do 2171 IFS=$as_save_IFS 2172 test -z "$as_dir" && as_dir=. 2173 for ac_exec_ext in '' $ac_executable_extensions; do 2174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2175 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2177 break 2 2178 fi 2179done 2180done 2181IFS=$as_save_IFS 2182 2183fi 2184fi 2185STRIP=$ac_cv_prog_STRIP 2186if test -n "$STRIP"; then 2187 { echo "$as_me:$LINENO: result: $STRIP" >&5 2188echo "${ECHO_T}$STRIP" >&6; } 2189else 2190 { echo "$as_me:$LINENO: result: no" >&5 2191echo "${ECHO_T}no" >&6; } 2192fi 2193 2194 2195fi 2196if test -z "$ac_cv_prog_STRIP"; then 2197 ac_ct_STRIP=$STRIP 2198 # Extract the first word of "strip", so it can be a program name with args. 2199set dummy strip; ac_word=$2 2200{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2201echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2202if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2203 echo $ECHO_N "(cached) $ECHO_C" >&6 2204else 2205 if test -n "$ac_ct_STRIP"; then 2206 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2207else 2208as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2209for as_dir in $PATH 2210do 2211 IFS=$as_save_IFS 2212 test -z "$as_dir" && as_dir=. 2213 for ac_exec_ext in '' $ac_executable_extensions; do 2214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2215 ac_cv_prog_ac_ct_STRIP="strip" 2216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2217 break 2 2218 fi 2219done 2220done 2221IFS=$as_save_IFS 2222 2223fi 2224fi 2225ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2226if test -n "$ac_ct_STRIP"; then 2227 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2228echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2229else 2230 { echo "$as_me:$LINENO: result: no" >&5 2231echo "${ECHO_T}no" >&6; } 2232fi 2233 2234 if test "x$ac_ct_STRIP" = x; then 2235 STRIP=":" 2236 else 2237 case $cross_compiling:$ac_tool_warned in 2238yes:) 2239{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2240whose name does not start with the host triplet. If you think this 2241configuration is useful to you, please write to autoconf@gnu.org." >&5 2242echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2243whose name does not start with the host triplet. If you think this 2244configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2245ac_tool_warned=yes ;; 2246esac 2247 STRIP=$ac_ct_STRIP 2248 fi 2249else 2250 STRIP="$ac_cv_prog_STRIP" 2251fi 2252 2253fi 2254INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2255 2256# We need awk for the "check" target. The system "awk" is bad on 2257# some platforms. 2258# Always define AMTAR for backward compatibility. 2259 2260AMTAR=${AMTAR-"${am_missing_run}tar"} 2261 2262am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2263 2264 2265 2266 2267 2268{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2269echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } 2270 # Check whether --enable-maintainer-mode was given. 2271if test "${enable_maintainer_mode+set}" = set; then 2272 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2273else 2274 USE_MAINTAINER_MODE=no 2275fi 2276 2277 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2278echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } 2279 if test $USE_MAINTAINER_MODE = yes; then 2280 MAINTAINER_MODE_TRUE= 2281 MAINTAINER_MODE_FALSE='#' 2282else 2283 MAINTAINER_MODE_TRUE='#' 2284 MAINTAINER_MODE_FALSE= 2285fi 2286 2287 MAINT=$MAINTAINER_MODE_TRUE 2288 2289 2290 2291# Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304ac_config_headers="$ac_config_headers config.h" 2305 2306 2307ac_ext=c 2308ac_cpp='$CPP $CPPFLAGS' 2309ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2310ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2311ac_compiler_gnu=$ac_cv_c_compiler_gnu 2312if test -n "$ac_tool_prefix"; then 2313 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2314set dummy ${ac_tool_prefix}gcc; ac_word=$2 2315{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2316echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2317if test "${ac_cv_prog_CC+set}" = set; then 2318 echo $ECHO_N "(cached) $ECHO_C" >&6 2319else 2320 if test -n "$CC"; then 2321 ac_cv_prog_CC="$CC" # Let the user override the test. 2322else 2323as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2324for as_dir in $PATH 2325do 2326 IFS=$as_save_IFS 2327 test -z "$as_dir" && as_dir=. 2328 for ac_exec_ext in '' $ac_executable_extensions; do 2329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2330 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2332 break 2 2333 fi 2334done 2335done 2336IFS=$as_save_IFS 2337 2338fi 2339fi 2340CC=$ac_cv_prog_CC 2341if test -n "$CC"; then 2342 { echo "$as_me:$LINENO: result: $CC" >&5 2343echo "${ECHO_T}$CC" >&6; } 2344else 2345 { echo "$as_me:$LINENO: result: no" >&5 2346echo "${ECHO_T}no" >&6; } 2347fi 2348 2349 2350fi 2351if test -z "$ac_cv_prog_CC"; then 2352 ac_ct_CC=$CC 2353 # Extract the first word of "gcc", so it can be a program name with args. 2354set dummy gcc; ac_word=$2 2355{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2356echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2357if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2358 echo $ECHO_N "(cached) $ECHO_C" >&6 2359else 2360 if test -n "$ac_ct_CC"; then 2361 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2362else 2363as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2364for as_dir in $PATH 2365do 2366 IFS=$as_save_IFS 2367 test -z "$as_dir" && as_dir=. 2368 for ac_exec_ext in '' $ac_executable_extensions; do 2369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2370 ac_cv_prog_ac_ct_CC="gcc" 2371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2372 break 2 2373 fi 2374done 2375done 2376IFS=$as_save_IFS 2377 2378fi 2379fi 2380ac_ct_CC=$ac_cv_prog_ac_ct_CC 2381if test -n "$ac_ct_CC"; then 2382 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2383echo "${ECHO_T}$ac_ct_CC" >&6; } 2384else 2385 { echo "$as_me:$LINENO: result: no" >&5 2386echo "${ECHO_T}no" >&6; } 2387fi 2388 2389 if test "x$ac_ct_CC" = x; then 2390 CC="" 2391 else 2392 case $cross_compiling:$ac_tool_warned in 2393yes:) 2394{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2395whose name does not start with the host triplet. If you think this 2396configuration is useful to you, please write to autoconf@gnu.org." >&5 2397echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2398whose name does not start with the host triplet. If you think this 2399configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2400ac_tool_warned=yes ;; 2401esac 2402 CC=$ac_ct_CC 2403 fi 2404else 2405 CC="$ac_cv_prog_CC" 2406fi 2407 2408if test -z "$CC"; then 2409 if test -n "$ac_tool_prefix"; then 2410 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2411set dummy ${ac_tool_prefix}cc; ac_word=$2 2412{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2413echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2414if test "${ac_cv_prog_CC+set}" = set; then 2415 echo $ECHO_N "(cached) $ECHO_C" >&6 2416else 2417 if test -n "$CC"; then 2418 ac_cv_prog_CC="$CC" # Let the user override the test. 2419else 2420as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2421for as_dir in $PATH 2422do 2423 IFS=$as_save_IFS 2424 test -z "$as_dir" && as_dir=. 2425 for ac_exec_ext in '' $ac_executable_extensions; do 2426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2427 ac_cv_prog_CC="${ac_tool_prefix}cc" 2428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2429 break 2 2430 fi 2431done 2432done 2433IFS=$as_save_IFS 2434 2435fi 2436fi 2437CC=$ac_cv_prog_CC 2438if test -n "$CC"; then 2439 { echo "$as_me:$LINENO: result: $CC" >&5 2440echo "${ECHO_T}$CC" >&6; } 2441else 2442 { echo "$as_me:$LINENO: result: no" >&5 2443echo "${ECHO_T}no" >&6; } 2444fi 2445 2446 2447 fi 2448fi 2449if test -z "$CC"; then 2450 # Extract the first word of "cc", so it can be a program name with args. 2451set dummy cc; ac_word=$2 2452{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2453echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2454if test "${ac_cv_prog_CC+set}" = set; then 2455 echo $ECHO_N "(cached) $ECHO_C" >&6 2456else 2457 if test -n "$CC"; then 2458 ac_cv_prog_CC="$CC" # Let the user override the test. 2459else 2460 ac_prog_rejected=no 2461as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2462for as_dir in $PATH 2463do 2464 IFS=$as_save_IFS 2465 test -z "$as_dir" && as_dir=. 2466 for ac_exec_ext in '' $ac_executable_extensions; do 2467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2468 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2469 ac_prog_rejected=yes 2470 continue 2471 fi 2472 ac_cv_prog_CC="cc" 2473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2474 break 2 2475 fi 2476done 2477done 2478IFS=$as_save_IFS 2479 2480if test $ac_prog_rejected = yes; then 2481 # We found a bogon in the path, so make sure we never use it. 2482 set dummy $ac_cv_prog_CC 2483 shift 2484 if test $# != 0; then 2485 # We chose a different compiler from the bogus one. 2486 # However, it has the same basename, so the bogon will be chosen 2487 # first if we set CC to just the basename; use the full file name. 2488 shift 2489 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2490 fi 2491fi 2492fi 2493fi 2494CC=$ac_cv_prog_CC 2495if test -n "$CC"; then 2496 { echo "$as_me:$LINENO: result: $CC" >&5 2497echo "${ECHO_T}$CC" >&6; } 2498else 2499 { echo "$as_me:$LINENO: result: no" >&5 2500echo "${ECHO_T}no" >&6; } 2501fi 2502 2503 2504fi 2505if test -z "$CC"; then 2506 if test -n "$ac_tool_prefix"; then 2507 for ac_prog in cl.exe 2508 do 2509 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2510set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2511{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2512echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2513if test "${ac_cv_prog_CC+set}" = set; then 2514 echo $ECHO_N "(cached) $ECHO_C" >&6 2515else 2516 if test -n "$CC"; then 2517 ac_cv_prog_CC="$CC" # Let the user override the test. 2518else 2519as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2520for as_dir in $PATH 2521do 2522 IFS=$as_save_IFS 2523 test -z "$as_dir" && as_dir=. 2524 for ac_exec_ext in '' $ac_executable_extensions; do 2525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2526 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2528 break 2 2529 fi 2530done 2531done 2532IFS=$as_save_IFS 2533 2534fi 2535fi 2536CC=$ac_cv_prog_CC 2537if test -n "$CC"; then 2538 { echo "$as_me:$LINENO: result: $CC" >&5 2539echo "${ECHO_T}$CC" >&6; } 2540else 2541 { echo "$as_me:$LINENO: result: no" >&5 2542echo "${ECHO_T}no" >&6; } 2543fi 2544 2545 2546 test -n "$CC" && break 2547 done 2548fi 2549if test -z "$CC"; then 2550 ac_ct_CC=$CC 2551 for ac_prog in cl.exe 2552do 2553 # Extract the first word of "$ac_prog", so it can be a program name with args. 2554set dummy $ac_prog; ac_word=$2 2555{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2556echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2557if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2558 echo $ECHO_N "(cached) $ECHO_C" >&6 2559else 2560 if test -n "$ac_ct_CC"; then 2561 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2562else 2563as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2564for as_dir in $PATH 2565do 2566 IFS=$as_save_IFS 2567 test -z "$as_dir" && as_dir=. 2568 for ac_exec_ext in '' $ac_executable_extensions; do 2569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2570 ac_cv_prog_ac_ct_CC="$ac_prog" 2571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2572 break 2 2573 fi 2574done 2575done 2576IFS=$as_save_IFS 2577 2578fi 2579fi 2580ac_ct_CC=$ac_cv_prog_ac_ct_CC 2581if test -n "$ac_ct_CC"; then 2582 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2583echo "${ECHO_T}$ac_ct_CC" >&6; } 2584else 2585 { echo "$as_me:$LINENO: result: no" >&5 2586echo "${ECHO_T}no" >&6; } 2587fi 2588 2589 2590 test -n "$ac_ct_CC" && break 2591done 2592 2593 if test "x$ac_ct_CC" = x; then 2594 CC="" 2595 else 2596 case $cross_compiling:$ac_tool_warned in 2597yes:) 2598{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2599whose name does not start with the host triplet. If you think this 2600configuration is useful to you, please write to autoconf@gnu.org." >&5 2601echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2602whose name does not start with the host triplet. If you think this 2603configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2604ac_tool_warned=yes ;; 2605esac 2606 CC=$ac_ct_CC 2607 fi 2608fi 2609 2610fi 2611 2612 2613test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2614See \`config.log' for more details." >&5 2615echo "$as_me: error: no acceptable C compiler found in \$PATH 2616See \`config.log' for more details." >&2;} 2617 { (exit 1); exit 1; }; } 2618 2619# Provide some information about the compiler. 2620echo "$as_me:$LINENO: checking for C compiler version" >&5 2621ac_compiler=`set X $ac_compile; echo $2` 2622{ (ac_try="$ac_compiler --version >&5" 2623case "(($ac_try" in 2624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2625 *) ac_try_echo=$ac_try;; 2626esac 2627eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2628 (eval "$ac_compiler --version >&5") 2>&5 2629 ac_status=$? 2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2631 (exit $ac_status); } 2632{ (ac_try="$ac_compiler -v >&5" 2633case "(($ac_try" in 2634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2635 *) ac_try_echo=$ac_try;; 2636esac 2637eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2638 (eval "$ac_compiler -v >&5") 2>&5 2639 ac_status=$? 2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2641 (exit $ac_status); } 2642{ (ac_try="$ac_compiler -V >&5" 2643case "(($ac_try" in 2644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2645 *) ac_try_echo=$ac_try;; 2646esac 2647eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2648 (eval "$ac_compiler -V >&5") 2>&5 2649 ac_status=$? 2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2651 (exit $ac_status); } 2652 2653cat >conftest.$ac_ext <<_ACEOF 2654/* confdefs.h. */ 2655_ACEOF 2656cat confdefs.h >>conftest.$ac_ext 2657cat >>conftest.$ac_ext <<_ACEOF 2658/* end confdefs.h. */ 2659 2660int 2661main () 2662{ 2663 2664 ; 2665 return 0; 2666} 2667_ACEOF 2668ac_clean_files_save=$ac_clean_files 2669ac_clean_files="$ac_clean_files a.out a.exe b.out" 2670# Try to create an executable without -o first, disregard a.out. 2671# It will help us diagnose broken compilers, and finding out an intuition 2672# of exeext. 2673{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2674echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2675ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2676# 2677# List of possible output files, starting from the most likely. 2678# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2679# only as a last resort. b.out is created by i960 compilers. 2680ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2681# 2682# The IRIX 6 linker writes into existing files which may not be 2683# executable, retaining their permissions. Remove them first so a 2684# subsequent execution test works. 2685ac_rmfiles= 2686for ac_file in $ac_files 2687do 2688 case $ac_file in 2689 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2690 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2691 esac 2692done 2693rm -f $ac_rmfiles 2694 2695if { (ac_try="$ac_link_default" 2696case "(($ac_try" in 2697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2698 *) ac_try_echo=$ac_try;; 2699esac 2700eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2701 (eval "$ac_link_default") 2>&5 2702 ac_status=$? 2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2704 (exit $ac_status); }; then 2705 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2706# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2707# in a Makefile. We should not override ac_cv_exeext if it was cached, 2708# so that the user can short-circuit this test for compilers unknown to 2709# Autoconf. 2710for ac_file in $ac_files '' 2711do 2712 test -f "$ac_file" || continue 2713 case $ac_file in 2714 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2715 ;; 2716 [ab].out ) 2717 # We found the default executable, but exeext='' is most 2718 # certainly right. 2719 break;; 2720 *.* ) 2721 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2722 then :; else 2723 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2724 fi 2725 # We set ac_cv_exeext here because the later test for it is not 2726 # safe: cross compilers may not add the suffix if given an `-o' 2727 # argument, so we may need to know it at that point already. 2728 # Even if this section looks crufty: it has the advantage of 2729 # actually working. 2730 break;; 2731 * ) 2732 break;; 2733 esac 2734done 2735test "$ac_cv_exeext" = no && ac_cv_exeext= 2736 2737else 2738 ac_file='' 2739fi 2740 2741{ echo "$as_me:$LINENO: result: $ac_file" >&5 2742echo "${ECHO_T}$ac_file" >&6; } 2743if test -z "$ac_file"; then 2744 echo "$as_me: failed program was:" >&5 2745sed 's/^/| /' conftest.$ac_ext >&5 2746 2747{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2748See \`config.log' for more details." >&5 2749echo "$as_me: error: C compiler cannot create executables 2750See \`config.log' for more details." >&2;} 2751 { (exit 77); exit 77; }; } 2752fi 2753 2754ac_exeext=$ac_cv_exeext 2755 2756# Check that the compiler produces executables we can run. If not, either 2757# the compiler is broken, or we cross compile. 2758{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2759echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2760# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2761# If not cross compiling, check that we can run a simple program. 2762if test "$cross_compiling" != yes; then 2763 if { ac_try='./$ac_file' 2764 { (case "(($ac_try" in 2765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2766 *) ac_try_echo=$ac_try;; 2767esac 2768eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2769 (eval "$ac_try") 2>&5 2770 ac_status=$? 2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2772 (exit $ac_status); }; }; then 2773 cross_compiling=no 2774 else 2775 if test "$cross_compiling" = maybe; then 2776 cross_compiling=yes 2777 else 2778 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2779If you meant to cross compile, use \`--host'. 2780See \`config.log' for more details." >&5 2781echo "$as_me: error: cannot run C compiled programs. 2782If you meant to cross compile, use \`--host'. 2783See \`config.log' for more details." >&2;} 2784 { (exit 1); exit 1; }; } 2785 fi 2786 fi 2787fi 2788{ echo "$as_me:$LINENO: result: yes" >&5 2789echo "${ECHO_T}yes" >&6; } 2790 2791rm -f a.out a.exe conftest$ac_cv_exeext b.out 2792ac_clean_files=$ac_clean_files_save 2793# Check that the compiler produces executables we can run. If not, either 2794# the compiler is broken, or we cross compile. 2795{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2796echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2797{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2798echo "${ECHO_T}$cross_compiling" >&6; } 2799 2800{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2801echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2802if { (ac_try="$ac_link" 2803case "(($ac_try" in 2804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2805 *) ac_try_echo=$ac_try;; 2806esac 2807eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2808 (eval "$ac_link") 2>&5 2809 ac_status=$? 2810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2811 (exit $ac_status); }; then 2812 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2813# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2814# work properly (i.e., refer to `conftest.exe'), while it won't with 2815# `rm'. 2816for ac_file in conftest.exe conftest conftest.*; do 2817 test -f "$ac_file" || continue 2818 case $ac_file in 2819 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2820 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2821 break;; 2822 * ) break;; 2823 esac 2824done 2825else 2826 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2827See \`config.log' for more details." >&5 2828echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2829See \`config.log' for more details." >&2;} 2830 { (exit 1); exit 1; }; } 2831fi 2832 2833rm -f conftest$ac_cv_exeext 2834{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2835echo "${ECHO_T}$ac_cv_exeext" >&6; } 2836 2837rm -f conftest.$ac_ext 2838EXEEXT=$ac_cv_exeext 2839ac_exeext=$EXEEXT 2840{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2841echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2842if test "${ac_cv_objext+set}" = set; then 2843 echo $ECHO_N "(cached) $ECHO_C" >&6 2844else 2845 cat >conftest.$ac_ext <<_ACEOF 2846/* confdefs.h. */ 2847_ACEOF 2848cat confdefs.h >>conftest.$ac_ext 2849cat >>conftest.$ac_ext <<_ACEOF 2850/* end confdefs.h. */ 2851 2852int 2853main () 2854{ 2855 2856 ; 2857 return 0; 2858} 2859_ACEOF 2860rm -f conftest.o conftest.obj 2861if { (ac_try="$ac_compile" 2862case "(($ac_try" in 2863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2864 *) ac_try_echo=$ac_try;; 2865esac 2866eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2867 (eval "$ac_compile") 2>&5 2868 ac_status=$? 2869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2870 (exit $ac_status); }; then 2871 for ac_file in conftest.o conftest.obj conftest.*; do 2872 test -f "$ac_file" || continue; 2873 case $ac_file in 2874 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2875 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2876 break;; 2877 esac 2878done 2879else 2880 echo "$as_me: failed program was:" >&5 2881sed 's/^/| /' conftest.$ac_ext >&5 2882 2883{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2884See \`config.log' for more details." >&5 2885echo "$as_me: error: cannot compute suffix of object files: cannot compile 2886See \`config.log' for more details." >&2;} 2887 { (exit 1); exit 1; }; } 2888fi 2889 2890rm -f conftest.$ac_cv_objext conftest.$ac_ext 2891fi 2892{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2893echo "${ECHO_T}$ac_cv_objext" >&6; } 2894OBJEXT=$ac_cv_objext 2895ac_objext=$OBJEXT 2896{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2897echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2898if test "${ac_cv_c_compiler_gnu+set}" = set; then 2899 echo $ECHO_N "(cached) $ECHO_C" >&6 2900else 2901 cat >conftest.$ac_ext <<_ACEOF 2902/* confdefs.h. */ 2903_ACEOF 2904cat confdefs.h >>conftest.$ac_ext 2905cat >>conftest.$ac_ext <<_ACEOF 2906/* end confdefs.h. */ 2907 2908int 2909main () 2910{ 2911#ifndef __GNUC__ 2912 choke me 2913#endif 2914 2915 ; 2916 return 0; 2917} 2918_ACEOF 2919rm -f conftest.$ac_objext 2920if { (ac_try="$ac_compile" 2921case "(($ac_try" in 2922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2923 *) ac_try_echo=$ac_try;; 2924esac 2925eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2926 (eval "$ac_compile") 2>conftest.er1 2927 ac_status=$? 2928 grep -v '^ *+' conftest.er1 >conftest.err 2929 rm -f conftest.er1 2930 cat conftest.err >&5 2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2932 (exit $ac_status); } && { 2933 test -z "$ac_c_werror_flag" || 2934 test ! -s conftest.err 2935 } && test -s conftest.$ac_objext; then 2936 ac_compiler_gnu=yes 2937else 2938 echo "$as_me: failed program was:" >&5 2939sed 's/^/| /' conftest.$ac_ext >&5 2940 2941 ac_compiler_gnu=no 2942fi 2943 2944rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2945ac_cv_c_compiler_gnu=$ac_compiler_gnu 2946 2947fi 2948{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2949echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2950GCC=`test $ac_compiler_gnu = yes && echo yes` 2951ac_test_CFLAGS=${CFLAGS+set} 2952ac_save_CFLAGS=$CFLAGS 2953{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2954echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2955if test "${ac_cv_prog_cc_g+set}" = set; then 2956 echo $ECHO_N "(cached) $ECHO_C" >&6 2957else 2958 ac_save_c_werror_flag=$ac_c_werror_flag 2959 ac_c_werror_flag=yes 2960 ac_cv_prog_cc_g=no 2961 CFLAGS="-g" 2962 cat >conftest.$ac_ext <<_ACEOF 2963/* confdefs.h. */ 2964_ACEOF 2965cat confdefs.h >>conftest.$ac_ext 2966cat >>conftest.$ac_ext <<_ACEOF 2967/* end confdefs.h. */ 2968 2969int 2970main () 2971{ 2972 2973 ; 2974 return 0; 2975} 2976_ACEOF 2977rm -f conftest.$ac_objext 2978if { (ac_try="$ac_compile" 2979case "(($ac_try" in 2980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2981 *) ac_try_echo=$ac_try;; 2982esac 2983eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2984 (eval "$ac_compile") 2>conftest.er1 2985 ac_status=$? 2986 grep -v '^ *+' conftest.er1 >conftest.err 2987 rm -f conftest.er1 2988 cat conftest.err >&5 2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2990 (exit $ac_status); } && { 2991 test -z "$ac_c_werror_flag" || 2992 test ! -s conftest.err 2993 } && test -s conftest.$ac_objext; then 2994 ac_cv_prog_cc_g=yes 2995else 2996 echo "$as_me: failed program was:" >&5 2997sed 's/^/| /' conftest.$ac_ext >&5 2998 2999 CFLAGS="" 3000 cat >conftest.$ac_ext <<_ACEOF 3001/* confdefs.h. */ 3002_ACEOF 3003cat confdefs.h >>conftest.$ac_ext 3004cat >>conftest.$ac_ext <<_ACEOF 3005/* end confdefs.h. */ 3006 3007int 3008main () 3009{ 3010 3011 ; 3012 return 0; 3013} 3014_ACEOF 3015rm -f conftest.$ac_objext 3016if { (ac_try="$ac_compile" 3017case "(($ac_try" in 3018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3019 *) ac_try_echo=$ac_try;; 3020esac 3021eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3022 (eval "$ac_compile") 2>conftest.er1 3023 ac_status=$? 3024 grep -v '^ *+' conftest.er1 >conftest.err 3025 rm -f conftest.er1 3026 cat conftest.err >&5 3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3028 (exit $ac_status); } && { 3029 test -z "$ac_c_werror_flag" || 3030 test ! -s conftest.err 3031 } && test -s conftest.$ac_objext; then 3032 : 3033else 3034 echo "$as_me: failed program was:" >&5 3035sed 's/^/| /' conftest.$ac_ext >&5 3036 3037 ac_c_werror_flag=$ac_save_c_werror_flag 3038 CFLAGS="-g" 3039 cat >conftest.$ac_ext <<_ACEOF 3040/* confdefs.h. */ 3041_ACEOF 3042cat confdefs.h >>conftest.$ac_ext 3043cat >>conftest.$ac_ext <<_ACEOF 3044/* end confdefs.h. */ 3045 3046int 3047main () 3048{ 3049 3050 ; 3051 return 0; 3052} 3053_ACEOF 3054rm -f conftest.$ac_objext 3055if { (ac_try="$ac_compile" 3056case "(($ac_try" in 3057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3058 *) ac_try_echo=$ac_try;; 3059esac 3060eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3061 (eval "$ac_compile") 2>conftest.er1 3062 ac_status=$? 3063 grep -v '^ *+' conftest.er1 >conftest.err 3064 rm -f conftest.er1 3065 cat conftest.err >&5 3066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3067 (exit $ac_status); } && { 3068 test -z "$ac_c_werror_flag" || 3069 test ! -s conftest.err 3070 } && test -s conftest.$ac_objext; then 3071 ac_cv_prog_cc_g=yes 3072else 3073 echo "$as_me: failed program was:" >&5 3074sed 's/^/| /' conftest.$ac_ext >&5 3075 3076 3077fi 3078 3079rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3080fi 3081 3082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3083fi 3084 3085rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3086 ac_c_werror_flag=$ac_save_c_werror_flag 3087fi 3088{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3089echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3090if test "$ac_test_CFLAGS" = set; then 3091 CFLAGS=$ac_save_CFLAGS 3092elif test $ac_cv_prog_cc_g = yes; then 3093 if test "$GCC" = yes; then 3094 CFLAGS="-g -O2" 3095 else 3096 CFLAGS="-g" 3097 fi 3098else 3099 if test "$GCC" = yes; then 3100 CFLAGS="-O2" 3101 else 3102 CFLAGS= 3103 fi 3104fi 3105{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3106echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3107if test "${ac_cv_prog_cc_c89+set}" = set; then 3108 echo $ECHO_N "(cached) $ECHO_C" >&6 3109else 3110 ac_cv_prog_cc_c89=no 3111ac_save_CC=$CC 3112cat >conftest.$ac_ext <<_ACEOF 3113/* confdefs.h. */ 3114_ACEOF 3115cat confdefs.h >>conftest.$ac_ext 3116cat >>conftest.$ac_ext <<_ACEOF 3117/* end confdefs.h. */ 3118#include <stdarg.h> 3119#include <stdio.h> 3120#include <sys/types.h> 3121#include <sys/stat.h> 3122/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3123struct buf { int x; }; 3124FILE * (*rcsopen) (struct buf *, struct stat *, int); 3125static char *e (p, i) 3126 char **p; 3127 int i; 3128{ 3129 return p[i]; 3130} 3131static char *f (char * (*g) (char **, int), char **p, ...) 3132{ 3133 char *s; 3134 va_list v; 3135 va_start (v,p); 3136 s = g (p, va_arg (v,int)); 3137 va_end (v); 3138 return s; 3139} 3140 3141/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3142 function prototypes and stuff, but not '\xHH' hex character constants. 3143 These don't provoke an error unfortunately, instead are silently treated 3144 as 'x'. The following induces an error, until -std is added to get 3145 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3146 array size at least. It's necessary to write '\x00'==0 to get something 3147 that's true only with -std. */ 3148int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3149 3150/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3151 inside strings and character constants. */ 3152#define FOO(x) 'x' 3153int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3154 3155int test (int i, double x); 3156struct s1 {int (*f) (int a);}; 3157struct s2 {int (*f) (double a);}; 3158int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3159int argc; 3160char **argv; 3161int 3162main () 3163{ 3164return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3165 ; 3166 return 0; 3167} 3168_ACEOF 3169for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3170 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3171do 3172 CC="$ac_save_CC $ac_arg" 3173 rm -f conftest.$ac_objext 3174if { (ac_try="$ac_compile" 3175case "(($ac_try" in 3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3177 *) ac_try_echo=$ac_try;; 3178esac 3179eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3180 (eval "$ac_compile") 2>conftest.er1 3181 ac_status=$? 3182 grep -v '^ *+' conftest.er1 >conftest.err 3183 rm -f conftest.er1 3184 cat conftest.err >&5 3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3186 (exit $ac_status); } && { 3187 test -z "$ac_c_werror_flag" || 3188 test ! -s conftest.err 3189 } && test -s conftest.$ac_objext; then 3190 ac_cv_prog_cc_c89=$ac_arg 3191else 3192 echo "$as_me: failed program was:" >&5 3193sed 's/^/| /' conftest.$ac_ext >&5 3194 3195 3196fi 3197 3198rm -f core conftest.err conftest.$ac_objext 3199 test "x$ac_cv_prog_cc_c89" != "xno" && break 3200done 3201rm -f conftest.$ac_ext 3202CC=$ac_save_CC 3203 3204fi 3205# AC_CACHE_VAL 3206case "x$ac_cv_prog_cc_c89" in 3207 x) 3208 { echo "$as_me:$LINENO: result: none needed" >&5 3209echo "${ECHO_T}none needed" >&6; } ;; 3210 xno) 3211 { echo "$as_me:$LINENO: result: unsupported" >&5 3212echo "${ECHO_T}unsupported" >&6; } ;; 3213 *) 3214 CC="$CC $ac_cv_prog_cc_c89" 3215 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3216echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3217esac 3218 3219 3220ac_ext=c 3221ac_cpp='$CPP $CPPFLAGS' 3222ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3223ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3224ac_compiler_gnu=$ac_cv_c_compiler_gnu 3225DEPDIR="${am__leading_dot}deps" 3226 3227ac_config_commands="$ac_config_commands depfiles" 3228 3229 3230am_make=${MAKE-make} 3231cat > confinc << 'END' 3232am__doit: 3233 @echo done 3234.PHONY: am__doit 3235END 3236# If we don't find an include directive, just comment out the code. 3237{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3238echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 3239am__include="#" 3240am__quote= 3241_am_result=none 3242# First try GNU make style include. 3243echo "include confinc" > confmf 3244# We grep out `Entering directory' and `Leaving directory' 3245# messages which can occur if `w' ends up in MAKEFLAGS. 3246# In particular we don't look at `^make:' because GNU make might 3247# be invoked under some other name (usually "gmake"), in which 3248# case it prints its new name instead of `make'. 3249if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3250 am__include=include 3251 am__quote= 3252 _am_result=GNU 3253fi 3254# Now try BSD make style include. 3255if test "$am__include" = "#"; then 3256 echo '.include "confinc"' > confmf 3257 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3258 am__include=.include 3259 am__quote="\"" 3260 _am_result=BSD 3261 fi 3262fi 3263 3264 3265{ echo "$as_me:$LINENO: result: $_am_result" >&5 3266echo "${ECHO_T}$_am_result" >&6; } 3267rm -f confinc confmf 3268 3269# Check whether --enable-dependency-tracking was given. 3270if test "${enable_dependency_tracking+set}" = set; then 3271 enableval=$enable_dependency_tracking; 3272fi 3273 3274if test "x$enable_dependency_tracking" != xno; then 3275 am_depcomp="$ac_aux_dir/depcomp" 3276 AMDEPBACKSLASH='\' 3277fi 3278 if test "x$enable_dependency_tracking" != xno; then 3279 AMDEP_TRUE= 3280 AMDEP_FALSE='#' 3281else 3282 AMDEP_TRUE='#' 3283 AMDEP_FALSE= 3284fi 3285 3286 3287 3288depcc="$CC" am_compiler_list= 3289 3290{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3291echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3292if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3293 echo $ECHO_N "(cached) $ECHO_C" >&6 3294else 3295 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3296 # We make a subdir and do the tests there. Otherwise we can end up 3297 # making bogus files that we don't know about and never remove. For 3298 # instance it was reported that on HP-UX the gcc test will end up 3299 # making a dummy file named `D' -- because `-MD' means `put the output 3300 # in D'. 3301 mkdir conftest.dir 3302 # Copy depcomp to subdir because otherwise we won't find it if we're 3303 # using a relative directory. 3304 cp "$am_depcomp" conftest.dir 3305 cd conftest.dir 3306 # We will build objects and dependencies in a subdirectory because 3307 # it helps to detect inapplicable dependency modes. For instance 3308 # both Tru64's cc and ICC support -MD to output dependencies as a 3309 # side effect of compilation, but ICC will put the dependencies in 3310 # the current directory while Tru64 will put them in the object 3311 # directory. 3312 mkdir sub 3313 3314 am_cv_CC_dependencies_compiler_type=none 3315 if test "$am_compiler_list" = ""; then 3316 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3317 fi 3318 for depmode in $am_compiler_list; do 3319 # Setup a source with many dependencies, because some compilers 3320 # like to wrap large dependency lists on column 80 (with \), and 3321 # we should not choose a depcomp mode which is confused by this. 3322 # 3323 # We need to recreate these files for each test, as the compiler may 3324 # overwrite some of them when testing with obscure command lines. 3325 # This happens at least with the AIX C compiler. 3326 : > sub/conftest.c 3327 for i in 1 2 3 4 5 6; do 3328 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3329 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3330 # Solaris 8's {/usr,}/bin/sh. 3331 touch sub/conftst$i.h 3332 done 3333 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3334 3335 case $depmode in 3336 nosideeffect) 3337 # after this tag, mechanisms are not by side-effect, so they'll 3338 # only be used when explicitly requested 3339 if test "x$enable_dependency_tracking" = xyes; then 3340 continue 3341 else 3342 break 3343 fi 3344 ;; 3345 none) break ;; 3346 esac 3347 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3348 # mode. It turns out that the SunPro C++ compiler does not properly 3349 # handle `-M -o', and we need to detect this. 3350 if depmode=$depmode \ 3351 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3352 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3353 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3354 >/dev/null 2>conftest.err && 3355 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3356 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3357 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3358 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3359 # icc doesn't choke on unknown options, it will just issue warnings 3360 # or remarks (even with -Werror). So we grep stderr for any message 3361 # that says an option was ignored or not supported. 3362 # When given -MP, icc 7.0 and 7.1 complain thusly: 3363 # icc: Command line warning: ignoring option '-M'; no argument required 3364 # The diagnosis changed in icc 8.0: 3365 # icc: Command line remark: option '-MP' not supported 3366 if (grep 'ignoring option' conftest.err || 3367 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3368 am_cv_CC_dependencies_compiler_type=$depmode 3369 break 3370 fi 3371 fi 3372 done 3373 3374 cd .. 3375 rm -rf conftest.dir 3376else 3377 am_cv_CC_dependencies_compiler_type=none 3378fi 3379 3380fi 3381{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3382echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3383CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3384 3385 if 3386 test "x$enable_dependency_tracking" != xno \ 3387 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3388 am__fastdepCC_TRUE= 3389 am__fastdepCC_FALSE='#' 3390else 3391 am__fastdepCC_TRUE='#' 3392 am__fastdepCC_FALSE= 3393fi 3394 3395 3396# Find a good install program. We prefer a C program (faster), 3397# so one script is as good as another. But avoid the broken or 3398# incompatible versions: 3399# SysV /etc/install, /usr/sbin/install 3400# SunOS /usr/etc/install 3401# IRIX /sbin/install 3402# AIX /bin/install 3403# AmigaOS /C/install, which installs bootblocks on floppy discs 3404# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3405# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3406# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3407# OS/2's system install, which has a completely different semantic 3408# ./install, which can be erroneously created by make from ./install.sh. 3409{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3410echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 3411if test -z "$INSTALL"; then 3412if test "${ac_cv_path_install+set}" = set; then 3413 echo $ECHO_N "(cached) $ECHO_C" >&6 3414else 3415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3416for as_dir in $PATH 3417do 3418 IFS=$as_save_IFS 3419 test -z "$as_dir" && as_dir=. 3420 # Account for people who put trailing slashes in PATH elements. 3421case $as_dir/ in 3422 ./ | .// | /cC/* | \ 3423 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3424 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3425 /usr/ucb/* ) ;; 3426 *) 3427 # OSF1 and SCO ODT 3.0 have their own names for install. 3428 # Don't use installbsd from OSF since it installs stuff as root 3429 # by default. 3430 for ac_prog in ginstall scoinst install; do 3431 for ac_exec_ext in '' $ac_executable_extensions; do 3432 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3433 if test $ac_prog = install && 3434 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3435 # AIX install. It has an incompatible calling convention. 3436 : 3437 elif test $ac_prog = install && 3438 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3439 # program-specific install script used by HP pwplus--don't use. 3440 : 3441 else 3442 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3443 break 3 3444 fi 3445 fi 3446 done 3447 done 3448 ;; 3449esac 3450done 3451IFS=$as_save_IFS 3452 3453 3454fi 3455 if test "${ac_cv_path_install+set}" = set; then 3456 INSTALL=$ac_cv_path_install 3457 else 3458 # As a last resort, use the slow shell script. Don't cache a 3459 # value for INSTALL within a source directory, because that will 3460 # break other packages using the cache if that directory is 3461 # removed, or if the value is a relative name. 3462 INSTALL=$ac_install_sh 3463 fi 3464fi 3465{ echo "$as_me:$LINENO: result: $INSTALL" >&5 3466echo "${ECHO_T}$INSTALL" >&6; } 3467 3468# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3469# It thinks the first close brace ends the variable substitution. 3470test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3471 3472test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3473 3474test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3475 3476 3477 3478ac_ext=c 3479ac_cpp='$CPP $CPPFLAGS' 3480ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3481ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3482ac_compiler_gnu=$ac_cv_c_compiler_gnu 3483{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3484echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3485# On Suns, sometimes $CPP names a directory. 3486if test -n "$CPP" && test -d "$CPP"; then 3487 CPP= 3488fi 3489if test -z "$CPP"; then 3490 if test "${ac_cv_prog_CPP+set}" = set; then 3491 echo $ECHO_N "(cached) $ECHO_C" >&6 3492else 3493 # Double quotes because CPP needs to be expanded 3494 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3495 do 3496 ac_preproc_ok=false 3497for ac_c_preproc_warn_flag in '' yes 3498do 3499 # Use a header file that comes with gcc, so configuring glibc 3500 # with a fresh cross-compiler works. 3501 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3502 # <limits.h> exists even on freestanding compilers. 3503 # On the NeXT, cc -E runs the code through the compiler's parser, 3504 # not just through cpp. "Syntax error" is here to catch this case. 3505 cat >conftest.$ac_ext <<_ACEOF 3506/* confdefs.h. */ 3507_ACEOF 3508cat confdefs.h >>conftest.$ac_ext 3509cat >>conftest.$ac_ext <<_ACEOF 3510/* end confdefs.h. */ 3511#ifdef __STDC__ 3512# include <limits.h> 3513#else 3514# include <assert.h> 3515#endif 3516 Syntax error 3517_ACEOF 3518if { (ac_try="$ac_cpp conftest.$ac_ext" 3519case "(($ac_try" in 3520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3521 *) ac_try_echo=$ac_try;; 3522esac 3523eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3524 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3525 ac_status=$? 3526 grep -v '^ *+' conftest.er1 >conftest.err 3527 rm -f conftest.er1 3528 cat conftest.err >&5 3529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3530 (exit $ac_status); } >/dev/null && { 3531 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3532 test ! -s conftest.err 3533 }; then 3534 : 3535else 3536 echo "$as_me: failed program was:" >&5 3537sed 's/^/| /' conftest.$ac_ext >&5 3538 3539 # Broken: fails on valid input. 3540continue 3541fi 3542 3543rm -f conftest.err conftest.$ac_ext 3544 3545 # OK, works on sane cases. Now check whether nonexistent headers 3546 # can be detected and how. 3547 cat >conftest.$ac_ext <<_ACEOF 3548/* confdefs.h. */ 3549_ACEOF 3550cat confdefs.h >>conftest.$ac_ext 3551cat >>conftest.$ac_ext <<_ACEOF 3552/* end confdefs.h. */ 3553#include <ac_nonexistent.h> 3554_ACEOF 3555if { (ac_try="$ac_cpp conftest.$ac_ext" 3556case "(($ac_try" in 3557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3558 *) ac_try_echo=$ac_try;; 3559esac 3560eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3562 ac_status=$? 3563 grep -v '^ *+' conftest.er1 >conftest.err 3564 rm -f conftest.er1 3565 cat conftest.err >&5 3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3567 (exit $ac_status); } >/dev/null && { 3568 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3569 test ! -s conftest.err 3570 }; then 3571 # Broken: success on invalid input. 3572continue 3573else 3574 echo "$as_me: failed program was:" >&5 3575sed 's/^/| /' conftest.$ac_ext >&5 3576 3577 # Passes both tests. 3578ac_preproc_ok=: 3579break 3580fi 3581 3582rm -f conftest.err conftest.$ac_ext 3583 3584done 3585# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3586rm -f conftest.err conftest.$ac_ext 3587if $ac_preproc_ok; then 3588 break 3589fi 3590 3591 done 3592 ac_cv_prog_CPP=$CPP 3593 3594fi 3595 CPP=$ac_cv_prog_CPP 3596else 3597 ac_cv_prog_CPP=$CPP 3598fi 3599{ echo "$as_me:$LINENO: result: $CPP" >&5 3600echo "${ECHO_T}$CPP" >&6; } 3601ac_preproc_ok=false 3602for ac_c_preproc_warn_flag in '' yes 3603do 3604 # Use a header file that comes with gcc, so configuring glibc 3605 # with a fresh cross-compiler works. 3606 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3607 # <limits.h> exists even on freestanding compilers. 3608 # On the NeXT, cc -E runs the code through the compiler's parser, 3609 # not just through cpp. "Syntax error" is here to catch this case. 3610 cat >conftest.$ac_ext <<_ACEOF 3611/* confdefs.h. */ 3612_ACEOF 3613cat confdefs.h >>conftest.$ac_ext 3614cat >>conftest.$ac_ext <<_ACEOF 3615/* end confdefs.h. */ 3616#ifdef __STDC__ 3617# include <limits.h> 3618#else 3619# include <assert.h> 3620#endif 3621 Syntax error 3622_ACEOF 3623if { (ac_try="$ac_cpp conftest.$ac_ext" 3624case "(($ac_try" in 3625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3626 *) ac_try_echo=$ac_try;; 3627esac 3628eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3629 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3630 ac_status=$? 3631 grep -v '^ *+' conftest.er1 >conftest.err 3632 rm -f conftest.er1 3633 cat conftest.err >&5 3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3635 (exit $ac_status); } >/dev/null && { 3636 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3637 test ! -s conftest.err 3638 }; then 3639 : 3640else 3641 echo "$as_me: failed program was:" >&5 3642sed 's/^/| /' conftest.$ac_ext >&5 3643 3644 # Broken: fails on valid input. 3645continue 3646fi 3647 3648rm -f conftest.err conftest.$ac_ext 3649 3650 # OK, works on sane cases. Now check whether nonexistent headers 3651 # can be detected and how. 3652 cat >conftest.$ac_ext <<_ACEOF 3653/* confdefs.h. */ 3654_ACEOF 3655cat confdefs.h >>conftest.$ac_ext 3656cat >>conftest.$ac_ext <<_ACEOF 3657/* end confdefs.h. */ 3658#include <ac_nonexistent.h> 3659_ACEOF 3660if { (ac_try="$ac_cpp conftest.$ac_ext" 3661case "(($ac_try" in 3662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3663 *) ac_try_echo=$ac_try;; 3664esac 3665eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3667 ac_status=$? 3668 grep -v '^ *+' conftest.er1 >conftest.err 3669 rm -f conftest.er1 3670 cat conftest.err >&5 3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3672 (exit $ac_status); } >/dev/null && { 3673 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3674 test ! -s conftest.err 3675 }; then 3676 # Broken: success on invalid input. 3677continue 3678else 3679 echo "$as_me: failed program was:" >&5 3680sed 's/^/| /' conftest.$ac_ext >&5 3681 3682 # Passes both tests. 3683ac_preproc_ok=: 3684break 3685fi 3686 3687rm -f conftest.err conftest.$ac_ext 3688 3689done 3690# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3691rm -f conftest.err conftest.$ac_ext 3692if $ac_preproc_ok; then 3693 : 3694else 3695 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3696See \`config.log' for more details." >&5 3697echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3698See \`config.log' for more details." >&2;} 3699 { (exit 1); exit 1; }; } 3700fi 3701 3702ac_ext=c 3703ac_cpp='$CPP $CPPFLAGS' 3704ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3705ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3706ac_compiler_gnu=$ac_cv_c_compiler_gnu 3707 3708 3709{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3710echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3711if test "${ac_cv_path_GREP+set}" = set; then 3712 echo $ECHO_N "(cached) $ECHO_C" >&6 3713else 3714 # Extract the first word of "grep ggrep" to use in msg output 3715if test -z "$GREP"; then 3716set dummy grep ggrep; ac_prog_name=$2 3717if test "${ac_cv_path_GREP+set}" = set; then 3718 echo $ECHO_N "(cached) $ECHO_C" >&6 3719else 3720 ac_path_GREP_found=false 3721# Loop through the user's path and test for each of PROGNAME-LIST 3722as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3723for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3724do 3725 IFS=$as_save_IFS 3726 test -z "$as_dir" && as_dir=. 3727 for ac_prog in grep ggrep; do 3728 for ac_exec_ext in '' $ac_executable_extensions; do 3729 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3730 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3731 # Check for GNU ac_path_GREP and select it if it is found. 3732 # Check for GNU $ac_path_GREP 3733case `"$ac_path_GREP" --version 2>&1` in 3734*GNU*) 3735 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3736*) 3737 ac_count=0 3738 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3739 while : 3740 do 3741 cat "conftest.in" "conftest.in" >"conftest.tmp" 3742 mv "conftest.tmp" "conftest.in" 3743 cp "conftest.in" "conftest.nl" 3744 echo 'GREP' >> "conftest.nl" 3745 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3746 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3747 ac_count=`expr $ac_count + 1` 3748 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3749 # Best one so far, save it but keep looking for a better one 3750 ac_cv_path_GREP="$ac_path_GREP" 3751 ac_path_GREP_max=$ac_count 3752 fi 3753 # 10*(2^10) chars as input seems more than enough 3754 test $ac_count -gt 10 && break 3755 done 3756 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3757esac 3758 3759 3760 $ac_path_GREP_found && break 3 3761 done 3762done 3763 3764done 3765IFS=$as_save_IFS 3766 3767 3768fi 3769 3770GREP="$ac_cv_path_GREP" 3771if test -z "$GREP"; then 3772 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3773echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3774 { (exit 1); exit 1; }; } 3775fi 3776 3777else 3778 ac_cv_path_GREP=$GREP 3779fi 3780 3781 3782fi 3783{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3784echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3785 GREP="$ac_cv_path_GREP" 3786 3787 3788{ echo "$as_me:$LINENO: checking for egrep" >&5 3789echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3790if test "${ac_cv_path_EGREP+set}" = set; then 3791 echo $ECHO_N "(cached) $ECHO_C" >&6 3792else 3793 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3794 then ac_cv_path_EGREP="$GREP -E" 3795 else 3796 # Extract the first word of "egrep" to use in msg output 3797if test -z "$EGREP"; then 3798set dummy egrep; ac_prog_name=$2 3799if test "${ac_cv_path_EGREP+set}" = set; then 3800 echo $ECHO_N "(cached) $ECHO_C" >&6 3801else 3802 ac_path_EGREP_found=false 3803# Loop through the user's path and test for each of PROGNAME-LIST 3804as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3805for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3806do 3807 IFS=$as_save_IFS 3808 test -z "$as_dir" && as_dir=. 3809 for ac_prog in egrep; do 3810 for ac_exec_ext in '' $ac_executable_extensions; do 3811 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3812 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3813 # Check for GNU ac_path_EGREP and select it if it is found. 3814 # Check for GNU $ac_path_EGREP 3815case `"$ac_path_EGREP" --version 2>&1` in 3816*GNU*) 3817 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3818*) 3819 ac_count=0 3820 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3821 while : 3822 do 3823 cat "conftest.in" "conftest.in" >"conftest.tmp" 3824 mv "conftest.tmp" "conftest.in" 3825 cp "conftest.in" "conftest.nl" 3826 echo 'EGREP' >> "conftest.nl" 3827 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3828 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3829 ac_count=`expr $ac_count + 1` 3830 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3831 # Best one so far, save it but keep looking for a better one 3832 ac_cv_path_EGREP="$ac_path_EGREP" 3833 ac_path_EGREP_max=$ac_count 3834 fi 3835 # 10*(2^10) chars as input seems more than enough 3836 test $ac_count -gt 10 && break 3837 done 3838 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3839esac 3840 3841 3842 $ac_path_EGREP_found && break 3 3843 done 3844done 3845 3846done 3847IFS=$as_save_IFS 3848 3849 3850fi 3851 3852EGREP="$ac_cv_path_EGREP" 3853if test -z "$EGREP"; then 3854 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3855echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3856 { (exit 1); exit 1; }; } 3857fi 3858 3859else 3860 ac_cv_path_EGREP=$EGREP 3861fi 3862 3863 3864 fi 3865fi 3866{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3867echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 3868 EGREP="$ac_cv_path_EGREP" 3869 3870 3871{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3872echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3873if test "${ac_cv_header_stdc+set}" = set; then 3874 echo $ECHO_N "(cached) $ECHO_C" >&6 3875else 3876 cat >conftest.$ac_ext <<_ACEOF 3877/* confdefs.h. */ 3878_ACEOF 3879cat confdefs.h >>conftest.$ac_ext 3880cat >>conftest.$ac_ext <<_ACEOF 3881/* end confdefs.h. */ 3882#include <stdlib.h> 3883#include <stdarg.h> 3884#include <string.h> 3885#include <float.h> 3886 3887int 3888main () 3889{ 3890 3891 ; 3892 return 0; 3893} 3894_ACEOF 3895rm -f conftest.$ac_objext 3896if { (ac_try="$ac_compile" 3897case "(($ac_try" in 3898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3899 *) ac_try_echo=$ac_try;; 3900esac 3901eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3902 (eval "$ac_compile") 2>conftest.er1 3903 ac_status=$? 3904 grep -v '^ *+' conftest.er1 >conftest.err 3905 rm -f conftest.er1 3906 cat conftest.err >&5 3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3908 (exit $ac_status); } && { 3909 test -z "$ac_c_werror_flag" || 3910 test ! -s conftest.err 3911 } && test -s conftest.$ac_objext; then 3912 ac_cv_header_stdc=yes 3913else 3914 echo "$as_me: failed program was:" >&5 3915sed 's/^/| /' conftest.$ac_ext >&5 3916 3917 ac_cv_header_stdc=no 3918fi 3919 3920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3921 3922if test $ac_cv_header_stdc = yes; then 3923 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3924 cat >conftest.$ac_ext <<_ACEOF 3925/* confdefs.h. */ 3926_ACEOF 3927cat confdefs.h >>conftest.$ac_ext 3928cat >>conftest.$ac_ext <<_ACEOF 3929/* end confdefs.h. */ 3930#include <string.h> 3931 3932_ACEOF 3933if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3934 $EGREP "memchr" >/dev/null 2>&1; then 3935 : 3936else 3937 ac_cv_header_stdc=no 3938fi 3939rm -f conftest* 3940 3941fi 3942 3943if test $ac_cv_header_stdc = yes; then 3944 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3945 cat >conftest.$ac_ext <<_ACEOF 3946/* confdefs.h. */ 3947_ACEOF 3948cat confdefs.h >>conftest.$ac_ext 3949cat >>conftest.$ac_ext <<_ACEOF 3950/* end confdefs.h. */ 3951#include <stdlib.h> 3952 3953_ACEOF 3954if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3955 $EGREP "free" >/dev/null 2>&1; then 3956 : 3957else 3958 ac_cv_header_stdc=no 3959fi 3960rm -f conftest* 3961 3962fi 3963 3964if test $ac_cv_header_stdc = yes; then 3965 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3966 if test "$cross_compiling" = yes; then 3967 : 3968else 3969 cat >conftest.$ac_ext <<_ACEOF 3970/* confdefs.h. */ 3971_ACEOF 3972cat confdefs.h >>conftest.$ac_ext 3973cat >>conftest.$ac_ext <<_ACEOF 3974/* end confdefs.h. */ 3975#include <ctype.h> 3976#include <stdlib.h> 3977#if ((' ' & 0x0FF) == 0x020) 3978# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3979# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3980#else 3981# define ISLOWER(c) \ 3982 (('a' <= (c) && (c) <= 'i') \ 3983 || ('j' <= (c) && (c) <= 'r') \ 3984 || ('s' <= (c) && (c) <= 'z')) 3985# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3986#endif 3987 3988#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3989int 3990main () 3991{ 3992 int i; 3993 for (i = 0; i < 256; i++) 3994 if (XOR (islower (i), ISLOWER (i)) 3995 || toupper (i) != TOUPPER (i)) 3996 return 2; 3997 return 0; 3998} 3999_ACEOF 4000rm -f conftest$ac_exeext 4001if { (ac_try="$ac_link" 4002case "(($ac_try" in 4003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4004 *) ac_try_echo=$ac_try;; 4005esac 4006eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4007 (eval "$ac_link") 2>&5 4008 ac_status=$? 4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4010 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4011 { (case "(($ac_try" in 4012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4013 *) ac_try_echo=$ac_try;; 4014esac 4015eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4016 (eval "$ac_try") 2>&5 4017 ac_status=$? 4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4019 (exit $ac_status); }; }; then 4020 : 4021else 4022 echo "$as_me: program exited with status $ac_status" >&5 4023echo "$as_me: failed program was:" >&5 4024sed 's/^/| /' conftest.$ac_ext >&5 4025 4026( exit $ac_status ) 4027ac_cv_header_stdc=no 4028fi 4029rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4030fi 4031 4032 4033fi 4034fi 4035{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4036echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4037if test $ac_cv_header_stdc = yes; then 4038 4039cat >>confdefs.h <<\_ACEOF 4040#define STDC_HEADERS 1 4041_ACEOF 4042 4043fi 4044 4045# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4056 inttypes.h stdint.h unistd.h 4057do 4058as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4059{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4060echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4061if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4062 echo $ECHO_N "(cached) $ECHO_C" >&6 4063else 4064 cat >conftest.$ac_ext <<_ACEOF 4065/* confdefs.h. */ 4066_ACEOF 4067cat confdefs.h >>conftest.$ac_ext 4068cat >>conftest.$ac_ext <<_ACEOF 4069/* end confdefs.h. */ 4070$ac_includes_default 4071 4072#include <$ac_header> 4073_ACEOF 4074rm -f conftest.$ac_objext 4075if { (ac_try="$ac_compile" 4076case "(($ac_try" in 4077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4078 *) ac_try_echo=$ac_try;; 4079esac 4080eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4081 (eval "$ac_compile") 2>conftest.er1 4082 ac_status=$? 4083 grep -v '^ *+' conftest.er1 >conftest.err 4084 rm -f conftest.er1 4085 cat conftest.err >&5 4086 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4087 (exit $ac_status); } && { 4088 test -z "$ac_c_werror_flag" || 4089 test ! -s conftest.err 4090 } && test -s conftest.$ac_objext; then 4091 eval "$as_ac_Header=yes" 4092else 4093 echo "$as_me: failed program was:" >&5 4094sed 's/^/| /' conftest.$ac_ext >&5 4095 4096 eval "$as_ac_Header=no" 4097fi 4098 4099rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4100fi 4101ac_res=`eval echo '${'$as_ac_Header'}'` 4102 { echo "$as_me:$LINENO: result: $ac_res" >&5 4103echo "${ECHO_T}$ac_res" >&6; } 4104if test `eval echo '${'$as_ac_Header'}'` = yes; then 4105 cat >>confdefs.h <<_ACEOF 4106#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4107_ACEOF 4108 4109fi 4110 4111done 4112 4113 4114 4115 4116if test "x$GCC" = xyes ; then 4117 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 4118-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 4119-Wbad-function-cast" 4120 case `$CC -dumpversion` in 4121 3.4.* | 4.*) 4122 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 4123 ;; 4124 esac 4125else 4126 { echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 4127echo $ECHO_N "checking whether __SUNPRO_C is declared... $ECHO_C" >&6; } 4128if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 4129 echo $ECHO_N "(cached) $ECHO_C" >&6 4130else 4131 cat >conftest.$ac_ext <<_ACEOF 4132/* confdefs.h. */ 4133_ACEOF 4134cat confdefs.h >>conftest.$ac_ext 4135cat >>conftest.$ac_ext <<_ACEOF 4136/* end confdefs.h. */ 4137$ac_includes_default 4138int 4139main () 4140{ 4141#ifndef __SUNPRO_C 4142 (void) __SUNPRO_C; 4143#endif 4144 4145 ; 4146 return 0; 4147} 4148_ACEOF 4149rm -f conftest.$ac_objext 4150if { (ac_try="$ac_compile" 4151case "(($ac_try" in 4152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4153 *) ac_try_echo=$ac_try;; 4154esac 4155eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4156 (eval "$ac_compile") 2>conftest.er1 4157 ac_status=$? 4158 grep -v '^ *+' conftest.er1 >conftest.err 4159 rm -f conftest.er1 4160 cat conftest.err >&5 4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4162 (exit $ac_status); } && { 4163 test -z "$ac_c_werror_flag" || 4164 test ! -s conftest.err 4165 } && test -s conftest.$ac_objext; then 4166 ac_cv_have_decl___SUNPRO_C=yes 4167else 4168 echo "$as_me: failed program was:" >&5 4169sed 's/^/| /' conftest.$ac_ext >&5 4170 4171 ac_cv_have_decl___SUNPRO_C=no 4172fi 4173 4174rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4175fi 4176{ echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 4177echo "${ECHO_T}$ac_cv_have_decl___SUNPRO_C" >&6; } 4178if test $ac_cv_have_decl___SUNPRO_C = yes; then 4179 SUNCC="yes" 4180else 4181 SUNCC="no" 4182fi 4183 4184 if test "x$SUNCC" = "xyes"; then 4185 CWARNFLAGS="-v" 4186 fi 4187fi 4188 4189 4190 4191 4192 4193 4194for ac_func in nanosleep poll select 4195do 4196as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4197{ echo "$as_me:$LINENO: checking for $ac_func" >&5 4198echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 4199if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4200 echo $ECHO_N "(cached) $ECHO_C" >&6 4201else 4202 cat >conftest.$ac_ext <<_ACEOF 4203/* confdefs.h. */ 4204_ACEOF 4205cat confdefs.h >>conftest.$ac_ext 4206cat >>conftest.$ac_ext <<_ACEOF 4207/* end confdefs.h. */ 4208/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4209 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4210#define $ac_func innocuous_$ac_func 4211 4212/* System header to define __stub macros and hopefully few prototypes, 4213 which can conflict with char $ac_func (); below. 4214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4215 <limits.h> exists even on freestanding compilers. */ 4216 4217#ifdef __STDC__ 4218# include <limits.h> 4219#else 4220# include <assert.h> 4221#endif 4222 4223#undef $ac_func 4224 4225/* Override any GCC internal prototype to avoid an error. 4226 Use char because int might match the return type of a GCC 4227 builtin and then its argument prototype would still apply. */ 4228#ifdef __cplusplus 4229extern "C" 4230#endif 4231char $ac_func (); 4232/* The GNU C library defines this for functions which it implements 4233 to always fail with ENOSYS. Some functions are actually named 4234 something starting with __ and the normal name is an alias. */ 4235#if defined __stub_$ac_func || defined __stub___$ac_func 4236choke me 4237#endif 4238 4239int 4240main () 4241{ 4242return $ac_func (); 4243 ; 4244 return 0; 4245} 4246_ACEOF 4247rm -f conftest.$ac_objext conftest$ac_exeext 4248if { (ac_try="$ac_link" 4249case "(($ac_try" in 4250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4251 *) ac_try_echo=$ac_try;; 4252esac 4253eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4254 (eval "$ac_link") 2>conftest.er1 4255 ac_status=$? 4256 grep -v '^ *+' conftest.er1 >conftest.err 4257 rm -f conftest.er1 4258 cat conftest.err >&5 4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4260 (exit $ac_status); } && { 4261 test -z "$ac_c_werror_flag" || 4262 test ! -s conftest.err 4263 } && test -s conftest$ac_exeext && 4264 $as_test_x conftest$ac_exeext; then 4265 eval "$as_ac_var=yes" 4266else 4267 echo "$as_me: failed program was:" >&5 4268sed 's/^/| /' conftest.$ac_ext >&5 4269 4270 eval "$as_ac_var=no" 4271fi 4272 4273rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4274 conftest$ac_exeext conftest.$ac_ext 4275fi 4276ac_res=`eval echo '${'$as_ac_var'}'` 4277 { echo "$as_me:$LINENO: result: $ac_res" >&5 4278echo "${ECHO_T}$ac_res" >&6; } 4279if test `eval echo '${'$as_ac_var'}'` = yes; then 4280 cat >>confdefs.h <<_ACEOF 4281#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4282_ACEOF 4283 4284fi 4285done 4286 4287 4288# Checks for pkg-config packages 4289 4290 4291if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4292 if test -n "$ac_tool_prefix"; then 4293 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4294set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4295{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4296echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4297if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 4298 echo $ECHO_N "(cached) $ECHO_C" >&6 4299else 4300 case $PKG_CONFIG in 4301 [\\/]* | ?:[\\/]*) 4302 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4303 ;; 4304 *) 4305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4306for as_dir in $PATH 4307do 4308 IFS=$as_save_IFS 4309 test -z "$as_dir" && as_dir=. 4310 for ac_exec_ext in '' $ac_executable_extensions; do 4311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4312 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4314 break 2 4315 fi 4316done 4317done 4318IFS=$as_save_IFS 4319 4320 ;; 4321esac 4322fi 4323PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4324if test -n "$PKG_CONFIG"; then 4325 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 4326echo "${ECHO_T}$PKG_CONFIG" >&6; } 4327else 4328 { echo "$as_me:$LINENO: result: no" >&5 4329echo "${ECHO_T}no" >&6; } 4330fi 4331 4332 4333fi 4334if test -z "$ac_cv_path_PKG_CONFIG"; then 4335 ac_pt_PKG_CONFIG=$PKG_CONFIG 4336 # Extract the first word of "pkg-config", so it can be a program name with args. 4337set dummy pkg-config; ac_word=$2 4338{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4339echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4340if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 4341 echo $ECHO_N "(cached) $ECHO_C" >&6 4342else 4343 case $ac_pt_PKG_CONFIG in 4344 [\\/]* | ?:[\\/]*) 4345 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4346 ;; 4347 *) 4348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4349for as_dir in $PATH 4350do 4351 IFS=$as_save_IFS 4352 test -z "$as_dir" && as_dir=. 4353 for ac_exec_ext in '' $ac_executable_extensions; do 4354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4355 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4357 break 2 4358 fi 4359done 4360done 4361IFS=$as_save_IFS 4362 4363 ;; 4364esac 4365fi 4366ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4367if test -n "$ac_pt_PKG_CONFIG"; then 4368 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 4369echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } 4370else 4371 { echo "$as_me:$LINENO: result: no" >&5 4372echo "${ECHO_T}no" >&6; } 4373fi 4374 4375 if test "x$ac_pt_PKG_CONFIG" = x; then 4376 PKG_CONFIG="" 4377 else 4378 case $cross_compiling:$ac_tool_warned in 4379yes:) 4380{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 4381whose name does not start with the host triplet. If you think this 4382configuration is useful to you, please write to autoconf@gnu.org." >&5 4383echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 4384whose name does not start with the host triplet. If you think this 4385configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4386ac_tool_warned=yes ;; 4387esac 4388 PKG_CONFIG=$ac_pt_PKG_CONFIG 4389 fi 4390else 4391 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4392fi 4393 4394fi 4395if test -n "$PKG_CONFIG"; then 4396 _pkg_min_version=0.9.0 4397 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 4398echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } 4399 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4400 { echo "$as_me:$LINENO: result: yes" >&5 4401echo "${ECHO_T}yes" >&6; } 4402 else 4403 { echo "$as_me:$LINENO: result: no" >&5 4404echo "${ECHO_T}no" >&6; } 4405 PKG_CONFIG="" 4406 fi 4407 4408fi 4409 4410pkg_failed=no 4411{ echo "$as_me:$LINENO: checking for XMAG" >&5 4412echo $ECHO_N "checking for XMAG... $ECHO_C" >&6; } 4413 4414if test -n "$PKG_CONFIG"; then 4415 if test -n "$PKG_CONFIG" && \ 4416 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7\"") >&5 4417 ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5 4418 ac_status=$? 4419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4420 (exit $ac_status); }; then 4421 pkg_cv_XMAG_CFLAGS=`$PKG_CONFIG --cflags "xaw7" 2>/dev/null` 4422else 4423 pkg_failed=yes 4424fi 4425else 4426 pkg_failed=untried 4427fi 4428if test -n "$PKG_CONFIG"; then 4429 if test -n "$PKG_CONFIG" && \ 4430 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7\"") >&5 4431 ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5 4432 ac_status=$? 4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4434 (exit $ac_status); }; then 4435 pkg_cv_XMAG_LIBS=`$PKG_CONFIG --libs "xaw7" 2>/dev/null` 4436else 4437 pkg_failed=yes 4438fi 4439else 4440 pkg_failed=untried 4441fi 4442 4443if test $pkg_failed = yes; then 4444 XMAG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xaw7"` 4445 # Put the nasty error message in config.log where it belongs 4446 echo "$XMAG_PKG_ERRORS" 1>&5 4447 4448 { { echo "$as_me:$LINENO: error: Package requirements (xaw7) were not met. 4449Consider adjusting the PKG_CONFIG_PATH environment variable if you 4450installed software in a non-standard prefix. 4451 4452Alternatively you may set the XMAG_CFLAGS and XMAG_LIBS environment variables 4453to avoid the need to call pkg-config. See the pkg-config man page for 4454more details." >&5 4455echo "$as_me: error: Package requirements (xaw7) were not met. 4456Consider adjusting the PKG_CONFIG_PATH environment variable if you 4457installed software in a non-standard prefix. 4458 4459Alternatively you may set the XMAG_CFLAGS and XMAG_LIBS environment variables 4460to avoid the need to call pkg-config. See the pkg-config man page for 4461more details." >&2;} 4462 { (exit 1); exit 1; }; } 4463elif test $pkg_failed = untried; then 4464 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 4465is in your PATH or set the PKG_CONFIG environment variable to the full 4466path to pkg-config. 4467 4468Alternatively you may set the XMAG_CFLAGS and XMAG_LIBS environment variables 4469to avoid the need to call pkg-config. See the pkg-config man page for 4470more details. 4471 4472To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 4473See \`config.log' for more details." >&5 4474echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 4475is in your PATH or set the PKG_CONFIG environment variable to the full 4476path to pkg-config. 4477 4478Alternatively you may set the XMAG_CFLAGS and XMAG_LIBS environment variables 4479to avoid the need to call pkg-config. See the pkg-config man page for 4480more details. 4481 4482To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 4483See \`config.log' for more details." >&2;} 4484 { (exit 1); exit 1; }; } 4485else 4486 XMAG_CFLAGS=$pkg_cv_XMAG_CFLAGS 4487 XMAG_LIBS=$pkg_cv_XMAG_LIBS 4488 { echo "$as_me:$LINENO: result: yes" >&5 4489echo "${ECHO_T}yes" >&6; } 4490 : 4491fi 4492XMAG_CFLAGS="$CWARNFLAGS $XMAG_CFLAGS" 4493 4494 4495 4496 4497pkg_failed=no 4498{ echo "$as_me:$LINENO: checking for APPDEFS" >&5 4499echo $ECHO_N "checking for APPDEFS... $ECHO_C" >&6; } 4500 4501if test -n "$PKG_CONFIG"; then 4502 if test -n "$PKG_CONFIG" && \ 4503 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5 4504 ($PKG_CONFIG --exists --print-errors "xt") 2>&5 4505 ac_status=$? 4506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4507 (exit $ac_status); }; then 4508 pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null` 4509else 4510 pkg_failed=yes 4511fi 4512else 4513 pkg_failed=untried 4514fi 4515if test -n "$PKG_CONFIG"; then 4516 if test -n "$PKG_CONFIG" && \ 4517 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5 4518 ($PKG_CONFIG --exists --print-errors "xt") 2>&5 4519 ac_status=$? 4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4521 (exit $ac_status); }; then 4522 pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null` 4523else 4524 pkg_failed=yes 4525fi 4526else 4527 pkg_failed=untried 4528fi 4529 4530if test $pkg_failed = yes; then 4531 APPDEFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xt"` 4532 # Put the nasty error message in config.log where it belongs 4533 echo "$APPDEFS_PKG_ERRORS" 1>&5 4534 4535 { { echo "$as_me:$LINENO: error: Package requirements (xt) were not met. 4536Consider adjusting the PKG_CONFIG_PATH environment variable if you 4537installed software in a non-standard prefix. 4538 4539Alternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables 4540to avoid the need to call pkg-config. See the pkg-config man page for 4541more details." >&5 4542echo "$as_me: error: Package requirements (xt) were not met. 4543Consider adjusting the PKG_CONFIG_PATH environment variable if you 4544installed software in a non-standard prefix. 4545 4546Alternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables 4547to avoid the need to call pkg-config. See the pkg-config man page for 4548more details." >&2;} 4549 { (exit 1); exit 1; }; } 4550elif test $pkg_failed = untried; then 4551 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 4552is in your PATH or set the PKG_CONFIG environment variable to the full 4553path to pkg-config. 4554 4555Alternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables 4556to avoid the need to call pkg-config. See the pkg-config man page for 4557more details. 4558 4559To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 4560See \`config.log' for more details." >&5 4561echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 4562is in your PATH or set the PKG_CONFIG environment variable to the full 4563path to pkg-config. 4564 4565Alternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables 4566to avoid the need to call pkg-config. See the pkg-config man page for 4567more details. 4568 4569To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 4570See \`config.log' for more details." >&2;} 4571 { (exit 1); exit 1; }; } 4572else 4573 APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS 4574 APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS 4575 { echo "$as_me:$LINENO: result: yes" >&5 4576echo "${ECHO_T}yes" >&6; } 4577 : 4578fi 4579xt_appdefaultdir=$(pkg-config --variable=appdefaultdir xt) 4580 4581# Check whether --with-appdefaultdir was given. 4582if test "${with_appdefaultdir+set}" = set; then 4583 withval=$with_appdefaultdir; appdefaultdir="$withval" 4584else 4585 appdefaultdir="${xt_appdefaultdir}" 4586fi 4587 4588 4589 4590# Make sure we can run config.sub. 4591$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4592 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4593echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 4594 { (exit 1); exit 1; }; } 4595 4596{ echo "$as_me:$LINENO: checking build system type" >&5 4597echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 4598if test "${ac_cv_build+set}" = set; then 4599 echo $ECHO_N "(cached) $ECHO_C" >&6 4600else 4601 ac_build_alias=$build_alias 4602test "x$ac_build_alias" = x && 4603 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4604test "x$ac_build_alias" = x && 4605 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4606echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 4607 { (exit 1); exit 1; }; } 4608ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4609 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4610echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 4611 { (exit 1); exit 1; }; } 4612 4613fi 4614{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4615echo "${ECHO_T}$ac_cv_build" >&6; } 4616case $ac_cv_build in 4617*-*-*) ;; 4618*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4619echo "$as_me: error: invalid value of canonical build" >&2;} 4620 { (exit 1); exit 1; }; };; 4621esac 4622build=$ac_cv_build 4623ac_save_IFS=$IFS; IFS='-' 4624set x $ac_cv_build 4625shift 4626build_cpu=$1 4627build_vendor=$2 4628shift; shift 4629# Remember, the first character of IFS is used to create $*, 4630# except with old shells: 4631build_os=$* 4632IFS=$ac_save_IFS 4633case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4634 4635 4636{ echo "$as_me:$LINENO: checking host system type" >&5 4637echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 4638if test "${ac_cv_host+set}" = set; then 4639 echo $ECHO_N "(cached) $ECHO_C" >&6 4640else 4641 if test "x$host_alias" = x; then 4642 ac_cv_host=$ac_cv_build 4643else 4644 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4645 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4646echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 4647 { (exit 1); exit 1; }; } 4648fi 4649 4650fi 4651{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4652echo "${ECHO_T}$ac_cv_host" >&6; } 4653case $ac_cv_host in 4654*-*-*) ;; 4655*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4656echo "$as_me: error: invalid value of canonical host" >&2;} 4657 { (exit 1); exit 1; }; };; 4658esac 4659host=$ac_cv_host 4660ac_save_IFS=$IFS; IFS='-' 4661set x $ac_cv_host 4662shift 4663host_cpu=$1 4664host_vendor=$2 4665shift; shift 4666# Remember, the first character of IFS is used to create $*, 4667# except with old shells: 4668host_os=$* 4669IFS=$ac_save_IFS 4670case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4671 4672 4673 4674 4675 4676if test x$APP_MAN_SUFFIX = x ; then 4677 APP_MAN_SUFFIX=1 4678fi 4679if test x$APP_MAN_DIR = x ; then 4680 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 4681fi 4682 4683if test x$LIB_MAN_SUFFIX = x ; then 4684 LIB_MAN_SUFFIX=3 4685fi 4686if test x$LIB_MAN_DIR = x ; then 4687 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 4688fi 4689 4690if test x$FILE_MAN_SUFFIX = x ; then 4691 case $host_os in 4692 solaris*) FILE_MAN_SUFFIX=4 ;; 4693 *) FILE_MAN_SUFFIX=5 ;; 4694 esac 4695fi 4696if test x$FILE_MAN_DIR = x ; then 4697 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 4698fi 4699 4700if test x$MISC_MAN_SUFFIX = x ; then 4701 case $host_os in 4702 solaris*) MISC_MAN_SUFFIX=5 ;; 4703 *) MISC_MAN_SUFFIX=7 ;; 4704 esac 4705fi 4706if test x$MISC_MAN_DIR = x ; then 4707 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 4708fi 4709 4710if test x$DRIVER_MAN_SUFFIX = x ; then 4711 case $host_os in 4712 solaris*) DRIVER_MAN_SUFFIX=7 ;; 4713 *) DRIVER_MAN_SUFFIX=4 ;; 4714 esac 4715fi 4716if test x$DRIVER_MAN_DIR = x ; then 4717 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 4718fi 4719 4720if test x$ADMIN_MAN_SUFFIX = x ; then 4721 case $host_os in 4722 solaris*) ADMIN_MAN_SUFFIX=1m ;; 4723 *) ADMIN_MAN_SUFFIX=8 ;; 4724 esac 4725fi 4726if test x$ADMIN_MAN_DIR = x ; then 4727 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 4728fi 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746# Check whether --with-release-version was given. 4747if test "${with_release_version+set}" = set; then 4748 withval=$with_release_version; RELEASE_VERSION="$withval" 4749else 4750 RELEASE_VERSION="" 4751fi 4752 4753 if test "x$RELEASE_VERSION" != "x"; then 4754 PACKAGE="$PACKAGE-$RELEASE_VERSION" 4755 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 4756 { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 4757echo "$as_me: Building with package name set to $PACKAGE" >&6;} 4758 fi 4759 4760cat >>confdefs.h <<_ACEOF 4761#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 4762_ACEOF 4763 4764 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 4765 if test "x$PVM" = "x"; then 4766 PVM="0" 4767 fi 4768 4769cat >>confdefs.h <<_ACEOF 4770#define PACKAGE_VERSION_MINOR $PVM 4771_ACEOF 4772 4773 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 4774 if test "x$PVP" = "x"; then 4775 PVP="0" 4776 fi 4777 4778cat >>confdefs.h <<_ACEOF 4779#define PACKAGE_VERSION_PATCHLEVEL $PVP 4780_ACEOF 4781 4782 4783 4784CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \ 4785mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \ 4786echo 'git directory not found: installing possibly empty changelog.' >&2)" 4787 4788distcleancheck_listfiles='find . -type f ! -name ChangeLog -print' 4789 4790 4791 4792ac_config_files="$ac_config_files Makefile" 4793 4794cat >confcache <<\_ACEOF 4795# This file is a shell script that caches the results of configure 4796# tests run on this system so they can be shared between configure 4797# scripts and configure runs, see configure's option --config-cache. 4798# It is not useful on other systems. If it contains results you don't 4799# want to keep, you may remove or edit it. 4800# 4801# config.status only pays attention to the cache file if you give it 4802# the --recheck option to rerun configure. 4803# 4804# `ac_cv_env_foo' variables (set or unset) will be overridden when 4805# loading this file, other *unset* `ac_cv_foo' will be assigned the 4806# following values. 4807 4808_ACEOF 4809 4810# The following way of writing the cache mishandles newlines in values, 4811# but we know of no workaround that is simple, portable, and efficient. 4812# So, we kill variables containing newlines. 4813# Ultrix sh set writes to stderr and can't be redirected directly, 4814# and sets the high bit in the cache file unless we assign to the vars. 4815( 4816 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4817 eval ac_val=\$$ac_var 4818 case $ac_val in #( 4819 *${as_nl}*) 4820 case $ac_var in #( 4821 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 4822echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 4823 esac 4824 case $ac_var in #( 4825 _ | IFS | as_nl) ;; #( 4826 *) $as_unset $ac_var ;; 4827 esac ;; 4828 esac 4829 done 4830 4831 (set) 2>&1 | 4832 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4833 *${as_nl}ac_space=\ *) 4834 # `set' does not quote correctly, so add quotes (double-quote 4835 # substitution turns \\\\ into \\, and sed turns \\ into \). 4836 sed -n \ 4837 "s/'/'\\\\''/g; 4838 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4839 ;; #( 4840 *) 4841 # `set' quotes correctly as required by POSIX, so do not add quotes. 4842 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4843 ;; 4844 esac | 4845 sort 4846) | 4847 sed ' 4848 /^ac_cv_env_/b end 4849 t clear 4850 :clear 4851 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4852 t end 4853 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4854 :end' >>confcache 4855if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4856 if test -w "$cache_file"; then 4857 test "x$cache_file" != "x/dev/null" && 4858 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 4859echo "$as_me: updating cache $cache_file" >&6;} 4860 cat confcache >$cache_file 4861 else 4862 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 4863echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4864 fi 4865fi 4866rm -f confcache 4867 4868test "x$prefix" = xNONE && prefix=$ac_default_prefix 4869# Let make expand exec_prefix. 4870test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4871 4872DEFS=-DHAVE_CONFIG_H 4873 4874ac_libobjs= 4875ac_ltlibobjs= 4876for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4877 # 1. Remove the extension, and $U if already installed. 4878 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4879 ac_i=`echo "$ac_i" | sed "$ac_script"` 4880 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4881 # will be set to the directory where LIBOBJS objects are built. 4882 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4883 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 4884done 4885LIBOBJS=$ac_libobjs 4886 4887LTLIBOBJS=$ac_ltlibobjs 4888 4889 4890if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 4891 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 4892Usually this means the macro was only invoked conditionally." >&5 4893echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 4894Usually this means the macro was only invoked conditionally." >&2;} 4895 { (exit 1); exit 1; }; } 4896fi 4897if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 4898 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 4899Usually this means the macro was only invoked conditionally." >&5 4900echo "$as_me: error: conditional \"AMDEP\" was never defined. 4901Usually this means the macro was only invoked conditionally." >&2;} 4902 { (exit 1); exit 1; }; } 4903fi 4904if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 4905 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 4906Usually this means the macro was only invoked conditionally." >&5 4907echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 4908Usually this means the macro was only invoked conditionally." >&2;} 4909 { (exit 1); exit 1; }; } 4910fi 4911 4912: ${CONFIG_STATUS=./config.status} 4913ac_clean_files_save=$ac_clean_files 4914ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4915{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 4916echo "$as_me: creating $CONFIG_STATUS" >&6;} 4917cat >$CONFIG_STATUS <<_ACEOF 4918#! $SHELL 4919# Generated by $as_me. 4920# Run this file to recreate the current configuration. 4921# Compiler output produced by configure, useful for debugging 4922# configure, is in config.log if it exists. 4923 4924debug=false 4925ac_cs_recheck=false 4926ac_cs_silent=false 4927SHELL=\${CONFIG_SHELL-$SHELL} 4928_ACEOF 4929 4930cat >>$CONFIG_STATUS <<\_ACEOF 4931## --------------------- ## 4932## M4sh Initialization. ## 4933## --------------------- ## 4934 4935# Be more Bourne compatible 4936DUALCASE=1; export DUALCASE # for MKS sh 4937if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 4938 emulate sh 4939 NULLCMD=: 4940 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 4941 # is contrary to our usage. Disable this feature. 4942 alias -g '${1+"$@"}'='"$@"' 4943 setopt NO_GLOB_SUBST 4944else 4945 case `(set -o) 2>/dev/null` in 4946 *posix*) set -o posix ;; 4947esac 4948 4949fi 4950 4951 4952 4953 4954# PATH needs CR 4955# Avoid depending upon Character Ranges. 4956as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4957as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4958as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4959as_cr_digits='0123456789' 4960as_cr_alnum=$as_cr_Letters$as_cr_digits 4961 4962# The user is always right. 4963if test "${PATH_SEPARATOR+set}" != set; then 4964 echo "#! /bin/sh" >conf$$.sh 4965 echo "exit 0" >>conf$$.sh 4966 chmod +x conf$$.sh 4967 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4968 PATH_SEPARATOR=';' 4969 else 4970 PATH_SEPARATOR=: 4971 fi 4972 rm -f conf$$.sh 4973fi 4974 4975# Support unset when possible. 4976if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4977 as_unset=unset 4978else 4979 as_unset=false 4980fi 4981 4982 4983# IFS 4984# We need space, tab and new line, in precisely that order. Quoting is 4985# there to prevent editors from complaining about space-tab. 4986# (If _AS_PATH_WALK were called with IFS unset, it would disable word 4987# splitting by setting IFS to empty value.) 4988as_nl=' 4989' 4990IFS=" "" $as_nl" 4991 4992# Find who we are. Look in the path if we contain no directory separator. 4993case $0 in 4994 *[\\/]* ) as_myself=$0 ;; 4995 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4996for as_dir in $PATH 4997do 4998 IFS=$as_save_IFS 4999 test -z "$as_dir" && as_dir=. 5000 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5001done 5002IFS=$as_save_IFS 5003 5004 ;; 5005esac 5006# We did not find ourselves, most probably we were run as `sh COMMAND' 5007# in which case we are not to be found in the path. 5008if test "x$as_myself" = x; then 5009 as_myself=$0 5010fi 5011if test ! -f "$as_myself"; then 5012 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5013 { (exit 1); exit 1; } 5014fi 5015 5016# Work around bugs in pre-3.0 UWIN ksh. 5017for as_var in ENV MAIL MAILPATH 5018do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5019done 5020PS1='$ ' 5021PS2='> ' 5022PS4='+ ' 5023 5024# NLS nuisances. 5025for as_var in \ 5026 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 5027 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 5028 LC_TELEPHONE LC_TIME 5029do 5030 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 5031 eval $as_var=C; export $as_var 5032 else 5033 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5034 fi 5035done 5036 5037# Required to use basename. 5038if expr a : '\(a\)' >/dev/null 2>&1 && 5039 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5040 as_expr=expr 5041else 5042 as_expr=false 5043fi 5044 5045if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5046 as_basename=basename 5047else 5048 as_basename=false 5049fi 5050 5051 5052# Name of the executable. 5053as_me=`$as_basename -- "$0" || 5054$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5055 X"$0" : 'X\(//\)$' \| \ 5056 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5057echo X/"$0" | 5058 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5059 s//\1/ 5060 q 5061 } 5062 /^X\/\(\/\/\)$/{ 5063 s//\1/ 5064 q 5065 } 5066 /^X\/\(\/\).*/{ 5067 s//\1/ 5068 q 5069 } 5070 s/.*/./; q'` 5071 5072# CDPATH. 5073$as_unset CDPATH 5074 5075 5076 5077 as_lineno_1=$LINENO 5078 as_lineno_2=$LINENO 5079 test "x$as_lineno_1" != "x$as_lineno_2" && 5080 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 5081 5082 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 5083 # uniformly replaced by the line number. The first 'sed' inserts a 5084 # line-number line after each line using $LINENO; the second 'sed' 5085 # does the real work. The second script uses 'N' to pair each 5086 # line-number line with the line containing $LINENO, and appends 5087 # trailing '-' during substitution so that $LINENO is not a special 5088 # case at line end. 5089 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 5090 # scripts with optimization help from Paolo Bonzini. Blame Lee 5091 # E. McMahon (1931-1989) for sed's syntax. :-) 5092 sed -n ' 5093 p 5094 /[$]LINENO/= 5095 ' <$as_myself | 5096 sed ' 5097 s/[$]LINENO.*/&-/ 5098 t lineno 5099 b 5100 :lineno 5101 N 5102 :loop 5103 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 5104 t loop 5105 s/-\n.*// 5106 ' >$as_me.lineno && 5107 chmod +x "$as_me.lineno" || 5108 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 5109 { (exit 1); exit 1; }; } 5110 5111 # Don't try to exec as it changes $[0], causing all sort of problems 5112 # (the dirname of $[0] is not the place where we might find the 5113 # original and so on. Autoconf is especially sensitive to this). 5114 . "./$as_me.lineno" 5115 # Exit status is that of the last command. 5116 exit 5117} 5118 5119 5120if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5121 as_dirname=dirname 5122else 5123 as_dirname=false 5124fi 5125 5126ECHO_C= ECHO_N= ECHO_T= 5127case `echo -n x` in 5128-n*) 5129 case `echo 'x\c'` in 5130 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5131 *) ECHO_C='\c';; 5132 esac;; 5133*) 5134 ECHO_N='-n';; 5135esac 5136 5137if expr a : '\(a\)' >/dev/null 2>&1 && 5138 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5139 as_expr=expr 5140else 5141 as_expr=false 5142fi 5143 5144rm -f conf$$ conf$$.exe conf$$.file 5145if test -d conf$$.dir; then 5146 rm -f conf$$.dir/conf$$.file 5147else 5148 rm -f conf$$.dir 5149 mkdir conf$$.dir 5150fi 5151echo >conf$$.file 5152if ln -s conf$$.file conf$$ 2>/dev/null; then 5153 as_ln_s='ln -s' 5154 # ... but there are two gotchas: 5155 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5156 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5157 # In both cases, we have to default to `cp -p'. 5158 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5159 as_ln_s='cp -p' 5160elif ln conf$$.file conf$$ 2>/dev/null; then 5161 as_ln_s=ln 5162else 5163 as_ln_s='cp -p' 5164fi 5165rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5166rmdir conf$$.dir 2>/dev/null 5167 5168if mkdir -p . 2>/dev/null; then 5169 as_mkdir_p=: 5170else 5171 test -d ./-p && rmdir ./-p 5172 as_mkdir_p=false 5173fi 5174 5175if test -x / >/dev/null 2>&1; then 5176 as_test_x='test -x' 5177else 5178 if ls -dL / >/dev/null 2>&1; then 5179 as_ls_L_option=L 5180 else 5181 as_ls_L_option= 5182 fi 5183 as_test_x=' 5184 eval sh -c '\'' 5185 if test -d "$1"; then 5186 test -d "$1/."; 5187 else 5188 case $1 in 5189 -*)set "./$1";; 5190 esac; 5191 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 5192 ???[sx]*):;;*)false;;esac;fi 5193 '\'' sh 5194 ' 5195fi 5196as_executable_p=$as_test_x 5197 5198# Sed expression to map a string onto a valid CPP name. 5199as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5200 5201# Sed expression to map a string onto a valid variable name. 5202as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5203 5204 5205exec 6>&1 5206 5207# Save the log message, to keep $[0] and so on meaningful, and to 5208# report actual input values of CONFIG_FILES etc. instead of their 5209# values after options handling. 5210ac_log=" 5211This file was extended by xmag $as_me 1.0.3, which was 5212generated by GNU Autoconf 2.61. Invocation command line was 5213 5214 CONFIG_FILES = $CONFIG_FILES 5215 CONFIG_HEADERS = $CONFIG_HEADERS 5216 CONFIG_LINKS = $CONFIG_LINKS 5217 CONFIG_COMMANDS = $CONFIG_COMMANDS 5218 $ $0 $@ 5219 5220on `(hostname || uname -n) 2>/dev/null | sed 1q` 5221" 5222 5223_ACEOF 5224 5225cat >>$CONFIG_STATUS <<_ACEOF 5226# Files that config.status was made for. 5227config_files="$ac_config_files" 5228config_headers="$ac_config_headers" 5229config_commands="$ac_config_commands" 5230 5231_ACEOF 5232 5233cat >>$CONFIG_STATUS <<\_ACEOF 5234ac_cs_usage="\ 5235\`$as_me' instantiates files from templates according to the 5236current configuration. 5237 5238Usage: $0 [OPTIONS] [FILE]... 5239 5240 -h, --help print this help, then exit 5241 -V, --version print version number and configuration settings, then exit 5242 -q, --quiet do not print progress messages 5243 -d, --debug don't remove temporary files 5244 --recheck update $as_me by reconfiguring in the same conditions 5245 --file=FILE[:TEMPLATE] 5246 instantiate the configuration file FILE 5247 --header=FILE[:TEMPLATE] 5248 instantiate the configuration header FILE 5249 5250Configuration files: 5251$config_files 5252 5253Configuration headers: 5254$config_headers 5255 5256Configuration commands: 5257$config_commands 5258 5259Report bugs to <bug-autoconf@gnu.org>." 5260 5261_ACEOF 5262cat >>$CONFIG_STATUS <<_ACEOF 5263ac_cs_version="\\ 5264xmag config.status 1.0.3 5265configured by $0, generated by GNU Autoconf 2.61, 5266 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 5267 5268Copyright (C) 2006 Free Software Foundation, Inc. 5269This config.status script is free software; the Free Software Foundation 5270gives unlimited permission to copy, distribute and modify it." 5271 5272ac_pwd='$ac_pwd' 5273srcdir='$srcdir' 5274INSTALL='$INSTALL' 5275MKDIR_P='$MKDIR_P' 5276_ACEOF 5277 5278cat >>$CONFIG_STATUS <<\_ACEOF 5279# If no file are specified by the user, then we need to provide default 5280# value. By we need to know if files were specified by the user. 5281ac_need_defaults=: 5282while test $# != 0 5283do 5284 case $1 in 5285 --*=*) 5286 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5287 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5288 ac_shift=: 5289 ;; 5290 *) 5291 ac_option=$1 5292 ac_optarg=$2 5293 ac_shift=shift 5294 ;; 5295 esac 5296 5297 case $ac_option in 5298 # Handling of the options. 5299 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5300 ac_cs_recheck=: ;; 5301 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5302 echo "$ac_cs_version"; exit ;; 5303 --debug | --debu | --deb | --de | --d | -d ) 5304 debug=: ;; 5305 --file | --fil | --fi | --f ) 5306 $ac_shift 5307 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 5308 ac_need_defaults=false;; 5309 --header | --heade | --head | --hea ) 5310 $ac_shift 5311 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 5312 ac_need_defaults=false;; 5313 --he | --h) 5314 # Conflict between --help and --header 5315 { echo "$as_me: error: ambiguous option: $1 5316Try \`$0 --help' for more information." >&2 5317 { (exit 1); exit 1; }; };; 5318 --help | --hel | -h ) 5319 echo "$ac_cs_usage"; exit ;; 5320 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5321 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5322 ac_cs_silent=: ;; 5323 5324 # This is an error. 5325 -*) { echo "$as_me: error: unrecognized option: $1 5326Try \`$0 --help' for more information." >&2 5327 { (exit 1); exit 1; }; } ;; 5328 5329 *) ac_config_targets="$ac_config_targets $1" 5330 ac_need_defaults=false ;; 5331 5332 esac 5333 shift 5334done 5335 5336ac_configure_extra_args= 5337 5338if $ac_cs_silent; then 5339 exec 6>/dev/null 5340 ac_configure_extra_args="$ac_configure_extra_args --silent" 5341fi 5342 5343_ACEOF 5344cat >>$CONFIG_STATUS <<_ACEOF 5345if \$ac_cs_recheck; then 5346 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 5347 CONFIG_SHELL=$SHELL 5348 export CONFIG_SHELL 5349 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5350fi 5351 5352_ACEOF 5353cat >>$CONFIG_STATUS <<\_ACEOF 5354exec 5>>config.log 5355{ 5356 echo 5357 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5358## Running $as_me. ## 5359_ASBOX 5360 echo "$ac_log" 5361} >&5 5362 5363_ACEOF 5364cat >>$CONFIG_STATUS <<_ACEOF 5365# 5366# INIT-COMMANDS 5367# 5368AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5369 5370_ACEOF 5371 5372cat >>$CONFIG_STATUS <<\_ACEOF 5373 5374# Handling of arguments. 5375for ac_config_target in $ac_config_targets 5376do 5377 case $ac_config_target in 5378 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 5379 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5380 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5381 5382 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 5383echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 5384 { (exit 1); exit 1; }; };; 5385 esac 5386done 5387 5388 5389# If the user did not use the arguments to specify the items to instantiate, 5390# then the envvar interface is used. Set only those that are not. 5391# We use the long form for the default assignment because of an extremely 5392# bizarre bug on SunOS 4.1.3. 5393if $ac_need_defaults; then 5394 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5395 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5396 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5397fi 5398 5399# Have a temporary directory for convenience. Make it in the build tree 5400# simply because there is no reason against having it here, and in addition, 5401# creating and moving files from /tmp can sometimes cause problems. 5402# Hook for its removal unless debugging. 5403# Note that there is a small window in which the directory will not be cleaned: 5404# after its creation but before its name has been assigned to `$tmp'. 5405$debug || 5406{ 5407 tmp= 5408 trap 'exit_status=$? 5409 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 5410' 0 5411 trap '{ (exit 1); exit 1; }' 1 2 13 15 5412} 5413# Create a (secure) tmp directory for tmp files. 5414 5415{ 5416 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5417 test -n "$tmp" && test -d "$tmp" 5418} || 5419{ 5420 tmp=./conf$$-$RANDOM 5421 (umask 077 && mkdir "$tmp") 5422} || 5423{ 5424 echo "$me: cannot create a temporary directory in ." >&2 5425 { (exit 1); exit 1; } 5426} 5427 5428# 5429# Set up the sed scripts for CONFIG_FILES section. 5430# 5431 5432# No need to generate the scripts if there are no CONFIG_FILES. 5433# This happens for instance when ./config.status config.h 5434if test -n "$CONFIG_FILES"; then 5435 5436_ACEOF 5437 5438 5439 5440ac_delim='%!_!# ' 5441for ac_last_try in false false false false false :; do 5442 cat >conf$$subs.sed <<_ACEOF 5443SHELL!$SHELL$ac_delim 5444PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 5445PACKAGE_NAME!$PACKAGE_NAME$ac_delim 5446PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 5447PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 5448PACKAGE_STRING!$PACKAGE_STRING$ac_delim 5449PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 5450exec_prefix!$exec_prefix$ac_delim 5451prefix!$prefix$ac_delim 5452program_transform_name!$program_transform_name$ac_delim 5453bindir!$bindir$ac_delim 5454sbindir!$sbindir$ac_delim 5455libexecdir!$libexecdir$ac_delim 5456datarootdir!$datarootdir$ac_delim 5457datadir!$datadir$ac_delim 5458sysconfdir!$sysconfdir$ac_delim 5459sharedstatedir!$sharedstatedir$ac_delim 5460localstatedir!$localstatedir$ac_delim 5461includedir!$includedir$ac_delim 5462oldincludedir!$oldincludedir$ac_delim 5463docdir!$docdir$ac_delim 5464infodir!$infodir$ac_delim 5465htmldir!$htmldir$ac_delim 5466dvidir!$dvidir$ac_delim 5467pdfdir!$pdfdir$ac_delim 5468psdir!$psdir$ac_delim 5469libdir!$libdir$ac_delim 5470localedir!$localedir$ac_delim 5471mandir!$mandir$ac_delim 5472DEFS!$DEFS$ac_delim 5473ECHO_C!$ECHO_C$ac_delim 5474ECHO_N!$ECHO_N$ac_delim 5475ECHO_T!$ECHO_T$ac_delim 5476LIBS!$LIBS$ac_delim 5477build_alias!$build_alias$ac_delim 5478host_alias!$host_alias$ac_delim 5479target_alias!$target_alias$ac_delim 5480INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 5481INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 5482INSTALL_DATA!$INSTALL_DATA$ac_delim 5483am__isrc!$am__isrc$ac_delim 5484CYGPATH_W!$CYGPATH_W$ac_delim 5485PACKAGE!$PACKAGE$ac_delim 5486VERSION!$VERSION$ac_delim 5487ACLOCAL!$ACLOCAL$ac_delim 5488AUTOCONF!$AUTOCONF$ac_delim 5489AUTOMAKE!$AUTOMAKE$ac_delim 5490AUTOHEADER!$AUTOHEADER$ac_delim 5491MAKEINFO!$MAKEINFO$ac_delim 5492install_sh!$install_sh$ac_delim 5493STRIP!$STRIP$ac_delim 5494INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 5495mkdir_p!$mkdir_p$ac_delim 5496AWK!$AWK$ac_delim 5497SET_MAKE!$SET_MAKE$ac_delim 5498am__leading_dot!$am__leading_dot$ac_delim 5499AMTAR!$AMTAR$ac_delim 5500am__tar!$am__tar$ac_delim 5501am__untar!$am__untar$ac_delim 5502MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim 5503MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim 5504MAINT!$MAINT$ac_delim 5505CC!$CC$ac_delim 5506CFLAGS!$CFLAGS$ac_delim 5507LDFLAGS!$LDFLAGS$ac_delim 5508CPPFLAGS!$CPPFLAGS$ac_delim 5509ac_ct_CC!$ac_ct_CC$ac_delim 5510EXEEXT!$EXEEXT$ac_delim 5511OBJEXT!$OBJEXT$ac_delim 5512DEPDIR!$DEPDIR$ac_delim 5513am__include!$am__include$ac_delim 5514am__quote!$am__quote$ac_delim 5515AMDEP_TRUE!$AMDEP_TRUE$ac_delim 5516AMDEP_FALSE!$AMDEP_FALSE$ac_delim 5517AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 5518CCDEPMODE!$CCDEPMODE$ac_delim 5519am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 5520am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 5521CPP!$CPP$ac_delim 5522GREP!$GREP$ac_delim 5523EGREP!$EGREP$ac_delim 5524CWARNFLAGS!$CWARNFLAGS$ac_delim 5525PKG_CONFIG!$PKG_CONFIG$ac_delim 5526XMAG_CFLAGS!$XMAG_CFLAGS$ac_delim 5527XMAG_LIBS!$XMAG_LIBS$ac_delim 5528APPDEFS_CFLAGS!$APPDEFS_CFLAGS$ac_delim 5529APPDEFS_LIBS!$APPDEFS_LIBS$ac_delim 5530appdefaultdir!$appdefaultdir$ac_delim 5531build!$build$ac_delim 5532build_cpu!$build_cpu$ac_delim 5533build_vendor!$build_vendor$ac_delim 5534build_os!$build_os$ac_delim 5535host!$host$ac_delim 5536host_cpu!$host_cpu$ac_delim 5537host_vendor!$host_vendor$ac_delim 5538host_os!$host_os$ac_delim 5539APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim 5540_ACEOF 5541 5542 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 5543 break 5544 elif $ac_last_try; then 5545 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 5546echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 5547 { (exit 1); exit 1; }; } 5548 else 5549 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5550 fi 5551done 5552 5553ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 5554if test -n "$ac_eof"; then 5555 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 5556 ac_eof=`expr $ac_eof + 1` 5557fi 5558 5559cat >>$CONFIG_STATUS <<_ACEOF 5560cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 5561/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5562_ACEOF 5563sed ' 5564s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 5565s/^/s,@/; s/!/@,|#_!!_#|/ 5566:n 5567t n 5568s/'"$ac_delim"'$/,g/; t 5569s/$/\\/; p 5570N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 5571' >>$CONFIG_STATUS <conf$$subs.sed 5572rm -f conf$$subs.sed 5573cat >>$CONFIG_STATUS <<_ACEOF 5574CEOF$ac_eof 5575_ACEOF 5576 5577 5578ac_delim='%!_!# ' 5579for ac_last_try in false false false false false :; do 5580 cat >conf$$subs.sed <<_ACEOF 5581LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim 5582FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim 5583MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim 5584DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim 5585ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim 5586APP_MAN_DIR!$APP_MAN_DIR$ac_delim 5587LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim 5588FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim 5589MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim 5590DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim 5591ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim 5592CHANGELOG_CMD!$CHANGELOG_CMD$ac_delim 5593distcleancheck_listfiles!$distcleancheck_listfiles$ac_delim 5594LIBOBJS!$LIBOBJS$ac_delim 5595LTLIBOBJS!$LTLIBOBJS$ac_delim 5596_ACEOF 5597 5598 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 15; then 5599 break 5600 elif $ac_last_try; then 5601 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 5602echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 5603 { (exit 1); exit 1; }; } 5604 else 5605 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5606 fi 5607done 5608 5609ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 5610if test -n "$ac_eof"; then 5611 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 5612 ac_eof=`expr $ac_eof + 1` 5613fi 5614 5615cat >>$CONFIG_STATUS <<_ACEOF 5616cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 5617/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 5618_ACEOF 5619sed ' 5620s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 5621s/^/s,@/; s/!/@,|#_!!_#|/ 5622:n 5623t n 5624s/'"$ac_delim"'$/,g/; t 5625s/$/\\/; p 5626N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 5627' >>$CONFIG_STATUS <conf$$subs.sed 5628rm -f conf$$subs.sed 5629cat >>$CONFIG_STATUS <<_ACEOF 5630:end 5631s/|#_!!_#|//g 5632CEOF$ac_eof 5633_ACEOF 5634 5635 5636# VPATH may cause trouble with some makes, so we remove $(srcdir), 5637# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 5638# trailing colons and then remove the whole line if VPATH becomes empty 5639# (actually we leave an empty line to preserve line numbers). 5640if test "x$srcdir" = x.; then 5641 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 5642s/:*\$(srcdir):*/:/ 5643s/:*\${srcdir}:*/:/ 5644s/:*@srcdir@:*/:/ 5645s/^\([^=]*=[ ]*\):*/\1/ 5646s/:*$// 5647s/^[^=]*=[ ]*$// 5648}' 5649fi 5650 5651cat >>$CONFIG_STATUS <<\_ACEOF 5652fi # test -n "$CONFIG_FILES" 5653 5654 5655for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 5656do 5657 case $ac_tag in 5658 :[FHLC]) ac_mode=$ac_tag; continue;; 5659 esac 5660 case $ac_mode$ac_tag in 5661 :[FHL]*:*);; 5662 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 5663echo "$as_me: error: Invalid tag $ac_tag." >&2;} 5664 { (exit 1); exit 1; }; };; 5665 :[FH]-) ac_tag=-:-;; 5666 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5667 esac 5668 ac_save_IFS=$IFS 5669 IFS=: 5670 set x $ac_tag 5671 IFS=$ac_save_IFS 5672 shift 5673 ac_file=$1 5674 shift 5675 5676 case $ac_mode in 5677 :L) ac_source=$1;; 5678 :[FH]) 5679 ac_file_inputs= 5680 for ac_f 5681 do 5682 case $ac_f in 5683 -) ac_f="$tmp/stdin";; 5684 *) # Look for the file first in the build tree, then in the source tree 5685 # (if the path is not absolute). The absolute path cannot be DOS-style, 5686 # because $ac_f cannot contain `:'. 5687 test -f "$ac_f" || 5688 case $ac_f in 5689 [\\/$]*) false;; 5690 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5691 esac || 5692 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 5693echo "$as_me: error: cannot find input file: $ac_f" >&2;} 5694 { (exit 1); exit 1; }; };; 5695 esac 5696 ac_file_inputs="$ac_file_inputs $ac_f" 5697 done 5698 5699 # Let's still pretend it is `configure' which instantiates (i.e., don't 5700 # use $as_me), people would be surprised to read: 5701 # /* config.h. Generated by config.status. */ 5702 configure_input="Generated from "`IFS=: 5703 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 5704 if test x"$ac_file" != x-; then 5705 configure_input="$ac_file. $configure_input" 5706 { echo "$as_me:$LINENO: creating $ac_file" >&5 5707echo "$as_me: creating $ac_file" >&6;} 5708 fi 5709 5710 case $ac_tag in 5711 *:-:* | *:-) cat >"$tmp/stdin";; 5712 esac 5713 ;; 5714 esac 5715 5716 ac_dir=`$as_dirname -- "$ac_file" || 5717$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5718 X"$ac_file" : 'X\(//\)[^/]' \| \ 5719 X"$ac_file" : 'X\(//\)$' \| \ 5720 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5721echo X"$ac_file" | 5722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5723 s//\1/ 5724 q 5725 } 5726 /^X\(\/\/\)[^/].*/{ 5727 s//\1/ 5728 q 5729 } 5730 /^X\(\/\/\)$/{ 5731 s//\1/ 5732 q 5733 } 5734 /^X\(\/\).*/{ 5735 s//\1/ 5736 q 5737 } 5738 s/.*/./; q'` 5739 { as_dir="$ac_dir" 5740 case $as_dir in #( 5741 -*) as_dir=./$as_dir;; 5742 esac 5743 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 5744 as_dirs= 5745 while :; do 5746 case $as_dir in #( 5747 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 5748 *) as_qdir=$as_dir;; 5749 esac 5750 as_dirs="'$as_qdir' $as_dirs" 5751 as_dir=`$as_dirname -- "$as_dir" || 5752$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5753 X"$as_dir" : 'X\(//\)[^/]' \| \ 5754 X"$as_dir" : 'X\(//\)$' \| \ 5755 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5756echo X"$as_dir" | 5757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5758 s//\1/ 5759 q 5760 } 5761 /^X\(\/\/\)[^/].*/{ 5762 s//\1/ 5763 q 5764 } 5765 /^X\(\/\/\)$/{ 5766 s//\1/ 5767 q 5768 } 5769 /^X\(\/\).*/{ 5770 s//\1/ 5771 q 5772 } 5773 s/.*/./; q'` 5774 test -d "$as_dir" && break 5775 done 5776 test -z "$as_dirs" || eval "mkdir $as_dirs" 5777 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 5778echo "$as_me: error: cannot create directory $as_dir" >&2;} 5779 { (exit 1); exit 1; }; }; } 5780 ac_builddir=. 5781 5782case "$ac_dir" in 5783.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5784*) 5785 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 5786 # A ".." for each directory in $ac_dir_suffix. 5787 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 5788 case $ac_top_builddir_sub in 5789 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5790 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5791 esac ;; 5792esac 5793ac_abs_top_builddir=$ac_pwd 5794ac_abs_builddir=$ac_pwd$ac_dir_suffix 5795# for backward compatibility: 5796ac_top_builddir=$ac_top_build_prefix 5797 5798case $srcdir in 5799 .) # We are building in place. 5800 ac_srcdir=. 5801 ac_top_srcdir=$ac_top_builddir_sub 5802 ac_abs_top_srcdir=$ac_pwd ;; 5803 [\\/]* | ?:[\\/]* ) # Absolute name. 5804 ac_srcdir=$srcdir$ac_dir_suffix; 5805 ac_top_srcdir=$srcdir 5806 ac_abs_top_srcdir=$srcdir ;; 5807 *) # Relative name. 5808 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5809 ac_top_srcdir=$ac_top_build_prefix$srcdir 5810 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5811esac 5812ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5813 5814 5815 case $ac_mode in 5816 :F) 5817 # 5818 # CONFIG_FILE 5819 # 5820 5821 case $INSTALL in 5822 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5823 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5824 esac 5825 ac_MKDIR_P=$MKDIR_P 5826 case $MKDIR_P in 5827 [\\/$]* | ?:[\\/]* ) ;; 5828 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 5829 esac 5830_ACEOF 5831 5832cat >>$CONFIG_STATUS <<\_ACEOF 5833# If the template does not know about datarootdir, expand it. 5834# FIXME: This hack should be removed a few years after 2.60. 5835ac_datarootdir_hack=; ac_datarootdir_seen= 5836 5837case `sed -n '/datarootdir/ { 5838 p 5839 q 5840} 5841/@datadir@/p 5842/@docdir@/p 5843/@infodir@/p 5844/@localedir@/p 5845/@mandir@/p 5846' $ac_file_inputs` in 5847*datarootdir*) ac_datarootdir_seen=yes;; 5848*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5849 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5850echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5851_ACEOF 5852cat >>$CONFIG_STATUS <<_ACEOF 5853 ac_datarootdir_hack=' 5854 s&@datadir@&$datadir&g 5855 s&@docdir@&$docdir&g 5856 s&@infodir@&$infodir&g 5857 s&@localedir@&$localedir&g 5858 s&@mandir@&$mandir&g 5859 s&\\\${datarootdir}&$datarootdir&g' ;; 5860esac 5861_ACEOF 5862 5863# Neutralize VPATH when `$srcdir' = `.'. 5864# Shell code in configure.ac might set extrasub. 5865# FIXME: do we really want to maintain this feature? 5866cat >>$CONFIG_STATUS <<_ACEOF 5867 sed "$ac_vpsub 5868$extrasub 5869_ACEOF 5870cat >>$CONFIG_STATUS <<\_ACEOF 5871:t 5872/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5873s&@configure_input@&$configure_input&;t t 5874s&@top_builddir@&$ac_top_builddir_sub&;t t 5875s&@srcdir@&$ac_srcdir&;t t 5876s&@abs_srcdir@&$ac_abs_srcdir&;t t 5877s&@top_srcdir@&$ac_top_srcdir&;t t 5878s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5879s&@builddir@&$ac_builddir&;t t 5880s&@abs_builddir@&$ac_abs_builddir&;t t 5881s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5882s&@INSTALL@&$ac_INSTALL&;t t 5883s&@MKDIR_P@&$ac_MKDIR_P&;t t 5884$ac_datarootdir_hack 5885" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 5886 5887test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5888 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 5889 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 5890 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5891which seems to be undefined. Please make sure it is defined." >&5 5892echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5893which seems to be undefined. Please make sure it is defined." >&2;} 5894 5895 rm -f "$tmp/stdin" 5896 case $ac_file in 5897 -) cat "$tmp/out"; rm -f "$tmp/out";; 5898 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 5899 esac 5900 ;; 5901 :H) 5902 # 5903 # CONFIG_HEADER 5904 # 5905_ACEOF 5906 5907# Transform confdefs.h into a sed script `conftest.defines', that 5908# substitutes the proper values into config.h.in to produce config.h. 5909rm -f conftest.defines conftest.tail 5910# First, append a space to every undef/define line, to ease matching. 5911echo 's/$/ /' >conftest.defines 5912# Then, protect against being on the right side of a sed subst, or in 5913# an unquoted here document, in config.status. If some macros were 5914# called several times there might be several #defines for the same 5915# symbol, which is useless. But do not sort them, since the last 5916# AC_DEFINE must be honored. 5917ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 5918# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 5919# NAME is the cpp macro being defined, VALUE is the value it is being given. 5920# PARAMS is the parameter list in the macro definition--in most cases, it's 5921# just an empty string. 5922ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 5923ac_dB='\\)[ (].*,\\1define\\2' 5924ac_dC=' ' 5925ac_dD=' ,' 5926 5927uniq confdefs.h | 5928 sed -n ' 5929 t rset 5930 :rset 5931 s/^[ ]*#[ ]*define[ ][ ]*// 5932 t ok 5933 d 5934 :ok 5935 s/[\\&,]/\\&/g 5936 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 5937 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 5938 ' >>conftest.defines 5939 5940# Remove the space that was appended to ease matching. 5941# Then replace #undef with comments. This is necessary, for 5942# example, in the case of _POSIX_SOURCE, which is predefined and required 5943# on some systems where configure will not decide to define it. 5944# (The regexp can be short, since the line contains either #define or #undef.) 5945echo 's/ $// 5946s,^[ #]*u.*,/* & */,' >>conftest.defines 5947 5948# Break up conftest.defines: 5949ac_max_sed_lines=50 5950 5951# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 5952# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 5953# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 5954# et cetera. 5955ac_in='$ac_file_inputs' 5956ac_out='"$tmp/out1"' 5957ac_nxt='"$tmp/out2"' 5958 5959while : 5960do 5961 # Write a here document: 5962 cat >>$CONFIG_STATUS <<_ACEOF 5963 # First, check the format of the line: 5964 cat >"\$tmp/defines.sed" <<\\CEOF 5965/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 5966/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 5967b 5968:def 5969_ACEOF 5970 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 5971 echo 'CEOF 5972 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 5973 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 5974 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 5975 grep . conftest.tail >/dev/null || break 5976 rm -f conftest.defines 5977 mv conftest.tail conftest.defines 5978done 5979rm -f conftest.defines conftest.tail 5980 5981echo "ac_result=$ac_in" >>$CONFIG_STATUS 5982cat >>$CONFIG_STATUS <<\_ACEOF 5983 if test x"$ac_file" != x-; then 5984 echo "/* $configure_input */" >"$tmp/config.h" 5985 cat "$ac_result" >>"$tmp/config.h" 5986 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 5987 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 5988echo "$as_me: $ac_file is unchanged" >&6;} 5989 else 5990 rm -f $ac_file 5991 mv "$tmp/config.h" $ac_file 5992 fi 5993 else 5994 echo "/* $configure_input */" 5995 cat "$ac_result" 5996 fi 5997 rm -f "$tmp/out12" 5998# Compute $ac_file's index in $config_headers. 5999_am_stamp_count=1 6000for _am_header in $config_headers :; do 6001 case $_am_header in 6002 $ac_file | $ac_file:* ) 6003 break ;; 6004 * ) 6005 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6006 esac 6007done 6008echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || 6009$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6010 X$ac_file : 'X\(//\)[^/]' \| \ 6011 X$ac_file : 'X\(//\)$' \| \ 6012 X$ac_file : 'X\(/\)' \| . 2>/dev/null || 6013echo X$ac_file | 6014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6015 s//\1/ 6016 q 6017 } 6018 /^X\(\/\/\)[^/].*/{ 6019 s//\1/ 6020 q 6021 } 6022 /^X\(\/\/\)$/{ 6023 s//\1/ 6024 q 6025 } 6026 /^X\(\/\).*/{ 6027 s//\1/ 6028 q 6029 } 6030 s/.*/./; q'`/stamp-h$_am_stamp_count 6031 ;; 6032 6033 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 6034echo "$as_me: executing $ac_file commands" >&6;} 6035 ;; 6036 esac 6037 6038 6039 case $ac_file$ac_mode in 6040 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 6041 # Strip MF so we end up with the name of the file. 6042 mf=`echo "$mf" | sed -e 's/:.*$//'` 6043 # Check whether this is an Automake generated Makefile or not. 6044 # We used to match only the files named `Makefile.in', but 6045 # some people rename them; so instead we look at the file content. 6046 # Grep'ing the first line is not enough: some people post-process 6047 # each Makefile.in and add a new line on top of each file to say so. 6048 # Grep'ing the whole file is not good either: AIX grep has a line 6049 # limit of 2048, but all sed's we know have understand at least 4000. 6050 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then 6051 dirpart=`$as_dirname -- "$mf" || 6052$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6053 X"$mf" : 'X\(//\)[^/]' \| \ 6054 X"$mf" : 'X\(//\)$' \| \ 6055 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6056echo X"$mf" | 6057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6058 s//\1/ 6059 q 6060 } 6061 /^X\(\/\/\)[^/].*/{ 6062 s//\1/ 6063 q 6064 } 6065 /^X\(\/\/\)$/{ 6066 s//\1/ 6067 q 6068 } 6069 /^X\(\/\).*/{ 6070 s//\1/ 6071 q 6072 } 6073 s/.*/./; q'` 6074 else 6075 continue 6076 fi 6077 # Extract the definition of DEPDIR, am__include, and am__quote 6078 # from the Makefile without running `make'. 6079 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6080 test -z "$DEPDIR" && continue 6081 am__include=`sed -n 's/^am__include = //p' < "$mf"` 6082 test -z "am__include" && continue 6083 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 6084 # When using ansi2knr, U may be empty or an underscore; expand it 6085 U=`sed -n 's/^U = //p' < "$mf"` 6086 # Find all dependency output files, they are included files with 6087 # $(DEPDIR) in their names. We invoke sed twice because it is the 6088 # simplest approach to changing $(DEPDIR) to its actual value in the 6089 # expansion. 6090 for file in `sed -n " 6091 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 6092 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6093 # Make sure the directory exists. 6094 test -f "$dirpart/$file" && continue 6095 fdir=`$as_dirname -- "$file" || 6096$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6097 X"$file" : 'X\(//\)[^/]' \| \ 6098 X"$file" : 'X\(//\)$' \| \ 6099 X"$file" : 'X\(/\)' \| . 2>/dev/null || 6100echo X"$file" | 6101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6102 s//\1/ 6103 q 6104 } 6105 /^X\(\/\/\)[^/].*/{ 6106 s//\1/ 6107 q 6108 } 6109 /^X\(\/\/\)$/{ 6110 s//\1/ 6111 q 6112 } 6113 /^X\(\/\).*/{ 6114 s//\1/ 6115 q 6116 } 6117 s/.*/./; q'` 6118 { as_dir=$dirpart/$fdir 6119 case $as_dir in #( 6120 -*) as_dir=./$as_dir;; 6121 esac 6122 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 6123 as_dirs= 6124 while :; do 6125 case $as_dir in #( 6126 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 6127 *) as_qdir=$as_dir;; 6128 esac 6129 as_dirs="'$as_qdir' $as_dirs" 6130 as_dir=`$as_dirname -- "$as_dir" || 6131$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6132 X"$as_dir" : 'X\(//\)[^/]' \| \ 6133 X"$as_dir" : 'X\(//\)$' \| \ 6134 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6135echo X"$as_dir" | 6136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6137 s//\1/ 6138 q 6139 } 6140 /^X\(\/\/\)[^/].*/{ 6141 s//\1/ 6142 q 6143 } 6144 /^X\(\/\/\)$/{ 6145 s//\1/ 6146 q 6147 } 6148 /^X\(\/\).*/{ 6149 s//\1/ 6150 q 6151 } 6152 s/.*/./; q'` 6153 test -d "$as_dir" && break 6154 done 6155 test -z "$as_dirs" || eval "mkdir $as_dirs" 6156 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 6157echo "$as_me: error: cannot create directory $as_dir" >&2;} 6158 { (exit 1); exit 1; }; }; } 6159 # echo "creating $dirpart/$file" 6160 echo '# dummy' > "$dirpart/$file" 6161 done 6162done 6163 ;; 6164 6165 esac 6166done # for ac_tag 6167 6168 6169{ (exit 0); exit 0; } 6170_ACEOF 6171chmod +x $CONFIG_STATUS 6172ac_clean_files=$ac_clean_files_save 6173 6174 6175# configure is writing to config.log, and then calls config.status. 6176# config.status does its own redirection, appending to config.log. 6177# Unfortunately, on DOS this fails, as config.log is still kept open 6178# by configure, so config.status won't be able to write to it; its 6179# output is simply discarded. So we exec the FD to /dev/null, 6180# effectively closing config.log, so it can be properly (re)opened and 6181# appended to by config.status. When coming back to configure, we 6182# need to make the FD available again. 6183if test "$no_create" != yes; then 6184 ac_cs_success=: 6185 ac_config_status_args= 6186 test "$silent" = yes && 6187 ac_config_status_args="$ac_config_status_args --quiet" 6188 exec 5>/dev/null 6189 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6190 exec 5>>config.log 6191 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6192 # would make configure fail if this is the last instruction. 6193 $ac_cs_success || { (exit 1); exit 1; } 6194fi 6195 6196