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