2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for orte 0.2.0.
5 # Report bugs to <petr.smolik@wo.cz>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236 # We need space, tab and new line, in precisely that order.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
255 ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
261 SHELL=${CONFIG_SHELL-/bin/sh}
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
268 # Identity of this package.
270 PACKAGE_TARNAME='orte'
271 PACKAGE_VERSION='0.2.0'
272 PACKAGE_STRING='orte 0.2.0'
273 PACKAGE_BUGREPORT='petr.smolik@wo.cz'
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
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 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 PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LINUX_DIR LINUX_ARCH LINUX_AFLAGS LINUX_LDFLAGS LINUX_ARFLAGS LINUX_CROSS_COMPILE LINUX_KERNELRELEASE LINUX_CFLAGS LINUX_CC LINUX_LD LINUX_AS LINUX_MODULE_EXT CONFIG_RTHAL_TRUE CONFIG_RTHAL_FALSE RTAI_CFLAGS CONFIG_RTLINUX_TRUE CONFIG_RTLINUX_FALSE RTLINUX_CFLAGS CONFIG_ORTE_RT USE_RTAI_TRUE USE_RTAI_FALSE USE_RTLINUX_TRUE USE_RTLINUX_FALSE CONFIG_ORTE_RT_TRUE CONFIG_ORTE_RT_FALSE ORTE_MAJOR_VERSION ORTE_MINOR_VERSION ORTE_MICRO_VERSION ORTE_VERSION moduledir modulePROGRAMS_INSTALL CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE RANLIB ac_ct_RANLIB CPP EGREP INCLUDES CONFIG_ORTE_WIN_TRUE CONFIG_ORTE_WIN_FALSE CONFIG_ORTE_UNIX_TRUE CONFIG_ORTE_UNIX_FALSE LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
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'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
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 ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
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" ;;
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'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
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 ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
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 ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
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 ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
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 ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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 ;;
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 ;;
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 ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
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 ;;
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 ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
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'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
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" ;;
609 # Obsolete; use --with-x.
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 ;;
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 ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
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'"
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}
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; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
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
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
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.
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
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
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 ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
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; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
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}
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}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures orte 0.2.0 to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
840 --build=BUILD configure for building on BUILD [guessed]
841 --host=HOST cross-compile to build programs to run on HOST [BUILD]
842 --target=TARGET configure for building compilers for TARGET [HOST]
846 if test -n "$ac_init_help"; then
847 case $ac_init_help in
848 short | recursive ) echo "Configuration of orte 0.2.0:";;
853 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
854 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing) to the casual installer
857 --disable-dependency-tracking Speeds up one-time builds
858 --enable-dependency-tracking Do not reject slow dependency extractors
861 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
862 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
863 --with-linuxdir=DIR specify path to Linux source directory
864 --with-rtaidir=DIR specify path to RTAI source directory
865 --with-rtlinuxdir=DIR specify path to RTLinux source directory
867 Some influential environment variables:
868 CC C compiler command
869 CFLAGS C compiler flags
870 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
871 nonstandard directory <lib dir>
872 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
873 headers in a nonstandard directory <include dir>
876 Use these variables to override the choices made by `configure' or to help
877 it to find libraries and programs with nonstandard names/locations.
879 Report bugs to <petr.smolik@wo.cz>.
883 if test "$ac_init_help" = "recursive"; then
884 # If there are subdirs, report their specific --help.
886 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
887 test -d $ac_dir || continue
890 if test "$ac_dir" != .; then
891 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
892 # A "../" for each directory in $ac_dir_suffix.
893 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
895 ac_dir_suffix= ac_top_builddir=
899 .) # No --srcdir option. We are building in place.
901 if test -z "$ac_top_builddir"; then
904 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
906 [\\/]* | ?:[\\/]* ) # Absolute path.
907 ac_srcdir=$srcdir$ac_dir_suffix;
908 ac_top_srcdir=$srcdir ;;
910 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
911 ac_top_srcdir=$ac_top_builddir$srcdir ;;
913 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
915 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
916 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
917 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
918 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
921 # Check for guested configure; otherwise get Cygnus style configure.
922 if test -f $ac_srcdir/configure.gnu; then
924 $SHELL $ac_srcdir/configure.gnu --help=recursive
925 elif test -f $ac_srcdir/configure; then
927 $SHELL $ac_srcdir/configure --help=recursive
928 elif test -f $ac_srcdir/configure.ac ||
929 test -f $ac_srcdir/configure.in; then
933 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
939 test -n "$ac_init_help" && exit 0
940 if $ac_init_version; then
943 generated by GNU Autoconf 2.57
945 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
946 Free Software Foundation, Inc.
947 This configure script is free software; the Free Software Foundation
948 gives unlimited permission to copy, distribute and modify it.
954 This file contains any messages produced by compilers while
955 running configure, to aid debugging if configure makes a mistake.
957 It was created by orte $as_me 0.2.0, which was
958 generated by GNU Autoconf 2.57. Invocation command line was
969 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
970 uname -m = `(uname -m) 2>/dev/null || echo unknown`
971 uname -r = `(uname -r) 2>/dev/null || echo unknown`
972 uname -s = `(uname -s) 2>/dev/null || echo unknown`
973 uname -v = `(uname -v) 2>/dev/null || echo unknown`
975 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
976 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
978 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
979 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
980 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
981 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
982 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
983 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
984 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
992 test -z "$as_dir" && as_dir=.
1008 # Keep a trace of the command line.
1009 # Strip out --no-create and --no-recursion so they do not pile up.
1010 # Strip out --silent because we don't want to record it for future runs.
1011 # Also quote any args containing shell meta-characters.
1012 # Make two passes to allow for proper duplicate-argument suppression.
1017 ac_must_keep_next=false
1023 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1024 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1025 | -silent | --silent | --silen | --sile | --sil)
1027 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1028 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1031 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1033 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1034 if test $ac_must_keep_next = true; then
1035 ac_must_keep_next=false # Got value, back to normal.
1038 *=* | --config-cache | -C | -disable-* | --disable-* \
1039 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1040 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1041 | -with-* | --with-* | -without-* | --without-* | --x)
1042 case "$ac_configure_args0 " in
1043 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1046 -* ) ac_must_keep_next=true ;;
1049 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1050 # Get rid of the leading space.
1056 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1057 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1059 # When interrupted or exit'd, cleanup temporary files, and complete
1060 # config.log. We remove comments because anyway the quotes in there
1061 # would cause problems or look ugly.
1062 # WARNING: Be sure not to use single quotes in there, as some shells,
1063 # such as our DU 5.0 friend, will then `close' the trap.
1064 trap 'exit_status=$?
1065 # Save into config.log some information that might help in debugging.
1070 ## ---------------- ##
1071 ## Cache variables. ##
1072 ## ---------------- ##
1075 # The following way of writing the cache mishandles newlines in values,
1078 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1081 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1082 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1086 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1093 ## ----------------- ##
1094 ## Output variables. ##
1095 ## ----------------- ##
1098 for ac_var in $ac_subst_vars
1100 eval ac_val=$`echo $ac_var`
1101 echo "$ac_var='"'"'$ac_val'"'"'"
1105 if test -n "$ac_subst_files"; then
1112 for ac_var in $ac_subst_files
1114 eval ac_val=$`echo $ac_var`
1115 echo "$ac_var='"'"'$ac_val'"'"'"
1120 if test -s confdefs.h; then
1127 sed "/^$/d" confdefs.h | sort
1130 test "$ac_signal" != 0 &&
1131 echo "$as_me: caught signal $ac_signal"
1132 echo "$as_me: exit $exit_status"
1134 rm -f core core.* *.core &&
1135 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1138 for ac_signal in 1 2 13 15; do
1139 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1143 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1144 rm -rf conftest* confdefs.h
1145 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1148 # Predefined preprocessor variables.
1150 cat >>confdefs.h <<_ACEOF
1151 #define PACKAGE_NAME "$PACKAGE_NAME"
1155 cat >>confdefs.h <<_ACEOF
1156 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1160 cat >>confdefs.h <<_ACEOF
1161 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1165 cat >>confdefs.h <<_ACEOF
1166 #define PACKAGE_STRING "$PACKAGE_STRING"
1170 cat >>confdefs.h <<_ACEOF
1171 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1175 # Let the site file select an alternate cache file if it wants to.
1176 # Prefer explicitly selected file to automatically selected ones.
1177 if test -z "$CONFIG_SITE"; then
1178 if test "x$prefix" != xNONE; then
1179 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1181 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1184 for ac_site_file in $CONFIG_SITE; do
1185 if test -r "$ac_site_file"; then
1186 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1187 echo "$as_me: loading site script $ac_site_file" >&6;}
1188 sed 's/^/| /' "$ac_site_file" >&5
1193 if test -r "$cache_file"; then
1194 # Some versions of bash will fail to source /dev/null (special
1195 # files actually), so we avoid doing that.
1196 if test -f "$cache_file"; then
1197 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1198 echo "$as_me: loading cache $cache_file" >&6;}
1200 [\\/]* | ?:[\\/]* ) . $cache_file;;
1201 *) . ./$cache_file;;
1205 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1206 echo "$as_me: creating cache $cache_file" >&6;}
1210 # Check that the precious variables saved in the cache have kept the same
1212 ac_cache_corrupted=false
1213 for ac_var in `(set) 2>&1 |
1214 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1215 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1216 eval ac_new_set=\$ac_env_${ac_var}_set
1217 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1218 eval ac_new_val="\$ac_env_${ac_var}_value"
1219 case $ac_old_set,$ac_new_set in
1221 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1222 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1223 ac_cache_corrupted=: ;;
1225 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1226 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1227 ac_cache_corrupted=: ;;
1230 if test "x$ac_old_val" != "x$ac_new_val"; then
1231 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1232 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1233 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1234 echo "$as_me: former value: $ac_old_val" >&2;}
1235 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1236 echo "$as_me: current value: $ac_new_val" >&2;}
1237 ac_cache_corrupted=:
1240 # Pass precious variables to config.status.
1241 if test "$ac_new_set" = set; then
1243 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1244 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1245 *) ac_arg=$ac_var=$ac_new_val ;;
1247 case " $ac_configure_args " in
1248 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1249 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1253 if $ac_cache_corrupted; then
1254 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1255 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1256 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1257 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1258 { (exit 1); exit 1; }; }
1262 ac_cpp='$CPP $CPPFLAGS'
1263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1294 for ac_dir in admin $srcdir/admin; do
1295 if test -f $ac_dir/install-sh; then
1297 ac_install_sh="$ac_aux_dir/install-sh -c"
1299 elif test -f $ac_dir/install.sh; then
1301 ac_install_sh="$ac_aux_dir/install.sh -c"
1303 elif test -f $ac_dir/shtool; then
1305 ac_install_sh="$ac_aux_dir/shtool install -c"
1309 if test -z "$ac_aux_dir"; then
1310 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&5
1311 echo "$as_me: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&2;}
1312 { (exit 1); exit 1; }; }
1314 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1315 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1316 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1319 #Check for CPU / vendor / OS
1320 # Make sure we can run config.sub.
1321 $ac_config_sub sun4 >/dev/null 2>&1 ||
1322 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1323 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1324 { (exit 1); exit 1; }; }
1326 echo "$as_me:$LINENO: checking build system type" >&5
1327 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1328 if test "${ac_cv_build+set}" = set; then
1329 echo $ECHO_N "(cached) $ECHO_C" >&6
1331 ac_cv_build_alias=$build_alias
1332 test -z "$ac_cv_build_alias" &&
1333 ac_cv_build_alias=`$ac_config_guess`
1334 test -z "$ac_cv_build_alias" &&
1335 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1336 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1337 { (exit 1); exit 1; }; }
1338 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1339 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1340 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1341 { (exit 1); exit 1; }; }
1344 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1345 echo "${ECHO_T}$ac_cv_build" >&6
1347 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1348 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1349 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1352 echo "$as_me:$LINENO: checking host system type" >&5
1353 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1354 if test "${ac_cv_host+set}" = set; then
1355 echo $ECHO_N "(cached) $ECHO_C" >&6
1357 ac_cv_host_alias=$host_alias
1358 test -z "$ac_cv_host_alias" &&
1359 ac_cv_host_alias=$ac_cv_build_alias
1360 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1361 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1362 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1363 { (exit 1); exit 1; }; }
1366 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1367 echo "${ECHO_T}$ac_cv_host" >&6
1369 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1370 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1371 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1374 echo "$as_me:$LINENO: checking target system type" >&5
1375 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1376 if test "${ac_cv_target+set}" = set; then
1377 echo $ECHO_N "(cached) $ECHO_C" >&6
1379 ac_cv_target_alias=$target_alias
1380 test "x$ac_cv_target_alias" = "x" &&
1381 ac_cv_target_alias=$ac_cv_host_alias
1382 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1383 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1384 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1385 { (exit 1); exit 1; }; }
1388 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1389 echo "${ECHO_T}$ac_cv_target" >&6
1390 target=$ac_cv_target
1391 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1392 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1393 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1396 # The aliases save the names the user supplied, while $host etc.
1397 # will get canonicalized.
1398 test -n "$target_alias" &&
1399 test "$program_prefix$program_suffix$program_transform_name" = \
1401 program_prefix=${target_alias}-
1402 # Add the stamp file to the list of files AC keeps track of,
1403 # along with our hook.
1404 ac_config_headers="$ac_config_headers orte/include/config.h"
1408 am__api_version="1.6"
1409 # Find a good install program. We prefer a C program (faster),
1410 # so one script is as good as another. But avoid the broken or
1411 # incompatible versions:
1412 # SysV /etc/install, /usr/sbin/install
1413 # SunOS /usr/etc/install
1414 # IRIX /sbin/install
1416 # AmigaOS /C/install, which installs bootblocks on floppy discs
1417 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1418 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1419 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1420 # ./install, which can be erroneously created by make from ./install.sh.
1421 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1422 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1423 if test -z "$INSTALL"; then
1424 if test "${ac_cv_path_install+set}" = set; then
1425 echo $ECHO_N "(cached) $ECHO_C" >&6
1427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1431 test -z "$as_dir" && as_dir=.
1432 # Account for people who put trailing slashes in PATH elements.
1434 ./ | .// | /cC/* | \
1435 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1438 # OSF1 and SCO ODT 3.0 have their own names for install.
1439 # Don't use installbsd from OSF since it installs stuff as root
1441 for ac_prog in ginstall scoinst install; do
1442 for ac_exec_ext in '' $ac_executable_extensions; do
1443 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1444 if test $ac_prog = install &&
1445 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1446 # AIX install. It has an incompatible calling convention.
1448 elif test $ac_prog = install &&
1449 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1450 # program-specific install script used by HP pwplus--don't use.
1453 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1465 if test "${ac_cv_path_install+set}" = set; then
1466 INSTALL=$ac_cv_path_install
1468 # As a last resort, use the slow shell script. We don't cache a
1469 # path for INSTALL within a source directory, because that will
1470 # break other packages using the cache if that directory is
1471 # removed, or if the path is relative.
1472 INSTALL=$ac_install_sh
1475 echo "$as_me:$LINENO: result: $INSTALL" >&5
1476 echo "${ECHO_T}$INSTALL" >&6
1478 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1479 # It thinks the first close brace ends the variable substitution.
1480 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1482 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1484 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1486 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1487 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1490 echo timestamp > conftest.file
1491 # Do `set' in a subshell so we don't clobber the current shell's
1492 # arguments. Must try -L first in case configure is actually a
1493 # symlink; some systems play weird games with the mod time of symlinks
1494 # (eg FreeBSD returns the mod time of the symlink's containing
1497 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1498 if test "$*" = "X"; then
1500 set X `ls -t $srcdir/configure conftest.file`
1503 if test "$*" != "X $srcdir/configure conftest.file" \
1504 && test "$*" != "X conftest.file $srcdir/configure"; then
1506 # If neither matched, then we have a broken ls. This can happen
1507 # if, for instance, CONFIG_SHELL is bash and it inherits a
1508 # broken ls alias from the environment. This has actually
1509 # happened. Such a system could not be considered "sane".
1510 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1511 alias in your environment" >&5
1512 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1513 alias in your environment" >&2;}
1514 { (exit 1); exit 1; }; }
1517 test "$2" = conftest.file
1523 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1524 Check your system clock" >&5
1525 echo "$as_me: error: newly created file is older than distributed files!
1526 Check your system clock" >&2;}
1527 { (exit 1); exit 1; }; }
1529 echo "$as_me:$LINENO: result: yes" >&5
1530 echo "${ECHO_T}yes" >&6
1531 test "$program_prefix" != NONE &&
1532 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1533 # Use a double $ so make ignores it.
1534 test "$program_suffix" != NONE &&
1535 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1536 # Double any \ or $. echo might interpret backslashes.
1537 # By default was `s,x,x', remove it if useless.
1538 cat <<\_ACEOF >conftest.sed
1539 s/[\\$]/&&/g;s/;s,x,x,$//
1541 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1545 # expand $ac_aux_dir to an absolute path
1546 am_aux_dir=`cd $ac_aux_dir && pwd`
1548 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1549 # Use eval to expand $SHELL
1550 if eval "$MISSING --run true"; then
1551 am_missing_run="$MISSING --run "
1554 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1555 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1558 for ac_prog in gawk mawk nawk awk
1560 # Extract the first word of "$ac_prog", so it can be a program name with args.
1561 set dummy $ac_prog; ac_word=$2
1562 echo "$as_me:$LINENO: checking for $ac_word" >&5
1563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1564 if test "${ac_cv_prog_AWK+set}" = set; then
1565 echo $ECHO_N "(cached) $ECHO_C" >&6
1567 if test -n "$AWK"; then
1568 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1574 test -z "$as_dir" && as_dir=.
1575 for ac_exec_ext in '' $ac_executable_extensions; do
1576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1577 ac_cv_prog_AWK="$ac_prog"
1578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1587 if test -n "$AWK"; then
1588 echo "$as_me:$LINENO: result: $AWK" >&5
1589 echo "${ECHO_T}$AWK" >&6
1591 echo "$as_me:$LINENO: result: no" >&5
1592 echo "${ECHO_T}no" >&6
1595 test -n "$AWK" && break
1598 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1599 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1600 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1601 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1602 echo $ECHO_N "(cached) $ECHO_C" >&6
1604 cat >conftest.make <<\_ACEOF
1606 @echo 'ac_maketemp="$(MAKE)"'
1608 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1609 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1610 if test -n "$ac_maketemp"; then
1611 eval ac_cv_prog_make_${ac_make}_set=yes
1613 eval ac_cv_prog_make_${ac_make}_set=no
1617 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1618 echo "$as_me:$LINENO: result: yes" >&5
1619 echo "${ECHO_T}yes" >&6
1622 echo "$as_me:$LINENO: result: no" >&5
1623 echo "${ECHO_T}no" >&6
1624 SET_MAKE="MAKE=${MAKE-make}"
1627 # test to see if srcdir already configured
1628 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1629 test -f $srcdir/config.status; then
1630 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1631 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1632 { (exit 1); exit 1; }; }
1635 # Define the identity of the package.
1640 cat >>confdefs.h <<_ACEOF
1641 #define PACKAGE "$PACKAGE"
1645 cat >>confdefs.h <<_ACEOF
1646 #define VERSION "$VERSION"
1649 # Some tools Automake needs.
1651 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1654 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1657 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1660 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1663 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1666 AMTAR=${AMTAR-"${am_missing_run}tar"}
1668 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1670 # Installed binaries are usually stripped using `strip' when the user
1671 # run `make install-strip'. However `strip' might not be the right
1672 # tool to use in cross-compilation environments, therefore Automake
1673 # will honor the `STRIP' environment variable to overrule this program.
1674 if test "$cross_compiling" != no; then
1675 if test -n "$ac_tool_prefix"; then
1676 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1677 set dummy ${ac_tool_prefix}strip; ac_word=$2
1678 echo "$as_me:$LINENO: checking for $ac_word" >&5
1679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1680 if test "${ac_cv_prog_STRIP+set}" = set; then
1681 echo $ECHO_N "(cached) $ECHO_C" >&6
1683 if test -n "$STRIP"; then
1684 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1690 test -z "$as_dir" && as_dir=.
1691 for ac_exec_ext in '' $ac_executable_extensions; do
1692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1693 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1702 STRIP=$ac_cv_prog_STRIP
1703 if test -n "$STRIP"; then
1704 echo "$as_me:$LINENO: result: $STRIP" >&5
1705 echo "${ECHO_T}$STRIP" >&6
1707 echo "$as_me:$LINENO: result: no" >&5
1708 echo "${ECHO_T}no" >&6
1712 if test -z "$ac_cv_prog_STRIP"; then
1714 # Extract the first word of "strip", so it can be a program name with args.
1715 set dummy strip; ac_word=$2
1716 echo "$as_me:$LINENO: checking for $ac_word" >&5
1717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1718 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1721 if test -n "$ac_ct_STRIP"; then
1722 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1728 test -z "$as_dir" && as_dir=.
1729 for ac_exec_ext in '' $ac_executable_extensions; do
1730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1731 ac_cv_prog_ac_ct_STRIP="strip"
1732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1738 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1741 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1742 if test -n "$ac_ct_STRIP"; then
1743 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1744 echo "${ECHO_T}$ac_ct_STRIP" >&6
1746 echo "$as_me:$LINENO: result: no" >&5
1747 echo "${ECHO_T}no" >&6
1752 STRIP="$ac_cv_prog_STRIP"
1756 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1758 # We need awk for the "check" target. The system "awk" is bad on
1763 # Activate maintainer mode
1764 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1765 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1766 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1767 if test "${enable_maintainer_mode+set}" = set; then
1768 enableval="$enable_maintainer_mode"
1769 USE_MAINTAINER_MODE=$enableval
1771 USE_MAINTAINER_MODE=no
1773 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1774 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1777 if test $USE_MAINTAINER_MODE = yes; then
1778 MAINTAINER_MODE_TRUE=
1779 MAINTAINER_MODE_FALSE='#'
1781 MAINTAINER_MODE_TRUE='#'
1782 MAINTAINER_MODE_FALSE=
1785 MAINT=$MAINTAINER_MODE_TRUE
1792 # Check whether --with-linuxdir or --without-linuxdir was given.
1793 if test "${with_linuxdir+set}" = set; then
1794 withval="$with_linuxdir"
1795 LINUX_DIR="${withval}"
1800 if test "${LINUX_DIR}" != "default" ; then
1801 echo "$as_me:$LINENO: checking for Linux in ${LINUX_DIR}" >&5
1802 echo $ECHO_N "checking for Linux in ${LINUX_DIR}... $ECHO_C" >&6
1804 if test -f "${LINUX_DIR}/Makefile" ; then
1809 { { echo "$as_me:$LINENO: error: Linux dir not found" >&5
1810 echo "$as_me: error: Linux dir not found" >&2;}
1811 { (exit 1); exit 1; }; }
1814 echo "$as_me:$LINENO: result: $result" >&5
1815 echo "${ECHO_T}$result" >&6
1819 if test "${LINUX_DIR}" = "default" ; then
1820 dir="/lib/modules/`uname -r`/build";
1821 echo "$as_me:$LINENO: checking for Linux in ${dir}" >&5
1822 echo $ECHO_N "checking for Linux in ${dir}... $ECHO_C" >&6
1824 if test -f "${dir}/Makefile" ; then
1832 echo "$as_me:$LINENO: result: $result" >&5
1833 echo "${ECHO_T}$result" >&6
1836 if test "${LINUX_DIR}" = "default" ; then
1838 echo "$as_me:$LINENO: checking for Linux in ${dir}" >&5
1839 echo $ECHO_N "checking for Linux in ${dir}... $ECHO_C" >&6
1841 if test -f "${dir}/Makefile" ; then
1849 echo "$as_me:$LINENO: result: $result" >&5
1850 echo "${ECHO_T}$result" >&6
1853 if test "${LINUX_DIR}" = "default" ; then
1854 dir="/usr/src/linux";
1855 echo "$as_me:$LINENO: checking for Linux in ${dir}" >&5
1856 echo $ECHO_N "checking for Linux in ${dir}... $ECHO_C" >&6
1858 if test -f "${dir}/Makefile" ; then
1866 echo "$as_me:$LINENO: result: $result" >&5
1867 echo "${ECHO_T}$result" >&6
1871 # if test "${LINUX_DIR}" = "default" ; then
1872 # AC_MSG_ERROR([Linux source directory not found])
1878 echo "$as_me:$LINENO: checking Linux version" >&5
1879 echo $ECHO_N "checking Linux version... $ECHO_C" >&6
1881 if test "${LINUX_DIR}" != "default" ; then
1883 if [ ! -f "${LINUX_DIR}/.config" ];then
1884 { { echo "$as_me:$LINENO: error:
1885 The kernel source tree at ${LINUX_DIR} is not configured.
1886 Fix before continuing." >&5
1887 echo "$as_me: error:
1888 The kernel source tree at ${LINUX_DIR} is not configured.
1889 Fix before continuing." >&2;}
1890 { (exit 1); exit 1; }; }
1893 if [ ! -f "${LINUX_DIR}/include/linux/version.h" ];then
1894 { { echo "$as_me:$LINENO: error: The header file include/linux/version.h does not exist.
1895 For 2.6 kernels, it can be generated by running 'make prepare' in
1896 the kernel source directory." >&5
1897 echo "$as_me: error: The header file include/linux/version.h does not exist.
1898 For 2.6 kernels, it can be generated by running 'make prepare' in
1899 the kernel source directory." >&2;}
1900 { (exit 1); exit 1; }; }
1903 LINUX_VERSION=$(grep UTS_RELEASE ${LINUX_DIR}/include/linux/version.h | \
1904 sed 's/[^"]*"\(.*\)\{1\}"/\1/')
1906 echo "$as_me:$LINENO: result: $LINUX_VERSION" >&5
1907 echo "${ECHO_T}$LINUX_VERSION" >&6
1909 LINUX_VERSION_MAJOR=$(echo ${LINUX_VERSION} | cut -d. -f1)
1910 LINUX_VERSION_MINOR=$(echo ${LINUX_VERSION} | cut -d. -f2)
1912 case $LINUX_VERSION_MAJOR.$LINUX_VERSION_MINOR in
1915 echo "$as_me:$LINENO: checking for Linux CFLAGS" >&5
1916 echo $ECHO_N "checking for Linux CFLAGS... $ECHO_C" >&6
1918 tmpdir="`pwd`/tmp-noicrwa"
1923 cat >${tmpdir}/Makefile <<EOF
1926 \$(obj)/fake.c: flags
1927 touch \$(obj)/fake.c
1931 echo LINUX_ARCH=\"\$(ARCH)\" >>\$(obj)/flags
1932 echo LINUX_AFLAGS=\"\$(AFLAGS)\" | sed 's_Iinclude_I"\$(LINUXDIR)/include"_g'>>\$(obj)/flags
1933 echo LINUX_LDFLAGS=\"\" >>\$(obj)/flags
1934 echo LINUX_ARFLAGS=\"\$(ARFLAGS)\" >>\$(obj)/flags
1935 echo LINUX_CROSS_COMPILE=\"\$(CROSS_COMPILE)\" >>\$(obj)/flags
1936 echo LINUX_KERNELRELEASE=\"\$(KERNELRELEASE)\" >>\$(obj)/flags
1937 echo LINUX_CFLAGS=\"\$(CFLAGS)\" | sed 's_Iinclude_I"\$(LINUXDIR)/include"_g'>>\$(obj)/flags
1938 echo LINUX_CC=\"\$(CC)\" >>\$(obj)/flags
1939 echo LINUX_LD=\"\$(LD) \$(LDFLAGS)\" >>\$(obj)/flags
1940 echo LINUX_AS=\"\$(AS)\" >>\$(obj)/flags
1943 echo ${MAKE-make} -C ${LINUX_DIR} V=1 SUBDIRS=${tmpdir} LINUXDIR=${LINUX_DIR} MODVERDIR=${tmpdir} modules >&5 2>&5
1944 ${MAKE-make} -C ${LINUX_DIR} V=1 SUBDIRS=${tmpdir} LINUXDIR=${LINUX_DIR} MODVERDIR=${tmpdir} modules >&5 2>&5
1948 LINUX_MODULE_EXT=".ko"
1962 echo "$as_me:$LINENO: result: ok" >&5
1963 echo "${ECHO_T}ok" >&6
1968 echo "$as_me:$LINENO: checking for Linux CFLAGS" >&5
1969 echo $ECHO_N "checking for Linux CFLAGS... $ECHO_C" >&6
1971 if [ ! -f "${LINUX_DIR}/.hdepend" ];then
1972 { { echo "$as_me:$LINENO: error:
1973 You need to run 'make dep' on the kernel source before continuing." >&5
1974 echo "$as_me: error:
1975 You need to run 'make dep' on the kernel source before continuing." >&2;}
1976 { (exit 1); exit 1; }; }
1979 tmpdir="`pwd`/tmp-noicrwa"
1984 cat >${tmpdir}/Makefile <<EOF
1988 echo LINUX_ARCH=\"\$(ARCH)\" >>flags
1989 echo LINUX_AFLAGS=\"\$(AFLAGS)\" | sed 's_Iinclude_I\"\$(LINUXDIR)/include\"_g'>>flags
1990 echo LINUX_LDFLAGS=\"\" >>flags
1991 echo LINUX_ARFLAGS=\"\$(ARFLAGS)\" >>flags
1992 echo LINUX_CROSS_COMPILE=\"\$(CROSS_COMPILE)\" >>flags
1993 echo LINUX_KERNELRELEASE=\"\$(KERNELRELEASE)\" >>flags
1994 echo LINUX_CFLAGS=\"\$(CFLAGS)\" | sed 's_Iinclude_I\"\$(LINUXDIR)/include\"_g'>>flags
1995 echo LINUX_CC=\"\$(CC)\" >>flags
1996 echo LINUX_LD=\"\$(LD) \$(LDFLAGS)\" >>flags
1997 echo LINUX_AS=\"\$(AS)\" >>flags
2000 echo ${MAKE-make} -C ${LINUX_DIR} SUBDIRS=${tmpdir} modules >&5 2>&5
2001 ${MAKE-make} -C ${LINUX_DIR} SUBDIRS=${tmpdir} modules >&5 2>&5
2005 LINUX_MODULE_EXT=".o"
2019 echo "$as_me:$LINENO: result: ok" >&5
2020 echo "${ECHO_T}ok" >&6
2024 { { echo "$as_me:$LINENO: error: Unknown Linux major.minor $LINUX_VERSION_MAJOR.$LINUX_VERSION_MINOR" >&5
2025 echo "$as_me: error: Unknown Linux major.minor $LINUX_VERSION_MAJOR.$LINUX_VERSION_MINOR" >&2;}
2026 { (exit 1); exit 1; }; }
2030 echo "$as_me:$LINENO: result: \"none\"" >&5
2031 echo "${ECHO_T}\"none\"" >&6
2037 # Check whether --with-rtaidir or --without-rtaidir was given.
2038 if test "${with_rtaidir+set}" = set; then
2039 withval="$with_rtaidir"
2040 RTAI_DIR="${withval}"
2042 RTAI_DIR=/usr/src/rtai
2047 echo "$as_me:$LINENO: checking Linux config option CONFIG_RTHAL" >&5
2048 echo $ECHO_N "checking Linux config option CONFIG_RTHAL... $ECHO_C" >&6
2050 if grep '^CONFIG_RTHAL=y$' ${LINUX_DIR}/.config >/dev/null 2>/dev/null; then
2053 else if grep '^CONFIG_RTHAL=m$' ${LINUX_DIR}/.config >/dev/null 2>/dev/null; then
2062 echo "$as_me:$LINENO: result: $result" >&5
2063 echo "${ECHO_T}$result" >&6
2068 if test "${CONFIG_RTHAL}" = yes -o "${CONFIG_RTHAL}" = module; then
2070 CONFIG_RTHAL_FALSE='#'
2072 CONFIG_RTHAL_TRUE='#'
2078 if test "${CONFIG_RTHAL}" != "no" ; then
2079 echo "$as_me:$LINENO: checking RTAI directory ${RTAI_DIR}" >&5
2080 echo $ECHO_N "checking RTAI directory ${RTAI_DIR}... $ECHO_C" >&6
2081 if [ -d ${RTAI_DIR}/include ] ; then
2082 RTAI_CFLAGS="-I${RTAI_DIR}/include"
2084 if -d ${RTAI_DIR}/rtai-core/include ; then
2085 RTAI_CFLAGS="-I${RTAI_DIR}/rtai-core/include"
2087 { { echo "$as_me:$LINENO: error: incorrect RTAI directory?" >&5
2088 echo "$as_me: error: incorrect RTAI directory?" >&2;}
2089 { (exit 1); exit 1; }; }
2093 echo "$as_me:$LINENO: result: found" >&5
2094 echo "${ECHO_T}found" >&6
2096 cat >>confdefs.h <<\_ACEOF
2097 #define CONFIG_ORTE_RTAI 1
2108 # Check whether --with-rtlinuxdir or --without-rtlinuxdir was given.
2109 if test "${with_rtlinuxdir+set}" = set; then
2110 withval="$with_rtlinuxdir"
2111 RTL_DIR="${withval}"
2113 RTL_DIR=/usr/src/rtlinux
2118 echo "$as_me:$LINENO: checking Linux config option CONFIG_RTLINUX" >&5
2119 echo $ECHO_N "checking Linux config option CONFIG_RTLINUX... $ECHO_C" >&6
2121 if grep '^CONFIG_RTLINUX=y$' ${LINUX_DIR}/.config >/dev/null 2>/dev/null; then
2124 else if grep '^CONFIG_RTLINUX=m$' ${LINUX_DIR}/.config >/dev/null 2>/dev/null; then
2126 CONFIG_RTLINUX=module
2133 echo "$as_me:$LINENO: result: $result" >&5
2134 echo "${ECHO_T}$result" >&6
2139 if test "${CONFIG_RTLINUX}" = yes -o "${CONFIG_RTLINUX}" = module; then
2140 CONFIG_RTLINUX_TRUE=
2141 CONFIG_RTLINUX_FALSE='#'
2143 CONFIG_RTLINUX_TRUE='#'
2144 CONFIG_RTLINUX_FALSE=
2149 if test "${CONFIG_RTLINUX}" != "no" ; then
2150 echo "$as_me:$LINENO: checking RTLinux directory ${RTL_DIR} for rtl.mk" >&5
2151 echo $ECHO_N "checking RTLinux directory ${RTL_DIR} for rtl.mk... $ECHO_C" >&6
2152 if [ -d ${RTL_DIR}/include ] ; then
2153 RTLINUX_CFLAGS=`sed -n -e 's/^CFLAGS *=\(.*\)$/\1/p' ${RTL_DIR}/rtl.mk`
2155 { { echo "$as_me:$LINENO: error: incorrect RTLinux directory?" >&5
2156 echo "$as_me: error: incorrect RTLinux directory?" >&2;}
2157 { (exit 1); exit 1; }; }
2159 echo "$as_me:$LINENO: result: found" >&5
2160 echo "${ECHO_T}found" >&6
2162 cat >>confdefs.h <<\_ACEOF
2163 #define CONFIG_ORTE_RTL 1
2172 if test ${USE_RTAI} == "yes" -o ${USE_RTLINUX} == "yes" ; then
2174 cat >>confdefs.h <<\_ACEOF
2175 #define CONFIG_ORTE_RT 1
2178 CONFIG_ORTE_RT="yes"
2183 if test ${USE_RTAI} == "yes"; then
2193 if test ${USE_RTLINUX} == "yes"; then
2195 USE_RTLINUX_FALSE='#'
2197 USE_RTLINUX_TRUE='#'
2203 if test ${USE_RTAI} == "yes" -o ${USE_RTLINUX} == "yes"; then
2204 CONFIG_ORTE_RT_TRUE=
2205 CONFIG_ORTE_RT_FALSE='#'
2207 CONFIG_ORTE_RT_TRUE='#'
2208 CONFIG_ORTE_RT_FALSE=
2214 ###############################
2216 ORTE_MAJOR_VERSION=0
2217 ORTE_MINOR_VERSION=2
2218 ORTE_MICRO_VERSION=0
2219 ORTE_VERSION=$ORTE_MAJOR_VERSION.$ORTE_MINOR_VERSION.$ORTE_MICRO_VERSION
2226 ###############################
2228 moduledir="\$(libdir)/modules/\$(LINUX_KERNELRELEASE)/orte"
2229 modulePROGRAMS_INSTALL="\$(top_builddir)/modtool --install"
2230 modulePROGRAMS_UNINSTALL="\$(top_builddir)/modtool --uninstall"
2234 ###############################
2235 # Checks for programs.
2237 ac_cpp='$CPP $CPPFLAGS'
2238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2241 if test -n "$ac_tool_prefix"; then
2242 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2243 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2244 echo "$as_me:$LINENO: checking for $ac_word" >&5
2245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2246 if test "${ac_cv_prog_CC+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2249 if test -n "$CC"; then
2250 ac_cv_prog_CC="$CC" # Let the user override the test.
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2256 test -z "$as_dir" && as_dir=.
2257 for ac_exec_ext in '' $ac_executable_extensions; do
2258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2259 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2269 if test -n "$CC"; then
2270 echo "$as_me:$LINENO: result: $CC" >&5
2271 echo "${ECHO_T}$CC" >&6
2273 echo "$as_me:$LINENO: result: no" >&5
2274 echo "${ECHO_T}no" >&6
2278 if test -z "$ac_cv_prog_CC"; then
2280 # Extract the first word of "gcc", so it can be a program name with args.
2281 set dummy gcc; ac_word=$2
2282 echo "$as_me:$LINENO: checking for $ac_word" >&5
2283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2284 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2285 echo $ECHO_N "(cached) $ECHO_C" >&6
2287 if test -n "$ac_ct_CC"; then
2288 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 test -z "$as_dir" && as_dir=.
2295 for ac_exec_ext in '' $ac_executable_extensions; do
2296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2297 ac_cv_prog_ac_ct_CC="gcc"
2298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2307 if test -n "$ac_ct_CC"; then
2308 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2309 echo "${ECHO_T}$ac_ct_CC" >&6
2311 echo "$as_me:$LINENO: result: no" >&5
2312 echo "${ECHO_T}no" >&6
2320 if test -z "$CC"; then
2321 if test -n "$ac_tool_prefix"; then
2322 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2323 set dummy ${ac_tool_prefix}cc; ac_word=$2
2324 echo "$as_me:$LINENO: checking for $ac_word" >&5
2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2326 if test "${ac_cv_prog_CC+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6
2329 if test -n "$CC"; then
2330 ac_cv_prog_CC="$CC" # Let the user override the test.
2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2336 test -z "$as_dir" && as_dir=.
2337 for ac_exec_ext in '' $ac_executable_extensions; do
2338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2339 ac_cv_prog_CC="${ac_tool_prefix}cc"
2340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2349 if test -n "$CC"; then
2350 echo "$as_me:$LINENO: result: $CC" >&5
2351 echo "${ECHO_T}$CC" >&6
2353 echo "$as_me:$LINENO: result: no" >&5
2354 echo "${ECHO_T}no" >&6
2358 if test -z "$ac_cv_prog_CC"; then
2360 # Extract the first word of "cc", so it can be a program name with args.
2361 set dummy cc; ac_word=$2
2362 echo "$as_me:$LINENO: checking for $ac_word" >&5
2363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2364 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2365 echo $ECHO_N "(cached) $ECHO_C" >&6
2367 if test -n "$ac_ct_CC"; then
2368 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2374 test -z "$as_dir" && as_dir=.
2375 for ac_exec_ext in '' $ac_executable_extensions; do
2376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2377 ac_cv_prog_ac_ct_CC="cc"
2378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2386 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2387 if test -n "$ac_ct_CC"; then
2388 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2389 echo "${ECHO_T}$ac_ct_CC" >&6
2391 echo "$as_me:$LINENO: result: no" >&5
2392 echo "${ECHO_T}no" >&6
2401 if test -z "$CC"; then
2402 # Extract the first word of "cc", so it can be a program name with args.
2403 set dummy cc; ac_word=$2
2404 echo "$as_me:$LINENO: checking for $ac_word" >&5
2405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2406 if test "${ac_cv_prog_CC+set}" = set; then
2407 echo $ECHO_N "(cached) $ECHO_C" >&6
2409 if test -n "$CC"; then
2410 ac_cv_prog_CC="$CC" # Let the user override the test.
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417 test -z "$as_dir" && as_dir=.
2418 for ac_exec_ext in '' $ac_executable_extensions; do
2419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2420 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2421 ac_prog_rejected=yes
2425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2431 if test $ac_prog_rejected = yes; then
2432 # We found a bogon in the path, so make sure we never use it.
2433 set dummy $ac_cv_prog_CC
2435 if test $# != 0; then
2436 # We chose a different compiler from the bogus one.
2437 # However, it has the same basename, so the bogon will be chosen
2438 # first if we set CC to just the basename; use the full file name.
2440 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2446 if test -n "$CC"; then
2447 echo "$as_me:$LINENO: result: $CC" >&5
2448 echo "${ECHO_T}$CC" >&6
2450 echo "$as_me:$LINENO: result: no" >&5
2451 echo "${ECHO_T}no" >&6
2455 if test -z "$CC"; then
2456 if test -n "$ac_tool_prefix"; then
2459 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2460 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2461 echo "$as_me:$LINENO: checking for $ac_word" >&5
2462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2463 if test "${ac_cv_prog_CC+set}" = set; then
2464 echo $ECHO_N "(cached) $ECHO_C" >&6
2466 if test -n "$CC"; then
2467 ac_cv_prog_CC="$CC" # Let the user override the test.
2469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2473 test -z "$as_dir" && as_dir=.
2474 for ac_exec_ext in '' $ac_executable_extensions; do
2475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2476 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2486 if test -n "$CC"; then
2487 echo "$as_me:$LINENO: result: $CC" >&5
2488 echo "${ECHO_T}$CC" >&6
2490 echo "$as_me:$LINENO: result: no" >&5
2491 echo "${ECHO_T}no" >&6
2494 test -n "$CC" && break
2497 if test -z "$CC"; then
2501 # Extract the first word of "$ac_prog", so it can be a program name with args.
2502 set dummy $ac_prog; ac_word=$2
2503 echo "$as_me:$LINENO: checking for $ac_word" >&5
2504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2505 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 if test -n "$ac_ct_CC"; then
2509 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2515 test -z "$as_dir" && as_dir=.
2516 for ac_exec_ext in '' $ac_executable_extensions; do
2517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2518 ac_cv_prog_ac_ct_CC="$ac_prog"
2519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2527 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2528 if test -n "$ac_ct_CC"; then
2529 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2530 echo "${ECHO_T}$ac_ct_CC" >&6
2532 echo "$as_me:$LINENO: result: no" >&5
2533 echo "${ECHO_T}no" >&6
2536 test -n "$ac_ct_CC" && break
2545 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2546 See \`config.log' for more details." >&5
2547 echo "$as_me: error: no acceptable C compiler found in \$PATH
2548 See \`config.log' for more details." >&2;}
2549 { (exit 1); exit 1; }; }
2551 # Provide some information about the compiler.
2552 echo "$as_me:$LINENO:" \
2553 "checking for C compiler version" >&5
2554 ac_compiler=`set X $ac_compile; echo $2`
2555 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2556 (eval $ac_compiler --version </dev/null >&5) 2>&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }
2560 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2561 (eval $ac_compiler -v </dev/null >&5) 2>&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }
2565 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2566 (eval $ac_compiler -V </dev/null >&5) 2>&5
2568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569 (exit $ac_status); }
2571 cat >conftest.$ac_ext <<_ACEOF
2572 #line $LINENO "configure"
2575 cat confdefs.h >>conftest.$ac_ext
2576 cat >>conftest.$ac_ext <<_ACEOF
2577 /* end confdefs.h. */
2587 ac_clean_files_save=$ac_clean_files
2588 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2589 # Try to create an executable without -o first, disregard a.out.
2590 # It will help us diagnose broken compilers, and finding out an intuition
2592 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2593 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2594 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2595 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2596 (eval $ac_link_default) 2>&5
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; then
2600 # Find the output, starting from the most likely. This scheme is
2601 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2604 # Be careful to initialize this variable, since it used to be cached.
2605 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2607 # b.out is created by i960 compilers.
2608 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2610 test -f "$ac_file" || continue
2612 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2615 # This is the source file.
2618 # We found the default executable, but exeext='' is most
2622 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2623 # FIXME: I believe we export ac_cv_exeext for Libtool,
2624 # but it would be cool to find out if it's true. Does anybody
2625 # maintain Libtool? --akim.
2633 echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.$ac_ext >&5
2636 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2637 See \`config.log' for more details." >&5
2638 echo "$as_me: error: C compiler cannot create executables
2639 See \`config.log' for more details." >&2;}
2640 { (exit 77); exit 77; }; }
2643 ac_exeext=$ac_cv_exeext
2644 echo "$as_me:$LINENO: result: $ac_file" >&5
2645 echo "${ECHO_T}$ac_file" >&6
2647 # Check the compiler produces executables we can run. If not, either
2648 # the compiler is broken, or we cross compile.
2649 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2650 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2651 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2652 # If not cross compiling, check that we can run a simple program.
2653 if test "$cross_compiling" != yes; then
2654 if { ac_try='./$ac_file'
2655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); }; }; then
2662 if test "$cross_compiling" = maybe; then
2665 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2666 If you meant to cross compile, use \`--host'.
2667 See \`config.log' for more details." >&5
2668 echo "$as_me: error: cannot run C compiled programs.
2669 If you meant to cross compile, use \`--host'.
2670 See \`config.log' for more details." >&2;}
2671 { (exit 1); exit 1; }; }
2675 echo "$as_me:$LINENO: result: yes" >&5
2676 echo "${ECHO_T}yes" >&6
2678 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2679 ac_clean_files=$ac_clean_files_save
2680 # Check the compiler produces executables we can run. If not, either
2681 # the compiler is broken, or we cross compile.
2682 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2683 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2684 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2685 echo "${ECHO_T}$cross_compiling" >&6
2687 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2688 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2690 (eval $ac_link) 2>&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }; then
2694 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2695 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2696 # work properly (i.e., refer to `conftest.exe'), while it won't with
2698 for ac_file in conftest.exe conftest conftest.*; do
2699 test -f "$ac_file" || continue
2701 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2702 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2709 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2710 See \`config.log' for more details." >&5
2711 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2712 See \`config.log' for more details." >&2;}
2713 { (exit 1); exit 1; }; }
2716 rm -f conftest$ac_cv_exeext
2717 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2718 echo "${ECHO_T}$ac_cv_exeext" >&6
2720 rm -f conftest.$ac_ext
2721 EXEEXT=$ac_cv_exeext
2723 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2724 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2725 if test "${ac_cv_objext+set}" = set; then
2726 echo $ECHO_N "(cached) $ECHO_C" >&6
2728 cat >conftest.$ac_ext <<_ACEOF
2729 #line $LINENO "configure"
2732 cat confdefs.h >>conftest.$ac_ext
2733 cat >>conftest.$ac_ext <<_ACEOF
2734 /* end confdefs.h. */
2744 rm -f conftest.o conftest.obj
2745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2746 (eval $ac_compile) 2>&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); }; then
2750 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2752 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2753 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2758 echo "$as_me: failed program was:" >&5
2759 sed 's/^/| /' conftest.$ac_ext >&5
2761 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2762 See \`config.log' for more details." >&5
2763 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2764 See \`config.log' for more details." >&2;}
2765 { (exit 1); exit 1; }; }
2768 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2770 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2771 echo "${ECHO_T}$ac_cv_objext" >&6
2772 OBJEXT=$ac_cv_objext
2774 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2775 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2776 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2777 echo $ECHO_N "(cached) $ECHO_C" >&6
2779 cat >conftest.$ac_ext <<_ACEOF
2780 #line $LINENO "configure"
2783 cat confdefs.h >>conftest.$ac_ext
2784 cat >>conftest.$ac_ext <<_ACEOF
2785 /* end confdefs.h. */
2798 rm -f conftest.$ac_objext
2799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2800 (eval $ac_compile) 2>&5
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); } &&
2804 { ac_try='test -s conftest.$ac_objext'
2805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); }; }; then
2812 echo "$as_me: failed program was:" >&5
2813 sed 's/^/| /' conftest.$ac_ext >&5
2817 rm -f conftest.$ac_objext conftest.$ac_ext
2818 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2821 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2822 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2823 GCC=`test $ac_compiler_gnu = yes && echo yes`
2824 ac_test_CFLAGS=${CFLAGS+set}
2825 ac_save_CFLAGS=$CFLAGS
2827 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2828 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2829 if test "${ac_cv_prog_cc_g+set}" = set; then
2830 echo $ECHO_N "(cached) $ECHO_C" >&6
2832 cat >conftest.$ac_ext <<_ACEOF
2833 #line $LINENO "configure"
2836 cat confdefs.h >>conftest.$ac_ext
2837 cat >>conftest.$ac_ext <<_ACEOF
2838 /* end confdefs.h. */
2848 rm -f conftest.$ac_objext
2849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2850 (eval $ac_compile) 2>&5
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); } &&
2854 { ac_try='test -s conftest.$ac_objext'
2855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); }; }; then
2862 echo "$as_me: failed program was:" >&5
2863 sed 's/^/| /' conftest.$ac_ext >&5
2867 rm -f conftest.$ac_objext conftest.$ac_ext
2869 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2870 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2871 if test "$ac_test_CFLAGS" = set; then
2872 CFLAGS=$ac_save_CFLAGS
2873 elif test $ac_cv_prog_cc_g = yes; then
2874 if test "$GCC" = yes; then
2880 if test "$GCC" = yes; then
2886 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2887 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2888 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2889 echo $ECHO_N "(cached) $ECHO_C" >&6
2891 ac_cv_prog_cc_stdc=no
2893 cat >conftest.$ac_ext <<_ACEOF
2894 #line $LINENO "configure"
2897 cat confdefs.h >>conftest.$ac_ext
2898 cat >>conftest.$ac_ext <<_ACEOF
2899 /* end confdefs.h. */
2902 #include <sys/types.h>
2903 #include <sys/stat.h>
2904 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2905 struct buf { int x; };
2906 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2907 static char *e (p, i)
2913 static char *f (char * (*g) (char **, int), char **p, ...)
2918 s = g (p, va_arg (v,int));
2922 int test (int i, double x);
2923 struct s1 {int (*f) (int a);};
2924 struct s2 {int (*f) (double a);};
2925 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2931 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2936 # Don't try gcc -ansi; that turns off useful extensions and
2937 # breaks some systems' header files.
2938 # AIX -qlanglvl=ansi
2939 # Ultrix and OSF/1 -std1
2940 # HP-UX 10.20 and later -Ae
2941 # HP-UX older versions -Aa -D_HPUX_SOURCE
2942 # SVR4 -Xc -D__EXTENSIONS__
2943 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2945 CC="$ac_save_CC $ac_arg"
2946 rm -f conftest.$ac_objext
2947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2948 (eval $ac_compile) 2>&5
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); } &&
2952 { ac_try='test -s conftest.$ac_objext'
2953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); }; }; then
2958 ac_cv_prog_cc_stdc=$ac_arg
2961 echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2965 rm -f conftest.$ac_objext
2967 rm -f conftest.$ac_ext conftest.$ac_objext
2972 case "x$ac_cv_prog_cc_stdc" in
2974 echo "$as_me:$LINENO: result: none needed" >&5
2975 echo "${ECHO_T}none needed" >&6 ;;
2977 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2978 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2979 CC="$CC $ac_cv_prog_cc_stdc" ;;
2982 # Some people use a C++ compiler to compile C. Since we use `exit',
2983 # in C++ we need to declare it. In case someone uses the same compiler
2984 # for both compiling C and C++ we need to have the C++ compiler decide
2985 # the declaration of exit, since it's the most demanding environment.
2986 cat >conftest.$ac_ext <<_ACEOF
2991 rm -f conftest.$ac_objext
2992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2993 (eval $ac_compile) 2>&5
2995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996 (exit $ac_status); } &&
2997 { ac_try='test -s conftest.$ac_objext'
2998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); }; }; then
3003 for ac_declaration in \
3005 '#include <stdlib.h>' \
3006 'extern "C" void std::exit (int) throw (); using std::exit;' \
3007 'extern "C" void std::exit (int); using std::exit;' \
3008 'extern "C" void exit (int) throw ();' \
3009 'extern "C" void exit (int);' \
3012 cat >conftest.$ac_ext <<_ACEOF
3013 #line $LINENO "configure"
3016 cat confdefs.h >>conftest.$ac_ext
3017 cat >>conftest.$ac_ext <<_ACEOF
3018 /* end confdefs.h. */
3029 rm -f conftest.$ac_objext
3030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3031 (eval $ac_compile) 2>&5
3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); } &&
3035 { ac_try='test -s conftest.$ac_objext'
3036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040 (exit $ac_status); }; }; then
3043 echo "$as_me: failed program was:" >&5
3044 sed 's/^/| /' conftest.$ac_ext >&5
3048 rm -f conftest.$ac_objext conftest.$ac_ext
3049 cat >conftest.$ac_ext <<_ACEOF
3050 #line $LINENO "configure"
3053 cat confdefs.h >>conftest.$ac_ext
3054 cat >>conftest.$ac_ext <<_ACEOF
3055 /* end confdefs.h. */
3065 rm -f conftest.$ac_objext
3066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3067 (eval $ac_compile) 2>&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); } &&
3071 { ac_try='test -s conftest.$ac_objext'
3072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); }; }; then
3079 echo "$as_me: failed program was:" >&5
3080 sed 's/^/| /' conftest.$ac_ext >&5
3083 rm -f conftest.$ac_objext conftest.$ac_ext
3086 if test -n "$ac_declaration"; then
3087 echo '#ifdef __cplusplus' >>confdefs.h
3088 echo $ac_declaration >>confdefs.h
3089 echo '#endif' >>confdefs.h
3093 echo "$as_me: failed program was:" >&5
3094 sed 's/^/| /' conftest.$ac_ext >&5
3097 rm -f conftest.$ac_objext conftest.$ac_ext
3099 ac_cpp='$CPP $CPPFLAGS'
3100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3103 rm -f .deps 2>/dev/null
3104 mkdir .deps 2>/dev/null
3105 if test -d .deps; then
3108 # MS-DOS does not allow filenames that begin with a dot.
3111 rmdir .deps 2>/dev/null
3114 ac_config_commands="$ac_config_commands depfiles"
3117 am_make=${MAKE-make}
3118 cat > confinc << 'END'
3122 # If we don't find an include directive, just comment out the code.
3123 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3124 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3128 # First try GNU make style include.
3129 echo "include confinc" > confmf
3130 # We grep out `Entering directory' and `Leaving directory'
3131 # messages which can occur if `w' ends up in MAKEFLAGS.
3132 # In particular we don't look at `^make:' because GNU make might
3133 # be invoked under some other name (usually "gmake"), in which
3134 # case it prints its new name instead of `make'.
3135 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
3140 # Now try BSD make style include.
3141 if test "$am__include" = "#"; then
3142 echo '.include "confinc"' > confmf
3143 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3144 am__include=.include
3151 echo "$as_me:$LINENO: result: $_am_result" >&5
3152 echo "${ECHO_T}$_am_result" >&6
3153 rm -f confinc confmf
3155 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3156 if test "${enable_dependency_tracking+set}" = set; then
3157 enableval="$enable_dependency_tracking"
3160 if test "x$enable_dependency_tracking" != xno; then
3161 am_depcomp="$ac_aux_dir/depcomp"
3166 if test "x$enable_dependency_tracking" != xno; then
3177 depcc="$CC" am_compiler_list=
3179 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3180 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3181 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3182 echo $ECHO_N "(cached) $ECHO_C" >&6
3184 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3185 # We make a subdir and do the tests there. Otherwise we can end up
3186 # making bogus files that we don't know about and never remove. For
3187 # instance it was reported that on HP-UX the gcc test will end up
3188 # making a dummy file named `D' -- because `-MD' means `put the output
3191 # Copy depcomp to subdir because otherwise we won't find it if we're
3192 # using a relative directory.
3193 cp "$am_depcomp" conftest.dir
3196 am_cv_CC_dependencies_compiler_type=none
3197 if test "$am_compiler_list" = ""; then
3198 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3200 for depmode in $am_compiler_list; do
3201 # We need to recreate these files for each test, as the compiler may
3202 # overwrite some of them when testing with obscure command lines.
3203 # This happens at least with the AIX C compiler.
3204 echo '#include "conftest.h"' > conftest.c
3205 echo 'int i;' > conftest.h
3206 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3210 # after this tag, mechanisms are not by side-effect, so they'll
3211 # only be used when explicitly requested
3212 if test "x$enable_dependency_tracking" = xyes; then
3220 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3221 # mode. It turns out that the SunPro C++ compiler does not properly
3222 # handle `-M -o', and we need to detect this.
3223 if depmode=$depmode \
3224 source=conftest.c object=conftest.o \
3225 depfile=conftest.Po tmpdepfile=conftest.TPo \
3226 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
3227 grep conftest.h conftest.Po > /dev/null 2>&1 &&
3228 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3229 am_cv_CC_dependencies_compiler_type=$depmode
3237 am_cv_CC_dependencies_compiler_type=none
3241 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3242 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3243 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3246 if test -n "$ac_tool_prefix"; then
3247 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3248 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3249 echo "$as_me:$LINENO: checking for $ac_word" >&5
3250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3251 if test "${ac_cv_prog_RANLIB+set}" = set; then
3252 echo $ECHO_N "(cached) $ECHO_C" >&6
3254 if test -n "$RANLIB"; then
3255 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3261 test -z "$as_dir" && as_dir=.
3262 for ac_exec_ext in '' $ac_executable_extensions; do
3263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3264 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3273 RANLIB=$ac_cv_prog_RANLIB
3274 if test -n "$RANLIB"; then
3275 echo "$as_me:$LINENO: result: $RANLIB" >&5
3276 echo "${ECHO_T}$RANLIB" >&6
3278 echo "$as_me:$LINENO: result: no" >&5
3279 echo "${ECHO_T}no" >&6
3283 if test -z "$ac_cv_prog_RANLIB"; then
3284 ac_ct_RANLIB=$RANLIB
3285 # Extract the first word of "ranlib", so it can be a program name with args.
3286 set dummy ranlib; ac_word=$2
3287 echo "$as_me:$LINENO: checking for $ac_word" >&5
3288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3289 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
3292 if test -n "$ac_ct_RANLIB"; then
3293 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3299 test -z "$as_dir" && as_dir=.
3300 for ac_exec_ext in '' $ac_executable_extensions; do
3301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3302 ac_cv_prog_ac_ct_RANLIB="ranlib"
3303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3309 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3312 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3313 if test -n "$ac_ct_RANLIB"; then
3314 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3315 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3317 echo "$as_me:$LINENO: result: no" >&5
3318 echo "${ECHO_T}no" >&6
3321 RANLIB=$ac_ct_RANLIB
3323 RANLIB="$ac_cv_prog_RANLIB"
3327 ###############################
3328 # Checks for libraries (no for RT)
3329 if test -z ${CONFIG_ORTE_RT} ; then
3332 echo "$as_me:$LINENO: checking for main in -lws2_32" >&5
3333 echo $ECHO_N "checking for main in -lws2_32... $ECHO_C" >&6
3334 if test "${ac_cv_lib_ws2_32_main+set}" = set; then
3335 echo $ECHO_N "(cached) $ECHO_C" >&6
3337 ac_check_lib_save_LIBS=$LIBS
3338 LIBS="-lws2_32 $LIBS"
3339 cat >conftest.$ac_ext <<_ACEOF
3340 #line $LINENO "configure"
3343 cat confdefs.h >>conftest.$ac_ext
3344 cat >>conftest.$ac_ext <<_ACEOF
3345 /* end confdefs.h. */
3356 rm -f conftest.$ac_objext conftest$ac_exeext
3357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3358 (eval $ac_link) 2>&5
3360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361 (exit $ac_status); } &&
3362 { ac_try='test -s conftest$ac_exeext'
3363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); }; }; then
3368 ac_cv_lib_ws2_32_main=yes
3370 echo "$as_me: failed program was:" >&5
3371 sed 's/^/| /' conftest.$ac_ext >&5
3373 ac_cv_lib_ws2_32_main=no
3375 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3376 LIBS=$ac_check_lib_save_LIBS
3378 echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_main" >&5
3379 echo "${ECHO_T}$ac_cv_lib_ws2_32_main" >&6
3380 if test $ac_cv_lib_ws2_32_main = yes; then
3381 cat >>confdefs.h <<_ACEOF
3382 #define HAVE_LIBWS2_32 1
3385 LIBS="-lws2_32 $LIBS"
3390 echo "$as_me:$LINENO: checking for main in -lpthread" >&5
3391 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6
3392 if test "${ac_cv_lib_pthread_main+set}" = set; then
3393 echo $ECHO_N "(cached) $ECHO_C" >&6
3395 ac_check_lib_save_LIBS=$LIBS
3396 LIBS="-lpthread $LIBS"
3397 cat >conftest.$ac_ext <<_ACEOF
3398 #line $LINENO "configure"
3401 cat confdefs.h >>conftest.$ac_ext
3402 cat >>conftest.$ac_ext <<_ACEOF
3403 /* end confdefs.h. */
3414 rm -f conftest.$ac_objext conftest$ac_exeext
3415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3416 (eval $ac_link) 2>&5
3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); } &&
3420 { ac_try='test -s conftest$ac_exeext'
3421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425 (exit $ac_status); }; }; then
3426 ac_cv_lib_pthread_main=yes
3428 echo "$as_me: failed program was:" >&5
3429 sed 's/^/| /' conftest.$ac_ext >&5
3431 ac_cv_lib_pthread_main=no
3433 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3434 LIBS=$ac_check_lib_save_LIBS
3436 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
3437 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
3438 if test $ac_cv_lib_pthread_main = yes; then
3439 cat >>confdefs.h <<_ACEOF
3440 #define HAVE_LIBPTHREAD 1
3443 LIBS="-lpthread $LIBS"
3449 ###############################
3450 # Checks for header files.
3451 if test -z ${CONFIG_ORTE_RT} ; then
3453 ac_cpp='$CPP $CPPFLAGS'
3454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3457 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3458 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3459 # On Suns, sometimes $CPP names a directory.
3460 if test -n "$CPP" && test -d "$CPP"; then
3463 if test -z "$CPP"; then
3464 if test "${ac_cv_prog_CPP+set}" = set; then
3465 echo $ECHO_N "(cached) $ECHO_C" >&6
3467 # Double quotes because CPP needs to be expanded
3468 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3471 for ac_c_preproc_warn_flag in '' yes
3473 # Use a header file that comes with gcc, so configuring glibc
3474 # with a fresh cross-compiler works.
3475 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3476 # <limits.h> exists even on freestanding compilers.
3477 # On the NeXT, cc -E runs the code through the compiler's parser,
3478 # not just through cpp. "Syntax error" is here to catch this case.
3479 cat >conftest.$ac_ext <<_ACEOF
3480 #line $LINENO "configure"
3483 cat confdefs.h >>conftest.$ac_ext
3484 cat >>conftest.$ac_ext <<_ACEOF
3485 /* end confdefs.h. */
3487 # include <limits.h>
3489 # include <assert.h>
3493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3494 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3496 grep -v '^ *+' conftest.er1 >conftest.err
3498 cat conftest.err >&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } >/dev/null; then
3501 if test -s conftest.err; then
3502 ac_cpp_err=$ac_c_preproc_warn_flag
3509 if test -z "$ac_cpp_err"; then
3512 echo "$as_me: failed program was:" >&5
3513 sed 's/^/| /' conftest.$ac_ext >&5
3515 # Broken: fails on valid input.
3518 rm -f conftest.err conftest.$ac_ext
3520 # OK, works on sane cases. Now check whether non-existent headers
3521 # can be detected and how.
3522 cat >conftest.$ac_ext <<_ACEOF
3523 #line $LINENO "configure"
3526 cat confdefs.h >>conftest.$ac_ext
3527 cat >>conftest.$ac_ext <<_ACEOF
3528 /* end confdefs.h. */
3529 #include <ac_nonexistent.h>
3531 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3532 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3534 grep -v '^ *+' conftest.er1 >conftest.err
3536 cat conftest.err >&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); } >/dev/null; then
3539 if test -s conftest.err; then
3540 ac_cpp_err=$ac_c_preproc_warn_flag
3547 if test -z "$ac_cpp_err"; then
3548 # Broken: success on invalid input.
3551 echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.$ac_ext >&5
3554 # Passes both tests.
3558 rm -f conftest.err conftest.$ac_ext
3561 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3562 rm -f conftest.err conftest.$ac_ext
3563 if $ac_preproc_ok; then
3575 echo "$as_me:$LINENO: result: $CPP" >&5
3576 echo "${ECHO_T}$CPP" >&6
3578 for ac_c_preproc_warn_flag in '' yes
3580 # Use a header file that comes with gcc, so configuring glibc
3581 # with a fresh cross-compiler works.
3582 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3583 # <limits.h> exists even on freestanding compilers.
3584 # On the NeXT, cc -E runs the code through the compiler's parser,
3585 # not just through cpp. "Syntax error" is here to catch this case.
3586 cat >conftest.$ac_ext <<_ACEOF
3587 #line $LINENO "configure"
3590 cat confdefs.h >>conftest.$ac_ext
3591 cat >>conftest.$ac_ext <<_ACEOF
3592 /* end confdefs.h. */
3594 # include <limits.h>
3596 # include <assert.h>
3600 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3601 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3603 grep -v '^ *+' conftest.er1 >conftest.err
3605 cat conftest.err >&5
3606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607 (exit $ac_status); } >/dev/null; then
3608 if test -s conftest.err; then
3609 ac_cpp_err=$ac_c_preproc_warn_flag
3616 if test -z "$ac_cpp_err"; then
3619 echo "$as_me: failed program was:" >&5
3620 sed 's/^/| /' conftest.$ac_ext >&5
3622 # Broken: fails on valid input.
3625 rm -f conftest.err conftest.$ac_ext
3627 # OK, works on sane cases. Now check whether non-existent headers
3628 # can be detected and how.
3629 cat >conftest.$ac_ext <<_ACEOF
3630 #line $LINENO "configure"
3633 cat confdefs.h >>conftest.$ac_ext
3634 cat >>conftest.$ac_ext <<_ACEOF
3635 /* end confdefs.h. */
3636 #include <ac_nonexistent.h>
3638 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3639 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3641 grep -v '^ *+' conftest.er1 >conftest.err
3643 cat conftest.err >&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); } >/dev/null; then
3646 if test -s conftest.err; then
3647 ac_cpp_err=$ac_c_preproc_warn_flag
3654 if test -z "$ac_cpp_err"; then
3655 # Broken: success on invalid input.
3658 echo "$as_me: failed program was:" >&5
3659 sed 's/^/| /' conftest.$ac_ext >&5
3661 # Passes both tests.
3665 rm -f conftest.err conftest.$ac_ext
3668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3669 rm -f conftest.err conftest.$ac_ext
3670 if $ac_preproc_ok; then
3673 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3674 See \`config.log' for more details." >&5
3675 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3676 See \`config.log' for more details." >&2;}
3677 { (exit 1); exit 1; }; }
3681 ac_cpp='$CPP $CPPFLAGS'
3682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3687 echo "$as_me:$LINENO: checking for egrep" >&5
3688 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3689 if test "${ac_cv_prog_egrep+set}" = set; then
3690 echo $ECHO_N "(cached) $ECHO_C" >&6
3692 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3693 then ac_cv_prog_egrep='grep -E'
3694 else ac_cv_prog_egrep='egrep'
3697 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3698 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3699 EGREP=$ac_cv_prog_egrep
3702 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3703 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3704 if test "${ac_cv_header_stdc+set}" = set; then
3705 echo $ECHO_N "(cached) $ECHO_C" >&6
3707 cat >conftest.$ac_ext <<_ACEOF
3708 #line $LINENO "configure"
3711 cat confdefs.h >>conftest.$ac_ext
3712 cat >>conftest.$ac_ext <<_ACEOF
3713 /* end confdefs.h. */
3727 rm -f conftest.$ac_objext
3728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3729 (eval $ac_compile) 2>&5
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); } &&
3733 { ac_try='test -s conftest.$ac_objext'
3734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738 (exit $ac_status); }; }; then
3739 ac_cv_header_stdc=yes
3741 echo "$as_me: failed program was:" >&5
3742 sed 's/^/| /' conftest.$ac_ext >&5
3744 ac_cv_header_stdc=no
3746 rm -f conftest.$ac_objext conftest.$ac_ext
3748 if test $ac_cv_header_stdc = yes; then
3749 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3750 cat >conftest.$ac_ext <<_ACEOF
3751 #line $LINENO "configure"
3754 cat confdefs.h >>conftest.$ac_ext
3755 cat >>conftest.$ac_ext <<_ACEOF
3756 /* end confdefs.h. */
3760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3761 $EGREP "memchr" >/dev/null 2>&1; then
3764 ac_cv_header_stdc=no
3770 if test $ac_cv_header_stdc = yes; then
3771 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3772 cat >conftest.$ac_ext <<_ACEOF
3773 #line $LINENO "configure"
3776 cat confdefs.h >>conftest.$ac_ext
3777 cat >>conftest.$ac_ext <<_ACEOF
3778 /* end confdefs.h. */
3782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3783 $EGREP "free" >/dev/null 2>&1; then
3786 ac_cv_header_stdc=no
3792 if test $ac_cv_header_stdc = yes; then
3793 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3794 if test "$cross_compiling" = yes; then
3797 cat >conftest.$ac_ext <<_ACEOF
3798 #line $LINENO "configure"
3801 cat confdefs.h >>conftest.$ac_ext
3802 cat >>conftest.$ac_ext <<_ACEOF
3803 /* end confdefs.h. */
3805 #if ((' ' & 0x0FF) == 0x020)
3806 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3807 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3809 # define ISLOWER(c) \
3810 (('a' <= (c) && (c) <= 'i') \
3811 || ('j' <= (c) && (c) <= 'r') \
3812 || ('s' <= (c) && (c) <= 'z'))
3813 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3816 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3821 for (i = 0; i < 256; i++)
3822 if (XOR (islower (i), ISLOWER (i))
3823 || toupper (i) != TOUPPER (i))
3828 rm -f conftest$ac_exeext
3829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3830 (eval $ac_link) 2>&5
3832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); }; }; then
3841 echo "$as_me: program exited with status $ac_status" >&5
3842 echo "$as_me: failed program was:" >&5
3843 sed 's/^/| /' conftest.$ac_ext >&5
3846 ac_cv_header_stdc=no
3848 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3852 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3853 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3854 if test $ac_cv_header_stdc = yes; then
3856 cat >>confdefs.h <<\_ACEOF
3857 #define STDC_HEADERS 1
3862 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3872 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3873 inttypes.h stdint.h unistd.h
3875 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3876 echo "$as_me:$LINENO: checking for $ac_header" >&5
3877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3879 echo $ECHO_N "(cached) $ECHO_C" >&6
3881 cat >conftest.$ac_ext <<_ACEOF
3882 #line $LINENO "configure"
3885 cat confdefs.h >>conftest.$ac_ext
3886 cat >>conftest.$ac_ext <<_ACEOF
3887 /* end confdefs.h. */
3888 $ac_includes_default
3890 #include <$ac_header>
3892 rm -f conftest.$ac_objext
3893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3894 (eval $ac_compile) 2>&5
3896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897 (exit $ac_status); } &&
3898 { ac_try='test -s conftest.$ac_objext'
3899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3903 (exit $ac_status); }; }; then
3904 eval "$as_ac_Header=yes"
3906 echo "$as_me: failed program was:" >&5
3907 sed 's/^/| /' conftest.$ac_ext >&5
3909 eval "$as_ac_Header=no"
3911 rm -f conftest.$ac_objext conftest.$ac_ext
3913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3916 cat >>confdefs.h <<_ACEOF
3917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3948 for ac_header in arpa/inet.h fcntl.h stdio.h netdb.h netinet/in.h stdlib.h \
3949 string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h pthread.h \
3950 stdarg.h getopt.h sys/types.h net/if.h byteswap.h signal.h errno.h \
3951 ctype.h sys/stat.h winsock2.h ws2tcpip.h
3953 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3955 echo "$as_me:$LINENO: checking for $ac_header" >&5
3956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3958 echo $ECHO_N "(cached) $ECHO_C" >&6
3960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3963 # Is the header compilable?
3964 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3965 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3966 cat >conftest.$ac_ext <<_ACEOF
3967 #line $LINENO "configure"
3970 cat confdefs.h >>conftest.$ac_ext
3971 cat >>conftest.$ac_ext <<_ACEOF
3972 /* end confdefs.h. */
3973 $ac_includes_default
3974 #include <$ac_header>
3976 rm -f conftest.$ac_objext
3977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3978 (eval $ac_compile) 2>&5
3980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); } &&
3982 { ac_try='test -s conftest.$ac_objext'
3983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3987 (exit $ac_status); }; }; then
3988 ac_header_compiler=yes
3990 echo "$as_me: failed program was:" >&5
3991 sed 's/^/| /' conftest.$ac_ext >&5
3993 ac_header_compiler=no
3995 rm -f conftest.$ac_objext conftest.$ac_ext
3996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3997 echo "${ECHO_T}$ac_header_compiler" >&6
3999 # Is the header present?
4000 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4002 cat >conftest.$ac_ext <<_ACEOF
4003 #line $LINENO "configure"
4006 cat confdefs.h >>conftest.$ac_ext
4007 cat >>conftest.$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4009 #include <$ac_header>
4011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4014 grep -v '^ *+' conftest.er1 >conftest.err
4016 cat conftest.err >&5
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); } >/dev/null; then
4019 if test -s conftest.err; then
4020 ac_cpp_err=$ac_c_preproc_warn_flag
4027 if test -z "$ac_cpp_err"; then
4028 ac_header_preproc=yes
4030 echo "$as_me: failed program was:" >&5
4031 sed 's/^/| /' conftest.$ac_ext >&5
4033 ac_header_preproc=no
4035 rm -f conftest.err conftest.$ac_ext
4036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4037 echo "${ECHO_T}$ac_header_preproc" >&6
4039 # So? What about this header?
4040 case $ac_header_compiler:$ac_header_preproc in
4042 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4048 ## ------------------------------------ ##
4049 ## Report this to bug-autoconf@gnu.org. ##
4050 ## ------------------------------------ ##
4053 sed "s/^/$as_me: WARNING: /" >&2
4056 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4057 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4058 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4059 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4061 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4064 ## ------------------------------------ ##
4065 ## Report this to bug-autoconf@gnu.org. ##
4066 ## ------------------------------------ ##
4069 sed "s/^/$as_me: WARNING: /" >&2
4072 echo "$as_me:$LINENO: checking for $ac_header" >&5
4073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4075 echo $ECHO_N "(cached) $ECHO_C" >&6
4077 eval "$as_ac_Header=$ac_header_preproc"
4079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4084 cat >>confdefs.h <<_ACEOF
4085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4093 ###############################
4096 *-cygwin* | *-mingw*)
4097 INCLUDES='-I$(top_srcdir)/orte/include -I$(top_srcdir)/orte/include/win32'
4100 cat >>confdefs.h <<\_ACEOF
4101 #define CONFIG_ORTE_WIN 1
4107 if test ${USE_RTLINUX} == "yes" ; then
4108 INCLUDES='-I$(top_srcdir)/orte/include -I$(top_srcdir)/orte/include/rtl -I$(top_srcdir)/orte/contrib/RTL_UDP/include'
4109 elif test ${USE_RTAI} == "yes" ; then
4110 INCLUDES='-I$(top_srcdir)/orte/include -I$(top_srcdir)/orte/include/rtai'
4112 INCLUDES='-I$(top_srcdir)/orte/include'
4115 cat >>confdefs.h <<\_ACEOF
4116 #define CONFIG_ORTE_UNIX 1
4125 if test x$WIN = xyes; then
4126 CONFIG_ORTE_WIN_TRUE=
4127 CONFIG_ORTE_WIN_FALSE='#'
4129 CONFIG_ORTE_WIN_TRUE='#'
4130 CONFIG_ORTE_WIN_FALSE=
4135 if test x$UNIX = xyes; then
4136 CONFIG_ORTE_UNIX_TRUE=
4137 CONFIG_ORTE_UNIX_FALSE='#'
4139 CONFIG_ORTE_UNIX_TRUE='#'
4140 CONFIG_ORTE_UNIX_FALSE=
4144 ###############################
4145 # Checks for typedefs, structures, and compiler characteristics.
4146 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4147 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4148 if test "${ac_cv_c_bigendian+set}" = set; then
4149 echo $ECHO_N "(cached) $ECHO_C" >&6
4151 # See if sys/param.h defines the BYTE_ORDER macro.
4152 cat >conftest.$ac_ext <<_ACEOF
4153 #line $LINENO "configure"
4156 cat confdefs.h >>conftest.$ac_ext
4157 cat >>conftest.$ac_ext <<_ACEOF
4158 /* end confdefs.h. */
4159 #include <sys/types.h>
4160 #include <sys/param.h>
4165 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4173 rm -f conftest.$ac_objext
4174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4175 (eval $ac_compile) 2>&5
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); } &&
4179 { ac_try='test -s conftest.$ac_objext'
4180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184 (exit $ac_status); }; }; then
4185 # It does; now see whether it defined to BIG_ENDIAN or not.
4186 cat >conftest.$ac_ext <<_ACEOF
4187 #line $LINENO "configure"
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4193 #include <sys/types.h>
4194 #include <sys/param.h>
4199 #if BYTE_ORDER != BIG_ENDIAN
4207 rm -f conftest.$ac_objext
4208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4209 (eval $ac_compile) 2>&5
4211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212 (exit $ac_status); } &&
4213 { ac_try='test -s conftest.$ac_objext'
4214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4218 (exit $ac_status); }; }; then
4219 ac_cv_c_bigendian=yes
4221 echo "$as_me: failed program was:" >&5
4222 sed 's/^/| /' conftest.$ac_ext >&5
4224 ac_cv_c_bigendian=no
4226 rm -f conftest.$ac_objext conftest.$ac_ext
4228 echo "$as_me: failed program was:" >&5
4229 sed 's/^/| /' conftest.$ac_ext >&5
4231 # It does not; compile a test program.
4232 if test "$cross_compiling" = yes; then
4233 # try to guess the endianness by grepping values into an object file
4234 ac_cv_c_bigendian=unknown
4235 cat >conftest.$ac_ext <<_ACEOF
4236 #line $LINENO "configure"
4239 cat confdefs.h >>conftest.$ac_ext
4240 cat >>conftest.$ac_ext <<_ACEOF
4241 /* end confdefs.h. */
4242 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4243 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4244 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4245 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4246 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4247 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4251 _ascii (); _ebcdic ();
4256 rm -f conftest.$ac_objext
4257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4258 (eval $ac_compile) 2>&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); } &&
4262 { ac_try='test -s conftest.$ac_objext'
4263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4267 (exit $ac_status); }; }; then
4268 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4269 ac_cv_c_bigendian=yes
4271 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4272 if test "$ac_cv_c_bigendian" = unknown; then
4273 ac_cv_c_bigendian=no
4275 # finding both strings is unlikely to happen, but who knows?
4276 ac_cv_c_bigendian=unknown
4280 echo "$as_me: failed program was:" >&5
4281 sed 's/^/| /' conftest.$ac_ext >&5
4284 rm -f conftest.$ac_objext conftest.$ac_ext
4286 cat >conftest.$ac_ext <<_ACEOF
4287 #line $LINENO "configure"
4290 cat confdefs.h >>conftest.$ac_ext
4291 cat >>conftest.$ac_ext <<_ACEOF
4292 /* end confdefs.h. */
4296 /* Are we little or big endian? From Harbison&Steele. */
4300 char c[sizeof (long)];
4303 exit (u.c[sizeof (long) - 1] == 1);
4306 rm -f conftest$ac_exeext
4307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4308 (eval $ac_link) 2>&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316 (exit $ac_status); }; }; then
4317 ac_cv_c_bigendian=no
4319 echo "$as_me: program exited with status $ac_status" >&5
4320 echo "$as_me: failed program was:" >&5
4321 sed 's/^/| /' conftest.$ac_ext >&5
4324 ac_cv_c_bigendian=yes
4326 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4329 rm -f conftest.$ac_objext conftest.$ac_ext
4331 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4332 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4333 case $ac_cv_c_bigendian in
4336 cat >>confdefs.h <<\_ACEOF
4337 #define WORDS_BIGENDIAN 1
4343 { { echo "$as_me:$LINENO: error: unknown endianness
4344 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4345 echo "$as_me: error: unknown endianness
4346 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4347 { (exit 1); exit 1; }; } ;;
4350 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4351 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4352 if test "${ac_cv_c_const+set}" = set; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6
4355 cat >conftest.$ac_ext <<_ACEOF
4356 #line $LINENO "configure"
4359 cat confdefs.h >>conftest.$ac_ext
4360 cat >>conftest.$ac_ext <<_ACEOF
4361 /* end confdefs.h. */
4366 /* FIXME: Include the comments suggested by Paul. */
4368 /* Ultrix mips cc rejects this. */
4369 typedef int charset[2];
4371 /* SunOS 4.1.1 cc rejects this. */
4372 char const *const *ccp;
4374 /* NEC SVR4.0.2 mips cc rejects this. */
4375 struct point {int x, y;};
4376 static struct point const zero = {0,0};
4377 /* AIX XL C 1.02.0.0 rejects this.
4378 It does not let you subtract one const X* pointer from another in
4379 an arm of an if-expression whose if-part is not a constant
4381 const char *g = "string";
4382 ccp = &g + (g ? g-g : 0);
4383 /* HPUX 7.0 cc rejects these. */
4386 ccp = (char const *const *) p;
4387 { /* SCO 3.2v4 cc rejects this. */
4389 char const *s = 0 ? (char *) 0 : (char const *) 0;
4393 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4395 const int *foo = &x[0];
4398 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4399 typedef const int *iptr;
4403 { /* AIX XL C 1.02.0.0 rejects this saying
4404 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4405 struct s { int j; const int *ap[3]; };
4406 struct s *b; b->j = 5;
4408 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4417 rm -f conftest.$ac_objext
4418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4419 (eval $ac_compile) 2>&5
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); } &&
4423 { ac_try='test -s conftest.$ac_objext'
4424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); }; }; then
4431 echo "$as_me: failed program was:" >&5
4432 sed 's/^/| /' conftest.$ac_ext >&5
4436 rm -f conftest.$ac_objext conftest.$ac_ext
4438 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4439 echo "${ECHO_T}$ac_cv_c_const" >&6
4440 if test $ac_cv_c_const = no; then
4442 cat >>confdefs.h <<\_ACEOF
4448 echo "$as_me:$LINENO: checking for inline" >&5
4449 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4450 if test "${ac_cv_c_inline+set}" = set; then
4451 echo $ECHO_N "(cached) $ECHO_C" >&6
4454 for ac_kw in inline __inline__ __inline; do
4455 cat >conftest.$ac_ext <<_ACEOF
4456 #line $LINENO "configure"
4459 cat confdefs.h >>conftest.$ac_ext
4460 cat >>conftest.$ac_ext <<_ACEOF
4461 /* end confdefs.h. */
4464 static $ac_kw foo_t static_foo () {return 0; }
4465 $ac_kw foo_t foo () {return 0; }
4469 rm -f conftest.$ac_objext
4470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4471 (eval $ac_compile) 2>&5
4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); } &&
4475 { ac_try='test -s conftest.$ac_objext'
4476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480 (exit $ac_status); }; }; then
4481 ac_cv_c_inline=$ac_kw; break
4483 echo "$as_me: failed program was:" >&5
4484 sed 's/^/| /' conftest.$ac_ext >&5
4487 rm -f conftest.$ac_objext conftest.$ac_ext
4491 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4492 echo "${ECHO_T}$ac_cv_c_inline" >&6
4493 case $ac_cv_c_inline in
4496 cat >>confdefs.h <<\_ACEOF
4500 *) cat >>confdefs.h <<_ACEOF
4501 #define inline $ac_cv_c_inline
4506 echo "$as_me:$LINENO: checking for pid_t" >&5
4507 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
4508 if test "${ac_cv_type_pid_t+set}" = set; then
4509 echo $ECHO_N "(cached) $ECHO_C" >&6
4511 cat >conftest.$ac_ext <<_ACEOF
4512 #line $LINENO "configure"
4515 cat confdefs.h >>conftest.$ac_ext
4516 cat >>conftest.$ac_ext <<_ACEOF
4517 /* end confdefs.h. */
4518 $ac_includes_default
4530 rm -f conftest.$ac_objext
4531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4532 (eval $ac_compile) 2>&5
4534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535 (exit $ac_status); } &&
4536 { ac_try='test -s conftest.$ac_objext'
4537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); }; }; then
4542 ac_cv_type_pid_t=yes
4544 echo "$as_me: failed program was:" >&5
4545 sed 's/^/| /' conftest.$ac_ext >&5
4549 rm -f conftest.$ac_objext conftest.$ac_ext
4551 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
4552 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
4553 if test $ac_cv_type_pid_t = yes; then
4557 cat >>confdefs.h <<_ACEOF
4563 echo "$as_me:$LINENO: checking for size_t" >&5
4564 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4565 if test "${ac_cv_type_size_t+set}" = set; then
4566 echo $ECHO_N "(cached) $ECHO_C" >&6
4568 cat >conftest.$ac_ext <<_ACEOF
4569 #line $LINENO "configure"
4572 cat confdefs.h >>conftest.$ac_ext
4573 cat >>conftest.$ac_ext <<_ACEOF
4574 /* end confdefs.h. */
4575 $ac_includes_default
4581 if (sizeof (size_t))
4587 rm -f conftest.$ac_objext
4588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4589 (eval $ac_compile) 2>&5
4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592 (exit $ac_status); } &&
4593 { ac_try='test -s conftest.$ac_objext'
4594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); }; }; then
4599 ac_cv_type_size_t=yes
4601 echo "$as_me: failed program was:" >&5
4602 sed 's/^/| /' conftest.$ac_ext >&5
4604 ac_cv_type_size_t=no
4606 rm -f conftest.$ac_objext conftest.$ac_ext
4608 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4609 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4610 if test $ac_cv_type_size_t = yes; then
4614 cat >>confdefs.h <<_ACEOF
4615 #define size_t unsigned
4621 ###############################
4622 # Checks for library functions.
4623 if test $ac_cv_c_compiler_gnu = yes; then
4624 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4625 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
4626 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4627 echo $ECHO_N "(cached) $ECHO_C" >&6
4629 ac_pattern="Autoconf.*'x'"
4630 cat >conftest.$ac_ext <<_ACEOF
4631 #line $LINENO "configure"
4634 cat confdefs.h >>conftest.$ac_ext
4635 cat >>conftest.$ac_ext <<_ACEOF
4636 /* end confdefs.h. */
4640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4641 $EGREP "$ac_pattern" >/dev/null 2>&1; then
4642 ac_cv_prog_gcc_traditional=yes
4644 ac_cv_prog_gcc_traditional=no
4649 if test $ac_cv_prog_gcc_traditional = no; then
4650 cat >conftest.$ac_ext <<_ACEOF
4651 #line $LINENO "configure"
4654 cat confdefs.h >>conftest.$ac_ext
4655 cat >>conftest.$ac_ext <<_ACEOF
4656 /* end confdefs.h. */
4660 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4661 $EGREP "$ac_pattern" >/dev/null 2>&1; then
4662 ac_cv_prog_gcc_traditional=yes
4668 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
4669 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
4670 if test $ac_cv_prog_gcc_traditional = yes; then
4671 CC="$CC -traditional"
4676 for ac_func in strdup
4678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4679 echo "$as_me:$LINENO: checking for $ac_func" >&5
4680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4681 if eval "test \"\${$as_ac_var+set}\" = set"; then
4682 echo $ECHO_N "(cached) $ECHO_C" >&6
4684 cat >conftest.$ac_ext <<_ACEOF
4685 #line $LINENO "configure"
4688 cat confdefs.h >>conftest.$ac_ext
4689 cat >>conftest.$ac_ext <<_ACEOF
4690 /* end confdefs.h. */
4691 /* System header to define __stub macros and hopefully few prototypes,
4692 which can conflict with char $ac_func (); below.
4693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4694 <limits.h> exists even on freestanding compilers. */
4696 # include <limits.h>
4698 # include <assert.h>
4700 /* Override any gcc2 internal prototype to avoid an error. */
4705 /* We use char because int might match the return type of a gcc2
4706 builtin and then its argument prototype would still apply. */
4708 /* The GNU C library defines this for functions which it implements
4709 to always fail with ENOSYS. Some functions are actually named
4710 something starting with __ and the normal name is an alias. */
4711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4714 char (*f) () = $ac_func;
4723 return f != $ac_func;
4728 rm -f conftest.$ac_objext conftest$ac_exeext
4729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4730 (eval $ac_link) 2>&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); } &&
4734 { ac_try='test -s conftest$ac_exeext'
4735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); }; }; then
4740 eval "$as_ac_var=yes"
4742 echo "$as_me: failed program was:" >&5
4743 sed 's/^/| /' conftest.$ac_ext >&5
4745 eval "$as_ac_var=no"
4747 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4751 if test `eval echo '${'$as_ac_var'}'` = yes; then
4752 cat >>confdefs.h <<_ACEOF
4753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4760 ###############################
4761 # Add obsolute directory for header files
4762 CFLAGS="$CFLAGS -Wall"
4764 ac_config_files="$ac_config_files Makefile orte/Makefile orte/liborte/Makefile orte/liborte/rtl/Makefile orte/examples/Makefile orte/examples/hello/Makefile orte/examples/reliable/Makefile orte/examples/ORTEPing/Makefile orte/examples/ORTESpy/Makefile orte/manager/Makefile"
4769 ac_config_files="$ac_config_files modtool"
4770 cat >confcache <<\_ACEOF
4771 # This file is a shell script that caches the results of configure
4772 # tests run on this system so they can be shared between configure
4773 # scripts and configure runs, see configure's option --config-cache.
4774 # It is not useful on other systems. If it contains results you don't
4775 # want to keep, you may remove or edit it.
4777 # config.status only pays attention to the cache file if you give it
4778 # the --recheck option to rerun configure.
4780 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4781 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4786 # The following way of writing the cache mishandles newlines in values,
4787 # but we know of no workaround that is simple, portable, and efficient.
4788 # So, don't put newlines in cache variables' values.
4789 # Ultrix sh set writes to stderr and can't be redirected directly,
4790 # and sets the high bit in the cache file unless we assign to the vars.
4793 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4795 # `set' does not quote correctly, so add quotes (double-quote
4796 # substitution turns \\\\ into \\, and sed turns \\ into \).
4799 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4802 # `set' quotes correctly as required by POSIX, so do not add quotes.
4804 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4811 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4813 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4815 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4816 if test -w $cache_file; then
4817 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4818 cat confcache >$cache_file
4820 echo "not updating unwritable cache $cache_file"
4825 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4826 # Let make expand exec_prefix.
4827 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4829 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4830 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4831 # trailing colons and then remove the whole line if VPATH becomes empty
4832 # (actually we leave an empty line to preserve line numbers).
4833 if test "x$srcdir" = x.; then
4834 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4835 s/:*\$(srcdir):*/:/;
4836 s/:*\${srcdir}:*/:/;
4838 s/^\([^=]*=[ ]*\):*/\1/;
4844 DEFS=-DHAVE_CONFIG_H
4848 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4849 # 1. Remove the extension, and $U if already installed.
4850 ac_i=`echo "$ac_i" |
4851 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4853 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4854 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4858 LTLIBOBJS=$ac_ltlibobjs
4861 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4862 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4863 Usually this means the macro was only invoked conditionally." >&5
4864 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4865 Usually this means the macro was only invoked conditionally." >&2;}
4866 { (exit 1); exit 1; }; }
4868 if test -z "${CONFIG_RTHAL_TRUE}" && test -z "${CONFIG_RTHAL_FALSE}"; then
4869 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_RTHAL\" was never defined.
4870 Usually this means the macro was only invoked conditionally." >&5
4871 echo "$as_me: error: conditional \"CONFIG_RTHAL\" was never defined.
4872 Usually this means the macro was only invoked conditionally." >&2;}
4873 { (exit 1); exit 1; }; }
4875 if test -z "${CONFIG_RTLINUX_TRUE}" && test -z "${CONFIG_RTLINUX_FALSE}"; then
4876 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_RTLINUX\" was never defined.
4877 Usually this means the macro was only invoked conditionally." >&5
4878 echo "$as_me: error: conditional \"CONFIG_RTLINUX\" was never defined.
4879 Usually this means the macro was only invoked conditionally." >&2;}
4880 { (exit 1); exit 1; }; }
4882 if test -z "${USE_RTAI_TRUE}" && test -z "${USE_RTAI_FALSE}"; then
4883 { { echo "$as_me:$LINENO: error: conditional \"USE_RTAI\" was never defined.
4884 Usually this means the macro was only invoked conditionally." >&5
4885 echo "$as_me: error: conditional \"USE_RTAI\" was never defined.
4886 Usually this means the macro was only invoked conditionally." >&2;}
4887 { (exit 1); exit 1; }; }
4889 if test -z "${USE_RTLINUX_TRUE}" && test -z "${USE_RTLINUX_FALSE}"; then
4890 { { echo "$as_me:$LINENO: error: conditional \"USE_RTLINUX\" was never defined.
4891 Usually this means the macro was only invoked conditionally." >&5
4892 echo "$as_me: error: conditional \"USE_RTLINUX\" was never defined.
4893 Usually this means the macro was only invoked conditionally." >&2;}
4894 { (exit 1); exit 1; }; }
4896 if test -z "${CONFIG_ORTE_RT_TRUE}" && test -z "${CONFIG_ORTE_RT_FALSE}"; then
4897 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_RT\" was never defined.
4898 Usually this means the macro was only invoked conditionally." >&5
4899 echo "$as_me: error: conditional \"CONFIG_ORTE_RT\" was never defined.
4900 Usually this means the macro was only invoked conditionally." >&2;}
4901 { (exit 1); exit 1; }; }
4903 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4904 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4905 Usually this means the macro was only invoked conditionally." >&5
4906 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4907 Usually this means the macro was only invoked conditionally." >&2;}
4908 { (exit 1); exit 1; }; }
4910 if test -z "${CONFIG_ORTE_WIN_TRUE}" && test -z "${CONFIG_ORTE_WIN_FALSE}"; then
4911 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_WIN\" was never defined.
4912 Usually this means the macro was only invoked conditionally." >&5
4913 echo "$as_me: error: conditional \"CONFIG_ORTE_WIN\" was never defined.
4914 Usually this means the macro was only invoked conditionally." >&2;}
4915 { (exit 1); exit 1; }; }
4917 if test -z "${CONFIG_ORTE_UNIX_TRUE}" && test -z "${CONFIG_ORTE_UNIX_FALSE}"; then
4918 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_UNIX\" was never defined.
4919 Usually this means the macro was only invoked conditionally." >&5
4920 echo "$as_me: error: conditional \"CONFIG_ORTE_UNIX\" was never defined.
4921 Usually this means the macro was only invoked conditionally." >&2;}
4922 { (exit 1); exit 1; }; }
4925 : ${CONFIG_STATUS=./config.status}
4926 ac_clean_files_save=$ac_clean_files
4927 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4928 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4929 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4930 cat >$CONFIG_STATUS <<_ACEOF
4932 # Generated by $as_me.
4933 # Run this file to recreate the current configuration.
4934 # Compiler output produced by configure, useful for debugging
4935 # configure, is in config.log if it exists.
4940 SHELL=\${CONFIG_SHELL-$SHELL}
4943 cat >>$CONFIG_STATUS <<\_ACEOF
4944 ## --------------------- ##
4945 ## M4sh Initialization. ##
4946 ## --------------------- ##
4948 # Be Bourne compatible
4949 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4952 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4953 # is contrary to our usage. Disable this feature.
4954 alias -g '${1+"$@"}'='"$@"'
4955 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4959 # Support unset when possible.
4960 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4967 # Work around bugs in pre-3.0 UWIN ksh.
4968 $as_unset ENV MAIL MAILPATH
4975 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4976 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4977 LC_TELEPHONE LC_TIME
4979 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
4980 eval $as_var=C; export $as_var
4986 # Required to use basename.
4987 if expr a : '\(a\)' >/dev/null 2>&1; then
4993 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4994 as_basename=basename
5000 # Name of the executable.
5001 as_me=`$as_basename "$0" ||
5002 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5003 X"$0" : 'X\(//\)$' \| \
5004 X"$0" : 'X\(/\)$' \| \
5005 . : '\(.\)' 2>/dev/null ||
5007 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5008 /^X\/\(\/\/\)$/{ s//\1/; q; }
5009 /^X\/\(\/\).*/{ s//\1/; q; }
5013 # PATH needs CR, and LINENO needs CR and PATH.
5014 # Avoid depending upon Character Ranges.
5015 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5016 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5017 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5018 as_cr_digits='0123456789'
5019 as_cr_alnum=$as_cr_Letters$as_cr_digits
5021 # The user is always right.
5022 if test "${PATH_SEPARATOR+set}" != set; then
5023 echo "#! /bin/sh" >conf$$.sh
5024 echo "exit 0" >>conf$$.sh
5026 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5037 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5038 test "x$as_lineno_1" != "x$as_lineno_2" &&
5039 test "x$as_lineno_3" = "x$as_lineno_2" || {
5040 # Find who we are. Look in the path if we contain no path at all
5043 *[\\/]* ) as_myself=$0 ;;
5044 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5048 test -z "$as_dir" && as_dir=.
5049 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5054 # We did not find ourselves, most probably we were run as `sh COMMAND'
5055 # in which case we are not to be found in the path.
5056 if test "x$as_myself" = x; then
5059 if test ! -f "$as_myself"; then
5060 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5061 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5062 { (exit 1); exit 1; }; }
5064 case $CONFIG_SHELL in
5066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5067 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5070 test -z "$as_dir" && as_dir=.
5071 for as_base in sh bash ksh sh5; do
5074 if ("$as_dir/$as_base" -c '
5077 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5078 test "x$as_lineno_1" != "x$as_lineno_2" &&
5079 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5080 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5081 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5082 CONFIG_SHELL=$as_dir/$as_base
5084 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5092 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5093 # uniformly replaced by the line number. The first 'sed' inserts a
5094 # line-number line before each line; the second 'sed' does the real
5095 # work. The second script uses 'N' to pair each line-number line
5096 # with the numbered line, and appends trailing '-' during
5097 # substitution so that $LINENO is not a special case at line end.
5098 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5099 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5100 sed '=' <$as_myself |
5105 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5108 s,^['$as_cr_digits']*\n,,
5110 chmod +x $as_me.lineno ||
5111 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5112 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5113 { (exit 1); exit 1; }; }
5115 # Don't try to exec as it changes $[0], causing all sort of problems
5116 # (the dirname of $[0] is not the place where we might find the
5117 # original and so on. Autoconf is especially sensible to this).
5119 # Exit status is that of the last command.
5124 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5125 *c*,-n*) ECHO_N= ECHO_C='
5127 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5128 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5131 if expr a : '\(a\)' >/dev/null 2>&1; then
5137 rm -f conf$$ conf$$.exe conf$$.file
5139 if ln -s conf$$.file conf$$ 2>/dev/null; then
5140 # We could just check for DJGPP; but this test a) works b) is more generic
5141 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5142 if test -f conf$$.exe; then
5143 # Don't use ln at all; we don't have any links
5148 elif ln conf$$.file conf$$ 2>/dev/null; then
5153 rm -f conf$$ conf$$.exe conf$$.file
5155 if mkdir -p . 2>/dev/null; then
5161 as_executable_p="test -f"
5163 # Sed expression to map a string onto a valid CPP name.
5164 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5166 # Sed expression to map a string onto a valid variable name.
5167 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5171 # We need space, tab and new line, in precisely that order.
5181 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5182 # report actual input values of CONFIG_FILES etc. instead of their
5183 # values after options handling. Logging --version etc. is OK.
5187 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5188 ## Running $as_me. ##
5193 This file was extended by orte $as_me 0.2.0, which was
5194 generated by GNU Autoconf 2.57. Invocation command line was
5196 CONFIG_FILES = $CONFIG_FILES
5197 CONFIG_HEADERS = $CONFIG_HEADERS
5198 CONFIG_LINKS = $CONFIG_LINKS
5199 CONFIG_COMMANDS = $CONFIG_COMMANDS
5203 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5207 # Files that config.status was made for.
5208 if test -n "$ac_config_files"; then
5209 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5212 if test -n "$ac_config_headers"; then
5213 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5216 if test -n "$ac_config_links"; then
5217 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5220 if test -n "$ac_config_commands"; then
5221 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5224 cat >>$CONFIG_STATUS <<\_ACEOF
5227 \`$as_me' instantiates files from templates according to the
5228 current configuration.
5230 Usage: $0 [OPTIONS] [FILE]...
5232 -h, --help print this help, then exit
5233 -V, --version print version number, then exit
5234 -q, --quiet do not print progress messages
5235 -d, --debug don't remove temporary files
5236 --recheck update $as_me by reconfiguring in the same conditions
5237 --file=FILE[:TEMPLATE]
5238 instantiate the configuration file FILE
5239 --header=FILE[:TEMPLATE]
5240 instantiate the configuration header FILE
5242 Configuration files:
5245 Configuration headers:
5248 Configuration commands:
5251 Report bugs to <bug-autoconf@gnu.org>."
5254 cat >>$CONFIG_STATUS <<_ACEOF
5256 orte config.status 0.2.0
5257 configured by $0, generated by GNU Autoconf 2.57,
5258 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5260 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5261 Free Software Foundation, Inc.
5262 This config.status script is free software; the Free Software Foundation
5263 gives unlimited permission to copy, distribute and modify it."
5268 cat >>$CONFIG_STATUS <<\_ACEOF
5269 # If no file are specified by the user, then we need to provide default
5270 # value. By we need to know if files were specified by the user.
5276 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5277 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5285 *) # This is not an option, so the user has probably given explicit
5288 ac_need_defaults=false;;
5292 # Handling of the options.
5294 cat >>$CONFIG_STATUS <<\_ACEOF
5295 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5297 --version | --vers* | -V )
5298 echo "$ac_cs_version"; exit 0 ;;
5300 # Conflict between --help and --header
5301 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5302 Try \`$0 --help' for more information." >&5
5303 echo "$as_me: error: ambiguous option: $1
5304 Try \`$0 --help' for more information." >&2;}
5305 { (exit 1); exit 1; }; };;
5306 --help | --hel | -h )
5307 echo "$ac_cs_usage"; exit 0 ;;
5308 --debug | --d* | -d )
5310 --file | --fil | --fi | --f )
5312 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5313 ac_need_defaults=false;;
5314 --header | --heade | --head | --hea )
5316 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5317 ac_need_defaults=false;;
5318 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5319 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5323 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5324 Try \`$0 --help' for more information." >&5
5325 echo "$as_me: error: unrecognized option: $1
5326 Try \`$0 --help' for more information." >&2;}
5327 { (exit 1); exit 1; }; } ;;
5329 *) ac_config_targets="$ac_config_targets $1" ;;
5335 ac_configure_extra_args=
5337 if $ac_cs_silent; then
5339 ac_configure_extra_args="$ac_configure_extra_args --silent"
5343 cat >>$CONFIG_STATUS <<_ACEOF
5344 if \$ac_cs_recheck; then
5345 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5346 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5351 cat >>$CONFIG_STATUS <<_ACEOF
5353 # INIT-COMMANDS section.
5356 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5362 cat >>$CONFIG_STATUS <<\_ACEOF
5363 for ac_config_target in $ac_config_targets
5365 case "$ac_config_target" in
5366 # Handling of arguments.
5367 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5368 "orte/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/Makefile" ;;
5369 "orte/liborte/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/liborte/Makefile" ;;
5370 "orte/liborte/rtl/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/liborte/rtl/Makefile" ;;
5371 "orte/examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/Makefile" ;;
5372 "orte/examples/hello/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/hello/Makefile" ;;
5373 "orte/examples/reliable/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/reliable/Makefile" ;;
5374 "orte/examples/ORTEPing/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/ORTEPing/Makefile" ;;
5375 "orte/examples/ORTESpy/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/ORTESpy/Makefile" ;;
5376 "orte/manager/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/manager/Makefile" ;;
5377 "modtool" ) CONFIG_FILES="$CONFIG_FILES modtool" ;;
5378 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5379 "orte/include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS orte/include/config.h" ;;
5380 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5381 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5382 { (exit 1); exit 1; }; };;
5386 # If the user did not use the arguments to specify the items to instantiate,
5387 # then the envvar interface is used. Set only those that are not.
5388 # We use the long form for the default assignment because of an extremely
5389 # bizarre bug on SunOS 4.1.3.
5390 if $ac_need_defaults; then
5391 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5392 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5393 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5396 # Have a temporary directory for convenience. Make it in the build tree
5397 # simply because there is no reason to put it here, and in addition,
5398 # creating and moving files from /tmp can sometimes cause problems.
5399 # Create a temporary directory, and hook for its removal unless debugging.
5402 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5403 trap '{ (exit 1); exit 1; }' 1 2 13 15
5406 # Create a (secure) tmp directory for tmp files.
5409 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5410 test -n "$tmp" && test -d "$tmp"
5413 tmp=./confstat$$-$RANDOM
5414 (umask 077 && mkdir $tmp)
5417 echo "$me: cannot create a temporary directory in ." >&2
5418 { (exit 1); exit 1; }
5423 cat >>$CONFIG_STATUS <<_ACEOF
5426 # CONFIG_FILES section.
5429 # No need to generate the scripts if there are no CONFIG_FILES.
5430 # This happens for instance when ./config.status config.h
5431 if test -n "\$CONFIG_FILES"; then
5432 # Protect against being on the right side of a sed subst in config.status.
5433 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5434 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5435 s,@SHELL@,$SHELL,;t t
5436 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5437 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5438 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5439 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5440 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5441 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5442 s,@exec_prefix@,$exec_prefix,;t t
5443 s,@prefix@,$prefix,;t t
5444 s,@program_transform_name@,$program_transform_name,;t t
5445 s,@bindir@,$bindir,;t t
5446 s,@sbindir@,$sbindir,;t t
5447 s,@libexecdir@,$libexecdir,;t t
5448 s,@datadir@,$datadir,;t t
5449 s,@sysconfdir@,$sysconfdir,;t t
5450 s,@sharedstatedir@,$sharedstatedir,;t t
5451 s,@localstatedir@,$localstatedir,;t t
5452 s,@libdir@,$libdir,;t t
5453 s,@includedir@,$includedir,;t t
5454 s,@oldincludedir@,$oldincludedir,;t t
5455 s,@infodir@,$infodir,;t t
5456 s,@mandir@,$mandir,;t t
5457 s,@build_alias@,$build_alias,;t t
5458 s,@host_alias@,$host_alias,;t t
5459 s,@target_alias@,$target_alias,;t t
5461 s,@ECHO_C@,$ECHO_C,;t t
5462 s,@ECHO_N@,$ECHO_N,;t t
5463 s,@ECHO_T@,$ECHO_T,;t t
5465 s,@build@,$build,;t t
5466 s,@build_cpu@,$build_cpu,;t t
5467 s,@build_vendor@,$build_vendor,;t t
5468 s,@build_os@,$build_os,;t t
5470 s,@host_cpu@,$host_cpu,;t t
5471 s,@host_vendor@,$host_vendor,;t t
5472 s,@host_os@,$host_os,;t t
5473 s,@target@,$target,;t t
5474 s,@target_cpu@,$target_cpu,;t t
5475 s,@target_vendor@,$target_vendor,;t t
5476 s,@target_os@,$target_os,;t t
5477 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5478 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5479 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5480 s,@PACKAGE@,$PACKAGE,;t t
5481 s,@VERSION@,$VERSION,;t t
5482 s,@ACLOCAL@,$ACLOCAL,;t t
5483 s,@AUTOCONF@,$AUTOCONF,;t t
5484 s,@AUTOMAKE@,$AUTOMAKE,;t t
5485 s,@AUTOHEADER@,$AUTOHEADER,;t t
5486 s,@MAKEINFO@,$MAKEINFO,;t t
5487 s,@AMTAR@,$AMTAR,;t t
5488 s,@install_sh@,$install_sh,;t t
5489 s,@STRIP@,$STRIP,;t t
5490 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5491 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5493 s,@SET_MAKE@,$SET_MAKE,;t t
5494 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5495 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5496 s,@MAINT@,$MAINT,;t t
5497 s,@LINUX_DIR@,$LINUX_DIR,;t t
5498 s,@LINUX_ARCH@,$LINUX_ARCH,;t t
5499 s,@LINUX_AFLAGS@,$LINUX_AFLAGS,;t t
5500 s,@LINUX_LDFLAGS@,$LINUX_LDFLAGS,;t t
5501 s,@LINUX_ARFLAGS@,$LINUX_ARFLAGS,;t t
5502 s,@LINUX_CROSS_COMPILE@,$LINUX_CROSS_COMPILE,;t t
5503 s,@LINUX_KERNELRELEASE@,$LINUX_KERNELRELEASE,;t t
5504 s,@LINUX_CFLAGS@,$LINUX_CFLAGS,;t t
5505 s,@LINUX_CC@,$LINUX_CC,;t t
5506 s,@LINUX_LD@,$LINUX_LD,;t t
5507 s,@LINUX_AS@,$LINUX_AS,;t t
5508 s,@LINUX_MODULE_EXT@,$LINUX_MODULE_EXT,;t t
5509 s,@CONFIG_RTHAL_TRUE@,$CONFIG_RTHAL_TRUE,;t t
5510 s,@CONFIG_RTHAL_FALSE@,$CONFIG_RTHAL_FALSE,;t t
5511 s,@RTAI_CFLAGS@,$RTAI_CFLAGS,;t t
5512 s,@CONFIG_RTLINUX_TRUE@,$CONFIG_RTLINUX_TRUE,;t t
5513 s,@CONFIG_RTLINUX_FALSE@,$CONFIG_RTLINUX_FALSE,;t t
5514 s,@RTLINUX_CFLAGS@,$RTLINUX_CFLAGS,;t t
5515 s,@CONFIG_ORTE_RT@,$CONFIG_ORTE_RT,;t t
5516 s,@USE_RTAI_TRUE@,$USE_RTAI_TRUE,;t t
5517 s,@USE_RTAI_FALSE@,$USE_RTAI_FALSE,;t t
5518 s,@USE_RTLINUX_TRUE@,$USE_RTLINUX_TRUE,;t t
5519 s,@USE_RTLINUX_FALSE@,$USE_RTLINUX_FALSE,;t t
5520 s,@CONFIG_ORTE_RT_TRUE@,$CONFIG_ORTE_RT_TRUE,;t t
5521 s,@CONFIG_ORTE_RT_FALSE@,$CONFIG_ORTE_RT_FALSE,;t t
5522 s,@ORTE_MAJOR_VERSION@,$ORTE_MAJOR_VERSION,;t t
5523 s,@ORTE_MINOR_VERSION@,$ORTE_MINOR_VERSION,;t t
5524 s,@ORTE_MICRO_VERSION@,$ORTE_MICRO_VERSION,;t t
5525 s,@ORTE_VERSION@,$ORTE_VERSION,;t t
5526 s,@moduledir@,$moduledir,;t t
5527 s,@modulePROGRAMS_INSTALL@,$modulePROGRAMS_INSTALL,;t t
5529 s,@CFLAGS@,$CFLAGS,;t t
5530 s,@LDFLAGS@,$LDFLAGS,;t t
5531 s,@CPPFLAGS@,$CPPFLAGS,;t t
5532 s,@ac_ct_CC@,$ac_ct_CC,;t t
5533 s,@EXEEXT@,$EXEEXT,;t t
5534 s,@OBJEXT@,$OBJEXT,;t t
5535 s,@DEPDIR@,$DEPDIR,;t t
5536 s,@am__include@,$am__include,;t t
5537 s,@am__quote@,$am__quote,;t t
5538 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5539 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5540 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5541 s,@CCDEPMODE@,$CCDEPMODE,;t t
5542 s,@RANLIB@,$RANLIB,;t t
5543 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5545 s,@EGREP@,$EGREP,;t t
5546 s,@INCLUDES@,$INCLUDES,;t t
5547 s,@CONFIG_ORTE_WIN_TRUE@,$CONFIG_ORTE_WIN_TRUE,;t t
5548 s,@CONFIG_ORTE_WIN_FALSE@,$CONFIG_ORTE_WIN_FALSE,;t t
5549 s,@CONFIG_ORTE_UNIX_TRUE@,$CONFIG_ORTE_UNIX_TRUE,;t t
5550 s,@CONFIG_ORTE_UNIX_FALSE@,$CONFIG_ORTE_UNIX_FALSE,;t t
5551 s,@LIBOBJS@,$LIBOBJS,;t t
5552 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5557 cat >>$CONFIG_STATUS <<\_ACEOF
5558 # Split the substitutions into bite-sized pieces for seds with
5559 # small command number limits, like on Digital OSF/1 and HP-UX.
5561 ac_sed_frag=1 # Number of current file.
5562 ac_beg=1 # First line for current file.
5563 ac_end=$ac_max_sed_lines # Line after last line for current file.
5566 while $ac_more_lines; do
5567 if test $ac_beg -gt 1; then
5568 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5570 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5572 if test ! -s $tmp/subs.frag; then
5575 # The purpose of the label and of the branching condition is to
5576 # speed up the sed processing (if there are no `@' at all, there
5577 # is no need to browse any of the substitutions).
5578 # These are the two extra sed commands mentioned above.
5580 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5581 if test -z "$ac_sed_cmds"; then
5582 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5584 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5586 ac_sed_frag=`expr $ac_sed_frag + 1`
5588 ac_end=`expr $ac_end + $ac_max_sed_lines`
5591 if test -z "$ac_sed_cmds"; then
5594 fi # test -n "$CONFIG_FILES"
5597 cat >>$CONFIG_STATUS <<\_ACEOF
5598 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5599 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5601 - | *:- | *:-:* ) # input from stdin
5603 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5604 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5605 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5606 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5607 * ) ac_file_in=$ac_file.in ;;
5610 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5611 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5612 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5613 X"$ac_file" : 'X\(//\)[^/]' \| \
5614 X"$ac_file" : 'X\(//\)$' \| \
5615 X"$ac_file" : 'X\(/\)' \| \
5616 . : '\(.\)' 2>/dev/null ||
5618 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5619 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5620 /^X\(\/\/\)$/{ s//\1/; q; }
5621 /^X\(\/\).*/{ s//\1/; q; }
5623 { if $as_mkdir_p; then
5628 while test ! -d "$as_dir"; do
5629 as_dirs="$as_dir $as_dirs"
5630 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5631 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5632 X"$as_dir" : 'X\(//\)[^/]' \| \
5633 X"$as_dir" : 'X\(//\)$' \| \
5634 X"$as_dir" : 'X\(/\)' \| \
5635 . : '\(.\)' 2>/dev/null ||
5637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5638 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5639 /^X\(\/\/\)$/{ s//\1/; q; }
5640 /^X\(\/\).*/{ s//\1/; q; }
5643 test ! -n "$as_dirs" || mkdir $as_dirs
5644 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5645 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5646 { (exit 1); exit 1; }; }; }
5650 if test "$ac_dir" != .; then
5651 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5652 # A "../" for each directory in $ac_dir_suffix.
5653 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5655 ac_dir_suffix= ac_top_builddir=
5659 .) # No --srcdir option. We are building in place.
5661 if test -z "$ac_top_builddir"; then
5664 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5666 [\\/]* | ?:[\\/]* ) # Absolute path.
5667 ac_srcdir=$srcdir$ac_dir_suffix;
5668 ac_top_srcdir=$srcdir ;;
5670 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5671 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5673 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5675 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5676 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5677 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5678 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5682 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5683 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5686 if test x"$ac_file" != x-; then
5687 { echo "$as_me:$LINENO: creating $ac_file" >&5
5688 echo "$as_me: creating $ac_file" >&6;}
5691 # Let's still pretend it is `configure' which instantiates (i.e., don't
5692 # use $as_me), people would be surprised to read:
5693 # /* config.h. Generated by config.status. */
5694 if test x"$ac_file" = x-; then
5697 configure_input="$ac_file. "
5699 configure_input=$configure_input"Generated from `echo $ac_file_in |
5700 sed 's,.*/,,'` by configure."
5702 # First look for the input files in the build tree, otherwise in the
5704 ac_file_inputs=`IFS=:
5705 for f in $ac_file_in; do
5707 -) echo $tmp/stdin ;;
5709 # Absolute (can't be DOS-style, as IFS=:)
5710 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5711 echo "$as_me: error: cannot find input file: $f" >&2;}
5712 { (exit 1); exit 1; }; }
5715 if test -f "$f"; then
5718 elif test -f "$srcdir/$f"; then
5723 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5724 echo "$as_me: error: cannot find input file: $f" >&2;}
5725 { (exit 1); exit 1; }; }
5728 done` || { (exit 1); exit 1; }
5730 cat >>$CONFIG_STATUS <<_ACEOF
5734 cat >>$CONFIG_STATUS <<\_ACEOF
5736 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5737 s,@configure_input@,$configure_input,;t t
5738 s,@srcdir@,$ac_srcdir,;t t
5739 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5740 s,@top_srcdir@,$ac_top_srcdir,;t t
5741 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5742 s,@builddir@,$ac_builddir,;t t
5743 s,@abs_builddir@,$ac_abs_builddir,;t t
5744 s,@top_builddir@,$ac_top_builddir,;t t
5745 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5746 s,@INSTALL@,$ac_INSTALL,;t t
5747 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5749 if test x"$ac_file" != x-; then
5750 mv $tmp/out $ac_file
5758 cat >>$CONFIG_STATUS <<\_ACEOF
5761 # CONFIG_HEADER section.
5764 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5765 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5767 # ac_d sets the value in "#define NAME VALUE" lines.
5768 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5769 ac_dB='[ ].*$,\1#\2'
5772 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5773 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5774 ac_uB='$,\1#\2define\3'
5778 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5779 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5781 - | *:- | *:-:* ) # input from stdin
5783 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5784 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5785 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5786 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5787 * ) ac_file_in=$ac_file.in ;;
5790 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5791 echo "$as_me: creating $ac_file" >&6;}
5793 # First look for the input files in the build tree, otherwise in the
5795 ac_file_inputs=`IFS=:
5796 for f in $ac_file_in; do
5798 -) echo $tmp/stdin ;;
5800 # Absolute (can't be DOS-style, as IFS=:)
5801 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5802 echo "$as_me: error: cannot find input file: $f" >&2;}
5803 { (exit 1); exit 1; }; }
5806 if test -f "$f"; then
5809 elif test -f "$srcdir/$f"; then
5814 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5815 echo "$as_me: error: cannot find input file: $f" >&2;}
5816 { (exit 1); exit 1; }; }
5819 done` || { (exit 1); exit 1; }
5820 # Remove the trailing spaces.
5821 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5825 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5826 # `conftest.undefs', that substitutes the proper values into
5827 # config.h.in to produce config.h. The first handles `#define'
5828 # templates, and the second `#undef' templates.
5829 # And first: Protect against being on the right side of a sed subst in
5830 # config.status. Protect against being in an unquoted here document
5832 rm -f conftest.defines conftest.undefs
5833 # Using a here document instead of a string reduces the quoting nightmare.
5834 # Putting comments in sed scripts is not portable.
5836 # `end' is used to avoid that the second main sed command (meant for
5837 # 0-ary CPP macros) applies to n-ary macro definitions.
5838 # See the Autoconf documentation for `clear'.
5839 cat >confdef2sed.sed <<\_ACEOF
5844 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5846 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5849 # If some macros were called several times there might be several times
5850 # the same #defines, which is useless. Nevertheless, we may not want to
5851 # sort them, since we want the *last* AC-DEFINE to be honored.
5852 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5853 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5854 rm -f confdef2sed.sed
5856 # This sed command replaces #undef with comments. This is necessary, for
5857 # example, in the case of _POSIX_SOURCE, which is predefined and required
5858 # on some systems where configure will not decide to define it.
5859 cat >>conftest.undefs <<\_ACEOF
5860 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5863 # Break up conftest.defines because some shells have a limit on the size
5864 # of here documents, and old seds have small limits too (100 cmds).
5865 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5866 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5867 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5868 echo ' :' >>$CONFIG_STATUS
5870 while grep . conftest.defines >/dev/null
5872 # Write a limited-size here document to $tmp/defines.sed.
5873 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5874 # Speed up: don't consider the non `#define' lines.
5875 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5876 # Work around the forget-to-reset-the-flag bug.
5877 echo 't clr' >>$CONFIG_STATUS
5878 echo ': clr' >>$CONFIG_STATUS
5879 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5881 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5885 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5886 rm -f conftest.defines
5887 mv conftest.tail conftest.defines
5889 rm -f conftest.defines
5890 echo ' fi # grep' >>$CONFIG_STATUS
5891 echo >>$CONFIG_STATUS
5893 # Break up conftest.undefs because some shells have a limit on the size
5894 # of here documents, and old seds have small limits too (100 cmds).
5895 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5897 while grep . conftest.undefs >/dev/null
5899 # Write a limited-size here document to $tmp/undefs.sed.
5900 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5901 # Speed up: don't consider the non `#undef'
5902 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5903 # Work around the forget-to-reset-the-flag bug.
5904 echo 't clr' >>$CONFIG_STATUS
5905 echo ': clr' >>$CONFIG_STATUS
5906 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5908 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5912 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5913 rm -f conftest.undefs
5914 mv conftest.tail conftest.undefs
5916 rm -f conftest.undefs
5918 cat >>$CONFIG_STATUS <<\_ACEOF
5919 # Let's still pretend it is `configure' which instantiates (i.e., don't
5920 # use $as_me), people would be surprised to read:
5921 # /* config.h. Generated by config.status. */
5922 if test x"$ac_file" = x-; then
5923 echo "/* Generated by configure. */" >$tmp/config.h
5925 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5927 cat $tmp/in >>$tmp/config.h
5929 if test x"$ac_file" != x-; then
5930 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5931 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5932 echo "$as_me: $ac_file is unchanged" >&6;}
5934 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5935 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5936 X"$ac_file" : 'X\(//\)[^/]' \| \
5937 X"$ac_file" : 'X\(//\)$' \| \
5938 X"$ac_file" : 'X\(/\)' \| \
5939 . : '\(.\)' 2>/dev/null ||
5941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5942 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5943 /^X\(\/\/\)$/{ s//\1/; q; }
5944 /^X\(\/\).*/{ s//\1/; q; }
5946 { if $as_mkdir_p; then
5951 while test ! -d "$as_dir"; do
5952 as_dirs="$as_dir $as_dirs"
5953 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5954 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5955 X"$as_dir" : 'X\(//\)[^/]' \| \
5956 X"$as_dir" : 'X\(//\)$' \| \
5957 X"$as_dir" : 'X\(/\)' \| \
5958 . : '\(.\)' 2>/dev/null ||
5960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5961 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5962 /^X\(\/\/\)$/{ s//\1/; q; }
5963 /^X\(\/\).*/{ s//\1/; q; }
5966 test ! -n "$as_dirs" || mkdir $as_dirs
5967 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5968 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5969 { (exit 1); exit 1; }; }; }
5972 mv $tmp/config.h $ac_file
5978 # Run the commands associated with the file.
5980 orte/include/config.h ) # update the timestamp
5981 echo 'timestamp for orte/include/config.h' >"orte/include/stamp-h1"
5986 cat >>$CONFIG_STATUS <<\_ACEOF
5989 # CONFIG_COMMANDS section.
5991 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5992 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5993 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5994 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5995 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5996 X"$ac_dest" : 'X\(//\)[^/]' \| \
5997 X"$ac_dest" : 'X\(//\)$' \| \
5998 X"$ac_dest" : 'X\(/\)' \| \
5999 . : '\(.\)' 2>/dev/null ||
6001 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6002 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6003 /^X\(\/\/\)$/{ s//\1/; q; }
6004 /^X\(\/\).*/{ s//\1/; q; }
6008 if test "$ac_dir" != .; then
6009 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6010 # A "../" for each directory in $ac_dir_suffix.
6011 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6013 ac_dir_suffix= ac_top_builddir=
6017 .) # No --srcdir option. We are building in place.
6019 if test -z "$ac_top_builddir"; then
6022 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6024 [\\/]* | ?:[\\/]* ) # Absolute path.
6025 ac_srcdir=$srcdir$ac_dir_suffix;
6026 ac_top_srcdir=$srcdir ;;
6028 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6029 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6031 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6033 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6034 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6035 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6036 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6039 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6040 echo "$as_me: executing $ac_dest commands" >&6;}
6042 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6043 # Strip MF so we end up with the name of the file.
6044 mf=`echo "$mf" | sed -e 's/:.*$//'`
6045 # Check whether this is an Automake generated Makefile or not.
6046 # We used to match only the files named `Makefile.in', but
6047 # some people rename them; so instead we look at the file content.
6048 # Grep'ing the first line is not enough: some people post-process
6049 # each Makefile.in and add a new line on top of each file to say so.
6050 # So let's grep whole file.
6051 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6052 dirpart=`(dirname "$mf") 2>/dev/null ||
6053 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6054 X"$mf" : 'X\(//\)[^/]' \| \
6055 X"$mf" : 'X\(//\)$' \| \
6056 X"$mf" : 'X\(/\)' \| \
6057 . : '\(.\)' 2>/dev/null ||
6059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6060 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6061 /^X\(\/\/\)$/{ s//\1/; q; }
6062 /^X\(\/\).*/{ s//\1/; q; }
6067 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6068 # Extract the definition of DEP_FILES from the Makefile without
6070 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6071 test -z "$DEPDIR" && continue
6072 # When using ansi2knr, U may be empty or an underscore; expand it
6073 U=`sed -n -e '/^U = / s///p' < "$mf"`
6074 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6075 # We invoke sed twice because it is the simplest approach to
6076 # changing $(DEPDIR) to its actual value in the expansion.
6077 for file in `sed -n -e '
6078 /^DEP_FILES = .*\\\\$/ {
6087 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6088 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6089 # Make sure the directory exists.
6090 test -f "$dirpart/$file" && continue
6091 fdir=`(dirname "$file") 2>/dev/null ||
6092 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6093 X"$file" : 'X\(//\)[^/]' \| \
6094 X"$file" : 'X\(//\)$' \| \
6095 X"$file" : 'X\(/\)' \| \
6096 . : '\(.\)' 2>/dev/null ||
6098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6099 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6100 /^X\(\/\/\)$/{ s//\1/; q; }
6101 /^X\(\/\).*/{ s//\1/; q; }
6103 { if $as_mkdir_p; then
6104 mkdir -p $dirpart/$fdir
6106 as_dir=$dirpart/$fdir
6108 while test ! -d "$as_dir"; do
6109 as_dirs="$as_dir $as_dirs"
6110 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6111 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6112 X"$as_dir" : 'X\(//\)[^/]' \| \
6113 X"$as_dir" : 'X\(//\)$' \| \
6114 X"$as_dir" : 'X\(/\)' \| \
6115 . : '\(.\)' 2>/dev/null ||
6117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6118 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6119 /^X\(\/\/\)$/{ s//\1/; q; }
6120 /^X\(\/\).*/{ s//\1/; q; }
6123 test ! -n "$as_dirs" || mkdir $as_dirs
6124 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6125 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6126 { (exit 1); exit 1; }; }; }
6128 # echo "creating $dirpart/$file"
6129 echo '# dummy' > "$dirpart/$file"
6137 cat >>$CONFIG_STATUS <<\_ACEOF
6139 { (exit 0); exit 0; }
6141 chmod +x $CONFIG_STATUS
6142 ac_clean_files=$ac_clean_files_save
6145 # configure is writing to config.log, and then calls config.status.
6146 # config.status does its own redirection, appending to config.log.
6147 # Unfortunately, on DOS this fails, as config.log is still kept open
6148 # by configure, so config.status won't be able to write to it; its
6149 # output is simply discarded. So we exec the FD to /dev/null,
6150 # effectively closing config.log, so it can be properly (re)opened and
6151 # appended to by config.status. When coming back to configure, we
6152 # need to make the FD available again.
6153 if test "$no_create" != yes; then
6155 ac_config_status_args=
6156 test "$silent" = yes &&
6157 ac_config_status_args="$ac_config_status_args --quiet"
6159 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6161 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6162 # would make configure fail if this is the last instruction.
6163 $ac_cs_success || { (exit 1); exit 1; }
6169 # ======================================================================
6170 # generate orte/include/orte_config.h
6171 # ======================================================================
6173 { echo "$as_me:$LINENO: creating orte/include/orte_config.h" >&5
6174 echo "$as_me: creating orte/include/orte_config.h" >&6;}
6175 sed -e "s/ PACKAGE/ ORTE_PACKAGE/" -e "s/ VERSION/ ORTE_VERSION/" \
6176 orte/include/config.h >orte/include/orte_config.h.new
6177 if cmp -s orte/include/orte_config.h.new orte/include/orte_config.h; then
6178 rm orte/include/orte_config.h.new
6179 { echo "$as_me:$LINENO: orte/include/orte_config.h is unchanged" >&5
6180 echo "$as_me: orte/include/orte_config.h is unchanged" >&6;}
6182 mv orte/include/orte_config.h.new orte/include/orte_config.h
6186 "------------------------------------------------------------------------
6189 Source code location: ${srcdir}
6191 Compiler flags: ${CFLAGS}
6192 Host System Type: ${host}
6194 See config.h for further configuration information.
6195 ------------------------------------------------------------------------"