
1: #! /bin/sh 2: # Guess values for system-dependent variables and create Makefiles. 3: # Generated by GNU Autoconf 2.59. 4: # 5: # Copyright (C) 2003 Free Software Foundation, Inc. 6: # This configure script is free software; the Free Software Foundation 7: # gives unlimited permission to copy, distribute and modify it. 8: ## --------------------- ## 9: ## M4sh Initialization. ## 10: ## --------------------- ## 11: 12: # Be Bourne compatible 13: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14: emulate sh 15: NULLCMD=: 16: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 17: # is contrary to our usage. Disable this feature. 18: alias -g '${1+"$@"}'='"$@"' 19: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20: set -o posix 21: fi 22: DUALCASE=1; export DUALCASE # for MKS sh 23: 24: # Support unset when possible. 25: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26: as_unset=unset 27: else 28: as_unset=false 29: fi 30: 31: 32: # Work around bugs in pre-3.0 UWIN ksh. 33: $as_unset ENV MAIL MAILPATH 34: PS1='$ ' 35: PS2='> ' 36: PS4='+ ' 37: 38: # NLS nuisances. 39: for as_var in \ 40: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42: LC_TELEPHONE LC_TIME 43: do 44: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45: eval $as_var=C; export $as_var 46: else 47: $as_unset $as_var 48: fi 49: done 50: 51: # Required to use basename. 52: if expr a : '\(a\)' >/dev/null 2>&1; then 53: as_expr=expr 54: else 55: as_expr=false 56: fi 57: 58: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59: as_basename=basename 60: else 61: as_basename=false 62: fi 63: 64: 65: # Name of the executable. 66: as_me=`$as_basename "$0" || 67: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68: X"$0" : 'X\(//\)$' \| \ 69: X"$0" : 'X\(/\)$' \| \ 70: . : '\(.\)' 2>/dev/null || 71: echo X/"$0" | 72: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73: /^X\/\(\/\/\)$/{ s//\1/; q; } 74: /^X\/\(\/\).*/{ s//\1/; q; } 75: s/.*/./; q'` 76: 77: 78: # PATH needs CR, and LINENO needs CR and PATH. 79: # Avoid depending upon Character Ranges. 80: as_cr_letters='abcdefghijklmnopqrstuvwxyz' 81: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 82: as_cr_Letters=$as_cr_letters$as_cr_LETTERS 83: as_cr_digits='0123456789' 84: as_cr_alnum=$as_cr_Letters$as_cr_digits 85: 86: # The user is always right. 87: if test "${PATH_SEPARATOR+set}" != set; then 88: echo "#! /bin/sh" >conf$$.sh 89: echo "exit 0" >>conf$$.sh 90: chmod +x conf$$.sh 91: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92: PATH_SEPARATOR=';' 93: else 94: PATH_SEPARATOR=: 95: fi 96: rm -f conf$$.sh 97: fi 98: 99: 100: as_lineno_1=$LINENO 101: as_lineno_2=$LINENO 102: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103: test "x$as_lineno_1" != "x$as_lineno_2" && 104: test "x$as_lineno_3" = "x$as_lineno_2" || { 105: # Find who we are. Look in the path if we contain no path at all 106: # relative or not. 107: case $0 in 108: *[\\/]* ) as_myself=$0 ;; 109: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110: for as_dir in $PATH 111: do 112: IFS=$as_save_IFS 113: test -z "$as_dir" && as_dir=. 114: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115: done 116: 117: ;; 118: esac 119: # We did not find ourselves, most probably we were run as `sh COMMAND' 120: # in which case we are not to be found in the path. 121: if test "x$as_myself" = x; then 122: as_myself=$0 123: fi 124: if test ! -f "$as_myself"; then 125: { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126: { (exit 1); exit 1; }; } 127: fi 128: case $CONFIG_SHELL in 129: '') 130: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132: do 133: IFS=$as_save_IFS 134: test -z "$as_dir" && as_dir=. 135: for as_base in sh bash ksh sh5; do 136: case $as_dir in 137: /*) 138: if ("$as_dir/$as_base" -c ' 139: as_lineno_1=$LINENO 140: as_lineno_2=$LINENO 141: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142: test "x$as_lineno_1" != "x$as_lineno_2" && 143: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144: $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145: $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146: CONFIG_SHELL=$as_dir/$as_base 147: export CONFIG_SHELL 148: exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149: fi;; 150: esac 151: done 152: done 153: ;; 154: esac 155: 156: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157: # uniformly replaced by the line number. The first 'sed' inserts a 158: # line-number line before each line; the second 'sed' does the real 159: # work. The second script uses 'N' to pair each line-number line 160: # with the numbered line, and appends trailing '-' during 161: # substitution so that $LINENO is not a special case at line end. 162: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164: sed '=' <$as_myself | 165: sed ' 166: N 167: s,$,-, 168: : loop 169: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 170: t loop 171: s,-$,, 172: s,^['$as_cr_digits']*\n,, 173: ' >$as_me.lineno && 174: chmod +x $as_me.lineno || 175: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176: { (exit 1); exit 1; }; } 177: 178: # Don't try to exec as it changes $[0], causing all sort of problems 179: # (the dirname of $[0] is not the place where we might find the 180: # original and so on. Autoconf is especially sensible to this). 181: . ./$as_me.lineno 182: # Exit status is that of the last command. 183: exit 184: } 185: 186: 187: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188: *c*,-n*) ECHO_N= ECHO_C=' 189: ' ECHO_T=' ' ;; 190: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191: *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192: esac 193: 194: if expr a : '\(a\)' >/dev/null 2>&1; then 195: as_expr=expr 196: else 197: as_expr=false 198: fi 199: 200: rm -f conf$$ conf$$.exe conf$$.file 201: echo >conf$$.file 202: if ln -s conf$$.file conf$$ 2>/dev/null; then 203: # We could just check for DJGPP; but this test a) works b) is more generic 204: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205: if test -f conf$$.exe; then 206: # Don't use ln at all; we don't have any links 207: as_ln_s='cp -p' 208: else 209: as_ln_s='ln -s' 210: fi 211: elif ln conf$$.file conf$$ 2>/dev/null; then 212: as_ln_s=ln 213: else 214: as_ln_s='cp -p' 215: fi 216: rm -f conf$$ conf$$.exe conf$$.file 217: 218: if mkdir -p . 2>/dev/null; then 219: as_mkdir_p=: 220: else 221: test -d ./-p && rmdir ./-p 222: as_mkdir_p=false 223: fi 224: 225: as_executable_p="test -f" 226: 227: # Sed expression to map a string onto a valid CPP name. 228: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 229: 230: # Sed expression to map a string onto a valid variable name. 231: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232: 233: 234: # IFS 235: # We need space, tab and new line, in precisely that order. 236: as_nl=' 237: ' 238: IFS=" $as_nl" 239: 240: # CDPATH. 241: $as_unset CDPATH 242: 243: 244: # Name of the host. 245: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 246: # so uname gets run too. 247: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248: 249: exec 6>&1 250: 251: # 252: # Initializations. 253: # 254: ac_default_prefix=/usr/local 255: ac_config_libobj_dir=. 256: cross_compiling=no 257: subdirs= 258: MFLAGS= 259: MAKEFLAGS= 260: SHELL=${CONFIG_SHELL-/bin/sh} 261: 262: # Maximum number of lines to put in a shell here document. 263: # This variable seems obsolete. It should probably be removed, and 264: # only ac_max_sed_lines should be used. 265: : ${ac_max_here_lines=38} 266: 267: # Identity of this package. 268: PACKAGE_NAME= 269: PACKAGE_TARNAME= 270: PACKAGE_VERSION= 271: PACKAGE_STRING= 272: PACKAGE_BUGREPORT= 273: 274: ac_unique_file="xmalloc.c" 275: # Factoring default headers for most tests. 276: ac_includes_default="\ 277: #include <stdio.h> 278: #if HAVE_SYS_TYPES_H 279: # include <sys/types.h> 280: #endif 281: #if HAVE_SYS_STAT_H 282: # include <sys/stat.h> 283: #endif 284: #if STDC_HEADERS 285: # include <stdlib.h> 286: # include <stddef.h> 287: #else 288: # if HAVE_STDLIB_H 289: # include <stdlib.h> 290: # endif 291: #endif 292: #if HAVE_STRING_H 293: # if !STDC_HEADERS && HAVE_MEMORY_H 294: # include <memory.h> 295: # endif 296: # include <string.h> 297: #endif 298: #if HAVE_STRINGS_H 299: # include <strings.h> 300: #endif 301: #if HAVE_INTTYPES_H 302: # include <inttypes.h> 303: #else 304: # if HAVE_STDINT_H 305: # include <stdint.h> 306: # endif 307: #endif 308: #if HAVE_UNISTD_H 309: # include <unistd.h> 310: #endif" 311: 312: ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libiberty_topdir MAINT NOTMAINT MAKEINFO BUILD_INFO PERL HAVE_PERL build build_cpu build_vendor build_os host host_cpu host_vendor host_os AR ac_ct_AR RANLIB ac_ct_RANLIB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP ac_libiberty_warn_cflags NO_MINUS_C_MINUS_O OUTPUT_OPTION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LIBOBJS CHECK target_header_dir pexecute INSTALL_DEST datarootdir docdir htmldir LTLIBOBJS' 313: ac_subst_files='host_makefile_frag' 314: 315: # Initialize some variables set by options. 316: ac_init_help= 317: ac_init_version=false 318: # The variables have the same names as the options, with 319: # dashes changed to underlines. 320: cache_file=/dev/null 321: exec_prefix=NONE 322: no_create= 323: no_recursion= 324: prefix=NONE 325: program_prefix=NONE 326: program_suffix=NONE 327: program_transform_name=s,x,x, 328: silent= 329: site= 330: srcdir= 331: verbose= 332: x_includes=NONE 333: x_libraries=NONE 334: 335: # Installation directory options. 336: # These are left unexpanded so users can "make install exec_prefix=/foo" 337: # and all the variables that are supposed to be based on exec_prefix 338: # by default will actually change. 339: # Use braces instead of parens because sh, perl, etc. also accept them. 340: bindir='${exec_prefix}/bin' 341: sbindir='${exec_prefix}/sbin' 342: libexecdir='${exec_prefix}/libexec' 343: datadir='${prefix}/share' 344: sysconfdir='${prefix}/etc' 345: sharedstatedir='${prefix}/com' 346: localstatedir='${prefix}/var' 347: libdir='${exec_prefix}/lib' 348: includedir='${prefix}/include' 349: oldincludedir='/usr/include' 350: infodir='${prefix}/info' 351: mandir='${prefix}/man' 352: 353: ac_prev= 354: for ac_option 355: do 356: # If the previous option needs an argument, assign it. 357: if test -n "$ac_prev"; then 358: eval "$ac_prev=\$ac_option" 359: ac_prev= 360: continue 361: fi 362: 363: ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 364: 365: # Accept the important Cygnus configure options, so we can diagnose typos. 366: 367: case $ac_option in 368: 369: -bindir | --bindir | --bindi | --bind | --bin | --bi) 370: ac_prev=bindir ;; 371: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 372: bindir=$ac_optarg ;; 373: 374: -build | --build | --buil | --bui | --bu) 375: ac_prev=build_alias ;; 376: -build=* | --build=* | --buil=* | --bui=* | --bu=*) 377: build_alias=$ac_optarg ;; 378: 379: -cache-file | --cache-file | --cache-fil | --cache-fi \ 380: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 381: ac_prev=cache_file ;; 382: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 383: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 384: cache_file=$ac_optarg ;; 385: 386: --config-cache | -C) 387: cache_file=config.cache ;; 388: 389: -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 390: ac_prev=datadir ;; 391: -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 392: | --da=*) 393: datadir=$ac_optarg ;; 394: 395: -disable-* | --disable-*) 396: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 397: # Reject names that are not valid shell variable names. 398: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 399: { echo "$as_me: error: invalid feature name: $ac_feature" >&2 400: { (exit 1); exit 1; }; } 401: ac_feature=`echo $ac_feature | sed 's/-/_/g'` 402: eval "enable_$ac_feature=no" ;; 403: 404: -enable-* | --enable-*) 405: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 406: # Reject names that are not valid shell variable names. 407: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 408: { echo "$as_me: error: invalid feature name: $ac_feature" >&2 409: { (exit 1); exit 1; }; } 410: ac_feature=`echo $ac_feature | sed 's/-/_/g'` 411: case $ac_option in 412: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 413: *) ac_optarg=yes ;; 414: esac 415: eval "enable_$ac_feature='$ac_optarg'" ;; 416: 417: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 418: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 419: | --exec | --exe | --ex) 420: ac_prev=exec_prefix ;; 421: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 422: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 423: | --exec=* | --exe=* | --ex=*) 424: exec_prefix=$ac_optarg ;; 425: 426: -gas | --gas | --ga | --g) 427: # Obsolete; use --with-gas. 428: with_gas=yes ;; 429: 430: -help | --help | --hel | --he | -h) 431: ac_init_help=long ;; 432: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 433: ac_init_help=recursive ;; 434: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 435: ac_init_help=short ;; 436: 437: -host | --host | --hos | --ho) 438: ac_prev=host_alias ;; 439: -host=* | --host=* | --hos=* | --ho=*) 440: host_alias=$ac_optarg ;; 441: 442: -includedir | --includedir | --includedi | --included | --include \ 443: | --includ | --inclu | --incl | --inc) 444: ac_prev=includedir ;; 445: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 446: | --includ=* | --inclu=* | --incl=* | --inc=*) 447: includedir=$ac_optarg ;; 448: 449: -infodir | --infodir | --infodi | --infod | --info | --inf) 450: ac_prev=infodir ;; 451: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 452: infodir=$ac_optarg ;; 453: 454: -libdir | --libdir | --libdi | --libd) 455: ac_prev=libdir ;; 456: -libdir=* | --libdir=* | --libdi=* | --libd=*) 457: libdir=$ac_optarg ;; 458: 459: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 460: | --libexe | --libex | --libe) 461: ac_prev=libexecdir ;; 462: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 463: | --libexe=* | --libex=* | --libe=*) 464: libexecdir=$ac_optarg ;; 465: 466: -localstatedir | --localstatedir | --localstatedi | --localstated \ 467: | --localstate | --localstat | --localsta | --localst \ 468: | --locals | --local | --loca | --loc | --lo) 469: ac_prev=localstatedir ;; 470: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 471: | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 472: | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 473: localstatedir=$ac_optarg ;; 474: 475: -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 476: ac_prev=mandir ;; 477: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 478: mandir=$ac_optarg ;; 479: 480: -nfp | --nfp | --nf) 481: # Obsolete; use --without-fp. 482: with_fp=no ;; 483: 484: -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 485: | --no-cr | --no-c | -n) 486: no_create=yes ;; 487: 488: -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 489: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 490: no_recursion=yes ;; 491: 492: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 493: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 494: | --oldin | --oldi | --old | --ol | --o) 495: ac_prev=oldincludedir ;; 496: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 497: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 498: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 499: oldincludedir=$ac_optarg ;; 500: 501: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 502: ac_prev=prefix ;; 503: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 504: prefix=$ac_optarg ;; 505: 506: -program-prefix | --program-prefix | --program-prefi | --program-pref \ 507: | --program-pre | --program-pr | --program-p) 508: ac_prev=program_prefix ;; 509: -program-prefix=* | --program-prefix=* | --program-prefi=* \ 510: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 511: program_prefix=$ac_optarg ;; 512: 513: -program-suffix | --program-suffix | --program-suffi | --program-suff \ 514: | --program-suf | --program-su | --program-s) 515: ac_prev=program_suffix ;; 516: -program-suffix=* | --program-suffix=* | --program-suffi=* \ 517: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 518: program_suffix=$ac_optarg ;; 519: 520: -program-transform-name | --program-transform-name \ 521: | --program-transform-nam | --program-transform-na \ 522: | --program-transform-n | --program-transform- \ 523: | --program-transform | --program-transfor \ 524: | --program-transfo | --program-transf \ 525: | --program-trans | --program-tran \ 526: | --progr-tra | --program-tr | --program-t) 527: ac_prev=program_transform_name ;; 528: -program-transform-name=* | --program-transform-name=* \ 529: | --program-transform-nam=* | --program-transform-na=* \ 530: | --program-transform-n=* | --program-transform-=* \ 531: | --program-transform=* | --program-transfor=* \ 532: | --program-transfo=* | --program-transf=* \ 533: | --program-trans=* | --program-tran=* \ 534: | --progr-tra=* | --program-tr=* | --program-t=*) 535: program_transform_name=$ac_optarg ;; 536: 537: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 538: | -silent | --silent | --silen | --sile | --sil) 539: silent=yes ;; 540: 541: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 542: ac_prev=sbindir ;; 543: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 544: | --sbi=* | --sb=*) 545: sbindir=$ac_optarg ;; 546: 547: -sharedstatedir | --sharedstatedir | --sharedstatedi \ 548: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 549: | --sharedst | --shareds | --shared | --share | --shar \ 550: | --sha | --sh) 551: ac_prev=sharedstatedir ;; 552: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 553: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 554: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 555: | --sha=* | --sh=*) 556: sharedstatedir=$ac_optarg ;; 557: 558: -site | --site | --sit) 559: ac_prev=site ;; 560: -site=* | --site=* | --sit=*) 561: site=$ac_optarg ;; 562: 563: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 564: ac_prev=srcdir ;; 565: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 566: srcdir=$ac_optarg ;; 567: 568: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 569: | --syscon | --sysco | --sysc | --sys | --sy) 570: ac_prev=sysconfdir ;; 571: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 572: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 573: sysconfdir=$ac_optarg ;; 574: 575: -target | --target | --targe | --targ | --tar | --ta | --t) 576: ac_prev=target_alias ;; 577: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 578: target_alias=$ac_optarg ;; 579: 580: -v | -verbose | --verbose | --verbos | --verbo | --verb) 581: verbose=yes ;; 582: 583: -version | --version | --versio | --versi | --vers | -V) 584: ac_init_version=: ;; 585: 586: -with-* | --with-*) 587: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 588: # Reject names that are not valid shell variable names. 589: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 590: { echo "$as_me: error: invalid package name: $ac_package" >&2 591: { (exit 1); exit 1; }; } 592: ac_package=`echo $ac_package| sed 's/-/_/g'` 593: case $ac_option in 594: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 595: *) ac_optarg=yes ;; 596: esac 597: eval "with_$ac_package='$ac_optarg'" ;; 598: 599: -without-* | --without-*) 600: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 601: # Reject names that are not valid shell variable names. 602: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 603: { echo "$as_me: error: invalid package name: $ac_package" >&2 604: { (exit 1); exit 1; }; } 605: ac_package=`echo $ac_package | sed 's/-/_/g'` 606: eval "with_$ac_package=no" ;; 607: 608: --x) 609: # Obsolete; use --with-x. 610: with_x=yes ;; 611: 612: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 613: | --x-incl | --x-inc | --x-in | --x-i) 614: ac_prev=x_includes ;; 615: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 616: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 617: x_includes=$ac_optarg ;; 618: 619: -x-libraries | --x-libraries | --x-librarie | --x-librari \ 620: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 621: ac_prev=x_libraries ;; 622: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 623: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 624: x_libraries=$ac_optarg ;; 625: 626: -*) { echo "$as_me: error: unrecognized option: $ac_option 627: Try \`$0 --help' for more information." >&2 628: { (exit 1); exit 1; }; } 629: ;; 630: 631: *=*) 632: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 633: # Reject names that are not valid shell variable names. 634: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 635: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 636: { (exit 1); exit 1; }; } 637: ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 638: eval "$ac_envvar='$ac_optarg'" 639: export $ac_envvar ;; 640: 641: *) 642: # FIXME: should be removed in autoconf 3.0. 643: echo "$as_me: WARNING: you should use --build, --host, --target" >&2 644: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 645: echo "$as_me: WARNING: invalid host type: $ac_option" >&2 646: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 647: ;; 648: 649: esac 650: done 651: 652: if test -n "$ac_prev"; then 653: ac_option=--`echo $ac_prev | sed 's/_/-/g'` 654: { echo "$as_me: error: missing argument to $ac_option" >&2 655: { (exit 1); exit 1; }; } 656: fi 657: 658: # Be sure to have absolute paths. 659: for ac_var in exec_prefix prefix 660: do 661: eval ac_val=$`echo $ac_var` 662: case $ac_val in 663: [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 664: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 665: { (exit 1); exit 1; }; };; 666: esac 667: done 668: 669: # Be sure to have absolute paths. 670: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 671: localstatedir libdir includedir oldincludedir infodir mandir 672: do 673: eval ac_val=$`echo $ac_var` 674: case $ac_val in 675: [\\/$]* | ?:[\\/]* ) ;; 676: *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 677: { (exit 1); exit 1; }; };; 678: esac 679: done 680: 681: # There might be people who depend on the old broken behavior: `$host' 682: # used to hold the argument of --host etc. 683: # FIXME: To remove some day. 684: build=$build_alias 685: host=$host_alias 686: target=$target_alias 687: 688: # FIXME: To remove some day. 689: if test "x$host_alias" != x; then 690: if test "x$build_alias" = x; then 691: cross_compiling=maybe 692: echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 693: If a cross compiler is detected then cross compile mode will be used." >&2 694: elif test "x$build_alias" != "x$host_alias"; then 695: cross_compiling=yes 696: fi 697: fi 698: 699: ac_tool_prefix= 700: test -n "$host_alias" && ac_tool_prefix=$host_alias- 701: 702: test "$silent" = yes && exec 6>/dev/null 703: 704: 705: # Find the source files, if location was not specified. 706: if test -z "$srcdir"; then 707: ac_srcdir_defaulted=yes 708: # Try the directory containing this script, then its parent. 709: ac_confdir=`(dirname "$0") 2>/dev/null || 710: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 711: X"$0" : 'X\(//\)[^/]' \| \ 712: X"$0" : 'X\(//\)$' \| \ 713: X"$0" : 'X\(/\)' \| \ 714: . : '\(.\)' 2>/dev/null || 715: echo X"$0" | 716: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 717: /^X\(\/\/\)[^/].*/{ s//\1/; q; } 718: /^X\(\/\/\)$/{ s//\1/; q; } 719: /^X\(\/\).*/{ s//\1/; q; } 720: s/.*/./; q'` 721: srcdir=$ac_confdir 722: if test ! -r $srcdir/$ac_unique_file; then 723: srcdir=.. 724: fi 725: else 726: ac_srcdir_defaulted=no 727: fi 728: if test ! -r $srcdir/$ac_unique_file; then 729: if test "$ac_srcdir_defaulted" = yes; then 730: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 731: { (exit 1); exit 1; }; } 732: else 733: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 734: { (exit 1); exit 1; }; } 735: fi 736: fi 737: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 738: { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 739: { (exit 1); exit 1; }; } 740: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 741: ac_env_build_alias_set=${build_alias+set} 742: ac_env_build_alias_value=$build_alias 743: ac_cv_env_build_alias_set=${build_alias+set} 744: ac_cv_env_build_alias_value=$build_alias 745: ac_env_host_alias_set=${host_alias+set} 746: ac_env_host_alias_value=$host_alias 747: ac_cv_env_host_alias_set=${host_alias+set} 748: ac_cv_env_host_alias_value=$host_alias 749: ac_env_target_alias_set=${target_alias+set} 750: ac_env_target_alias_value=$target_alias 751: ac_cv_env_target_alias_set=${target_alias+set} 752: ac_cv_env_target_alias_value=$target_alias 753: ac_env_CC_set=${CC+set} 754: ac_env_CC_value=$CC 755: ac_cv_env_CC_set=${CC+set} 756: ac_cv_env_CC_value=$CC 757: ac_env_CFLAGS_set=${CFLAGS+set} 758: ac_env_CFLAGS_value=$CFLAGS 759: ac_cv_env_CFLAGS_set=${CFLAGS+set}