
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: 245: # Check that we are running under the correct shell. 246: SHELL=${CONFIG_SHELL-/bin/sh} 247: 248: case X$ECHO in 249: X*--fallback-echo) 250: # Remove one level of quotation (which was required for Make). 251: ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` 252: ;; 253: esac 254: 255: echo=${ECHO-echo} 256: if test "X$1" = X--no-reexec; then 257: # Discard the --no-reexec flag, and continue. 258: shift 259: elif test "X$1" = X--fallback-echo; then 260: # Avoid inline document here, it may be left over 261: : 262: elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then 263: # Yippee, $echo works! 264: : 265: else 266: # Restart under the correct shell. 267: exec $SHELL "$0" --no-reexec ${1+"$@"} 268: fi 269: 270: if test "X$1" = X--fallback-echo; then 271: # used as fallback echo 272: shift 273: cat <<EOF 274: $* 275: EOF 276: exit 0 277: fi 278: 279: # The HP-UX ksh and POSIX shell print the target directory to stdout 280: # if CDPATH is set. 281: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 282: 283: if test -z "$ECHO"; then 284: if test "X${echo_test_string+set}" != Xset; then 285: # find a string as large as possible, as long as the shell can cope with it 286: for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 287: # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 288: if (echo_test_string=`eval $cmd`) 2>/dev/null && 289: echo_test_string=`eval $cmd` && 290: (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 291: then 292: break 293: fi 294: done 295: fi 296: 297: if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 298: echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 299: test "X$echo_testing_string" = "X$echo_test_string"; then 300: : 301: else 302: # The Solaris, AIX, and Digital Unix default echo programs unquote 303: # backslashes. This makes it impossible to quote backslashes using 304: # echo "$something" | sed 's/\\/\\\\/g' 305: # 306: # So, first we look for a working echo in the user's PATH. 307: 308: lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 309: for dir in $PATH /usr/ucb; do 310: IFS="$lt_save_ifs" 311: if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 312: test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 313: echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 314: test "X$echo_testing_string" = "X$echo_test_string"; then 315: echo="$dir/echo" 316: break 317: fi 318: done 319: IFS="$lt_save_ifs" 320: 321: if test "X$echo" = Xecho; then 322: # We didn't find a better echo, so look for alternatives. 323: if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && 324: echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && 325: test "X$echo_testing_string" = "X$echo_test_string"; then 326: # This shell has a builtin print -r that does the trick. 327: echo='print -r' 328: elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && 329: test "X$CONFIG_SHELL" != X/bin/ksh; then 330: # If we have ksh, try running configure again with it. 331: ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 332: export ORIGINAL_CONFIG_SHELL 333: CONFIG_SHELL=/bin/ksh 334: export CONFIG_SHELL 335: exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 336: else 337: # Try using printf. 338: echo='printf %s\n' 339: if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 340: echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 341: test "X$echo_testing_string" = "X$echo_test_string"; then 342: # Cool, printf works 343: : 344: elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 345: test "X$echo_testing_string" = 'X\t' && 346: echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 347: test "X$echo_testing_string" = "X$echo_test_string"; then 348: CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 349: export CONFIG_SHELL 350: SHELL="$CONFIG_SHELL" 351: export SHELL 352: echo="$CONFIG_SHELL $0 --fallback-echo" 353: elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 354: test "X$echo_testing_string" = 'X\t' && 355: echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 356: test "X$echo_testing_string" = "X$echo_test_string"; then 357: echo="$CONFIG_SHELL $0 --fallback-echo" 358: else 359: # maybe with a smaller string... 360: prev=: 361: 362: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 363: if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null 364: then 365: break 366: fi 367: prev="$cmd" 368: done 369: 370: if test "$prev" != 'sed 50q "$0"'; then 371: echo_test_string=`eval $prev` 372: export echo_test_string 373: exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 374: else 375: # Oops. We lost completely, so just stick with echo. 376: echo=echo 377: fi 378: fi 379: fi 380: fi 381: fi 382: fi 383: 384: # Copy echo and quote the copy suitably for passing to libtool from 385: # the Makefile, instead of quoting the original, which is used later. 386: ECHO=$echo 387: if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 388: ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 389: fi 390: 391: 392: 393: 394: tagnames=${tagnames+${tagnames},}CXX 395: 396: tagnames=${tagnames+${tagnames},}F77 397: 398: # Name of the host. 399: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 400: # so uname gets run too. 401: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 402: 403: exec 6>&1 404: 405: # 406: # Initializations. 407: # 408: ac_default_prefix=/usr/local 409: ac_config_libobj_dir=. 410: cross_compiling=no 411: subdirs= 412: MFLAGS= 413: MAKEFLAGS= 414: SHELL=${CONFIG_SHELL-/bin/sh} 415: 416: # Maximum number of lines to put in a shell here document. 417: # This variable seems obsolete. It should probably be removed, and 418: # only ac_max_sed_lines should be used. 419: : ${ac_max_here_lines=38} 420: 421: # Identity of this package. 422: PACKAGE_NAME= 423: PACKAGE_TARNAME= 424: PACKAGE_VERSION= 425: PACKAGE_STRING= 426: PACKAGE_BUGREPORT= 427: 428: ac_unique_file="dbus/dbus.h" 429: # Factoring default headers for most tests. 430: ac_includes_default="\ 431: #include <stdio.h> 432: #if HAVE_SYS_TYPES_H 433: # include <sys/types.h> 434: #endif 435: #if HAVE_SYS_STAT_H 436: # include <sys/stat.h> 437: #endif 438: #if STDC_HEADERS 439: # include <stdlib.h> 440: # include <stddef.h> 441: #else 442: # if HAVE_STDLIB_H 443: # include <stdlib.h> 444: # endif 445: #endif 446: #if HAVE_STRING_H 447: # if !STDC_HEADERS && HAVE_MEMORY_H 448: # include <memory.h> 449: # endif 450: # include <string.h> 451: #endif 452: #if HAVE_STRINGS_H 453: # include <strings.h> 454: #endif 455: #if HAVE_INTTYPES_H 456: # include <inttypes.h> 457: #else 458: # if HAVE_STDINT_H 459: # include <stdint.h> 460: # endif 461: #endif 462: #if HAVE_UNISTD_H 463: # include <unistd.h> 464: #endif" 465: 466: 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar GETTEXT_PACKAGE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LT_CURRENT LT_REVISION LT_AGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CPP EGREP DBUS_BUILD_TESTS_TRUE DBUS_BUILD_TESTS_FALSE R_DYNAMIC_LDFLAG SED LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL DBUS_GCOV_ENABLED_TRUE DBUS_GCOV_ENABLED_FALSE DBUS_INT64_TYPE DBUS_INT64_CONSTANT DBUS_UINT64_CONSTANT DBUS_HAVE_INT64 DBUS_INT32_TYPE DBUS_INT16_TYPE DBUS_PATH_OR_ABSTRACT PKG_CONFIG LIBXML_CFLAGS LIBXML_LIBS DBUS_USE_EXPAT_TRUE DBUS_USE_EXPAT_FALSE DBUS_USE_LIBXML_TRUE DBUS_USE_LIBXML_FALSE HAVE_SELINUX_TRUE HAVE_SELINUX_FALSE DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX_TRUE DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX_FALSE DBUS_BUS_ENABLE_KQUEUE_TRUE DBUS_BUS_ENABLE_KQUEUE_FALSE HAVE_CONSOLE_OWNER_FILE_TRUE HAVE_CONSOLE_OWNER_FILE_FALSE DBUS_CLIENT_CFLAGS DBUS_CLIENT_LIBS DBUS_BUS_CFLAGS DBUS_BUS_LIBS DBUS_TEST_CFLAGS DBUS_TEST_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS DBUS_X_CFLAGS DBUS_X_LIBS DOXYGEN DBUS_DOXYGEN_DOCS_ENABLED_TRUE DBUS_DOXYGEN_DOCS_ENABLED_FALSE XMLTO DBUS_XML_DOCS_ENABLED_TRUE DBUS_XML_DOCS_ENABLED_FALSE EXPANDED_LOCALSTATEDIR EXPANDED_SYSCONFDIR EXPANDED_BINDIR EXPANDED_LIBDIR EXPANDED_DATADIR DBUS_INIT_SCRIPTS_RED_HAT_TRUE DBUS_INIT_SCRIPTS_RED_HAT_FALSE DBUS_INIT_SCRIPTS_SLACKWARE_TRUE DBUS_INIT_SCRIPTS_SLACKWARE_FALSE DBUS_SYSTEM_SOCKET DBUS_SYSTEM_BUS_DEFAULT_ADDRESS DBUS_SYSTEM_PID_FILE DBUS_CONSOLE_AUTH_DIR DBUS_CONSOLE_OWNER_FILE DBUS_USER DBUS_DATADIR DBUS_DAEMONDIR DBUS_BINDIR TEST_SERVICE_DIR TEST_SERVICE_BINARY TEST_SHELL_SERVICE_BINARY TEST_EXIT_BINARY TEST_SEGFAULT_BINARY TEST_SLEEP_FOREVER_BINARY TEST_BUS_BINARY TEST_SOCKET_DIR DBUS_SESSION_SOCKET_DIR LIBOBJS LTLIBOBJS' 467: ac_subst_files='' 468: 469: # Initialize some variables set by options. 470: ac_init_help= 471: ac_init_version=false 472: # The variables have the same names as the options, with 473: # dashes changed to underlines. 474: cache_file=/dev/null 475: exec_prefix=NONE 476: no_create= 477: no_recursion= 478: prefix=NONE 479: program_prefix=NONE 480: program_suffix=NONE 481: program_transform_name=s,x,x, 482: silent= 483: site= 484: srcdir= 485: verbose= 486: x_includes=NONE 487: x_libraries=NONE 488: 489: # Installation directory options. 490: # These are left unexpanded so users can "make install exec_prefix=/foo" 491: # and all the variables that are supposed to be based on exec_prefix 492: # by default will actually change. 493: # Use braces instead of parens because sh, perl, etc. also accept them. 494: bindir='${exec_prefix}/bin' 495: sbindir='${exec_prefix}/sbin' 496: libexecdir='${exec_prefix}/libexec' 497: datadir='${prefix}/share' 498: sysconfdir='${prefix}/etc' 499: sharedstatedir='${prefix}/com' 500: localstatedir='${prefix}/var' 501: libdir='${exec_prefix}/lib' 502: includedir='${prefix}/include' 503: oldincludedir='/usr/include' 504: infodir='${prefix}/info' 505: mandir='${prefix}/man' 506: 507: ac_prev= 508: for ac_option 509: do 510: # If the previous option needs an argument, assign it. 511: if test -n "$ac_prev"; then 512: eval "$ac_prev=\$ac_option" 513: ac_prev= 514: continue 515: fi 516: 517: ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 518: 519: # Accept the important Cygnus configure options, so we can diagnose typos. 520: 521: case $ac_option in 522: 523: -bindir | --bindir | --bindi | --bind | --bin | --bi) 524: ac_prev=bindir ;; 525: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 526: bindir=$ac_optarg ;; 527: 528: -build | --build | --buil | --bui | --bu) 529: ac_prev=build_alias ;; 530: -build=* | --build=* | --buil=* | --bui=* | --bu=*) 531: build_alias=$ac_optarg ;; 532: 533: -cache-file | --cache-file | --cache-fil | --cache-fi \ 534: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 535: ac_prev=cache_file ;; 536: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 537: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 538: cache_file=$ac_optarg ;; 539: 540: --config-cache | -C) 541: cache_file=config.cache ;; 542: 543: -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 544: ac_prev=datadir ;; 545: -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 546: | --da=*) 547: datadir=$ac_optarg ;; 548: 549: -disable-* | --disable-*) 550: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 551: # Reject names that are not valid shell variable names. 552: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 553: { echo "$as_me: error: invalid feature name: $ac_feature" >&2 554: { (exit 1); exit 1; }; } 555: ac_feature=`echo $ac_feature | sed 's/-/_/g'` 556: eval "enable_$ac_feature=no" ;; 557: 558: -enable-* | --enable-*) 559: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 560: # Reject names that are not valid shell variable names. 561: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 562: { echo "$as_me: error: invalid feature name: $ac_feature" >&2 563: { (exit 1); exit 1; }; } 564: ac_feature=`echo $ac_feature | sed 's/-/_/g'` 565: case $ac_option in 566: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 567: *) ac_optarg=yes ;; 568: esac 569: eval "enable_$ac_feature='$ac_optarg'" ;; 570: 571: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 572: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 573: | --exec | --exe | --ex) 574: ac_prev=exec_prefix ;; 575: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 576: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 577: | --exec=* | --exe=* | --ex=*) 578: exec_prefix=$ac_optarg ;; 579: 580: -gas | --gas | --ga | --g) 581: # Obsolete; use --with-gas. 582: with_gas=yes ;; 583: 584: -help | --help | --hel | --he | -h) 585: ac_init_help=long ;; 586: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 587: ac_init_help=recursive ;; 588: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 589: ac_init_help=short ;; 590: 591: -host | --host | --hos | --ho) 592: ac_prev=host_alias ;; 593: -host=* | --host=* | --hos=* | --ho=*) 594: host_alias=$ac_optarg ;; 595: 596: -includedir | --includedir | --includedi | --included | --include \ 597: | --includ | --inclu | --incl | --inc) 598: ac_prev=includedir ;; 599: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 600: | --includ=* | --inclu=* | --incl=* | --inc=*) 601: includedir=$ac_optarg ;; 602: 603: -infodir | --infodir | --infodi | --infod | --info | --inf) 604: ac_prev=infodir ;; 605: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 606: infodir=$ac_optarg ;; 607: 608: -libdir | --libdir | --libdi | --libd) 609: ac_prev=libdir ;; 610: -libdir=* | --libdir=* | --libdi=* | --libd=*) 611: libdir=$ac_optarg ;; 612: 613: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 614: | --libexe | --libex | --libe) 615: ac_prev=libexecdir ;; 616: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 617: | --libexe=* | --libex=* | --libe=*) 618: libexecdir=$ac_optarg ;; 619: 620: -localstatedir | --localstatedir | --localstatedi | --localstated \ 621: | --localstate | --localstat | --localsta | --localst \ 622: | --locals | --local | --loca | --loc | --lo) 623: ac_prev=localstatedir ;; 624: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 625: | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 626: | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 627: localstatedir=$ac_optarg ;; 628: 629: -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 630: ac_prev=mandir ;; 631: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 632: mandir=$ac_optarg ;; 633: 634: -nfp | --nfp | --nf) 635: # Obsolete; use --without-fp. 636: with_fp=no ;; 637: 638: -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 639: | --no-cr | --no-c | -n) 640: no_create=yes ;; 641: 642: -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 643: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 644: no_recursion=yes ;; 645: 646: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 647: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 648: | --oldin | --oldi | --old | --ol | --o) 649: ac_prev=oldincludedir ;; 650: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 651: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 652: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 653: oldincludedir=$ac_optarg ;; 654: 655: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 656: ac_prev=prefix ;; 657: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 658: prefix=$ac_optarg ;; 659: 660: -program-prefix | --program-prefix | --program-prefi | --program-pref \ 661: | --program-pre | --program-pr | --program-p) 662: ac_prev=program_prefix ;; 663: -program-prefix=* | --program-prefix=* | --program-prefi=* \ 664: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 665: program_prefix=$ac_optarg ;; 666: 667: -program-suffix | --program-suffix | --program-suffi | --program-suff \ 668: | --program-suf | --program-su | --program-s) 669: ac_prev=program_suffix ;; 670: -program-suffix=* | --program-suffix=* | --program-suffi=* \ 671: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 672: program_suffix=$ac_optarg ;; 673: 674: -program-transform-name | --program-transform-name \ 675: | --program-transform-nam | --program-transform-na \ 676: | --program-transform-n | --program-transform- \ 677: | --program-transform | --program-transfor \ 678: | --program-transfo | --program-transf \ 679: | --program-trans | --program-tran \ 680: | --progr-tra | --program-tr | --program-t) 681: ac_prev=program_transform_name ;; 682: -program-transform-name=* | --program-transform-name=* \ 683: | --program-transform-nam=* | --program-transform-na=* \ 684: | --program-transform-n=* | --program-transform-=* \ 685: | --program-transform=* | --program-transfor=* \ 686: | --program-transfo=* | --program-transf=* \ 687: | --program-trans=* | --program-tran=* \ 688: | --progr-tra=* | --program-tr=* | --program-t=*) 689: program_transform_name=$ac_optarg ;; 690: 691: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 692: | -silent | --silent | --silen | --sile | --sil) 693: silent=yes ;; 694: 695: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 696: ac_prev=sbindir ;; 697: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 698: | --sbi=* | --sb=*) 699: sbindir=$ac_optarg ;; 700: 701: -sharedstatedir | --sharedstatedir | --sharedstatedi \ 702: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 703: | --sharedst | --shareds | --shared | --share | --shar \ 704: | --sha | --sh) 705: ac_prev=sharedstatedir ;; 706: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 707: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 708: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 709: | --sha=* | --sh=*) 710: sharedstatedir=$ac_optarg ;; 711: 712: -site | --site | --sit) 713: ac_prev=site ;; 714: -site=* | --site=* | --sit=*) 715: site=$ac_optarg ;; 716: 717: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 718: ac_prev=srcdir ;; 719: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 720: srcdir=$ac_optarg ;; 721: 722: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 723: | --syscon | --sysco | --sysc | --sys | --sy) 724: ac_prev=sysconfdir ;; 725: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 726: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 727: sysconfdir=$ac_optarg ;; 728: 729: -target | --target | --targe | --targ | --tar | --ta | --t) 730: ac_prev=target_alias ;; 731: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 732: target_alias=$ac_optarg ;; 733: 734: -v | -verbose | --verbose | --verbos | --verbo | --verb) 735: verbose=yes ;; 736: 737: -version | --version | --versio | --versi | --vers | -V) 738: ac_init_version=: ;; 739: 740: -with-* | --with-*) 741: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 742: # Reject names that are not valid shell variable names. 743: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 744: { echo "$as_me: error: invalid package name: $ac_package" >&2 745: { (exit 1); exit 1; }; } 746: ac_package=`echo $ac_package| sed 's/-/_/g'` 747: case $ac_option in 748: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 749: *) ac_optarg=yes ;; 750: esac 751: eval "with_$ac_package='$ac_optarg'" ;; 752: 753: -without-* | --without-*) 754: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 755: # Reject names that are not valid shell variable names. 756: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 757: { echo "$as_me: error: invalid package name: $ac_package" >&2 758: { (exit 1); exit 1; }; } 759: ac_package=`echo $ac_package | sed 's/-/_/g'` 760: eval "with_$ac_package=no" ;; 761: 762: --x) 763: # Obsolete; use --with-x. 764: with_x=yes ;; 765: 766: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 767: | --x-incl | --x-inc | --x-in | --x-i) 768: ac_prev=x_includes ;; 769: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 770: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 771: x_includes=$ac_optarg ;; 772: 773: -x-libraries | --x-libraries | --x-librarie | --x-librari \ 774: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 775: ac_prev=x_libraries ;; 776: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 777: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 778: x_libraries=$ac_optarg ;; 779: 780: -*) { echo "$as_me: error: unrecognized option: $ac_option 781: Try \`$0 --help' for more information." >&2 782: { (exit 1); exit 1; }; } 783: ;; 784: 785: *=*) 786: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 787: # Reject names that are not valid shell variable names. 788: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 789: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 790: { (exit 1); exit 1; }; } 791: ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 792: eval "$ac_envvar='$ac_optarg'" 793: export $ac_envvar ;; 794: 795: *) 796: # FIXME: should be removed in autoconf 3.0. 797: echo "$as_me: WARNING: you should use --build, --host, --target" >&2 798: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 799: echo "$as_me: WARNING: invalid host type: $ac_option" >&2 800: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 801: ;; 802: 803: esac 804: done 805: 806: if test -n "$ac_prev"; then 807: ac_option=--`echo $ac_prev | sed 's/_/-/g'` 808: { echo "$as_me: error: missing argument to $ac_option" >&2 809: { (exit 1); exit 1; }; } 810: fi