]> rtime.felk.cvut.cz Git - orte.git/blob - configure
d4a9969ef8948e2528f72fc5913b71bed89ed3f0
[orte.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for orte 0.2.0.
4 #
5 # Report bugs to <petr.smolik@wo.cz>.
6 #
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization.  ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17   emulate sh
18   NULLCMD=:
19   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20   # is contrary to our usage.  Disable this feature.
21   alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23   set -o posix
24 fi
25
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
28   as_unset=unset
29 else
30   as_unset=false
31 fi
32
33
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
39
40 # NLS nuisances.
41 for as_var in \
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 \
44   LC_TELEPHONE LC_TIME
45 do
46   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47     eval $as_var=C; export $as_var
48   else
49     $as_unset $as_var
50   fi
51 done
52
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55   as_expr=expr
56 else
57   as_expr=false
58 fi
59
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61   as_basename=basename
62 else
63   as_basename=false
64 fi
65
66
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 ||
73 echo X/"$0" |
74     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75           /^X\/\(\/\/\)$/{ s//\1/; q; }
76           /^X\/\(\/\).*/{ s//\1/; q; }
77           s/.*/./; q'`
78
79
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
87
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
92   chmod +x conf$$.sh
93   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94     PATH_SEPARATOR=';'
95   else
96     PATH_SEPARATOR=:
97   fi
98   rm -f conf$$.sh
99 fi
100
101
102   as_lineno_1=$LINENO
103   as_lineno_2=$LINENO
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
108   # relative or not.
109   case $0 in
110     *[\\/]* ) as_myself=$0 ;;
111     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH
113 do
114   IFS=$as_save_IFS
115   test -z "$as_dir" && as_dir=.
116   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
118
119        ;;
120   esac
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
124     as_myself=$0
125   fi
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; }; }
129   fi
130   case $CONFIG_SHELL in
131   '')
132     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 do
135   IFS=$as_save_IFS
136   test -z "$as_dir" && as_dir=.
137   for as_base in sh bash ksh sh5; do
138          case $as_dir in
139          /*)
140            if ("$as_dir/$as_base" -c '
141   as_lineno_1=$LINENO
142   as_lineno_2=$LINENO
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
149              export CONFIG_SHELL
150              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151            fi;;
152          esac
153        done
154 done
155 ;;
156   esac
157
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 |
167     sed '
168       N
169       s,$,-,
170       : loop
171       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172       t loop
173       s,-$,,
174       s,^['$as_cr_digits']*\n,,
175     ' >$as_me.lineno &&
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; }; }
179
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).
183   . ./$as_me.lineno
184   # Exit status is that of the last command.
185   exit
186 }
187
188
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190   *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T='      ' ;;
192   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
195
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197   as_expr=expr
198 else
199   as_expr=false
200 fi
201
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >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
209     as_ln_s='cp -p'
210   else
211     as_ln_s='ln -s'
212   fi
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214   as_ln_s=ln
215 else
216   as_ln_s='cp -p'
217 fi
218 rm -f conf$$ conf$$.exe conf$$.file
219
220 if mkdir -p . 2>/dev/null; then
221   as_mkdir_p=:
222 else
223   as_mkdir_p=false
224 fi
225
226 as_executable_p="test -f"
227
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
230
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
233
234
235 # IFS
236 # We need space, tab and new line, in precisely that order.
237 as_nl='
238 '
239 IFS="   $as_nl"
240
241 # CDPATH.
242 $as_unset CDPATH
243
244
245 # Name of the host.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249
250 exec 6>&1
251
252 #
253 # Initializations.
254 #
255 ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
257 cross_compiling=no
258 subdirs=
259 MFLAGS=
260 MAKEFLAGS=
261 SHELL=${CONFIG_SHELL-/bin/sh}
262
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete.  It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
267
268 # Identity of this package.
269 PACKAGE_NAME='orte'
270 PACKAGE_TARNAME='orte'
271 PACKAGE_VERSION='0.2.0'
272 PACKAGE_STRING='orte 0.2.0'
273 PACKAGE_BUGREPORT='petr.smolik@wo.cz'
274
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 #  include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 #  include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 #  include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
311
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LINUX_DIR LINUX_ARCH LINUX_AFLAGS LINUX_LDFLAGS LINUX_ARFLAGS LINUX_CROSS_COMPILE LINUX_KERNELRELEASE LINUX_CFLAGS LINUX_CC LINUX_LD LINUX_AS LINUX_MODULE_EXT CONFIG_RTHAL_TRUE CONFIG_RTHAL_FALSE RTAI_CFLAGS CONFIG_RTLINUX_TRUE CONFIG_RTLINUX_FALSE RTLINUX_CFLAGS CONFIG_ORTE_RT USE_RTAI_TRUE USE_RTAI_FALSE USE_RTLINUX_TRUE USE_RTLINUX_FALSE CONFIG_ORTE_RT_TRUE CONFIG_ORTE_RT_FALSE ORTE_MAJOR_VERSION ORTE_MINOR_VERSION ORTE_MICRO_VERSION ORTE_VERSION moduledir modulePROGRAMS_INSTALL CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE RANLIB ac_ct_RANLIB CPP EGREP INCLUDES CONFIG_ORTE_WIN_TRUE CONFIG_ORTE_WIN_FALSE CONFIG_ORTE_UNIX_TRUE CONFIG_ORTE_UNIX_FALSE LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
314
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
334
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
352
353 ac_prev=
354 for ac_option
355 do
356   # If the previous option needs an argument, assign it.
357   if test -n "$ac_prev"; then
358     eval "$ac_prev=\$ac_option"
359     ac_prev=
360     continue
361   fi
362
363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365   # Accept the important Cygnus configure options, so we can diagnose typos.
366
367   case $ac_option in
368
369   -bindir | --bindir | --bindi | --bind | --bin | --bi)
370     ac_prev=bindir ;;
371   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372     bindir=$ac_optarg ;;
373
374   -build | --build | --buil | --bui | --bu)
375     ac_prev=build_alias ;;
376   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377     build_alias=$ac_optarg ;;
378
379   -cache-file | --cache-file | --cache-fil | --cache-fi \
380   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381     ac_prev=cache_file ;;
382   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384     cache_file=$ac_optarg ;;
385
386   --config-cache | -C)
387     cache_file=config.cache ;;
388
389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390     ac_prev=datadir ;;
391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392   | --da=*)
393     datadir=$ac_optarg ;;
394
395   -disable-* | --disable-*)
396     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397     # Reject names that are not valid shell variable names.
398     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400    { (exit 1); exit 1; }; }
401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402     eval "enable_$ac_feature=no" ;;
403
404   -enable-* | --enable-*)
405     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406     # Reject names that are not valid shell variable names.
407     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409    { (exit 1); exit 1; }; }
410     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411     case $ac_option in
412       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413       *) ac_optarg=yes ;;
414     esac
415     eval "enable_$ac_feature='$ac_optarg'" ;;
416
417   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419   | --exec | --exe | --ex)
420     ac_prev=exec_prefix ;;
421   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423   | --exec=* | --exe=* | --ex=*)
424     exec_prefix=$ac_optarg ;;
425
426   -gas | --gas | --ga | --g)
427     # Obsolete; use --with-gas.
428     with_gas=yes ;;
429
430   -help | --help | --hel | --he | -h)
431     ac_init_help=long ;;
432   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433     ac_init_help=recursive ;;
434   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435     ac_init_help=short ;;
436
437   -host | --host | --hos | --ho)
438     ac_prev=host_alias ;;
439   -host=* | --host=* | --hos=* | --ho=*)
440     host_alias=$ac_optarg ;;
441
442   -includedir | --includedir | --includedi | --included | --include \
443   | --includ | --inclu | --incl | --inc)
444     ac_prev=includedir ;;
445   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446   | --includ=* | --inclu=* | --incl=* | --inc=*)
447     includedir=$ac_optarg ;;
448
449   -infodir | --infodir | --infodi | --infod | --info | --inf)
450     ac_prev=infodir ;;
451   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452     infodir=$ac_optarg ;;
453
454   -libdir | --libdir | --libdi | --libd)
455     ac_prev=libdir ;;
456   -libdir=* | --libdir=* | --libdi=* | --libd=*)
457     libdir=$ac_optarg ;;
458
459   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460   | --libexe | --libex | --libe)
461     ac_prev=libexecdir ;;
462   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463   | --libexe=* | --libex=* | --libe=*)
464     libexecdir=$ac_optarg ;;
465
466   -localstatedir | --localstatedir | --localstatedi | --localstated \
467   | --localstate | --localstat | --localsta | --localst \
468   | --locals | --local | --loca | --loc | --lo)
469     ac_prev=localstatedir ;;
470   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473     localstatedir=$ac_optarg ;;
474
475   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476     ac_prev=mandir ;;
477   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478     mandir=$ac_optarg ;;
479
480   -nfp | --nfp | --nf)
481     # Obsolete; use --without-fp.
482     with_fp=no ;;
483
484   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485   | --no-cr | --no-c | -n)
486     no_create=yes ;;
487
488   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490     no_recursion=yes ;;
491
492   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494   | --oldin | --oldi | --old | --ol | --o)
495     ac_prev=oldincludedir ;;
496   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499     oldincludedir=$ac_optarg ;;
500
501   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502     ac_prev=prefix ;;
503   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504     prefix=$ac_optarg ;;
505
506   -program-prefix | --program-prefix | --program-prefi | --program-pref \
507   | --program-pre | --program-pr | --program-p)
508     ac_prev=program_prefix ;;
509   -program-prefix=* | --program-prefix=* | --program-prefi=* \
510   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511     program_prefix=$ac_optarg ;;
512
513   -program-suffix | --program-suffix | --program-suffi | --program-suff \
514   | --program-suf | --program-su | --program-s)
515     ac_prev=program_suffix ;;
516   -program-suffix=* | --program-suffix=* | --program-suffi=* \
517   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518     program_suffix=$ac_optarg ;;
519
520   -program-transform-name | --program-transform-name \
521   | --program-transform-nam | --program-transform-na \
522   | --program-transform-n | --program-transform- \
523   | --program-transform | --program-transfor \
524   | --program-transfo | --program-transf \
525   | --program-trans | --program-tran \
526   | --progr-tra | --program-tr | --program-t)
527     ac_prev=program_transform_name ;;
528   -program-transform-name=* | --program-transform-name=* \
529   | --program-transform-nam=* | --program-transform-na=* \
530   | --program-transform-n=* | --program-transform-=* \
531   | --program-transform=* | --program-transfor=* \
532   | --program-transfo=* | --program-transf=* \
533   | --program-trans=* | --program-tran=* \
534   | --progr-tra=* | --program-tr=* | --program-t=*)
535     program_transform_name=$ac_optarg ;;
536
537   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538   | -silent | --silent | --silen | --sile | --sil)
539     silent=yes ;;
540
541   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542     ac_prev=sbindir ;;
543   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544   | --sbi=* | --sb=*)
545     sbindir=$ac_optarg ;;
546
547   -sharedstatedir | --sharedstatedir | --sharedstatedi \
548   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549   | --sharedst | --shareds | --shared | --share | --shar \
550   | --sha | --sh)
551     ac_prev=sharedstatedir ;;
552   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555   | --sha=* | --sh=*)
556     sharedstatedir=$ac_optarg ;;
557
558   -site | --site | --sit)
559     ac_prev=site ;;
560   -site=* | --site=* | --sit=*)
561     site=$ac_optarg ;;
562
563   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564     ac_prev=srcdir ;;
565   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566     srcdir=$ac_optarg ;;
567
568   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569   | --syscon | --sysco | --sysc | --sys | --sy)
570     ac_prev=sysconfdir ;;
571   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573     sysconfdir=$ac_optarg ;;
574
575   -target | --target | --targe | --targ | --tar | --ta | --t)
576     ac_prev=target_alias ;;
577   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578     target_alias=$ac_optarg ;;
579
580   -v | -verbose | --verbose | --verbos | --verbo | --verb)
581     verbose=yes ;;
582
583   -version | --version | --versio | --versi | --vers | -V)
584     ac_init_version=: ;;
585
586   -with-* | --with-*)
587     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588     # Reject names that are not valid shell variable names.
589     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590       { echo "$as_me: error: invalid package name: $ac_package" >&2
591    { (exit 1); exit 1; }; }
592     ac_package=`echo $ac_package| sed 's/-/_/g'`
593     case $ac_option in
594       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595       *) ac_optarg=yes ;;
596     esac
597     eval "with_$ac_package='$ac_optarg'" ;;
598
599   -without-* | --without-*)
600     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601     # Reject names that are not valid shell variable names.
602     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603       { echo "$as_me: error: invalid package name: $ac_package" >&2
604    { (exit 1); exit 1; }; }
605     ac_package=`echo $ac_package | sed 's/-/_/g'`
606     eval "with_$ac_package=no" ;;
607
608   --x)
609     # Obsolete; use --with-x.
610     with_x=yes ;;
611
612   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613   | --x-incl | --x-inc | --x-in | --x-i)
614     ac_prev=x_includes ;;
615   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617     x_includes=$ac_optarg ;;
618
619   -x-libraries | --x-libraries | --x-librarie | --x-librari \
620   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621     ac_prev=x_libraries ;;
622   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624     x_libraries=$ac_optarg ;;
625
626   -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628    { (exit 1); exit 1; }; }
629     ;;
630
631   *=*)
632     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633     # Reject names that are not valid shell variable names.
634     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636    { (exit 1); exit 1; }; }
637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638     eval "$ac_envvar='$ac_optarg'"
639     export $ac_envvar ;;
640
641   *)
642     # FIXME: should be removed in autoconf 3.0.
643     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647     ;;
648
649   esac
650 done
651
652 if test -n "$ac_prev"; then
653   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654   { echo "$as_me: error: missing argument to $ac_option" >&2
655    { (exit 1); exit 1; }; }
656 fi
657
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
660 do
661   eval ac_val=$`echo $ac_var`
662   case $ac_val in
663     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665    { (exit 1); exit 1; }; };;
666   esac
667 done
668
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671               localstatedir libdir includedir oldincludedir infodir mandir
672 do
673   eval ac_val=$`echo $ac_var`
674   case $ac_val in
675     [\\/$]* | ?:[\\/]* ) ;;
676     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677    { (exit 1); exit 1; }; };;
678   esac
679 done
680
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
687
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690   if test "x$build_alias" = x; then
691     cross_compiling=maybe
692     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693     If a cross compiler is detected then cross compile mode will be used." >&2
694   elif test "x$build_alias" != "x$host_alias"; then
695     cross_compiling=yes
696   fi
697 fi
698
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702 test "$silent" = yes && exec 6>/dev/null
703
704
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707   ac_srcdir_defaulted=yes
708   # Try the directory containing this script, then its parent.
709   ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711          X"$0" : 'X\(//\)[^/]' \| \
712          X"$0" : 'X\(//\)$' \| \
713          X"$0" : 'X\(/\)' \| \
714          .     : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718           /^X\(\/\/\)$/{ s//\1/; q; }
719           /^X\(\/\).*/{ s//\1/; q; }
720           s/.*/./; q'`
721   srcdir=$ac_confdir
722   if test ! -r $srcdir/$ac_unique_file; then
723     srcdir=..
724   fi
725 else
726   ac_srcdir_defaulted=no
727 fi
728 if test ! -r $srcdir/$ac_unique_file; then
729   if test "$ac_srcdir_defaulted" = yes; then
730     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731    { (exit 1); exit 1; }; }
732   else
733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734    { (exit 1); exit 1; }; }
735   fi
736 fi
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739    { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
754 ac_env_CC_value=$CC
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
773
774 #
775 # Report the --help message.
776 #
777 if test "$ac_init_help" = "long"; then
778   # Omit some internal or obsolete options to make the list less imposing.
779   # This message is too long to be a string in the A/UX 3.1 sh.
780   cat <<_ACEOF
781 \`configure' configures orte 0.2.0 to adapt to many kinds of systems.
782
783 Usage: $0 [OPTION]... [VAR=VALUE]...
784
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE.  See below for descriptions of some of the useful variables.
787
788 Defaults for the options are specified in brackets.
789
790 Configuration:
791   -h, --help              display this help and exit
792       --help=short        display options specific to this package
793       --help=recursive    display the short help of all the included packages
794   -V, --version           display version information and exit
795   -q, --quiet, --silent   do not print \`checking...' messages
796       --cache-file=FILE   cache test results in FILE [disabled]
797   -C, --config-cache      alias for \`--cache-file=config.cache'
798   -n, --no-create         do not create output files
799       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
800
801 _ACEOF
802
803   cat <<_ACEOF
804 Installation directories:
805   --prefix=PREFIX         install architecture-independent files in PREFIX
806                           [$ac_default_prefix]
807   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
808                           [PREFIX]
809
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
814
815 For better control, use the options below.
816
817 Fine tuning of the installation directories:
818   --bindir=DIR           user executables [EPREFIX/bin]
819   --sbindir=DIR          system admin executables [EPREFIX/sbin]
820   --libexecdir=DIR       program executables [EPREFIX/libexec]
821   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
822   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
823   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
824   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
825   --libdir=DIR           object code libraries [EPREFIX/lib]
826   --includedir=DIR       C header files [PREFIX/include]
827   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
828   --infodir=DIR          info documentation [PREFIX/info]
829   --mandir=DIR           man documentation [PREFIX/man]
830 _ACEOF
831
832   cat <<\_ACEOF
833
834 Program names:
835   --program-prefix=PREFIX            prepend PREFIX to installed program names
836   --program-suffix=SUFFIX            append SUFFIX to installed program names
837   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
838
839 System types:
840   --build=BUILD     configure for building on BUILD [guessed]
841   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
842   --target=TARGET   configure for building compilers for TARGET [HOST]
843 _ACEOF
844 fi
845
846 if test -n "$ac_init_help"; then
847   case $ac_init_help in
848      short | recursive ) echo "Configuration of orte 0.2.0:";;
849    esac
850   cat <<\_ACEOF
851
852 Optional Features:
853   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
854   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
855   --enable-maintainer-mode enable make rules and dependencies not useful
856                           (and sometimes confusing) to the casual installer
857   --disable-dependency-tracking Speeds up one-time builds
858   --enable-dependency-tracking  Do not reject slow dependency extractors
859
860 Optional Packages:
861   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
862   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
863   --with-linuxdir=DIR     specify path to Linux source directory
864   --with-rtaidir=DIR      specify path to RTAI source directory
865   --with-rtlinuxdir=DIR   specify path to RTLinux source directory
866
867 Some influential environment variables:
868   CC          C compiler command
869   CFLAGS      C compiler flags
870   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
871               nonstandard directory <lib dir>
872   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
873               headers in a nonstandard directory <include dir>
874   CPP         C preprocessor
875
876 Use these variables to override the choices made by `configure' or to help
877 it to find libraries and programs with nonstandard names/locations.
878
879 Report bugs to <petr.smolik@wo.cz>.
880 _ACEOF
881 fi
882
883 if test "$ac_init_help" = "recursive"; then
884   # If there are subdirs, report their specific --help.
885   ac_popdir=`pwd`
886   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
887     test -d $ac_dir || continue
888     ac_builddir=.
889
890 if test "$ac_dir" != .; then
891   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
892   # A "../" for each directory in $ac_dir_suffix.
893   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
894 else
895   ac_dir_suffix= ac_top_builddir=
896 fi
897
898 case $srcdir in
899   .)  # No --srcdir option.  We are building in place.
900     ac_srcdir=.
901     if test -z "$ac_top_builddir"; then
902        ac_top_srcdir=.
903     else
904        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
905     fi ;;
906   [\\/]* | ?:[\\/]* )  # Absolute path.
907     ac_srcdir=$srcdir$ac_dir_suffix;
908     ac_top_srcdir=$srcdir ;;
909   *) # Relative path.
910     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
911     ac_top_srcdir=$ac_top_builddir$srcdir ;;
912 esac
913 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
914 # absolute.
915 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
916 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
917 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
918 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
919
920     cd $ac_dir
921     # Check for guested configure; otherwise get Cygnus style configure.
922     if test -f $ac_srcdir/configure.gnu; then
923       echo
924       $SHELL $ac_srcdir/configure.gnu  --help=recursive
925     elif test -f $ac_srcdir/configure; then
926       echo
927       $SHELL $ac_srcdir/configure  --help=recursive
928     elif test -f $ac_srcdir/configure.ac ||
929            test -f $ac_srcdir/configure.in; then
930       echo
931       $ac_configure --help
932     else
933       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
934     fi
935     cd $ac_popdir
936   done
937 fi
938
939 test -n "$ac_init_help" && exit 0
940 if $ac_init_version; then
941   cat <<\_ACEOF
942 orte configure 0.2.0
943 generated by GNU Autoconf 2.57
944
945 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
946 Free Software Foundation, Inc.
947 This configure script is free software; the Free Software Foundation
948 gives unlimited permission to copy, distribute and modify it.
949 _ACEOF
950   exit 0
951 fi
952 exec 5>config.log
953 cat >&5 <<_ACEOF
954 This file contains any messages produced by compilers while
955 running configure, to aid debugging if configure makes a mistake.
956
957 It was created by orte $as_me 0.2.0, which was
958 generated by GNU Autoconf 2.57.  Invocation command line was
959
960   $ $0 $@
961
962 _ACEOF
963 {
964 cat <<_ASUNAME
965 ## --------- ##
966 ## Platform. ##
967 ## --------- ##
968
969 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
970 uname -m = `(uname -m) 2>/dev/null || echo unknown`
971 uname -r = `(uname -r) 2>/dev/null || echo unknown`
972 uname -s = `(uname -s) 2>/dev/null || echo unknown`
973 uname -v = `(uname -v) 2>/dev/null || echo unknown`
974
975 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
976 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
977
978 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
979 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
980 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
981 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
982 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
983 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
984 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
985
986 _ASUNAME
987
988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
989 for as_dir in $PATH
990 do
991   IFS=$as_save_IFS
992   test -z "$as_dir" && as_dir=.
993   echo "PATH: $as_dir"
994 done
995
996 } >&5
997
998 cat >&5 <<_ACEOF
999
1000
1001 ## ----------- ##
1002 ## Core tests. ##
1003 ## ----------- ##
1004
1005 _ACEOF
1006
1007
1008 # Keep a trace of the command line.
1009 # Strip out --no-create and --no-recursion so they do not pile up.
1010 # Strip out --silent because we don't want to record it for future runs.
1011 # Also quote any args containing shell meta-characters.
1012 # Make two passes to allow for proper duplicate-argument suppression.
1013 ac_configure_args=
1014 ac_configure_args0=
1015 ac_configure_args1=
1016 ac_sep=
1017 ac_must_keep_next=false
1018 for ac_pass in 1 2
1019 do
1020   for ac_arg
1021   do
1022     case $ac_arg in
1023     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1024     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1025     | -silent | --silent | --silen | --sile | --sil)
1026       continue ;;
1027     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1028       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1029     esac
1030     case $ac_pass in
1031     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1032     2)
1033       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1034       if test $ac_must_keep_next = true; then
1035         ac_must_keep_next=false # Got value, back to normal.
1036       else
1037         case $ac_arg in
1038           *=* | --config-cache | -C | -disable-* | --disable-* \
1039           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1040           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1041           | -with-* | --with-* | -without-* | --without-* | --x)
1042             case "$ac_configure_args0 " in
1043               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1044             esac
1045             ;;
1046           -* ) ac_must_keep_next=true ;;
1047         esac
1048       fi
1049       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1050       # Get rid of the leading space.
1051       ac_sep=" "
1052       ;;
1053     esac
1054   done
1055 done
1056 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1057 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1058
1059 # When interrupted or exit'd, cleanup temporary files, and complete
1060 # config.log.  We remove comments because anyway the quotes in there
1061 # would cause problems or look ugly.
1062 # WARNING: Be sure not to use single quotes in there, as some shells,
1063 # such as our DU 5.0 friend, will then `close' the trap.
1064 trap 'exit_status=$?
1065   # Save into config.log some information that might help in debugging.
1066   {
1067     echo
1068
1069     cat <<\_ASBOX
1070 ## ---------------- ##
1071 ## Cache variables. ##
1072 ## ---------------- ##
1073 _ASBOX
1074     echo
1075     # The following way of writing the cache mishandles newlines in values,
1076 {
1077   (set) 2>&1 |
1078     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1079     *ac_space=\ *)
1080       sed -n \
1081         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1082           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1083       ;;
1084     *)
1085       sed -n \
1086         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1087       ;;
1088     esac;
1089 }
1090     echo
1091
1092     cat <<\_ASBOX
1093 ## ----------------- ##
1094 ## Output variables. ##
1095 ## ----------------- ##
1096 _ASBOX
1097     echo
1098     for ac_var in $ac_subst_vars
1099     do
1100       eval ac_val=$`echo $ac_var`
1101       echo "$ac_var='"'"'$ac_val'"'"'"
1102     done | sort
1103     echo
1104
1105     if test -n "$ac_subst_files"; then
1106       cat <<\_ASBOX
1107 ## ------------- ##
1108 ## Output files. ##
1109 ## ------------- ##
1110 _ASBOX
1111       echo
1112       for ac_var in $ac_subst_files
1113       do
1114         eval ac_val=$`echo $ac_var`
1115         echo "$ac_var='"'"'$ac_val'"'"'"
1116       done | sort
1117       echo
1118     fi
1119
1120     if test -s confdefs.h; then
1121       cat <<\_ASBOX
1122 ## ----------- ##
1123 ## confdefs.h. ##
1124 ## ----------- ##
1125 _ASBOX
1126       echo
1127       sed "/^$/d" confdefs.h | sort
1128       echo
1129     fi
1130     test "$ac_signal" != 0 &&
1131       echo "$as_me: caught signal $ac_signal"
1132     echo "$as_me: exit $exit_status"
1133   } >&5
1134   rm -f core core.* *.core &&
1135   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1136     exit $exit_status
1137      ' 0
1138 for ac_signal in 1 2 13 15; do
1139   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1140 done
1141 ac_signal=0
1142
1143 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1144 rm -rf conftest* confdefs.h
1145 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1146 echo >confdefs.h
1147
1148 # Predefined preprocessor variables.
1149
1150 cat >>confdefs.h <<_ACEOF
1151 #define PACKAGE_NAME "$PACKAGE_NAME"
1152 _ACEOF
1153
1154
1155 cat >>confdefs.h <<_ACEOF
1156 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1157 _ACEOF
1158
1159
1160 cat >>confdefs.h <<_ACEOF
1161 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1162 _ACEOF
1163
1164
1165 cat >>confdefs.h <<_ACEOF
1166 #define PACKAGE_STRING "$PACKAGE_STRING"
1167 _ACEOF
1168
1169
1170 cat >>confdefs.h <<_ACEOF
1171 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1172 _ACEOF
1173
1174
1175 # Let the site file select an alternate cache file if it wants to.
1176 # Prefer explicitly selected file to automatically selected ones.
1177 if test -z "$CONFIG_SITE"; then
1178   if test "x$prefix" != xNONE; then
1179     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1180   else
1181     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1182   fi
1183 fi
1184 for ac_site_file in $CONFIG_SITE; do
1185   if test -r "$ac_site_file"; then
1186     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1187 echo "$as_me: loading site script $ac_site_file" >&6;}
1188     sed 's/^/| /' "$ac_site_file" >&5
1189     . "$ac_site_file"
1190   fi
1191 done
1192
1193 if test -r "$cache_file"; then
1194   # Some versions of bash will fail to source /dev/null (special
1195   # files actually), so we avoid doing that.
1196   if test -f "$cache_file"; then
1197     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1198 echo "$as_me: loading cache $cache_file" >&6;}
1199     case $cache_file in
1200       [\\/]* | ?:[\\/]* ) . $cache_file;;
1201       *)                      . ./$cache_file;;
1202     esac
1203   fi
1204 else
1205   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1206 echo "$as_me: creating cache $cache_file" >&6;}
1207   >$cache_file
1208 fi
1209
1210 # Check that the precious variables saved in the cache have kept the same
1211 # value.
1212 ac_cache_corrupted=false
1213 for ac_var in `(set) 2>&1 |
1214                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1215   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1216   eval ac_new_set=\$ac_env_${ac_var}_set
1217   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1218   eval ac_new_val="\$ac_env_${ac_var}_value"
1219   case $ac_old_set,$ac_new_set in
1220     set,)
1221       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1222 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1223       ac_cache_corrupted=: ;;
1224     ,set)
1225       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1226 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1227       ac_cache_corrupted=: ;;
1228     ,);;
1229     *)
1230       if test "x$ac_old_val" != "x$ac_new_val"; then
1231         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1232 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1233         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1234 echo "$as_me:   former value:  $ac_old_val" >&2;}
1235         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1236 echo "$as_me:   current value: $ac_new_val" >&2;}
1237         ac_cache_corrupted=:
1238       fi;;
1239   esac
1240   # Pass precious variables to config.status.
1241   if test "$ac_new_set" = set; then
1242     case $ac_new_val in
1243     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1244       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1245     *) ac_arg=$ac_var=$ac_new_val ;;
1246     esac
1247     case " $ac_configure_args " in
1248       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1249       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1250     esac
1251   fi
1252 done
1253 if $ac_cache_corrupted; then
1254   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1255 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1256   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1257 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1258    { (exit 1); exit 1; }; }
1259 fi
1260
1261 ac_ext=c
1262 ac_cpp='$CPP $CPPFLAGS'
1263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293 ac_aux_dir=
1294 for ac_dir in admin $srcdir/admin; do
1295   if test -f $ac_dir/install-sh; then
1296     ac_aux_dir=$ac_dir
1297     ac_install_sh="$ac_aux_dir/install-sh -c"
1298     break
1299   elif test -f $ac_dir/install.sh; then
1300     ac_aux_dir=$ac_dir
1301     ac_install_sh="$ac_aux_dir/install.sh -c"
1302     break
1303   elif test -f $ac_dir/shtool; then
1304     ac_aux_dir=$ac_dir
1305     ac_install_sh="$ac_aux_dir/shtool install -c"
1306     break
1307   fi
1308 done
1309 if test -z "$ac_aux_dir"; then
1310   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&5
1311 echo "$as_me: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&2;}
1312    { (exit 1); exit 1; }; }
1313 fi
1314 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1315 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1316 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1317
1318
1319 #Check for CPU / vendor / OS
1320 # Make sure we can run config.sub.
1321 $ac_config_sub sun4 >/dev/null 2>&1 ||
1322   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1323 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1324    { (exit 1); exit 1; }; }
1325
1326 echo "$as_me:$LINENO: checking build system type" >&5
1327 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1328 if test "${ac_cv_build+set}" = set; then
1329   echo $ECHO_N "(cached) $ECHO_C" >&6
1330 else
1331   ac_cv_build_alias=$build_alias
1332 test -z "$ac_cv_build_alias" &&
1333   ac_cv_build_alias=`$ac_config_guess`
1334 test -z "$ac_cv_build_alias" &&
1335   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1336 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1337    { (exit 1); exit 1; }; }
1338 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1339   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1340 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1341    { (exit 1); exit 1; }; }
1342
1343 fi
1344 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1345 echo "${ECHO_T}$ac_cv_build" >&6
1346 build=$ac_cv_build
1347 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1348 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1349 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1350
1351
1352 echo "$as_me:$LINENO: checking host system type" >&5
1353 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1354 if test "${ac_cv_host+set}" = set; then
1355   echo $ECHO_N "(cached) $ECHO_C" >&6
1356 else
1357   ac_cv_host_alias=$host_alias
1358 test -z "$ac_cv_host_alias" &&
1359   ac_cv_host_alias=$ac_cv_build_alias
1360 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1361   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1362 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1363    { (exit 1); exit 1; }; }
1364
1365 fi
1366 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1367 echo "${ECHO_T}$ac_cv_host" >&6
1368 host=$ac_cv_host
1369 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1370 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1371 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1372
1373
1374 echo "$as_me:$LINENO: checking target system type" >&5
1375 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1376 if test "${ac_cv_target+set}" = set; then
1377   echo $ECHO_N "(cached) $ECHO_C" >&6
1378 else
1379   ac_cv_target_alias=$target_alias
1380 test "x$ac_cv_target_alias" = "x" &&
1381   ac_cv_target_alias=$ac_cv_host_alias
1382 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1383   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1384 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1385    { (exit 1); exit 1; }; }
1386
1387 fi
1388 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1389 echo "${ECHO_T}$ac_cv_target" >&6
1390 target=$ac_cv_target
1391 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1392 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1393 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1394
1395
1396 # The aliases save the names the user supplied, while $host etc.
1397 # will get canonicalized.
1398 test -n "$target_alias" &&
1399   test "$program_prefix$program_suffix$program_transform_name" = \
1400     NONENONEs,x,x, &&
1401   program_prefix=${target_alias}-
1402 # Add the stamp file to the list of files AC keeps track of,
1403 # along with our hook.
1404           ac_config_headers="$ac_config_headers orte/include/config.h"
1405
1406
1407
1408 am__api_version="1.6"
1409 # Find a good install program.  We prefer a C program (faster),
1410 # so one script is as good as another.  But avoid the broken or
1411 # incompatible versions:
1412 # SysV /etc/install, /usr/sbin/install
1413 # SunOS /usr/etc/install
1414 # IRIX /sbin/install
1415 # AIX /bin/install
1416 # AmigaOS /C/install, which installs bootblocks on floppy discs
1417 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1418 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1419 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1420 # ./install, which can be erroneously created by make from ./install.sh.
1421 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1422 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1423 if test -z "$INSTALL"; then
1424 if test "${ac_cv_path_install+set}" = set; then
1425   echo $ECHO_N "(cached) $ECHO_C" >&6
1426 else
1427   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1428 for as_dir in $PATH
1429 do
1430   IFS=$as_save_IFS
1431   test -z "$as_dir" && as_dir=.
1432   # Account for people who put trailing slashes in PATH elements.
1433 case $as_dir/ in
1434   ./ | .// | /cC/* | \
1435   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1436   /usr/ucb/* ) ;;
1437   *)
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
1440     # by default.
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.
1447             :
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.
1451             :
1452           else
1453             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1454             break 3
1455           fi
1456         fi
1457       done
1458     done
1459     ;;
1460 esac
1461 done
1462
1463
1464 fi
1465   if test "${ac_cv_path_install+set}" = set; then
1466     INSTALL=$ac_cv_path_install
1467   else
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
1473   fi
1474 fi
1475 echo "$as_me:$LINENO: result: $INSTALL" >&5
1476 echo "${ECHO_T}$INSTALL" >&6
1477
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}'
1481
1482 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1483
1484 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1485
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
1488 # Just in case
1489 sleep 1
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
1495 # directory).
1496 if (
1497    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1498    if test "$*" = "X"; then
1499       # -L didn't work.
1500       set X `ls -t $srcdir/configure conftest.file`
1501    fi
1502    rm -f conftest.file
1503    if test "$*" != "X $srcdir/configure conftest.file" \
1504       && test "$*" != "X conftest.file $srcdir/configure"; then
1505
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; }; }
1515    fi
1516
1517    test "$2" = conftest.file
1518    )
1519 then
1520    # Ok.
1521    :
1522 else
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; }; }
1528 fi
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,$//
1540 _ACEOF
1541 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1542 rm conftest.sed
1543
1544
1545 # expand $ac_aux_dir to an absolute path
1546 am_aux_dir=`cd $ac_aux_dir && pwd`
1547
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 "
1552 else
1553   am_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;}
1556 fi
1557
1558 for ac_prog in gawk mawk nawk awk
1559 do
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
1566 else
1567   if test -n "$AWK"; then
1568   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1569 else
1570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1571 for as_dir in $PATH
1572 do
1573   IFS=$as_save_IFS
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
1579     break 2
1580   fi
1581 done
1582 done
1583
1584 fi
1585 fi
1586 AWK=$ac_cv_prog_AWK
1587 if test -n "$AWK"; then
1588   echo "$as_me:$LINENO: result: $AWK" >&5
1589 echo "${ECHO_T}$AWK" >&6
1590 else
1591   echo "$as_me:$LINENO: result: no" >&5
1592 echo "${ECHO_T}no" >&6
1593 fi
1594
1595   test -n "$AWK" && break
1596 done
1597
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
1603 else
1604   cat >conftest.make <<\_ACEOF
1605 all:
1606         @echo 'ac_maketemp="$(MAKE)"'
1607 _ACEOF
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
1612 else
1613   eval ac_cv_prog_make_${ac_make}_set=no
1614 fi
1615 rm -f conftest.make
1616 fi
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
1620   SET_MAKE=
1621 else
1622   echo "$as_me:$LINENO: result: no" >&5
1623 echo "${ECHO_T}no" >&6
1624   SET_MAKE="MAKE=${MAKE-make}"
1625 fi
1626
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; }; }
1633 fi
1634
1635 # Define the identity of the package.
1636  PACKAGE=orte
1637  VERSION=0.2.0
1638
1639
1640 cat >>confdefs.h <<_ACEOF
1641 #define PACKAGE "$PACKAGE"
1642 _ACEOF
1643
1644
1645 cat >>confdefs.h <<_ACEOF
1646 #define VERSION "$VERSION"
1647 _ACEOF
1648
1649 # Some tools Automake needs.
1650
1651 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1652
1653
1654 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1655
1656
1657 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1658
1659
1660 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1661
1662
1663 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1664
1665
1666 AMTAR=${AMTAR-"${am_missing_run}tar"}
1667
1668 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1669
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
1682 else
1683   if test -n "$STRIP"; then
1684   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1685 else
1686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1687 for as_dir in $PATH
1688 do
1689   IFS=$as_save_IFS
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
1695     break 2
1696   fi
1697 done
1698 done
1699
1700 fi
1701 fi
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
1706 else
1707   echo "$as_me:$LINENO: result: no" >&5
1708 echo "${ECHO_T}no" >&6
1709 fi
1710
1711 fi
1712 if test -z "$ac_cv_prog_STRIP"; then
1713   ac_ct_STRIP=$STRIP
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
1720 else
1721   if test -n "$ac_ct_STRIP"; then
1722   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1723 else
1724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1725 for as_dir in $PATH
1726 do
1727   IFS=$as_save_IFS
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
1733     break 2
1734   fi
1735 done
1736 done
1737
1738   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1739 fi
1740 fi
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
1745 else
1746   echo "$as_me:$LINENO: result: no" >&5
1747 echo "${ECHO_T}no" >&6
1748 fi
1749
1750   STRIP=$ac_ct_STRIP
1751 else
1752   STRIP="$ac_cv_prog_STRIP"
1753 fi
1754
1755 fi
1756 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1757
1758 # We need awk for the "check" target.  The system "awk" is bad on
1759 # some platforms.
1760
1761
1762
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
1770 else
1771   USE_MAINTAINER_MODE=no
1772 fi;
1773   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1774 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1775
1776
1777 if test $USE_MAINTAINER_MODE = yes; then
1778   MAINTAINER_MODE_TRUE=
1779   MAINTAINER_MODE_FALSE='#'
1780 else
1781   MAINTAINER_MODE_TRUE='#'
1782   MAINTAINER_MODE_FALSE=
1783 fi
1784
1785   MAINT=$MAINTAINER_MODE_TRUE
1786
1787
1788
1789
1790
1791
1792 # Check whether --with-linuxdir or --without-linuxdir was given.
1793 if test "${with_linuxdir+set}" = set; then
1794   withval="$with_linuxdir"
1795   LINUX_DIR="${withval}"
1796 else
1797   LINUX_DIR=default
1798 fi;
1799
1800         if test "${LINUX_DIR}" != "default" ; then
1801                 echo "$as_me:$LINENO: checking for Linux in ${LINUX_DIR}" >&5
1802 echo $ECHO_N "checking for Linux in ${LINUX_DIR}... $ECHO_C" >&6
1803
1804         if test -f "${LINUX_DIR}/Makefile" ; then
1805                 result=yes
1806
1807         else
1808                 result="not found"
1809                 { { echo "$as_me:$LINENO: error: Linux dir not found" >&5
1810 echo "$as_me: error: Linux dir not found" >&2;}
1811    { (exit 1); exit 1; }; }
1812         fi
1813
1814         echo "$as_me:$LINENO: result: $result" >&5
1815 echo "${ECHO_T}$result" >&6
1816
1817         fi
1818
1819         if test "${LINUX_DIR}" = "default" ; then
1820                 dir="/lib/modules/`uname -r`/build";
1821                 echo "$as_me:$LINENO: checking for Linux in ${dir}" >&5
1822 echo $ECHO_N "checking for Linux in ${dir}... $ECHO_C" >&6
1823
1824         if test -f "${dir}/Makefile" ; then
1825                 result=yes
1826                 LINUX_DIR=${dir}
1827         else
1828                 result="not found"
1829
1830         fi
1831
1832         echo "$as_me:$LINENO: result: $result" >&5
1833 echo "${ECHO_T}$result" >&6
1834
1835         fi
1836         if test "${LINUX_DIR}" = "default" ; then
1837                 dir="../linux";
1838                 echo "$as_me:$LINENO: checking for Linux in ${dir}" >&5
1839 echo $ECHO_N "checking for Linux in ${dir}... $ECHO_C" >&6
1840
1841         if test -f "${dir}/Makefile" ; then
1842                 result=yes
1843                 LINUX_DIR=${dir}
1844         else
1845                 result="not found"
1846
1847         fi
1848
1849         echo "$as_me:$LINENO: result: $result" >&5
1850 echo "${ECHO_T}$result" >&6
1851
1852         fi
1853         if test "${LINUX_DIR}" = "default" ; then
1854                 dir="/usr/src/linux";
1855                 echo "$as_me:$LINENO: checking for Linux in ${dir}" >&5
1856 echo $ECHO_N "checking for Linux in ${dir}... $ECHO_C" >&6
1857
1858         if test -f "${dir}/Makefile" ; then
1859                 result=yes
1860                 LINUX_DIR=${dir}
1861         else
1862                 result="not found"
1863
1864         fi
1865
1866         echo "$as_me:$LINENO: result: $result" >&5
1867 echo "${ECHO_T}$result" >&6
1868
1869         fi
1870
1871 #       if test "${LINUX_DIR}" = "default" ; then
1872 #               AC_MSG_ERROR([Linux source directory not found])
1873 #       fi
1874
1875
1876
1877
1878         echo "$as_me:$LINENO: checking Linux version" >&5
1879 echo $ECHO_N "checking Linux version... $ECHO_C" >&6
1880
1881         if test "${LINUX_DIR}" != "default" ; then
1882
1883           if [ ! -f "${LINUX_DIR}/.config" ];then
1884             { { echo "$as_me:$LINENO: error:
1885             The kernel source tree at ${LINUX_DIR} is not configured.
1886             Fix before continuing." >&5
1887 echo "$as_me: error:
1888             The kernel source tree at ${LINUX_DIR} is not configured.
1889             Fix before continuing." >&2;}
1890    { (exit 1); exit 1; }; }
1891           fi
1892
1893           if [ ! -f "${LINUX_DIR}/include/linux/version.h" ];then
1894             { { echo "$as_me:$LINENO: error: The header file include/linux/version.h does not exist.
1895             For 2.6 kernels, it can be generated by running 'make prepare' in
1896             the kernel source directory." >&5
1897 echo "$as_me: error: The header file include/linux/version.h does not exist.
1898             For 2.6 kernels, it can be generated by running 'make prepare' in
1899             the kernel source directory." >&2;}
1900    { (exit 1); exit 1; }; }
1901           fi
1902
1903           LINUX_VERSION=$(grep UTS_RELEASE ${LINUX_DIR}/include/linux/version.h | \
1904             sed 's/[^"]*"\(.*\)\{1\}"/\1/')
1905
1906           echo "$as_me:$LINENO: result: $LINUX_VERSION" >&5
1907 echo "${ECHO_T}$LINUX_VERSION" >&6
1908
1909           LINUX_VERSION_MAJOR=$(echo ${LINUX_VERSION} | cut -d. -f1)
1910           LINUX_VERSION_MINOR=$(echo ${LINUX_VERSION} | cut -d. -f2)
1911
1912           case $LINUX_VERSION_MAJOR.$LINUX_VERSION_MINOR in
1913             2.6)
1914
1915         echo "$as_me:$LINENO: checking for Linux CFLAGS" >&5
1916 echo $ECHO_N "checking for Linux CFLAGS... $ECHO_C" >&6
1917
1918         tmpdir="`pwd`/tmp-noicrwa"
1919
1920         rm -rf ${tmpdir}
1921         mkdir ${tmpdir}
1922
1923         cat >${tmpdir}/Makefile <<EOF
1924 obj-m += fake.o
1925
1926 \$(obj)/fake.c: flags
1927         touch \$(obj)/fake.c
1928
1929 .PHONY: flags
1930 flags:
1931         echo LINUX_ARCH=\"\$(ARCH)\" >>\$(obj)/flags
1932         echo LINUX_AFLAGS=\"\$(AFLAGS)\" | sed 's_Iinclude_I"\$(LINUXDIR)/include"_g'>>\$(obj)/flags
1933         echo LINUX_LDFLAGS=\"\" >>\$(obj)/flags
1934         echo LINUX_ARFLAGS=\"\$(ARFLAGS)\" >>\$(obj)/flags
1935         echo LINUX_CROSS_COMPILE=\"\$(CROSS_COMPILE)\" >>\$(obj)/flags
1936         echo LINUX_KERNELRELEASE=\"\$(KERNELRELEASE)\" >>\$(obj)/flags
1937         echo LINUX_CFLAGS=\"\$(CFLAGS)\" | sed 's_Iinclude_I"\$(LINUXDIR)/include"_g'>>\$(obj)/flags
1938         echo LINUX_CC=\"\$(CC)\" >>\$(obj)/flags
1939         echo LINUX_LD=\"\$(LD) \$(LDFLAGS)\" >>\$(obj)/flags
1940         echo LINUX_AS=\"\$(AS)\" >>\$(obj)/flags
1941 EOF
1942
1943         echo ${MAKE-make} -C ${LINUX_DIR} V=1 SUBDIRS=${tmpdir} LINUXDIR=${LINUX_DIR} MODVERDIR=${tmpdir} modules >&5 2>&5
1944         ${MAKE-make} -C ${LINUX_DIR} V=1 SUBDIRS=${tmpdir} LINUXDIR=${LINUX_DIR} MODVERDIR=${tmpdir} modules >&5 2>&5
1945         . ${tmpdir}/flags
1946         rm -rf ${tmpdir}
1947
1948         LINUX_MODULE_EXT=".ko"
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962         echo "$as_me:$LINENO: result: ok" >&5
1963 echo "${ECHO_T}ok" >&6
1964
1965                 ;;
1966             2.[01234])
1967
1968         echo "$as_me:$LINENO: checking for Linux CFLAGS" >&5
1969 echo $ECHO_N "checking for Linux CFLAGS... $ECHO_C" >&6
1970
1971         if [ ! -f "${LINUX_DIR}/.hdepend" ];then
1972                 { { echo "$as_me:$LINENO: error:
1973 You need to run 'make dep' on the kernel source before continuing." >&5
1974 echo "$as_me: error:
1975 You need to run 'make dep' on the kernel source before continuing." >&2;}
1976    { (exit 1); exit 1; }; }
1977         fi
1978
1979         tmpdir="`pwd`/tmp-noicrwa"
1980
1981         rm -rf ${tmpdir}
1982         mkdir ${tmpdir}
1983
1984         cat >${tmpdir}/Makefile <<EOF
1985
1986 .PHONY: modules
1987 modules:
1988         echo LINUX_ARCH=\"\$(ARCH)\" >>flags
1989         echo LINUX_AFLAGS=\"\$(AFLAGS)\" | sed 's_Iinclude_I\"\$(LINUXDIR)/include\"_g'>>flags
1990         echo LINUX_LDFLAGS=\"\" >>flags
1991         echo LINUX_ARFLAGS=\"\$(ARFLAGS)\" >>flags
1992         echo LINUX_CROSS_COMPILE=\"\$(CROSS_COMPILE)\" >>flags
1993         echo LINUX_KERNELRELEASE=\"\$(KERNELRELEASE)\" >>flags
1994         echo LINUX_CFLAGS=\"\$(CFLAGS)\" | sed 's_Iinclude_I\"\$(LINUXDIR)/include\"_g'>>flags
1995         echo LINUX_CC=\"\$(CC)\" >>flags
1996         echo LINUX_LD=\"\$(LD) \$(LDFLAGS)\" >>flags
1997         echo LINUX_AS=\"\$(AS)\" >>flags
1998 EOF
1999
2000         echo ${MAKE-make} -C ${LINUX_DIR} SUBDIRS=${tmpdir} modules >&5 2>&5
2001         ${MAKE-make} -C ${LINUX_DIR} SUBDIRS=${tmpdir} modules >&5 2>&5
2002         . ${tmpdir}/flags
2003         rm -rf ${tmpdir}
2004
2005         LINUX_MODULE_EXT=".o"
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019         echo "$as_me:$LINENO: result: ok" >&5
2020 echo "${ECHO_T}ok" >&6
2021
2022                 ;;
2023             *)
2024                 { { echo "$as_me:$LINENO: error: Unknown Linux major.minor $LINUX_VERSION_MAJOR.$LINUX_VERSION_MINOR" >&5
2025 echo "$as_me: error: Unknown Linux major.minor $LINUX_VERSION_MAJOR.$LINUX_VERSION_MINOR" >&2;}
2026    { (exit 1); exit 1; }; }
2027                 ;;
2028           esac
2029         else
2030           echo "$as_me:$LINENO: result: \"none\"" >&5
2031 echo "${ECHO_T}\"none\"" >&6
2032         fi
2033
2034
2035
2036
2037 # Check whether --with-rtaidir or --without-rtaidir was given.
2038 if test "${with_rtaidir+set}" = set; then
2039   withval="$with_rtaidir"
2040   RTAI_DIR="${withval}"
2041 else
2042   RTAI_DIR=/usr/src/rtai
2043 fi;
2044
2045
2046
2047         echo "$as_me:$LINENO: checking Linux config option CONFIG_RTHAL" >&5
2048 echo $ECHO_N "checking Linux config option CONFIG_RTHAL... $ECHO_C" >&6
2049
2050         if grep '^CONFIG_RTHAL=y$' ${LINUX_DIR}/.config >/dev/null 2>/dev/null; then
2051                 result=yes
2052                 CONFIG_RTHAL=yes
2053         else if grep '^CONFIG_RTHAL=m$' ${LINUX_DIR}/.config >/dev/null 2>/dev/null; then
2054                 result=module
2055                 CONFIG_RTHAL=module
2056         else
2057                 result=no
2058                 CONFIG_RTHAL=no
2059         fi
2060         fi
2061
2062         echo "$as_me:$LINENO: result: $result" >&5
2063 echo "${ECHO_T}$result" >&6
2064
2065
2066
2067
2068 if test "${CONFIG_RTHAL}" = yes -o "${CONFIG_RTHAL}" = module; then
2069   CONFIG_RTHAL_TRUE=
2070   CONFIG_RTHAL_FALSE='#'
2071 else
2072   CONFIG_RTHAL_TRUE='#'
2073   CONFIG_RTHAL_FALSE=
2074 fi
2075
2076
2077
2078         if test "${CONFIG_RTHAL}" != "no" ; then
2079                 echo "$as_me:$LINENO: checking RTAI directory ${RTAI_DIR}" >&5
2080 echo $ECHO_N "checking RTAI directory ${RTAI_DIR}... $ECHO_C" >&6
2081                 if [ -d ${RTAI_DIR}/include ] ; then
2082                         RTAI_CFLAGS="-I${RTAI_DIR}/include"
2083                 else
2084                         if  -d ${RTAI_DIR}/rtai-core/include  ; then
2085                                 RTAI_CFLAGS="-I${RTAI_DIR}/rtai-core/include"
2086                         else
2087                                 { { echo "$as_me:$LINENO: error: incorrect RTAI directory?" >&5
2088 echo "$as_me: error: incorrect RTAI directory?" >&2;}
2089    { (exit 1); exit 1; }; }
2090                         fi
2091                 fi
2092                 USE_RTAI=yes
2093                 echo "$as_me:$LINENO: result: found" >&5
2094 echo "${ECHO_T}found" >&6
2095
2096 cat >>confdefs.h <<\_ACEOF
2097 #define CONFIG_ORTE_RTAI 1
2098 _ACEOF
2099
2100         else
2101                 USE_RTAI=no
2102         fi
2103
2104
2105
2106
2107
2108 # Check whether --with-rtlinuxdir or --without-rtlinuxdir was given.
2109 if test "${with_rtlinuxdir+set}" = set; then
2110   withval="$with_rtlinuxdir"
2111   RTL_DIR="${withval}"
2112 else
2113   RTL_DIR=/usr/src/rtlinux
2114 fi;
2115
2116
2117
2118         echo "$as_me:$LINENO: checking Linux config option CONFIG_RTLINUX" >&5
2119 echo $ECHO_N "checking Linux config option CONFIG_RTLINUX... $ECHO_C" >&6
2120
2121         if grep '^CONFIG_RTLINUX=y$' ${LINUX_DIR}/.config >/dev/null 2>/dev/null; then
2122                 result=yes
2123                 CONFIG_RTLINUX=yes
2124         else if grep '^CONFIG_RTLINUX=m$' ${LINUX_DIR}/.config >/dev/null 2>/dev/null; then
2125                 result=module
2126                 CONFIG_RTLINUX=module
2127         else
2128                 result=no
2129                 CONFIG_RTLINUX=no
2130         fi
2131         fi
2132
2133         echo "$as_me:$LINENO: result: $result" >&5
2134 echo "${ECHO_T}$result" >&6
2135
2136
2137
2138
2139 if test "${CONFIG_RTLINUX}" = yes -o "${CONFIG_RTLINUX}" = module; then
2140   CONFIG_RTLINUX_TRUE=
2141   CONFIG_RTLINUX_FALSE='#'
2142 else
2143   CONFIG_RTLINUX_TRUE='#'
2144   CONFIG_RTLINUX_FALSE=
2145 fi
2146
2147
2148
2149         if test "${CONFIG_RTLINUX}" != "no" ; then
2150                 echo "$as_me:$LINENO: checking RTLinux directory ${RTL_DIR} for rtl.mk" >&5
2151 echo $ECHO_N "checking RTLinux directory ${RTL_DIR} for rtl.mk... $ECHO_C" >&6
2152                 if [ -d ${RTL_DIR}/include ] ; then
2153                         RTLINUX_CFLAGS=`sed -n -e 's/^CFLAGS *=\(.*\)$/\1/p' ${RTL_DIR}/rtl.mk`
2154                 else
2155                         { { echo "$as_me:$LINENO: error: incorrect RTLinux directory?" >&5
2156 echo "$as_me: error: incorrect RTLinux directory?" >&2;}
2157    { (exit 1); exit 1; }; }
2158                 fi
2159                 echo "$as_me:$LINENO: result: found" >&5
2160 echo "${ECHO_T}found" >&6
2161
2162 cat >>confdefs.h <<\_ACEOF
2163 #define CONFIG_ORTE_RTL 1
2164 _ACEOF
2165
2166                 USE_RTLINUX=yes
2167         else
2168                 USE_RTLINUX=no
2169         fi
2170
2171
2172         if test ${USE_RTAI} == "yes" -o ${USE_RTLINUX} == "yes" ; then
2173
2174 cat >>confdefs.h <<\_ACEOF
2175 #define CONFIG_ORTE_RT 1
2176 _ACEOF
2177
2178                 CONFIG_ORTE_RT="yes"
2179         fi
2180
2181
2182
2183 if test ${USE_RTAI} == "yes"; then
2184   USE_RTAI_TRUE=
2185   USE_RTAI_FALSE='#'
2186 else
2187   USE_RTAI_TRUE='#'
2188   USE_RTAI_FALSE=
2189 fi
2190
2191
2192
2193 if test ${USE_RTLINUX} == "yes"; then
2194   USE_RTLINUX_TRUE=
2195   USE_RTLINUX_FALSE='#'
2196 else
2197   USE_RTLINUX_TRUE='#'
2198   USE_RTLINUX_FALSE=
2199 fi
2200
2201
2202
2203 if test ${USE_RTAI} == "yes" -o ${USE_RTLINUX} == "yes"; then
2204   CONFIG_ORTE_RT_TRUE=
2205   CONFIG_ORTE_RT_FALSE='#'
2206 else
2207   CONFIG_ORTE_RT_TRUE='#'
2208   CONFIG_ORTE_RT_FALSE=
2209 fi
2210
2211
2212
2213
2214 ###############################
2215 # Package info
2216 ORTE_MAJOR_VERSION=0
2217 ORTE_MINOR_VERSION=2
2218 ORTE_MICRO_VERSION=0
2219 ORTE_VERSION=$ORTE_MAJOR_VERSION.$ORTE_MINOR_VERSION.$ORTE_MICRO_VERSION
2220
2221
2222
2223
2224
2225
2226 ###############################
2227 # modules
2228 moduledir="\$(libdir)/modules/\$(LINUX_KERNELRELEASE)/orte"
2229 modulePROGRAMS_INSTALL="\$(top_builddir)/modtool --install"
2230 modulePROGRAMS_UNINSTALL="\$(top_builddir)/modtool --uninstall"
2231
2232
2233
2234 ###############################
2235 # Checks for programs.
2236 ac_ext=c
2237 ac_cpp='$CPP $CPPFLAGS'
2238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2241 if test -n "$ac_tool_prefix"; then
2242   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2243 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2244 echo "$as_me:$LINENO: checking for $ac_word" >&5
2245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2246 if test "${ac_cv_prog_CC+set}" = set; then
2247   echo $ECHO_N "(cached) $ECHO_C" >&6
2248 else
2249   if test -n "$CC"; then
2250   ac_cv_prog_CC="$CC" # Let the user override the test.
2251 else
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2253 for as_dir in $PATH
2254 do
2255   IFS=$as_save_IFS
2256   test -z "$as_dir" && as_dir=.
2257   for ac_exec_ext in '' $ac_executable_extensions; do
2258   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2259     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2260     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2261     break 2
2262   fi
2263 done
2264 done
2265
2266 fi
2267 fi
2268 CC=$ac_cv_prog_CC
2269 if test -n "$CC"; then
2270   echo "$as_me:$LINENO: result: $CC" >&5
2271 echo "${ECHO_T}$CC" >&6
2272 else
2273   echo "$as_me:$LINENO: result: no" >&5
2274 echo "${ECHO_T}no" >&6
2275 fi
2276
2277 fi
2278 if test -z "$ac_cv_prog_CC"; then
2279   ac_ct_CC=$CC
2280   # Extract the first word of "gcc", so it can be a program name with args.
2281 set dummy gcc; ac_word=$2
2282 echo "$as_me:$LINENO: checking for $ac_word" >&5
2283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2284 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2285   echo $ECHO_N "(cached) $ECHO_C" >&6
2286 else
2287   if test -n "$ac_ct_CC"; then
2288   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2289 else
2290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2291 for as_dir in $PATH
2292 do
2293   IFS=$as_save_IFS
2294   test -z "$as_dir" && as_dir=.
2295   for ac_exec_ext in '' $ac_executable_extensions; do
2296   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2297     ac_cv_prog_ac_ct_CC="gcc"
2298     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2299     break 2
2300   fi
2301 done
2302 done
2303
2304 fi
2305 fi
2306 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2307 if test -n "$ac_ct_CC"; then
2308   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2309 echo "${ECHO_T}$ac_ct_CC" >&6
2310 else
2311   echo "$as_me:$LINENO: result: no" >&5
2312 echo "${ECHO_T}no" >&6
2313 fi
2314
2315   CC=$ac_ct_CC
2316 else
2317   CC="$ac_cv_prog_CC"
2318 fi
2319
2320 if test -z "$CC"; then
2321   if test -n "$ac_tool_prefix"; then
2322   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2323 set dummy ${ac_tool_prefix}cc; ac_word=$2
2324 echo "$as_me:$LINENO: checking for $ac_word" >&5
2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2326 if test "${ac_cv_prog_CC+set}" = set; then
2327   echo $ECHO_N "(cached) $ECHO_C" >&6
2328 else
2329   if test -n "$CC"; then
2330   ac_cv_prog_CC="$CC" # Let the user override the test.
2331 else
2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333 for as_dir in $PATH
2334 do
2335   IFS=$as_save_IFS
2336   test -z "$as_dir" && as_dir=.
2337   for ac_exec_ext in '' $ac_executable_extensions; do
2338   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2339     ac_cv_prog_CC="${ac_tool_prefix}cc"
2340     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341     break 2
2342   fi
2343 done
2344 done
2345
2346 fi
2347 fi
2348 CC=$ac_cv_prog_CC
2349 if test -n "$CC"; then
2350   echo "$as_me:$LINENO: result: $CC" >&5
2351 echo "${ECHO_T}$CC" >&6
2352 else
2353   echo "$as_me:$LINENO: result: no" >&5
2354 echo "${ECHO_T}no" >&6
2355 fi
2356
2357 fi
2358 if test -z "$ac_cv_prog_CC"; then
2359   ac_ct_CC=$CC
2360   # Extract the first word of "cc", so it can be a program name with args.
2361 set dummy cc; ac_word=$2
2362 echo "$as_me:$LINENO: checking for $ac_word" >&5
2363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2364 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2365   echo $ECHO_N "(cached) $ECHO_C" >&6
2366 else
2367   if test -n "$ac_ct_CC"; then
2368   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2369 else
2370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 for as_dir in $PATH
2372 do
2373   IFS=$as_save_IFS
2374   test -z "$as_dir" && as_dir=.
2375   for ac_exec_ext in '' $ac_executable_extensions; do
2376   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2377     ac_cv_prog_ac_ct_CC="cc"
2378     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379     break 2
2380   fi
2381 done
2382 done
2383
2384 fi
2385 fi
2386 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2387 if test -n "$ac_ct_CC"; then
2388   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2389 echo "${ECHO_T}$ac_ct_CC" >&6
2390 else
2391   echo "$as_me:$LINENO: result: no" >&5
2392 echo "${ECHO_T}no" >&6
2393 fi
2394
2395   CC=$ac_ct_CC
2396 else
2397   CC="$ac_cv_prog_CC"
2398 fi
2399
2400 fi
2401 if test -z "$CC"; then
2402   # Extract the first word of "cc", so it can be a program name with args.
2403 set dummy cc; ac_word=$2
2404 echo "$as_me:$LINENO: checking for $ac_word" >&5
2405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2406 if test "${ac_cv_prog_CC+set}" = set; then
2407   echo $ECHO_N "(cached) $ECHO_C" >&6
2408 else
2409   if test -n "$CC"; then
2410   ac_cv_prog_CC="$CC" # Let the user override the test.
2411 else
2412   ac_prog_rejected=no
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2414 for as_dir in $PATH
2415 do
2416   IFS=$as_save_IFS
2417   test -z "$as_dir" && as_dir=.
2418   for ac_exec_ext in '' $ac_executable_extensions; do
2419   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2420     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2421        ac_prog_rejected=yes
2422        continue
2423      fi
2424     ac_cv_prog_CC="cc"
2425     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2426     break 2
2427   fi
2428 done
2429 done
2430
2431 if test $ac_prog_rejected = yes; then
2432   # We found a bogon in the path, so make sure we never use it.
2433   set dummy $ac_cv_prog_CC
2434   shift
2435   if test $# != 0; then
2436     # We chose a different compiler from the bogus one.
2437     # However, it has the same basename, so the bogon will be chosen
2438     # first if we set CC to just the basename; use the full file name.
2439     shift
2440     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2441   fi
2442 fi
2443 fi
2444 fi
2445 CC=$ac_cv_prog_CC
2446 if test -n "$CC"; then
2447   echo "$as_me:$LINENO: result: $CC" >&5
2448 echo "${ECHO_T}$CC" >&6
2449 else
2450   echo "$as_me:$LINENO: result: no" >&5
2451 echo "${ECHO_T}no" >&6
2452 fi
2453
2454 fi
2455 if test -z "$CC"; then
2456   if test -n "$ac_tool_prefix"; then
2457   for ac_prog in cl
2458   do
2459     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2460 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2461 echo "$as_me:$LINENO: checking for $ac_word" >&5
2462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2463 if test "${ac_cv_prog_CC+set}" = set; then
2464   echo $ECHO_N "(cached) $ECHO_C" >&6
2465 else
2466   if test -n "$CC"; then
2467   ac_cv_prog_CC="$CC" # Let the user override the test.
2468 else
2469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2470 for as_dir in $PATH
2471 do
2472   IFS=$as_save_IFS
2473   test -z "$as_dir" && as_dir=.
2474   for ac_exec_ext in '' $ac_executable_extensions; do
2475   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2476     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2477     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2478     break 2
2479   fi
2480 done
2481 done
2482
2483 fi
2484 fi
2485 CC=$ac_cv_prog_CC
2486 if test -n "$CC"; then
2487   echo "$as_me:$LINENO: result: $CC" >&5
2488 echo "${ECHO_T}$CC" >&6
2489 else
2490   echo "$as_me:$LINENO: result: no" >&5
2491 echo "${ECHO_T}no" >&6
2492 fi
2493
2494     test -n "$CC" && break
2495   done
2496 fi
2497 if test -z "$CC"; then
2498   ac_ct_CC=$CC
2499   for ac_prog in cl
2500 do
2501   # Extract the first word of "$ac_prog", so it can be a program name with args.
2502 set dummy $ac_prog; ac_word=$2
2503 echo "$as_me:$LINENO: checking for $ac_word" >&5
2504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2505 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2506   echo $ECHO_N "(cached) $ECHO_C" >&6
2507 else
2508   if test -n "$ac_ct_CC"; then
2509   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2510 else
2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 for as_dir in $PATH
2513 do
2514   IFS=$as_save_IFS
2515   test -z "$as_dir" && as_dir=.
2516   for ac_exec_ext in '' $ac_executable_extensions; do
2517   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2518     ac_cv_prog_ac_ct_CC="$ac_prog"
2519     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2520     break 2
2521   fi
2522 done
2523 done
2524
2525 fi
2526 fi
2527 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2528 if test -n "$ac_ct_CC"; then
2529   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2530 echo "${ECHO_T}$ac_ct_CC" >&6
2531 else
2532   echo "$as_me:$LINENO: result: no" >&5
2533 echo "${ECHO_T}no" >&6
2534 fi
2535
2536   test -n "$ac_ct_CC" && break
2537 done
2538
2539   CC=$ac_ct_CC
2540 fi
2541
2542 fi
2543
2544
2545 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2546 See \`config.log' for more details." >&5
2547 echo "$as_me: error: no acceptable C compiler found in \$PATH
2548 See \`config.log' for more details." >&2;}
2549    { (exit 1); exit 1; }; }
2550
2551 # Provide some information about the compiler.
2552 echo "$as_me:$LINENO:" \
2553      "checking for C compiler version" >&5
2554 ac_compiler=`set X $ac_compile; echo $2`
2555 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2556   (eval $ac_compiler --version </dev/null >&5) 2>&5
2557   ac_status=$?
2558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559   (exit $ac_status); }
2560 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2561   (eval $ac_compiler -v </dev/null >&5) 2>&5
2562   ac_status=$?
2563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564   (exit $ac_status); }
2565 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2566   (eval $ac_compiler -V </dev/null >&5) 2>&5
2567   ac_status=$?
2568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569   (exit $ac_status); }
2570
2571 cat >conftest.$ac_ext <<_ACEOF
2572 #line $LINENO "configure"
2573 /* confdefs.h.  */
2574 _ACEOF
2575 cat confdefs.h >>conftest.$ac_ext
2576 cat >>conftest.$ac_ext <<_ACEOF
2577 /* end confdefs.h.  */
2578
2579 int
2580 main ()
2581 {
2582
2583   ;
2584   return 0;
2585 }
2586 _ACEOF
2587 ac_clean_files_save=$ac_clean_files
2588 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2589 # Try to create an executable without -o first, disregard a.out.
2590 # It will help us diagnose broken compilers, and finding out an intuition
2591 # of exeext.
2592 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2593 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2594 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2595 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2596   (eval $ac_link_default) 2>&5
2597   ac_status=$?
2598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599   (exit $ac_status); }; then
2600   # Find the output, starting from the most likely.  This scheme is
2601 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2602 # resort.
2603
2604 # Be careful to initialize this variable, since it used to be cached.
2605 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2606 ac_cv_exeext=
2607 # b.out is created by i960 compilers.
2608 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2609 do
2610   test -f "$ac_file" || continue
2611   case $ac_file in
2612     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2613         ;;
2614     conftest.$ac_ext )
2615         # This is the source file.
2616         ;;
2617     [ab].out )
2618         # We found the default executable, but exeext='' is most
2619         # certainly right.
2620         break;;
2621     *.* )
2622         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2623         # FIXME: I believe we export ac_cv_exeext for Libtool,
2624         # but it would be cool to find out if it's true.  Does anybody
2625         # maintain Libtool? --akim.
2626         export ac_cv_exeext
2627         break;;
2628     * )
2629         break;;
2630   esac
2631 done
2632 else
2633   echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.$ac_ext >&5
2635
2636 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2637 See \`config.log' for more details." >&5
2638 echo "$as_me: error: C compiler cannot create executables
2639 See \`config.log' for more details." >&2;}
2640    { (exit 77); exit 77; }; }
2641 fi
2642
2643 ac_exeext=$ac_cv_exeext
2644 echo "$as_me:$LINENO: result: $ac_file" >&5
2645 echo "${ECHO_T}$ac_file" >&6
2646
2647 # Check the compiler produces executables we can run.  If not, either
2648 # the compiler is broken, or we cross compile.
2649 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2650 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2651 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2652 # If not cross compiling, check that we can run a simple program.
2653 if test "$cross_compiling" != yes; then
2654   if { ac_try='./$ac_file'
2655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2656   (eval $ac_try) 2>&5
2657   ac_status=$?
2658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659   (exit $ac_status); }; }; then
2660     cross_compiling=no
2661   else
2662     if test "$cross_compiling" = maybe; then
2663         cross_compiling=yes
2664     else
2665         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2666 If you meant to cross compile, use \`--host'.
2667 See \`config.log' for more details." >&5
2668 echo "$as_me: error: cannot run C compiled programs.
2669 If you meant to cross compile, use \`--host'.
2670 See \`config.log' for more details." >&2;}
2671    { (exit 1); exit 1; }; }
2672     fi
2673   fi
2674 fi
2675 echo "$as_me:$LINENO: result: yes" >&5
2676 echo "${ECHO_T}yes" >&6
2677
2678 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2679 ac_clean_files=$ac_clean_files_save
2680 # Check the compiler produces executables we can run.  If not, either
2681 # the compiler is broken, or we cross compile.
2682 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2683 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2684 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2685 echo "${ECHO_T}$cross_compiling" >&6
2686
2687 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2688 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2690   (eval $ac_link) 2>&5
2691   ac_status=$?
2692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693   (exit $ac_status); }; then
2694   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2695 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2696 # work properly (i.e., refer to `conftest.exe'), while it won't with
2697 # `rm'.
2698 for ac_file in conftest.exe conftest conftest.*; do
2699   test -f "$ac_file" || continue
2700   case $ac_file in
2701     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2702     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2703           export ac_cv_exeext
2704           break;;
2705     * ) break;;
2706   esac
2707 done
2708 else
2709   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2710 See \`config.log' for more details." >&5
2711 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2712 See \`config.log' for more details." >&2;}
2713    { (exit 1); exit 1; }; }
2714 fi
2715
2716 rm -f conftest$ac_cv_exeext
2717 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2718 echo "${ECHO_T}$ac_cv_exeext" >&6
2719
2720 rm -f conftest.$ac_ext
2721 EXEEXT=$ac_cv_exeext
2722 ac_exeext=$EXEEXT
2723 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2724 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2725 if test "${ac_cv_objext+set}" = set; then
2726   echo $ECHO_N "(cached) $ECHO_C" >&6
2727 else
2728   cat >conftest.$ac_ext <<_ACEOF
2729 #line $LINENO "configure"
2730 /* confdefs.h.  */
2731 _ACEOF
2732 cat confdefs.h >>conftest.$ac_ext
2733 cat >>conftest.$ac_ext <<_ACEOF
2734 /* end confdefs.h.  */
2735
2736 int
2737 main ()
2738 {
2739
2740   ;
2741   return 0;
2742 }
2743 _ACEOF
2744 rm -f conftest.o conftest.obj
2745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2746   (eval $ac_compile) 2>&5
2747   ac_status=$?
2748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749   (exit $ac_status); }; then
2750   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2751   case $ac_file in
2752     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2753     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2754        break;;
2755   esac
2756 done
2757 else
2758   echo "$as_me: failed program was:" >&5
2759 sed 's/^/| /' conftest.$ac_ext >&5
2760
2761 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2762 See \`config.log' for more details." >&5
2763 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2764 See \`config.log' for more details." >&2;}
2765    { (exit 1); exit 1; }; }
2766 fi
2767
2768 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2769 fi
2770 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2771 echo "${ECHO_T}$ac_cv_objext" >&6
2772 OBJEXT=$ac_cv_objext
2773 ac_objext=$OBJEXT
2774 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2775 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2776 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2777   echo $ECHO_N "(cached) $ECHO_C" >&6
2778 else
2779   cat >conftest.$ac_ext <<_ACEOF
2780 #line $LINENO "configure"
2781 /* confdefs.h.  */
2782 _ACEOF
2783 cat confdefs.h >>conftest.$ac_ext
2784 cat >>conftest.$ac_ext <<_ACEOF
2785 /* end confdefs.h.  */
2786
2787 int
2788 main ()
2789 {
2790 #ifndef __GNUC__
2791        choke me
2792 #endif
2793
2794   ;
2795   return 0;
2796 }
2797 _ACEOF
2798 rm -f conftest.$ac_objext
2799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2800   (eval $ac_compile) 2>&5
2801   ac_status=$?
2802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803   (exit $ac_status); } &&
2804          { ac_try='test -s conftest.$ac_objext'
2805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2806   (eval $ac_try) 2>&5
2807   ac_status=$?
2808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809   (exit $ac_status); }; }; then
2810   ac_compiler_gnu=yes
2811 else
2812   echo "$as_me: failed program was:" >&5
2813 sed 's/^/| /' conftest.$ac_ext >&5
2814
2815 ac_compiler_gnu=no
2816 fi
2817 rm -f conftest.$ac_objext conftest.$ac_ext
2818 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2819
2820 fi
2821 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2822 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2823 GCC=`test $ac_compiler_gnu = yes && echo yes`
2824 ac_test_CFLAGS=${CFLAGS+set}
2825 ac_save_CFLAGS=$CFLAGS
2826 CFLAGS="-g"
2827 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2828 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2829 if test "${ac_cv_prog_cc_g+set}" = set; then
2830   echo $ECHO_N "(cached) $ECHO_C" >&6
2831 else
2832   cat >conftest.$ac_ext <<_ACEOF
2833 #line $LINENO "configure"
2834 /* confdefs.h.  */
2835 _ACEOF
2836 cat confdefs.h >>conftest.$ac_ext
2837 cat >>conftest.$ac_ext <<_ACEOF
2838 /* end confdefs.h.  */
2839
2840 int
2841 main ()
2842 {
2843
2844   ;
2845   return 0;
2846 }
2847 _ACEOF
2848 rm -f conftest.$ac_objext
2849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2850   (eval $ac_compile) 2>&5
2851   ac_status=$?
2852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853   (exit $ac_status); } &&
2854          { ac_try='test -s conftest.$ac_objext'
2855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2856   (eval $ac_try) 2>&5
2857   ac_status=$?
2858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859   (exit $ac_status); }; }; then
2860   ac_cv_prog_cc_g=yes
2861 else
2862   echo "$as_me: failed program was:" >&5
2863 sed 's/^/| /' conftest.$ac_ext >&5
2864
2865 ac_cv_prog_cc_g=no
2866 fi
2867 rm -f conftest.$ac_objext conftest.$ac_ext
2868 fi
2869 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2870 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2871 if test "$ac_test_CFLAGS" = set; then
2872   CFLAGS=$ac_save_CFLAGS
2873 elif test $ac_cv_prog_cc_g = yes; then
2874   if test "$GCC" = yes; then
2875     CFLAGS="-g -O2"
2876   else
2877     CFLAGS="-g"
2878   fi
2879 else
2880   if test "$GCC" = yes; then
2881     CFLAGS="-O2"
2882   else
2883     CFLAGS=
2884   fi
2885 fi
2886 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2887 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2888 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2889   echo $ECHO_N "(cached) $ECHO_C" >&6
2890 else
2891   ac_cv_prog_cc_stdc=no
2892 ac_save_CC=$CC
2893 cat >conftest.$ac_ext <<_ACEOF
2894 #line $LINENO "configure"
2895 /* confdefs.h.  */
2896 _ACEOF
2897 cat confdefs.h >>conftest.$ac_ext
2898 cat >>conftest.$ac_ext <<_ACEOF
2899 /* end confdefs.h.  */
2900 #include <stdarg.h>
2901 #include <stdio.h>
2902 #include <sys/types.h>
2903 #include <sys/stat.h>
2904 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2905 struct buf { int x; };
2906 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2907 static char *e (p, i)
2908      char **p;
2909      int i;
2910 {
2911   return p[i];
2912 }
2913 static char *f (char * (*g) (char **, int), char **p, ...)
2914 {
2915   char *s;
2916   va_list v;
2917   va_start (v,p);
2918   s = g (p, va_arg (v,int));
2919   va_end (v);
2920   return s;
2921 }
2922 int test (int i, double x);
2923 struct s1 {int (*f) (int a);};
2924 struct s2 {int (*f) (double a);};
2925 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2926 int argc;
2927 char **argv;
2928 int
2929 main ()
2930 {
2931 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2932   ;
2933   return 0;
2934 }
2935 _ACEOF
2936 # Don't try gcc -ansi; that turns off useful extensions and
2937 # breaks some systems' header files.
2938 # AIX                   -qlanglvl=ansi
2939 # Ultrix and OSF/1      -std1
2940 # HP-UX 10.20 and later -Ae
2941 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2942 # SVR4                  -Xc -D__EXTENSIONS__
2943 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2944 do
2945   CC="$ac_save_CC $ac_arg"
2946   rm -f conftest.$ac_objext
2947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2948   (eval $ac_compile) 2>&5
2949   ac_status=$?
2950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951   (exit $ac_status); } &&
2952          { ac_try='test -s conftest.$ac_objext'
2953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2954   (eval $ac_try) 2>&5
2955   ac_status=$?
2956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957   (exit $ac_status); }; }; then
2958   ac_cv_prog_cc_stdc=$ac_arg
2959 break
2960 else
2961   echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2963
2964 fi
2965 rm -f conftest.$ac_objext
2966 done
2967 rm -f conftest.$ac_ext conftest.$ac_objext
2968 CC=$ac_save_CC
2969
2970 fi
2971
2972 case "x$ac_cv_prog_cc_stdc" in
2973   x|xno)
2974     echo "$as_me:$LINENO: result: none needed" >&5
2975 echo "${ECHO_T}none needed" >&6 ;;
2976   *)
2977     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2978 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2979     CC="$CC $ac_cv_prog_cc_stdc" ;;
2980 esac
2981
2982 # Some people use a C++ compiler to compile C.  Since we use `exit',
2983 # in C++ we need to declare it.  In case someone uses the same compiler
2984 # for both compiling C and C++ we need to have the C++ compiler decide
2985 # the declaration of exit, since it's the most demanding environment.
2986 cat >conftest.$ac_ext <<_ACEOF
2987 #ifndef __cplusplus
2988   choke me
2989 #endif
2990 _ACEOF
2991 rm -f conftest.$ac_objext
2992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2993   (eval $ac_compile) 2>&5
2994   ac_status=$?
2995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996   (exit $ac_status); } &&
2997          { ac_try='test -s conftest.$ac_objext'
2998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2999   (eval $ac_try) 2>&5
3000   ac_status=$?
3001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002   (exit $ac_status); }; }; then
3003   for ac_declaration in \
3004    ''\
3005    '#include <stdlib.h>' \
3006    'extern "C" void std::exit (int) throw (); using std::exit;' \
3007    'extern "C" void std::exit (int); using std::exit;' \
3008    'extern "C" void exit (int) throw ();' \
3009    'extern "C" void exit (int);' \
3010    'void exit (int);'
3011 do
3012   cat >conftest.$ac_ext <<_ACEOF
3013 #line $LINENO "configure"
3014 /* confdefs.h.  */
3015 _ACEOF
3016 cat confdefs.h >>conftest.$ac_ext
3017 cat >>conftest.$ac_ext <<_ACEOF
3018 /* end confdefs.h.  */
3019 #include <stdlib.h>
3020 $ac_declaration
3021 int
3022 main ()
3023 {
3024 exit (42);
3025   ;
3026   return 0;
3027 }
3028 _ACEOF
3029 rm -f conftest.$ac_objext
3030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3031   (eval $ac_compile) 2>&5
3032   ac_status=$?
3033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034   (exit $ac_status); } &&
3035          { ac_try='test -s conftest.$ac_objext'
3036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3037   (eval $ac_try) 2>&5
3038   ac_status=$?
3039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040   (exit $ac_status); }; }; then
3041   :
3042 else
3043   echo "$as_me: failed program was:" >&5
3044 sed 's/^/| /' conftest.$ac_ext >&5
3045
3046 continue
3047 fi
3048 rm -f conftest.$ac_objext conftest.$ac_ext
3049   cat >conftest.$ac_ext <<_ACEOF
3050 #line $LINENO "configure"
3051 /* confdefs.h.  */
3052 _ACEOF
3053 cat confdefs.h >>conftest.$ac_ext
3054 cat >>conftest.$ac_ext <<_ACEOF
3055 /* end confdefs.h.  */
3056 $ac_declaration
3057 int
3058 main ()
3059 {
3060 exit (42);
3061   ;
3062   return 0;
3063 }
3064 _ACEOF
3065 rm -f conftest.$ac_objext
3066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3067   (eval $ac_compile) 2>&5
3068   ac_status=$?
3069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070   (exit $ac_status); } &&
3071          { ac_try='test -s conftest.$ac_objext'
3072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3073   (eval $ac_try) 2>&5
3074   ac_status=$?
3075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076   (exit $ac_status); }; }; then
3077   break
3078 else
3079   echo "$as_me: failed program was:" >&5
3080 sed 's/^/| /' conftest.$ac_ext >&5
3081
3082 fi
3083 rm -f conftest.$ac_objext conftest.$ac_ext
3084 done
3085 rm -f conftest*
3086 if test -n "$ac_declaration"; then
3087   echo '#ifdef __cplusplus' >>confdefs.h
3088   echo $ac_declaration      >>confdefs.h
3089   echo '#endif'             >>confdefs.h
3090 fi
3091
3092 else
3093   echo "$as_me: failed program was:" >&5
3094 sed 's/^/| /' conftest.$ac_ext >&5
3095
3096 fi
3097 rm -f conftest.$ac_objext conftest.$ac_ext
3098 ac_ext=c
3099 ac_cpp='$CPP $CPPFLAGS'
3100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3103 rm -f .deps 2>/dev/null
3104 mkdir .deps 2>/dev/null
3105 if test -d .deps; then
3106   DEPDIR=.deps
3107 else
3108   # MS-DOS does not allow filenames that begin with a dot.
3109   DEPDIR=_deps
3110 fi
3111 rmdir .deps 2>/dev/null
3112
3113
3114           ac_config_commands="$ac_config_commands depfiles"
3115
3116
3117 am_make=${MAKE-make}
3118 cat > confinc << 'END'
3119 doit:
3120         @echo done
3121 END
3122 # If we don't find an include directive, just comment out the code.
3123 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3124 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3125 am__include="#"
3126 am__quote=
3127 _am_result=none
3128 # First try GNU make style include.
3129 echo "include confinc" > confmf
3130 # We grep out `Entering directory' and `Leaving directory'
3131 # messages which can occur if `w' ends up in MAKEFLAGS.
3132 # In particular we don't look at `^make:' because GNU make might
3133 # be invoked under some other name (usually "gmake"), in which
3134 # case it prints its new name instead of `make'.
3135 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
3136    am__include=include
3137    am__quote=
3138    _am_result=GNU
3139 fi
3140 # Now try BSD make style include.
3141 if test "$am__include" = "#"; then
3142    echo '.include "confinc"' > confmf
3143    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3144       am__include=.include
3145       am__quote="\""
3146       _am_result=BSD
3147    fi
3148 fi
3149
3150
3151 echo "$as_me:$LINENO: result: $_am_result" >&5
3152 echo "${ECHO_T}$_am_result" >&6
3153 rm -f confinc confmf
3154
3155 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3156 if test "${enable_dependency_tracking+set}" = set; then
3157   enableval="$enable_dependency_tracking"
3158
3159 fi;
3160 if test "x$enable_dependency_tracking" != xno; then
3161   am_depcomp="$ac_aux_dir/depcomp"
3162   AMDEPBACKSLASH='\'
3163 fi
3164
3165
3166 if test "x$enable_dependency_tracking" != xno; then
3167   AMDEP_TRUE=
3168   AMDEP_FALSE='#'
3169 else
3170   AMDEP_TRUE='#'
3171   AMDEP_FALSE=
3172 fi
3173
3174
3175
3176
3177 depcc="$CC"   am_compiler_list=
3178
3179 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3180 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3181 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3182   echo $ECHO_N "(cached) $ECHO_C" >&6
3183 else
3184   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3185   # We make a subdir and do the tests there.  Otherwise we can end up
3186   # making bogus files that we don't know about and never remove.  For
3187   # instance it was reported that on HP-UX the gcc test will end up
3188   # making a dummy file named `D' -- because `-MD' means `put the output
3189   # in D'.
3190   mkdir conftest.dir
3191   # Copy depcomp to subdir because otherwise we won't find it if we're
3192   # using a relative directory.
3193   cp "$am_depcomp" conftest.dir
3194   cd conftest.dir
3195
3196   am_cv_CC_dependencies_compiler_type=none
3197   if test "$am_compiler_list" = ""; then
3198      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3199   fi
3200   for depmode in $am_compiler_list; do
3201     # We need to recreate these files for each test, as the compiler may
3202     # overwrite some of them when testing with obscure command lines.
3203     # This happens at least with the AIX C compiler.
3204     echo '#include "conftest.h"' > conftest.c
3205     echo 'int i;' > conftest.h
3206     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3207
3208     case $depmode in
3209     nosideeffect)
3210       # after this tag, mechanisms are not by side-effect, so they'll
3211       # only be used when explicitly requested
3212       if test "x$enable_dependency_tracking" = xyes; then
3213         continue
3214       else
3215         break
3216       fi
3217       ;;
3218     none) break ;;
3219     esac
3220     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3221     # mode.  It turns out that the SunPro C++ compiler does not properly
3222     # handle `-M -o', and we need to detect this.
3223     if depmode=$depmode \
3224        source=conftest.c object=conftest.o \
3225        depfile=conftest.Po tmpdepfile=conftest.TPo \
3226        $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
3227        grep conftest.h conftest.Po > /dev/null 2>&1 &&
3228        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3229       am_cv_CC_dependencies_compiler_type=$depmode
3230       break
3231     fi
3232   done
3233
3234   cd ..
3235   rm -rf conftest.dir
3236 else
3237   am_cv_CC_dependencies_compiler_type=none
3238 fi
3239
3240 fi
3241 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3242 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3243 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3244
3245
3246 if test -n "$ac_tool_prefix"; then
3247   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3248 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3249 echo "$as_me:$LINENO: checking for $ac_word" >&5
3250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3251 if test "${ac_cv_prog_RANLIB+set}" = set; then
3252   echo $ECHO_N "(cached) $ECHO_C" >&6
3253 else
3254   if test -n "$RANLIB"; then
3255   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3256 else
3257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3258 for as_dir in $PATH
3259 do
3260   IFS=$as_save_IFS
3261   test -z "$as_dir" && as_dir=.
3262   for ac_exec_ext in '' $ac_executable_extensions; do
3263   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3264     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3265     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3266     break 2
3267   fi
3268 done
3269 done
3270
3271 fi
3272 fi
3273 RANLIB=$ac_cv_prog_RANLIB
3274 if test -n "$RANLIB"; then
3275   echo "$as_me:$LINENO: result: $RANLIB" >&5
3276 echo "${ECHO_T}$RANLIB" >&6
3277 else
3278   echo "$as_me:$LINENO: result: no" >&5
3279 echo "${ECHO_T}no" >&6
3280 fi
3281
3282 fi
3283 if test -z "$ac_cv_prog_RANLIB"; then
3284   ac_ct_RANLIB=$RANLIB
3285   # Extract the first word of "ranlib", so it can be a program name with args.
3286 set dummy ranlib; ac_word=$2
3287 echo "$as_me:$LINENO: checking for $ac_word" >&5
3288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3289 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3290   echo $ECHO_N "(cached) $ECHO_C" >&6
3291 else
3292   if test -n "$ac_ct_RANLIB"; then
3293   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3294 else
3295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296 for as_dir in $PATH
3297 do
3298   IFS=$as_save_IFS
3299   test -z "$as_dir" && as_dir=.
3300   for ac_exec_ext in '' $ac_executable_extensions; do
3301   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3302     ac_cv_prog_ac_ct_RANLIB="ranlib"
3303     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3304     break 2
3305   fi
3306 done
3307 done
3308
3309   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3310 fi
3311 fi
3312 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3313 if test -n "$ac_ct_RANLIB"; then
3314   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3315 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3316 else
3317   echo "$as_me:$LINENO: result: no" >&5
3318 echo "${ECHO_T}no" >&6
3319 fi
3320
3321   RANLIB=$ac_ct_RANLIB
3322 else
3323   RANLIB="$ac_cv_prog_RANLIB"
3324 fi
3325
3326
3327 ###############################
3328 # Checks for libraries (no for RT)
3329 if test -z ${CONFIG_ORTE_RT} ; then
3330
3331
3332 echo "$as_me:$LINENO: checking for main in -lws2_32" >&5
3333 echo $ECHO_N "checking for main in -lws2_32... $ECHO_C" >&6
3334 if test "${ac_cv_lib_ws2_32_main+set}" = set; then
3335   echo $ECHO_N "(cached) $ECHO_C" >&6
3336 else
3337   ac_check_lib_save_LIBS=$LIBS
3338 LIBS="-lws2_32  $LIBS"
3339 cat >conftest.$ac_ext <<_ACEOF
3340 #line $LINENO "configure"
3341 /* confdefs.h.  */
3342 _ACEOF
3343 cat confdefs.h >>conftest.$ac_ext
3344 cat >>conftest.$ac_ext <<_ACEOF
3345 /* end confdefs.h.  */
3346
3347
3348 int
3349 main ()
3350 {
3351 main ();
3352   ;
3353   return 0;
3354 }
3355 _ACEOF
3356 rm -f conftest.$ac_objext conftest$ac_exeext
3357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3358   (eval $ac_link) 2>&5
3359   ac_status=$?
3360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361   (exit $ac_status); } &&
3362          { ac_try='test -s conftest$ac_exeext'
3363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3364   (eval $ac_try) 2>&5
3365   ac_status=$?
3366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367   (exit $ac_status); }; }; then
3368   ac_cv_lib_ws2_32_main=yes
3369 else
3370   echo "$as_me: failed program was:" >&5
3371 sed 's/^/| /' conftest.$ac_ext >&5
3372
3373 ac_cv_lib_ws2_32_main=no
3374 fi
3375 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3376 LIBS=$ac_check_lib_save_LIBS
3377 fi
3378 echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_main" >&5
3379 echo "${ECHO_T}$ac_cv_lib_ws2_32_main" >&6
3380 if test $ac_cv_lib_ws2_32_main = yes; then
3381   cat >>confdefs.h <<_ACEOF
3382 #define HAVE_LIBWS2_32 1
3383 _ACEOF
3384
3385   LIBS="-lws2_32 $LIBS"
3386
3387 fi
3388
3389
3390 echo "$as_me:$LINENO: checking for main in -lpthread" >&5
3391 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6
3392 if test "${ac_cv_lib_pthread_main+set}" = set; then
3393   echo $ECHO_N "(cached) $ECHO_C" >&6
3394 else
3395   ac_check_lib_save_LIBS=$LIBS
3396 LIBS="-lpthread  $LIBS"
3397 cat >conftest.$ac_ext <<_ACEOF
3398 #line $LINENO "configure"
3399 /* confdefs.h.  */
3400 _ACEOF
3401 cat confdefs.h >>conftest.$ac_ext
3402 cat >>conftest.$ac_ext <<_ACEOF
3403 /* end confdefs.h.  */
3404
3405
3406 int
3407 main ()
3408 {
3409 main ();
3410   ;
3411   return 0;
3412 }
3413 _ACEOF
3414 rm -f conftest.$ac_objext conftest$ac_exeext
3415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3416   (eval $ac_link) 2>&5
3417   ac_status=$?
3418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419   (exit $ac_status); } &&
3420          { ac_try='test -s conftest$ac_exeext'
3421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3422   (eval $ac_try) 2>&5
3423   ac_status=$?
3424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425   (exit $ac_status); }; }; then
3426   ac_cv_lib_pthread_main=yes
3427 else
3428   echo "$as_me: failed program was:" >&5
3429 sed 's/^/| /' conftest.$ac_ext >&5
3430
3431 ac_cv_lib_pthread_main=no
3432 fi
3433 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3434 LIBS=$ac_check_lib_save_LIBS
3435 fi
3436 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
3437 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
3438 if test $ac_cv_lib_pthread_main = yes; then
3439   cat >>confdefs.h <<_ACEOF
3440 #define HAVE_LIBPTHREAD 1
3441 _ACEOF
3442
3443   LIBS="-lpthread $LIBS"
3444
3445 fi
3446
3447 fi
3448
3449 ###############################
3450 # Checks for header files.
3451 if test -z ${CONFIG_ORTE_RT} ; then
3452 ac_ext=c
3453 ac_cpp='$CPP $CPPFLAGS'
3454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3457 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3458 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3459 # On Suns, sometimes $CPP names a directory.
3460 if test -n "$CPP" && test -d "$CPP"; then
3461   CPP=
3462 fi
3463 if test -z "$CPP"; then
3464   if test "${ac_cv_prog_CPP+set}" = set; then
3465   echo $ECHO_N "(cached) $ECHO_C" >&6
3466 else
3467       # Double quotes because CPP needs to be expanded
3468     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3469     do
3470       ac_preproc_ok=false
3471 for ac_c_preproc_warn_flag in '' yes
3472 do
3473   # Use a header file that comes with gcc, so configuring glibc
3474   # with a fresh cross-compiler works.
3475   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3476   # <limits.h> exists even on freestanding compilers.
3477   # On the NeXT, cc -E runs the code through the compiler's parser,
3478   # not just through cpp. "Syntax error" is here to catch this case.
3479   cat >conftest.$ac_ext <<_ACEOF
3480 #line $LINENO "configure"
3481 /* confdefs.h.  */
3482 _ACEOF
3483 cat confdefs.h >>conftest.$ac_ext
3484 cat >>conftest.$ac_ext <<_ACEOF
3485 /* end confdefs.h.  */
3486 #ifdef __STDC__
3487 # include <limits.h>
3488 #else
3489 # include <assert.h>
3490 #endif
3491                      Syntax error
3492 _ACEOF
3493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3494   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3495   ac_status=$?
3496   grep -v '^ *+' conftest.er1 >conftest.err
3497   rm -f conftest.er1
3498   cat conftest.err >&5
3499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500   (exit $ac_status); } >/dev/null; then
3501   if test -s conftest.err; then
3502     ac_cpp_err=$ac_c_preproc_warn_flag
3503   else
3504     ac_cpp_err=
3505   fi
3506 else
3507   ac_cpp_err=yes
3508 fi
3509 if test -z "$ac_cpp_err"; then
3510   :
3511 else
3512   echo "$as_me: failed program was:" >&5
3513 sed 's/^/| /' conftest.$ac_ext >&5
3514
3515   # Broken: fails on valid input.
3516 continue
3517 fi
3518 rm -f conftest.err conftest.$ac_ext
3519
3520   # OK, works on sane cases.  Now check whether non-existent headers
3521   # can be detected and how.
3522   cat >conftest.$ac_ext <<_ACEOF
3523 #line $LINENO "configure"
3524 /* confdefs.h.  */
3525 _ACEOF
3526 cat confdefs.h >>conftest.$ac_ext
3527 cat >>conftest.$ac_ext <<_ACEOF
3528 /* end confdefs.h.  */
3529 #include <ac_nonexistent.h>
3530 _ACEOF
3531 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3532   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3533   ac_status=$?
3534   grep -v '^ *+' conftest.er1 >conftest.err
3535   rm -f conftest.er1
3536   cat conftest.err >&5
3537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538   (exit $ac_status); } >/dev/null; then
3539   if test -s conftest.err; then
3540     ac_cpp_err=$ac_c_preproc_warn_flag
3541   else
3542     ac_cpp_err=
3543   fi
3544 else
3545   ac_cpp_err=yes
3546 fi
3547 if test -z "$ac_cpp_err"; then
3548   # Broken: success on invalid input.
3549 continue
3550 else
3551   echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.$ac_ext >&5
3553
3554   # Passes both tests.
3555 ac_preproc_ok=:
3556 break
3557 fi
3558 rm -f conftest.err conftest.$ac_ext
3559
3560 done
3561 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3562 rm -f conftest.err conftest.$ac_ext
3563 if $ac_preproc_ok; then
3564   break
3565 fi
3566
3567     done
3568     ac_cv_prog_CPP=$CPP
3569
3570 fi
3571   CPP=$ac_cv_prog_CPP
3572 else
3573   ac_cv_prog_CPP=$CPP
3574 fi
3575 echo "$as_me:$LINENO: result: $CPP" >&5
3576 echo "${ECHO_T}$CPP" >&6
3577 ac_preproc_ok=false
3578 for ac_c_preproc_warn_flag in '' yes
3579 do
3580   # Use a header file that comes with gcc, so configuring glibc
3581   # with a fresh cross-compiler works.
3582   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3583   # <limits.h> exists even on freestanding compilers.
3584   # On the NeXT, cc -E runs the code through the compiler's parser,
3585   # not just through cpp. "Syntax error" is here to catch this case.
3586   cat >conftest.$ac_ext <<_ACEOF
3587 #line $LINENO "configure"
3588 /* confdefs.h.  */
3589 _ACEOF
3590 cat confdefs.h >>conftest.$ac_ext
3591 cat >>conftest.$ac_ext <<_ACEOF
3592 /* end confdefs.h.  */
3593 #ifdef __STDC__
3594 # include <limits.h>
3595 #else
3596 # include <assert.h>
3597 #endif
3598                      Syntax error
3599 _ACEOF
3600 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3601   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3602   ac_status=$?
3603   grep -v '^ *+' conftest.er1 >conftest.err
3604   rm -f conftest.er1
3605   cat conftest.err >&5
3606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607   (exit $ac_status); } >/dev/null; then
3608   if test -s conftest.err; then
3609     ac_cpp_err=$ac_c_preproc_warn_flag
3610   else
3611     ac_cpp_err=
3612   fi
3613 else
3614   ac_cpp_err=yes
3615 fi
3616 if test -z "$ac_cpp_err"; then
3617   :
3618 else
3619   echo "$as_me: failed program was:" >&5
3620 sed 's/^/| /' conftest.$ac_ext >&5
3621
3622   # Broken: fails on valid input.
3623 continue
3624 fi
3625 rm -f conftest.err conftest.$ac_ext
3626
3627   # OK, works on sane cases.  Now check whether non-existent headers
3628   # can be detected and how.
3629   cat >conftest.$ac_ext <<_ACEOF
3630 #line $LINENO "configure"
3631 /* confdefs.h.  */
3632 _ACEOF
3633 cat confdefs.h >>conftest.$ac_ext
3634 cat >>conftest.$ac_ext <<_ACEOF
3635 /* end confdefs.h.  */
3636 #include <ac_nonexistent.h>
3637 _ACEOF
3638 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3639   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3640   ac_status=$?
3641   grep -v '^ *+' conftest.er1 >conftest.err
3642   rm -f conftest.er1
3643   cat conftest.err >&5
3644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645   (exit $ac_status); } >/dev/null; then
3646   if test -s conftest.err; then
3647     ac_cpp_err=$ac_c_preproc_warn_flag
3648   else
3649     ac_cpp_err=
3650   fi
3651 else
3652   ac_cpp_err=yes
3653 fi
3654 if test -z "$ac_cpp_err"; then
3655   # Broken: success on invalid input.
3656 continue
3657 else
3658   echo "$as_me: failed program was:" >&5
3659 sed 's/^/| /' conftest.$ac_ext >&5
3660
3661   # Passes both tests.
3662 ac_preproc_ok=:
3663 break
3664 fi
3665 rm -f conftest.err conftest.$ac_ext
3666
3667 done
3668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3669 rm -f conftest.err conftest.$ac_ext
3670 if $ac_preproc_ok; then
3671   :
3672 else
3673   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3674 See \`config.log' for more details." >&5
3675 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3676 See \`config.log' for more details." >&2;}
3677    { (exit 1); exit 1; }; }
3678 fi
3679
3680 ac_ext=c
3681 ac_cpp='$CPP $CPPFLAGS'
3682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3685
3686
3687 echo "$as_me:$LINENO: checking for egrep" >&5
3688 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3689 if test "${ac_cv_prog_egrep+set}" = set; then
3690   echo $ECHO_N "(cached) $ECHO_C" >&6
3691 else
3692   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3693     then ac_cv_prog_egrep='grep -E'
3694     else ac_cv_prog_egrep='egrep'
3695     fi
3696 fi
3697 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3698 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3699  EGREP=$ac_cv_prog_egrep
3700
3701
3702 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3703 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3704 if test "${ac_cv_header_stdc+set}" = set; then
3705   echo $ECHO_N "(cached) $ECHO_C" >&6
3706 else
3707   cat >conftest.$ac_ext <<_ACEOF
3708 #line $LINENO "configure"
3709 /* confdefs.h.  */
3710 _ACEOF
3711 cat confdefs.h >>conftest.$ac_ext
3712 cat >>conftest.$ac_ext <<_ACEOF
3713 /* end confdefs.h.  */
3714 #include <stdlib.h>
3715 #include <stdarg.h>
3716 #include <string.h>
3717 #include <float.h>
3718
3719 int
3720 main ()
3721 {
3722
3723   ;
3724   return 0;
3725 }
3726 _ACEOF
3727 rm -f conftest.$ac_objext
3728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3729   (eval $ac_compile) 2>&5
3730   ac_status=$?
3731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732   (exit $ac_status); } &&
3733          { ac_try='test -s conftest.$ac_objext'
3734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3735   (eval $ac_try) 2>&5
3736   ac_status=$?
3737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738   (exit $ac_status); }; }; then
3739   ac_cv_header_stdc=yes
3740 else
3741   echo "$as_me: failed program was:" >&5
3742 sed 's/^/| /' conftest.$ac_ext >&5
3743
3744 ac_cv_header_stdc=no
3745 fi
3746 rm -f conftest.$ac_objext conftest.$ac_ext
3747
3748 if test $ac_cv_header_stdc = yes; then
3749   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3750   cat >conftest.$ac_ext <<_ACEOF
3751 #line $LINENO "configure"
3752 /* confdefs.h.  */
3753 _ACEOF
3754 cat confdefs.h >>conftest.$ac_ext
3755 cat >>conftest.$ac_ext <<_ACEOF
3756 /* end confdefs.h.  */
3757 #include <string.h>
3758
3759 _ACEOF
3760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3761   $EGREP "memchr" >/dev/null 2>&1; then
3762   :
3763 else
3764   ac_cv_header_stdc=no
3765 fi
3766 rm -f conftest*
3767
3768 fi
3769
3770 if test $ac_cv_header_stdc = yes; then
3771   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3772   cat >conftest.$ac_ext <<_ACEOF
3773 #line $LINENO "configure"
3774 /* confdefs.h.  */
3775 _ACEOF
3776 cat confdefs.h >>conftest.$ac_ext
3777 cat >>conftest.$ac_ext <<_ACEOF
3778 /* end confdefs.h.  */
3779 #include <stdlib.h>
3780
3781 _ACEOF
3782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3783   $EGREP "free" >/dev/null 2>&1; then
3784   :
3785 else
3786   ac_cv_header_stdc=no
3787 fi
3788 rm -f conftest*
3789
3790 fi
3791
3792 if test $ac_cv_header_stdc = yes; then
3793   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3794   if test "$cross_compiling" = yes; then
3795   :
3796 else
3797   cat >conftest.$ac_ext <<_ACEOF
3798 #line $LINENO "configure"
3799 /* confdefs.h.  */
3800 _ACEOF
3801 cat confdefs.h >>conftest.$ac_ext
3802 cat >>conftest.$ac_ext <<_ACEOF
3803 /* end confdefs.h.  */
3804 #include <ctype.h>
3805 #if ((' ' & 0x0FF) == 0x020)
3806 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3807 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3808 #else
3809 # define ISLOWER(c) \
3810                    (('a' <= (c) && (c) <= 'i') \
3811                      || ('j' <= (c) && (c) <= 'r') \
3812                      || ('s' <= (c) && (c) <= 'z'))
3813 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3814 #endif
3815
3816 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3817 int
3818 main ()
3819 {
3820   int i;
3821   for (i = 0; i < 256; i++)
3822     if (XOR (islower (i), ISLOWER (i))
3823         || toupper (i) != TOUPPER (i))
3824       exit(2);
3825   exit (0);
3826 }
3827 _ACEOF
3828 rm -f conftest$ac_exeext
3829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3830   (eval $ac_link) 2>&5
3831   ac_status=$?
3832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3835   (eval $ac_try) 2>&5
3836   ac_status=$?
3837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838   (exit $ac_status); }; }; then
3839   :
3840 else
3841   echo "$as_me: program exited with status $ac_status" >&5
3842 echo "$as_me: failed program was:" >&5
3843 sed 's/^/| /' conftest.$ac_ext >&5
3844
3845 ( exit $ac_status )
3846 ac_cv_header_stdc=no
3847 fi
3848 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3849 fi
3850 fi
3851 fi
3852 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3853 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3854 if test $ac_cv_header_stdc = yes; then
3855
3856 cat >>confdefs.h <<\_ACEOF
3857 #define STDC_HEADERS 1
3858 _ACEOF
3859
3860 fi
3861
3862 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3873                   inttypes.h stdint.h unistd.h
3874 do
3875 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3876 echo "$as_me:$LINENO: checking for $ac_header" >&5
3877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3879   echo $ECHO_N "(cached) $ECHO_C" >&6
3880 else
3881   cat >conftest.$ac_ext <<_ACEOF
3882 #line $LINENO "configure"
3883 /* confdefs.h.  */
3884 _ACEOF
3885 cat confdefs.h >>conftest.$ac_ext
3886 cat >>conftest.$ac_ext <<_ACEOF
3887 /* end confdefs.h.  */
3888 $ac_includes_default
3889
3890 #include <$ac_header>
3891 _ACEOF
3892 rm -f conftest.$ac_objext
3893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3894   (eval $ac_compile) 2>&5
3895   ac_status=$?
3896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897   (exit $ac_status); } &&
3898          { ac_try='test -s conftest.$ac_objext'
3899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3900   (eval $ac_try) 2>&5
3901   ac_status=$?
3902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3903   (exit $ac_status); }; }; then
3904   eval "$as_ac_Header=yes"
3905 else
3906   echo "$as_me: failed program was:" >&5
3907 sed 's/^/| /' conftest.$ac_ext >&5
3908
3909 eval "$as_ac_Header=no"
3910 fi
3911 rm -f conftest.$ac_objext conftest.$ac_ext
3912 fi
3913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3916   cat >>confdefs.h <<_ACEOF
3917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3918 _ACEOF
3919
3920 fi
3921
3922 done
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948 for ac_header in arpa/inet.h fcntl.h stdio.h netdb.h netinet/in.h stdlib.h \
3949 string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h pthread.h \
3950 stdarg.h getopt.h sys/types.h net/if.h byteswap.h signal.h errno.h \
3951 ctype.h sys/stat.h winsock2.h ws2tcpip.h
3952 do
3953 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3955   echo "$as_me:$LINENO: checking for $ac_header" >&5
3956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3958   echo $ECHO_N "(cached) $ECHO_C" >&6
3959 fi
3960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3962 else
3963   # Is the header compilable?
3964 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3965 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3966 cat >conftest.$ac_ext <<_ACEOF
3967 #line $LINENO "configure"
3968 /* confdefs.h.  */
3969 _ACEOF
3970 cat confdefs.h >>conftest.$ac_ext
3971 cat >>conftest.$ac_ext <<_ACEOF
3972 /* end confdefs.h.  */
3973 $ac_includes_default
3974 #include <$ac_header>
3975 _ACEOF
3976 rm -f conftest.$ac_objext
3977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3978   (eval $ac_compile) 2>&5
3979   ac_status=$?
3980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981   (exit $ac_status); } &&
3982          { ac_try='test -s conftest.$ac_objext'
3983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3984   (eval $ac_try) 2>&5
3985   ac_status=$?
3986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3987   (exit $ac_status); }; }; then
3988   ac_header_compiler=yes
3989 else
3990   echo "$as_me: failed program was:" >&5
3991 sed 's/^/| /' conftest.$ac_ext >&5
3992
3993 ac_header_compiler=no
3994 fi
3995 rm -f conftest.$ac_objext conftest.$ac_ext
3996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3997 echo "${ECHO_T}$ac_header_compiler" >&6
3998
3999 # Is the header present?
4000 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4002 cat >conftest.$ac_ext <<_ACEOF
4003 #line $LINENO "configure"
4004 /* confdefs.h.  */
4005 _ACEOF
4006 cat confdefs.h >>conftest.$ac_ext
4007 cat >>conftest.$ac_ext <<_ACEOF
4008 /* end confdefs.h.  */
4009 #include <$ac_header>
4010 _ACEOF
4011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4012   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4013   ac_status=$?
4014   grep -v '^ *+' conftest.er1 >conftest.err
4015   rm -f conftest.er1
4016   cat conftest.err >&5
4017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018   (exit $ac_status); } >/dev/null; then
4019   if test -s conftest.err; then
4020     ac_cpp_err=$ac_c_preproc_warn_flag
4021   else
4022     ac_cpp_err=
4023   fi
4024 else
4025   ac_cpp_err=yes
4026 fi
4027 if test -z "$ac_cpp_err"; then
4028   ac_header_preproc=yes
4029 else
4030   echo "$as_me: failed program was:" >&5
4031 sed 's/^/| /' conftest.$ac_ext >&5
4032
4033   ac_header_preproc=no
4034 fi
4035 rm -f conftest.err conftest.$ac_ext
4036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4037 echo "${ECHO_T}$ac_header_preproc" >&6
4038
4039 # So?  What about this header?
4040 case $ac_header_compiler:$ac_header_preproc in
4041   yes:no )
4042     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4044     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4046     (
4047       cat <<\_ASBOX
4048 ## ------------------------------------ ##
4049 ## Report this to bug-autoconf@gnu.org. ##
4050 ## ------------------------------------ ##
4051 _ASBOX
4052     ) |
4053       sed "s/^/$as_me: WARNING:     /" >&2
4054     ;;
4055   no:yes )
4056     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4057 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4058     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4059 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4060     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4061 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4062     (
4063       cat <<\_ASBOX
4064 ## ------------------------------------ ##
4065 ## Report this to bug-autoconf@gnu.org. ##
4066 ## ------------------------------------ ##
4067 _ASBOX
4068     ) |
4069       sed "s/^/$as_me: WARNING:     /" >&2
4070     ;;
4071 esac
4072 echo "$as_me:$LINENO: checking for $ac_header" >&5
4073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4075   echo $ECHO_N "(cached) $ECHO_C" >&6
4076 else
4077   eval "$as_ac_Header=$ac_header_preproc"
4078 fi
4079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4081
4082 fi
4083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4084   cat >>confdefs.h <<_ACEOF
4085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4086 _ACEOF
4087
4088 fi
4089
4090 done
4091
4092 fi
4093 ###############################
4094 # includes
4095 case "$target" in
4096   *-cygwin* | *-mingw*)
4097     INCLUDES='-I$(top_srcdir)/orte/include -I$(top_srcdir)/orte/include/win32'
4098     WIN='yes'
4099
4100 cat >>confdefs.h <<\_ACEOF
4101 #define CONFIG_ORTE_WIN 1
4102 _ACEOF
4103
4104     ;;
4105   *)
4106     # Assume Unix.
4107     if test ${USE_RTLINUX} == "yes" ; then
4108       INCLUDES='-I$(top_srcdir)/orte/include -I$(top_srcdir)/orte/include/rtl -I$(top_srcdir)/orte/contrib/RTL_UDP/include'
4109     elif test ${USE_RTAI} == "yes" ; then
4110       INCLUDES='-I$(top_srcdir)/orte/include -I$(top_srcdir)/orte/include/rtai'
4111     else
4112       INCLUDES='-I$(top_srcdir)/orte/include'
4113       UNIX='yes'
4114
4115 cat >>confdefs.h <<\_ACEOF
4116 #define CONFIG_ORTE_UNIX 1
4117 _ACEOF
4118
4119     fi
4120     ;;
4121 esac
4122
4123
4124
4125 if test x$WIN = xyes; then
4126   CONFIG_ORTE_WIN_TRUE=
4127   CONFIG_ORTE_WIN_FALSE='#'
4128 else
4129   CONFIG_ORTE_WIN_TRUE='#'
4130   CONFIG_ORTE_WIN_FALSE=
4131 fi
4132
4133
4134
4135 if test x$UNIX = xyes; then
4136   CONFIG_ORTE_UNIX_TRUE=
4137   CONFIG_ORTE_UNIX_FALSE='#'
4138 else
4139   CONFIG_ORTE_UNIX_TRUE='#'
4140   CONFIG_ORTE_UNIX_FALSE=
4141 fi
4142
4143
4144 ###############################
4145 # Checks for typedefs, structures, and compiler characteristics.
4146 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4147 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4148 if test "${ac_cv_c_bigendian+set}" = set; then
4149   echo $ECHO_N "(cached) $ECHO_C" >&6
4150 else
4151   # See if sys/param.h defines the BYTE_ORDER macro.
4152 cat >conftest.$ac_ext <<_ACEOF
4153 #line $LINENO "configure"
4154 /* confdefs.h.  */
4155 _ACEOF
4156 cat confdefs.h >>conftest.$ac_ext
4157 cat >>conftest.$ac_ext <<_ACEOF
4158 /* end confdefs.h.  */
4159 #include <sys/types.h>
4160 #include <sys/param.h>
4161
4162 int
4163 main ()
4164 {
4165 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4166  bogus endian macros
4167 #endif
4168
4169   ;
4170   return 0;
4171 }
4172 _ACEOF
4173 rm -f conftest.$ac_objext
4174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4175   (eval $ac_compile) 2>&5
4176   ac_status=$?
4177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178   (exit $ac_status); } &&
4179          { ac_try='test -s conftest.$ac_objext'
4180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4181   (eval $ac_try) 2>&5
4182   ac_status=$?
4183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184   (exit $ac_status); }; }; then
4185   # It does; now see whether it defined to BIG_ENDIAN or not.
4186 cat >conftest.$ac_ext <<_ACEOF
4187 #line $LINENO "configure"
4188 /* confdefs.h.  */
4189 _ACEOF
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h.  */
4193 #include <sys/types.h>
4194 #include <sys/param.h>
4195
4196 int
4197 main ()
4198 {
4199 #if BYTE_ORDER != BIG_ENDIAN
4200  not big endian
4201 #endif
4202
4203   ;
4204   return 0;
4205 }
4206 _ACEOF
4207 rm -f conftest.$ac_objext
4208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4209   (eval $ac_compile) 2>&5
4210   ac_status=$?
4211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212   (exit $ac_status); } &&
4213          { ac_try='test -s conftest.$ac_objext'
4214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4215   (eval $ac_try) 2>&5
4216   ac_status=$?
4217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4218   (exit $ac_status); }; }; then
4219   ac_cv_c_bigendian=yes
4220 else
4221   echo "$as_me: failed program was:" >&5
4222 sed 's/^/| /' conftest.$ac_ext >&5
4223
4224 ac_cv_c_bigendian=no
4225 fi
4226 rm -f conftest.$ac_objext conftest.$ac_ext
4227 else
4228   echo "$as_me: failed program was:" >&5
4229 sed 's/^/| /' conftest.$ac_ext >&5
4230
4231 # It does not; compile a test program.
4232 if test "$cross_compiling" = yes; then
4233   # try to guess the endianness by grepping values into an object file
4234   ac_cv_c_bigendian=unknown
4235   cat >conftest.$ac_ext <<_ACEOF
4236 #line $LINENO "configure"
4237 /* confdefs.h.  */
4238 _ACEOF
4239 cat confdefs.h >>conftest.$ac_ext
4240 cat >>conftest.$ac_ext <<_ACEOF
4241 /* end confdefs.h.  */
4242 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4243 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4244 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4245 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4246 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4247 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4248 int
4249 main ()
4250 {
4251  _ascii (); _ebcdic ();
4252   ;
4253   return 0;
4254 }
4255 _ACEOF
4256 rm -f conftest.$ac_objext
4257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4258   (eval $ac_compile) 2>&5
4259   ac_status=$?
4260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261   (exit $ac_status); } &&
4262          { ac_try='test -s conftest.$ac_objext'
4263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4264   (eval $ac_try) 2>&5
4265   ac_status=$?
4266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4267   (exit $ac_status); }; }; then
4268   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4269   ac_cv_c_bigendian=yes
4270 fi
4271 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4272   if test "$ac_cv_c_bigendian" = unknown; then
4273     ac_cv_c_bigendian=no
4274   else
4275     # finding both strings is unlikely to happen, but who knows?
4276     ac_cv_c_bigendian=unknown
4277   fi
4278 fi
4279 else
4280   echo "$as_me: failed program was:" >&5
4281 sed 's/^/| /' conftest.$ac_ext >&5
4282
4283 fi
4284 rm -f conftest.$ac_objext conftest.$ac_ext
4285 else
4286   cat >conftest.$ac_ext <<_ACEOF
4287 #line $LINENO "configure"
4288 /* confdefs.h.  */
4289 _ACEOF
4290 cat confdefs.h >>conftest.$ac_ext
4291 cat >>conftest.$ac_ext <<_ACEOF
4292 /* end confdefs.h.  */
4293 int
4294 main ()
4295 {
4296   /* Are we little or big endian?  From Harbison&Steele.  */
4297   union
4298   {
4299     long l;
4300     char c[sizeof (long)];
4301   } u;
4302   u.l = 1;
4303   exit (u.c[sizeof (long) - 1] == 1);
4304 }
4305 _ACEOF
4306 rm -f conftest$ac_exeext
4307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4308   (eval $ac_link) 2>&5
4309   ac_status=$?
4310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4313   (eval $ac_try) 2>&5
4314   ac_status=$?
4315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316   (exit $ac_status); }; }; then
4317   ac_cv_c_bigendian=no
4318 else
4319   echo "$as_me: program exited with status $ac_status" >&5
4320 echo "$as_me: failed program was:" >&5
4321 sed 's/^/| /' conftest.$ac_ext >&5
4322
4323 ( exit $ac_status )
4324 ac_cv_c_bigendian=yes
4325 fi
4326 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4327 fi
4328 fi
4329 rm -f conftest.$ac_objext conftest.$ac_ext
4330 fi
4331 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4332 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4333 case $ac_cv_c_bigendian in
4334   yes)
4335
4336 cat >>confdefs.h <<\_ACEOF
4337 #define WORDS_BIGENDIAN 1
4338 _ACEOF
4339  ;;
4340   no)
4341      ;;
4342   *)
4343     { { echo "$as_me:$LINENO: error: unknown endianness
4344 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4345 echo "$as_me: error: unknown endianness
4346 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4347    { (exit 1); exit 1; }; } ;;
4348 esac
4349
4350 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4351 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4352 if test "${ac_cv_c_const+set}" = set; then
4353   echo $ECHO_N "(cached) $ECHO_C" >&6
4354 else
4355   cat >conftest.$ac_ext <<_ACEOF
4356 #line $LINENO "configure"
4357 /* confdefs.h.  */
4358 _ACEOF
4359 cat confdefs.h >>conftest.$ac_ext
4360 cat >>conftest.$ac_ext <<_ACEOF
4361 /* end confdefs.h.  */
4362
4363 int
4364 main ()
4365 {
4366 /* FIXME: Include the comments suggested by Paul. */
4367 #ifndef __cplusplus
4368   /* Ultrix mips cc rejects this.  */
4369   typedef int charset[2];
4370   const charset x;
4371   /* SunOS 4.1.1 cc rejects this.  */
4372   char const *const *ccp;
4373   char **p;
4374   /* NEC SVR4.0.2 mips cc rejects this.  */
4375   struct point {int x, y;};
4376   static struct point const zero = {0,0};
4377   /* AIX XL C 1.02.0.0 rejects this.
4378      It does not let you subtract one const X* pointer from another in
4379      an arm of an if-expression whose if-part is not a constant
4380      expression */
4381   const char *g = "string";
4382   ccp = &g + (g ? g-g : 0);
4383   /* HPUX 7.0 cc rejects these. */
4384   ++ccp;
4385   p = (char**) ccp;
4386   ccp = (char const *const *) p;
4387   { /* SCO 3.2v4 cc rejects this.  */
4388     char *t;
4389     char const *s = 0 ? (char *) 0 : (char const *) 0;
4390
4391     *t++ = 0;
4392   }
4393   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4394     int x[] = {25, 17};
4395     const int *foo = &x[0];
4396     ++foo;
4397   }
4398   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4399     typedef const int *iptr;
4400     iptr p = 0;
4401     ++p;
4402   }
4403   { /* AIX XL C 1.02.0.0 rejects this saying
4404        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4405     struct s { int j; const int *ap[3]; };
4406     struct s *b; b->j = 5;
4407   }
4408   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4409     const int foo = 10;
4410   }
4411 #endif
4412
4413   ;
4414   return 0;
4415 }
4416 _ACEOF
4417 rm -f conftest.$ac_objext
4418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4419   (eval $ac_compile) 2>&5
4420   ac_status=$?
4421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422   (exit $ac_status); } &&
4423          { ac_try='test -s conftest.$ac_objext'
4424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4425   (eval $ac_try) 2>&5
4426   ac_status=$?
4427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428   (exit $ac_status); }; }; then
4429   ac_cv_c_const=yes
4430 else
4431   echo "$as_me: failed program was:" >&5
4432 sed 's/^/| /' conftest.$ac_ext >&5
4433
4434 ac_cv_c_const=no
4435 fi
4436 rm -f conftest.$ac_objext conftest.$ac_ext
4437 fi
4438 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4439 echo "${ECHO_T}$ac_cv_c_const" >&6
4440 if test $ac_cv_c_const = no; then
4441
4442 cat >>confdefs.h <<\_ACEOF
4443 #define const
4444 _ACEOF
4445
4446 fi
4447
4448 echo "$as_me:$LINENO: checking for inline" >&5
4449 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4450 if test "${ac_cv_c_inline+set}" = set; then
4451   echo $ECHO_N "(cached) $ECHO_C" >&6
4452 else
4453   ac_cv_c_inline=no
4454 for ac_kw in inline __inline__ __inline; do
4455   cat >conftest.$ac_ext <<_ACEOF
4456 #line $LINENO "configure"
4457 /* confdefs.h.  */
4458 _ACEOF
4459 cat confdefs.h >>conftest.$ac_ext
4460 cat >>conftest.$ac_ext <<_ACEOF
4461 /* end confdefs.h.  */
4462 #ifndef __cplusplus
4463 typedef int foo_t;
4464 static $ac_kw foo_t static_foo () {return 0; }
4465 $ac_kw foo_t foo () {return 0; }
4466 #endif
4467
4468 _ACEOF
4469 rm -f conftest.$ac_objext
4470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4471   (eval $ac_compile) 2>&5
4472   ac_status=$?
4473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474   (exit $ac_status); } &&
4475          { ac_try='test -s conftest.$ac_objext'
4476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4477   (eval $ac_try) 2>&5
4478   ac_status=$?
4479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480   (exit $ac_status); }; }; then
4481   ac_cv_c_inline=$ac_kw; break
4482 else
4483   echo "$as_me: failed program was:" >&5
4484 sed 's/^/| /' conftest.$ac_ext >&5
4485
4486 fi
4487 rm -f conftest.$ac_objext conftest.$ac_ext
4488 done
4489
4490 fi
4491 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4492 echo "${ECHO_T}$ac_cv_c_inline" >&6
4493 case $ac_cv_c_inline in
4494   inline | yes) ;;
4495   no)
4496 cat >>confdefs.h <<\_ACEOF
4497 #define inline
4498 _ACEOF
4499  ;;
4500   *)  cat >>confdefs.h <<_ACEOF
4501 #define inline $ac_cv_c_inline
4502 _ACEOF
4503  ;;
4504 esac
4505
4506 echo "$as_me:$LINENO: checking for pid_t" >&5
4507 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
4508 if test "${ac_cv_type_pid_t+set}" = set; then
4509   echo $ECHO_N "(cached) $ECHO_C" >&6
4510 else
4511   cat >conftest.$ac_ext <<_ACEOF
4512 #line $LINENO "configure"
4513 /* confdefs.h.  */
4514 _ACEOF
4515 cat confdefs.h >>conftest.$ac_ext
4516 cat >>conftest.$ac_ext <<_ACEOF
4517 /* end confdefs.h.  */
4518 $ac_includes_default
4519 int
4520 main ()
4521 {
4522 if ((pid_t *) 0)
4523   return 0;
4524 if (sizeof (pid_t))
4525   return 0;
4526   ;
4527   return 0;
4528 }
4529 _ACEOF
4530 rm -f conftest.$ac_objext
4531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4532   (eval $ac_compile) 2>&5
4533   ac_status=$?
4534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535   (exit $ac_status); } &&
4536          { ac_try='test -s conftest.$ac_objext'
4537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4538   (eval $ac_try) 2>&5
4539   ac_status=$?
4540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541   (exit $ac_status); }; }; then
4542   ac_cv_type_pid_t=yes
4543 else
4544   echo "$as_me: failed program was:" >&5
4545 sed 's/^/| /' conftest.$ac_ext >&5
4546
4547 ac_cv_type_pid_t=no
4548 fi
4549 rm -f conftest.$ac_objext conftest.$ac_ext
4550 fi
4551 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
4552 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
4553 if test $ac_cv_type_pid_t = yes; then
4554   :
4555 else
4556
4557 cat >>confdefs.h <<_ACEOF
4558 #define pid_t int
4559 _ACEOF
4560
4561 fi
4562
4563 echo "$as_me:$LINENO: checking for size_t" >&5
4564 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4565 if test "${ac_cv_type_size_t+set}" = set; then
4566   echo $ECHO_N "(cached) $ECHO_C" >&6
4567 else
4568   cat >conftest.$ac_ext <<_ACEOF
4569 #line $LINENO "configure"
4570 /* confdefs.h.  */
4571 _ACEOF
4572 cat confdefs.h >>conftest.$ac_ext
4573 cat >>conftest.$ac_ext <<_ACEOF
4574 /* end confdefs.h.  */
4575 $ac_includes_default
4576 int
4577 main ()
4578 {
4579 if ((size_t *) 0)
4580   return 0;
4581 if (sizeof (size_t))
4582   return 0;
4583   ;
4584   return 0;
4585 }
4586 _ACEOF
4587 rm -f conftest.$ac_objext
4588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4589   (eval $ac_compile) 2>&5
4590   ac_status=$?
4591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592   (exit $ac_status); } &&
4593          { ac_try='test -s conftest.$ac_objext'
4594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4595   (eval $ac_try) 2>&5
4596   ac_status=$?
4597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598   (exit $ac_status); }; }; then
4599   ac_cv_type_size_t=yes
4600 else
4601   echo "$as_me: failed program was:" >&5
4602 sed 's/^/| /' conftest.$ac_ext >&5
4603
4604 ac_cv_type_size_t=no
4605 fi
4606 rm -f conftest.$ac_objext conftest.$ac_ext
4607 fi
4608 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4609 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4610 if test $ac_cv_type_size_t = yes; then
4611   :
4612 else
4613
4614 cat >>confdefs.h <<_ACEOF
4615 #define size_t unsigned
4616 _ACEOF
4617
4618 fi
4619
4620
4621 ###############################
4622 # Checks for library functions.
4623 if test $ac_cv_c_compiler_gnu = yes; then
4624     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4625 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
4626 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4627   echo $ECHO_N "(cached) $ECHO_C" >&6
4628 else
4629     ac_pattern="Autoconf.*'x'"
4630   cat >conftest.$ac_ext <<_ACEOF
4631 #line $LINENO "configure"
4632 /* confdefs.h.  */
4633 _ACEOF
4634 cat confdefs.h >>conftest.$ac_ext
4635 cat >>conftest.$ac_ext <<_ACEOF
4636 /* end confdefs.h.  */
4637 #include <sgtty.h>
4638 Autoconf TIOCGETP
4639 _ACEOF
4640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4641   $EGREP "$ac_pattern" >/dev/null 2>&1; then
4642   ac_cv_prog_gcc_traditional=yes
4643 else
4644   ac_cv_prog_gcc_traditional=no
4645 fi
4646 rm -f conftest*
4647
4648
4649   if test $ac_cv_prog_gcc_traditional = no; then
4650     cat >conftest.$ac_ext <<_ACEOF
4651 #line $LINENO "configure"
4652 /* confdefs.h.  */
4653 _ACEOF
4654 cat confdefs.h >>conftest.$ac_ext
4655 cat >>conftest.$ac_ext <<_ACEOF
4656 /* end confdefs.h.  */
4657 #include <termio.h>
4658 Autoconf TCGETA
4659 _ACEOF
4660 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4661   $EGREP "$ac_pattern" >/dev/null 2>&1; then
4662   ac_cv_prog_gcc_traditional=yes
4663 fi
4664 rm -f conftest*
4665
4666   fi
4667 fi
4668 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
4669 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
4670   if test $ac_cv_prog_gcc_traditional = yes; then
4671     CC="$CC -traditional"
4672   fi
4673 fi
4674
4675
4676 for ac_func in strdup
4677 do
4678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4679 echo "$as_me:$LINENO: checking for $ac_func" >&5
4680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4681 if eval "test \"\${$as_ac_var+set}\" = set"; then
4682   echo $ECHO_N "(cached) $ECHO_C" >&6
4683 else
4684   cat >conftest.$ac_ext <<_ACEOF
4685 #line $LINENO "configure"
4686 /* confdefs.h.  */
4687 _ACEOF
4688 cat confdefs.h >>conftest.$ac_ext
4689 cat >>conftest.$ac_ext <<_ACEOF
4690 /* end confdefs.h.  */
4691 /* System header to define __stub macros and hopefully few prototypes,
4692     which can conflict with char $ac_func (); below.
4693     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4694     <limits.h> exists even on freestanding compilers.  */
4695 #ifdef __STDC__
4696 # include <limits.h>
4697 #else
4698 # include <assert.h>
4699 #endif
4700 /* Override any gcc2 internal prototype to avoid an error.  */
4701 #ifdef __cplusplus
4702 extern "C"
4703 {
4704 #endif
4705 /* We use char because int might match the return type of a gcc2
4706    builtin and then its argument prototype would still apply.  */
4707 char $ac_func ();
4708 /* The GNU C library defines this for functions which it implements
4709     to always fail with ENOSYS.  Some functions are actually named
4710     something starting with __ and the normal name is an alias.  */
4711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4712 choke me
4713 #else
4714 char (*f) () = $ac_func;
4715 #endif
4716 #ifdef __cplusplus
4717 }
4718 #endif
4719
4720 int
4721 main ()
4722 {
4723 return f != $ac_func;
4724   ;
4725   return 0;
4726 }
4727 _ACEOF
4728 rm -f conftest.$ac_objext conftest$ac_exeext
4729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4730   (eval $ac_link) 2>&5
4731   ac_status=$?
4732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733   (exit $ac_status); } &&
4734          { ac_try='test -s conftest$ac_exeext'
4735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4736   (eval $ac_try) 2>&5
4737   ac_status=$?
4738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739   (exit $ac_status); }; }; then
4740   eval "$as_ac_var=yes"
4741 else
4742   echo "$as_me: failed program was:" >&5
4743 sed 's/^/| /' conftest.$ac_ext >&5
4744
4745 eval "$as_ac_var=no"
4746 fi
4747 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4748 fi
4749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4751 if test `eval echo '${'$as_ac_var'}'` = yes; then
4752   cat >>confdefs.h <<_ACEOF
4753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4754 _ACEOF
4755
4756 fi
4757 done
4758
4759
4760 ###############################
4761 # Add obsolute directory for header files
4762 CFLAGS="$CFLAGS -Wall"
4763
4764                                                                                                     ac_config_files="$ac_config_files Makefile orte/Makefile orte/liborte/Makefile orte/liborte/rtl/Makefile orte/examples/Makefile orte/examples/hello/Makefile orte/examples/reliable/Makefile orte/examples/ORTEPing/Makefile orte/examples/ORTESpy/Makefile orte/manager/Makefile"
4765
4766
4767
4768
4769           ac_config_files="$ac_config_files modtool"
4770 cat >confcache <<\_ACEOF
4771 # This file is a shell script that caches the results of configure
4772 # tests run on this system so they can be shared between configure
4773 # scripts and configure runs, see configure's option --config-cache.
4774 # It is not useful on other systems.  If it contains results you don't
4775 # want to keep, you may remove or edit it.
4776 #
4777 # config.status only pays attention to the cache file if you give it
4778 # the --recheck option to rerun configure.
4779 #
4780 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4781 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4782 # following values.
4783
4784 _ACEOF
4785
4786 # The following way of writing the cache mishandles newlines in values,
4787 # but we know of no workaround that is simple, portable, and efficient.
4788 # So, don't put newlines in cache variables' values.
4789 # Ultrix sh set writes to stderr and can't be redirected directly,
4790 # and sets the high bit in the cache file unless we assign to the vars.
4791 {
4792   (set) 2>&1 |
4793     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4794     *ac_space=\ *)
4795       # `set' does not quote correctly, so add quotes (double-quote
4796       # substitution turns \\\\ into \\, and sed turns \\ into \).
4797       sed -n \
4798         "s/'/'\\\\''/g;
4799           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4800       ;;
4801     *)
4802       # `set' quotes correctly as required by POSIX, so do not add quotes.
4803       sed -n \
4804         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4805       ;;
4806     esac;
4807 } |
4808   sed '
4809      t clear
4810      : clear
4811      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4812      t end
4813      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4814      : end' >>confcache
4815 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4816   if test -w $cache_file; then
4817     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4818     cat confcache >$cache_file
4819   else
4820     echo "not updating unwritable cache $cache_file"
4821   fi
4822 fi
4823 rm -f confcache
4824
4825 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4826 # Let make expand exec_prefix.
4827 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4828
4829 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4830 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4831 # trailing colons and then remove the whole line if VPATH becomes empty
4832 # (actually we leave an empty line to preserve line numbers).
4833 if test "x$srcdir" = x.; then
4834   ac_vpsub='/^[         ]*VPATH[        ]*=/{
4835 s/:*\$(srcdir):*/:/;
4836 s/:*\${srcdir}:*/:/;
4837 s/:*@srcdir@:*/:/;
4838 s/^\([^=]*=[    ]*\):*/\1/;
4839 s/:*$//;
4840 s/^[^=]*=[      ]*$//;
4841 }'
4842 fi
4843
4844 DEFS=-DHAVE_CONFIG_H
4845
4846 ac_libobjs=
4847 ac_ltlibobjs=
4848 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4849   # 1. Remove the extension, and $U if already installed.
4850   ac_i=`echo "$ac_i" |
4851          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4852   # 2. Add them.
4853   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4854   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4855 done
4856 LIBOBJS=$ac_libobjs
4857
4858 LTLIBOBJS=$ac_ltlibobjs
4859
4860
4861 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4862   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4863 Usually this means the macro was only invoked conditionally." >&5
4864 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4865 Usually this means the macro was only invoked conditionally." >&2;}
4866    { (exit 1); exit 1; }; }
4867 fi
4868 if test -z "${CONFIG_RTHAL_TRUE}" && test -z "${CONFIG_RTHAL_FALSE}"; then
4869   { { echo "$as_me:$LINENO: error: conditional \"CONFIG_RTHAL\" was never defined.
4870 Usually this means the macro was only invoked conditionally." >&5
4871 echo "$as_me: error: conditional \"CONFIG_RTHAL\" was never defined.
4872 Usually this means the macro was only invoked conditionally." >&2;}
4873    { (exit 1); exit 1; }; }
4874 fi
4875 if test -z "${CONFIG_RTLINUX_TRUE}" && test -z "${CONFIG_RTLINUX_FALSE}"; then
4876   { { echo "$as_me:$LINENO: error: conditional \"CONFIG_RTLINUX\" was never defined.
4877 Usually this means the macro was only invoked conditionally." >&5
4878 echo "$as_me: error: conditional \"CONFIG_RTLINUX\" was never defined.
4879 Usually this means the macro was only invoked conditionally." >&2;}
4880    { (exit 1); exit 1; }; }
4881 fi
4882 if test -z "${USE_RTAI_TRUE}" && test -z "${USE_RTAI_FALSE}"; then
4883   { { echo "$as_me:$LINENO: error: conditional \"USE_RTAI\" was never defined.
4884 Usually this means the macro was only invoked conditionally." >&5
4885 echo "$as_me: error: conditional \"USE_RTAI\" was never defined.
4886 Usually this means the macro was only invoked conditionally." >&2;}
4887    { (exit 1); exit 1; }; }
4888 fi
4889 if test -z "${USE_RTLINUX_TRUE}" && test -z "${USE_RTLINUX_FALSE}"; then
4890   { { echo "$as_me:$LINENO: error: conditional \"USE_RTLINUX\" was never defined.
4891 Usually this means the macro was only invoked conditionally." >&5
4892 echo "$as_me: error: conditional \"USE_RTLINUX\" was never defined.
4893 Usually this means the macro was only invoked conditionally." >&2;}
4894    { (exit 1); exit 1; }; }
4895 fi
4896 if test -z "${CONFIG_ORTE_RT_TRUE}" && test -z "${CONFIG_ORTE_RT_FALSE}"; then
4897   { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_RT\" was never defined.
4898 Usually this means the macro was only invoked conditionally." >&5
4899 echo "$as_me: error: conditional \"CONFIG_ORTE_RT\" was never defined.
4900 Usually this means the macro was only invoked conditionally." >&2;}
4901    { (exit 1); exit 1; }; }
4902 fi
4903 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4904   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4905 Usually this means the macro was only invoked conditionally." >&5
4906 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4907 Usually this means the macro was only invoked conditionally." >&2;}
4908    { (exit 1); exit 1; }; }
4909 fi
4910 if test -z "${CONFIG_ORTE_WIN_TRUE}" && test -z "${CONFIG_ORTE_WIN_FALSE}"; then
4911   { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_WIN\" was never defined.
4912 Usually this means the macro was only invoked conditionally." >&5
4913 echo "$as_me: error: conditional \"CONFIG_ORTE_WIN\" was never defined.
4914 Usually this means the macro was only invoked conditionally." >&2;}
4915    { (exit 1); exit 1; }; }
4916 fi
4917 if test -z "${CONFIG_ORTE_UNIX_TRUE}" && test -z "${CONFIG_ORTE_UNIX_FALSE}"; then
4918   { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_UNIX\" was never defined.
4919 Usually this means the macro was only invoked conditionally." >&5
4920 echo "$as_me: error: conditional \"CONFIG_ORTE_UNIX\" was never defined.
4921 Usually this means the macro was only invoked conditionally." >&2;}
4922    { (exit 1); exit 1; }; }
4923 fi
4924
4925 : ${CONFIG_STATUS=./config.status}
4926 ac_clean_files_save=$ac_clean_files
4927 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4928 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4929 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4930 cat >$CONFIG_STATUS <<_ACEOF
4931 #! $SHELL
4932 # Generated by $as_me.
4933 # Run this file to recreate the current configuration.
4934 # Compiler output produced by configure, useful for debugging
4935 # configure, is in config.log if it exists.
4936
4937 debug=false
4938 ac_cs_recheck=false
4939 ac_cs_silent=false
4940 SHELL=\${CONFIG_SHELL-$SHELL}
4941 _ACEOF
4942
4943 cat >>$CONFIG_STATUS <<\_ACEOF
4944 ## --------------------- ##
4945 ## M4sh Initialization.  ##
4946 ## --------------------- ##
4947
4948 # Be Bourne compatible
4949 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4950   emulate sh
4951   NULLCMD=:
4952   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4953   # is contrary to our usage.  Disable this feature.
4954   alias -g '${1+"$@"}'='"$@"'
4955 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4956   set -o posix
4957 fi
4958
4959 # Support unset when possible.
4960 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4961   as_unset=unset
4962 else
4963   as_unset=false
4964 fi
4965
4966
4967 # Work around bugs in pre-3.0 UWIN ksh.
4968 $as_unset ENV MAIL MAILPATH
4969 PS1='$ '
4970 PS2='> '
4971 PS4='+ '
4972
4973 # NLS nuisances.
4974 for as_var in \
4975   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4976   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4977   LC_TELEPHONE LC_TIME
4978 do
4979   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
4980     eval $as_var=C; export $as_var
4981   else
4982     $as_unset $as_var
4983   fi
4984 done
4985
4986 # Required to use basename.
4987 if expr a : '\(a\)' >/dev/null 2>&1; then
4988   as_expr=expr
4989 else
4990   as_expr=false
4991 fi
4992
4993 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4994   as_basename=basename
4995 else
4996   as_basename=false
4997 fi
4998
4999
5000 # Name of the executable.
5001 as_me=`$as_basename "$0" ||
5002 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5003          X"$0" : 'X\(//\)$' \| \
5004          X"$0" : 'X\(/\)$' \| \
5005          .     : '\(.\)' 2>/dev/null ||
5006 echo X/"$0" |
5007     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5008           /^X\/\(\/\/\)$/{ s//\1/; q; }
5009           /^X\/\(\/\).*/{ s//\1/; q; }
5010           s/.*/./; q'`
5011
5012
5013 # PATH needs CR, and LINENO needs CR and PATH.
5014 # Avoid depending upon Character Ranges.
5015 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5016 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5017 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5018 as_cr_digits='0123456789'
5019 as_cr_alnum=$as_cr_Letters$as_cr_digits
5020
5021 # The user is always right.
5022 if test "${PATH_SEPARATOR+set}" != set; then
5023   echo "#! /bin/sh" >conf$$.sh
5024   echo  "exit 0"   >>conf$$.sh
5025   chmod +x conf$$.sh
5026   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5027     PATH_SEPARATOR=';'
5028   else
5029     PATH_SEPARATOR=:
5030   fi
5031   rm -f conf$$.sh
5032 fi
5033
5034
5035   as_lineno_1=$LINENO
5036   as_lineno_2=$LINENO
5037   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5038   test "x$as_lineno_1" != "x$as_lineno_2" &&
5039   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
5040   # Find who we are.  Look in the path if we contain no path at all
5041   # relative or not.
5042   case $0 in
5043     *[\\/]* ) as_myself=$0 ;;
5044     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5045 for as_dir in $PATH
5046 do
5047   IFS=$as_save_IFS
5048   test -z "$as_dir" && as_dir=.
5049   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5050 done
5051
5052        ;;
5053   esac
5054   # We did not find ourselves, most probably we were run as `sh COMMAND'
5055   # in which case we are not to be found in the path.
5056   if test "x$as_myself" = x; then
5057     as_myself=$0
5058   fi
5059   if test ! -f "$as_myself"; then
5060     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5061 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5062    { (exit 1); exit 1; }; }
5063   fi
5064   case $CONFIG_SHELL in
5065   '')
5066     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5067 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5068 do
5069   IFS=$as_save_IFS
5070   test -z "$as_dir" && as_dir=.
5071   for as_base in sh bash ksh sh5; do
5072          case $as_dir in
5073          /*)
5074            if ("$as_dir/$as_base" -c '
5075   as_lineno_1=$LINENO
5076   as_lineno_2=$LINENO
5077   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5078   test "x$as_lineno_1" != "x$as_lineno_2" &&
5079   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
5080              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5081              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5082              CONFIG_SHELL=$as_dir/$as_base
5083              export CONFIG_SHELL
5084              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5085            fi;;
5086          esac
5087        done
5088 done
5089 ;;
5090   esac
5091
5092   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5093   # uniformly replaced by the line number.  The first 'sed' inserts a
5094   # line-number line before each line; the second 'sed' does the real
5095   # work.  The second script uses 'N' to pair each line-number line
5096   # with the numbered line, and appends trailing '-' during
5097   # substitution so that $LINENO is not a special case at line end.
5098   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5099   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
5100   sed '=' <$as_myself |
5101     sed '
5102       N
5103       s,$,-,
5104       : loop
5105       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5106       t loop
5107       s,-$,,
5108       s,^['$as_cr_digits']*\n,,
5109     ' >$as_me.lineno &&
5110   chmod +x $as_me.lineno ||
5111     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5112 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5113    { (exit 1); exit 1; }; }
5114
5115   # Don't try to exec as it changes $[0], causing all sort of problems
5116   # (the dirname of $[0] is not the place where we might find the
5117   # original and so on.  Autoconf is especially sensible to this).
5118   . ./$as_me.lineno
5119   # Exit status is that of the last command.
5120   exit
5121 }
5122
5123
5124 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5125   *c*,-n*) ECHO_N= ECHO_C='
5126 ' ECHO_T='      ' ;;
5127   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5128   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
5129 esac
5130
5131 if expr a : '\(a\)' >/dev/null 2>&1; then
5132   as_expr=expr
5133 else
5134   as_expr=false
5135 fi
5136
5137 rm -f conf$$ conf$$.exe conf$$.file
5138 echo >conf$$.file
5139 if ln -s conf$$.file conf$$ 2>/dev/null; then
5140   # We could just check for DJGPP; but this test a) works b) is more generic
5141   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5142   if test -f conf$$.exe; then
5143     # Don't use ln at all; we don't have any links
5144     as_ln_s='cp -p'
5145   else
5146     as_ln_s='ln -s'
5147   fi
5148 elif ln conf$$.file conf$$ 2>/dev/null; then
5149   as_ln_s=ln
5150 else
5151   as_ln_s='cp -p'
5152 fi
5153 rm -f conf$$ conf$$.exe conf$$.file
5154
5155 if mkdir -p . 2>/dev/null; then
5156   as_mkdir_p=:
5157 else
5158   as_mkdir_p=false
5159 fi
5160
5161 as_executable_p="test -f"
5162
5163 # Sed expression to map a string onto a valid CPP name.
5164 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5165
5166 # Sed expression to map a string onto a valid variable name.
5167 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5168
5169
5170 # IFS
5171 # We need space, tab and new line, in precisely that order.
5172 as_nl='
5173 '
5174 IFS="   $as_nl"
5175
5176 # CDPATH.
5177 $as_unset CDPATH
5178
5179 exec 6>&1
5180
5181 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5182 # report actual input values of CONFIG_FILES etc. instead of their
5183 # values after options handling.  Logging --version etc. is OK.
5184 exec 5>>config.log
5185 {
5186   echo
5187   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5188 ## Running $as_me. ##
5189 _ASBOX
5190 } >&5
5191 cat >&5 <<_CSEOF
5192
5193 This file was extended by orte $as_me 0.2.0, which was
5194 generated by GNU Autoconf 2.57.  Invocation command line was
5195
5196   CONFIG_FILES    = $CONFIG_FILES
5197   CONFIG_HEADERS  = $CONFIG_HEADERS
5198   CONFIG_LINKS    = $CONFIG_LINKS
5199   CONFIG_COMMANDS = $CONFIG_COMMANDS
5200   $ $0 $@
5201
5202 _CSEOF
5203 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5204 echo >&5
5205 _ACEOF
5206
5207 # Files that config.status was made for.
5208 if test -n "$ac_config_files"; then
5209   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5210 fi
5211
5212 if test -n "$ac_config_headers"; then
5213   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5214 fi
5215
5216 if test -n "$ac_config_links"; then
5217   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5218 fi
5219
5220 if test -n "$ac_config_commands"; then
5221   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5222 fi
5223
5224 cat >>$CONFIG_STATUS <<\_ACEOF
5225
5226 ac_cs_usage="\
5227 \`$as_me' instantiates files from templates according to the
5228 current configuration.
5229
5230 Usage: $0 [OPTIONS] [FILE]...
5231
5232   -h, --help       print this help, then exit
5233   -V, --version    print version number, then exit
5234   -q, --quiet      do not print progress messages
5235   -d, --debug      don't remove temporary files
5236       --recheck    update $as_me by reconfiguring in the same conditions
5237   --file=FILE[:TEMPLATE]
5238                    instantiate the configuration file FILE
5239   --header=FILE[:TEMPLATE]
5240                    instantiate the configuration header FILE
5241
5242 Configuration files:
5243 $config_files
5244
5245 Configuration headers:
5246 $config_headers
5247
5248 Configuration commands:
5249 $config_commands
5250
5251 Report bugs to <bug-autoconf@gnu.org>."
5252 _ACEOF
5253
5254 cat >>$CONFIG_STATUS <<_ACEOF
5255 ac_cs_version="\\
5256 orte config.status 0.2.0
5257 configured by $0, generated by GNU Autoconf 2.57,
5258   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5259
5260 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5261 Free Software Foundation, Inc.
5262 This config.status script is free software; the Free Software Foundation
5263 gives unlimited permission to copy, distribute and modify it."
5264 srcdir=$srcdir
5265 INSTALL="$INSTALL"
5266 _ACEOF
5267
5268 cat >>$CONFIG_STATUS <<\_ACEOF
5269 # If no file are specified by the user, then we need to provide default
5270 # value.  By we need to know if files were specified by the user.
5271 ac_need_defaults=:
5272 while test $# != 0
5273 do
5274   case $1 in
5275   --*=*)
5276     ac_option=`expr "x$1" : 'x\([^=]*\)='`
5277     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5278     ac_shift=:
5279     ;;
5280   -*)
5281     ac_option=$1
5282     ac_optarg=$2
5283     ac_shift=shift
5284     ;;
5285   *) # This is not an option, so the user has probably given explicit
5286      # arguments.
5287      ac_option=$1
5288      ac_need_defaults=false;;
5289   esac
5290
5291   case $ac_option in
5292   # Handling of the options.
5293 _ACEOF
5294 cat >>$CONFIG_STATUS <<\_ACEOF
5295   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5296     ac_cs_recheck=: ;;
5297   --version | --vers* | -V )
5298     echo "$ac_cs_version"; exit 0 ;;
5299   --he | --h)
5300     # Conflict between --help and --header
5301     { { echo "$as_me:$LINENO: error: ambiguous option: $1
5302 Try \`$0 --help' for more information." >&5
5303 echo "$as_me: error: ambiguous option: $1
5304 Try \`$0 --help' for more information." >&2;}
5305    { (exit 1); exit 1; }; };;
5306   --help | --hel | -h )
5307     echo "$ac_cs_usage"; exit 0 ;;
5308   --debug | --d* | -d )
5309     debug=: ;;
5310   --file | --fil | --fi | --f )
5311     $ac_shift
5312     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5313     ac_need_defaults=false;;
5314   --header | --heade | --head | --hea )
5315     $ac_shift
5316     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5317     ac_need_defaults=false;;
5318   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5319   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5320     ac_cs_silent=: ;;
5321
5322   # This is an error.
5323   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5324 Try \`$0 --help' for more information." >&5
5325 echo "$as_me: error: unrecognized option: $1
5326 Try \`$0 --help' for more information." >&2;}
5327    { (exit 1); exit 1; }; } ;;
5328
5329   *) ac_config_targets="$ac_config_targets $1" ;;
5330
5331   esac
5332   shift
5333 done
5334
5335 ac_configure_extra_args=
5336
5337 if $ac_cs_silent; then
5338   exec 6>/dev/null
5339   ac_configure_extra_args="$ac_configure_extra_args --silent"
5340 fi
5341
5342 _ACEOF
5343 cat >>$CONFIG_STATUS <<_ACEOF
5344 if \$ac_cs_recheck; then
5345   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5346   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5347 fi
5348
5349 _ACEOF
5350
5351 cat >>$CONFIG_STATUS <<_ACEOF
5352 #
5353 # INIT-COMMANDS section.
5354 #
5355
5356 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5357
5358 _ACEOF
5359
5360
5361
5362 cat >>$CONFIG_STATUS <<\_ACEOF
5363 for ac_config_target in $ac_config_targets
5364 do
5365   case "$ac_config_target" in
5366   # Handling of arguments.
5367   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5368   "orte/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/Makefile" ;;
5369   "orte/liborte/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/liborte/Makefile" ;;
5370   "orte/liborte/rtl/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/liborte/rtl/Makefile" ;;
5371   "orte/examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/Makefile" ;;
5372   "orte/examples/hello/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/hello/Makefile" ;;
5373   "orte/examples/reliable/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/reliable/Makefile" ;;
5374   "orte/examples/ORTEPing/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/ORTEPing/Makefile" ;;
5375   "orte/examples/ORTESpy/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/ORTESpy/Makefile" ;;
5376   "orte/manager/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/manager/Makefile" ;;
5377   "modtool" ) CONFIG_FILES="$CONFIG_FILES modtool" ;;
5378   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5379   "orte/include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS orte/include/config.h" ;;
5380   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5381 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5382    { (exit 1); exit 1; }; };;
5383   esac
5384 done
5385
5386 # If the user did not use the arguments to specify the items to instantiate,
5387 # then the envvar interface is used.  Set only those that are not.
5388 # We use the long form for the default assignment because of an extremely
5389 # bizarre bug on SunOS 4.1.3.
5390 if $ac_need_defaults; then
5391   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5392   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5393   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5394 fi
5395
5396 # Have a temporary directory for convenience.  Make it in the build tree
5397 # simply because there is no reason to put it here, and in addition,
5398 # creating and moving files from /tmp can sometimes cause problems.
5399 # Create a temporary directory, and hook for its removal unless debugging.
5400 $debug ||
5401 {
5402   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5403   trap '{ (exit 1); exit 1; }' 1 2 13 15
5404 }
5405
5406 # Create a (secure) tmp directory for tmp files.
5407
5408 {
5409   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5410   test -n "$tmp" && test -d "$tmp"
5411 }  ||
5412 {
5413   tmp=./confstat$$-$RANDOM
5414   (umask 077 && mkdir $tmp)
5415 } ||
5416 {
5417    echo "$me: cannot create a temporary directory in ." >&2
5418    { (exit 1); exit 1; }
5419 }
5420
5421 _ACEOF
5422
5423 cat >>$CONFIG_STATUS <<_ACEOF
5424
5425 #
5426 # CONFIG_FILES section.
5427 #
5428
5429 # No need to generate the scripts if there are no CONFIG_FILES.
5430 # This happens for instance when ./config.status config.h
5431 if test -n "\$CONFIG_FILES"; then
5432   # Protect against being on the right side of a sed subst in config.status.
5433   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5434    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5435 s,@SHELL@,$SHELL,;t t
5436 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5437 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5438 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5439 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5440 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5441 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5442 s,@exec_prefix@,$exec_prefix,;t t
5443 s,@prefix@,$prefix,;t t
5444 s,@program_transform_name@,$program_transform_name,;t t
5445 s,@bindir@,$bindir,;t t
5446 s,@sbindir@,$sbindir,;t t
5447 s,@libexecdir@,$libexecdir,;t t
5448 s,@datadir@,$datadir,;t t
5449 s,@sysconfdir@,$sysconfdir,;t t
5450 s,@sharedstatedir@,$sharedstatedir,;t t
5451 s,@localstatedir@,$localstatedir,;t t
5452 s,@libdir@,$libdir,;t t
5453 s,@includedir@,$includedir,;t t
5454 s,@oldincludedir@,$oldincludedir,;t t
5455 s,@infodir@,$infodir,;t t
5456 s,@mandir@,$mandir,;t t
5457 s,@build_alias@,$build_alias,;t t
5458 s,@host_alias@,$host_alias,;t t
5459 s,@target_alias@,$target_alias,;t t
5460 s,@DEFS@,$DEFS,;t t
5461 s,@ECHO_C@,$ECHO_C,;t t
5462 s,@ECHO_N@,$ECHO_N,;t t
5463 s,@ECHO_T@,$ECHO_T,;t t
5464 s,@LIBS@,$LIBS,;t t
5465 s,@build@,$build,;t t
5466 s,@build_cpu@,$build_cpu,;t t
5467 s,@build_vendor@,$build_vendor,;t t
5468 s,@build_os@,$build_os,;t t
5469 s,@host@,$host,;t t
5470 s,@host_cpu@,$host_cpu,;t t
5471 s,@host_vendor@,$host_vendor,;t t
5472 s,@host_os@,$host_os,;t t
5473 s,@target@,$target,;t t
5474 s,@target_cpu@,$target_cpu,;t t
5475 s,@target_vendor@,$target_vendor,;t t
5476 s,@target_os@,$target_os,;t t
5477 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5478 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5479 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5480 s,@PACKAGE@,$PACKAGE,;t t
5481 s,@VERSION@,$VERSION,;t t
5482 s,@ACLOCAL@,$ACLOCAL,;t t
5483 s,@AUTOCONF@,$AUTOCONF,;t t
5484 s,@AUTOMAKE@,$AUTOMAKE,;t t
5485 s,@AUTOHEADER@,$AUTOHEADER,;t t
5486 s,@MAKEINFO@,$MAKEINFO,;t t
5487 s,@AMTAR@,$AMTAR,;t t
5488 s,@install_sh@,$install_sh,;t t
5489 s,@STRIP@,$STRIP,;t t
5490 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5491 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5492 s,@AWK@,$AWK,;t t
5493 s,@SET_MAKE@,$SET_MAKE,;t t
5494 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5495 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5496 s,@MAINT@,$MAINT,;t t
5497 s,@LINUX_DIR@,$LINUX_DIR,;t t
5498 s,@LINUX_ARCH@,$LINUX_ARCH,;t t
5499 s,@LINUX_AFLAGS@,$LINUX_AFLAGS,;t t
5500 s,@LINUX_LDFLAGS@,$LINUX_LDFLAGS,;t t
5501 s,@LINUX_ARFLAGS@,$LINUX_ARFLAGS,;t t
5502 s,@LINUX_CROSS_COMPILE@,$LINUX_CROSS_COMPILE,;t t
5503 s,@LINUX_KERNELRELEASE@,$LINUX_KERNELRELEASE,;t t
5504 s,@LINUX_CFLAGS@,$LINUX_CFLAGS,;t t
5505 s,@LINUX_CC@,$LINUX_CC,;t t
5506 s,@LINUX_LD@,$LINUX_LD,;t t
5507 s,@LINUX_AS@,$LINUX_AS,;t t
5508 s,@LINUX_MODULE_EXT@,$LINUX_MODULE_EXT,;t t
5509 s,@CONFIG_RTHAL_TRUE@,$CONFIG_RTHAL_TRUE,;t t
5510 s,@CONFIG_RTHAL_FALSE@,$CONFIG_RTHAL_FALSE,;t t
5511 s,@RTAI_CFLAGS@,$RTAI_CFLAGS,;t t
5512 s,@CONFIG_RTLINUX_TRUE@,$CONFIG_RTLINUX_TRUE,;t t
5513 s,@CONFIG_RTLINUX_FALSE@,$CONFIG_RTLINUX_FALSE,;t t
5514 s,@RTLINUX_CFLAGS@,$RTLINUX_CFLAGS,;t t
5515 s,@CONFIG_ORTE_RT@,$CONFIG_ORTE_RT,;t t
5516 s,@USE_RTAI_TRUE@,$USE_RTAI_TRUE,;t t
5517 s,@USE_RTAI_FALSE@,$USE_RTAI_FALSE,;t t
5518 s,@USE_RTLINUX_TRUE@,$USE_RTLINUX_TRUE,;t t
5519 s,@USE_RTLINUX_FALSE@,$USE_RTLINUX_FALSE,;t t
5520 s,@CONFIG_ORTE_RT_TRUE@,$CONFIG_ORTE_RT_TRUE,;t t
5521 s,@CONFIG_ORTE_RT_FALSE@,$CONFIG_ORTE_RT_FALSE,;t t
5522 s,@ORTE_MAJOR_VERSION@,$ORTE_MAJOR_VERSION,;t t
5523 s,@ORTE_MINOR_VERSION@,$ORTE_MINOR_VERSION,;t t
5524 s,@ORTE_MICRO_VERSION@,$ORTE_MICRO_VERSION,;t t
5525 s,@ORTE_VERSION@,$ORTE_VERSION,;t t
5526 s,@moduledir@,$moduledir,;t t
5527 s,@modulePROGRAMS_INSTALL@,$modulePROGRAMS_INSTALL,;t t
5528 s,@CC@,$CC,;t t
5529 s,@CFLAGS@,$CFLAGS,;t t
5530 s,@LDFLAGS@,$LDFLAGS,;t t
5531 s,@CPPFLAGS@,$CPPFLAGS,;t t
5532 s,@ac_ct_CC@,$ac_ct_CC,;t t
5533 s,@EXEEXT@,$EXEEXT,;t t
5534 s,@OBJEXT@,$OBJEXT,;t t
5535 s,@DEPDIR@,$DEPDIR,;t t
5536 s,@am__include@,$am__include,;t t
5537 s,@am__quote@,$am__quote,;t t
5538 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5539 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5540 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5541 s,@CCDEPMODE@,$CCDEPMODE,;t t
5542 s,@RANLIB@,$RANLIB,;t t
5543 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5544 s,@CPP@,$CPP,;t t
5545 s,@EGREP@,$EGREP,;t t
5546 s,@INCLUDES@,$INCLUDES,;t t
5547 s,@CONFIG_ORTE_WIN_TRUE@,$CONFIG_ORTE_WIN_TRUE,;t t
5548 s,@CONFIG_ORTE_WIN_FALSE@,$CONFIG_ORTE_WIN_FALSE,;t t
5549 s,@CONFIG_ORTE_UNIX_TRUE@,$CONFIG_ORTE_UNIX_TRUE,;t t
5550 s,@CONFIG_ORTE_UNIX_FALSE@,$CONFIG_ORTE_UNIX_FALSE,;t t
5551 s,@LIBOBJS@,$LIBOBJS,;t t
5552 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5553 CEOF
5554
5555 _ACEOF
5556
5557   cat >>$CONFIG_STATUS <<\_ACEOF
5558   # Split the substitutions into bite-sized pieces for seds with
5559   # small command number limits, like on Digital OSF/1 and HP-UX.
5560   ac_max_sed_lines=48
5561   ac_sed_frag=1 # Number of current file.
5562   ac_beg=1 # First line for current file.
5563   ac_end=$ac_max_sed_lines # Line after last line for current file.
5564   ac_more_lines=:
5565   ac_sed_cmds=
5566   while $ac_more_lines; do
5567     if test $ac_beg -gt 1; then
5568       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5569     else
5570       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5571     fi
5572     if test ! -s $tmp/subs.frag; then
5573       ac_more_lines=false
5574     else
5575       # The purpose of the label and of the branching condition is to
5576       # speed up the sed processing (if there are no `@' at all, there
5577       # is no need to browse any of the substitutions).
5578       # These are the two extra sed commands mentioned above.
5579       (echo ':t
5580   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5581       if test -z "$ac_sed_cmds"; then
5582         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5583       else
5584         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5585       fi
5586       ac_sed_frag=`expr $ac_sed_frag + 1`
5587       ac_beg=$ac_end
5588       ac_end=`expr $ac_end + $ac_max_sed_lines`
5589     fi
5590   done
5591   if test -z "$ac_sed_cmds"; then
5592     ac_sed_cmds=cat
5593   fi
5594 fi # test -n "$CONFIG_FILES"
5595
5596 _ACEOF
5597 cat >>$CONFIG_STATUS <<\_ACEOF
5598 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5599   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5600   case $ac_file in
5601   - | *:- | *:-:* ) # input from stdin
5602         cat >$tmp/stdin
5603         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5604         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5605   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5606         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5607   * )   ac_file_in=$ac_file.in ;;
5608   esac
5609
5610   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5611   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5612 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5613          X"$ac_file" : 'X\(//\)[^/]' \| \
5614          X"$ac_file" : 'X\(//\)$' \| \
5615          X"$ac_file" : 'X\(/\)' \| \
5616          .     : '\(.\)' 2>/dev/null ||
5617 echo X"$ac_file" |
5618     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5619           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5620           /^X\(\/\/\)$/{ s//\1/; q; }
5621           /^X\(\/\).*/{ s//\1/; q; }
5622           s/.*/./; q'`
5623   { if $as_mkdir_p; then
5624     mkdir -p "$ac_dir"
5625   else
5626     as_dir="$ac_dir"
5627     as_dirs=
5628     while test ! -d "$as_dir"; do
5629       as_dirs="$as_dir $as_dirs"
5630       as_dir=`(dirname "$as_dir") 2>/dev/null ||
5631 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5632          X"$as_dir" : 'X\(//\)[^/]' \| \
5633          X"$as_dir" : 'X\(//\)$' \| \
5634          X"$as_dir" : 'X\(/\)' \| \
5635          .     : '\(.\)' 2>/dev/null ||
5636 echo X"$as_dir" |
5637     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5638           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5639           /^X\(\/\/\)$/{ s//\1/; q; }
5640           /^X\(\/\).*/{ s//\1/; q; }
5641           s/.*/./; q'`
5642     done
5643     test ! -n "$as_dirs" || mkdir $as_dirs
5644   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5645 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5646    { (exit 1); exit 1; }; }; }
5647
5648   ac_builddir=.
5649
5650 if test "$ac_dir" != .; then
5651   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5652   # A "../" for each directory in $ac_dir_suffix.
5653   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5654 else
5655   ac_dir_suffix= ac_top_builddir=
5656 fi
5657
5658 case $srcdir in
5659   .)  # No --srcdir option.  We are building in place.
5660     ac_srcdir=.
5661     if test -z "$ac_top_builddir"; then
5662        ac_top_srcdir=.
5663     else
5664        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5665     fi ;;
5666   [\\/]* | ?:[\\/]* )  # Absolute path.
5667     ac_srcdir=$srcdir$ac_dir_suffix;
5668     ac_top_srcdir=$srcdir ;;
5669   *) # Relative path.
5670     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5671     ac_top_srcdir=$ac_top_builddir$srcdir ;;
5672 esac
5673 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5674 # absolute.
5675 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5676 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5677 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5678 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5679
5680
5681   case $INSTALL in
5682   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5683   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5684   esac
5685
5686   if test x"$ac_file" != x-; then
5687     { echo "$as_me:$LINENO: creating $ac_file" >&5
5688 echo "$as_me: creating $ac_file" >&6;}
5689     rm -f "$ac_file"
5690   fi
5691   # Let's still pretend it is `configure' which instantiates (i.e., don't
5692   # use $as_me), people would be surprised to read:
5693   #    /* config.h.  Generated by config.status.  */
5694   if test x"$ac_file" = x-; then
5695     configure_input=
5696   else
5697     configure_input="$ac_file.  "
5698   fi
5699   configure_input=$configure_input"Generated from `echo $ac_file_in |
5700                                      sed 's,.*/,,'` by configure."
5701
5702   # First look for the input files in the build tree, otherwise in the
5703   # src tree.
5704   ac_file_inputs=`IFS=:
5705     for f in $ac_file_in; do
5706       case $f in
5707       -) echo $tmp/stdin ;;
5708       [\\/$]*)
5709          # Absolute (can't be DOS-style, as IFS=:)
5710          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5711 echo "$as_me: error: cannot find input file: $f" >&2;}
5712    { (exit 1); exit 1; }; }
5713          echo $f;;
5714       *) # Relative
5715          if test -f "$f"; then
5716            # Build tree
5717            echo $f
5718          elif test -f "$srcdir/$f"; then
5719            # Source tree
5720            echo $srcdir/$f
5721          else
5722            # /dev/null tree
5723            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5724 echo "$as_me: error: cannot find input file: $f" >&2;}
5725    { (exit 1); exit 1; }; }
5726          fi;;
5727       esac
5728     done` || { (exit 1); exit 1; }
5729 _ACEOF
5730 cat >>$CONFIG_STATUS <<_ACEOF
5731   sed "$ac_vpsub
5732 $extrasub
5733 _ACEOF
5734 cat >>$CONFIG_STATUS <<\_ACEOF
5735 :t
5736 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5737 s,@configure_input@,$configure_input,;t t
5738 s,@srcdir@,$ac_srcdir,;t t
5739 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5740 s,@top_srcdir@,$ac_top_srcdir,;t t
5741 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5742 s,@builddir@,$ac_builddir,;t t
5743 s,@abs_builddir@,$ac_abs_builddir,;t t
5744 s,@top_builddir@,$ac_top_builddir,;t t
5745 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5746 s,@INSTALL@,$ac_INSTALL,;t t
5747 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5748   rm -f $tmp/stdin
5749   if test x"$ac_file" != x-; then
5750     mv $tmp/out $ac_file
5751   else
5752     cat $tmp/out
5753     rm -f $tmp/out
5754   fi
5755
5756 done
5757 _ACEOF
5758 cat >>$CONFIG_STATUS <<\_ACEOF
5759
5760 #
5761 # CONFIG_HEADER section.
5762 #
5763
5764 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5765 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5766 #
5767 # ac_d sets the value in "#define NAME VALUE" lines.
5768 ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
5769 ac_dB='[        ].*$,\1#\2'
5770 ac_dC=' '
5771 ac_dD=',;t'
5772 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5773 ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
5774 ac_uB='$,\1#\2define\3'
5775 ac_uC=' '
5776 ac_uD=',;t'
5777
5778 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5779   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5780   case $ac_file in
5781   - | *:- | *:-:* ) # input from stdin
5782         cat >$tmp/stdin
5783         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5784         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5785   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5786         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5787   * )   ac_file_in=$ac_file.in ;;
5788   esac
5789
5790   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5791 echo "$as_me: creating $ac_file" >&6;}
5792
5793   # First look for the input files in the build tree, otherwise in the
5794   # src tree.
5795   ac_file_inputs=`IFS=:
5796     for f in $ac_file_in; do
5797       case $f in
5798       -) echo $tmp/stdin ;;
5799       [\\/$]*)
5800          # Absolute (can't be DOS-style, as IFS=:)
5801          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5802 echo "$as_me: error: cannot find input file: $f" >&2;}
5803    { (exit 1); exit 1; }; }
5804          echo $f;;
5805       *) # Relative
5806          if test -f "$f"; then
5807            # Build tree
5808            echo $f
5809          elif test -f "$srcdir/$f"; then
5810            # Source tree
5811            echo $srcdir/$f
5812          else
5813            # /dev/null tree
5814            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5815 echo "$as_me: error: cannot find input file: $f" >&2;}
5816    { (exit 1); exit 1; }; }
5817          fi;;
5818       esac
5819     done` || { (exit 1); exit 1; }
5820   # Remove the trailing spaces.
5821   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
5822
5823 _ACEOF
5824
5825 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5826 # `conftest.undefs', that substitutes the proper values into
5827 # config.h.in to produce config.h.  The first handles `#define'
5828 # templates, and the second `#undef' templates.
5829 # And first: Protect against being on the right side of a sed subst in
5830 # config.status.  Protect against being in an unquoted here document
5831 # in config.status.
5832 rm -f conftest.defines conftest.undefs
5833 # Using a here document instead of a string reduces the quoting nightmare.
5834 # Putting comments in sed scripts is not portable.
5835 #
5836 # `end' is used to avoid that the second main sed command (meant for
5837 # 0-ary CPP macros) applies to n-ary macro definitions.
5838 # See the Autoconf documentation for `clear'.
5839 cat >confdef2sed.sed <<\_ACEOF
5840 s/[\\&,]/\\&/g
5841 s,[\\$`],\\&,g
5842 t clear
5843 : clear
5844 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5845 t end
5846 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5847 : end
5848 _ACEOF
5849 # If some macros were called several times there might be several times
5850 # the same #defines, which is useless.  Nevertheless, we may not want to
5851 # sort them, since we want the *last* AC-DEFINE to be honored.
5852 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5853 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5854 rm -f confdef2sed.sed
5855
5856 # This sed command replaces #undef with comments.  This is necessary, for
5857 # example, in the case of _POSIX_SOURCE, which is predefined and required
5858 # on some systems where configure will not decide to define it.
5859 cat >>conftest.undefs <<\_ACEOF
5860 s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5861 _ACEOF
5862
5863 # Break up conftest.defines because some shells have a limit on the size
5864 # of here documents, and old seds have small limits too (100 cmds).
5865 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5866 echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5867 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5868 echo '  :' >>$CONFIG_STATUS
5869 rm -f conftest.tail
5870 while grep . conftest.defines >/dev/null
5871 do
5872   # Write a limited-size here document to $tmp/defines.sed.
5873   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5874   # Speed up: don't consider the non `#define' lines.
5875   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
5876   # Work around the forget-to-reset-the-flag bug.
5877   echo 't clr' >>$CONFIG_STATUS
5878   echo ': clr' >>$CONFIG_STATUS
5879   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5880   echo 'CEOF
5881   sed -f $tmp/defines.sed $tmp/in >$tmp/out
5882   rm -f $tmp/in
5883   mv $tmp/out $tmp/in
5884 ' >>$CONFIG_STATUS
5885   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5886   rm -f conftest.defines
5887   mv conftest.tail conftest.defines
5888 done
5889 rm -f conftest.defines
5890 echo '  fi # grep' >>$CONFIG_STATUS
5891 echo >>$CONFIG_STATUS
5892
5893 # Break up conftest.undefs because some shells have a limit on the size
5894 # of here documents, and old seds have small limits too (100 cmds).
5895 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
5896 rm -f conftest.tail
5897 while grep . conftest.undefs >/dev/null
5898 do
5899   # Write a limited-size here document to $tmp/undefs.sed.
5900   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5901   # Speed up: don't consider the non `#undef'
5902   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
5903   # Work around the forget-to-reset-the-flag bug.
5904   echo 't clr' >>$CONFIG_STATUS
5905   echo ': clr' >>$CONFIG_STATUS
5906   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5907   echo 'CEOF
5908   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5909   rm -f $tmp/in
5910   mv $tmp/out $tmp/in
5911 ' >>$CONFIG_STATUS
5912   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5913   rm -f conftest.undefs
5914   mv conftest.tail conftest.undefs
5915 done
5916 rm -f conftest.undefs
5917
5918 cat >>$CONFIG_STATUS <<\_ACEOF
5919   # Let's still pretend it is `configure' which instantiates (i.e., don't
5920   # use $as_me), people would be surprised to read:
5921   #    /* config.h.  Generated by config.status.  */
5922   if test x"$ac_file" = x-; then
5923     echo "/* Generated by configure.  */" >$tmp/config.h
5924   else
5925     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
5926   fi
5927   cat $tmp/in >>$tmp/config.h
5928   rm -f $tmp/in
5929   if test x"$ac_file" != x-; then
5930     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5931       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5932 echo "$as_me: $ac_file is unchanged" >&6;}
5933     else
5934       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5935 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5936          X"$ac_file" : 'X\(//\)[^/]' \| \
5937          X"$ac_file" : 'X\(//\)$' \| \
5938          X"$ac_file" : 'X\(/\)' \| \
5939          .     : '\(.\)' 2>/dev/null ||
5940 echo X"$ac_file" |
5941     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5942           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5943           /^X\(\/\/\)$/{ s//\1/; q; }
5944           /^X\(\/\).*/{ s//\1/; q; }
5945           s/.*/./; q'`
5946       { if $as_mkdir_p; then
5947     mkdir -p "$ac_dir"
5948   else
5949     as_dir="$ac_dir"
5950     as_dirs=
5951     while test ! -d "$as_dir"; do
5952       as_dirs="$as_dir $as_dirs"
5953       as_dir=`(dirname "$as_dir") 2>/dev/null ||
5954 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5955          X"$as_dir" : 'X\(//\)[^/]' \| \
5956          X"$as_dir" : 'X\(//\)$' \| \
5957          X"$as_dir" : 'X\(/\)' \| \
5958          .     : '\(.\)' 2>/dev/null ||
5959 echo X"$as_dir" |
5960     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5961           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5962           /^X\(\/\/\)$/{ s//\1/; q; }
5963           /^X\(\/\).*/{ s//\1/; q; }
5964           s/.*/./; q'`
5965     done
5966     test ! -n "$as_dirs" || mkdir $as_dirs
5967   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5968 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5969    { (exit 1); exit 1; }; }; }
5970
5971       rm -f $ac_file
5972       mv $tmp/config.h $ac_file
5973     fi
5974   else
5975     cat $tmp/config.h
5976     rm -f $tmp/config.h
5977   fi
5978   # Run the commands associated with the file.
5979   case $ac_file in
5980     orte/include/config.h ) # update the timestamp
5981 echo 'timestamp for orte/include/config.h' >"orte/include/stamp-h1"
5982  ;;
5983   esac
5984 done
5985 _ACEOF
5986 cat >>$CONFIG_STATUS <<\_ACEOF
5987
5988 #
5989 # CONFIG_COMMANDS section.
5990 #
5991 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5992   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5993   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5994   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5995 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5996          X"$ac_dest" : 'X\(//\)[^/]' \| \
5997          X"$ac_dest" : 'X\(//\)$' \| \
5998          X"$ac_dest" : 'X\(/\)' \| \
5999          .     : '\(.\)' 2>/dev/null ||
6000 echo X"$ac_dest" |
6001     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6002           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6003           /^X\(\/\/\)$/{ s//\1/; q; }
6004           /^X\(\/\).*/{ s//\1/; q; }
6005           s/.*/./; q'`
6006   ac_builddir=.
6007
6008 if test "$ac_dir" != .; then
6009   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6010   # A "../" for each directory in $ac_dir_suffix.
6011   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6012 else
6013   ac_dir_suffix= ac_top_builddir=
6014 fi
6015
6016 case $srcdir in
6017   .)  # No --srcdir option.  We are building in place.
6018     ac_srcdir=.
6019     if test -z "$ac_top_builddir"; then
6020        ac_top_srcdir=.
6021     else
6022        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6023     fi ;;
6024   [\\/]* | ?:[\\/]* )  # Absolute path.
6025     ac_srcdir=$srcdir$ac_dir_suffix;
6026     ac_top_srcdir=$srcdir ;;
6027   *) # Relative path.
6028     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6029     ac_top_srcdir=$ac_top_builddir$srcdir ;;
6030 esac
6031 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6032 # absolute.
6033 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6034 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
6035 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6036 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6037
6038
6039   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6040 echo "$as_me: executing $ac_dest commands" >&6;}
6041   case $ac_dest in
6042     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6043   # Strip MF so we end up with the name of the file.
6044   mf=`echo "$mf" | sed -e 's/:.*$//'`
6045   # Check whether this is an Automake generated Makefile or not.
6046   # We used to match only the files named `Makefile.in', but
6047   # some people rename them; so instead we look at the file content.
6048   # Grep'ing the first line is not enough: some people post-process
6049   # each Makefile.in and add a new line on top of each file to say so.
6050   # So let's grep whole file.
6051   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6052     dirpart=`(dirname "$mf") 2>/dev/null ||
6053 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6054          X"$mf" : 'X\(//\)[^/]' \| \
6055          X"$mf" : 'X\(//\)$' \| \
6056          X"$mf" : 'X\(/\)' \| \
6057          .     : '\(.\)' 2>/dev/null ||
6058 echo X"$mf" |
6059     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6060           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6061           /^X\(\/\/\)$/{ s//\1/; q; }
6062           /^X\(\/\).*/{ s//\1/; q; }
6063           s/.*/./; q'`
6064   else
6065     continue
6066   fi
6067   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6068   # Extract the definition of DEP_FILES from the Makefile without
6069   # running `make'.
6070   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6071   test -z "$DEPDIR" && continue
6072   # When using ansi2knr, U may be empty or an underscore; expand it
6073   U=`sed -n -e '/^U = / s///p' < "$mf"`
6074   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6075   # We invoke sed twice because it is the simplest approach to
6076   # changing $(DEPDIR) to its actual value in the expansion.
6077   for file in `sed -n -e '
6078     /^DEP_FILES = .*\\\\$/ {
6079       s/^DEP_FILES = //
6080       :loop
6081         s/\\\\$//
6082         p
6083         n
6084         /\\\\$/ b loop
6085       p
6086     }
6087     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6088        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6089     # Make sure the directory exists.
6090     test -f "$dirpart/$file" && continue
6091     fdir=`(dirname "$file") 2>/dev/null ||
6092 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6093          X"$file" : 'X\(//\)[^/]' \| \
6094          X"$file" : 'X\(//\)$' \| \
6095          X"$file" : 'X\(/\)' \| \
6096          .     : '\(.\)' 2>/dev/null ||
6097 echo X"$file" |
6098     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6099           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6100           /^X\(\/\/\)$/{ s//\1/; q; }
6101           /^X\(\/\).*/{ s//\1/; q; }
6102           s/.*/./; q'`
6103     { if $as_mkdir_p; then
6104     mkdir -p $dirpart/$fdir
6105   else
6106     as_dir=$dirpart/$fdir
6107     as_dirs=
6108     while test ! -d "$as_dir"; do
6109       as_dirs="$as_dir $as_dirs"
6110       as_dir=`(dirname "$as_dir") 2>/dev/null ||
6111 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6112          X"$as_dir" : 'X\(//\)[^/]' \| \
6113          X"$as_dir" : 'X\(//\)$' \| \
6114          X"$as_dir" : 'X\(/\)' \| \
6115          .     : '\(.\)' 2>/dev/null ||
6116 echo X"$as_dir" |
6117     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6118           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6119           /^X\(\/\/\)$/{ s//\1/; q; }
6120           /^X\(\/\).*/{ s//\1/; q; }
6121           s/.*/./; q'`
6122     done
6123     test ! -n "$as_dirs" || mkdir $as_dirs
6124   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6125 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6126    { (exit 1); exit 1; }; }; }
6127
6128     # echo "creating $dirpart/$file"
6129     echo '# dummy' > "$dirpart/$file"
6130   done
6131 done
6132  ;;
6133   esac
6134 done
6135 _ACEOF
6136
6137 cat >>$CONFIG_STATUS <<\_ACEOF
6138
6139 { (exit 0); exit 0; }
6140 _ACEOF
6141 chmod +x $CONFIG_STATUS
6142 ac_clean_files=$ac_clean_files_save
6143
6144
6145 # configure is writing to config.log, and then calls config.status.
6146 # config.status does its own redirection, appending to config.log.
6147 # Unfortunately, on DOS this fails, as config.log is still kept open
6148 # by configure, so config.status won't be able to write to it; its
6149 # output is simply discarded.  So we exec the FD to /dev/null,
6150 # effectively closing config.log, so it can be properly (re)opened and
6151 # appended to by config.status.  When coming back to configure, we
6152 # need to make the FD available again.
6153 if test "$no_create" != yes; then
6154   ac_cs_success=:
6155   ac_config_status_args=
6156   test "$silent" = yes &&
6157     ac_config_status_args="$ac_config_status_args --quiet"
6158   exec 5>/dev/null
6159   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6160   exec 5>>config.log
6161   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6162   # would make configure fail if this is the last instruction.
6163   $ac_cs_success || { (exit 1); exit 1; }
6164 fi
6165
6166 chmod +x modtool
6167
6168
6169 # ======================================================================
6170 #               generate orte/include/orte_config.h
6171 # ======================================================================
6172
6173 { echo "$as_me:$LINENO: creating orte/include/orte_config.h" >&5
6174 echo "$as_me: creating orte/include/orte_config.h" >&6;}
6175 sed -e "s/ PACKAGE/ ORTE_PACKAGE/" -e "s/ VERSION/ ORTE_VERSION/" \
6176     orte/include/config.h >orte/include/orte_config.h.new
6177 if cmp -s orte/include/orte_config.h.new orte/include/orte_config.h; then
6178         rm orte/include/orte_config.h.new
6179         { echo "$as_me:$LINENO: orte/include/orte_config.h is unchanged" >&5
6180 echo "$as_me: orte/include/orte_config.h is unchanged" >&6;}
6181 else
6182         mv orte/include/orte_config.h.new orte/include/orte_config.h
6183 fi
6184
6185 echo \
6186 "------------------------------------------------------------------------
6187 Configuration ORTE:
6188
6189   Source code location:       ${srcdir}
6190   Compiler:                   ${CC}
6191   Compiler flags:             ${CFLAGS}
6192   Host System Type:           ${host}
6193
6194   See config.h for further configuration information.
6195 ------------------------------------------------------------------------"
6196