/contrib/tcsh/configure
Shell | 8087 lines | 7201 code | 434 blank | 452 comment | 630 complexity | 53302836b5fe533d6a85e3b8f32a0dea MD5 | raw file
Large files files are truncated, but you can click here to view the full file
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.68 for tcsh 6.18.01. 4# 5# Report bugs to <http://bugs.gw.com/>. 6# 7# 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10# Foundation, Inc. 11# 12# 13# This configure script is free software; the Free Software Foundation 14# gives unlimited permission to copy, distribute and modify it. 15## -------------------- ## 16## M4sh Initialization. ## 17## -------------------- ## 18 19# Be more Bourne compatible 20DUALCASE=1; export DUALCASE # for MKS sh 21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34esac 35fi 36 37 38as_nl=' 39' 40export as_nl 41# Printing a long string crashes Solaris 7 /usr/bin/printf. 42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45# Prefer a ksh shell builtin over an external printf program on Solaris, 46# but without wasting forks for bash or zsh. 47if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74fi 75 76# The user is always right. 77if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83fi 84 85 86# IFS 87# We need space, tab and new line, in precisely that order. Quoting is 88# there to prevent editors from complaining about space-tab. 89# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90# splitting by setting IFS to empty value.) 91IFS=" "" $as_nl" 92 93# Find who we are. Look in the path if we contain no directory separator. 94as_myself= 95case $0 in #(( 96 *[\\/]* ) as_myself=$0 ;; 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 98for as_dir in $PATH 99do 100 IFS=$as_save_IFS 101 test -z "$as_dir" && as_dir=. 102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103 done 104IFS=$as_save_IFS 105 106 ;; 107esac 108# We did not find ourselves, most probably we were run as `sh COMMAND' 109# in which case we are not to be found in the path. 110if test "x$as_myself" = x; then 111 as_myself=$0 112fi 113if test ! -f "$as_myself"; then 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116fi 117 118# Unset variables that we do not need and which cause bugs (e.g. in 119# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120# suppresses any "Segmentation fault" message there. '((' could 121# trigger a bug in pdksh 5.2.14. 122for as_var in BASH_ENV ENV MAIL MAILPATH 123do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125done 126PS1='$ ' 127PS2='> ' 128PS4='+ ' 129 130# NLS nuisances. 131LC_ALL=C 132export LC_ALL 133LANGUAGE=C 134export LANGUAGE 135 136# CDPATH. 137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139if test "x$CONFIG_SHELL" = x; then 140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 emulate sh 142 NULLCMD=: 143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144 # is contrary to our usage. Disable this feature. 145 alias -g '\${1+\"\$@\"}'='\"\$@\"' 146 setopt NO_GLOB_SUBST 147else 148 case \`(set -o) 2>/dev/null\` in #( 149 *posix*) : 150 set -o posix ;; #( 151 *) : 152 ;; 153esac 154fi 155" 156 as_required="as_fn_return () { (exit \$1); } 157as_fn_success () { as_fn_return 0; } 158as_fn_failure () { as_fn_return 1; } 159as_fn_ret_success () { return 0; } 160as_fn_ret_failure () { return 1; } 161 162exitcode=0 163as_fn_success || { exitcode=1; echo as_fn_success failed.; } 164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168 169else 170 exitcode=1; echo positional parameters were not saved. 171fi 172test x\$exitcode = x0 || exit 1" 173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177test \$(( 1 + 1 )) = 2 || exit 1" 178 if (eval "$as_required") 2>/dev/null; then : 179 as_have_required=yes 180else 181 as_have_required=no 182fi 183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184 185else 186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187as_found=false 188for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189do 190 IFS=$as_save_IFS 191 test -z "$as_dir" && as_dir=. 192 as_found=: 193 case $as_dir in #( 194 /*) 195 for as_base in sh bash ksh sh5; do 196 # Try only shells that exist, to save several forks. 197 as_shell=$as_dir/$as_base 198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 CONFIG_SHELL=$as_shell as_have_required=yes 201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202 break 2 203fi 204fi 205 done;; 206 esac 207 as_found=false 208done 209$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211 CONFIG_SHELL=$SHELL as_have_required=yes 212fi; } 213IFS=$as_save_IFS 214 215 216 if test "x$CONFIG_SHELL" != x; then : 217 # We cannot yet assume a decent shell, so we have to provide a 218 # neutralization value for shells without unset; and this also 219 # works around shells that cannot unset nonexistent variables. 220 # Preserve -v and -x to the replacement shell. 221 BASH_ENV=/dev/null 222 ENV=/dev/null 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224 export CONFIG_SHELL 225 case $- in # (((( 226 *v*x* | *x*v* ) as_opts=-vx ;; 227 *v* ) as_opts=-v ;; 228 *x* ) as_opts=-x ;; 229 * ) as_opts= ;; 230 esac 231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232fi 233 234 if test x$as_have_required = xno; then : 235 $as_echo "$0: This script requires a shell more modern than all" 236 $as_echo "$0: the shells that I found on your system." 237 if test x${ZSH_VERSION+set} = xset ; then 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240 else 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and 242$0: http://bugs.gw.com/ about your system, including any 243$0: error possibly output before this message. Then install 244$0: a modern shell, or manually run the script under such a 245$0: shell if you do have one." 246 fi 247 exit 1 248fi 249fi 250fi 251SHELL=${CONFIG_SHELL-/bin/sh} 252export SHELL 253# Unset more variables known to interfere with behavior of common tools. 254CLICOLOR_FORCE= GREP_OPTIONS= 255unset CLICOLOR_FORCE GREP_OPTIONS 256 257## --------------------- ## 258## M4sh Shell Functions. ## 259## --------------------- ## 260# as_fn_unset VAR 261# --------------- 262# Portably unset VAR. 263as_fn_unset () 264{ 265 { eval $1=; unset $1;} 266} 267as_unset=as_fn_unset 268 269# as_fn_set_status STATUS 270# ----------------------- 271# Set $? to STATUS, without forking. 272as_fn_set_status () 273{ 274 return $1 275} # as_fn_set_status 276 277# as_fn_exit STATUS 278# ----------------- 279# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 280as_fn_exit () 281{ 282 set +e 283 as_fn_set_status $1 284 exit $1 285} # as_fn_exit 286 287# as_fn_mkdir_p 288# ------------- 289# Create "$as_dir" as a directory, including parents if necessary. 290as_fn_mkdir_p () 291{ 292 293 case $as_dir in #( 294 -*) as_dir=./$as_dir;; 295 esac 296 test -d "$as_dir" || eval $as_mkdir_p || { 297 as_dirs= 298 while :; do 299 case $as_dir in #( 300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 301 *) as_qdir=$as_dir;; 302 esac 303 as_dirs="'$as_qdir' $as_dirs" 304 as_dir=`$as_dirname -- "$as_dir" || 305$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 306 X"$as_dir" : 'X\(//\)[^/]' \| \ 307 X"$as_dir" : 'X\(//\)$' \| \ 308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 309$as_echo X"$as_dir" | 310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\/\)[^/].*/{ 315 s//\1/ 316 q 317 } 318 /^X\(\/\/\)$/{ 319 s//\1/ 320 q 321 } 322 /^X\(\/\).*/{ 323 s//\1/ 324 q 325 } 326 s/.*/./; q'` 327 test -d "$as_dir" && break 328 done 329 test -z "$as_dirs" || eval "mkdir $as_dirs" 330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 331 332 333} # as_fn_mkdir_p 334# as_fn_append VAR VALUE 335# ---------------------- 336# Append the text in VALUE to the end of the definition contained in VAR. Take 337# advantage of any shell optimizations that allow amortized linear growth over 338# repeated appends, instead of the typical quadratic growth present in naive 339# implementations. 340if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 341 eval 'as_fn_append () 342 { 343 eval $1+=\$2 344 }' 345else 346 as_fn_append () 347 { 348 eval $1=\$$1\$2 349 } 350fi # as_fn_append 351 352# as_fn_arith ARG... 353# ------------------ 354# Perform arithmetic evaluation on the ARGs, and store the result in the 355# global $as_val. Take advantage of shells that can avoid forks. The arguments 356# must be portable across $(()) and expr. 357if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 358 eval 'as_fn_arith () 359 { 360 as_val=$(( $* )) 361 }' 362else 363 as_fn_arith () 364 { 365 as_val=`expr "$@" || test $? -eq 1` 366 } 367fi # as_fn_arith 368 369 370# as_fn_error STATUS ERROR [LINENO LOG_FD] 371# ---------------------------------------- 372# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 373# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 374# script with STATUS, using 1 if that was 0. 375as_fn_error () 376{ 377 as_status=$1; test $as_status -eq 0 && as_status=1 378 if test "$4"; then 379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 381 fi 382 $as_echo "$as_me: error: $2" >&2 383 as_fn_exit $as_status 384} # as_fn_error 385 386if expr a : '\(a\)' >/dev/null 2>&1 && 387 test "X`expr 00001 : '.*\(...\)'`" = X001; then 388 as_expr=expr 389else 390 as_expr=false 391fi 392 393if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 394 as_basename=basename 395else 396 as_basename=false 397fi 398 399if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 400 as_dirname=dirname 401else 402 as_dirname=false 403fi 404 405as_me=`$as_basename -- "$0" || 406$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 407 X"$0" : 'X\(//\)$' \| \ 408 X"$0" : 'X\(/\)' \| . 2>/dev/null || 409$as_echo X/"$0" | 410 sed '/^.*\/\([^/][^/]*\)\/*$/{ 411 s//\1/ 412 q 413 } 414 /^X\/\(\/\/\)$/{ 415 s//\1/ 416 q 417 } 418 /^X\/\(\/\).*/{ 419 s//\1/ 420 q 421 } 422 s/.*/./; q'` 423 424# Avoid depending upon Character Ranges. 425as_cr_letters='abcdefghijklmnopqrstuvwxyz' 426as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 427as_cr_Letters=$as_cr_letters$as_cr_LETTERS 428as_cr_digits='0123456789' 429as_cr_alnum=$as_cr_Letters$as_cr_digits 430 431 432 as_lineno_1=$LINENO as_lineno_1a=$LINENO 433 as_lineno_2=$LINENO as_lineno_2a=$LINENO 434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 437 sed -n ' 438 p 439 /[$]LINENO/= 440 ' <$as_myself | 441 sed ' 442 s/[$]LINENO.*/&-/ 443 t lineno 444 b 445 :lineno 446 N 447 :loop 448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 449 t loop 450 s/-\n.*// 451 ' >$as_me.lineno && 452 chmod +x "$as_me.lineno" || 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 454 455 # Don't try to exec as it changes $[0], causing all sort of problems 456 # (the dirname of $[0] is not the place where we might find the 457 # original and so on. Autoconf is especially sensitive to this). 458 . "./$as_me.lineno" 459 # Exit status is that of the last command. 460 exit 461} 462 463ECHO_C= ECHO_N= ECHO_T= 464case `echo -n x` in #((((( 465-n*) 466 case `echo 'xy\c'` in 467 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 468 xy) ECHO_C='\c';; 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 470 ECHO_T=' ';; 471 esac;; 472*) 473 ECHO_N='-n';; 474esac 475 476rm -f conf$$ conf$$.exe conf$$.file 477if test -d conf$$.dir; then 478 rm -f conf$$.dir/conf$$.file 479else 480 rm -f conf$$.dir 481 mkdir conf$$.dir 2>/dev/null 482fi 483if (echo >conf$$.file) 2>/dev/null; then 484 if ln -s conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s='ln -s' 486 # ... but there are two gotchas: 487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 489 # In both cases, we have to default to `cp -p'. 490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 491 as_ln_s='cp -p' 492 elif ln conf$$.file conf$$ 2>/dev/null; then 493 as_ln_s=ln 494 else 495 as_ln_s='cp -p' 496 fi 497else 498 as_ln_s='cp -p' 499fi 500rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 501rmdir conf$$.dir 2>/dev/null 502 503if mkdir -p . 2>/dev/null; then 504 as_mkdir_p='mkdir -p "$as_dir"' 505else 506 test -d ./-p && rmdir ./-p 507 as_mkdir_p=false 508fi 509 510if test -x / >/dev/null 2>&1; then 511 as_test_x='test -x' 512else 513 if ls -dL / >/dev/null 2>&1; then 514 as_ls_L_option=L 515 else 516 as_ls_L_option= 517 fi 518 as_test_x=' 519 eval sh -c '\'' 520 if test -d "$1"; then 521 test -d "$1/."; 522 else 523 case $1 in #( 524 -*)set "./$1";; 525 esac; 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 527 ???[sx]*):;;*)false;;esac;fi 528 '\'' sh 529 ' 530fi 531as_executable_p=$as_test_x 532 533# Sed expression to map a string onto a valid CPP name. 534as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 535 536# Sed expression to map a string onto a valid variable name. 537as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 538 539 540test -n "$DJDIR" || exec 7<&0 </dev/null 541exec 6>&1 542 543# Name of the host. 544# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 545# so uname gets run too. 546ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 547 548# 549# Initializations. 550# 551ac_default_prefix=/usr/local 552ac_clean_files= 553ac_config_libobj_dir=. 554LIBOBJS= 555cross_compiling=no 556subdirs= 557MFLAGS= 558MAKEFLAGS= 559 560# Identity of this package. 561PACKAGE_NAME='tcsh' 562PACKAGE_TARNAME='tcsh' 563PACKAGE_VERSION='6.18.01' 564PACKAGE_STRING='tcsh 6.18.01' 565PACKAGE_BUGREPORT='http://bugs.gw.com/' 566PACKAGE_URL='' 567 568ac_unique_file="tc.vers.c" 569# Factoring default headers for most tests. 570ac_includes_default="\ 571#include <stdio.h> 572#ifdef HAVE_SYS_TYPES_H 573# include <sys/types.h> 574#endif 575#ifdef HAVE_SYS_STAT_H 576# include <sys/stat.h> 577#endif 578#ifdef STDC_HEADERS 579# include <stdlib.h> 580# include <stddef.h> 581#else 582# ifdef HAVE_STDLIB_H 583# include <stdlib.h> 584# endif 585#endif 586#ifdef HAVE_STRING_H 587# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 588# include <memory.h> 589# endif 590# include <string.h> 591#endif 592#ifdef HAVE_STRINGS_H 593# include <strings.h> 594#endif 595#ifdef HAVE_INTTYPES_H 596# include <inttypes.h> 597#endif 598#ifdef HAVE_STDINT_H 599# include <stdint.h> 600#endif 601#ifdef HAVE_UNISTD_H 602# include <unistd.h> 603#endif" 604 605ac_subst_vars='LTLIBOBJS 606LIBOBJS 607BUILD_CATALOGS 608HESLIB 609HESDEF 610DFLAGS 611LTLIBICONV 612LIBICONV 613CC_FOR_GETHOST 614GENCAT 615EGREP 616GREP 617CPP 618OBJEXT 619EXEEXT 620ac_ct_CC 621CPPFLAGS 622LDFLAGS 623CFLAGS 624CC 625host_os 626host_vendor 627host_cpu 628host 629build_os 630build_vendor 631build_cpu 632build 633INSTALL_DATA 634INSTALL_SCRIPT 635INSTALL_PROGRAM 636target_alias 637host_alias 638build_alias 639LIBS 640ECHO_T 641ECHO_N 642ECHO_C 643DEFS 644mandir 645localedir 646libdir 647psdir 648pdfdir 649dvidir 650htmldir 651infodir 652docdir 653oldincludedir 654includedir 655localstatedir 656sharedstatedir 657sysconfdir 658datadir 659datarootdir 660libexecdir 661sbindir 662bindir 663program_transform_name 664prefix 665exec_prefix 666PACKAGE_URL 667PACKAGE_BUGREPORT 668PACKAGE_STRING 669PACKAGE_VERSION 670PACKAGE_TARNAME 671PACKAGE_NAME 672PATH_SEPARATOR 673SHELL' 674ac_subst_files='' 675ac_user_opts=' 676enable_option_checking 677with_gnu_ld 678enable_rpath 679with_libiconv_prefix 680enable_nls 681enable_nls_catalogs 682with_hesiod 683' 684 ac_precious_vars='build_alias 685host_alias 686target_alias 687CC 688CFLAGS 689LDFLAGS 690LIBS 691CPPFLAGS 692CPP' 693 694 695# Initialize some variables set by options. 696ac_init_help= 697ac_init_version=false 698ac_unrecognized_opts= 699ac_unrecognized_sep= 700# The variables have the same names as the options, with 701# dashes changed to underlines. 702cache_file=/dev/null 703exec_prefix=NONE 704no_create= 705no_recursion= 706prefix=NONE 707program_prefix=NONE 708program_suffix=NONE 709program_transform_name=s,x,x, 710silent= 711site= 712srcdir= 713verbose= 714x_includes=NONE 715x_libraries=NONE 716 717# Installation directory options. 718# These are left unexpanded so users can "make install exec_prefix=/foo" 719# and all the variables that are supposed to be based on exec_prefix 720# by default will actually change. 721# Use braces instead of parens because sh, perl, etc. also accept them. 722# (The list follows the same order as the GNU Coding Standards.) 723bindir='${exec_prefix}/bin' 724sbindir='${exec_prefix}/sbin' 725libexecdir='${exec_prefix}/libexec' 726datarootdir='${prefix}/share' 727datadir='${datarootdir}' 728sysconfdir='${prefix}/etc' 729sharedstatedir='${prefix}/com' 730localstatedir='${prefix}/var' 731includedir='${prefix}/include' 732oldincludedir='/usr/include' 733docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 734infodir='${datarootdir}/info' 735htmldir='${docdir}' 736dvidir='${docdir}' 737pdfdir='${docdir}' 738psdir='${docdir}' 739libdir='${exec_prefix}/lib' 740localedir='${datarootdir}/locale' 741mandir='${datarootdir}/man' 742 743ac_prev= 744ac_dashdash= 745for ac_option 746do 747 # If the previous option needs an argument, assign it. 748 if test -n "$ac_prev"; then 749 eval $ac_prev=\$ac_option 750 ac_prev= 751 continue 752 fi 753 754 case $ac_option in 755 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 756 *=) ac_optarg= ;; 757 *) ac_optarg=yes ;; 758 esac 759 760 # Accept the important Cygnus configure options, so we can diagnose typos. 761 762 case $ac_dashdash$ac_option in 763 --) 764 ac_dashdash=yes ;; 765 766 -bindir | --bindir | --bindi | --bind | --bin | --bi) 767 ac_prev=bindir ;; 768 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 769 bindir=$ac_optarg ;; 770 771 -build | --build | --buil | --bui | --bu) 772 ac_prev=build_alias ;; 773 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 774 build_alias=$ac_optarg ;; 775 776 -cache-file | --cache-file | --cache-fil | --cache-fi \ 777 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 778 ac_prev=cache_file ;; 779 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 780 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 781 cache_file=$ac_optarg ;; 782 783 --config-cache | -C) 784 cache_file=config.cache ;; 785 786 -datadir | --datadir | --datadi | --datad) 787 ac_prev=datadir ;; 788 -datadir=* | --datadir=* | --datadi=* | --datad=*) 789 datadir=$ac_optarg ;; 790 791 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 792 | --dataroo | --dataro | --datar) 793 ac_prev=datarootdir ;; 794 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 795 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 796 datarootdir=$ac_optarg ;; 797 798 -disable-* | --disable-*) 799 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 800 # Reject names that are not valid shell variable names. 801 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 802 as_fn_error $? "invalid feature name: $ac_useropt" 803 ac_useropt_orig=$ac_useropt 804 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 805 case $ac_user_opts in 806 *" 807"enable_$ac_useropt" 808"*) ;; 809 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 810 ac_unrecognized_sep=', ';; 811 esac 812 eval enable_$ac_useropt=no ;; 813 814 -docdir | --docdir | --docdi | --doc | --do) 815 ac_prev=docdir ;; 816 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 817 docdir=$ac_optarg ;; 818 819 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 820 ac_prev=dvidir ;; 821 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 822 dvidir=$ac_optarg ;; 823 824 -enable-* | --enable-*) 825 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 826 # Reject names that are not valid shell variable names. 827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 828 as_fn_error $? "invalid feature name: $ac_useropt" 829 ac_useropt_orig=$ac_useropt 830 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 831 case $ac_user_opts in 832 *" 833"enable_$ac_useropt" 834"*) ;; 835 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 836 ac_unrecognized_sep=', ';; 837 esac 838 eval enable_$ac_useropt=\$ac_optarg ;; 839 840 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 841 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 842 | --exec | --exe | --ex) 843 ac_prev=exec_prefix ;; 844 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 845 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 846 | --exec=* | --exe=* | --ex=*) 847 exec_prefix=$ac_optarg ;; 848 849 -gas | --gas | --ga | --g) 850 # Obsolete; use --with-gas. 851 with_gas=yes ;; 852 853 -help | --help | --hel | --he | -h) 854 ac_init_help=long ;; 855 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 856 ac_init_help=recursive ;; 857 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 858 ac_init_help=short ;; 859 860 -host | --host | --hos | --ho) 861 ac_prev=host_alias ;; 862 -host=* | --host=* | --hos=* | --ho=*) 863 host_alias=$ac_optarg ;; 864 865 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 866 ac_prev=htmldir ;; 867 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 868 | --ht=*) 869 htmldir=$ac_optarg ;; 870 871 -includedir | --includedir | --includedi | --included | --include \ 872 | --includ | --inclu | --incl | --inc) 873 ac_prev=includedir ;; 874 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 875 | --includ=* | --inclu=* | --incl=* | --inc=*) 876 includedir=$ac_optarg ;; 877 878 -infodir | --infodir | --infodi | --infod | --info | --inf) 879 ac_prev=infodir ;; 880 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 881 infodir=$ac_optarg ;; 882 883 -libdir | --libdir | --libdi | --libd) 884 ac_prev=libdir ;; 885 -libdir=* | --libdir=* | --libdi=* | --libd=*) 886 libdir=$ac_optarg ;; 887 888 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 889 | --libexe | --libex | --libe) 890 ac_prev=libexecdir ;; 891 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 892 | --libexe=* | --libex=* | --libe=*) 893 libexecdir=$ac_optarg ;; 894 895 -localedir | --localedir | --localedi | --localed | --locale) 896 ac_prev=localedir ;; 897 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 898 localedir=$ac_optarg ;; 899 900 -localstatedir | --localstatedir | --localstatedi | --localstated \ 901 | --localstate | --localstat | --localsta | --localst | --locals) 902 ac_prev=localstatedir ;; 903 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 904 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 905 localstatedir=$ac_optarg ;; 906 907 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 908 ac_prev=mandir ;; 909 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 910 mandir=$ac_optarg ;; 911 912 -nfp | --nfp | --nf) 913 # Obsolete; use --without-fp. 914 with_fp=no ;; 915 916 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 917 | --no-cr | --no-c | -n) 918 no_create=yes ;; 919 920 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 921 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 922 no_recursion=yes ;; 923 924 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 925 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 926 | --oldin | --oldi | --old | --ol | --o) 927 ac_prev=oldincludedir ;; 928 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 929 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 930 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 931 oldincludedir=$ac_optarg ;; 932 933 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 934 ac_prev=prefix ;; 935 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 936 prefix=$ac_optarg ;; 937 938 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 939 | --program-pre | --program-pr | --program-p) 940 ac_prev=program_prefix ;; 941 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 942 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 943 program_prefix=$ac_optarg ;; 944 945 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 946 | --program-suf | --program-su | --program-s) 947 ac_prev=program_suffix ;; 948 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 949 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 950 program_suffix=$ac_optarg ;; 951 952 -program-transform-name | --program-transform-name \ 953 | --program-transform-nam | --program-transform-na \ 954 | --program-transform-n | --program-transform- \ 955 | --program-transform | --program-transfor \ 956 | --program-transfo | --program-transf \ 957 | --program-trans | --program-tran \ 958 | --progr-tra | --program-tr | --program-t) 959 ac_prev=program_transform_name ;; 960 -program-transform-name=* | --program-transform-name=* \ 961 | --program-transform-nam=* | --program-transform-na=* \ 962 | --program-transform-n=* | --program-transform-=* \ 963 | --program-transform=* | --program-transfor=* \ 964 | --program-transfo=* | --program-transf=* \ 965 | --program-trans=* | --program-tran=* \ 966 | --progr-tra=* | --program-tr=* | --program-t=*) 967 program_transform_name=$ac_optarg ;; 968 969 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 970 ac_prev=pdfdir ;; 971 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 972 pdfdir=$ac_optarg ;; 973 974 -psdir | --psdir | --psdi | --psd | --ps) 975 ac_prev=psdir ;; 976 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 977 psdir=$ac_optarg ;; 978 979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 980 | -silent | --silent | --silen | --sile | --sil) 981 silent=yes ;; 982 983 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 984 ac_prev=sbindir ;; 985 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 986 | --sbi=* | --sb=*) 987 sbindir=$ac_optarg ;; 988 989 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 990 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 991 | --sharedst | --shareds | --shared | --share | --shar \ 992 | --sha | --sh) 993 ac_prev=sharedstatedir ;; 994 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 995 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 996 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 997 | --sha=* | --sh=*) 998 sharedstatedir=$ac_optarg ;; 999 1000 -site | --site | --sit) 1001 ac_prev=site ;; 1002 -site=* | --site=* | --sit=*) 1003 site=$ac_optarg ;; 1004 1005 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1006 ac_prev=srcdir ;; 1007 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1008 srcdir=$ac_optarg ;; 1009 1010 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1011 | --syscon | --sysco | --sysc | --sys | --sy) 1012 ac_prev=sysconfdir ;; 1013 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1014 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1015 sysconfdir=$ac_optarg ;; 1016 1017 -target | --target | --targe | --targ | --tar | --ta | --t) 1018 ac_prev=target_alias ;; 1019 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1020 target_alias=$ac_optarg ;; 1021 1022 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1023 verbose=yes ;; 1024 1025 -version | --version | --versio | --versi | --vers | -V) 1026 ac_init_version=: ;; 1027 1028 -with-* | --with-*) 1029 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1030 # Reject names that are not valid shell variable names. 1031 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1032 as_fn_error $? "invalid package name: $ac_useropt" 1033 ac_useropt_orig=$ac_useropt 1034 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1035 case $ac_user_opts in 1036 *" 1037"with_$ac_useropt" 1038"*) ;; 1039 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1040 ac_unrecognized_sep=', ';; 1041 esac 1042 eval with_$ac_useropt=\$ac_optarg ;; 1043 1044 -without-* | --without-*) 1045 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1046 # Reject names that are not valid shell variable names. 1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1048 as_fn_error $? "invalid package name: $ac_useropt" 1049 ac_useropt_orig=$ac_useropt 1050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1051 case $ac_user_opts in 1052 *" 1053"with_$ac_useropt" 1054"*) ;; 1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1056 ac_unrecognized_sep=', ';; 1057 esac 1058 eval with_$ac_useropt=no ;; 1059 1060 --x) 1061 # Obsolete; use --with-x. 1062 with_x=yes ;; 1063 1064 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1065 | --x-incl | --x-inc | --x-in | --x-i) 1066 ac_prev=x_includes ;; 1067 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1068 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1069 x_includes=$ac_optarg ;; 1070 1071 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1072 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1073 ac_prev=x_libraries ;; 1074 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1075 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1076 x_libraries=$ac_optarg ;; 1077 1078 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1079Try \`$0 --help' for more information" 1080 ;; 1081 1082 *=*) 1083 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1084 # Reject names that are not valid shell variable names. 1085 case $ac_envvar in #( 1086 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1087 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1088 esac 1089 eval $ac_envvar=\$ac_optarg 1090 export $ac_envvar ;; 1091 1092 *) 1093 # FIXME: should be removed in autoconf 3.0. 1094 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1095 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1096 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1097 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1098 ;; 1099 1100 esac 1101done 1102 1103if test -n "$ac_prev"; then 1104 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1105 as_fn_error $? "missing argument to $ac_option" 1106fi 1107 1108if test -n "$ac_unrecognized_opts"; then 1109 case $enable_option_checking in 1110 no) ;; 1111 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1112 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1113 esac 1114fi 1115 1116# Check all directory arguments for consistency. 1117for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1118 datadir sysconfdir sharedstatedir localstatedir includedir \ 1119 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1120 libdir localedir mandir 1121do 1122 eval ac_val=\$$ac_var 1123 # Remove trailing slashes. 1124 case $ac_val in 1125 */ ) 1126 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1127 eval $ac_var=\$ac_val;; 1128 esac 1129 # Be sure to have absolute directory names. 1130 case $ac_val in 1131 [\\/$]* | ?:[\\/]* ) continue;; 1132 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1133 esac 1134 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1135done 1136 1137# There might be people who depend on the old broken behavior: `$host' 1138# used to hold the argument of --host etc. 1139# FIXME: To remove some day. 1140build=$build_alias 1141host=$host_alias 1142target=$target_alias 1143 1144# FIXME: To remove some day. 1145if test "x$host_alias" != x; then 1146 if test "x$build_alias" = x; then 1147 cross_compiling=maybe 1148 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1149 If a cross compiler is detected then cross compile mode will be used" >&2 1150 elif test "x$build_alias" != "x$host_alias"; then 1151 cross_compiling=yes 1152 fi 1153fi 1154 1155ac_tool_prefix= 1156test -n "$host_alias" && ac_tool_prefix=$host_alias- 1157 1158test "$silent" = yes && exec 6>/dev/null 1159 1160 1161ac_pwd=`pwd` && test -n "$ac_pwd" && 1162ac_ls_di=`ls -di .` && 1163ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1164 as_fn_error $? "working directory cannot be determined" 1165test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1166 as_fn_error $? "pwd does not report name of working directory" 1167 1168 1169# Find the source files, if location was not specified. 1170if test -z "$srcdir"; then 1171 ac_srcdir_defaulted=yes 1172 # Try the directory containing this script, then the parent directory. 1173 ac_confdir=`$as_dirname -- "$as_myself" || 1174$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1175 X"$as_myself" : 'X\(//\)[^/]' \| \ 1176 X"$as_myself" : 'X\(//\)$' \| \ 1177 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1178$as_echo X"$as_myself" | 1179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1180 s//\1/ 1181 q 1182 } 1183 /^X\(\/\/\)[^/].*/{ 1184 s//\1/ 1185 q 1186 } 1187 /^X\(\/\/\)$/{ 1188 s//\1/ 1189 q 1190 } 1191 /^X\(\/\).*/{ 1192 s//\1/ 1193 q 1194 } 1195 s/.*/./; q'` 1196 srcdir=$ac_confdir 1197 if test ! -r "$srcdir/$ac_unique_file"; then 1198 srcdir=.. 1199 fi 1200else 1201 ac_srcdir_defaulted=no 1202fi 1203if test ! -r "$srcdir/$ac_unique_file"; then 1204 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1205 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1206fi 1207ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1208ac_abs_confdir=`( 1209 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1210 pwd)` 1211# When building in place, set srcdir=. 1212if test "$ac_abs_confdir" = "$ac_pwd"; then 1213 srcdir=. 1214fi 1215# Remove unnecessary trailing slashes from srcdir. 1216# Double slashes in file names in object file debugging info 1217# mess up M-x gdb in Emacs. 1218case $srcdir in 1219*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1220esac 1221for ac_var in $ac_precious_vars; do 1222 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1223 eval ac_env_${ac_var}_value=\$${ac_var} 1224 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1225 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1226done 1227 1228# 1229# Report the --help message. 1230# 1231if test "$ac_init_help" = "long"; then 1232 # Omit some internal or obsolete options to make the list less imposing. 1233 # This message is too long to be a string in the A/UX 3.1 sh. 1234 cat <<_ACEOF 1235\`configure' configures tcsh 6.18.01 to adapt to many kinds of systems. 1236 1237Usage: $0 [OPTION]... [VAR=VALUE]... 1238 1239To assign environment variables (e.g., CC, CFLAGS...), specify them as 1240VAR=VALUE. See below for descriptions of some of the useful variables. 1241 1242Defaults for the options are specified in brackets. 1243 1244Configuration: 1245 -h, --help display this help and exit 1246 --help=short display options specific to this package 1247 --help=recursive display the short help of all the included packages 1248 -V, --version display version information and exit 1249 -q, --quiet, --silent do not print \`checking ...' messages 1250 --cache-file=FILE cache test results in FILE [disabled] 1251 -C, --config-cache alias for \`--cache-file=config.cache' 1252 -n, --no-create do not create output files 1253 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1254 1255Installation directories: 1256 --prefix=PREFIX install architecture-independent files in PREFIX 1257 [$ac_default_prefix] 1258 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1259 [PREFIX] 1260 1261By default, \`make install' will install all the files in 1262\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1263an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1264for instance \`--prefix=\$HOME'. 1265 1266For better control, use the options below. 1267 1268Fine tuning of the installation directories: 1269 --bindir=DIR user executables [EPREFIX/bin] 1270 --sbindir=DIR system admin executables [EPREFIX/sbin] 1271 --libexecdir=DIR program executables [EPREFIX/libexec] 1272 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1273 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1274 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1275 --libdir=DIR object code libraries [EPREFIX/lib] 1276 --includedir=DIR C header files [PREFIX/include] 1277 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1278 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1279 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1280 --infodir=DIR info documentation [DATAROOTDIR/info] 1281 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1282 --mandir=DIR man documentation [DATAROOTDIR/man] 1283 --docdir=DIR documentation root [DATAROOTDIR/doc/tcsh] 1284 --htmldir=DIR html documentation [DOCDIR] 1285 --dvidir=DIR dvi documentation [DOCDIR] 1286 --pdfdir=DIR pdf documentation [DOCDIR] 1287 --psdir=DIR ps documentation [DOCDIR] 1288_ACEOF 1289 1290 cat <<\_ACEOF 1291 1292System types: 1293 --build=BUILD configure for building on BUILD [guessed] 1294 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1295_ACEOF 1296fi 1297 1298if test -n "$ac_init_help"; then 1299 case $ac_init_help in 1300 short | recursive ) echo "Configuration of tcsh 6.18.01:";; 1301 esac 1302 cat <<\_ACEOF 1303 1304Optional Features: 1305 --disable-option-checking ignore unrecognized --enable/--with options 1306 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1307 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1308 --disable-rpath do not hardcode runtime library paths 1309 --disable-nls Disable NLS support 1310 --disable-nls-catalogs Disable NLS catalog support 1311 1312Optional Packages: 1313 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1314 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1315 --with-gnu-ld assume the C compiler uses GNU ld default=no 1316 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1317 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1318 --with-hesiod=PREFIX Use Hesiod lookup for ~ expansion 1319 1320Some influential environment variables: 1321 CC C compiler command 1322 CFLAGS C compiler flags 1323 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1324 nonstandard directory <lib dir> 1325 LIBS libraries to pass to the linker, e.g. -l<library> 1326 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1327 you have headers in a nonstandard directory <include dir> 1328 CPP C preprocessor 1329 1330Use these variables to override the choices made by `configure' or to help 1331it to find libraries and programs with nonstandard names/locations. 1332 1333Report bugs to <http://bugs.gw.com/>. 1334_ACEOF 1335ac_status=$? 1336fi 1337 1338if test "$ac_init_help" = "recursive"; then 1339 # If there are subdirs, report their specific --help. 1340 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1341 test -d "$ac_dir" || 1342 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1343 continue 1344 ac_builddir=. 1345 1346case "$ac_dir" in 1347.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1348*) 1349 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1350 # A ".." for each directory in $ac_dir_suffix. 1351 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1352 case $ac_top_builddir_sub in 1353 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1354 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1355 esac ;; 1356esac 1357ac_abs_top_builddir=$ac_pwd 1358ac_abs_builddir=$ac_pwd$ac_dir_suffix 1359# for backward compatibility: 1360ac_top_builddir=$ac_top_build_prefix 1361 1362case $srcdir in 1363 .) # We are building in place. 1364 ac_srcdir=. 1365 ac_top_srcdir=$ac_top_builddir_sub 1366 ac_abs_top_srcdir=$ac_pwd ;; 1367 [\\/]* | ?:[\\/]* ) # Absolute name. 1368 ac_srcdir=$srcdir$ac_dir_suffix; 1369 ac_top_srcdir=$srcdir 1370 ac_abs_top_srcdir=$srcdir ;; 1371 *) # Relative name. 1372 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1373 ac_top_srcdir=$ac_top_build_prefix$srcdir 1374 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1375esac 1376ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1377 1378 cd "$ac_dir" || { ac_status=$?; continue; } 1379 # Check for guested configure. 1380 if test -f "$ac_srcdir/configure.gnu"; then 1381 echo && 1382 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1383 elif test -f "$ac_srcdir/configure"; then 1384 echo && 1385 $SHELL "$ac_srcdir/configure" --help=recursive 1386 else 1387 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1388 fi || ac_status=$? 1389 cd "$ac_pwd" || { ac_status=$?; break; } 1390 done 1391fi 1392 1393test -n "$ac_init_help" && exit $ac_status 1394if $ac_init_version; then 1395 cat <<\_ACEOF 1396tcsh configure 6.18.01 1397generated by GNU Autoconf 2.68 1398 1399Copyright (C) 2010 Free Software Foundation, Inc. 1400This configure script is free software; the Free Software Foundation 1401gives unlimited permission to copy, distribute and modify it. 1402_ACEOF 1403 exit 1404fi 1405 1406## ------------------------ ## 1407## Autoconf initialization. ## 1408## ------------------------ ## 1409 1410# ac_fn_c_try_compile LINENO 1411# -------------------------- 1412# Try to compile conftest.$ac_ext, and return whether this succeeded. 1413ac_fn_c_try_compile () 1414{ 1415 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1416 rm -f conftest.$ac_objext 1417 if { { ac_try="$ac_compile" 1418case "(($ac_try" in 1419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1420 *) ac_try_echo=$ac_try;; 1421esac 1422eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1423$as_echo "$ac_try_echo"; } >&5 1424 (eval "$ac_compile") 2>conftest.err 1425 ac_status=$? 1426 if test -s conftest.err; then 1427 grep -v '^ *+' conftest.err >conftest.er1 1428 cat conftest.er1 >&5 1429 mv -f conftest.er1 conftest.err 1430 fi 1431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1432 test $ac_status = 0; } && { 1433 test -z "$ac_c_werror_flag" || 1434 test ! -s conftest.err 1435 } && test -s conftest.$ac_objext; then : 1436 ac_retval=0 1437else 1438 $as_echo "$as_me: failed program was:" >&5 1439sed 's/^/| /' conftest.$ac_ext >&5 1440 1441 ac_retval=1 1442fi 1443 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1444 as_fn_set_status $ac_retval 1445 1446} # ac_fn_c_try_compile 1447 1448# ac_fn_c_try_cpp LINENO 1449# ---------------------- 1450# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1451ac_fn_c_try_cpp () 1452{ 1453 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1454 if { { ac_try="$ac_cpp conftest.$ac_ext" 1455case "(($ac_try" in 1456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1457 *) ac_try_echo=$ac_try;; 1458esac 1459eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1460$as_echo "$ac_try_echo"; } >&5 1461 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1462 ac_status=$? 1463 if test -s conftest.err; then 1464 grep -v '^ *+' conftest.err >conftest.er1 1465 cat conftest.er1 >&5 1466 mv -f conftest.er1 conftest.err 1467 fi 1468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1469 test $ac_status = 0; } > conftest.i && { 1470 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1471 test ! -s conftest.err 1472 }; then : 1473 ac_retval=0 1474else 1475 $as_echo "$as_me: failed program was:" >&5 1476sed 's/^/| /' conftest.$ac_ext >&5 1477 1478 ac_retval=1 1479fi 1480 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1481 as_fn_set_status $ac_retval 1482 1483} # ac_fn_c_try_cpp 1484 1485# ac_fn_c_try_link LINENO 1486# ----------------------- 1487# Try to link conftest.$ac_ext, and return whether this succeeded. 1488ac_fn_c_try_link () 1489{ 1490 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1491 rm -f conftest.$ac_objext conftest$ac_exeext 1492 if { { ac_try="$ac_link" 1493case "(($ac_try" in 1494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1495 *) ac_try_echo=$ac_try;; 1496esac 1497eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1498$as_echo "$ac_try_echo"; } >&5 1499 (eval "$ac_link") 2>conftest.err 1500 ac_status=$? 1501 if test -s conftest.err; then 1502 grep -v '^ *+' conftest.err >conftest.er1 1503 cat conftest.er1 >&5 1504 mv -f conftest.er1 conftest.err 1505 fi 1506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1507 test $ac_status = 0; } && { 1508 test -z "$ac_c_werror_flag" || 1509 test ! -s conftest.err 1510 } && test -s conftest$ac_exeext && { 1511 test "$cross_compiling" = yes || 1512 $as_test_x conftest$ac_exeext 1513 }; then : 1514 ac_retval=0 1515else 1516 $as_echo "$as_me: failed program was:" >&5 1517sed 's/^/| /' conftest.$ac_ext >&5 1518 1519 ac_retval=1 1520fi 1521 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1522 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1523 # interfere with the next link command; also delete a directory that is 1524 # left behind by Apple's compiler. We do this before executing the actions. 1525 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1526 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1527 as_fn_set_status $ac_retval 1528 1529} # ac_fn_c_try_link 1530 1531# ac_fn_c_try_run LINENO 1532# ---------------------- 1533# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1534# that executables *can* be run. 1535ac_fn_c_try_run () 1536{ 1537 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1538 if { { ac_try="$ac_link" 1539case "(($ac_try" in 1540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1541 *) ac_try_echo=$ac_try;; 1542esac 1543eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1544$as_echo "$ac_try_echo"; } >&5 1545 (eval "$ac_link") 2>&5 1546 ac_status=$? 1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1548 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1549 { { case "(($ac_try" in 1550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1551 *) ac_try_echo=$ac_try;; 1552esac 1553eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1554$as_echo "$ac_try_echo"; } >&5 1555 (eval "$ac_try") 2>&5 1556 ac_status=$? 1557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1558 test $ac_status = 0; }; }; then : 1559 ac_retval=0 1560else 1561 $as_echo "$as_me: program exited with status $ac_status" >&5 1562 $as_echo "$as_me: failed program was:" >&5 1563sed 's/^/| /' conftest.$ac_ext >&5 1564 1565 ac_retval=$ac_status 1566fi 1567 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1568 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1569 as_fn_set_status $ac_retval 1570 1571} # ac_fn_c_try_run 1572 1573# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1574# ------------------------------------------------------- 1575# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1576# the include files in INCLUDES and setting the cache variable VAR 1577# accordingly. 1578ac_fn_c_check_header_mongrel () 1579{ 1580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1581 if eval \${$3+:} false; then : 1582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1583$as_echo_n "checking for $2... " >&6; } 1584if eval \${$3+:} false; then : 1585 $as_echo_n "(cached) " >&6 1586fi 1587eval ac_res=\$$3 1588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1589$as_echo "$ac_res" >&6; } 1590else 1591 # Is the header compilable? 1592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1593$as_echo_n "checking $2 usability... " >&6; } 1594cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1595/* end confdefs.h. */ 1596$4 1597#include <$2> 1598_ACEOF 1599if ac_fn_c_try_compile "$LINENO"; then : 1600 ac_header_compiler=yes 1601else 1602 ac_header_compiler=no 1603fi 1604rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1606$as_echo "$ac_header_compiler" >&6; } 1607 1608# Is the header present? 1609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1610$as_echo_n "checking $2 presence... " >&6; } 1611cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1612/* end confdefs.h. */ 1613#include <$2> 1614_ACEOF 1615if ac_fn_c_try_cpp "$LINENO"; then : 1616 ac_header_preproc=yes 1617else 1618 ac_header_preproc=no 1619fi 1620rm -f conftest.err conftest.i conftest.$ac_ext 1621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1622$as_echo "$ac_header_preproc" >&6; } 1623 1624# So? What about this header? 1625case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1626 yes:no: ) 1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1628$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1630$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1631 ;; 1632 no:yes:* ) 1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1634$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1636$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1638$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1639 { $as_ec…
Large files files are truncated, but you can click here to view the full file