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