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 RTLINUX_CC 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`
2115 RTLINUX_CC=`sed -n -e 's/^CC *=\(.*\)$/\1/p' ${RTLINUX_DIR}/rtl.mk`
2117 { { echo "$as_me:$LINENO: error: incorrect RTLinux directory?" >&5
2118 echo "$as_me: error: incorrect RTLinux directory?" >&2;}
2119 { (exit 1); exit 1; }; }
2121 echo "$as_me:$LINENO: result: found" >&5
2122 echo "${ECHO_T}found" >&6
2124 cat >>confdefs.h <<\_ACEOF
2125 #define CONFIG_ORTE_RTL 1
2128 echo "$as_me:$LINENO: checking RTLinux for UDP" >&5
2129 echo $ECHO_N "checking RTLinux for UDP... $ECHO_C" >&6
2130 if [ ! -e "${RTLINUXUDP_DIR}/include/udp.h" -o \
2131 ! -e "${RTLINUXUDP_DIR}/include/nic.h" -o \
2132 ! -e "${RTLINUXUDP_DIR}/include/ip.h" -o \
2133 ! -e "${RTLINUXUDP_DIR}/include/ethernet.h" -o \
2134 ! -e "${RTLINUXUDP_DIR}/include/nictab.h" ] ; then
2135 { { echo "$as_me:$LINENO: error: incorrect RTLinux UDP directory!!!" >&5
2136 echo "$as_me: error: incorrect RTLinux UDP directory!!!" >&2;}
2137 { (exit 1); exit 1; }; }
2139 RT_GCCLIB_DIR=`${RTLINUX_CC} -print-search-dirs | sed -n -e 's/^install: \(.*\)$/\1/p'`
2140 RTLINUX_CFLAGS="${RTLINUX_CFLAGS} -I${RTLINUXUDP_DIR}/include -I${RT_GCCLIB_DIR}/include -nostdinc"
2141 echo "$as_me:$LINENO: result: found" >&5
2142 echo "${ECHO_T}found" >&6
2150 if test ${USE_RTAI} == "yes" -o ${USE_RTLINUX} == "yes" ; then
2152 cat >>confdefs.h <<\_ACEOF
2153 #define CONFIG_ORTE_RT 1
2156 CONFIG_ORTE_RT="yes"
2161 if test ${USE_RTAI} == "yes"; then
2171 if test ${USE_RTLINUX} == "yes"; then
2173 USE_RTLINUX_FALSE='#'
2175 USE_RTLINUX_TRUE='#'
2181 if test ${USE_RTAI} == "yes" -o ${USE_RTLINUX} == "yes"; then
2182 CONFIG_ORTE_RT_TRUE=
2183 CONFIG_ORTE_RT_FALSE='#'
2185 CONFIG_ORTE_RT_TRUE='#'
2186 CONFIG_ORTE_RT_FALSE=
2192 ###############################
2194 ORTE_MAJOR_VERSION=0
2195 ORTE_MINOR_VERSION=2
2196 ORTE_MICRO_VERSION=0
2197 ORTE_VERSION=$ORTE_MAJOR_VERSION.$ORTE_MINOR_VERSION.$ORTE_MICRO_VERSION
2204 ###############################
2209 *-cygwin* | *-mingw*)
2213 cat >>confdefs.h <<\_ACEOF
2214 #define CONFIG_ORTE_WIN 1
2220 if test -z ${CONFIG_ORTE_RT} -a ${CONFIG_ORTE_KERNEL} ; then
2223 cat >>confdefs.h <<\_ACEOF
2224 #define CONFIG_ORTE_UNIX 1
2232 if test x$WIN = xyes; then
2233 CONFIG_ORTE_WIN_TRUE=
2234 CONFIG_ORTE_WIN_FALSE='#'
2236 CONFIG_ORTE_WIN_TRUE='#'
2237 CONFIG_ORTE_WIN_FALSE=
2242 if test x$UNIX = xyes; then
2243 CONFIG_ORTE_UNIX_TRUE=
2244 CONFIG_ORTE_UNIX_FALSE='#'
2246 CONFIG_ORTE_UNIX_TRUE='#'
2247 CONFIG_ORTE_UNIX_FALSE=
2251 ###############################
2253 moduledir="\$(libdir)/modules/\$(LINUX_KERNELRELEASE)/orte"
2254 modulePROGRAMS_INSTALL="\$(top_builddir)/modtool --install"
2255 modulePROGRAMS_UNINSTALL="\$(top_builddir)/modtool --uninstall"
2259 ###############################
2261 CFLAGS="$CFLAGS -Wall"
2262 if test ${USE_RTLINUX} == 'yes' ; then
2263 CFLAGS="$CFLAGS $RTLINUX_CFLAGS"
2266 if test ${USE_RTAI} == 'yes' ; then
2267 CFLAGS="$CFLAGS $RTAI_CFLAGS $LINUX_CFLAGS"
2269 if test -n ${CONFIG_ORTE_KERNEL} ; then
2270 CFLAGS="$CFLAGS $LINUX_CFLAGS"
2275 ###############################
2276 # Checks for programs.
2278 ac_cpp='$CPP $CPPFLAGS'
2279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2282 if test -n "$ac_tool_prefix"; then
2283 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2284 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2285 echo "$as_me:$LINENO: checking for $ac_word" >&5
2286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2287 if test "${ac_cv_prog_CC+set}" = set; then
2288 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 if test -n "$CC"; then
2291 ac_cv_prog_CC="$CC" # Let the user override the test.
2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2297 test -z "$as_dir" && as_dir=.
2298 for ac_exec_ext in '' $ac_executable_extensions; do
2299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2300 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2310 if test -n "$CC"; then
2311 echo "$as_me:$LINENO: result: $CC" >&5
2312 echo "${ECHO_T}$CC" >&6
2314 echo "$as_me:$LINENO: result: no" >&5
2315 echo "${ECHO_T}no" >&6
2319 if test -z "$ac_cv_prog_CC"; then
2321 # Extract the first word of "gcc", so it can be a program name with args.
2322 set dummy gcc; ac_word=$2
2323 echo "$as_me:$LINENO: checking for $ac_word" >&5
2324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2325 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2326 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 if test -n "$ac_ct_CC"; then
2329 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2335 test -z "$as_dir" && as_dir=.
2336 for ac_exec_ext in '' $ac_executable_extensions; do
2337 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2338 ac_cv_prog_ac_ct_CC="gcc"
2339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2347 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2348 if test -n "$ac_ct_CC"; then
2349 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2350 echo "${ECHO_T}$ac_ct_CC" >&6
2352 echo "$as_me:$LINENO: result: no" >&5
2353 echo "${ECHO_T}no" >&6
2361 if test -z "$CC"; then
2362 if test -n "$ac_tool_prefix"; then
2363 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2364 set dummy ${ac_tool_prefix}cc; ac_word=$2
2365 echo "$as_me:$LINENO: checking for $ac_word" >&5
2366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2367 if test "${ac_cv_prog_CC+set}" = set; then
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
2370 if test -n "$CC"; then
2371 ac_cv_prog_CC="$CC" # Let the user override the test.
2373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2377 test -z "$as_dir" && as_dir=.
2378 for ac_exec_ext in '' $ac_executable_extensions; do
2379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2380 ac_cv_prog_CC="${ac_tool_prefix}cc"
2381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2390 if test -n "$CC"; then
2391 echo "$as_me:$LINENO: result: $CC" >&5
2392 echo "${ECHO_T}$CC" >&6
2394 echo "$as_me:$LINENO: result: no" >&5
2395 echo "${ECHO_T}no" >&6
2399 if test -z "$ac_cv_prog_CC"; then
2401 # Extract the first word of "cc", so it can be a program name with args.
2402 set dummy cc; ac_word=$2
2403 echo "$as_me:$LINENO: checking for $ac_word" >&5
2404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2405 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2406 echo $ECHO_N "(cached) $ECHO_C" >&6
2408 if test -n "$ac_ct_CC"; then
2409 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2415 test -z "$as_dir" && as_dir=.
2416 for ac_exec_ext in '' $ac_executable_extensions; do
2417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2418 ac_cv_prog_ac_ct_CC="cc"
2419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2427 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2428 if test -n "$ac_ct_CC"; then
2429 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2430 echo "${ECHO_T}$ac_ct_CC" >&6
2432 echo "$as_me:$LINENO: result: no" >&5
2433 echo "${ECHO_T}no" >&6
2442 if test -z "$CC"; then
2443 # Extract the first word of "cc", so it can be a program name with args.
2444 set dummy cc; ac_word=$2
2445 echo "$as_me:$LINENO: checking for $ac_word" >&5
2446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2447 if test "${ac_cv_prog_CC+set}" = set; then
2448 echo $ECHO_N "(cached) $ECHO_C" >&6
2450 if test -n "$CC"; then
2451 ac_cv_prog_CC="$CC" # Let the user override the test.
2454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2458 test -z "$as_dir" && as_dir=.
2459 for ac_exec_ext in '' $ac_executable_extensions; do
2460 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2461 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2462 ac_prog_rejected=yes
2466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2472 if test $ac_prog_rejected = yes; then
2473 # We found a bogon in the path, so make sure we never use it.
2474 set dummy $ac_cv_prog_CC
2476 if test $# != 0; then
2477 # We chose a different compiler from the bogus one.
2478 # However, it has the same basename, so the bogon will be chosen
2479 # first if we set CC to just the basename; use the full file name.
2481 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2487 if test -n "$CC"; then
2488 echo "$as_me:$LINENO: result: $CC" >&5
2489 echo "${ECHO_T}$CC" >&6
2491 echo "$as_me:$LINENO: result: no" >&5
2492 echo "${ECHO_T}no" >&6
2496 if test -z "$CC"; then
2497 if test -n "$ac_tool_prefix"; then
2500 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2501 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2502 echo "$as_me:$LINENO: checking for $ac_word" >&5
2503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2504 if test "${ac_cv_prog_CC+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 if test -n "$CC"; then
2508 ac_cv_prog_CC="$CC" # Let the user override the test.
2510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2514 test -z "$as_dir" && as_dir=.
2515 for ac_exec_ext in '' $ac_executable_extensions; do
2516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2517 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2527 if test -n "$CC"; then
2528 echo "$as_me:$LINENO: result: $CC" >&5
2529 echo "${ECHO_T}$CC" >&6
2531 echo "$as_me:$LINENO: result: no" >&5
2532 echo "${ECHO_T}no" >&6
2535 test -n "$CC" && break
2538 if test -z "$CC"; then
2542 # Extract the first word of "$ac_prog", so it can be a program name with args.
2543 set dummy $ac_prog; ac_word=$2
2544 echo "$as_me:$LINENO: checking for $ac_word" >&5
2545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2546 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2547 echo $ECHO_N "(cached) $ECHO_C" >&6
2549 if test -n "$ac_ct_CC"; then
2550 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2556 test -z "$as_dir" && as_dir=.
2557 for ac_exec_ext in '' $ac_executable_extensions; do
2558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2559 ac_cv_prog_ac_ct_CC="$ac_prog"
2560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2568 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2569 if test -n "$ac_ct_CC"; then
2570 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2571 echo "${ECHO_T}$ac_ct_CC" >&6
2573 echo "$as_me:$LINENO: result: no" >&5
2574 echo "${ECHO_T}no" >&6
2577 test -n "$ac_ct_CC" && break
2586 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2587 See \`config.log' for more details." >&5
2588 echo "$as_me: error: no acceptable C compiler found in \$PATH
2589 See \`config.log' for more details." >&2;}
2590 { (exit 1); exit 1; }; }
2592 # Provide some information about the compiler.
2593 echo "$as_me:$LINENO:" \
2594 "checking for C compiler version" >&5
2595 ac_compiler=`set X $ac_compile; echo $2`
2596 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2597 (eval $ac_compiler --version </dev/null >&5) 2>&5
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); }
2601 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2602 (eval $ac_compiler -v </dev/null >&5) 2>&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }
2606 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2607 (eval $ac_compiler -V </dev/null >&5) 2>&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }
2612 cat >conftest.$ac_ext <<_ACEOF
2615 cat confdefs.h >>conftest.$ac_ext
2616 cat >>conftest.$ac_ext <<_ACEOF
2617 /* end confdefs.h. */
2627 ac_clean_files_save=$ac_clean_files
2628 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2629 # Try to create an executable without -o first, disregard a.out.
2630 # It will help us diagnose broken compilers, and finding out an intuition
2632 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2633 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2634 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2635 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2636 (eval $ac_link_default) 2>&5
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }; then
2640 # Find the output, starting from the most likely. This scheme is
2641 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2644 # Be careful to initialize this variable, since it used to be cached.
2645 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2647 # b.out is created by i960 compilers.
2648 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2650 test -f "$ac_file" || continue
2652 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2655 # This is the source file.
2658 # We found the default executable, but exeext='' is most
2662 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2663 # FIXME: I believe we export ac_cv_exeext for Libtool,
2664 # but it would be cool to find out if it's true. Does anybody
2665 # maintain Libtool? --akim.
2673 echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2676 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2677 See \`config.log' for more details." >&5
2678 echo "$as_me: error: C compiler cannot create executables
2679 See \`config.log' for more details." >&2;}
2680 { (exit 77); exit 77; }; }
2683 ac_exeext=$ac_cv_exeext
2684 echo "$as_me:$LINENO: result: $ac_file" >&5
2685 echo "${ECHO_T}$ac_file" >&6
2687 # Check the compiler produces executables we can run. If not, either
2688 # the compiler is broken, or we cross compile.
2689 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2690 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2691 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2692 # If not cross compiling, check that we can run a simple program.
2693 if test "$cross_compiling" != yes; then
2694 if { ac_try='./$ac_file'
2695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }; }; then
2702 if test "$cross_compiling" = maybe; then
2705 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2706 If you meant to cross compile, use \`--host'.
2707 See \`config.log' for more details." >&5
2708 echo "$as_me: error: cannot run C compiled programs.
2709 If you meant to cross compile, use \`--host'.
2710 See \`config.log' for more details." >&2;}
2711 { (exit 1); exit 1; }; }
2715 echo "$as_me:$LINENO: result: yes" >&5
2716 echo "${ECHO_T}yes" >&6
2718 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2719 ac_clean_files=$ac_clean_files_save
2720 # Check the compiler produces executables we can run. If not, either
2721 # the compiler is broken, or we cross compile.
2722 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2723 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2724 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2725 echo "${ECHO_T}$cross_compiling" >&6
2727 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2728 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2730 (eval $ac_link) 2>&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; then
2734 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2735 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2736 # work properly (i.e., refer to `conftest.exe'), while it won't with
2738 for ac_file in conftest.exe conftest conftest.*; do
2739 test -f "$ac_file" || continue
2741 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2742 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2749 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2750 See \`config.log' for more details." >&5
2751 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2752 See \`config.log' for more details." >&2;}
2753 { (exit 1); exit 1; }; }
2756 rm -f conftest$ac_cv_exeext
2757 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2758 echo "${ECHO_T}$ac_cv_exeext" >&6
2760 rm -f conftest.$ac_ext
2761 EXEEXT=$ac_cv_exeext
2763 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2764 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2765 if test "${ac_cv_objext+set}" = set; then
2766 echo $ECHO_N "(cached) $ECHO_C" >&6
2768 cat >conftest.$ac_ext <<_ACEOF
2771 cat confdefs.h >>conftest.$ac_ext
2772 cat >>conftest.$ac_ext <<_ACEOF
2773 /* end confdefs.h. */
2783 rm -f conftest.o conftest.obj
2784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2785 (eval $ac_compile) 2>&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; then
2789 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2791 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2792 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2797 echo "$as_me: failed program was:" >&5
2798 sed 's/^/| /' conftest.$ac_ext >&5
2800 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2801 See \`config.log' for more details." >&5
2802 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2803 See \`config.log' for more details." >&2;}
2804 { (exit 1); exit 1; }; }
2807 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2809 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2810 echo "${ECHO_T}$ac_cv_objext" >&6
2811 OBJEXT=$ac_cv_objext
2813 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2814 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2815 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2816 echo $ECHO_N "(cached) $ECHO_C" >&6
2818 cat >conftest.$ac_ext <<_ACEOF
2821 cat confdefs.h >>conftest.$ac_ext
2822 cat >>conftest.$ac_ext <<_ACEOF
2823 /* end confdefs.h. */
2836 rm -f conftest.$ac_objext
2837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2838 (eval $ac_compile) 2>conftest.er1
2840 grep -v '^ *+' conftest.er1 >conftest.err
2842 cat conftest.err >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); } &&
2845 { ac_try='test -z "$ac_c_werror_flag"
2846 || test ! -s conftest.err'
2847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }; } &&
2852 { ac_try='test -s conftest.$ac_objext'
2853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); }; }; then
2860 echo "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.$ac_ext >&5
2865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2866 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2869 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2870 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2871 GCC=`test $ac_compiler_gnu = yes && echo yes`
2872 ac_test_CFLAGS=${CFLAGS+set}
2873 ac_save_CFLAGS=$CFLAGS
2875 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2876 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2877 if test "${ac_cv_prog_cc_g+set}" = set; then
2878 echo $ECHO_N "(cached) $ECHO_C" >&6
2880 cat >conftest.$ac_ext <<_ACEOF
2883 cat confdefs.h >>conftest.$ac_ext
2884 cat >>conftest.$ac_ext <<_ACEOF
2885 /* end confdefs.h. */
2895 rm -f conftest.$ac_objext
2896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2897 (eval $ac_compile) 2>conftest.er1
2899 grep -v '^ *+' conftest.er1 >conftest.err
2901 cat conftest.err >&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); } &&
2904 { ac_try='test -z "$ac_c_werror_flag"
2905 || test ! -s conftest.err'
2906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); }; } &&
2911 { ac_try='test -s conftest.$ac_objext'
2912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); }; }; then
2919 echo "$as_me: failed program was:" >&5
2920 sed 's/^/| /' conftest.$ac_ext >&5
2924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2926 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2927 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2928 if test "$ac_test_CFLAGS" = set; then
2929 CFLAGS=$ac_save_CFLAGS
2930 elif test $ac_cv_prog_cc_g = yes; then
2931 if test "$GCC" = yes; then
2937 if test "$GCC" = yes; then
2943 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2944 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2945 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2946 echo $ECHO_N "(cached) $ECHO_C" >&6
2948 ac_cv_prog_cc_stdc=no
2950 cat >conftest.$ac_ext <<_ACEOF
2953 cat confdefs.h >>conftest.$ac_ext
2954 cat >>conftest.$ac_ext <<_ACEOF
2955 /* end confdefs.h. */
2958 #include <sys/types.h>
2959 #include <sys/stat.h>
2960 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2961 struct buf { int x; };
2962 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2963 static char *e (p, i)
2969 static char *f (char * (*g) (char **, int), char **p, ...)
2974 s = g (p, va_arg (v,int));
2979 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2980 function prototypes and stuff, but not '\xHH' hex character constants.
2981 These don't provoke an error unfortunately, instead are silently treated
2982 as 'x'. The following induces an error, until -std1 is added to get
2983 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2984 array size at least. It's necessary to write '\x00'==0 to get something
2985 that's true only with -std1. */
2986 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2988 int test (int i, double x);
2989 struct s1 {int (*f) (int a);};
2990 struct s2 {int (*f) (double a);};
2991 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2997 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3002 # Don't try gcc -ansi; that turns off useful extensions and
3003 # breaks some systems' header files.
3004 # AIX -qlanglvl=ansi
3005 # Ultrix and OSF/1 -std1
3006 # HP-UX 10.20 and later -Ae
3007 # HP-UX older versions -Aa -D_HPUX_SOURCE
3008 # SVR4 -Xc -D__EXTENSIONS__
3009 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3011 CC="$ac_save_CC $ac_arg"
3012 rm -f conftest.$ac_objext
3013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3014 (eval $ac_compile) 2>conftest.er1
3016 grep -v '^ *+' conftest.er1 >conftest.err
3018 cat conftest.err >&5
3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); } &&
3021 { ac_try='test -z "$ac_c_werror_flag"
3022 || test ! -s conftest.err'
3023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); }; } &&
3028 { ac_try='test -s conftest.$ac_objext'
3029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033 (exit $ac_status); }; }; then
3034 ac_cv_prog_cc_stdc=$ac_arg
3037 echo "$as_me: failed program was:" >&5
3038 sed 's/^/| /' conftest.$ac_ext >&5
3041 rm -f conftest.err conftest.$ac_objext
3043 rm -f conftest.$ac_ext conftest.$ac_objext
3048 case "x$ac_cv_prog_cc_stdc" in
3050 echo "$as_me:$LINENO: result: none needed" >&5
3051 echo "${ECHO_T}none needed" >&6 ;;
3053 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3054 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3055 CC="$CC $ac_cv_prog_cc_stdc" ;;
3058 # Some people use a C++ compiler to compile C. Since we use `exit',
3059 # in C++ we need to declare it. In case someone uses the same compiler
3060 # for both compiling C and C++ we need to have the C++ compiler decide
3061 # the declaration of exit, since it's the most demanding environment.
3062 cat >conftest.$ac_ext <<_ACEOF
3067 rm -f conftest.$ac_objext
3068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3069 (eval $ac_compile) 2>conftest.er1
3071 grep -v '^ *+' conftest.er1 >conftest.err
3073 cat conftest.err >&5
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); } &&
3076 { ac_try='test -z "$ac_c_werror_flag"
3077 || test ! -s conftest.err'
3078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); }; } &&
3083 { ac_try='test -s conftest.$ac_objext'
3084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); }; }; then
3089 for ac_declaration in \
3091 'extern "C" void std::exit (int) throw (); using std::exit;' \
3092 'extern "C" void std::exit (int); using std::exit;' \
3093 'extern "C" void exit (int) throw ();' \
3094 'extern "C" void exit (int);' \
3097 cat >conftest.$ac_ext <<_ACEOF
3100 cat confdefs.h >>conftest.$ac_ext
3101 cat >>conftest.$ac_ext <<_ACEOF
3102 /* end confdefs.h. */
3113 rm -f conftest.$ac_objext
3114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3115 (eval $ac_compile) 2>conftest.er1
3117 grep -v '^ *+' conftest.er1 >conftest.err
3119 cat conftest.err >&5
3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121 (exit $ac_status); } &&
3122 { ac_try='test -z "$ac_c_werror_flag"
3123 || test ! -s conftest.err'
3124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); }; } &&
3129 { ac_try='test -s conftest.$ac_objext'
3130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }; }; then
3137 echo "$as_me: failed program was:" >&5
3138 sed 's/^/| /' conftest.$ac_ext >&5
3142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3143 cat >conftest.$ac_ext <<_ACEOF
3146 cat confdefs.h >>conftest.$ac_ext
3147 cat >>conftest.$ac_ext <<_ACEOF
3148 /* end confdefs.h. */
3158 rm -f conftest.$ac_objext
3159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3160 (eval $ac_compile) 2>conftest.er1
3162 grep -v '^ *+' conftest.er1 >conftest.err
3164 cat conftest.err >&5
3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166 (exit $ac_status); } &&
3167 { ac_try='test -z "$ac_c_werror_flag"
3168 || test ! -s conftest.err'
3169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173 (exit $ac_status); }; } &&
3174 { ac_try='test -s conftest.$ac_objext'
3175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); }; }; then
3182 echo "$as_me: failed program was:" >&5
3183 sed 's/^/| /' conftest.$ac_ext >&5
3186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3189 if test -n "$ac_declaration"; then
3190 echo '#ifdef __cplusplus' >>confdefs.h
3191 echo $ac_declaration >>confdefs.h
3192 echo '#endif' >>confdefs.h
3196 echo "$as_me: failed program was:" >&5
3197 sed 's/^/| /' conftest.$ac_ext >&5
3200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3202 ac_cpp='$CPP $CPPFLAGS'
3203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3206 rm -f .deps 2>/dev/null
3207 mkdir .deps 2>/dev/null
3208 if test -d .deps; then
3211 # MS-DOS does not allow filenames that begin with a dot.
3214 rmdir .deps 2>/dev/null
3217 ac_config_commands="$ac_config_commands depfiles"
3220 am_make=${MAKE-make}
3221 cat > confinc << 'END'
3225 # If we don't find an include directive, just comment out the code.
3226 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3227 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3231 # First try GNU make style include.
3232 echo "include confinc" > confmf
3233 # We grep out `Entering directory' and `Leaving directory'
3234 # messages which can occur if `w' ends up in MAKEFLAGS.
3235 # In particular we don't look at `^make:' because GNU make might
3236 # be invoked under some other name (usually "gmake"), in which
3237 # case it prints its new name instead of `make'.
3238 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
3243 # Now try BSD make style include.
3244 if test "$am__include" = "#"; then
3245 echo '.include "confinc"' > confmf
3246 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3247 am__include=.include
3254 echo "$as_me:$LINENO: result: $_am_result" >&5
3255 echo "${ECHO_T}$_am_result" >&6
3256 rm -f confinc confmf
3258 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3259 if test "${enable_dependency_tracking+set}" = set; then
3260 enableval="$enable_dependency_tracking"
3263 if test "x$enable_dependency_tracking" != xno; then
3264 am_depcomp="$ac_aux_dir/depcomp"
3269 if test "x$enable_dependency_tracking" != xno; then
3280 depcc="$CC" am_compiler_list=
3282 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3283 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3284 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3285 echo $ECHO_N "(cached) $ECHO_C" >&6
3287 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3288 # We make a subdir and do the tests there. Otherwise we can end up
3289 # making bogus files that we don't know about and never remove. For
3290 # instance it was reported that on HP-UX the gcc test will end up
3291 # making a dummy file named `D' -- because `-MD' means `put the output
3294 # Copy depcomp to subdir because otherwise we won't find it if we're
3295 # using a relative directory.
3296 cp "$am_depcomp" conftest.dir
3299 am_cv_CC_dependencies_compiler_type=none
3300 if test "$am_compiler_list" = ""; then
3301 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3303 for depmode in $am_compiler_list; do
3304 # We need to recreate these files for each test, as the compiler may
3305 # overwrite some of them when testing with obscure command lines.
3306 # This happens at least with the AIX C compiler.
3307 echo '#include "conftest.h"' > conftest.c
3308 echo 'int i;' > conftest.h
3309 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3313 # after this tag, mechanisms are not by side-effect, so they'll
3314 # only be used when explicitly requested
3315 if test "x$enable_dependency_tracking" = xyes; then
3323 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3324 # mode. It turns out that the SunPro C++ compiler does not properly
3325 # handle `-M -o', and we need to detect this.
3326 if depmode=$depmode \
3327 source=conftest.c object=conftest.o \
3328 depfile=conftest.Po tmpdepfile=conftest.TPo \
3329 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
3330 grep conftest.h conftest.Po > /dev/null 2>&1 &&
3331 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3332 am_cv_CC_dependencies_compiler_type=$depmode
3340 am_cv_CC_dependencies_compiler_type=none
3344 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3345 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3346 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3349 if test -n "$ac_tool_prefix"; then
3350 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3351 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3352 echo "$as_me:$LINENO: checking for $ac_word" >&5
3353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3354 if test "${ac_cv_prog_RANLIB+set}" = set; then
3355 echo $ECHO_N "(cached) $ECHO_C" >&6
3357 if test -n "$RANLIB"; then
3358 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3364 test -z "$as_dir" && as_dir=.
3365 for ac_exec_ext in '' $ac_executable_extensions; do
3366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3367 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3376 RANLIB=$ac_cv_prog_RANLIB
3377 if test -n "$RANLIB"; then
3378 echo "$as_me:$LINENO: result: $RANLIB" >&5
3379 echo "${ECHO_T}$RANLIB" >&6
3381 echo "$as_me:$LINENO: result: no" >&5
3382 echo "${ECHO_T}no" >&6
3386 if test -z "$ac_cv_prog_RANLIB"; then
3387 ac_ct_RANLIB=$RANLIB
3388 # Extract the first word of "ranlib", so it can be a program name with args.
3389 set dummy ranlib; ac_word=$2
3390 echo "$as_me:$LINENO: checking for $ac_word" >&5
3391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3392 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3393 echo $ECHO_N "(cached) $ECHO_C" >&6
3395 if test -n "$ac_ct_RANLIB"; then
3396 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3402 test -z "$as_dir" && as_dir=.
3403 for ac_exec_ext in '' $ac_executable_extensions; do
3404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3405 ac_cv_prog_ac_ct_RANLIB="ranlib"
3406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3412 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3415 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3416 if test -n "$ac_ct_RANLIB"; then
3417 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3418 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3420 echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6
3424 RANLIB=$ac_ct_RANLIB
3426 RANLIB="$ac_cv_prog_RANLIB"
3430 ###############################
3431 # Checks for libraries (not for RT)
3432 if test -z ${CONFIG_ORTE_RT} ; then
3435 echo "$as_me:$LINENO: checking for main in -lws2_32" >&5
3436 echo $ECHO_N "checking for main in -lws2_32... $ECHO_C" >&6
3437 if test "${ac_cv_lib_ws2_32_main+set}" = set; then
3438 echo $ECHO_N "(cached) $ECHO_C" >&6
3440 ac_check_lib_save_LIBS=$LIBS
3441 LIBS="-lws2_32 $LIBS"
3442 cat >conftest.$ac_ext <<_ACEOF
3445 cat confdefs.h >>conftest.$ac_ext
3446 cat >>conftest.$ac_ext <<_ACEOF
3447 /* end confdefs.h. */
3458 rm -f conftest.$ac_objext conftest$ac_exeext
3459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3460 (eval $ac_link) 2>conftest.er1
3462 grep -v '^ *+' conftest.er1 >conftest.err
3464 cat conftest.err >&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); } &&
3467 { ac_try='test -z "$ac_c_werror_flag"
3468 || test ! -s conftest.err'
3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); }; } &&
3474 { ac_try='test -s conftest$ac_exeext'
3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); }; }; then
3480 ac_cv_lib_ws2_32_main=yes
3482 echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.$ac_ext >&5
3485 ac_cv_lib_ws2_32_main=no
3487 rm -f conftest.err conftest.$ac_objext \
3488 conftest$ac_exeext conftest.$ac_ext
3489 LIBS=$ac_check_lib_save_LIBS
3491 echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_main" >&5
3492 echo "${ECHO_T}$ac_cv_lib_ws2_32_main" >&6
3493 if test $ac_cv_lib_ws2_32_main = yes; then
3494 cat >>confdefs.h <<_ACEOF
3495 #define HAVE_LIBWS2_32 1
3498 LIBS="-lws2_32 $LIBS"
3503 echo "$as_me:$LINENO: checking for main in -lpthread" >&5
3504 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6
3505 if test "${ac_cv_lib_pthread_main+set}" = set; then
3506 echo $ECHO_N "(cached) $ECHO_C" >&6
3508 ac_check_lib_save_LIBS=$LIBS
3509 LIBS="-lpthread $LIBS"
3510 cat >conftest.$ac_ext <<_ACEOF
3513 cat confdefs.h >>conftest.$ac_ext
3514 cat >>conftest.$ac_ext <<_ACEOF
3515 /* end confdefs.h. */
3526 rm -f conftest.$ac_objext conftest$ac_exeext
3527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3528 (eval $ac_link) 2>conftest.er1
3530 grep -v '^ *+' conftest.er1 >conftest.err
3532 cat conftest.err >&5
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); } &&
3535 { ac_try='test -z "$ac_c_werror_flag"
3536 || test ! -s conftest.err'
3537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); }; } &&
3542 { ac_try='test -s conftest$ac_exeext'
3543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); }; }; then
3548 ac_cv_lib_pthread_main=yes
3550 echo "$as_me: failed program was:" >&5
3551 sed 's/^/| /' conftest.$ac_ext >&5
3553 ac_cv_lib_pthread_main=no
3555 rm -f conftest.err conftest.$ac_objext \
3556 conftest$ac_exeext conftest.$ac_ext
3557 LIBS=$ac_check_lib_save_LIBS
3559 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
3560 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
3561 if test $ac_cv_lib_pthread_main = yes; then
3562 cat >>confdefs.h <<_ACEOF
3563 #define HAVE_LIBPTHREAD 1
3566 LIBS="-lpthread $LIBS"
3572 ###############################
3577 ###############################
3578 # Checks for header files.
3580 if test ${UNIX} == 'yes' -o ${WIN} == 'yes' ; then
3582 ac_cpp='$CPP $CPPFLAGS'
3583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3586 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3587 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3588 # On Suns, sometimes $CPP names a directory.
3589 if test -n "$CPP" && test -d "$CPP"; then
3592 if test -z "$CPP"; then
3593 if test "${ac_cv_prog_CPP+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3596 # Double quotes because CPP needs to be expanded
3597 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3600 for ac_c_preproc_warn_flag in '' yes
3602 # Use a header file that comes with gcc, so configuring glibc
3603 # with a fresh cross-compiler works.
3604 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3605 # <limits.h> exists even on freestanding compilers.
3606 # On the NeXT, cc -E runs the code through the compiler's parser,
3607 # not just through cpp. "Syntax error" is here to catch this case.
3608 cat >conftest.$ac_ext <<_ACEOF
3611 cat confdefs.h >>conftest.$ac_ext
3612 cat >>conftest.$ac_ext <<_ACEOF
3613 /* end confdefs.h. */
3615 # include <limits.h>
3617 # include <assert.h>
3621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3622 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3624 grep -v '^ *+' conftest.er1 >conftest.err
3626 cat conftest.err >&5
3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628 (exit $ac_status); } >/dev/null; then
3629 if test -s conftest.err; then
3630 ac_cpp_err=$ac_c_preproc_warn_flag
3631 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3638 if test -z "$ac_cpp_err"; then
3641 echo "$as_me: failed program was:" >&5
3642 sed 's/^/| /' conftest.$ac_ext >&5
3644 # Broken: fails on valid input.
3647 rm -f conftest.err conftest.$ac_ext
3649 # OK, works on sane cases. Now check whether non-existent headers
3650 # can be detected and how.
3651 cat >conftest.$ac_ext <<_ACEOF
3654 cat confdefs.h >>conftest.$ac_ext
3655 cat >>conftest.$ac_ext <<_ACEOF
3656 /* end confdefs.h. */
3657 #include <ac_nonexistent.h>
3659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3660 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3662 grep -v '^ *+' conftest.er1 >conftest.err
3664 cat conftest.err >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); } >/dev/null; then
3667 if test -s conftest.err; then
3668 ac_cpp_err=$ac_c_preproc_warn_flag
3669 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3676 if test -z "$ac_cpp_err"; then
3677 # Broken: success on invalid input.
3680 echo "$as_me: failed program was:" >&5
3681 sed 's/^/| /' conftest.$ac_ext >&5
3683 # Passes both tests.
3687 rm -f conftest.err conftest.$ac_ext
3690 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3691 rm -f conftest.err conftest.$ac_ext
3692 if $ac_preproc_ok; then
3704 echo "$as_me:$LINENO: result: $CPP" >&5
3705 echo "${ECHO_T}$CPP" >&6
3707 for ac_c_preproc_warn_flag in '' yes
3709 # Use a header file that comes with gcc, so configuring glibc
3710 # with a fresh cross-compiler works.
3711 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3712 # <limits.h> exists even on freestanding compilers.
3713 # On the NeXT, cc -E runs the code through the compiler's parser,
3714 # not just through cpp. "Syntax error" is here to catch this case.
3715 cat >conftest.$ac_ext <<_ACEOF
3718 cat confdefs.h >>conftest.$ac_ext
3719 cat >>conftest.$ac_ext <<_ACEOF
3720 /* end confdefs.h. */
3722 # include <limits.h>
3724 # include <assert.h>
3728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3731 grep -v '^ *+' conftest.er1 >conftest.err
3733 cat conftest.err >&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); } >/dev/null; then
3736 if test -s conftest.err; then
3737 ac_cpp_err=$ac_c_preproc_warn_flag
3738 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3745 if test -z "$ac_cpp_err"; then
3748 echo "$as_me: failed program was:" >&5
3749 sed 's/^/| /' conftest.$ac_ext >&5
3751 # Broken: fails on valid input.
3754 rm -f conftest.err conftest.$ac_ext
3756 # OK, works on sane cases. Now check whether non-existent headers
3757 # can be detected and how.
3758 cat >conftest.$ac_ext <<_ACEOF
3761 cat confdefs.h >>conftest.$ac_ext
3762 cat >>conftest.$ac_ext <<_ACEOF
3763 /* end confdefs.h. */
3764 #include <ac_nonexistent.h>
3766 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3767 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3769 grep -v '^ *+' conftest.er1 >conftest.err
3771 cat conftest.err >&5
3772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773 (exit $ac_status); } >/dev/null; then
3774 if test -s conftest.err; then
3775 ac_cpp_err=$ac_c_preproc_warn_flag
3776 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3783 if test -z "$ac_cpp_err"; then
3784 # Broken: success on invalid input.
3787 echo "$as_me: failed program was:" >&5
3788 sed 's/^/| /' conftest.$ac_ext >&5
3790 # Passes both tests.
3794 rm -f conftest.err conftest.$ac_ext
3797 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3798 rm -f conftest.err conftest.$ac_ext
3799 if $ac_preproc_ok; then
3802 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3803 See \`config.log' for more details." >&5
3804 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3805 See \`config.log' for more details." >&2;}
3806 { (exit 1); exit 1; }; }
3810 ac_cpp='$CPP $CPPFLAGS'
3811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3816 echo "$as_me:$LINENO: checking for egrep" >&5
3817 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3818 if test "${ac_cv_prog_egrep+set}" = set; then
3819 echo $ECHO_N "(cached) $ECHO_C" >&6
3821 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3822 then ac_cv_prog_egrep='grep -E'
3823 else ac_cv_prog_egrep='egrep'
3826 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3827 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3828 EGREP=$ac_cv_prog_egrep
3831 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3832 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3833 if test "${ac_cv_header_stdc+set}" = set; then
3834 echo $ECHO_N "(cached) $ECHO_C" >&6
3836 cat >conftest.$ac_ext <<_ACEOF
3839 cat confdefs.h >>conftest.$ac_ext
3840 cat >>conftest.$ac_ext <<_ACEOF
3841 /* end confdefs.h. */
3855 rm -f conftest.$ac_objext
3856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3857 (eval $ac_compile) 2>conftest.er1
3859 grep -v '^ *+' conftest.er1 >conftest.err
3861 cat conftest.err >&5
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); } &&
3864 { ac_try='test -z "$ac_c_werror_flag"
3865 || test ! -s conftest.err'
3866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); }; } &&
3871 { ac_try='test -s conftest.$ac_objext'
3872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); }; }; then
3877 ac_cv_header_stdc=yes
3879 echo "$as_me: failed program was:" >&5
3880 sed 's/^/| /' conftest.$ac_ext >&5
3882 ac_cv_header_stdc=no
3884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3886 if test $ac_cv_header_stdc = yes; then
3887 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3888 cat >conftest.$ac_ext <<_ACEOF
3891 cat confdefs.h >>conftest.$ac_ext
3892 cat >>conftest.$ac_ext <<_ACEOF
3893 /* end confdefs.h. */
3897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3898 $EGREP "memchr" >/dev/null 2>&1; then
3901 ac_cv_header_stdc=no
3907 if test $ac_cv_header_stdc = yes; then
3908 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3909 cat >conftest.$ac_ext <<_ACEOF
3912 cat confdefs.h >>conftest.$ac_ext
3913 cat >>conftest.$ac_ext <<_ACEOF
3914 /* end confdefs.h. */
3918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3919 $EGREP "free" >/dev/null 2>&1; then
3922 ac_cv_header_stdc=no
3928 if test $ac_cv_header_stdc = yes; then
3929 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3930 if test "$cross_compiling" = yes; then
3933 cat >conftest.$ac_ext <<_ACEOF
3936 cat confdefs.h >>conftest.$ac_ext
3937 cat >>conftest.$ac_ext <<_ACEOF
3938 /* end confdefs.h. */
3940 #if ((' ' & 0x0FF) == 0x020)
3941 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3942 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3944 # define ISLOWER(c) \
3945 (('a' <= (c) && (c) <= 'i') \
3946 || ('j' <= (c) && (c) <= 'r') \
3947 || ('s' <= (c) && (c) <= 'z'))
3948 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3951 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3956 for (i = 0; i < 256; i++)
3957 if (XOR (islower (i), ISLOWER (i))
3958 || toupper (i) != TOUPPER (i))
3963 rm -f conftest$ac_exeext
3964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3965 (eval $ac_link) 2>&5
3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); }; }; then
3976 echo "$as_me: program exited with status $ac_status" >&5
3977 echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.$ac_ext >&5
3981 ac_cv_header_stdc=no
3983 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3987 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3988 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3989 if test $ac_cv_header_stdc = yes; then
3991 cat >>confdefs.h <<\_ACEOF
3992 #define STDC_HEADERS 1
4018 arpa/inet.h fcntl.h stdio.h netdb.h netinet/in.h stdlib.h \
4019 string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h pthread.h \
4020 stdarg.h sys/types.h net/if.h byteswap.h getopt.h \
4021 ctype.h semaphore.h signal.h
4023 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4024 echo "$as_me:$LINENO: checking for $ac_header" >&5
4025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4027 echo $ECHO_N "(cached) $ECHO_C" >&6
4029 cat >conftest.$ac_ext <<_ACEOF
4032 cat confdefs.h >>conftest.$ac_ext
4033 cat >>conftest.$ac_ext <<_ACEOF
4034 /* end confdefs.h. */
4037 #include <$ac_header>
4039 rm -f conftest.$ac_objext
4040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4041 (eval $ac_compile) 2>conftest.er1
4043 grep -v '^ *+' conftest.er1 >conftest.err
4045 cat conftest.err >&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); } &&
4048 { ac_try='test -z "$ac_c_werror_flag"
4049 || test ! -s conftest.err'
4050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4054 (exit $ac_status); }; } &&
4055 { ac_try='test -s conftest.$ac_objext'
4056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4060 (exit $ac_status); }; }; then
4061 eval "$as_ac_Header=yes"
4063 echo "$as_me: failed program was:" >&5
4064 sed 's/^/| /' conftest.$ac_ext >&5
4066 eval "$as_ac_Header=no"
4068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4071 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4073 cat >>confdefs.h <<_ACEOF
4074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4083 if test ${WIN} == 'yes' ; then
4088 winsock2.h ws2tcpip.h windows.h
4090 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4091 echo "$as_me:$LINENO: checking for $ac_header" >&5
4092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4094 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 cat >conftest.$ac_ext <<_ACEOF
4099 cat confdefs.h >>conftest.$ac_ext
4100 cat >>conftest.$ac_ext <<_ACEOF
4101 /* end confdefs.h. */
4104 #include <$ac_header>
4106 rm -f conftest.$ac_objext
4107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4108 (eval $ac_compile) 2>conftest.er1
4110 grep -v '^ *+' conftest.er1 >conftest.err
4112 cat conftest.err >&5
4113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114 (exit $ac_status); } &&
4115 { ac_try='test -z "$ac_c_werror_flag"
4116 || test ! -s conftest.err'
4117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121 (exit $ac_status); }; } &&
4122 { ac_try='test -s conftest.$ac_objext'
4123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); }; }; then
4128 eval "$as_ac_Header=yes"
4130 echo "$as_me: failed program was:" >&5
4131 sed 's/^/| /' conftest.$ac_ext >&5
4133 eval "$as_ac_Header=no"
4135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4139 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4140 cat >>confdefs.h <<_ACEOF
4141 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4150 if test ${CONFIG_ORTE_KERNEL} == 'yes' ; then
4160 asm/byteorder.h linux/ctype.h linux/string.h \
4161 linux/module.h linux/if.h linux/socket.h \
4162 linux/time.h linux/types.h
4164 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4165 echo "$as_me:$LINENO: checking for $ac_header" >&5
4166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4168 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 cat >conftest.$ac_ext <<_ACEOF
4173 cat confdefs.h >>conftest.$ac_ext
4174 cat >>conftest.$ac_ext <<_ACEOF
4175 /* end confdefs.h. */
4178 #include <$ac_header>
4180 rm -f conftest.$ac_objext
4181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4182 (eval $ac_compile) 2>conftest.er1
4184 grep -v '^ *+' conftest.er1 >conftest.err
4186 cat conftest.err >&5
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); } &&
4189 { ac_try='test -z "$ac_c_werror_flag"
4190 || test ! -s conftest.err'
4191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195 (exit $ac_status); }; } &&
4196 { ac_try='test -s conftest.$ac_objext'
4197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); }; }; then
4202 eval "$as_ac_Header=yes"
4204 echo "$as_me: failed program was:" >&5
4205 sed 's/^/| /' conftest.$ac_ext >&5
4207 eval "$as_ac_Header=no"
4209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4214 cat >>confdefs.h <<_ACEOF
4215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4223 for ac_header in linux/in.h
4225 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4226 echo "$as_me:$LINENO: checking for $ac_header" >&5
4227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4229 echo $ECHO_N "(cached) $ECHO_C" >&6
4231 cat >conftest.$ac_ext <<_ACEOF
4234 cat confdefs.h >>conftest.$ac_ext
4235 cat >>conftest.$ac_ext <<_ACEOF
4236 /* end confdefs.h. */
4238 #ifdef HAVE_LINUX_SOCKET_H
4239 #include <linux/socket.h>
4243 #include <$ac_header>
4245 rm -f conftest.$ac_objext
4246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4247 (eval $ac_compile) 2>conftest.er1
4249 grep -v '^ *+' conftest.er1 >conftest.err
4251 cat conftest.err >&5
4252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253 (exit $ac_status); } &&
4254 { ac_try='test -z "$ac_c_werror_flag"
4255 || test ! -s conftest.err'
4256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); }; } &&
4261 { ac_try='test -s conftest.$ac_objext'
4262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); }; }; then
4267 eval "$as_ac_Header=yes"
4269 echo "$as_me: failed program was:" >&5
4270 sed 's/^/| /' conftest.$ac_ext >&5
4272 eval "$as_ac_Header=no"
4274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4279 cat >>confdefs.h <<_ACEOF
4280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4289 if test ${USE_RTLINUX} == 'yes' ; then
4299 string.h pthread.h semaphore.h \
4300 rtl.h rtl_malloc.h udp.h nic.h time.h
4302 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4303 echo "$as_me:$LINENO: checking for $ac_header" >&5
4304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4306 echo $ECHO_N "(cached) $ECHO_C" >&6
4308 cat >conftest.$ac_ext <<_ACEOF
4311 cat confdefs.h >>conftest.$ac_ext
4312 cat >>conftest.$ac_ext <<_ACEOF
4313 /* end confdefs.h. */
4316 #include <$ac_header>
4318 rm -f conftest.$ac_objext
4319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4320 (eval $ac_compile) 2>conftest.er1
4322 grep -v '^ *+' conftest.er1 >conftest.err
4324 cat conftest.err >&5
4325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326 (exit $ac_status); } &&
4327 { ac_try='test -z "$ac_c_werror_flag"
4328 || test ! -s conftest.err'
4329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333 (exit $ac_status); }; } &&
4334 { ac_try='test -s conftest.$ac_objext'
4335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339 (exit $ac_status); }; }; then
4340 eval "$as_ac_Header=yes"
4342 echo "$as_me: failed program was:" >&5
4343 sed 's/^/| /' conftest.$ac_ext >&5
4345 eval "$as_ac_Header=no"
4347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4351 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4352 cat >>confdefs.h <<_ACEOF
4353 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4361 for ac_header in nictab.h
4363 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4364 echo "$as_me:$LINENO: checking for $ac_header" >&5
4365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4367 echo $ECHO_N "(cached) $ECHO_C" >&6
4369 cat >conftest.$ac_ext <<_ACEOF
4372 cat confdefs.h >>conftest.$ac_ext
4373 cat >>conftest.$ac_ext <<_ACEOF
4374 /* end confdefs.h. */
4384 #include <$ac_header>
4386 rm -f conftest.$ac_objext
4387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4388 (eval $ac_compile) 2>conftest.er1
4390 grep -v '^ *+' conftest.er1 >conftest.err
4392 cat conftest.err >&5
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); } &&
4395 { ac_try='test -z "$ac_c_werror_flag"
4396 || test ! -s conftest.err'
4397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); }; } &&
4402 { ac_try='test -s conftest.$ac_objext'
4403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407 (exit $ac_status); }; }; then
4408 eval "$as_ac_Header=yes"
4410 echo "$as_me: failed program was:" >&5
4411 sed 's/^/| /' conftest.$ac_ext >&5
4413 eval "$as_ac_Header=no"
4415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4418 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4420 cat >>confdefs.h <<_ACEOF
4421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4430 if test ${USE_RTAI} == 'yes' ; then
4435 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4436 echo "$as_me:$LINENO: checking for $ac_header" >&5
4437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4439 echo $ECHO_N "(cached) $ECHO_C" >&6
4441 cat >conftest.$ac_ext <<_ACEOF
4444 cat confdefs.h >>conftest.$ac_ext
4445 cat >>conftest.$ac_ext <<_ACEOF
4446 /* end confdefs.h. */
4449 #include <$ac_header>
4451 rm -f conftest.$ac_objext
4452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4453 (eval $ac_compile) 2>conftest.er1
4455 grep -v '^ *+' conftest.er1 >conftest.err
4457 cat conftest.err >&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); } &&
4460 { ac_try='test -z "$ac_c_werror_flag"
4461 || test ! -s conftest.err'
4462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); }; } &&
4467 { ac_try='test -s conftest.$ac_objext'
4468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); }; }; then
4473 eval "$as_ac_Header=yes"
4475 echo "$as_me: failed program was:" >&5
4476 sed 's/^/| /' conftest.$ac_ext >&5
4478 eval "$as_ac_Header=no"
4480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4484 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4485 cat >>confdefs.h <<_ACEOF
4486 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4495 ###############################
4497 INCLUDES='-I$(top_srcdir)/orte/include'
4500 ###############################
4501 # Checks for typedefs, structures, and compiler characteristics.
4502 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4503 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4504 if test "${ac_cv_c_bigendian+set}" = set; then
4505 echo $ECHO_N "(cached) $ECHO_C" >&6
4507 # See if sys/param.h defines the BYTE_ORDER macro.
4508 cat >conftest.$ac_ext <<_ACEOF
4511 cat confdefs.h >>conftest.$ac_ext
4512 cat >>conftest.$ac_ext <<_ACEOF
4513 /* end confdefs.h. */
4514 #include <sys/types.h>
4515 #include <sys/param.h>
4520 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4528 rm -f conftest.$ac_objext
4529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4530 (eval $ac_compile) 2>conftest.er1
4532 grep -v '^ *+' conftest.er1 >conftest.err
4534 cat conftest.err >&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); } &&
4537 { ac_try='test -z "$ac_c_werror_flag"
4538 || test ! -s conftest.err'
4539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543 (exit $ac_status); }; } &&
4544 { ac_try='test -s conftest.$ac_objext'
4545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); }; }; then
4550 # It does; now see whether it defined to BIG_ENDIAN or not.
4551 cat >conftest.$ac_ext <<_ACEOF
4554 cat confdefs.h >>conftest.$ac_ext
4555 cat >>conftest.$ac_ext <<_ACEOF
4556 /* end confdefs.h. */
4557 #include <sys/types.h>
4558 #include <sys/param.h>
4563 #if BYTE_ORDER != BIG_ENDIAN
4571 rm -f conftest.$ac_objext
4572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4573 (eval $ac_compile) 2>conftest.er1
4575 grep -v '^ *+' conftest.er1 >conftest.err
4577 cat conftest.err >&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); } &&
4580 { ac_try='test -z "$ac_c_werror_flag"
4581 || test ! -s conftest.err'
4582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586 (exit $ac_status); }; } &&
4587 { ac_try='test -s conftest.$ac_objext'
4588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592 (exit $ac_status); }; }; then
4593 ac_cv_c_bigendian=yes
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.$ac_ext >&5
4598 ac_cv_c_bigendian=no
4600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4602 echo "$as_me: failed program was:" >&5
4603 sed 's/^/| /' conftest.$ac_ext >&5
4605 # It does not; compile a test program.
4606 if test "$cross_compiling" = yes; then
4607 # try to guess the endianness by grepping values into an object file
4608 ac_cv_c_bigendian=unknown
4609 cat >conftest.$ac_ext <<_ACEOF
4612 cat confdefs.h >>conftest.$ac_ext
4613 cat >>conftest.$ac_ext <<_ACEOF
4614 /* end confdefs.h. */
4615 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4616 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4617 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4618 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4619 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4620 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4624 _ascii (); _ebcdic ();
4629 rm -f conftest.$ac_objext
4630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4631 (eval $ac_compile) 2>conftest.er1
4633 grep -v '^ *+' conftest.er1 >conftest.err
4635 cat conftest.err >&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); } &&
4638 { ac_try='test -z "$ac_c_werror_flag"
4639 || test ! -s conftest.err'
4640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); }; } &&
4645 { ac_try='test -s conftest.$ac_objext'
4646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); }; }; then
4651 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4652 ac_cv_c_bigendian=yes
4654 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4655 if test "$ac_cv_c_bigendian" = unknown; then
4656 ac_cv_c_bigendian=no
4658 # finding both strings is unlikely to happen, but who knows?
4659 ac_cv_c_bigendian=unknown
4663 echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.$ac_ext >&5
4667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4669 cat >conftest.$ac_ext <<_ACEOF
4672 cat confdefs.h >>conftest.$ac_ext
4673 cat >>conftest.$ac_ext <<_ACEOF
4674 /* end confdefs.h. */
4678 /* Are we little or big endian? From Harbison&Steele. */
4682 char c[sizeof (long)];
4685 exit (u.c[sizeof (long) - 1] == 1);
4688 rm -f conftest$ac_exeext
4689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4690 (eval $ac_link) 2>&5
4692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4693 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); }; }; then
4699 ac_cv_c_bigendian=no
4701 echo "$as_me: program exited with status $ac_status" >&5
4702 echo "$as_me: failed program was:" >&5
4703 sed 's/^/| /' conftest.$ac_ext >&5
4706 ac_cv_c_bigendian=yes
4708 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4713 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4714 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4715 case $ac_cv_c_bigendian in
4718 cat >>confdefs.h <<\_ACEOF
4719 #define WORDS_BIGENDIAN 1
4725 { { echo "$as_me:$LINENO: error: unknown endianness
4726 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4727 echo "$as_me: error: unknown endianness
4728 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4729 { (exit 1); exit 1; }; } ;;
4732 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4733 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4734 if test "${ac_cv_c_const+set}" = set; then
4735 echo $ECHO_N "(cached) $ECHO_C" >&6
4737 cat >conftest.$ac_ext <<_ACEOF
4740 cat confdefs.h >>conftest.$ac_ext
4741 cat >>conftest.$ac_ext <<_ACEOF
4742 /* end confdefs.h. */
4747 /* FIXME: Include the comments suggested by Paul. */
4749 /* Ultrix mips cc rejects this. */
4750 typedef int charset[2];
4752 /* SunOS 4.1.1 cc rejects this. */
4753 char const *const *ccp;
4755 /* NEC SVR4.0.2 mips cc rejects this. */
4756 struct point {int x, y;};
4757 static struct point const zero = {0,0};
4758 /* AIX XL C 1.02.0.0 rejects this.
4759 It does not let you subtract one const X* pointer from another in
4760 an arm of an if-expression whose if-part is not a constant
4762 const char *g = "string";
4763 ccp = &g + (g ? g-g : 0);
4764 /* HPUX 7.0 cc rejects these. */
4767 ccp = (char const *const *) p;
4768 { /* SCO 3.2v4 cc rejects this. */
4770 char const *s = 0 ? (char *) 0 : (char const *) 0;
4774 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4776 const int *foo = &x[0];
4779 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4780 typedef const int *iptr;
4784 { /* AIX XL C 1.02.0.0 rejects this saying
4785 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4786 struct s { int j; const int *ap[3]; };
4787 struct s *b; b->j = 5;
4789 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4798 rm -f conftest.$ac_objext
4799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4800 (eval $ac_compile) 2>conftest.er1
4802 grep -v '^ *+' conftest.er1 >conftest.err
4804 cat conftest.err >&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); } &&
4807 { ac_try='test -z "$ac_c_werror_flag"
4808 || test ! -s conftest.err'
4809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); }; } &&
4814 { ac_try='test -s conftest.$ac_objext'
4815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4819 (exit $ac_status); }; }; then
4822 echo "$as_me: failed program was:" >&5
4823 sed 's/^/| /' conftest.$ac_ext >&5
4827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4829 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4830 echo "${ECHO_T}$ac_cv_c_const" >&6
4831 if test $ac_cv_c_const = no; then
4833 cat >>confdefs.h <<\_ACEOF
4839 echo "$as_me:$LINENO: checking for inline" >&5
4840 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4841 if test "${ac_cv_c_inline+set}" = set; then
4842 echo $ECHO_N "(cached) $ECHO_C" >&6
4845 for ac_kw in inline __inline__ __inline; do
4846 cat >conftest.$ac_ext <<_ACEOF
4849 cat confdefs.h >>conftest.$ac_ext
4850 cat >>conftest.$ac_ext <<_ACEOF
4851 /* end confdefs.h. */
4854 static $ac_kw foo_t static_foo () {return 0; }
4855 $ac_kw foo_t foo () {return 0; }
4859 rm -f conftest.$ac_objext
4860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4861 (eval $ac_compile) 2>conftest.er1
4863 grep -v '^ *+' conftest.er1 >conftest.err
4865 cat conftest.err >&5
4866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867 (exit $ac_status); } &&
4868 { ac_try='test -z "$ac_c_werror_flag"
4869 || test ! -s conftest.err'
4870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); }; } &&
4875 { ac_try='test -s conftest.$ac_objext'
4876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); }; }; then
4881 ac_cv_c_inline=$ac_kw; break
4883 echo "$as_me: failed program was:" >&5
4884 sed 's/^/| /' conftest.$ac_ext >&5
4887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4891 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4892 echo "${ECHO_T}$ac_cv_c_inline" >&6
4895 case $ac_cv_c_inline in
4898 case $ac_cv_c_inline in
4900 *) ac_val=$ac_cv_c_inline;;
4902 cat >>confdefs.h <<_ACEOF
4904 #define inline $ac_val
4911 ###############################
4912 # Checks for library functions.
4913 if test $ac_cv_c_compiler_gnu = yes; then
4914 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4915 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
4916 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4917 echo $ECHO_N "(cached) $ECHO_C" >&6
4919 ac_pattern="Autoconf.*'x'"
4920 cat >conftest.$ac_ext <<_ACEOF
4923 cat confdefs.h >>conftest.$ac_ext
4924 cat >>conftest.$ac_ext <<_ACEOF
4925 /* end confdefs.h. */
4929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4930 $EGREP "$ac_pattern" >/dev/null 2>&1; then
4931 ac_cv_prog_gcc_traditional=yes
4933 ac_cv_prog_gcc_traditional=no
4938 if test $ac_cv_prog_gcc_traditional = no; then
4939 cat >conftest.$ac_ext <<_ACEOF
4942 cat confdefs.h >>conftest.$ac_ext
4943 cat >>conftest.$ac_ext <<_ACEOF
4944 /* end confdefs.h. */
4948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4949 $EGREP "$ac_pattern" >/dev/null 2>&1; then
4950 ac_cv_prog_gcc_traditional=yes
4956 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
4957 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
4958 if test $ac_cv_prog_gcc_traditional = yes; then
4959 CC="$CC -traditional"
4963 if test -z ${CONFIG_ORTE_RT} ; then
4966 for ac_func in strdup gethostbyname
4968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4969 echo "$as_me:$LINENO: checking for $ac_func" >&5
4970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4971 if eval "test \"\${$as_ac_var+set}\" = set"; then
4972 echo $ECHO_N "(cached) $ECHO_C" >&6
4974 cat >conftest.$ac_ext <<_ACEOF
4977 cat confdefs.h >>conftest.$ac_ext
4978 cat >>conftest.$ac_ext <<_ACEOF
4979 /* end confdefs.h. */
4980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4982 #define $ac_func innocuous_$ac_func
4984 /* System header to define __stub macros and hopefully few prototypes,
4985 which can conflict with char $ac_func (); below.
4986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4987 <limits.h> exists even on freestanding compilers. */
4990 # include <limits.h>
4992 # include <assert.h>
4997 /* Override any gcc2 internal prototype to avoid an error. */
5002 /* We use char because int might match the return type of a gcc2
5003 builtin and then its argument prototype would still apply. */
5005 /* The GNU C library defines this for functions which it implements
5006 to always fail with ENOSYS. Some functions are actually named
5007 something starting with __ and the normal name is an alias. */
5008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5011 char (*f) () = $ac_func;
5020 return f != $ac_func;
5025 rm -f conftest.$ac_objext conftest$ac_exeext
5026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5027 (eval $ac_link) 2>conftest.er1
5029 grep -v '^ *+' conftest.er1 >conftest.err
5031 cat conftest.err >&5
5032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5033 (exit $ac_status); } &&
5034 { ac_try='test -z "$ac_c_werror_flag"
5035 || test ! -s conftest.err'
5036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }; } &&
5041 { ac_try='test -s conftest$ac_exeext'
5042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); }; }; then
5047 eval "$as_ac_var=yes"
5049 echo "$as_me: failed program was:" >&5
5050 sed 's/^/| /' conftest.$ac_ext >&5
5052 eval "$as_ac_var=no"
5054 rm -f conftest.err conftest.$ac_objext \
5055 conftest$ac_exeext conftest.$ac_ext
5057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5059 if test `eval echo '${'$as_ac_var'}'` = yes; then
5060 cat >>confdefs.h <<_ACEOF
5061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5069 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"
5073 ac_config_files="$ac_config_files modtool"
5074 cat >confcache <<\_ACEOF
5075 # This file is a shell script that caches the results of configure
5076 # tests run on this system so they can be shared between configure
5077 # scripts and configure runs, see configure's option --config-cache.
5078 # It is not useful on other systems. If it contains results you don't
5079 # want to keep, you may remove or edit it.
5081 # config.status only pays attention to the cache file if you give it
5082 # the --recheck option to rerun configure.
5084 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5085 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5090 # The following way of writing the cache mishandles newlines in values,
5091 # but we know of no workaround that is simple, portable, and efficient.
5092 # So, don't put newlines in cache variables' values.
5093 # Ultrix sh set writes to stderr and can't be redirected directly,
5094 # and sets the high bit in the cache file unless we assign to the vars.
5097 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5099 # `set' does not quote correctly, so add quotes (double-quote
5100 # substitution turns \\\\ into \\, and sed turns \\ into \).
5103 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5106 # `set' quotes correctly as required by POSIX, so do not add quotes.
5108 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5115 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5117 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5119 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5120 if test -w $cache_file; then
5121 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5122 cat confcache >$cache_file
5124 echo "not updating unwritable cache $cache_file"
5129 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5130 # Let make expand exec_prefix.
5131 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5133 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5134 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5135 # trailing colons and then remove the whole line if VPATH becomes empty
5136 # (actually we leave an empty line to preserve line numbers).
5137 if test "x$srcdir" = x.; then
5138 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5139 s/:*\$(srcdir):*/:/;
5140 s/:*\${srcdir}:*/:/;
5142 s/^\([^=]*=[ ]*\):*/\1/;
5148 DEFS=-DHAVE_CONFIG_H
5152 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5153 # 1. Remove the extension, and $U if already installed.
5154 ac_i=`echo "$ac_i" |
5155 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5157 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5158 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5162 LTLIBOBJS=$ac_ltlibobjs
5165 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5166 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5167 Usually this means the macro was only invoked conditionally." >&5
5168 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5169 Usually this means the macro was only invoked conditionally." >&2;}
5170 { (exit 1); exit 1; }; }
5172 if test -z "${CONFIG_ORTE_KERNEL_TRUE}" && test -z "${CONFIG_ORTE_KERNEL_FALSE}"; then
5173 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_KERNEL\" was never defined.
5174 Usually this means the macro was only invoked conditionally." >&5
5175 echo "$as_me: error: conditional \"CONFIG_ORTE_KERNEL\" was never defined.
5176 Usually this means the macro was only invoked conditionally." >&2;}
5177 { (exit 1); exit 1; }; }
5179 if test -z "${CONFIG_RTHAL_TRUE}" && test -z "${CONFIG_RTHAL_FALSE}"; then
5180 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_RTHAL\" was never defined.
5181 Usually this means the macro was only invoked conditionally." >&5
5182 echo "$as_me: error: conditional \"CONFIG_RTHAL\" was never defined.
5183 Usually this means the macro was only invoked conditionally." >&2;}
5184 { (exit 1); exit 1; }; }
5186 if test -z "${CONFIG_RTLINUX_TRUE}" && test -z "${CONFIG_RTLINUX_FALSE}"; then
5187 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_RTLINUX\" was never defined.
5188 Usually this means the macro was only invoked conditionally." >&5
5189 echo "$as_me: error: conditional \"CONFIG_RTLINUX\" was never defined.
5190 Usually this means the macro was only invoked conditionally." >&2;}
5191 { (exit 1); exit 1; }; }
5193 if test -z "${USE_RTAI_TRUE}" && test -z "${USE_RTAI_FALSE}"; then
5194 { { echo "$as_me:$LINENO: error: conditional \"USE_RTAI\" was never defined.
5195 Usually this means the macro was only invoked conditionally." >&5
5196 echo "$as_me: error: conditional \"USE_RTAI\" was never defined.
5197 Usually this means the macro was only invoked conditionally." >&2;}
5198 { (exit 1); exit 1; }; }
5200 if test -z "${USE_RTLINUX_TRUE}" && test -z "${USE_RTLINUX_FALSE}"; then
5201 { { echo "$as_me:$LINENO: error: conditional \"USE_RTLINUX\" was never defined.
5202 Usually this means the macro was only invoked conditionally." >&5
5203 echo "$as_me: error: conditional \"USE_RTLINUX\" was never defined.
5204 Usually this means the macro was only invoked conditionally." >&2;}
5205 { (exit 1); exit 1; }; }
5207 if test -z "${CONFIG_ORTE_RT_TRUE}" && test -z "${CONFIG_ORTE_RT_FALSE}"; then
5208 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_RT\" was never defined.
5209 Usually this means the macro was only invoked conditionally." >&5
5210 echo "$as_me: error: conditional \"CONFIG_ORTE_RT\" was never defined.
5211 Usually this means the macro was only invoked conditionally." >&2;}
5212 { (exit 1); exit 1; }; }
5214 if test -z "${CONFIG_ORTE_WIN_TRUE}" && test -z "${CONFIG_ORTE_WIN_FALSE}"; then
5215 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_WIN\" was never defined.
5216 Usually this means the macro was only invoked conditionally." >&5
5217 echo "$as_me: error: conditional \"CONFIG_ORTE_WIN\" was never defined.
5218 Usually this means the macro was only invoked conditionally." >&2;}
5219 { (exit 1); exit 1; }; }
5221 if test -z "${CONFIG_ORTE_UNIX_TRUE}" && test -z "${CONFIG_ORTE_UNIX_FALSE}"; then
5222 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_UNIX\" was never defined.
5223 Usually this means the macro was only invoked conditionally." >&5
5224 echo "$as_me: error: conditional \"CONFIG_ORTE_UNIX\" was never defined.
5225 Usually this means the macro was only invoked conditionally." >&2;}
5226 { (exit 1); exit 1; }; }
5228 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5229 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5230 Usually this means the macro was only invoked conditionally." >&5
5231 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5232 Usually this means the macro was only invoked conditionally." >&2;}
5233 { (exit 1); exit 1; }; }
5236 : ${CONFIG_STATUS=./config.status}
5237 ac_clean_files_save=$ac_clean_files
5238 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5239 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5240 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5241 cat >$CONFIG_STATUS <<_ACEOF
5243 # Generated by $as_me.
5244 # Run this file to recreate the current configuration.
5245 # Compiler output produced by configure, useful for debugging
5246 # configure, is in config.log if it exists.
5251 SHELL=\${CONFIG_SHELL-$SHELL}
5254 cat >>$CONFIG_STATUS <<\_ACEOF
5255 ## --------------------- ##
5256 ## M4sh Initialization. ##
5257 ## --------------------- ##
5259 # Be Bourne compatible
5260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5264 # is contrary to our usage. Disable this feature.
5265 alias -g '${1+"$@"}'='"$@"'
5266 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5269 DUALCASE=1; export DUALCASE # for MKS sh
5271 # Support unset when possible.
5272 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5279 # Work around bugs in pre-3.0 UWIN ksh.
5280 $as_unset ENV MAIL MAILPATH
5287 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5288 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5289 LC_TELEPHONE LC_TIME
5291 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5292 eval $as_var=C; export $as_var
5298 # Required to use basename.
5299 if expr a : '\(a\)' >/dev/null 2>&1; then
5305 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5306 as_basename=basename
5312 # Name of the executable.
5313 as_me=`$as_basename "$0" ||
5314 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5315 X"$0" : 'X\(//\)$' \| \
5316 X"$0" : 'X\(/\)$' \| \
5317 . : '\(.\)' 2>/dev/null ||
5319 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5320 /^X\/\(\/\/\)$/{ s//\1/; q; }
5321 /^X\/\(\/\).*/{ s//\1/; q; }
5325 # PATH needs CR, and LINENO needs CR and PATH.
5326 # Avoid depending upon Character Ranges.
5327 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5328 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5329 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5330 as_cr_digits='0123456789'
5331 as_cr_alnum=$as_cr_Letters$as_cr_digits
5333 # The user is always right.
5334 if test "${PATH_SEPARATOR+set}" != set; then
5335 echo "#! /bin/sh" >conf$$.sh
5336 echo "exit 0" >>conf$$.sh
5338 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5349 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5350 test "x$as_lineno_1" != "x$as_lineno_2" &&
5351 test "x$as_lineno_3" = "x$as_lineno_2" || {
5352 # Find who we are. Look in the path if we contain no path at all
5355 *[\\/]* ) as_myself=$0 ;;
5356 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5360 test -z "$as_dir" && as_dir=.
5361 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5366 # We did not find ourselves, most probably we were run as `sh COMMAND'
5367 # in which case we are not to be found in the path.
5368 if test "x$as_myself" = x; then
5371 if test ! -f "$as_myself"; then
5372 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5373 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5374 { (exit 1); exit 1; }; }
5376 case $CONFIG_SHELL in
5378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5382 test -z "$as_dir" && as_dir=.
5383 for as_base in sh bash ksh sh5; do
5386 if ("$as_dir/$as_base" -c '
5389 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5390 test "x$as_lineno_1" != "x$as_lineno_2" &&
5391 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5392 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5393 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5394 CONFIG_SHELL=$as_dir/$as_base
5396 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5404 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5405 # uniformly replaced by the line number. The first 'sed' inserts a
5406 # line-number line before each line; the second 'sed' does the real
5407 # work. The second script uses 'N' to pair each line-number line
5408 # with the numbered line, and appends trailing '-' during
5409 # substitution so that $LINENO is not a special case at line end.
5410 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5411 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5412 sed '=' <$as_myself |
5417 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5420 s,^['$as_cr_digits']*\n,,
5422 chmod +x $as_me.lineno ||
5423 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5424 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5425 { (exit 1); exit 1; }; }
5427 # Don't try to exec as it changes $[0], causing all sort of problems
5428 # (the dirname of $[0] is not the place where we might find the
5429 # original and so on. Autoconf is especially sensible to this).
5431 # Exit status is that of the last command.
5436 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5437 *c*,-n*) ECHO_N= ECHO_C='
5439 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5440 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5443 if expr a : '\(a\)' >/dev/null 2>&1; then
5449 rm -f conf$$ conf$$.exe conf$$.file
5451 if ln -s conf$$.file conf$$ 2>/dev/null; then
5452 # We could just check for DJGPP; but this test a) works b) is more generic
5453 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5454 if test -f conf$$.exe; then
5455 # Don't use ln at all; we don't have any links
5460 elif ln conf$$.file conf$$ 2>/dev/null; then
5465 rm -f conf$$ conf$$.exe conf$$.file
5467 if mkdir -p . 2>/dev/null; then
5470 test -d ./-p && rmdir ./-p
5474 as_executable_p="test -f"
5476 # Sed expression to map a string onto a valid CPP name.
5477 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5479 # Sed expression to map a string onto a valid variable name.
5480 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5484 # We need space, tab and new line, in precisely that order.
5494 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5495 # report actual input values of CONFIG_FILES etc. instead of their
5496 # values after options handling. Logging --version etc. is OK.
5500 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5501 ## Running $as_me. ##
5506 This file was extended by orte $as_me 0.2.0, which was
5507 generated by GNU Autoconf 2.59. Invocation command line was
5509 CONFIG_FILES = $CONFIG_FILES
5510 CONFIG_HEADERS = $CONFIG_HEADERS
5511 CONFIG_LINKS = $CONFIG_LINKS
5512 CONFIG_COMMANDS = $CONFIG_COMMANDS
5516 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5520 # Files that config.status was made for.
5521 if test -n "$ac_config_files"; then
5522 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5525 if test -n "$ac_config_headers"; then
5526 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5529 if test -n "$ac_config_links"; then
5530 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5533 if test -n "$ac_config_commands"; then
5534 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5537 cat >>$CONFIG_STATUS <<\_ACEOF
5540 \`$as_me' instantiates files from templates according to the
5541 current configuration.
5543 Usage: $0 [OPTIONS] [FILE]...
5545 -h, --help print this help, then exit
5546 -V, --version print version number, then exit
5547 -q, --quiet do not print progress messages
5548 -d, --debug don't remove temporary files
5549 --recheck update $as_me by reconfiguring in the same conditions
5550 --file=FILE[:TEMPLATE]
5551 instantiate the configuration file FILE
5552 --header=FILE[:TEMPLATE]
5553 instantiate the configuration header FILE
5555 Configuration files:
5558 Configuration headers:
5561 Configuration commands:
5564 Report bugs to <bug-autoconf@gnu.org>."
5567 cat >>$CONFIG_STATUS <<_ACEOF
5569 orte config.status 0.2.0
5570 configured by $0, generated by GNU Autoconf 2.59,
5571 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5573 Copyright (C) 2003 Free Software Foundation, Inc.
5574 This config.status script is free software; the Free Software Foundation
5575 gives unlimited permission to copy, distribute and modify it."
5580 cat >>$CONFIG_STATUS <<\_ACEOF
5581 # If no file are specified by the user, then we need to provide default
5582 # value. By we need to know if files were specified by the user.
5588 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5589 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5597 *) # This is not an option, so the user has probably given explicit
5600 ac_need_defaults=false;;
5604 # Handling of the options.
5606 cat >>$CONFIG_STATUS <<\_ACEOF
5607 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5609 --version | --vers* | -V )
5610 echo "$ac_cs_version"; exit 0 ;;
5612 # Conflict between --help and --header
5613 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5614 Try \`$0 --help' for more information." >&5
5615 echo "$as_me: error: ambiguous option: $1
5616 Try \`$0 --help' for more information." >&2;}
5617 { (exit 1); exit 1; }; };;
5618 --help | --hel | -h )
5619 echo "$ac_cs_usage"; exit 0 ;;
5620 --debug | --d* | -d )
5622 --file | --fil | --fi | --f )
5624 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5625 ac_need_defaults=false;;
5626 --header | --heade | --head | --hea )
5628 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5629 ac_need_defaults=false;;
5630 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5631 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5635 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5636 Try \`$0 --help' for more information." >&5
5637 echo "$as_me: error: unrecognized option: $1
5638 Try \`$0 --help' for more information." >&2;}
5639 { (exit 1); exit 1; }; } ;;
5641 *) ac_config_targets="$ac_config_targets $1" ;;
5647 ac_configure_extra_args=
5649 if $ac_cs_silent; then
5651 ac_configure_extra_args="$ac_configure_extra_args --silent"
5655 cat >>$CONFIG_STATUS <<_ACEOF
5656 if \$ac_cs_recheck; then
5657 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5658 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5663 cat >>$CONFIG_STATUS <<_ACEOF
5665 # INIT-COMMANDS section.
5668 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5674 cat >>$CONFIG_STATUS <<\_ACEOF
5675 for ac_config_target in $ac_config_targets
5677 case "$ac_config_target" in
5678 # Handling of arguments.
5679 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5680 "orte/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/Makefile" ;;
5681 "orte/liborte/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/liborte/Makefile" ;;
5682 "orte/liborte/rtl/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/liborte/rtl/Makefile" ;;
5683 "orte/examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/Makefile" ;;
5684 "orte/examples/hello/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/hello/Makefile" ;;
5685 "orte/examples/reliable/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/reliable/Makefile" ;;
5686 "orte/examples/ping/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/ping/Makefile" ;;
5687 "orte/examples/spy/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/spy/Makefile" ;;
5688 "orte/manager/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/manager/Makefile" ;;
5689 "modtool" ) CONFIG_FILES="$CONFIG_FILES modtool" ;;
5690 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5691 "orte/include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS orte/include/config.h" ;;
5692 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5693 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5694 { (exit 1); exit 1; }; };;
5698 # If the user did not use the arguments to specify the items to instantiate,
5699 # then the envvar interface is used. Set only those that are not.
5700 # We use the long form for the default assignment because of an extremely
5701 # bizarre bug on SunOS 4.1.3.
5702 if $ac_need_defaults; then
5703 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5704 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5705 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5708 # Have a temporary directory for convenience. Make it in the build tree
5709 # simply because there is no reason to put it here, and in addition,
5710 # creating and moving files from /tmp can sometimes cause problems.
5711 # Create a temporary directory, and hook for its removal unless debugging.
5714 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5715 trap '{ (exit 1); exit 1; }' 1 2 13 15
5718 # Create a (secure) tmp directory for tmp files.
5721 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5722 test -n "$tmp" && test -d "$tmp"
5725 tmp=./confstat$$-$RANDOM
5726 (umask 077 && mkdir $tmp)
5729 echo "$me: cannot create a temporary directory in ." >&2
5730 { (exit 1); exit 1; }
5735 cat >>$CONFIG_STATUS <<_ACEOF
5738 # CONFIG_FILES section.
5741 # No need to generate the scripts if there are no CONFIG_FILES.
5742 # This happens for instance when ./config.status config.h
5743 if test -n "\$CONFIG_FILES"; then
5744 # Protect against being on the right side of a sed subst in config.status.
5745 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5746 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5747 s,@SHELL@,$SHELL,;t t
5748 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5749 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5750 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5751 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5752 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5753 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5754 s,@exec_prefix@,$exec_prefix,;t t
5755 s,@prefix@,$prefix,;t t
5756 s,@program_transform_name@,$program_transform_name,;t t
5757 s,@bindir@,$bindir,;t t
5758 s,@sbindir@,$sbindir,;t t
5759 s,@libexecdir@,$libexecdir,;t t
5760 s,@datadir@,$datadir,;t t
5761 s,@sysconfdir@,$sysconfdir,;t t
5762 s,@sharedstatedir@,$sharedstatedir,;t t
5763 s,@localstatedir@,$localstatedir,;t t
5764 s,@libdir@,$libdir,;t t
5765 s,@includedir@,$includedir,;t t
5766 s,@oldincludedir@,$oldincludedir,;t t
5767 s,@infodir@,$infodir,;t t
5768 s,@mandir@,$mandir,;t t
5769 s,@build_alias@,$build_alias,;t t
5770 s,@host_alias@,$host_alias,;t t
5771 s,@target_alias@,$target_alias,;t t
5773 s,@ECHO_C@,$ECHO_C,;t t
5774 s,@ECHO_N@,$ECHO_N,;t t
5775 s,@ECHO_T@,$ECHO_T,;t t
5777 s,@build@,$build,;t t
5778 s,@build_cpu@,$build_cpu,;t t
5779 s,@build_vendor@,$build_vendor,;t t
5780 s,@build_os@,$build_os,;t t
5782 s,@host_cpu@,$host_cpu,;t t
5783 s,@host_vendor@,$host_vendor,;t t
5784 s,@host_os@,$host_os,;t t
5785 s,@target@,$target,;t t
5786 s,@target_cpu@,$target_cpu,;t t
5787 s,@target_vendor@,$target_vendor,;t t
5788 s,@target_os@,$target_os,;t t
5789 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5790 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5791 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5792 s,@PACKAGE@,$PACKAGE,;t t
5793 s,@VERSION@,$VERSION,;t t
5794 s,@ACLOCAL@,$ACLOCAL,;t t
5795 s,@AUTOCONF@,$AUTOCONF,;t t
5796 s,@AUTOMAKE@,$AUTOMAKE,;t t
5797 s,@AUTOHEADER@,$AUTOHEADER,;t t
5798 s,@MAKEINFO@,$MAKEINFO,;t t
5799 s,@AMTAR@,$AMTAR,;t t
5800 s,@install_sh@,$install_sh,;t t
5801 s,@STRIP@,$STRIP,;t t
5802 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5803 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5805 s,@SET_MAKE@,$SET_MAKE,;t t
5806 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5807 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5808 s,@MAINT@,$MAINT,;t t
5809 s,@LINUX_DIR@,$LINUX_DIR,;t t
5810 s,@LINUX_ARCH@,$LINUX_ARCH,;t t
5811 s,@LINUX_AFLAGS@,$LINUX_AFLAGS,;t t
5812 s,@LINUX_LDFLAGS@,$LINUX_LDFLAGS,;t t
5813 s,@LINUX_ARFLAGS@,$LINUX_ARFLAGS,;t t
5814 s,@LINUX_CROSS_COMPILE@,$LINUX_CROSS_COMPILE,;t t
5815 s,@LINUX_KERNELRELEASE@,$LINUX_KERNELRELEASE,;t t
5816 s,@LINUX_CFLAGS@,$LINUX_CFLAGS,;t t
5817 s,@LINUX_CC@,$LINUX_CC,;t t
5818 s,@LINUX_LD@,$LINUX_LD,;t t
5819 s,@LINUX_AS@,$LINUX_AS,;t t
5820 s,@LINUX_MODULE_EXT@,$LINUX_MODULE_EXT,;t t
5821 s,@CONFIG_ORTE_KERNEL@,$CONFIG_ORTE_KERNEL,;t t
5822 s,@CONFIG_ORTE_KERNEL_TRUE@,$CONFIG_ORTE_KERNEL_TRUE,;t t
5823 s,@CONFIG_ORTE_KERNEL_FALSE@,$CONFIG_ORTE_KERNEL_FALSE,;t t
5824 s,@CONFIG_RTHAL_TRUE@,$CONFIG_RTHAL_TRUE,;t t
5825 s,@CONFIG_RTHAL_FALSE@,$CONFIG_RTHAL_FALSE,;t t
5826 s,@RTAI_CFLAGS@,$RTAI_CFLAGS,;t t
5827 s,@CONFIG_RTLINUX_TRUE@,$CONFIG_RTLINUX_TRUE,;t t
5828 s,@CONFIG_RTLINUX_FALSE@,$CONFIG_RTLINUX_FALSE,;t t
5829 s,@RTLINUX_CFLAGS@,$RTLINUX_CFLAGS,;t t
5830 s,@RTLINUX_CC@,$RTLINUX_CC,;t t
5831 s,@CONFIG_ORTE_RT@,$CONFIG_ORTE_RT,;t t
5832 s,@USE_RTAI_TRUE@,$USE_RTAI_TRUE,;t t
5833 s,@USE_RTAI_FALSE@,$USE_RTAI_FALSE,;t t
5834 s,@USE_RTLINUX_TRUE@,$USE_RTLINUX_TRUE,;t t
5835 s,@USE_RTLINUX_FALSE@,$USE_RTLINUX_FALSE,;t t
5836 s,@CONFIG_ORTE_RT_TRUE@,$CONFIG_ORTE_RT_TRUE,;t t
5837 s,@CONFIG_ORTE_RT_FALSE@,$CONFIG_ORTE_RT_FALSE,;t t
5838 s,@ORTE_MAJOR_VERSION@,$ORTE_MAJOR_VERSION,;t t
5839 s,@ORTE_MINOR_VERSION@,$ORTE_MINOR_VERSION,;t t
5840 s,@ORTE_MICRO_VERSION@,$ORTE_MICRO_VERSION,;t t
5841 s,@ORTE_VERSION@,$ORTE_VERSION,;t t
5842 s,@CONFIG_ORTE_WIN_TRUE@,$CONFIG_ORTE_WIN_TRUE,;t t
5843 s,@CONFIG_ORTE_WIN_FALSE@,$CONFIG_ORTE_WIN_FALSE,;t t
5844 s,@CONFIG_ORTE_UNIX_TRUE@,$CONFIG_ORTE_UNIX_TRUE,;t t
5845 s,@CONFIG_ORTE_UNIX_FALSE@,$CONFIG_ORTE_UNIX_FALSE,;t t
5846 s,@moduledir@,$moduledir,;t t
5847 s,@modulePROGRAMS_INSTALL@,$modulePROGRAMS_INSTALL,;t t
5849 s,@CFLAGS@,$CFLAGS,;t t
5850 s,@LDFLAGS@,$LDFLAGS,;t t
5851 s,@CPPFLAGS@,$CPPFLAGS,;t t
5852 s,@ac_ct_CC@,$ac_ct_CC,;t t
5853 s,@EXEEXT@,$EXEEXT,;t t
5854 s,@OBJEXT@,$OBJEXT,;t t
5855 s,@DEPDIR@,$DEPDIR,;t t
5856 s,@am__include@,$am__include,;t t
5857 s,@am__quote@,$am__quote,;t t
5858 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5859 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5860 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5861 s,@CCDEPMODE@,$CCDEPMODE,;t t
5862 s,@RANLIB@,$RANLIB,;t t
5863 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5865 s,@EGREP@,$EGREP,;t t
5866 s,@INCLUDES@,$INCLUDES,;t t
5867 s,@LIBOBJS@,$LIBOBJS,;t t
5868 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5873 cat >>$CONFIG_STATUS <<\_ACEOF
5874 # Split the substitutions into bite-sized pieces for seds with
5875 # small command number limits, like on Digital OSF/1 and HP-UX.
5877 ac_sed_frag=1 # Number of current file.
5878 ac_beg=1 # First line for current file.
5879 ac_end=$ac_max_sed_lines # Line after last line for current file.
5882 while $ac_more_lines; do
5883 if test $ac_beg -gt 1; then
5884 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5886 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5888 if test ! -s $tmp/subs.frag; then
5891 # The purpose of the label and of the branching condition is to
5892 # speed up the sed processing (if there are no `@' at all, there
5893 # is no need to browse any of the substitutions).
5894 # These are the two extra sed commands mentioned above.
5896 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5897 if test -z "$ac_sed_cmds"; then
5898 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5900 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5902 ac_sed_frag=`expr $ac_sed_frag + 1`
5904 ac_end=`expr $ac_end + $ac_max_sed_lines`
5907 if test -z "$ac_sed_cmds"; then
5910 fi # test -n "$CONFIG_FILES"
5913 cat >>$CONFIG_STATUS <<\_ACEOF
5914 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5915 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5917 - | *:- | *:-:* ) # input from stdin
5919 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5920 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5921 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5922 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5923 * ) ac_file_in=$ac_file.in ;;
5926 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5927 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5928 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5929 X"$ac_file" : 'X\(//\)[^/]' \| \
5930 X"$ac_file" : 'X\(//\)$' \| \
5931 X"$ac_file" : 'X\(/\)' \| \
5932 . : '\(.\)' 2>/dev/null ||
5934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5935 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5936 /^X\(\/\/\)$/{ s//\1/; q; }
5937 /^X\(\/\).*/{ s//\1/; q; }
5939 { if $as_mkdir_p; then
5944 while test ! -d "$as_dir"; do
5945 as_dirs="$as_dir $as_dirs"
5946 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5947 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5948 X"$as_dir" : 'X\(//\)[^/]' \| \
5949 X"$as_dir" : 'X\(//\)$' \| \
5950 X"$as_dir" : 'X\(/\)' \| \
5951 . : '\(.\)' 2>/dev/null ||
5953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5954 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5955 /^X\(\/\/\)$/{ s//\1/; q; }
5956 /^X\(\/\).*/{ s//\1/; q; }
5959 test ! -n "$as_dirs" || mkdir $as_dirs
5960 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5961 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5962 { (exit 1); exit 1; }; }; }
5966 if test "$ac_dir" != .; then
5967 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5968 # A "../" for each directory in $ac_dir_suffix.
5969 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5971 ac_dir_suffix= ac_top_builddir=
5975 .) # No --srcdir option. We are building in place.
5977 if test -z "$ac_top_builddir"; then
5980 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5982 [\\/]* | ?:[\\/]* ) # Absolute path.
5983 ac_srcdir=$srcdir$ac_dir_suffix;
5984 ac_top_srcdir=$srcdir ;;
5986 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5987 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5990 # Do not use `cd foo && pwd` to compute absolute paths, because
5991 # the directories may not exist.
5993 .) ac_abs_builddir="$ac_dir";;
5996 .) ac_abs_builddir=`pwd`;;
5997 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5998 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6001 case $ac_abs_builddir in
6002 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6004 case ${ac_top_builddir}. in
6005 .) ac_abs_top_builddir=$ac_abs_builddir;;
6006 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6007 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6010 case $ac_abs_builddir in
6011 .) ac_abs_srcdir=$ac_srcdir;;
6014 .) ac_abs_srcdir=$ac_abs_builddir;;
6015 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6016 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6019 case $ac_abs_builddir in
6020 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6022 case $ac_top_srcdir in
6023 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6024 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6025 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6031 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6032 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6035 if test x"$ac_file" != x-; then
6036 { echo "$as_me:$LINENO: creating $ac_file" >&5
6037 echo "$as_me: creating $ac_file" >&6;}
6040 # Let's still pretend it is `configure' which instantiates (i.e., don't
6041 # use $as_me), people would be surprised to read:
6042 # /* config.h. Generated by config.status. */
6043 if test x"$ac_file" = x-; then
6046 configure_input="$ac_file. "
6048 configure_input=$configure_input"Generated from `echo $ac_file_in |
6049 sed 's,.*/,,'` by configure."
6051 # First look for the input files in the build tree, otherwise in the
6053 ac_file_inputs=`IFS=:
6054 for f in $ac_file_in; do
6056 -) echo $tmp/stdin ;;
6058 # Absolute (can't be DOS-style, as IFS=:)
6059 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6060 echo "$as_me: error: cannot find input file: $f" >&2;}
6061 { (exit 1); exit 1; }; }
6064 if test -f "$f"; then
6067 elif test -f "$srcdir/$f"; then
6072 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6073 echo "$as_me: error: cannot find input file: $f" >&2;}
6074 { (exit 1); exit 1; }; }
6077 done` || { (exit 1); exit 1; }
6079 cat >>$CONFIG_STATUS <<_ACEOF
6083 cat >>$CONFIG_STATUS <<\_ACEOF
6085 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6086 s,@configure_input@,$configure_input,;t t
6087 s,@srcdir@,$ac_srcdir,;t t
6088 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6089 s,@top_srcdir@,$ac_top_srcdir,;t t
6090 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6091 s,@builddir@,$ac_builddir,;t t
6092 s,@abs_builddir@,$ac_abs_builddir,;t t
6093 s,@top_builddir@,$ac_top_builddir,;t t
6094 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6095 s,@INSTALL@,$ac_INSTALL,;t t
6096 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6098 if test x"$ac_file" != x-; then
6099 mv $tmp/out $ac_file
6107 cat >>$CONFIG_STATUS <<\_ACEOF
6110 # CONFIG_HEADER section.
6113 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6114 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6116 # ac_d sets the value in "#define NAME VALUE" lines.
6117 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6118 ac_dB='[ ].*$,\1#\2'
6121 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6122 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6123 ac_uB='$,\1#\2define\3'
6127 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6128 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6130 - | *:- | *:-:* ) # input from stdin
6132 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6133 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6134 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6135 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6136 * ) ac_file_in=$ac_file.in ;;
6139 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6140 echo "$as_me: creating $ac_file" >&6;}
6142 # First look for the input files in the build tree, otherwise in the
6144 ac_file_inputs=`IFS=:
6145 for f in $ac_file_in; do
6147 -) echo $tmp/stdin ;;
6149 # Absolute (can't be DOS-style, as IFS=:)
6150 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6151 echo "$as_me: error: cannot find input file: $f" >&2;}
6152 { (exit 1); exit 1; }; }
6153 # Do quote $f, to prevent DOS paths from being IFS'd.
6156 if test -f "$f"; then
6159 elif test -f "$srcdir/$f"; then
6164 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6165 echo "$as_me: error: cannot find input file: $f" >&2;}
6166 { (exit 1); exit 1; }; }
6169 done` || { (exit 1); exit 1; }
6170 # Remove the trailing spaces.
6171 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6175 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6176 # `conftest.undefs', that substitutes the proper values into
6177 # config.h.in to produce config.h. The first handles `#define'
6178 # templates, and the second `#undef' templates.
6179 # And first: Protect against being on the right side of a sed subst in
6180 # config.status. Protect against being in an unquoted here document
6182 rm -f conftest.defines conftest.undefs
6183 # Using a here document instead of a string reduces the quoting nightmare.
6184 # Putting comments in sed scripts is not portable.
6186 # `end' is used to avoid that the second main sed command (meant for
6187 # 0-ary CPP macros) applies to n-ary macro definitions.
6188 # See the Autoconf documentation for `clear'.
6189 cat >confdef2sed.sed <<\_ACEOF
6194 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6196 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6199 # If some macros were called several times there might be several times
6200 # the same #defines, which is useless. Nevertheless, we may not want to
6201 # sort them, since we want the *last* AC-DEFINE to be honored.
6202 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6203 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6204 rm -f confdef2sed.sed
6206 # This sed command replaces #undef with comments. This is necessary, for
6207 # example, in the case of _POSIX_SOURCE, which is predefined and required
6208 # on some systems where configure will not decide to define it.
6209 cat >>conftest.undefs <<\_ACEOF
6210 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6213 # Break up conftest.defines because some shells have a limit on the size
6214 # of here documents, and old seds have small limits too (100 cmds).
6215 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6216 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6217 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6218 echo ' :' >>$CONFIG_STATUS
6220 while grep . conftest.defines >/dev/null
6222 # Write a limited-size here document to $tmp/defines.sed.
6223 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6224 # Speed up: don't consider the non `#define' lines.
6225 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6226 # Work around the forget-to-reset-the-flag bug.
6227 echo 't clr' >>$CONFIG_STATUS
6228 echo ': clr' >>$CONFIG_STATUS
6229 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6231 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6235 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6236 rm -f conftest.defines
6237 mv conftest.tail conftest.defines
6239 rm -f conftest.defines
6240 echo ' fi # grep' >>$CONFIG_STATUS
6241 echo >>$CONFIG_STATUS
6243 # Break up conftest.undefs because some shells have a limit on the size
6244 # of here documents, and old seds have small limits too (100 cmds).
6245 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6247 while grep . conftest.undefs >/dev/null
6249 # Write a limited-size here document to $tmp/undefs.sed.
6250 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6251 # Speed up: don't consider the non `#undef'
6252 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6253 # Work around the forget-to-reset-the-flag bug.
6254 echo 't clr' >>$CONFIG_STATUS
6255 echo ': clr' >>$CONFIG_STATUS
6256 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6258 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6262 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6263 rm -f conftest.undefs
6264 mv conftest.tail conftest.undefs
6266 rm -f conftest.undefs
6268 cat >>$CONFIG_STATUS <<\_ACEOF
6269 # Let's still pretend it is `configure' which instantiates (i.e., don't
6270 # use $as_me), people would be surprised to read:
6271 # /* config.h. Generated by config.status. */
6272 if test x"$ac_file" = x-; then
6273 echo "/* Generated by configure. */" >$tmp/config.h
6275 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6277 cat $tmp/in >>$tmp/config.h
6279 if test x"$ac_file" != x-; then
6280 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6281 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6282 echo "$as_me: $ac_file is unchanged" >&6;}
6284 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6285 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6286 X"$ac_file" : 'X\(//\)[^/]' \| \
6287 X"$ac_file" : 'X\(//\)$' \| \
6288 X"$ac_file" : 'X\(/\)' \| \
6289 . : '\(.\)' 2>/dev/null ||
6291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6292 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6293 /^X\(\/\/\)$/{ s//\1/; q; }
6294 /^X\(\/\).*/{ s//\1/; q; }
6296 { if $as_mkdir_p; then
6301 while test ! -d "$as_dir"; do
6302 as_dirs="$as_dir $as_dirs"
6303 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6304 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6305 X"$as_dir" : 'X\(//\)[^/]' \| \
6306 X"$as_dir" : 'X\(//\)$' \| \
6307 X"$as_dir" : 'X\(/\)' \| \
6308 . : '\(.\)' 2>/dev/null ||
6310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6311 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6312 /^X\(\/\/\)$/{ s//\1/; q; }
6313 /^X\(\/\).*/{ s//\1/; q; }
6316 test ! -n "$as_dirs" || mkdir $as_dirs
6317 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6318 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6319 { (exit 1); exit 1; }; }; }
6322 mv $tmp/config.h $ac_file
6328 # Run the commands associated with the file.
6330 orte/include/config.h ) # update the timestamp
6331 echo 'timestamp for orte/include/config.h' >"orte/include/stamp-h1"
6336 cat >>$CONFIG_STATUS <<\_ACEOF
6339 # CONFIG_COMMANDS section.
6341 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6342 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6343 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6344 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6345 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6346 X"$ac_dest" : 'X\(//\)[^/]' \| \
6347 X"$ac_dest" : 'X\(//\)$' \| \
6348 X"$ac_dest" : 'X\(/\)' \| \
6349 . : '\(.\)' 2>/dev/null ||
6351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6352 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6353 /^X\(\/\/\)$/{ s//\1/; q; }
6354 /^X\(\/\).*/{ s//\1/; q; }
6356 { if $as_mkdir_p; then
6361 while test ! -d "$as_dir"; do
6362 as_dirs="$as_dir $as_dirs"
6363 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6364 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6365 X"$as_dir" : 'X\(//\)[^/]' \| \
6366 X"$as_dir" : 'X\(//\)$' \| \
6367 X"$as_dir" : 'X\(/\)' \| \
6368 . : '\(.\)' 2>/dev/null ||
6370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6371 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6372 /^X\(\/\/\)$/{ s//\1/; q; }
6373 /^X\(\/\).*/{ s//\1/; q; }
6376 test ! -n "$as_dirs" || mkdir $as_dirs
6377 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6378 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6379 { (exit 1); exit 1; }; }; }
6383 if test "$ac_dir" != .; then
6384 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6385 # A "../" for each directory in $ac_dir_suffix.
6386 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6388 ac_dir_suffix= ac_top_builddir=
6392 .) # No --srcdir option. We are building in place.
6394 if test -z "$ac_top_builddir"; then
6397 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6399 [\\/]* | ?:[\\/]* ) # Absolute path.
6400 ac_srcdir=$srcdir$ac_dir_suffix;
6401 ac_top_srcdir=$srcdir ;;
6403 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6404 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6407 # Do not use `cd foo && pwd` to compute absolute paths, because
6408 # the directories may not exist.
6410 .) ac_abs_builddir="$ac_dir";;
6413 .) ac_abs_builddir=`pwd`;;
6414 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6415 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6418 case $ac_abs_builddir in
6419 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6421 case ${ac_top_builddir}. in
6422 .) ac_abs_top_builddir=$ac_abs_builddir;;
6423 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6424 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6427 case $ac_abs_builddir in
6428 .) ac_abs_srcdir=$ac_srcdir;;
6431 .) ac_abs_srcdir=$ac_abs_builddir;;
6432 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6433 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6436 case $ac_abs_builddir in
6437 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6439 case $ac_top_srcdir in
6440 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6441 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6442 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6447 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6448 echo "$as_me: executing $ac_dest commands" >&6;}
6450 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6451 # Strip MF so we end up with the name of the file.
6452 mf=`echo "$mf" | sed -e 's/:.*$//'`
6453 # Check whether this is an Automake generated Makefile or not.
6454 # We used to match only the files named `Makefile.in', but
6455 # some people rename them; so instead we look at the file content.
6456 # Grep'ing the first line is not enough: some people post-process
6457 # each Makefile.in and add a new line on top of each file to say so.
6458 # So let's grep whole file.
6459 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6460 dirpart=`(dirname "$mf") 2>/dev/null ||
6461 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6462 X"$mf" : 'X\(//\)[^/]' \| \
6463 X"$mf" : 'X\(//\)$' \| \
6464 X"$mf" : 'X\(/\)' \| \
6465 . : '\(.\)' 2>/dev/null ||
6467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6468 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6469 /^X\(\/\/\)$/{ s//\1/; q; }
6470 /^X\(\/\).*/{ s//\1/; q; }
6475 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6476 # Extract the definition of DEP_FILES from the Makefile without
6478 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6479 test -z "$DEPDIR" && continue
6480 # When using ansi2knr, U may be empty or an underscore; expand it
6481 U=`sed -n -e '/^U = / s///p' < "$mf"`
6482 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6483 # We invoke sed twice because it is the simplest approach to
6484 # changing $(DEPDIR) to its actual value in the expansion.
6485 for file in `sed -n -e '
6486 /^DEP_FILES = .*\\\\$/ {
6495 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6496 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6497 # Make sure the directory exists.
6498 test -f "$dirpart/$file" && continue
6499 fdir=`(dirname "$file") 2>/dev/null ||
6500 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6501 X"$file" : 'X\(//\)[^/]' \| \
6502 X"$file" : 'X\(//\)$' \| \
6503 X"$file" : 'X\(/\)' \| \
6504 . : '\(.\)' 2>/dev/null ||
6506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6507 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6508 /^X\(\/\/\)$/{ s//\1/; q; }
6509 /^X\(\/\).*/{ s//\1/; q; }
6511 { if $as_mkdir_p; then
6512 mkdir -p $dirpart/$fdir
6514 as_dir=$dirpart/$fdir
6516 while test ! -d "$as_dir"; do
6517 as_dirs="$as_dir $as_dirs"
6518 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6519 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6520 X"$as_dir" : 'X\(//\)[^/]' \| \
6521 X"$as_dir" : 'X\(//\)$' \| \
6522 X"$as_dir" : 'X\(/\)' \| \
6523 . : '\(.\)' 2>/dev/null ||
6525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6526 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6527 /^X\(\/\/\)$/{ s//\1/; q; }
6528 /^X\(\/\).*/{ s//\1/; q; }
6531 test ! -n "$as_dirs" || mkdir $as_dirs
6532 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6533 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6534 { (exit 1); exit 1; }; }; }
6536 # echo "creating $dirpart/$file"
6537 echo '# dummy' > "$dirpart/$file"
6545 cat >>$CONFIG_STATUS <<\_ACEOF
6547 { (exit 0); exit 0; }
6549 chmod +x $CONFIG_STATUS
6550 ac_clean_files=$ac_clean_files_save
6553 # configure is writing to config.log, and then calls config.status.
6554 # config.status does its own redirection, appending to config.log.
6555 # Unfortunately, on DOS this fails, as config.log is still kept open
6556 # by configure, so config.status won't be able to write to it; its
6557 # output is simply discarded. So we exec the FD to /dev/null,
6558 # effectively closing config.log, so it can be properly (re)opened and
6559 # appended to by config.status. When coming back to configure, we
6560 # need to make the FD available again.
6561 if test "$no_create" != yes; then
6563 ac_config_status_args=
6564 test "$silent" = yes &&
6565 ac_config_status_args="$ac_config_status_args --quiet"
6567 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6569 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6570 # would make configure fail if this is the last instruction.
6571 $ac_cs_success || { (exit 1); exit 1; }
6577 # ======================================================================
6578 # generate orte/include/orte_config.h
6579 # ======================================================================
6581 { echo "$as_me:$LINENO: creating orte/include/orte_config.h" >&5
6582 echo "$as_me: creating orte/include/orte_config.h" >&6;}
6583 sed -e "s/ PACKAGE/ ORTE_PACKAGE/" -e "s/ VERSION/ ORTE_VERSION/" \
6584 orte/include/config.h >orte/include/orte_config.h.new
6585 if cmp -s orte/include/orte_config.h.new orte/include/orte_config.h; then
6586 rm orte/include/orte_config.h.new
6587 { echo "$as_me:$LINENO: orte/include/orte_config.h is unchanged" >&5
6588 echo "$as_me: orte/include/orte_config.h is unchanged" >&6;}
6590 mv orte/include/orte_config.h.new orte/include/orte_config.h
6594 "------------------------------------------------------------------------
6597 Source code location: ${srcdir}
6599 Compiler flags: ${CFLAGS}
6600 Host System Type: ${host}
6602 See config.h for further configuration information.
6603 ------------------------------------------------------------------------"