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