2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for orte 0.2.0.
5 # Report bugs to <petr.smolik@wo.cz>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/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 -z "`(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
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
262 SHELL=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
271 PACKAGE_TARNAME='orte'
272 PACKAGE_VERSION='0.2.0'
273 PACKAGE_STRING='orte 0.2.0'
274 PACKAGE_BUGREPORT='petr.smolik@wo.cz'
276 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_ORTE_KERNEL CONFIG_ORTE_KERNEL_TRUE CONFIG_ORTE_KERNEL_FALSE 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 CONFIG_ORTE_WIN_TRUE CONFIG_ORTE_WIN_FALSE CONFIG_ORTE_UNIX_TRUE CONFIG_ORTE_UNIX_FALSE 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 LIBOBJS LTLIBOBJS'
279 # Initialize some variables set by options.
281 ac_init_version=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name=s,x,x,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir='${exec_prefix}/bin'
305 sbindir='${exec_prefix}/sbin'
306 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
308 sysconfdir='${prefix}/etc'
309 sharedstatedir='${prefix}/com'
310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312 includedir='${prefix}/include'
313 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
338 -build | --build | --buil | --bui | --bu)
339 ac_prev=build_alias ;;
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341 build_alias=$ac_optarg ;;
343 -cache-file | --cache-file | --cache-fil | --cache-fi \
344 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345 ac_prev=cache_file ;;
346 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348 cache_file=$ac_optarg ;;
351 cache_file=config.cache ;;
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357 datadir=$ac_optarg ;;
359 -disable-* | --disable-*)
360 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* | --enable-*)
369 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383 | --exec | --exe | --ex)
384 ac_prev=exec_prefix ;;
385 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387 | --exec=* | --exe=* | --ex=*)
388 exec_prefix=$ac_optarg ;;
390 -gas | --gas | --ga | --g)
391 # Obsolete; use --with-gas.
394 -help | --help | --hel | --he | -h)
396 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397 ac_init_help=recursive ;;
398 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399 ac_init_help=short ;;
401 -host | --host | --hos | --ho)
402 ac_prev=host_alias ;;
403 -host=* | --host=* | --hos=* | --ho=*)
404 host_alias=$ac_optarg ;;
406 -includedir | --includedir | --includedi | --included | --include \
407 | --includ | --inclu | --incl | --inc)
408 ac_prev=includedir ;;
409 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410 | --includ=* | --inclu=* | --incl=* | --inc=*)
411 includedir=$ac_optarg ;;
413 -infodir | --infodir | --infodi | --infod | --info | --inf)
415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416 infodir=$ac_optarg ;;
418 -libdir | --libdir | --libdi | --libd)
420 -libdir=* | --libdir=* | --libdi=* | --libd=*)
423 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424 | --libexe | --libex | --libe)
425 ac_prev=libexecdir ;;
426 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427 | --libexe=* | --libex=* | --libe=*)
428 libexecdir=$ac_optarg ;;
430 -localstatedir | --localstatedir | --localstatedi | --localstated \
431 | --localstate | --localstat | --localsta | --localst \
432 | --locals | --local | --loca | --loc | --lo)
433 ac_prev=localstatedir ;;
434 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437 localstatedir=$ac_optarg ;;
439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
445 # Obsolete; use --without-fp.
448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449 | --no-cr | --no-c | -n)
452 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
456 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458 | --oldin | --oldi | --old | --ol | --o)
459 ac_prev=oldincludedir ;;
460 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463 oldincludedir=$ac_optarg ;;
465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
470 -program-prefix | --program-prefix | --program-prefi | --program-pref \
471 | --program-pre | --program-pr | --program-p)
472 ac_prev=program_prefix ;;
473 -program-prefix=* | --program-prefix=* | --program-prefi=* \
474 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475 program_prefix=$ac_optarg ;;
477 -program-suffix | --program-suffix | --program-suffi | --program-suff \
478 | --program-suf | --program-su | --program-s)
479 ac_prev=program_suffix ;;
480 -program-suffix=* | --program-suffix=* | --program-suffi=* \
481 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482 program_suffix=$ac_optarg ;;
484 -program-transform-name | --program-transform-name \
485 | --program-transform-nam | --program-transform-na \
486 | --program-transform-n | --program-transform- \
487 | --program-transform | --program-transfor \
488 | --program-transfo | --program-transf \
489 | --program-trans | --program-tran \
490 | --progr-tra | --program-tr | --program-t)
491 ac_prev=program_transform_name ;;
492 -program-transform-name=* | --program-transform-name=* \
493 | --program-transform-nam=* | --program-transform-na=* \
494 | --program-transform-n=* | --program-transform-=* \
495 | --program-transform=* | --program-transfor=* \
496 | --program-transfo=* | --program-transf=* \
497 | --program-trans=* | --program-tran=* \
498 | --progr-tra=* | --program-tr=* | --program-t=*)
499 program_transform_name=$ac_optarg ;;
501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502 | -silent | --silent | --silen | --sile | --sil)
505 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509 sbindir=$ac_optarg ;;
511 -sharedstatedir | --sharedstatedir | --sharedstatedi \
512 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513 | --sharedst | --shareds | --shared | --share | --shar \
515 ac_prev=sharedstatedir ;;
516 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520 sharedstatedir=$ac_optarg ;;
522 -site | --site | --sit)
524 -site=* | --site=* | --sit=*)
527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
532 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533 | --syscon | --sysco | --sysc | --sys | --sy)
534 ac_prev=sysconfdir ;;
535 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537 sysconfdir=$ac_optarg ;;
539 -target | --target | --targe | --targ | --tar | --ta | --t)
540 ac_prev=target_alias ;;
541 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542 target_alias=$ac_optarg ;;
544 -v | -verbose | --verbose | --verbos | --verbo | --verb)
547 -version | --version | --versio | --versi | --vers | -V)
551 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* | --without-*)
564 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577 | --x-incl | --x-inc | --x-in | --x-i)
578 ac_prev=x_includes ;;
579 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581 x_includes=$ac_optarg ;;
583 -x-libraries | --x-libraries | --x-librarie | --x-librari \
584 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585 ac_prev=x_libraries ;;
586 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588 x_libraries=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
625 eval ac_val=$`echo $ac_var`
627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val=$`echo $ac_var`
639 [\\/$]* | ?:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x; then
654 if test "x$build_alias" = x; then
655 cross_compiling=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
666 test "$silent" = yes && exec 6>/dev/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
717 ac_env_CC_set=${CC+set}
719 ac_cv_env_CC_set=${CC+set}
720 ac_cv_env_CC_value=$CC
721 ac_env_CFLAGS_set=${CFLAGS+set}
722 ac_env_CFLAGS_value=$CFLAGS
723 ac_cv_env_CFLAGS_set=${CFLAGS+set}
724 ac_cv_env_CFLAGS_value=$CFLAGS
725 ac_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_env_LDFLAGS_value=$LDFLAGS
727 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728 ac_cv_env_LDFLAGS_value=$LDFLAGS
729 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_env_CPPFLAGS_value=$CPPFLAGS
731 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
733 ac_env_CPP_set=${CPP+set}
734 ac_env_CPP_value=$CPP
735 ac_cv_env_CPP_set=${CPP+set}
736 ac_cv_env_CPP_value=$CPP
739 # Report the --help message.
741 if test "$ac_init_help" = "long"; then
742 # Omit some internal or obsolete options to make the list less imposing.
743 # This message is too long to be a string in the A/UX 3.1 sh.
745 \`configure' configures orte 0.2.0 to adapt to many kinds of systems.
747 Usage: $0 [OPTION]... [VAR=VALUE]...
749 To assign environment variables (e.g., CC, CFLAGS...), specify them as
750 VAR=VALUE. See below for descriptions of some of the useful variables.
752 Defaults for the options are specified in brackets.
755 -h, --help display this help and exit
756 --help=short display options specific to this package
757 --help=recursive display the short help of all the included packages
758 -V, --version display version information and exit
759 -q, --quiet, --silent do not print \`checking...' messages
760 --cache-file=FILE cache test results in FILE [disabled]
761 -C, --config-cache alias for \`--cache-file=config.cache'
762 -n, --no-create do not create output files
763 --srcdir=DIR find the sources in DIR [configure dir or \`..']
768 Installation directories:
769 --prefix=PREFIX install architecture-independent files in PREFIX
771 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
774 By default, \`make install' will install all the files in
775 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
776 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
777 for instance \`--prefix=\$HOME'.
779 For better control, use the options below.
781 Fine tuning of the installation directories:
782 --bindir=DIR user executables [EPREFIX/bin]
783 --sbindir=DIR system admin executables [EPREFIX/sbin]
784 --libexecdir=DIR program executables [EPREFIX/libexec]
785 --datadir=DIR read-only architecture-independent data [PREFIX/share]
786 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
787 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
788 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
789 --libdir=DIR object code libraries [EPREFIX/lib]
790 --includedir=DIR C header files [PREFIX/include]
791 --oldincludedir=DIR C header files for non-gcc [/usr/include]
792 --infodir=DIR info documentation [PREFIX/info]
793 --mandir=DIR man documentation [PREFIX/man]
799 --program-prefix=PREFIX prepend PREFIX to installed program names
800 --program-suffix=SUFFIX append SUFFIX to installed program names
801 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
804 --build=BUILD configure for building on BUILD [guessed]
805 --host=HOST cross-compile to build programs to run on HOST [BUILD]
806 --target=TARGET configure for building compilers for TARGET [HOST]
810 if test -n "$ac_init_help"; then
811 case $ac_init_help in
812 short | recursive ) echo "Configuration of orte 0.2.0:";;
817 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
818 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
819 --enable-maintainer-mode enable make rules and dependencies not useful
820 (and sometimes confusing) to the casual installer
821 --disable-dependency-tracking Speeds up one-time builds
822 --enable-dependency-tracking Do not reject slow dependency extractors
825 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
826 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
827 --with-linuxdir=DIR specify path to Linux source directory
828 --with-rtaidir=DIR specify path to RTAI source directory
829 --with-rtlinuxdir=DIR specify path to RTLinux source directory
830 --with-rtlinuxudpdir=DIR
831 specify path to RTLinux UDP source directory
833 Some influential environment variables:
834 CC C compiler command
835 CFLAGS C compiler flags
836 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
837 nonstandard directory <lib dir>
838 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
839 headers in a nonstandard directory <include dir>
842 Use these variables to override the choices made by `configure' or to help
843 it to find libraries and programs with nonstandard names/locations.
845 Report bugs to <petr.smolik@wo.cz>.
849 if test "$ac_init_help" = "recursive"; then
850 # If there are subdirs, report their specific --help.
852 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
853 test -d $ac_dir || continue
856 if test "$ac_dir" != .; then
857 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
858 # A "../" for each directory in $ac_dir_suffix.
859 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
861 ac_dir_suffix= ac_top_builddir=
865 .) # No --srcdir option. We are building in place.
867 if test -z "$ac_top_builddir"; then
870 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
872 [\\/]* | ?:[\\/]* ) # Absolute path.
873 ac_srcdir=$srcdir$ac_dir_suffix;
874 ac_top_srcdir=$srcdir ;;
876 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
877 ac_top_srcdir=$ac_top_builddir$srcdir ;;
880 # Do not use `cd foo && pwd` to compute absolute paths, because
881 # the directories may not exist.
883 .) ac_abs_builddir="$ac_dir";;
886 .) ac_abs_builddir=`pwd`;;
887 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
888 *) ac_abs_builddir=`pwd`/"$ac_dir";;
891 case $ac_abs_builddir in
892 .) ac_abs_top_builddir=${ac_top_builddir}.;;
894 case ${ac_top_builddir}. in
895 .) ac_abs_top_builddir=$ac_abs_builddir;;
896 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
897 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
900 case $ac_abs_builddir in
901 .) ac_abs_srcdir=$ac_srcdir;;
904 .) ac_abs_srcdir=$ac_abs_builddir;;
905 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
906 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
909 case $ac_abs_builddir in
910 .) ac_abs_top_srcdir=$ac_top_srcdir;;
912 case $ac_top_srcdir in
913 .) ac_abs_top_srcdir=$ac_abs_builddir;;
914 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
915 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
920 # Check for guested configure; otherwise get Cygnus style configure.
921 if test -f $ac_srcdir/configure.gnu; then
923 $SHELL $ac_srcdir/configure.gnu --help=recursive
924 elif test -f $ac_srcdir/configure; then
926 $SHELL $ac_srcdir/configure --help=recursive
927 elif test -f $ac_srcdir/configure.ac ||
928 test -f $ac_srcdir/configure.in; then
932 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
938 test -n "$ac_init_help" && exit 0
939 if $ac_init_version; then
942 generated by GNU Autoconf 2.59
944 Copyright (C) 2003 Free Software Foundation, Inc.
945 This configure script is free software; the Free Software Foundation
946 gives unlimited permission to copy, distribute and modify it.
952 This file contains any messages produced by compilers while
953 running configure, to aid debugging if configure makes a mistake.
955 It was created by orte $as_me 0.2.0, which was
956 generated by GNU Autoconf 2.59. Invocation command line was
967 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
968 uname -m = `(uname -m) 2>/dev/null || echo unknown`
969 uname -r = `(uname -r) 2>/dev/null || echo unknown`
970 uname -s = `(uname -s) 2>/dev/null || echo unknown`
971 uname -v = `(uname -v) 2>/dev/null || echo unknown`
973 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
974 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
976 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
977 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
978 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
979 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
980 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
981 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
982 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
990 test -z "$as_dir" && as_dir=.
1006 # Keep a trace of the command line.
1007 # Strip out --no-create and --no-recursion so they do not pile up.
1008 # Strip out --silent because we don't want to record it for future runs.
1009 # Also quote any args containing shell meta-characters.
1010 # Make two passes to allow for proper duplicate-argument suppression.
1015 ac_must_keep_next=false
1021 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1022 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1023 | -silent | --silent | --silen | --sile | --sil)
1025 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1026 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1029 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1031 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1032 if test $ac_must_keep_next = true; then
1033 ac_must_keep_next=false # Got value, back to normal.
1036 *=* | --config-cache | -C | -disable-* | --disable-* \
1037 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1038 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1039 | -with-* | --with-* | -without-* | --without-* | --x)
1040 case "$ac_configure_args0 " in
1041 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1044 -* ) ac_must_keep_next=true ;;
1047 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1048 # Get rid of the leading space.
1054 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1055 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1057 # When interrupted or exit'd, cleanup temporary files, and complete
1058 # config.log. We remove comments because anyway the quotes in there
1059 # would cause problems or look ugly.
1060 # WARNING: Be sure not to use single quotes in there, as some shells,
1061 # such as our DU 5.0 friend, will then `close' the trap.
1062 trap 'exit_status=$?
1063 # Save into config.log some information that might help in debugging.
1068 ## ---------------- ##
1069 ## Cache variables. ##
1070 ## ---------------- ##
1073 # The following way of writing the cache mishandles newlines in values,
1076 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1079 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1080 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1084 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1091 ## ----------------- ##
1092 ## Output variables. ##
1093 ## ----------------- ##
1096 for ac_var in $ac_subst_vars
1098 eval ac_val=$`echo $ac_var`
1099 echo "$ac_var='"'"'$ac_val'"'"'"
1103 if test -n "$ac_subst_files"; then
1110 for ac_var in $ac_subst_files
1112 eval ac_val=$`echo $ac_var`
1113 echo "$ac_var='"'"'$ac_val'"'"'"
1118 if test -s confdefs.h; then
1125 sed "/^$/d" confdefs.h | sort
1128 test "$ac_signal" != 0 &&
1129 echo "$as_me: caught signal $ac_signal"
1130 echo "$as_me: exit $exit_status"
1132 rm -f core *.core &&
1133 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1136 for ac_signal in 1 2 13 15; do
1137 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1141 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1142 rm -rf conftest* confdefs.h
1143 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1146 # Predefined preprocessor variables.
1148 cat >>confdefs.h <<_ACEOF
1149 #define PACKAGE_NAME "$PACKAGE_NAME"
1153 cat >>confdefs.h <<_ACEOF
1154 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1158 cat >>confdefs.h <<_ACEOF
1159 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1163 cat >>confdefs.h <<_ACEOF
1164 #define PACKAGE_STRING "$PACKAGE_STRING"
1168 cat >>confdefs.h <<_ACEOF
1169 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1173 # Let the site file select an alternate cache file if it wants to.
1174 # Prefer explicitly selected file to automatically selected ones.
1175 if test -z "$CONFIG_SITE"; then
1176 if test "x$prefix" != xNONE; then
1177 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1179 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1182 for ac_site_file in $CONFIG_SITE; do
1183 if test -r "$ac_site_file"; then
1184 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1185 echo "$as_me: loading site script $ac_site_file" >&6;}
1186 sed 's/^/| /' "$ac_site_file" >&5
1191 if test -r "$cache_file"; then
1192 # Some versions of bash will fail to source /dev/null (special
1193 # files actually), so we avoid doing that.
1194 if test -f "$cache_file"; then
1195 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1196 echo "$as_me: loading cache $cache_file" >&6;}
1198 [\\/]* | ?:[\\/]* ) . $cache_file;;
1199 *) . ./$cache_file;;
1203 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1204 echo "$as_me: creating cache $cache_file" >&6;}
1208 # Check that the precious variables saved in the cache have kept the same
1210 ac_cache_corrupted=false
1211 for ac_var in `(set) 2>&1 |
1212 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1213 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1214 eval ac_new_set=\$ac_env_${ac_var}_set
1215 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1216 eval ac_new_val="\$ac_env_${ac_var}_value"
1217 case $ac_old_set,$ac_new_set in
1219 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1220 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1221 ac_cache_corrupted=: ;;
1223 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1224 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1225 ac_cache_corrupted=: ;;
1228 if test "x$ac_old_val" != "x$ac_new_val"; then
1229 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1230 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1231 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1232 echo "$as_me: former value: $ac_old_val" >&2;}
1233 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1234 echo "$as_me: current value: $ac_new_val" >&2;}
1235 ac_cache_corrupted=:
1238 # Pass precious variables to config.status.
1239 if test "$ac_new_set" = set; then
1241 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1242 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1243 *) ac_arg=$ac_var=$ac_new_val ;;
1245 case " $ac_configure_args " in
1246 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1247 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1251 if $ac_cache_corrupted; then
1252 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1253 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1254 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1255 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1256 { (exit 1); exit 1; }; }
1260 ac_cpp='$CPP $CPPFLAGS'
1261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1292 for ac_dir in admin $srcdir/admin; do
1293 if test -f $ac_dir/install-sh; then
1295 ac_install_sh="$ac_aux_dir/install-sh -c"
1297 elif test -f $ac_dir/install.sh; then
1299 ac_install_sh="$ac_aux_dir/install.sh -c"
1301 elif test -f $ac_dir/shtool; then
1303 ac_install_sh="$ac_aux_dir/shtool install -c"
1307 if test -z "$ac_aux_dir"; then
1308 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&5
1309 echo "$as_me: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&2;}
1310 { (exit 1); exit 1; }; }
1312 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1313 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1314 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1317 #Check for CPU / vendor / OS
1318 # Make sure we can run config.sub.
1319 $ac_config_sub sun4 >/dev/null 2>&1 ||
1320 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1321 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1322 { (exit 1); exit 1; }; }
1324 echo "$as_me:$LINENO: checking build system type" >&5
1325 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1326 if test "${ac_cv_build+set}" = set; then
1327 echo $ECHO_N "(cached) $ECHO_C" >&6
1329 ac_cv_build_alias=$build_alias
1330 test -z "$ac_cv_build_alias" &&
1331 ac_cv_build_alias=`$ac_config_guess`
1332 test -z "$ac_cv_build_alias" &&
1333 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1334 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1335 { (exit 1); exit 1; }; }
1336 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1337 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1338 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1339 { (exit 1); exit 1; }; }
1342 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1343 echo "${ECHO_T}$ac_cv_build" >&6
1345 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1346 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1347 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1350 echo "$as_me:$LINENO: checking host system type" >&5
1351 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1352 if test "${ac_cv_host+set}" = set; then
1353 echo $ECHO_N "(cached) $ECHO_C" >&6
1355 ac_cv_host_alias=$host_alias
1356 test -z "$ac_cv_host_alias" &&
1357 ac_cv_host_alias=$ac_cv_build_alias
1358 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1359 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1360 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1361 { (exit 1); exit 1; }; }
1364 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1365 echo "${ECHO_T}$ac_cv_host" >&6
1367 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1368 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1369 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1372 echo "$as_me:$LINENO: checking target system type" >&5
1373 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1374 if test "${ac_cv_target+set}" = set; then
1375 echo $ECHO_N "(cached) $ECHO_C" >&6
1377 ac_cv_target_alias=$target_alias
1378 test "x$ac_cv_target_alias" = "x" &&
1379 ac_cv_target_alias=$ac_cv_host_alias
1380 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1381 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1382 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1383 { (exit 1); exit 1; }; }
1386 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1387 echo "${ECHO_T}$ac_cv_target" >&6
1388 target=$ac_cv_target
1389 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1390 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1391 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1394 # The aliases save the names the user supplied, while $host etc.
1395 # will get canonicalized.
1396 test -n "$target_alias" &&
1397 test "$program_prefix$program_suffix$program_transform_name" = \
1399 program_prefix=${target_alias}-
1400 # Add the stamp file to the list of files AC keeps track of,
1401 # along with our hook.
1402 ac_config_headers="$ac_config_headers orte/include/config.h"
1406 am__api_version="1.6"
1407 # Find a good install program. We prefer a C program (faster),
1408 # so one script is as good as another. But avoid the broken or
1409 # incompatible versions:
1410 # SysV /etc/install, /usr/sbin/install
1411 # SunOS /usr/etc/install
1412 # IRIX /sbin/install
1414 # AmigaOS /C/install, which installs bootblocks on floppy discs
1415 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1416 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1417 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1418 # OS/2's system install, which has a completely different semantic
1419 # ./install, which can be erroneously created by make from ./install.sh.
1420 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1421 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1422 if test -z "$INSTALL"; then
1423 if test "${ac_cv_path_install+set}" = set; then
1424 echo $ECHO_N "(cached) $ECHO_C" >&6
1426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1430 test -z "$as_dir" && as_dir=.
1431 # Account for people who put trailing slashes in PATH elements.
1433 ./ | .// | /cC/* | \
1434 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1435 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
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
1793 # Check whether --with-linuxdir or --without-linuxdir was given.
1794 if test "${with_linuxdir+set}" = set; then
1795 withval="$with_linuxdir"
1796 LINUX_DIR="${withval}"
1805 echo "$as_me:$LINENO: checking Linux version" >&5
1806 echo $ECHO_N "checking Linux version... $ECHO_C" >&6
1808 if test "${LINUX_DIR}" != "default" ; then
1810 if [ ! -f "${LINUX_DIR}/.config" ];then
1811 { { echo "$as_me:$LINENO: error:
1812 The kernel source tree at ${LINUX_DIR} is not configured.
1813 Fix before continuing." >&5
1814 echo "$as_me: error:
1815 The kernel source tree at ${LINUX_DIR} is not configured.
1816 Fix before continuing." >&2;}
1817 { (exit 1); exit 1; }; }
1820 if [ ! -f "${LINUX_DIR}/include/linux/version.h" ];then
1821 { { echo "$as_me:$LINENO: error: The header file include/linux/version.h does not exist.
1822 For 2.6 kernels, it can be generated by running 'make prepare' in
1823 the kernel source directory." >&5
1824 echo "$as_me: error: The header file include/linux/version.h does not exist.
1825 For 2.6 kernels, it can be generated by running 'make prepare' in
1826 the kernel source directory." >&2;}
1827 { (exit 1); exit 1; }; }
1830 LINUX_VERSION=$(grep UTS_RELEASE ${LINUX_DIR}/include/linux/version.h | \
1831 sed 's/[^"]*"\(.*\)\{1\}"/\1/')
1833 echo "$as_me:$LINENO: result: $LINUX_VERSION" >&5
1834 echo "${ECHO_T}$LINUX_VERSION" >&6
1836 LINUX_VERSION_MAJOR=$(echo ${LINUX_VERSION} | cut -d. -f1)
1837 LINUX_VERSION_MINOR=$(echo ${LINUX_VERSION} | cut -d. -f2)
1839 case $LINUX_VERSION_MAJOR.$LINUX_VERSION_MINOR in
1842 echo "$as_me:$LINENO: checking for Linux CFLAGS" >&5
1843 echo $ECHO_N "checking for Linux CFLAGS... $ECHO_C" >&6
1845 tmpdir="`pwd`/tmp-noicrwa"
1850 cat >${tmpdir}/Makefile <<EOF
1853 \$(obj)/fake.c: flags
1854 touch \$(obj)/fake.c
1858 echo LINUX_ARCH=\"\$(ARCH)\" >>\$(obj)/flags
1859 echo LINUX_AFLAGS=\"\$(AFLAGS)\" | sed 's_Iinclude_I"\$(LINUXDIR)/include"_g'>>\$(obj)/flags
1860 echo LINUX_LDFLAGS=\"\" >>\$(obj)/flags
1861 echo LINUX_ARFLAGS=\"\$(ARFLAGS)\" >>\$(obj)/flags
1862 echo LINUX_CROSS_COMPILE=\"\$(CROSS_COMPILE)\" >>\$(obj)/flags
1863 echo LINUX_KERNELRELEASE=\"\$(KERNELRELEASE)\" >>\$(obj)/flags
1864 echo LINUX_CFLAGS=\"\$(CFLAGS)\" | sed 's_Iinclude_I"\$(LINUXDIR)/include"_g'>>\$(obj)/flags
1865 echo LINUX_CC=\"\$(CC)\" >>\$(obj)/flags
1866 echo LINUX_LD=\"\$(LD) \$(LDFLAGS)\" >>\$(obj)/flags
1867 echo LINUX_AS=\"\$(AS)\" >>\$(obj)/flags
1870 echo ${MAKE-make} -C ${LINUX_DIR} V=1 SUBDIRS=${tmpdir} LINUXDIR=${LINUX_DIR} MODVERDIR=${tmpdir} modules >&5 2>&5
1871 ${MAKE-make} -C ${LINUX_DIR} V=1 SUBDIRS=${tmpdir} LINUXDIR=${LINUX_DIR} MODVERDIR=${tmpdir} modules >&5 2>&5
1875 LINUX_MODULE_EXT=".ko"
1889 echo "$as_me:$LINENO: result: ok" >&5
1890 echo "${ECHO_T}ok" >&6
1895 echo "$as_me:$LINENO: checking for Linux CFLAGS" >&5
1896 echo $ECHO_N "checking for Linux CFLAGS... $ECHO_C" >&6
1898 if [ ! -f "${LINUX_DIR}/.hdepend" ];then
1899 { { echo "$as_me:$LINENO: error:
1900 You need to run 'make dep' on the kernel source before continuing." >&5
1901 echo "$as_me: error:
1902 You need to run 'make dep' on the kernel source before continuing." >&2;}
1903 { (exit 1); exit 1; }; }
1906 tmpdir="`pwd`/tmp-noicrwa"
1911 cat >${tmpdir}/Makefile <<EOF
1915 echo LINUX_ARCH=\"\$(ARCH)\" >>flags
1916 echo LINUX_AFLAGS=\"\$(AFLAGS)\" | sed 's_Iinclude_I\"\$(LINUXDIR)/include\"_g'>>flags
1917 echo LINUX_LDFLAGS=\"\" >>flags
1918 echo LINUX_ARFLAGS=\"\$(ARFLAGS)\" >>flags
1919 echo LINUX_CROSS_COMPILE=\"\$(CROSS_COMPILE)\" >>flags
1920 echo LINUX_KERNELRELEASE=\"\$(KERNELRELEASE)\" >>flags
1921 echo LINUX_CFLAGS=\"\$(CFLAGS)\" | sed 's_Iinclude_I\"\$(LINUXDIR)/include\"_g'>>flags
1922 echo LINUX_CC=\"\$(CC)\" >>flags
1923 echo LINUX_LD=\"\$(LD) \$(LDFLAGS)\" >>flags
1924 echo LINUX_AS=\"\$(AS)\" >>flags
1927 echo ${MAKE-make} -C ${LINUX_DIR} SUBDIRS=${tmpdir} modules >&5 2>&5
1928 ${MAKE-make} -C ${LINUX_DIR} SUBDIRS=${tmpdir} modules >&5 2>&5
1932 LINUX_MODULE_EXT=".o"
1946 echo "$as_me:$LINENO: result: ok" >&5
1947 echo "${ECHO_T}ok" >&6
1951 { { echo "$as_me:$LINENO: error: Unknown Linux major.minor $LINUX_VERSION_MAJOR.$LINUX_VERSION_MINOR" >&5
1952 echo "$as_me: error: Unknown Linux major.minor $LINUX_VERSION_MAJOR.$LINUX_VERSION_MINOR" >&2;}
1953 { (exit 1); exit 1; }; }
1957 CONFIG_ORTE_KERNEL=yes
1959 cat >>confdefs.h <<\_ACEOF
1960 #define CONFIG_ORTE_KERNEL 1
1965 echo "$as_me:$LINENO: result: \"none\"" >&5
1966 echo "${ECHO_T}\"none\"" >&6
1968 CONFIG_ORTE_KERNEL=no
1975 if test ${CONFIG_ORTE_KERNEL} == "yes"; then
1976 CONFIG_ORTE_KERNEL_TRUE=
1977 CONFIG_ORTE_KERNEL_FALSE='#'
1979 CONFIG_ORTE_KERNEL_TRUE='#'
1980 CONFIG_ORTE_KERNEL_FALSE=
1987 # Check whether --with-rtaidir or --without-rtaidir was given.
1988 if test "${with_rtaidir+set}" = set; then
1989 withval="$with_rtaidir"
1990 RTAI_DIR="${withval}"
1992 RTAI_DIR=/usr/src/rtai
1997 echo "$as_me:$LINENO: checking Linux config option CONFIG_RTHAL" >&5
1998 echo $ECHO_N "checking Linux config option CONFIG_RTHAL... $ECHO_C" >&6
2000 if grep '^CONFIG_RTHAL=y$' ${LINUX_DIR}/.config >/dev/null 2>/dev/null; then
2003 else if grep '^CONFIG_RTHAL=m$' ${LINUX_DIR}/.config >/dev/null 2>/dev/null; then
2012 echo "$as_me:$LINENO: result: $result" >&5
2013 echo "${ECHO_T}$result" >&6
2018 if test "${CONFIG_RTHAL}" = yes -o "${CONFIG_RTHAL}" = module; then
2020 CONFIG_RTHAL_FALSE='#'
2022 CONFIG_RTHAL_TRUE='#'
2028 if test "${CONFIG_RTHAL}" != "no" ; then
2029 echo "$as_me:$LINENO: checking RTAI directory ${RTAI_DIR}" >&5
2030 echo $ECHO_N "checking RTAI directory ${RTAI_DIR}... $ECHO_C" >&6
2031 if [ -d ${RTAI_DIR}/include ] ; then
2032 RTAI_CFLAGS="-I${RTAI_DIR}/include"
2034 if -d ${RTAI_DIR}/rtai-core/include ; then
2035 RTAI_CFLAGS="-I${RTAI_DIR}/rtai-core/include"
2037 { { echo "$as_me:$LINENO: error: incorrect RTAI directory?" >&5
2038 echo "$as_me: error: incorrect RTAI directory?" >&2;}
2039 { (exit 1); exit 1; }; }
2043 RT_GCCLIB_DIR=`gcc -print-search-dirs | sed -n -e 's/^install: \(.*\)$/\1/p'`
2044 RTAI_CFLAGS="${RTAI_CFLAGS} -I${RT_GCCLIB_DIR}/include -nostdinc"
2045 echo "$as_me:$LINENO: result: found" >&5
2046 echo "${ECHO_T}found" >&6
2048 cat >>confdefs.h <<\_ACEOF
2049 #define CONFIG_ORTE_RTAI 1
2060 # Check whether --with-rtlinuxdir or --without-rtlinuxdir was given.
2061 if test "${with_rtlinuxdir+set}" = set; then
2062 withval="$with_rtlinuxdir"
2063 RTLINUX_DIR="${withval}"
2065 RTLINUX_DIR=/usr/src/rtlinux
2069 # Check whether --with-rtlinuxudpdir or --without-rtlinuxudpdir was given.
2070 if test "${with_rtlinuxudpdir+set}" = set; then
2071 withval="$with_rtlinuxudpdir"
2072 RTLINUXUDP_DIR="${withval}"
2074 RTLINUXUDP_DIR="${RTLINUX_DIR}"
2079 echo "$as_me:$LINENO: checking Linux config option CONFIG_RTLINUX" >&5
2080 echo $ECHO_N "checking Linux config option CONFIG_RTLINUX... $ECHO_C" >&6
2082 if grep '^CONFIG_RTLINUX=y$' ${LINUX_DIR}/.config >/dev/null 2>/dev/null; then
2085 else if grep '^CONFIG_RTLINUX=m$' ${LINUX_DIR}/.config >/dev/null 2>/dev/null; then
2087 CONFIG_RTLINUX=module
2094 echo "$as_me:$LINENO: result: $result" >&5
2095 echo "${ECHO_T}$result" >&6
2100 if test "${CONFIG_RTLINUX}" = yes -o "${CONFIG_RTLINUX}" = module; then
2101 CONFIG_RTLINUX_TRUE=
2102 CONFIG_RTLINUX_FALSE='#'
2104 CONFIG_RTLINUX_TRUE='#'
2105 CONFIG_RTLINUX_FALSE=
2110 if test "${CONFIG_RTLINUX}" != "no" ; then
2111 echo "$as_me:$LINENO: checking RTLinux directory ${RTLINUX_DIR} for rtl.mk" >&5
2112 echo $ECHO_N "checking RTLinux directory ${RTLINUX_DIR} for rtl.mk... $ECHO_C" >&6
2113 if [ -d ${RTLINUX_DIR}/include ] ; then
2114 RTLINUX_CFLAGS=`sed -n -e 's/^CFLAGS *=\(.*\)$/\1/p' ${RTLINUX_DIR}/rtl.mk`
2116 { { echo "$as_me:$LINENO: error: incorrect RTLinux directory?" >&5
2117 echo "$as_me: error: incorrect RTLinux directory?" >&2;}
2118 { (exit 1); exit 1; }; }
2120 echo "$as_me:$LINENO: result: found" >&5
2121 echo "${ECHO_T}found" >&6
2123 cat >>confdefs.h <<\_ACEOF
2124 #define CONFIG_ORTE_RTL 1
2127 echo "$as_me:$LINENO: checking RTLinux for UDP" >&5
2128 echo $ECHO_N "checking RTLinux for UDP... $ECHO_C" >&6
2129 if [ ! -e "${RTLINUXUDP_DIR}/include/udp.h" -o \
2130 ! -e "${RTLINUXUDP_DIR}/include/nic.h" -o \
2131 ! -e "${RTLINUXUDP_DIR}/include/ip.h" -o \
2132 ! -e "${RTLINUXUDP_DIR}/include/ethernet.h" -o \
2133 ! -e "${RTLINUXUDP_DIR}/include/nictab.h" ] ; then
2134 { { echo "$as_me:$LINENO: error: incorrect RTLinux UDP directory!!!" >&5
2135 echo "$as_me: error: incorrect RTLinux UDP directory!!!" >&2;}
2136 { (exit 1); exit 1; }; }
2138 RT_GCCLIB_DIR=`gcc -print-search-dirs | sed -n -e 's/^install: \(.*\)$/\1/p'`
2139 RTLINUX_CFLAGS="${RTLINUX_CFLAGS} -I${RTLINUXUDP_DIR}/include -I${RT_GCCLIB_DIR}/include -nostdinc"
2140 echo "$as_me:$LINENO: result: found" >&5
2141 echo "${ECHO_T}found" >&6
2148 if test ${USE_RTAI} == "yes" -o ${USE_RTLINUX} == "yes" ; then
2150 cat >>confdefs.h <<\_ACEOF
2151 #define CONFIG_ORTE_RT 1
2154 CONFIG_ORTE_RT="yes"
2159 if test ${USE_RTAI} == "yes"; then
2169 if test ${USE_RTLINUX} == "yes"; then
2171 USE_RTLINUX_FALSE='#'
2173 USE_RTLINUX_TRUE='#'
2179 if test ${USE_RTAI} == "yes" -o ${USE_RTLINUX} == "yes"; then
2180 CONFIG_ORTE_RT_TRUE=
2181 CONFIG_ORTE_RT_FALSE='#'
2183 CONFIG_ORTE_RT_TRUE='#'
2184 CONFIG_ORTE_RT_FALSE=
2190 ###############################
2192 ORTE_MAJOR_VERSION=0
2193 ORTE_MINOR_VERSION=2
2194 ORTE_MICRO_VERSION=0
2195 ORTE_VERSION=$ORTE_MAJOR_VERSION.$ORTE_MINOR_VERSION.$ORTE_MICRO_VERSION
2202 ###############################
2207 *-cygwin* | *-mingw*)
2211 cat >>confdefs.h <<\_ACEOF
2212 #define CONFIG_ORTE_WIN 1
2218 if test -z ${CONFIG_ORTE_RT} -a ${CONFIG_ORTE_KERNEL} ; then
2221 cat >>confdefs.h <<\_ACEOF
2222 #define CONFIG_ORTE_UNIX 1
2230 if test x$WIN = xyes; then
2231 CONFIG_ORTE_WIN_TRUE=
2232 CONFIG_ORTE_WIN_FALSE='#'
2234 CONFIG_ORTE_WIN_TRUE='#'
2235 CONFIG_ORTE_WIN_FALSE=
2240 if test x$UNIX = xyes; then
2241 CONFIG_ORTE_UNIX_TRUE=
2242 CONFIG_ORTE_UNIX_FALSE='#'
2244 CONFIG_ORTE_UNIX_TRUE='#'
2245 CONFIG_ORTE_UNIX_FALSE=
2249 ###############################
2251 moduledir="\$(libdir)/modules/\$(LINUX_KERNELRELEASE)/orte"
2252 modulePROGRAMS_INSTALL="\$(top_builddir)/modtool --install"
2253 modulePROGRAMS_UNINSTALL="\$(top_builddir)/modtool --uninstall"
2257 ###############################
2258 # Checks for programs.
2260 ac_cpp='$CPP $CPPFLAGS'
2261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2264 if test -n "$ac_tool_prefix"; then
2265 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2266 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2267 echo "$as_me:$LINENO: checking for $ac_word" >&5
2268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2269 if test "${ac_cv_prog_CC+set}" = set; then
2270 echo $ECHO_N "(cached) $ECHO_C" >&6
2272 if test -n "$CC"; then
2273 ac_cv_prog_CC="$CC" # Let the user override the test.
2275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279 test -z "$as_dir" && as_dir=.
2280 for ac_exec_ext in '' $ac_executable_extensions; do
2281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2282 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2292 if test -n "$CC"; then
2293 echo "$as_me:$LINENO: result: $CC" >&5
2294 echo "${ECHO_T}$CC" >&6
2296 echo "$as_me:$LINENO: result: no" >&5
2297 echo "${ECHO_T}no" >&6
2301 if test -z "$ac_cv_prog_CC"; then
2303 # Extract the first word of "gcc", so it can be a program name with args.
2304 set dummy gcc; ac_word=$2
2305 echo "$as_me:$LINENO: checking for $ac_word" >&5
2306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2307 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2308 echo $ECHO_N "(cached) $ECHO_C" >&6
2310 if test -n "$ac_ct_CC"; then
2311 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317 test -z "$as_dir" && as_dir=.
2318 for ac_exec_ext in '' $ac_executable_extensions; do
2319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2320 ac_cv_prog_ac_ct_CC="gcc"
2321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2329 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2330 if test -n "$ac_ct_CC"; then
2331 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2332 echo "${ECHO_T}$ac_ct_CC" >&6
2334 echo "$as_me:$LINENO: result: no" >&5
2335 echo "${ECHO_T}no" >&6
2343 if test -z "$CC"; then
2344 if test -n "$ac_tool_prefix"; then
2345 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2346 set dummy ${ac_tool_prefix}cc; ac_word=$2
2347 echo "$as_me:$LINENO: checking for $ac_word" >&5
2348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2349 if test "${ac_cv_prog_CC+set}" = set; then
2350 echo $ECHO_N "(cached) $ECHO_C" >&6
2352 if test -n "$CC"; then
2353 ac_cv_prog_CC="$CC" # Let the user override the test.
2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2359 test -z "$as_dir" && as_dir=.
2360 for ac_exec_ext in '' $ac_executable_extensions; do
2361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2362 ac_cv_prog_CC="${ac_tool_prefix}cc"
2363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372 if test -n "$CC"; then
2373 echo "$as_me:$LINENO: result: $CC" >&5
2374 echo "${ECHO_T}$CC" >&6
2376 echo "$as_me:$LINENO: result: no" >&5
2377 echo "${ECHO_T}no" >&6
2381 if test -z "$ac_cv_prog_CC"; then
2383 # Extract the first word of "cc", so it can be a program name with args.
2384 set dummy cc; ac_word=$2
2385 echo "$as_me:$LINENO: checking for $ac_word" >&5
2386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2387 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2388 echo $ECHO_N "(cached) $ECHO_C" >&6
2390 if test -n "$ac_ct_CC"; then
2391 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2397 test -z "$as_dir" && as_dir=.
2398 for ac_exec_ext in '' $ac_executable_extensions; do
2399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2400 ac_cv_prog_ac_ct_CC="cc"
2401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2409 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2410 if test -n "$ac_ct_CC"; then
2411 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2412 echo "${ECHO_T}$ac_ct_CC" >&6
2414 echo "$as_me:$LINENO: result: no" >&5
2415 echo "${ECHO_T}no" >&6
2424 if test -z "$CC"; then
2425 # Extract the first word of "cc", so it can be a program name with args.
2426 set dummy cc; ac_word=$2
2427 echo "$as_me:$LINENO: checking for $ac_word" >&5
2428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2429 if test "${ac_cv_prog_CC+set}" = set; then
2430 echo $ECHO_N "(cached) $ECHO_C" >&6
2432 if test -n "$CC"; then
2433 ac_cv_prog_CC="$CC" # Let the user override the test.
2436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2440 test -z "$as_dir" && as_dir=.
2441 for ac_exec_ext in '' $ac_executable_extensions; do
2442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2443 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2444 ac_prog_rejected=yes
2448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2454 if test $ac_prog_rejected = yes; then
2455 # We found a bogon in the path, so make sure we never use it.
2456 set dummy $ac_cv_prog_CC
2458 if test $# != 0; then
2459 # We chose a different compiler from the bogus one.
2460 # However, it has the same basename, so the bogon will be chosen
2461 # first if we set CC to just the basename; use the full file name.
2463 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2469 if test -n "$CC"; then
2470 echo "$as_me:$LINENO: result: $CC" >&5
2471 echo "${ECHO_T}$CC" >&6
2473 echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6
2478 if test -z "$CC"; then
2479 if test -n "$ac_tool_prefix"; then
2482 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2483 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2484 echo "$as_me:$LINENO: checking for $ac_word" >&5
2485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2486 if test "${ac_cv_prog_CC+set}" = set; then
2487 echo $ECHO_N "(cached) $ECHO_C" >&6
2489 if test -n "$CC"; then
2490 ac_cv_prog_CC="$CC" # Let the user override the test.
2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2496 test -z "$as_dir" && as_dir=.
2497 for ac_exec_ext in '' $ac_executable_extensions; do
2498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2499 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2509 if test -n "$CC"; then
2510 echo "$as_me:$LINENO: result: $CC" >&5
2511 echo "${ECHO_T}$CC" >&6
2513 echo "$as_me:$LINENO: result: no" >&5
2514 echo "${ECHO_T}no" >&6
2517 test -n "$CC" && break
2520 if test -z "$CC"; then
2524 # Extract the first word of "$ac_prog", so it can be a program name with args.
2525 set dummy $ac_prog; ac_word=$2
2526 echo "$as_me:$LINENO: checking for $ac_word" >&5
2527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2528 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2529 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 if test -n "$ac_ct_CC"; then
2532 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2538 test -z "$as_dir" && as_dir=.
2539 for ac_exec_ext in '' $ac_executable_extensions; do
2540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2541 ac_cv_prog_ac_ct_CC="$ac_prog"
2542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2551 if test -n "$ac_ct_CC"; then
2552 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2553 echo "${ECHO_T}$ac_ct_CC" >&6
2555 echo "$as_me:$LINENO: result: no" >&5
2556 echo "${ECHO_T}no" >&6
2559 test -n "$ac_ct_CC" && break
2568 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2569 See \`config.log' for more details." >&5
2570 echo "$as_me: error: no acceptable C compiler found in \$PATH
2571 See \`config.log' for more details." >&2;}
2572 { (exit 1); exit 1; }; }
2574 # Provide some information about the compiler.
2575 echo "$as_me:$LINENO:" \
2576 "checking for C compiler version" >&5
2577 ac_compiler=`set X $ac_compile; echo $2`
2578 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2579 (eval $ac_compiler --version </dev/null >&5) 2>&5
2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582 (exit $ac_status); }
2583 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2584 (eval $ac_compiler -v </dev/null >&5) 2>&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }
2588 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2589 (eval $ac_compiler -V </dev/null >&5) 2>&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); }
2594 cat >conftest.$ac_ext <<_ACEOF
2597 cat confdefs.h >>conftest.$ac_ext
2598 cat >>conftest.$ac_ext <<_ACEOF
2599 /* end confdefs.h. */
2609 ac_clean_files_save=$ac_clean_files
2610 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2611 # Try to create an executable without -o first, disregard a.out.
2612 # It will help us diagnose broken compilers, and finding out an intuition
2614 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2615 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2616 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2617 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2618 (eval $ac_link_default) 2>&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); }; then
2622 # Find the output, starting from the most likely. This scheme is
2623 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2626 # Be careful to initialize this variable, since it used to be cached.
2627 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2629 # b.out is created by i960 compilers.
2630 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2632 test -f "$ac_file" || continue
2634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2637 # This is the source file.
2640 # We found the default executable, but exeext='' is most
2644 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2645 # FIXME: I believe we export ac_cv_exeext for Libtool,
2646 # but it would be cool to find out if it's true. Does anybody
2647 # maintain Libtool? --akim.
2655 echo "$as_me: failed program was:" >&5
2656 sed 's/^/| /' conftest.$ac_ext >&5
2658 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2659 See \`config.log' for more details." >&5
2660 echo "$as_me: error: C compiler cannot create executables
2661 See \`config.log' for more details." >&2;}
2662 { (exit 77); exit 77; }; }
2665 ac_exeext=$ac_cv_exeext
2666 echo "$as_me:$LINENO: result: $ac_file" >&5
2667 echo "${ECHO_T}$ac_file" >&6
2669 # Check the compiler produces executables we can run. If not, either
2670 # the compiler is broken, or we cross compile.
2671 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2672 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2673 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2674 # If not cross compiling, check that we can run a simple program.
2675 if test "$cross_compiling" != yes; then
2676 if { ac_try='./$ac_file'
2677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); }; }; then
2684 if test "$cross_compiling" = maybe; then
2687 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2688 If you meant to cross compile, use \`--host'.
2689 See \`config.log' for more details." >&5
2690 echo "$as_me: error: cannot run C compiled programs.
2691 If you meant to cross compile, use \`--host'.
2692 See \`config.log' for more details." >&2;}
2693 { (exit 1); exit 1; }; }
2697 echo "$as_me:$LINENO: result: yes" >&5
2698 echo "${ECHO_T}yes" >&6
2700 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2701 ac_clean_files=$ac_clean_files_save
2702 # Check the compiler produces executables we can run. If not, either
2703 # the compiler is broken, or we cross compile.
2704 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2705 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2706 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2707 echo "${ECHO_T}$cross_compiling" >&6
2709 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2710 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2712 (eval $ac_link) 2>&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); }; then
2716 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2717 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2718 # work properly (i.e., refer to `conftest.exe'), while it won't with
2720 for ac_file in conftest.exe conftest conftest.*; do
2721 test -f "$ac_file" || continue
2723 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2724 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2731 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2732 See \`config.log' for more details." >&5
2733 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2734 See \`config.log' for more details." >&2;}
2735 { (exit 1); exit 1; }; }
2738 rm -f conftest$ac_cv_exeext
2739 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2740 echo "${ECHO_T}$ac_cv_exeext" >&6
2742 rm -f conftest.$ac_ext
2743 EXEEXT=$ac_cv_exeext
2745 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2746 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2747 if test "${ac_cv_objext+set}" = set; then
2748 echo $ECHO_N "(cached) $ECHO_C" >&6
2750 cat >conftest.$ac_ext <<_ACEOF
2753 cat confdefs.h >>conftest.$ac_ext
2754 cat >>conftest.$ac_ext <<_ACEOF
2755 /* end confdefs.h. */
2765 rm -f conftest.o conftest.obj
2766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2767 (eval $ac_compile) 2>&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); }; then
2771 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2773 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2774 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2779 echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.$ac_ext >&5
2782 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2783 See \`config.log' for more details." >&5
2784 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2785 See \`config.log' for more details." >&2;}
2786 { (exit 1); exit 1; }; }
2789 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2791 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2792 echo "${ECHO_T}$ac_cv_objext" >&6
2793 OBJEXT=$ac_cv_objext
2795 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2796 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2797 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2798 echo $ECHO_N "(cached) $ECHO_C" >&6
2800 cat >conftest.$ac_ext <<_ACEOF
2803 cat confdefs.h >>conftest.$ac_ext
2804 cat >>conftest.$ac_ext <<_ACEOF
2805 /* end confdefs.h. */
2818 rm -f conftest.$ac_objext
2819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2820 (eval $ac_compile) 2>conftest.er1
2822 grep -v '^ *+' conftest.er1 >conftest.err
2824 cat conftest.err >&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); } &&
2827 { ac_try='test -z "$ac_c_werror_flag"
2828 || test ! -s conftest.err'
2829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); }; } &&
2834 { ac_try='test -s conftest.$ac_objext'
2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; }; then
2842 echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.$ac_ext >&5
2847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2848 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2851 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2852 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2853 GCC=`test $ac_compiler_gnu = yes && echo yes`
2854 ac_test_CFLAGS=${CFLAGS+set}
2855 ac_save_CFLAGS=$CFLAGS
2857 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2858 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2859 if test "${ac_cv_prog_cc_g+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 cat >conftest.$ac_ext <<_ACEOF
2865 cat confdefs.h >>conftest.$ac_ext
2866 cat >>conftest.$ac_ext <<_ACEOF
2867 /* end confdefs.h. */
2877 rm -f conftest.$ac_objext
2878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2879 (eval $ac_compile) 2>conftest.er1
2881 grep -v '^ *+' conftest.er1 >conftest.err
2883 cat conftest.err >&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); } &&
2886 { ac_try='test -z "$ac_c_werror_flag"
2887 || test ! -s conftest.err'
2888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }; } &&
2893 { ac_try='test -s conftest.$ac_objext'
2894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); }; }; then
2901 echo "$as_me: failed program was:" >&5
2902 sed 's/^/| /' conftest.$ac_ext >&5
2906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2908 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2909 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2910 if test "$ac_test_CFLAGS" = set; then
2911 CFLAGS=$ac_save_CFLAGS
2912 elif test $ac_cv_prog_cc_g = yes; then
2913 if test "$GCC" = yes; then
2919 if test "$GCC" = yes; then
2925 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2926 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2927 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2928 echo $ECHO_N "(cached) $ECHO_C" >&6
2930 ac_cv_prog_cc_stdc=no
2932 cat >conftest.$ac_ext <<_ACEOF
2935 cat confdefs.h >>conftest.$ac_ext
2936 cat >>conftest.$ac_ext <<_ACEOF
2937 /* end confdefs.h. */
2940 #include <sys/types.h>
2941 #include <sys/stat.h>
2942 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2943 struct buf { int x; };
2944 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2945 static char *e (p, i)
2951 static char *f (char * (*g) (char **, int), char **p, ...)
2956 s = g (p, va_arg (v,int));
2961 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2962 function prototypes and stuff, but not '\xHH' hex character constants.
2963 These don't provoke an error unfortunately, instead are silently treated
2964 as 'x'. The following induces an error, until -std1 is added to get
2965 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2966 array size at least. It's necessary to write '\x00'==0 to get something
2967 that's true only with -std1. */
2968 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2970 int test (int i, double x);
2971 struct s1 {int (*f) (int a);};
2972 struct s2 {int (*f) (double a);};
2973 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2979 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2984 # Don't try gcc -ansi; that turns off useful extensions and
2985 # breaks some systems' header files.
2986 # AIX -qlanglvl=ansi
2987 # Ultrix and OSF/1 -std1
2988 # HP-UX 10.20 and later -Ae
2989 # HP-UX older versions -Aa -D_HPUX_SOURCE
2990 # SVR4 -Xc -D__EXTENSIONS__
2991 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2993 CC="$ac_save_CC $ac_arg"
2994 rm -f conftest.$ac_objext
2995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2996 (eval $ac_compile) 2>conftest.er1
2998 grep -v '^ *+' conftest.er1 >conftest.err
3000 cat conftest.err >&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); } &&
3003 { ac_try='test -z "$ac_c_werror_flag"
3004 || test ! -s conftest.err'
3005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); }; } &&
3010 { ac_try='test -s conftest.$ac_objext'
3011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); }; }; then
3016 ac_cv_prog_cc_stdc=$ac_arg
3019 echo "$as_me: failed program was:" >&5
3020 sed 's/^/| /' conftest.$ac_ext >&5
3023 rm -f conftest.err conftest.$ac_objext
3025 rm -f conftest.$ac_ext conftest.$ac_objext
3030 case "x$ac_cv_prog_cc_stdc" in
3032 echo "$as_me:$LINENO: result: none needed" >&5
3033 echo "${ECHO_T}none needed" >&6 ;;
3035 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3036 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3037 CC="$CC $ac_cv_prog_cc_stdc" ;;
3040 # Some people use a C++ compiler to compile C. Since we use `exit',
3041 # in C++ we need to declare it. In case someone uses the same compiler
3042 # for both compiling C and C++ we need to have the C++ compiler decide
3043 # the declaration of exit, since it's the most demanding environment.
3044 cat >conftest.$ac_ext <<_ACEOF
3049 rm -f conftest.$ac_objext
3050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3051 (eval $ac_compile) 2>conftest.er1
3053 grep -v '^ *+' conftest.er1 >conftest.err
3055 cat conftest.err >&5
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); } &&
3058 { ac_try='test -z "$ac_c_werror_flag"
3059 || test ! -s conftest.err'
3060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); }; } &&
3065 { ac_try='test -s conftest.$ac_objext'
3066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); }; }; then
3071 for ac_declaration in \
3073 'extern "C" void std::exit (int) throw (); using std::exit;' \
3074 'extern "C" void std::exit (int); using std::exit;' \
3075 'extern "C" void exit (int) throw ();' \
3076 'extern "C" void exit (int);' \
3079 cat >conftest.$ac_ext <<_ACEOF
3082 cat confdefs.h >>conftest.$ac_ext
3083 cat >>conftest.$ac_ext <<_ACEOF
3084 /* end confdefs.h. */
3095 rm -f conftest.$ac_objext
3096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3097 (eval $ac_compile) 2>conftest.er1
3099 grep -v '^ *+' conftest.er1 >conftest.err
3101 cat conftest.err >&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); } &&
3104 { ac_try='test -z "$ac_c_werror_flag"
3105 || test ! -s conftest.err'
3106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); }; } &&
3111 { ac_try='test -s conftest.$ac_objext'
3112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); }; }; then
3119 echo "$as_me: failed program was:" >&5
3120 sed 's/^/| /' conftest.$ac_ext >&5
3124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3125 cat >conftest.$ac_ext <<_ACEOF
3128 cat confdefs.h >>conftest.$ac_ext
3129 cat >>conftest.$ac_ext <<_ACEOF
3130 /* end confdefs.h. */
3140 rm -f conftest.$ac_objext
3141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3142 (eval $ac_compile) 2>conftest.er1
3144 grep -v '^ *+' conftest.er1 >conftest.err
3146 cat conftest.err >&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); } &&
3149 { ac_try='test -z "$ac_c_werror_flag"
3150 || test ! -s conftest.err'
3151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); }; } &&
3156 { ac_try='test -s conftest.$ac_objext'
3157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); }; }; then
3164 echo "$as_me: failed program was:" >&5
3165 sed 's/^/| /' conftest.$ac_ext >&5
3168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3171 if test -n "$ac_declaration"; then
3172 echo '#ifdef __cplusplus' >>confdefs.h
3173 echo $ac_declaration >>confdefs.h
3174 echo '#endif' >>confdefs.h
3178 echo "$as_me: failed program was:" >&5
3179 sed 's/^/| /' conftest.$ac_ext >&5
3182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3184 ac_cpp='$CPP $CPPFLAGS'
3185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3188 rm -f .deps 2>/dev/null
3189 mkdir .deps 2>/dev/null
3190 if test -d .deps; then
3193 # MS-DOS does not allow filenames that begin with a dot.
3196 rmdir .deps 2>/dev/null
3199 ac_config_commands="$ac_config_commands depfiles"
3202 am_make=${MAKE-make}
3203 cat > confinc << 'END'
3207 # If we don't find an include directive, just comment out the code.
3208 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3209 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3213 # First try GNU make style include.
3214 echo "include confinc" > confmf
3215 # We grep out `Entering directory' and `Leaving directory'
3216 # messages which can occur if `w' ends up in MAKEFLAGS.
3217 # In particular we don't look at `^make:' because GNU make might
3218 # be invoked under some other name (usually "gmake"), in which
3219 # case it prints its new name instead of `make'.
3220 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
3225 # Now try BSD make style include.
3226 if test "$am__include" = "#"; then
3227 echo '.include "confinc"' > confmf
3228 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3229 am__include=.include
3236 echo "$as_me:$LINENO: result: $_am_result" >&5
3237 echo "${ECHO_T}$_am_result" >&6
3238 rm -f confinc confmf
3240 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3241 if test "${enable_dependency_tracking+set}" = set; then
3242 enableval="$enable_dependency_tracking"
3245 if test "x$enable_dependency_tracking" != xno; then
3246 am_depcomp="$ac_aux_dir/depcomp"
3251 if test "x$enable_dependency_tracking" != xno; then
3262 depcc="$CC" am_compiler_list=
3264 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3265 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3266 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3267 echo $ECHO_N "(cached) $ECHO_C" >&6
3269 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3270 # We make a subdir and do the tests there. Otherwise we can end up
3271 # making bogus files that we don't know about and never remove. For
3272 # instance it was reported that on HP-UX the gcc test will end up
3273 # making a dummy file named `D' -- because `-MD' means `put the output
3276 # Copy depcomp to subdir because otherwise we won't find it if we're
3277 # using a relative directory.
3278 cp "$am_depcomp" conftest.dir
3281 am_cv_CC_dependencies_compiler_type=none
3282 if test "$am_compiler_list" = ""; then
3283 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3285 for depmode in $am_compiler_list; do
3286 # We need to recreate these files for each test, as the compiler may
3287 # overwrite some of them when testing with obscure command lines.
3288 # This happens at least with the AIX C compiler.
3289 echo '#include "conftest.h"' > conftest.c
3290 echo 'int i;' > conftest.h
3291 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3295 # after this tag, mechanisms are not by side-effect, so they'll
3296 # only be used when explicitly requested
3297 if test "x$enable_dependency_tracking" = xyes; then
3305 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3306 # mode. It turns out that the SunPro C++ compiler does not properly
3307 # handle `-M -o', and we need to detect this.
3308 if depmode=$depmode \
3309 source=conftest.c object=conftest.o \
3310 depfile=conftest.Po tmpdepfile=conftest.TPo \
3311 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
3312 grep conftest.h conftest.Po > /dev/null 2>&1 &&
3313 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3314 am_cv_CC_dependencies_compiler_type=$depmode
3322 am_cv_CC_dependencies_compiler_type=none
3326 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3327 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3328 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3331 if test -n "$ac_tool_prefix"; then
3332 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3333 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3334 echo "$as_me:$LINENO: checking for $ac_word" >&5
3335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3336 if test "${ac_cv_prog_RANLIB+set}" = set; then
3337 echo $ECHO_N "(cached) $ECHO_C" >&6
3339 if test -n "$RANLIB"; then
3340 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3346 test -z "$as_dir" && as_dir=.
3347 for ac_exec_ext in '' $ac_executable_extensions; do
3348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3349 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3358 RANLIB=$ac_cv_prog_RANLIB
3359 if test -n "$RANLIB"; then
3360 echo "$as_me:$LINENO: result: $RANLIB" >&5
3361 echo "${ECHO_T}$RANLIB" >&6
3363 echo "$as_me:$LINENO: result: no" >&5
3364 echo "${ECHO_T}no" >&6
3368 if test -z "$ac_cv_prog_RANLIB"; then
3369 ac_ct_RANLIB=$RANLIB
3370 # Extract the first word of "ranlib", so it can be a program name with args.
3371 set dummy ranlib; ac_word=$2
3372 echo "$as_me:$LINENO: checking for $ac_word" >&5
3373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3374 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3375 echo $ECHO_N "(cached) $ECHO_C" >&6
3377 if test -n "$ac_ct_RANLIB"; then
3378 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3384 test -z "$as_dir" && as_dir=.
3385 for ac_exec_ext in '' $ac_executable_extensions; do
3386 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3387 ac_cv_prog_ac_ct_RANLIB="ranlib"
3388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3394 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3397 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3398 if test -n "$ac_ct_RANLIB"; then
3399 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3400 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3402 echo "$as_me:$LINENO: result: no" >&5
3403 echo "${ECHO_T}no" >&6
3406 RANLIB=$ac_ct_RANLIB
3408 RANLIB="$ac_cv_prog_RANLIB"
3412 ###############################
3413 # Checks for libraries (not for RT)
3414 if test -z ${CONFIG_ORTE_RT} ; then
3417 echo "$as_me:$LINENO: checking for main in -lws2_32" >&5
3418 echo $ECHO_N "checking for main in -lws2_32... $ECHO_C" >&6
3419 if test "${ac_cv_lib_ws2_32_main+set}" = set; then
3420 echo $ECHO_N "(cached) $ECHO_C" >&6
3422 ac_check_lib_save_LIBS=$LIBS
3423 LIBS="-lws2_32 $LIBS"
3424 cat >conftest.$ac_ext <<_ACEOF
3427 cat confdefs.h >>conftest.$ac_ext
3428 cat >>conftest.$ac_ext <<_ACEOF
3429 /* end confdefs.h. */
3440 rm -f conftest.$ac_objext conftest$ac_exeext
3441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3442 (eval $ac_link) 2>conftest.er1
3444 grep -v '^ *+' conftest.er1 >conftest.err
3446 cat conftest.err >&5
3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448 (exit $ac_status); } &&
3449 { ac_try='test -z "$ac_c_werror_flag"
3450 || test ! -s conftest.err'
3451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); }; } &&
3456 { ac_try='test -s conftest$ac_exeext'
3457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); }; }; then
3462 ac_cv_lib_ws2_32_main=yes
3464 echo "$as_me: failed program was:" >&5
3465 sed 's/^/| /' conftest.$ac_ext >&5
3467 ac_cv_lib_ws2_32_main=no
3469 rm -f conftest.err conftest.$ac_objext \
3470 conftest$ac_exeext conftest.$ac_ext
3471 LIBS=$ac_check_lib_save_LIBS
3473 echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_main" >&5
3474 echo "${ECHO_T}$ac_cv_lib_ws2_32_main" >&6
3475 if test $ac_cv_lib_ws2_32_main = yes; then
3476 cat >>confdefs.h <<_ACEOF
3477 #define HAVE_LIBWS2_32 1
3480 LIBS="-lws2_32 $LIBS"
3485 echo "$as_me:$LINENO: checking for main in -lpthread" >&5
3486 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6
3487 if test "${ac_cv_lib_pthread_main+set}" = set; then
3488 echo $ECHO_N "(cached) $ECHO_C" >&6
3490 ac_check_lib_save_LIBS=$LIBS
3491 LIBS="-lpthread $LIBS"
3492 cat >conftest.$ac_ext <<_ACEOF
3495 cat confdefs.h >>conftest.$ac_ext
3496 cat >>conftest.$ac_ext <<_ACEOF
3497 /* end confdefs.h. */
3508 rm -f conftest.$ac_objext conftest$ac_exeext
3509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3510 (eval $ac_link) 2>conftest.er1
3512 grep -v '^ *+' conftest.er1 >conftest.err
3514 cat conftest.err >&5
3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516 (exit $ac_status); } &&
3517 { ac_try='test -z "$ac_c_werror_flag"
3518 || test ! -s conftest.err'
3519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); }; } &&
3524 { ac_try='test -s conftest$ac_exeext'
3525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); }; }; then
3530 ac_cv_lib_pthread_main=yes
3532 echo "$as_me: failed program was:" >&5
3533 sed 's/^/| /' conftest.$ac_ext >&5
3535 ac_cv_lib_pthread_main=no
3537 rm -f conftest.err conftest.$ac_objext \
3538 conftest$ac_exeext conftest.$ac_ext
3539 LIBS=$ac_check_lib_save_LIBS
3541 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
3542 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
3543 if test $ac_cv_lib_pthread_main = yes; then
3544 cat >>confdefs.h <<_ACEOF
3545 #define HAVE_LIBPTHREAD 1
3548 LIBS="-lpthread $LIBS"
3554 ###############################
3559 ###############################
3561 CFLAGS="$CFLAGS -Wall"
3562 if test ${USE_RTLINUX} == 'yes' ; then
3563 CFLAGS="$CFLAGS $RTLINUX_CFLAGS"
3565 if test ${USE_RTAI} == 'yes' ; then
3566 CFLAGS="$CFLAGS $RTAI_CFLAGS $LINUX_CFLAGS"
3568 if test -n ${CONFIG_ORTE_KERNEL} ; then
3569 CFLAGS="$CFLAGS $LINUX_CFLAGS"
3574 ###############################
3575 # Checks for header files.
3577 if test ${UNIX} == 'yes' -o ${WIN} == 'yes' ; then
3579 ac_cpp='$CPP $CPPFLAGS'
3580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3583 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3584 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3585 # On Suns, sometimes $CPP names a directory.
3586 if test -n "$CPP" && test -d "$CPP"; then
3589 if test -z "$CPP"; then
3590 if test "${ac_cv_prog_CPP+set}" = set; then
3591 echo $ECHO_N "(cached) $ECHO_C" >&6
3593 # Double quotes because CPP needs to be expanded
3594 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3597 for ac_c_preproc_warn_flag in '' yes
3599 # Use a header file that comes with gcc, so configuring glibc
3600 # with a fresh cross-compiler works.
3601 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3602 # <limits.h> exists even on freestanding compilers.
3603 # On the NeXT, cc -E runs the code through the compiler's parser,
3604 # not just through cpp. "Syntax error" is here to catch this case.
3605 cat >conftest.$ac_ext <<_ACEOF
3608 cat confdefs.h >>conftest.$ac_ext
3609 cat >>conftest.$ac_ext <<_ACEOF
3610 /* end confdefs.h. */
3612 # include <limits.h>
3614 # include <assert.h>
3618 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3619 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3621 grep -v '^ *+' conftest.er1 >conftest.err
3623 cat conftest.err >&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); } >/dev/null; then
3626 if test -s conftest.err; then
3627 ac_cpp_err=$ac_c_preproc_warn_flag
3628 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3635 if test -z "$ac_cpp_err"; then
3638 echo "$as_me: failed program was:" >&5
3639 sed 's/^/| /' conftest.$ac_ext >&5
3641 # Broken: fails on valid input.
3644 rm -f conftest.err conftest.$ac_ext
3646 # OK, works on sane cases. Now check whether non-existent headers
3647 # can be detected and how.
3648 cat >conftest.$ac_ext <<_ACEOF
3651 cat confdefs.h >>conftest.$ac_ext
3652 cat >>conftest.$ac_ext <<_ACEOF
3653 /* end confdefs.h. */
3654 #include <ac_nonexistent.h>
3656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3657 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3659 grep -v '^ *+' conftest.er1 >conftest.err
3661 cat conftest.err >&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } >/dev/null; then
3664 if test -s conftest.err; then
3665 ac_cpp_err=$ac_c_preproc_warn_flag
3666 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3673 if test -z "$ac_cpp_err"; then
3674 # Broken: success on invalid input.
3677 echo "$as_me: failed program was:" >&5
3678 sed 's/^/| /' conftest.$ac_ext >&5
3680 # Passes both tests.
3684 rm -f conftest.err conftest.$ac_ext
3687 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3688 rm -f conftest.err conftest.$ac_ext
3689 if $ac_preproc_ok; then
3701 echo "$as_me:$LINENO: result: $CPP" >&5
3702 echo "${ECHO_T}$CPP" >&6
3704 for ac_c_preproc_warn_flag in '' yes
3706 # Use a header file that comes with gcc, so configuring glibc
3707 # with a fresh cross-compiler works.
3708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3709 # <limits.h> exists even on freestanding compilers.
3710 # On the NeXT, cc -E runs the code through the compiler's parser,
3711 # not just through cpp. "Syntax error" is here to catch this case.
3712 cat >conftest.$ac_ext <<_ACEOF
3715 cat confdefs.h >>conftest.$ac_ext
3716 cat >>conftest.$ac_ext <<_ACEOF
3717 /* end confdefs.h. */
3719 # include <limits.h>
3721 # include <assert.h>
3725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3726 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3728 grep -v '^ *+' conftest.er1 >conftest.err
3730 cat conftest.err >&5
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); } >/dev/null; then
3733 if test -s conftest.err; then
3734 ac_cpp_err=$ac_c_preproc_warn_flag
3735 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3742 if test -z "$ac_cpp_err"; then
3745 echo "$as_me: failed program was:" >&5
3746 sed 's/^/| /' conftest.$ac_ext >&5
3748 # Broken: fails on valid input.
3751 rm -f conftest.err conftest.$ac_ext
3753 # OK, works on sane cases. Now check whether non-existent headers
3754 # can be detected and how.
3755 cat >conftest.$ac_ext <<_ACEOF
3758 cat confdefs.h >>conftest.$ac_ext
3759 cat >>conftest.$ac_ext <<_ACEOF
3760 /* end confdefs.h. */
3761 #include <ac_nonexistent.h>
3763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3764 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3766 grep -v '^ *+' conftest.er1 >conftest.err
3768 cat conftest.err >&5
3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); } >/dev/null; then
3771 if test -s conftest.err; then
3772 ac_cpp_err=$ac_c_preproc_warn_flag
3773 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3780 if test -z "$ac_cpp_err"; then
3781 # Broken: success on invalid input.
3784 echo "$as_me: failed program was:" >&5
3785 sed 's/^/| /' conftest.$ac_ext >&5
3787 # Passes both tests.
3791 rm -f conftest.err conftest.$ac_ext
3794 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3795 rm -f conftest.err conftest.$ac_ext
3796 if $ac_preproc_ok; then
3799 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3800 See \`config.log' for more details." >&5
3801 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3802 See \`config.log' for more details." >&2;}
3803 { (exit 1); exit 1; }; }
3807 ac_cpp='$CPP $CPPFLAGS'
3808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3813 echo "$as_me:$LINENO: checking for egrep" >&5
3814 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3815 if test "${ac_cv_prog_egrep+set}" = set; then
3816 echo $ECHO_N "(cached) $ECHO_C" >&6
3818 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3819 then ac_cv_prog_egrep='grep -E'
3820 else ac_cv_prog_egrep='egrep'
3823 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3824 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3825 EGREP=$ac_cv_prog_egrep
3828 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3829 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3830 if test "${ac_cv_header_stdc+set}" = set; then
3831 echo $ECHO_N "(cached) $ECHO_C" >&6
3833 cat >conftest.$ac_ext <<_ACEOF
3836 cat confdefs.h >>conftest.$ac_ext
3837 cat >>conftest.$ac_ext <<_ACEOF
3838 /* end confdefs.h. */
3852 rm -f conftest.$ac_objext
3853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3854 (eval $ac_compile) 2>conftest.er1
3856 grep -v '^ *+' conftest.er1 >conftest.err
3858 cat conftest.err >&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); } &&
3861 { ac_try='test -z "$ac_c_werror_flag"
3862 || test ! -s conftest.err'
3863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); }; } &&
3868 { ac_try='test -s conftest.$ac_objext'
3869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 (exit $ac_status); }; }; then
3874 ac_cv_header_stdc=yes
3876 echo "$as_me: failed program was:" >&5
3877 sed 's/^/| /' conftest.$ac_ext >&5
3879 ac_cv_header_stdc=no
3881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3883 if test $ac_cv_header_stdc = yes; then
3884 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3885 cat >conftest.$ac_ext <<_ACEOF
3888 cat confdefs.h >>conftest.$ac_ext
3889 cat >>conftest.$ac_ext <<_ACEOF
3890 /* end confdefs.h. */
3894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3895 $EGREP "memchr" >/dev/null 2>&1; then
3898 ac_cv_header_stdc=no
3904 if test $ac_cv_header_stdc = yes; then
3905 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3906 cat >conftest.$ac_ext <<_ACEOF
3909 cat confdefs.h >>conftest.$ac_ext
3910 cat >>conftest.$ac_ext <<_ACEOF
3911 /* end confdefs.h. */
3915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3916 $EGREP "free" >/dev/null 2>&1; then
3919 ac_cv_header_stdc=no
3925 if test $ac_cv_header_stdc = yes; then
3926 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3927 if test "$cross_compiling" = yes; then
3930 cat >conftest.$ac_ext <<_ACEOF
3933 cat confdefs.h >>conftest.$ac_ext
3934 cat >>conftest.$ac_ext <<_ACEOF
3935 /* end confdefs.h. */
3937 #if ((' ' & 0x0FF) == 0x020)
3938 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3939 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3941 # define ISLOWER(c) \
3942 (('a' <= (c) && (c) <= 'i') \
3943 || ('j' <= (c) && (c) <= 'r') \
3944 || ('s' <= (c) && (c) <= 'z'))
3945 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3948 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3953 for (i = 0; i < 256; i++)
3954 if (XOR (islower (i), ISLOWER (i))
3955 || toupper (i) != TOUPPER (i))
3960 rm -f conftest$ac_exeext
3961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3962 (eval $ac_link) 2>&5
3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); }; }; then
3973 echo "$as_me: program exited with status $ac_status" >&5
3974 echo "$as_me: failed program was:" >&5
3975 sed 's/^/| /' conftest.$ac_ext >&5
3978 ac_cv_header_stdc=no
3980 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3984 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3985 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3986 if test $ac_cv_header_stdc = yes; then
3988 cat >>confdefs.h <<\_ACEOF
3989 #define STDC_HEADERS 1
4015 arpa/inet.h fcntl.h stdio.h netdb.h netinet/in.h stdlib.h \
4016 string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h pthread.h \
4017 stdarg.h sys/types.h net/if.h byteswap.h getopt.h \
4018 ctype.h semaphore.h signal.h
4020 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4021 echo "$as_me:$LINENO: checking for $ac_header" >&5
4022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4024 echo $ECHO_N "(cached) $ECHO_C" >&6
4026 cat >conftest.$ac_ext <<_ACEOF
4029 cat confdefs.h >>conftest.$ac_ext
4030 cat >>conftest.$ac_ext <<_ACEOF
4031 /* end confdefs.h. */
4034 #include <$ac_header>
4036 rm -f conftest.$ac_objext
4037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4038 (eval $ac_compile) 2>conftest.er1
4040 grep -v '^ *+' conftest.er1 >conftest.err
4042 cat conftest.err >&5
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); } &&
4045 { ac_try='test -z "$ac_c_werror_flag"
4046 || test ! -s conftest.err'
4047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); }; } &&
4052 { ac_try='test -s conftest.$ac_objext'
4053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); }; }; then
4058 eval "$as_ac_Header=yes"
4060 echo "$as_me: failed program was:" >&5
4061 sed 's/^/| /' conftest.$ac_ext >&5
4063 eval "$as_ac_Header=no"
4065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4068 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4070 cat >>confdefs.h <<_ACEOF
4071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4080 if test ${WIN} == 'yes' ; then
4085 winsock2.h ws2tcpip.h windows.h
4087 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4088 echo "$as_me:$LINENO: checking for $ac_header" >&5
4089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4091 echo $ECHO_N "(cached) $ECHO_C" >&6
4093 cat >conftest.$ac_ext <<_ACEOF
4096 cat confdefs.h >>conftest.$ac_ext
4097 cat >>conftest.$ac_ext <<_ACEOF
4098 /* end confdefs.h. */
4101 #include <$ac_header>
4103 rm -f conftest.$ac_objext
4104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4105 (eval $ac_compile) 2>conftest.er1
4107 grep -v '^ *+' conftest.er1 >conftest.err
4109 cat conftest.err >&5
4110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111 (exit $ac_status); } &&
4112 { ac_try='test -z "$ac_c_werror_flag"
4113 || test ! -s conftest.err'
4114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118 (exit $ac_status); }; } &&
4119 { ac_try='test -s conftest.$ac_objext'
4120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4124 (exit $ac_status); }; }; then
4125 eval "$as_ac_Header=yes"
4127 echo "$as_me: failed program was:" >&5
4128 sed 's/^/| /' conftest.$ac_ext >&5
4130 eval "$as_ac_Header=no"
4132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4135 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4136 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4137 cat >>confdefs.h <<_ACEOF
4138 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4147 if test ${CONFIG_ORTE_KERNEL} == 'yes' ; then
4157 asm/byteorder.h linux/ctype.h linux/string.h \
4158 linux/module.h linux/if.h linux/socket.h \
4159 linux/time.h linux/types.h
4161 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4162 echo "$as_me:$LINENO: checking for $ac_header" >&5
4163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4165 echo $ECHO_N "(cached) $ECHO_C" >&6
4167 cat >conftest.$ac_ext <<_ACEOF
4170 cat confdefs.h >>conftest.$ac_ext
4171 cat >>conftest.$ac_ext <<_ACEOF
4172 /* end confdefs.h. */
4175 #include <$ac_header>
4177 rm -f conftest.$ac_objext
4178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4179 (eval $ac_compile) 2>conftest.er1
4181 grep -v '^ *+' conftest.er1 >conftest.err
4183 cat conftest.err >&5
4184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185 (exit $ac_status); } &&
4186 { ac_try='test -z "$ac_c_werror_flag"
4187 || test ! -s conftest.err'
4188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); }; } &&
4193 { ac_try='test -s conftest.$ac_objext'
4194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); }; }; then
4199 eval "$as_ac_Header=yes"
4201 echo "$as_me: failed program was:" >&5
4202 sed 's/^/| /' conftest.$ac_ext >&5
4204 eval "$as_ac_Header=no"
4206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4211 cat >>confdefs.h <<_ACEOF
4212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4220 for ac_header in linux/in.h
4222 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4223 echo "$as_me:$LINENO: checking for $ac_header" >&5
4224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4226 echo $ECHO_N "(cached) $ECHO_C" >&6
4228 cat >conftest.$ac_ext <<_ACEOF
4231 cat confdefs.h >>conftest.$ac_ext
4232 cat >>conftest.$ac_ext <<_ACEOF
4233 /* end confdefs.h. */
4235 #ifdef HAVE_LINUX_SOCKET_H
4236 #include <linux/socket.h>
4240 #include <$ac_header>
4242 rm -f conftest.$ac_objext
4243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4244 (eval $ac_compile) 2>conftest.er1
4246 grep -v '^ *+' conftest.er1 >conftest.err
4248 cat conftest.err >&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); } &&
4251 { ac_try='test -z "$ac_c_werror_flag"
4252 || test ! -s conftest.err'
4253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); }; } &&
4258 { ac_try='test -s conftest.$ac_objext'
4259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); }; }; then
4264 eval "$as_ac_Header=yes"
4266 echo "$as_me: failed program was:" >&5
4267 sed 's/^/| /' conftest.$ac_ext >&5
4269 eval "$as_ac_Header=no"
4271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4276 cat >>confdefs.h <<_ACEOF
4277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4286 if test ${USE_RTLINUX} == 'yes' ; then
4296 string.h pthread.h semaphore.h \
4297 rtl.h rtl_malloc.h udp.h nic.h time.h
4299 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4300 echo "$as_me:$LINENO: checking for $ac_header" >&5
4301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4303 echo $ECHO_N "(cached) $ECHO_C" >&6
4305 cat >conftest.$ac_ext <<_ACEOF
4308 cat confdefs.h >>conftest.$ac_ext
4309 cat >>conftest.$ac_ext <<_ACEOF
4310 /* end confdefs.h. */
4313 #include <$ac_header>
4315 rm -f conftest.$ac_objext
4316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4317 (eval $ac_compile) 2>conftest.er1
4319 grep -v '^ *+' conftest.er1 >conftest.err
4321 cat conftest.err >&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); } &&
4324 { ac_try='test -z "$ac_c_werror_flag"
4325 || test ! -s conftest.err'
4326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330 (exit $ac_status); }; } &&
4331 { ac_try='test -s conftest.$ac_objext'
4332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4336 (exit $ac_status); }; }; then
4337 eval "$as_ac_Header=yes"
4339 echo "$as_me: failed program was:" >&5
4340 sed 's/^/| /' conftest.$ac_ext >&5
4342 eval "$as_ac_Header=no"
4344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4349 cat >>confdefs.h <<_ACEOF
4350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4358 for ac_header in nictab.h
4360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4361 echo "$as_me:$LINENO: checking for $ac_header" >&5
4362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4364 echo $ECHO_N "(cached) $ECHO_C" >&6
4366 cat >conftest.$ac_ext <<_ACEOF
4369 cat confdefs.h >>conftest.$ac_ext
4370 cat >>conftest.$ac_ext <<_ACEOF
4371 /* end confdefs.h. */
4381 #include <$ac_header>
4383 rm -f conftest.$ac_objext
4384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4385 (eval $ac_compile) 2>conftest.er1
4387 grep -v '^ *+' conftest.er1 >conftest.err
4389 cat conftest.err >&5
4390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391 (exit $ac_status); } &&
4392 { ac_try='test -z "$ac_c_werror_flag"
4393 || test ! -s conftest.err'
4394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); }; } &&
4399 { ac_try='test -s conftest.$ac_objext'
4400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404 (exit $ac_status); }; }; then
4405 eval "$as_ac_Header=yes"
4407 echo "$as_me: failed program was:" >&5
4408 sed 's/^/| /' conftest.$ac_ext >&5
4410 eval "$as_ac_Header=no"
4412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4417 cat >>confdefs.h <<_ACEOF
4418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4427 if test ${USE_RTAI} == 'yes' ; then
4432 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4433 echo "$as_me:$LINENO: checking for $ac_header" >&5
4434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4436 echo $ECHO_N "(cached) $ECHO_C" >&6
4438 cat >conftest.$ac_ext <<_ACEOF
4441 cat confdefs.h >>conftest.$ac_ext
4442 cat >>conftest.$ac_ext <<_ACEOF
4443 /* end confdefs.h. */
4446 #include <$ac_header>
4448 rm -f conftest.$ac_objext
4449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4450 (eval $ac_compile) 2>conftest.er1
4452 grep -v '^ *+' conftest.er1 >conftest.err
4454 cat conftest.err >&5
4455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456 (exit $ac_status); } &&
4457 { ac_try='test -z "$ac_c_werror_flag"
4458 || test ! -s conftest.err'
4459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463 (exit $ac_status); }; } &&
4464 { ac_try='test -s conftest.$ac_objext'
4465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469 (exit $ac_status); }; }; then
4470 eval "$as_ac_Header=yes"
4472 echo "$as_me: failed program was:" >&5
4473 sed 's/^/| /' conftest.$ac_ext >&5
4475 eval "$as_ac_Header=no"
4477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4482 cat >>confdefs.h <<_ACEOF
4483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4492 ###############################
4494 INCLUDES='-I$(top_srcdir)/orte/include'
4497 ###############################
4498 # Checks for typedefs, structures, and compiler characteristics.
4499 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4500 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4501 if test "${ac_cv_c_bigendian+set}" = set; then
4502 echo $ECHO_N "(cached) $ECHO_C" >&6
4504 # See if sys/param.h defines the BYTE_ORDER macro.
4505 cat >conftest.$ac_ext <<_ACEOF
4508 cat confdefs.h >>conftest.$ac_ext
4509 cat >>conftest.$ac_ext <<_ACEOF
4510 /* end confdefs.h. */
4511 #include <sys/types.h>
4512 #include <sys/param.h>
4517 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4525 rm -f conftest.$ac_objext
4526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4527 (eval $ac_compile) 2>conftest.er1
4529 grep -v '^ *+' conftest.er1 >conftest.err
4531 cat conftest.err >&5
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); } &&
4534 { ac_try='test -z "$ac_c_werror_flag"
4535 || test ! -s conftest.err'
4536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540 (exit $ac_status); }; } &&
4541 { ac_try='test -s conftest.$ac_objext'
4542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); }; }; then
4547 # It does; now see whether it defined to BIG_ENDIAN or not.
4548 cat >conftest.$ac_ext <<_ACEOF
4551 cat confdefs.h >>conftest.$ac_ext
4552 cat >>conftest.$ac_ext <<_ACEOF
4553 /* end confdefs.h. */
4554 #include <sys/types.h>
4555 #include <sys/param.h>
4560 #if BYTE_ORDER != BIG_ENDIAN
4568 rm -f conftest.$ac_objext
4569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4570 (eval $ac_compile) 2>conftest.er1
4572 grep -v '^ *+' conftest.er1 >conftest.err
4574 cat conftest.err >&5
4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576 (exit $ac_status); } &&
4577 { ac_try='test -z "$ac_c_werror_flag"
4578 || test ! -s conftest.err'
4579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583 (exit $ac_status); }; } &&
4584 { ac_try='test -s conftest.$ac_objext'
4585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); }; }; then
4590 ac_cv_c_bigendian=yes
4592 echo "$as_me: failed program was:" >&5
4593 sed 's/^/| /' conftest.$ac_ext >&5
4595 ac_cv_c_bigendian=no
4597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4599 echo "$as_me: failed program was:" >&5
4600 sed 's/^/| /' conftest.$ac_ext >&5
4602 # It does not; compile a test program.
4603 if test "$cross_compiling" = yes; then
4604 # try to guess the endianness by grepping values into an object file
4605 ac_cv_c_bigendian=unknown
4606 cat >conftest.$ac_ext <<_ACEOF
4609 cat confdefs.h >>conftest.$ac_ext
4610 cat >>conftest.$ac_ext <<_ACEOF
4611 /* end confdefs.h. */
4612 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4613 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4614 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4615 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4616 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4617 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4621 _ascii (); _ebcdic ();
4626 rm -f conftest.$ac_objext
4627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4628 (eval $ac_compile) 2>conftest.er1
4630 grep -v '^ *+' conftest.er1 >conftest.err
4632 cat conftest.err >&5
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); } &&
4635 { ac_try='test -z "$ac_c_werror_flag"
4636 || test ! -s conftest.err'
4637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); }; } &&
4642 { ac_try='test -s conftest.$ac_objext'
4643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); }; }; then
4648 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4649 ac_cv_c_bigendian=yes
4651 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4652 if test "$ac_cv_c_bigendian" = unknown; then
4653 ac_cv_c_bigendian=no
4655 # finding both strings is unlikely to happen, but who knows?
4656 ac_cv_c_bigendian=unknown
4660 echo "$as_me: failed program was:" >&5
4661 sed 's/^/| /' conftest.$ac_ext >&5
4664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4666 cat >conftest.$ac_ext <<_ACEOF
4669 cat confdefs.h >>conftest.$ac_ext
4670 cat >>conftest.$ac_ext <<_ACEOF
4671 /* end confdefs.h. */
4675 /* Are we little or big endian? From Harbison&Steele. */
4679 char c[sizeof (long)];
4682 exit (u.c[sizeof (long) - 1] == 1);
4685 rm -f conftest$ac_exeext
4686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4687 (eval $ac_link) 2>&5
4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); }; }; then
4696 ac_cv_c_bigendian=no
4698 echo "$as_me: program exited with status $ac_status" >&5
4699 echo "$as_me: failed program was:" >&5
4700 sed 's/^/| /' conftest.$ac_ext >&5
4703 ac_cv_c_bigendian=yes
4705 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4710 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4711 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4712 case $ac_cv_c_bigendian in
4715 cat >>confdefs.h <<\_ACEOF
4716 #define WORDS_BIGENDIAN 1
4722 { { echo "$as_me:$LINENO: error: unknown endianness
4723 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4724 echo "$as_me: error: unknown endianness
4725 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4726 { (exit 1); exit 1; }; } ;;
4729 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4730 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4731 if test "${ac_cv_c_const+set}" = set; then
4732 echo $ECHO_N "(cached) $ECHO_C" >&6
4734 cat >conftest.$ac_ext <<_ACEOF
4737 cat confdefs.h >>conftest.$ac_ext
4738 cat >>conftest.$ac_ext <<_ACEOF
4739 /* end confdefs.h. */
4744 /* FIXME: Include the comments suggested by Paul. */
4746 /* Ultrix mips cc rejects this. */
4747 typedef int charset[2];
4749 /* SunOS 4.1.1 cc rejects this. */
4750 char const *const *ccp;
4752 /* NEC SVR4.0.2 mips cc rejects this. */
4753 struct point {int x, y;};
4754 static struct point const zero = {0,0};
4755 /* AIX XL C 1.02.0.0 rejects this.
4756 It does not let you subtract one const X* pointer from another in
4757 an arm of an if-expression whose if-part is not a constant
4759 const char *g = "string";
4760 ccp = &g + (g ? g-g : 0);
4761 /* HPUX 7.0 cc rejects these. */
4764 ccp = (char const *const *) p;
4765 { /* SCO 3.2v4 cc rejects this. */
4767 char const *s = 0 ? (char *) 0 : (char const *) 0;
4771 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4773 const int *foo = &x[0];
4776 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4777 typedef const int *iptr;
4781 { /* AIX XL C 1.02.0.0 rejects this saying
4782 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4783 struct s { int j; const int *ap[3]; };
4784 struct s *b; b->j = 5;
4786 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4795 rm -f conftest.$ac_objext
4796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4797 (eval $ac_compile) 2>conftest.er1
4799 grep -v '^ *+' conftest.er1 >conftest.err
4801 cat conftest.err >&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); } &&
4804 { ac_try='test -z "$ac_c_werror_flag"
4805 || test ! -s conftest.err'
4806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); }; } &&
4811 { ac_try='test -s conftest.$ac_objext'
4812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); }; }; then
4819 echo "$as_me: failed program was:" >&5
4820 sed 's/^/| /' conftest.$ac_ext >&5
4824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4826 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4827 echo "${ECHO_T}$ac_cv_c_const" >&6
4828 if test $ac_cv_c_const = no; then
4830 cat >>confdefs.h <<\_ACEOF
4836 echo "$as_me:$LINENO: checking for inline" >&5
4837 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4838 if test "${ac_cv_c_inline+set}" = set; then
4839 echo $ECHO_N "(cached) $ECHO_C" >&6
4842 for ac_kw in inline __inline__ __inline; do
4843 cat >conftest.$ac_ext <<_ACEOF
4846 cat confdefs.h >>conftest.$ac_ext
4847 cat >>conftest.$ac_ext <<_ACEOF
4848 /* end confdefs.h. */
4851 static $ac_kw foo_t static_foo () {return 0; }
4852 $ac_kw foo_t foo () {return 0; }
4856 rm -f conftest.$ac_objext
4857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4858 (eval $ac_compile) 2>conftest.er1
4860 grep -v '^ *+' conftest.er1 >conftest.err
4862 cat conftest.err >&5
4863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864 (exit $ac_status); } &&
4865 { ac_try='test -z "$ac_c_werror_flag"
4866 || test ! -s conftest.err'
4867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); }; } &&
4872 { ac_try='test -s conftest.$ac_objext'
4873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877 (exit $ac_status); }; }; then
4878 ac_cv_c_inline=$ac_kw; break
4880 echo "$as_me: failed program was:" >&5
4881 sed 's/^/| /' conftest.$ac_ext >&5
4884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4888 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4889 echo "${ECHO_T}$ac_cv_c_inline" >&6
4892 case $ac_cv_c_inline in
4895 case $ac_cv_c_inline in
4897 *) ac_val=$ac_cv_c_inline;;
4899 cat >>confdefs.h <<_ACEOF
4901 #define inline $ac_val
4908 ###############################
4909 # Checks for library functions.
4910 if test $ac_cv_c_compiler_gnu = yes; then
4911 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4912 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
4913 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4914 echo $ECHO_N "(cached) $ECHO_C" >&6
4916 ac_pattern="Autoconf.*'x'"
4917 cat >conftest.$ac_ext <<_ACEOF
4920 cat confdefs.h >>conftest.$ac_ext
4921 cat >>conftest.$ac_ext <<_ACEOF
4922 /* end confdefs.h. */
4926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4927 $EGREP "$ac_pattern" >/dev/null 2>&1; then
4928 ac_cv_prog_gcc_traditional=yes
4930 ac_cv_prog_gcc_traditional=no
4935 if test $ac_cv_prog_gcc_traditional = no; then
4936 cat >conftest.$ac_ext <<_ACEOF
4939 cat confdefs.h >>conftest.$ac_ext
4940 cat >>conftest.$ac_ext <<_ACEOF
4941 /* end confdefs.h. */
4945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4946 $EGREP "$ac_pattern" >/dev/null 2>&1; then
4947 ac_cv_prog_gcc_traditional=yes
4953 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
4954 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
4955 if test $ac_cv_prog_gcc_traditional = yes; then
4956 CC="$CC -traditional"
4960 if test -z ${CONFIG_ORTE_RT} ; then
4963 for ac_func in strdup gethostbyname
4965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4966 echo "$as_me:$LINENO: checking for $ac_func" >&5
4967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4968 if eval "test \"\${$as_ac_var+set}\" = set"; then
4969 echo $ECHO_N "(cached) $ECHO_C" >&6
4971 cat >conftest.$ac_ext <<_ACEOF
4974 cat confdefs.h >>conftest.$ac_ext
4975 cat >>conftest.$ac_ext <<_ACEOF
4976 /* end confdefs.h. */
4977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4979 #define $ac_func innocuous_$ac_func
4981 /* System header to define __stub macros and hopefully few prototypes,
4982 which can conflict with char $ac_func (); below.
4983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4984 <limits.h> exists even on freestanding compilers. */
4987 # include <limits.h>
4989 # include <assert.h>
4994 /* Override any gcc2 internal prototype to avoid an error. */
4999 /* We use char because int might match the return type of a gcc2
5000 builtin and then its argument prototype would still apply. */
5002 /* The GNU C library defines this for functions which it implements
5003 to always fail with ENOSYS. Some functions are actually named
5004 something starting with __ and the normal name is an alias. */
5005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5008 char (*f) () = $ac_func;
5017 return f != $ac_func;
5022 rm -f conftest.$ac_objext conftest$ac_exeext
5023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5024 (eval $ac_link) 2>conftest.er1
5026 grep -v '^ *+' conftest.er1 >conftest.err
5028 cat conftest.err >&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); } &&
5031 { ac_try='test -z "$ac_c_werror_flag"
5032 || test ! -s conftest.err'
5033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037 (exit $ac_status); }; } &&
5038 { ac_try='test -s conftest$ac_exeext'
5039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 (exit $ac_status); }; }; then
5044 eval "$as_ac_var=yes"
5046 echo "$as_me: failed program was:" >&5
5047 sed 's/^/| /' conftest.$ac_ext >&5
5049 eval "$as_ac_var=no"
5051 rm -f conftest.err conftest.$ac_objext \
5052 conftest$ac_exeext conftest.$ac_ext
5054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5056 if test `eval echo '${'$as_ac_var'}'` = yes; then
5057 cat >>confdefs.h <<_ACEOF
5058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5066 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/ping/Makefile orte/examples/spy/Makefile orte/manager/Makefile"
5070 ac_config_files="$ac_config_files modtool"
5071 cat >confcache <<\_ACEOF
5072 # This file is a shell script that caches the results of configure
5073 # tests run on this system so they can be shared between configure
5074 # scripts and configure runs, see configure's option --config-cache.
5075 # It is not useful on other systems. If it contains results you don't
5076 # want to keep, you may remove or edit it.
5078 # config.status only pays attention to the cache file if you give it
5079 # the --recheck option to rerun configure.
5081 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5082 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5087 # The following way of writing the cache mishandles newlines in values,
5088 # but we know of no workaround that is simple, portable, and efficient.
5089 # So, don't put newlines in cache variables' values.
5090 # Ultrix sh set writes to stderr and can't be redirected directly,
5091 # and sets the high bit in the cache file unless we assign to the vars.
5094 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5096 # `set' does not quote correctly, so add quotes (double-quote
5097 # substitution turns \\\\ into \\, and sed turns \\ into \).
5100 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5103 # `set' quotes correctly as required by POSIX, so do not add quotes.
5105 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5112 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5114 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5116 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5117 if test -w $cache_file; then
5118 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5119 cat confcache >$cache_file
5121 echo "not updating unwritable cache $cache_file"
5126 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5127 # Let make expand exec_prefix.
5128 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5130 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5131 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5132 # trailing colons and then remove the whole line if VPATH becomes empty
5133 # (actually we leave an empty line to preserve line numbers).
5134 if test "x$srcdir" = x.; then
5135 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5136 s/:*\$(srcdir):*/:/;
5137 s/:*\${srcdir}:*/:/;
5139 s/^\([^=]*=[ ]*\):*/\1/;
5145 DEFS=-DHAVE_CONFIG_H
5149 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5150 # 1. Remove the extension, and $U if already installed.
5151 ac_i=`echo "$ac_i" |
5152 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5154 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5155 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5159 LTLIBOBJS=$ac_ltlibobjs
5162 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5163 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5164 Usually this means the macro was only invoked conditionally." >&5
5165 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5166 Usually this means the macro was only invoked conditionally." >&2;}
5167 { (exit 1); exit 1; }; }
5169 if test -z "${CONFIG_ORTE_KERNEL_TRUE}" && test -z "${CONFIG_ORTE_KERNEL_FALSE}"; then
5170 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_KERNEL\" was never defined.
5171 Usually this means the macro was only invoked conditionally." >&5
5172 echo "$as_me: error: conditional \"CONFIG_ORTE_KERNEL\" was never defined.
5173 Usually this means the macro was only invoked conditionally." >&2;}
5174 { (exit 1); exit 1; }; }
5176 if test -z "${CONFIG_RTHAL_TRUE}" && test -z "${CONFIG_RTHAL_FALSE}"; then
5177 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_RTHAL\" was never defined.
5178 Usually this means the macro was only invoked conditionally." >&5
5179 echo "$as_me: error: conditional \"CONFIG_RTHAL\" was never defined.
5180 Usually this means the macro was only invoked conditionally." >&2;}
5181 { (exit 1); exit 1; }; }
5183 if test -z "${CONFIG_RTLINUX_TRUE}" && test -z "${CONFIG_RTLINUX_FALSE}"; then
5184 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_RTLINUX\" was never defined.
5185 Usually this means the macro was only invoked conditionally." >&5
5186 echo "$as_me: error: conditional \"CONFIG_RTLINUX\" was never defined.
5187 Usually this means the macro was only invoked conditionally." >&2;}
5188 { (exit 1); exit 1; }; }
5190 if test -z "${USE_RTAI_TRUE}" && test -z "${USE_RTAI_FALSE}"; then
5191 { { echo "$as_me:$LINENO: error: conditional \"USE_RTAI\" was never defined.
5192 Usually this means the macro was only invoked conditionally." >&5
5193 echo "$as_me: error: conditional \"USE_RTAI\" was never defined.
5194 Usually this means the macro was only invoked conditionally." >&2;}
5195 { (exit 1); exit 1; }; }
5197 if test -z "${USE_RTLINUX_TRUE}" && test -z "${USE_RTLINUX_FALSE}"; then
5198 { { echo "$as_me:$LINENO: error: conditional \"USE_RTLINUX\" was never defined.
5199 Usually this means the macro was only invoked conditionally." >&5
5200 echo "$as_me: error: conditional \"USE_RTLINUX\" was never defined.
5201 Usually this means the macro was only invoked conditionally." >&2;}
5202 { (exit 1); exit 1; }; }
5204 if test -z "${CONFIG_ORTE_RT_TRUE}" && test -z "${CONFIG_ORTE_RT_FALSE}"; then
5205 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_RT\" was never defined.
5206 Usually this means the macro was only invoked conditionally." >&5
5207 echo "$as_me: error: conditional \"CONFIG_ORTE_RT\" was never defined.
5208 Usually this means the macro was only invoked conditionally." >&2;}
5209 { (exit 1); exit 1; }; }
5211 if test -z "${CONFIG_ORTE_WIN_TRUE}" && test -z "${CONFIG_ORTE_WIN_FALSE}"; then
5212 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_WIN\" was never defined.
5213 Usually this means the macro was only invoked conditionally." >&5
5214 echo "$as_me: error: conditional \"CONFIG_ORTE_WIN\" was never defined.
5215 Usually this means the macro was only invoked conditionally." >&2;}
5216 { (exit 1); exit 1; }; }
5218 if test -z "${CONFIG_ORTE_UNIX_TRUE}" && test -z "${CONFIG_ORTE_UNIX_FALSE}"; then
5219 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_UNIX\" was never defined.
5220 Usually this means the macro was only invoked conditionally." >&5
5221 echo "$as_me: error: conditional \"CONFIG_ORTE_UNIX\" was never defined.
5222 Usually this means the macro was only invoked conditionally." >&2;}
5223 { (exit 1); exit 1; }; }
5225 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5226 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5227 Usually this means the macro was only invoked conditionally." >&5
5228 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5229 Usually this means the macro was only invoked conditionally." >&2;}
5230 { (exit 1); exit 1; }; }
5233 : ${CONFIG_STATUS=./config.status}
5234 ac_clean_files_save=$ac_clean_files
5235 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5236 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5237 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5238 cat >$CONFIG_STATUS <<_ACEOF
5240 # Generated by $as_me.
5241 # Run this file to recreate the current configuration.
5242 # Compiler output produced by configure, useful for debugging
5243 # configure, is in config.log if it exists.
5248 SHELL=\${CONFIG_SHELL-$SHELL}
5251 cat >>$CONFIG_STATUS <<\_ACEOF
5252 ## --------------------- ##
5253 ## M4sh Initialization. ##
5254 ## --------------------- ##
5256 # Be Bourne compatible
5257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5261 # is contrary to our usage. Disable this feature.
5262 alias -g '${1+"$@"}'='"$@"'
5263 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5266 DUALCASE=1; export DUALCASE # for MKS sh
5268 # Support unset when possible.
5269 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5276 # Work around bugs in pre-3.0 UWIN ksh.
5277 $as_unset ENV MAIL MAILPATH
5284 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5285 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5286 LC_TELEPHONE LC_TIME
5288 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5289 eval $as_var=C; export $as_var
5295 # Required to use basename.
5296 if expr a : '\(a\)' >/dev/null 2>&1; then
5302 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5303 as_basename=basename
5309 # Name of the executable.
5310 as_me=`$as_basename "$0" ||
5311 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5312 X"$0" : 'X\(//\)$' \| \
5313 X"$0" : 'X\(/\)$' \| \
5314 . : '\(.\)' 2>/dev/null ||
5316 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5317 /^X\/\(\/\/\)$/{ s//\1/; q; }
5318 /^X\/\(\/\).*/{ s//\1/; q; }
5322 # PATH needs CR, and LINENO needs CR and PATH.
5323 # Avoid depending upon Character Ranges.
5324 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5325 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5326 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5327 as_cr_digits='0123456789'
5328 as_cr_alnum=$as_cr_Letters$as_cr_digits
5330 # The user is always right.
5331 if test "${PATH_SEPARATOR+set}" != set; then
5332 echo "#! /bin/sh" >conf$$.sh
5333 echo "exit 0" >>conf$$.sh
5335 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5346 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5347 test "x$as_lineno_1" != "x$as_lineno_2" &&
5348 test "x$as_lineno_3" = "x$as_lineno_2" || {
5349 # Find who we are. Look in the path if we contain no path at all
5352 *[\\/]* ) as_myself=$0 ;;
5353 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5357 test -z "$as_dir" && as_dir=.
5358 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5363 # We did not find ourselves, most probably we were run as `sh COMMAND'
5364 # in which case we are not to be found in the path.
5365 if test "x$as_myself" = x; then
5368 if test ! -f "$as_myself"; then
5369 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5370 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5371 { (exit 1); exit 1; }; }
5373 case $CONFIG_SHELL in
5375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5376 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5379 test -z "$as_dir" && as_dir=.
5380 for as_base in sh bash ksh sh5; do
5383 if ("$as_dir/$as_base" -c '
5386 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5387 test "x$as_lineno_1" != "x$as_lineno_2" &&
5388 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5389 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5390 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5391 CONFIG_SHELL=$as_dir/$as_base
5393 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5401 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5402 # uniformly replaced by the line number. The first 'sed' inserts a
5403 # line-number line before each line; the second 'sed' does the real
5404 # work. The second script uses 'N' to pair each line-number line
5405 # with the numbered line, and appends trailing '-' during
5406 # substitution so that $LINENO is not a special case at line end.
5407 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5408 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5409 sed '=' <$as_myself |
5414 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5417 s,^['$as_cr_digits']*\n,,
5419 chmod +x $as_me.lineno ||
5420 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5421 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5422 { (exit 1); exit 1; }; }
5424 # Don't try to exec as it changes $[0], causing all sort of problems
5425 # (the dirname of $[0] is not the place where we might find the
5426 # original and so on. Autoconf is especially sensible to this).
5428 # Exit status is that of the last command.
5433 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5434 *c*,-n*) ECHO_N= ECHO_C='
5436 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5437 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5440 if expr a : '\(a\)' >/dev/null 2>&1; then
5446 rm -f conf$$ conf$$.exe conf$$.file
5448 if ln -s conf$$.file conf$$ 2>/dev/null; then
5449 # We could just check for DJGPP; but this test a) works b) is more generic
5450 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5451 if test -f conf$$.exe; then
5452 # Don't use ln at all; we don't have any links
5457 elif ln conf$$.file conf$$ 2>/dev/null; then
5462 rm -f conf$$ conf$$.exe conf$$.file
5464 if mkdir -p . 2>/dev/null; then
5467 test -d ./-p && rmdir ./-p
5471 as_executable_p="test -f"
5473 # Sed expression to map a string onto a valid CPP name.
5474 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5476 # Sed expression to map a string onto a valid variable name.
5477 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5481 # We need space, tab and new line, in precisely that order.
5491 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5492 # report actual input values of CONFIG_FILES etc. instead of their
5493 # values after options handling. Logging --version etc. is OK.
5497 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5498 ## Running $as_me. ##
5503 This file was extended by orte $as_me 0.2.0, which was
5504 generated by GNU Autoconf 2.59. Invocation command line was
5506 CONFIG_FILES = $CONFIG_FILES
5507 CONFIG_HEADERS = $CONFIG_HEADERS
5508 CONFIG_LINKS = $CONFIG_LINKS
5509 CONFIG_COMMANDS = $CONFIG_COMMANDS
5513 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5517 # Files that config.status was made for.
5518 if test -n "$ac_config_files"; then
5519 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5522 if test -n "$ac_config_headers"; then
5523 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5526 if test -n "$ac_config_links"; then
5527 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5530 if test -n "$ac_config_commands"; then
5531 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5534 cat >>$CONFIG_STATUS <<\_ACEOF
5537 \`$as_me' instantiates files from templates according to the
5538 current configuration.
5540 Usage: $0 [OPTIONS] [FILE]...
5542 -h, --help print this help, then exit
5543 -V, --version print version number, then exit
5544 -q, --quiet do not print progress messages
5545 -d, --debug don't remove temporary files
5546 --recheck update $as_me by reconfiguring in the same conditions
5547 --file=FILE[:TEMPLATE]
5548 instantiate the configuration file FILE
5549 --header=FILE[:TEMPLATE]
5550 instantiate the configuration header FILE
5552 Configuration files:
5555 Configuration headers:
5558 Configuration commands:
5561 Report bugs to <bug-autoconf@gnu.org>."
5564 cat >>$CONFIG_STATUS <<_ACEOF
5566 orte config.status 0.2.0
5567 configured by $0, generated by GNU Autoconf 2.59,
5568 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5570 Copyright (C) 2003 Free Software Foundation, Inc.
5571 This config.status script is free software; the Free Software Foundation
5572 gives unlimited permission to copy, distribute and modify it."
5577 cat >>$CONFIG_STATUS <<\_ACEOF
5578 # If no file are specified by the user, then we need to provide default
5579 # value. By we need to know if files were specified by the user.
5585 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5586 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5594 *) # This is not an option, so the user has probably given explicit
5597 ac_need_defaults=false;;
5601 # Handling of the options.
5603 cat >>$CONFIG_STATUS <<\_ACEOF
5604 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5606 --version | --vers* | -V )
5607 echo "$ac_cs_version"; exit 0 ;;
5609 # Conflict between --help and --header
5610 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5611 Try \`$0 --help' for more information." >&5
5612 echo "$as_me: error: ambiguous option: $1
5613 Try \`$0 --help' for more information." >&2;}
5614 { (exit 1); exit 1; }; };;
5615 --help | --hel | -h )
5616 echo "$ac_cs_usage"; exit 0 ;;
5617 --debug | --d* | -d )
5619 --file | --fil | --fi | --f )
5621 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5622 ac_need_defaults=false;;
5623 --header | --heade | --head | --hea )
5625 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5626 ac_need_defaults=false;;
5627 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5628 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5632 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5633 Try \`$0 --help' for more information." >&5
5634 echo "$as_me: error: unrecognized option: $1
5635 Try \`$0 --help' for more information." >&2;}
5636 { (exit 1); exit 1; }; } ;;
5638 *) ac_config_targets="$ac_config_targets $1" ;;
5644 ac_configure_extra_args=
5646 if $ac_cs_silent; then
5648 ac_configure_extra_args="$ac_configure_extra_args --silent"
5652 cat >>$CONFIG_STATUS <<_ACEOF
5653 if \$ac_cs_recheck; then
5654 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5655 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5660 cat >>$CONFIG_STATUS <<_ACEOF
5662 # INIT-COMMANDS section.
5665 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5671 cat >>$CONFIG_STATUS <<\_ACEOF
5672 for ac_config_target in $ac_config_targets
5674 case "$ac_config_target" in
5675 # Handling of arguments.
5676 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5677 "orte/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/Makefile" ;;
5678 "orte/liborte/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/liborte/Makefile" ;;
5679 "orte/liborte/rtl/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/liborte/rtl/Makefile" ;;
5680 "orte/examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/Makefile" ;;
5681 "orte/examples/hello/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/hello/Makefile" ;;
5682 "orte/examples/reliable/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/reliable/Makefile" ;;
5683 "orte/examples/ping/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/ping/Makefile" ;;
5684 "orte/examples/spy/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/spy/Makefile" ;;
5685 "orte/manager/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/manager/Makefile" ;;
5686 "modtool" ) CONFIG_FILES="$CONFIG_FILES modtool" ;;
5687 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5688 "orte/include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS orte/include/config.h" ;;
5689 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5690 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5691 { (exit 1); exit 1; }; };;
5695 # If the user did not use the arguments to specify the items to instantiate,
5696 # then the envvar interface is used. Set only those that are not.
5697 # We use the long form for the default assignment because of an extremely
5698 # bizarre bug on SunOS 4.1.3.
5699 if $ac_need_defaults; then
5700 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5701 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5702 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5705 # Have a temporary directory for convenience. Make it in the build tree
5706 # simply because there is no reason to put it here, and in addition,
5707 # creating and moving files from /tmp can sometimes cause problems.
5708 # Create a temporary directory, and hook for its removal unless debugging.
5711 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5712 trap '{ (exit 1); exit 1; }' 1 2 13 15
5715 # Create a (secure) tmp directory for tmp files.
5718 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5719 test -n "$tmp" && test -d "$tmp"
5722 tmp=./confstat$$-$RANDOM
5723 (umask 077 && mkdir $tmp)
5726 echo "$me: cannot create a temporary directory in ." >&2
5727 { (exit 1); exit 1; }
5732 cat >>$CONFIG_STATUS <<_ACEOF
5735 # CONFIG_FILES section.
5738 # No need to generate the scripts if there are no CONFIG_FILES.
5739 # This happens for instance when ./config.status config.h
5740 if test -n "\$CONFIG_FILES"; then
5741 # Protect against being on the right side of a sed subst in config.status.
5742 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5743 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5744 s,@SHELL@,$SHELL,;t t
5745 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5746 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5747 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5748 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5749 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5750 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5751 s,@exec_prefix@,$exec_prefix,;t t
5752 s,@prefix@,$prefix,;t t
5753 s,@program_transform_name@,$program_transform_name,;t t
5754 s,@bindir@,$bindir,;t t
5755 s,@sbindir@,$sbindir,;t t
5756 s,@libexecdir@,$libexecdir,;t t
5757 s,@datadir@,$datadir,;t t
5758 s,@sysconfdir@,$sysconfdir,;t t
5759 s,@sharedstatedir@,$sharedstatedir,;t t
5760 s,@localstatedir@,$localstatedir,;t t
5761 s,@libdir@,$libdir,;t t
5762 s,@includedir@,$includedir,;t t
5763 s,@oldincludedir@,$oldincludedir,;t t
5764 s,@infodir@,$infodir,;t t
5765 s,@mandir@,$mandir,;t t
5766 s,@build_alias@,$build_alias,;t t
5767 s,@host_alias@,$host_alias,;t t
5768 s,@target_alias@,$target_alias,;t t
5770 s,@ECHO_C@,$ECHO_C,;t t
5771 s,@ECHO_N@,$ECHO_N,;t t
5772 s,@ECHO_T@,$ECHO_T,;t t
5774 s,@build@,$build,;t t
5775 s,@build_cpu@,$build_cpu,;t t
5776 s,@build_vendor@,$build_vendor,;t t
5777 s,@build_os@,$build_os,;t t
5779 s,@host_cpu@,$host_cpu,;t t
5780 s,@host_vendor@,$host_vendor,;t t
5781 s,@host_os@,$host_os,;t t
5782 s,@target@,$target,;t t
5783 s,@target_cpu@,$target_cpu,;t t
5784 s,@target_vendor@,$target_vendor,;t t
5785 s,@target_os@,$target_os,;t t
5786 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5787 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5788 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5789 s,@PACKAGE@,$PACKAGE,;t t
5790 s,@VERSION@,$VERSION,;t t
5791 s,@ACLOCAL@,$ACLOCAL,;t t
5792 s,@AUTOCONF@,$AUTOCONF,;t t
5793 s,@AUTOMAKE@,$AUTOMAKE,;t t
5794 s,@AUTOHEADER@,$AUTOHEADER,;t t
5795 s,@MAKEINFO@,$MAKEINFO,;t t
5796 s,@AMTAR@,$AMTAR,;t t
5797 s,@install_sh@,$install_sh,;t t
5798 s,@STRIP@,$STRIP,;t t
5799 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5800 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5802 s,@SET_MAKE@,$SET_MAKE,;t t
5803 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5804 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5805 s,@MAINT@,$MAINT,;t t
5806 s,@LINUX_DIR@,$LINUX_DIR,;t t
5807 s,@LINUX_ARCH@,$LINUX_ARCH,;t t
5808 s,@LINUX_AFLAGS@,$LINUX_AFLAGS,;t t
5809 s,@LINUX_LDFLAGS@,$LINUX_LDFLAGS,;t t
5810 s,@LINUX_ARFLAGS@,$LINUX_ARFLAGS,;t t
5811 s,@LINUX_CROSS_COMPILE@,$LINUX_CROSS_COMPILE,;t t
5812 s,@LINUX_KERNELRELEASE@,$LINUX_KERNELRELEASE,;t t
5813 s,@LINUX_CFLAGS@,$LINUX_CFLAGS,;t t
5814 s,@LINUX_CC@,$LINUX_CC,;t t
5815 s,@LINUX_LD@,$LINUX_LD,;t t
5816 s,@LINUX_AS@,$LINUX_AS,;t t
5817 s,@LINUX_MODULE_EXT@,$LINUX_MODULE_EXT,;t t
5818 s,@CONFIG_ORTE_KERNEL@,$CONFIG_ORTE_KERNEL,;t t
5819 s,@CONFIG_ORTE_KERNEL_TRUE@,$CONFIG_ORTE_KERNEL_TRUE,;t t
5820 s,@CONFIG_ORTE_KERNEL_FALSE@,$CONFIG_ORTE_KERNEL_FALSE,;t t
5821 s,@CONFIG_RTHAL_TRUE@,$CONFIG_RTHAL_TRUE,;t t
5822 s,@CONFIG_RTHAL_FALSE@,$CONFIG_RTHAL_FALSE,;t t
5823 s,@RTAI_CFLAGS@,$RTAI_CFLAGS,;t t
5824 s,@CONFIG_RTLINUX_TRUE@,$CONFIG_RTLINUX_TRUE,;t t
5825 s,@CONFIG_RTLINUX_FALSE@,$CONFIG_RTLINUX_FALSE,;t t
5826 s,@RTLINUX_CFLAGS@,$RTLINUX_CFLAGS,;t t
5827 s,@CONFIG_ORTE_RT@,$CONFIG_ORTE_RT,;t t
5828 s,@USE_RTAI_TRUE@,$USE_RTAI_TRUE,;t t
5829 s,@USE_RTAI_FALSE@,$USE_RTAI_FALSE,;t t
5830 s,@USE_RTLINUX_TRUE@,$USE_RTLINUX_TRUE,;t t
5831 s,@USE_RTLINUX_FALSE@,$USE_RTLINUX_FALSE,;t t
5832 s,@CONFIG_ORTE_RT_TRUE@,$CONFIG_ORTE_RT_TRUE,;t t
5833 s,@CONFIG_ORTE_RT_FALSE@,$CONFIG_ORTE_RT_FALSE,;t t
5834 s,@ORTE_MAJOR_VERSION@,$ORTE_MAJOR_VERSION,;t t
5835 s,@ORTE_MINOR_VERSION@,$ORTE_MINOR_VERSION,;t t
5836 s,@ORTE_MICRO_VERSION@,$ORTE_MICRO_VERSION,;t t
5837 s,@ORTE_VERSION@,$ORTE_VERSION,;t t
5838 s,@CONFIG_ORTE_WIN_TRUE@,$CONFIG_ORTE_WIN_TRUE,;t t
5839 s,@CONFIG_ORTE_WIN_FALSE@,$CONFIG_ORTE_WIN_FALSE,;t t
5840 s,@CONFIG_ORTE_UNIX_TRUE@,$CONFIG_ORTE_UNIX_TRUE,;t t
5841 s,@CONFIG_ORTE_UNIX_FALSE@,$CONFIG_ORTE_UNIX_FALSE,;t t
5842 s,@moduledir@,$moduledir,;t t
5843 s,@modulePROGRAMS_INSTALL@,$modulePROGRAMS_INSTALL,;t t
5845 s,@CFLAGS@,$CFLAGS,;t t
5846 s,@LDFLAGS@,$LDFLAGS,;t t
5847 s,@CPPFLAGS@,$CPPFLAGS,;t t
5848 s,@ac_ct_CC@,$ac_ct_CC,;t t
5849 s,@EXEEXT@,$EXEEXT,;t t
5850 s,@OBJEXT@,$OBJEXT,;t t
5851 s,@DEPDIR@,$DEPDIR,;t t
5852 s,@am__include@,$am__include,;t t
5853 s,@am__quote@,$am__quote,;t t
5854 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5855 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5856 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5857 s,@CCDEPMODE@,$CCDEPMODE,;t t
5858 s,@RANLIB@,$RANLIB,;t t
5859 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5861 s,@EGREP@,$EGREP,;t t
5862 s,@INCLUDES@,$INCLUDES,;t t
5863 s,@LIBOBJS@,$LIBOBJS,;t t
5864 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5869 cat >>$CONFIG_STATUS <<\_ACEOF
5870 # Split the substitutions into bite-sized pieces for seds with
5871 # small command number limits, like on Digital OSF/1 and HP-UX.
5873 ac_sed_frag=1 # Number of current file.
5874 ac_beg=1 # First line for current file.
5875 ac_end=$ac_max_sed_lines # Line after last line for current file.
5878 while $ac_more_lines; do
5879 if test $ac_beg -gt 1; then
5880 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5882 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5884 if test ! -s $tmp/subs.frag; then
5887 # The purpose of the label and of the branching condition is to
5888 # speed up the sed processing (if there are no `@' at all, there
5889 # is no need to browse any of the substitutions).
5890 # These are the two extra sed commands mentioned above.
5892 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5893 if test -z "$ac_sed_cmds"; then
5894 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5896 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5898 ac_sed_frag=`expr $ac_sed_frag + 1`
5900 ac_end=`expr $ac_end + $ac_max_sed_lines`
5903 if test -z "$ac_sed_cmds"; then
5906 fi # test -n "$CONFIG_FILES"
5909 cat >>$CONFIG_STATUS <<\_ACEOF
5910 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5911 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5913 - | *:- | *:-:* ) # input from stdin
5915 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5916 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5917 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5918 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5919 * ) ac_file_in=$ac_file.in ;;
5922 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5923 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5924 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5925 X"$ac_file" : 'X\(//\)[^/]' \| \
5926 X"$ac_file" : 'X\(//\)$' \| \
5927 X"$ac_file" : 'X\(/\)' \| \
5928 . : '\(.\)' 2>/dev/null ||
5930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5931 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5932 /^X\(\/\/\)$/{ s//\1/; q; }
5933 /^X\(\/\).*/{ s//\1/; q; }
5935 { if $as_mkdir_p; then
5940 while test ! -d "$as_dir"; do
5941 as_dirs="$as_dir $as_dirs"
5942 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5943 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5944 X"$as_dir" : 'X\(//\)[^/]' \| \
5945 X"$as_dir" : 'X\(//\)$' \| \
5946 X"$as_dir" : 'X\(/\)' \| \
5947 . : '\(.\)' 2>/dev/null ||
5949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5950 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5951 /^X\(\/\/\)$/{ s//\1/; q; }
5952 /^X\(\/\).*/{ s//\1/; q; }
5955 test ! -n "$as_dirs" || mkdir $as_dirs
5956 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5957 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5958 { (exit 1); exit 1; }; }; }
5962 if test "$ac_dir" != .; then
5963 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5964 # A "../" for each directory in $ac_dir_suffix.
5965 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5967 ac_dir_suffix= ac_top_builddir=
5971 .) # No --srcdir option. We are building in place.
5973 if test -z "$ac_top_builddir"; then
5976 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5978 [\\/]* | ?:[\\/]* ) # Absolute path.
5979 ac_srcdir=$srcdir$ac_dir_suffix;
5980 ac_top_srcdir=$srcdir ;;
5982 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5983 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5986 # Do not use `cd foo && pwd` to compute absolute paths, because
5987 # the directories may not exist.
5989 .) ac_abs_builddir="$ac_dir";;
5992 .) ac_abs_builddir=`pwd`;;
5993 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5994 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5997 case $ac_abs_builddir in
5998 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6000 case ${ac_top_builddir}. in
6001 .) ac_abs_top_builddir=$ac_abs_builddir;;
6002 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6003 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6006 case $ac_abs_builddir in
6007 .) ac_abs_srcdir=$ac_srcdir;;
6010 .) ac_abs_srcdir=$ac_abs_builddir;;
6011 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6012 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6015 case $ac_abs_builddir in
6016 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6018 case $ac_top_srcdir in
6019 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6020 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6021 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6027 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6028 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6031 if test x"$ac_file" != x-; then
6032 { echo "$as_me:$LINENO: creating $ac_file" >&5
6033 echo "$as_me: creating $ac_file" >&6;}
6036 # Let's still pretend it is `configure' which instantiates (i.e., don't
6037 # use $as_me), people would be surprised to read:
6038 # /* config.h. Generated by config.status. */
6039 if test x"$ac_file" = x-; then
6042 configure_input="$ac_file. "
6044 configure_input=$configure_input"Generated from `echo $ac_file_in |
6045 sed 's,.*/,,'` by configure."
6047 # First look for the input files in the build tree, otherwise in the
6049 ac_file_inputs=`IFS=:
6050 for f in $ac_file_in; do
6052 -) echo $tmp/stdin ;;
6054 # Absolute (can't be DOS-style, as IFS=:)
6055 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6056 echo "$as_me: error: cannot find input file: $f" >&2;}
6057 { (exit 1); exit 1; }; }
6060 if test -f "$f"; then
6063 elif test -f "$srcdir/$f"; then
6068 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6069 echo "$as_me: error: cannot find input file: $f" >&2;}
6070 { (exit 1); exit 1; }; }
6073 done` || { (exit 1); exit 1; }
6075 cat >>$CONFIG_STATUS <<_ACEOF
6079 cat >>$CONFIG_STATUS <<\_ACEOF
6081 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6082 s,@configure_input@,$configure_input,;t t
6083 s,@srcdir@,$ac_srcdir,;t t
6084 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6085 s,@top_srcdir@,$ac_top_srcdir,;t t
6086 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6087 s,@builddir@,$ac_builddir,;t t
6088 s,@abs_builddir@,$ac_abs_builddir,;t t
6089 s,@top_builddir@,$ac_top_builddir,;t t
6090 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6091 s,@INSTALL@,$ac_INSTALL,;t t
6092 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6094 if test x"$ac_file" != x-; then
6095 mv $tmp/out $ac_file
6103 cat >>$CONFIG_STATUS <<\_ACEOF
6106 # CONFIG_HEADER section.
6109 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6110 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6112 # ac_d sets the value in "#define NAME VALUE" lines.
6113 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6114 ac_dB='[ ].*$,\1#\2'
6117 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6118 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6119 ac_uB='$,\1#\2define\3'
6123 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6124 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6126 - | *:- | *:-:* ) # input from stdin
6128 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6129 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6130 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6131 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6132 * ) ac_file_in=$ac_file.in ;;
6135 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6136 echo "$as_me: creating $ac_file" >&6;}
6138 # First look for the input files in the build tree, otherwise in the
6140 ac_file_inputs=`IFS=:
6141 for f in $ac_file_in; do
6143 -) echo $tmp/stdin ;;
6145 # Absolute (can't be DOS-style, as IFS=:)
6146 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6147 echo "$as_me: error: cannot find input file: $f" >&2;}
6148 { (exit 1); exit 1; }; }
6149 # Do quote $f, to prevent DOS paths from being IFS'd.
6152 if test -f "$f"; then
6155 elif test -f "$srcdir/$f"; then
6160 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6161 echo "$as_me: error: cannot find input file: $f" >&2;}
6162 { (exit 1); exit 1; }; }
6165 done` || { (exit 1); exit 1; }
6166 # Remove the trailing spaces.
6167 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6171 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6172 # `conftest.undefs', that substitutes the proper values into
6173 # config.h.in to produce config.h. The first handles `#define'
6174 # templates, and the second `#undef' templates.
6175 # And first: Protect against being on the right side of a sed subst in
6176 # config.status. Protect against being in an unquoted here document
6178 rm -f conftest.defines conftest.undefs
6179 # Using a here document instead of a string reduces the quoting nightmare.
6180 # Putting comments in sed scripts is not portable.
6182 # `end' is used to avoid that the second main sed command (meant for
6183 # 0-ary CPP macros) applies to n-ary macro definitions.
6184 # See the Autoconf documentation for `clear'.
6185 cat >confdef2sed.sed <<\_ACEOF
6190 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6192 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6195 # If some macros were called several times there might be several times
6196 # the same #defines, which is useless. Nevertheless, we may not want to
6197 # sort them, since we want the *last* AC-DEFINE to be honored.
6198 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6199 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6200 rm -f confdef2sed.sed
6202 # This sed command replaces #undef with comments. This is necessary, for
6203 # example, in the case of _POSIX_SOURCE, which is predefined and required
6204 # on some systems where configure will not decide to define it.
6205 cat >>conftest.undefs <<\_ACEOF
6206 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6209 # Break up conftest.defines because some shells have a limit on the size
6210 # of here documents, and old seds have small limits too (100 cmds).
6211 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6212 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6213 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6214 echo ' :' >>$CONFIG_STATUS
6216 while grep . conftest.defines >/dev/null
6218 # Write a limited-size here document to $tmp/defines.sed.
6219 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6220 # Speed up: don't consider the non `#define' lines.
6221 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6222 # Work around the forget-to-reset-the-flag bug.
6223 echo 't clr' >>$CONFIG_STATUS
6224 echo ': clr' >>$CONFIG_STATUS
6225 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6227 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6231 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6232 rm -f conftest.defines
6233 mv conftest.tail conftest.defines
6235 rm -f conftest.defines
6236 echo ' fi # grep' >>$CONFIG_STATUS
6237 echo >>$CONFIG_STATUS
6239 # Break up conftest.undefs because some shells have a limit on the size
6240 # of here documents, and old seds have small limits too (100 cmds).
6241 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6243 while grep . conftest.undefs >/dev/null
6245 # Write a limited-size here document to $tmp/undefs.sed.
6246 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6247 # Speed up: don't consider the non `#undef'
6248 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6249 # Work around the forget-to-reset-the-flag bug.
6250 echo 't clr' >>$CONFIG_STATUS
6251 echo ': clr' >>$CONFIG_STATUS
6252 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6254 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6258 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6259 rm -f conftest.undefs
6260 mv conftest.tail conftest.undefs
6262 rm -f conftest.undefs
6264 cat >>$CONFIG_STATUS <<\_ACEOF
6265 # Let's still pretend it is `configure' which instantiates (i.e., don't
6266 # use $as_me), people would be surprised to read:
6267 # /* config.h. Generated by config.status. */
6268 if test x"$ac_file" = x-; then
6269 echo "/* Generated by configure. */" >$tmp/config.h
6271 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6273 cat $tmp/in >>$tmp/config.h
6275 if test x"$ac_file" != x-; then
6276 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6277 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6278 echo "$as_me: $ac_file is unchanged" >&6;}
6280 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6281 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6282 X"$ac_file" : 'X\(//\)[^/]' \| \
6283 X"$ac_file" : 'X\(//\)$' \| \
6284 X"$ac_file" : 'X\(/\)' \| \
6285 . : '\(.\)' 2>/dev/null ||
6287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6288 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6289 /^X\(\/\/\)$/{ s//\1/; q; }
6290 /^X\(\/\).*/{ s//\1/; q; }
6292 { if $as_mkdir_p; then
6297 while test ! -d "$as_dir"; do
6298 as_dirs="$as_dir $as_dirs"
6299 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6301 X"$as_dir" : 'X\(//\)[^/]' \| \
6302 X"$as_dir" : 'X\(//\)$' \| \
6303 X"$as_dir" : 'X\(/\)' \| \
6304 . : '\(.\)' 2>/dev/null ||
6306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6307 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6308 /^X\(\/\/\)$/{ s//\1/; q; }
6309 /^X\(\/\).*/{ s//\1/; q; }
6312 test ! -n "$as_dirs" || mkdir $as_dirs
6313 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6314 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6315 { (exit 1); exit 1; }; }; }
6318 mv $tmp/config.h $ac_file
6324 # Run the commands associated with the file.
6326 orte/include/config.h ) # update the timestamp
6327 echo 'timestamp for orte/include/config.h' >"orte/include/stamp-h1"
6332 cat >>$CONFIG_STATUS <<\_ACEOF
6335 # CONFIG_COMMANDS section.
6337 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6338 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6339 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6340 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6341 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6342 X"$ac_dest" : 'X\(//\)[^/]' \| \
6343 X"$ac_dest" : 'X\(//\)$' \| \
6344 X"$ac_dest" : 'X\(/\)' \| \
6345 . : '\(.\)' 2>/dev/null ||
6347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6348 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6349 /^X\(\/\/\)$/{ s//\1/; q; }
6350 /^X\(\/\).*/{ s//\1/; q; }
6352 { if $as_mkdir_p; then
6357 while test ! -d "$as_dir"; do
6358 as_dirs="$as_dir $as_dirs"
6359 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6360 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6361 X"$as_dir" : 'X\(//\)[^/]' \| \
6362 X"$as_dir" : 'X\(//\)$' \| \
6363 X"$as_dir" : 'X\(/\)' \| \
6364 . : '\(.\)' 2>/dev/null ||
6366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6367 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6368 /^X\(\/\/\)$/{ s//\1/; q; }
6369 /^X\(\/\).*/{ s//\1/; q; }
6372 test ! -n "$as_dirs" || mkdir $as_dirs
6373 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6374 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6375 { (exit 1); exit 1; }; }; }
6379 if test "$ac_dir" != .; then
6380 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6381 # A "../" for each directory in $ac_dir_suffix.
6382 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6384 ac_dir_suffix= ac_top_builddir=
6388 .) # No --srcdir option. We are building in place.
6390 if test -z "$ac_top_builddir"; then
6393 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6395 [\\/]* | ?:[\\/]* ) # Absolute path.
6396 ac_srcdir=$srcdir$ac_dir_suffix;
6397 ac_top_srcdir=$srcdir ;;
6399 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6400 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6403 # Do not use `cd foo && pwd` to compute absolute paths, because
6404 # the directories may not exist.
6406 .) ac_abs_builddir="$ac_dir";;
6409 .) ac_abs_builddir=`pwd`;;
6410 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6411 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6414 case $ac_abs_builddir in
6415 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6417 case ${ac_top_builddir}. in
6418 .) ac_abs_top_builddir=$ac_abs_builddir;;
6419 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6420 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6423 case $ac_abs_builddir in
6424 .) ac_abs_srcdir=$ac_srcdir;;
6427 .) ac_abs_srcdir=$ac_abs_builddir;;
6428 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6429 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6432 case $ac_abs_builddir in
6433 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6435 case $ac_top_srcdir in
6436 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6437 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6438 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6443 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6444 echo "$as_me: executing $ac_dest commands" >&6;}
6446 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6447 # Strip MF so we end up with the name of the file.
6448 mf=`echo "$mf" | sed -e 's/:.*$//'`
6449 # Check whether this is an Automake generated Makefile or not.
6450 # We used to match only the files named `Makefile.in', but
6451 # some people rename them; so instead we look at the file content.
6452 # Grep'ing the first line is not enough: some people post-process
6453 # each Makefile.in and add a new line on top of each file to say so.
6454 # So let's grep whole file.
6455 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6456 dirpart=`(dirname "$mf") 2>/dev/null ||
6457 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6458 X"$mf" : 'X\(//\)[^/]' \| \
6459 X"$mf" : 'X\(//\)$' \| \
6460 X"$mf" : 'X\(/\)' \| \
6461 . : '\(.\)' 2>/dev/null ||
6463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6464 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6465 /^X\(\/\/\)$/{ s//\1/; q; }
6466 /^X\(\/\).*/{ s//\1/; q; }
6471 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6472 # Extract the definition of DEP_FILES from the Makefile without
6474 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6475 test -z "$DEPDIR" && continue
6476 # When using ansi2knr, U may be empty or an underscore; expand it
6477 U=`sed -n -e '/^U = / s///p' < "$mf"`
6478 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6479 # We invoke sed twice because it is the simplest approach to
6480 # changing $(DEPDIR) to its actual value in the expansion.
6481 for file in `sed -n -e '
6482 /^DEP_FILES = .*\\\\$/ {
6491 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6492 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6493 # Make sure the directory exists.
6494 test -f "$dirpart/$file" && continue
6495 fdir=`(dirname "$file") 2>/dev/null ||
6496 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6497 X"$file" : 'X\(//\)[^/]' \| \
6498 X"$file" : 'X\(//\)$' \| \
6499 X"$file" : 'X\(/\)' \| \
6500 . : '\(.\)' 2>/dev/null ||
6502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6503 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6504 /^X\(\/\/\)$/{ s//\1/; q; }
6505 /^X\(\/\).*/{ s//\1/; q; }
6507 { if $as_mkdir_p; then
6508 mkdir -p $dirpart/$fdir
6510 as_dir=$dirpart/$fdir
6512 while test ! -d "$as_dir"; do
6513 as_dirs="$as_dir $as_dirs"
6514 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6515 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6516 X"$as_dir" : 'X\(//\)[^/]' \| \
6517 X"$as_dir" : 'X\(//\)$' \| \
6518 X"$as_dir" : 'X\(/\)' \| \
6519 . : '\(.\)' 2>/dev/null ||
6521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6522 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6523 /^X\(\/\/\)$/{ s//\1/; q; }
6524 /^X\(\/\).*/{ s//\1/; q; }
6527 test ! -n "$as_dirs" || mkdir $as_dirs
6528 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6529 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6530 { (exit 1); exit 1; }; }; }
6532 # echo "creating $dirpart/$file"
6533 echo '# dummy' > "$dirpart/$file"
6541 cat >>$CONFIG_STATUS <<\_ACEOF
6543 { (exit 0); exit 0; }
6545 chmod +x $CONFIG_STATUS
6546 ac_clean_files=$ac_clean_files_save
6549 # configure is writing to config.log, and then calls config.status.
6550 # config.status does its own redirection, appending to config.log.
6551 # Unfortunately, on DOS this fails, as config.log is still kept open
6552 # by configure, so config.status won't be able to write to it; its
6553 # output is simply discarded. So we exec the FD to /dev/null,
6554 # effectively closing config.log, so it can be properly (re)opened and
6555 # appended to by config.status. When coming back to configure, we
6556 # need to make the FD available again.
6557 if test "$no_create" != yes; then
6559 ac_config_status_args=
6560 test "$silent" = yes &&
6561 ac_config_status_args="$ac_config_status_args --quiet"
6563 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6565 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6566 # would make configure fail if this is the last instruction.
6567 $ac_cs_success || { (exit 1); exit 1; }
6573 # ======================================================================
6574 # generate orte/include/orte_config.h
6575 # ======================================================================
6577 { echo "$as_me:$LINENO: creating orte/include/orte_config.h" >&5
6578 echo "$as_me: creating orte/include/orte_config.h" >&6;}
6579 sed -e "s/ PACKAGE/ ORTE_PACKAGE/" -e "s/ VERSION/ ORTE_VERSION/" \
6580 orte/include/config.h >orte/include/orte_config.h.new
6581 if cmp -s orte/include/orte_config.h.new orte/include/orte_config.h; then
6582 rm orte/include/orte_config.h.new
6583 { echo "$as_me:$LINENO: orte/include/orte_config.h is unchanged" >&5
6584 echo "$as_me: orte/include/orte_config.h is unchanged" >&6;}
6586 mv orte/include/orte_config.h.new orte/include/orte_config.h
6590 "------------------------------------------------------------------------
6593 Source code location: ${srcdir}
6595 Compiler flags: ${CFLAGS}
6596 Host System Type: ${host}
6598 See config.h for further configuration information.
6599 ------------------------------------------------------------------------"