2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for orte 0.3.0.
5 # Report bugs to <petr.smolik@wo.cz>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
246 # Find the correct PATH separator. Usually this is `:', but
247 # DJGPP uses `;' like DOS.
248 if test "X${PATH_SEPARATOR+set}" != Xset; then
249 UNAME=${UNAME-`uname 2>/dev/null`}
251 *-DOS) lt_cv_sys_path_separator=';' ;;
252 *) lt_cv_sys_path_separator=':' ;;
254 PATH_SEPARATOR=$lt_cv_sys_path_separator
258 # Check that we are running under the correct shell.
259 SHELL=${CONFIG_SHELL-/bin/sh}
263 # Remove one level of quotation (which was required for Make).
264 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
269 if test "X$1" = X--no-reexec; then
270 # Discard the --no-reexec flag, and continue.
272 elif test "X$1" = X--fallback-echo; then
273 # Avoid inline document here, it may be left over
275 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
276 # Yippee, $echo works!
279 # Restart under the correct shell.
280 exec $SHELL "$0" --no-reexec ${1+"$@"}
283 if test "X$1" = X--fallback-echo; then
284 # used as fallback echo
292 # The HP-UX ksh and POSIX shell print the target directory to stdout
294 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
296 if test -z "$ECHO"; then
297 if test "X${echo_test_string+set}" != Xset; then
298 # find a string as large as possible, as long as the shell can cope with it
299 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
300 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
301 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
302 echo_test_string="`eval $cmd`" &&
303 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
310 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
311 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
312 test "X$echo_testing_string" = "X$echo_test_string"; then
315 # The Solaris, AIX, and Digital Unix default echo programs unquote
316 # backslashes. This makes it impossible to quote backslashes using
317 # echo "$something" | sed 's/\\/\\\\/g'
319 # So, first we look for a working echo in the user's PATH.
321 IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
322 for dir in $PATH /usr/ucb; do
323 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
324 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
325 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
333 if test "X$echo" = Xecho; then
334 # We didn't find a better echo, so look for alternatives.
335 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
336 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
337 test "X$echo_testing_string" = "X$echo_test_string"; then
338 # This shell has a builtin print -r that does the trick.
340 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
341 test "X$CONFIG_SHELL" != X/bin/ksh; then
342 # If we have ksh, try running configure again with it.
343 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
344 export ORIGINAL_CONFIG_SHELL
345 CONFIG_SHELL=/bin/ksh
347 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
351 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
352 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
353 test "X$echo_testing_string" = "X$echo_test_string"; then
356 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
357 test "X$echo_testing_string" = 'X\t' &&
358 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
359 test "X$echo_testing_string" = "X$echo_test_string"; then
360 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
362 SHELL="$CONFIG_SHELL"
364 echo="$CONFIG_SHELL $0 --fallback-echo"
365 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
366 test "X$echo_testing_string" = 'X\t' &&
367 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
368 test "X$echo_testing_string" = "X$echo_test_string"; then
369 echo="$CONFIG_SHELL $0 --fallback-echo"
371 # maybe with a smaller string...
374 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
375 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
382 if test "$prev" != 'sed 50q "$0"'; then
383 echo_test_string=`eval $prev`
384 export echo_test_string
385 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
387 # Oops. We lost completely, so just stick with echo.
396 # Copy echo and quote the copy suitably for passing to libtool from
397 # the Makefile, instead of quoting the original, which is used later.
399 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
400 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
406 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
407 # so uname gets run too.
408 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
415 ac_default_prefix=/usr/local
416 ac_config_libobj_dir=.
421 SHELL=${CONFIG_SHELL-/bin/sh}
423 # Maximum number of lines to put in a shell here document.
424 # This variable seems obsolete. It should probably be removed, and
425 # only ac_max_sed_lines should be used.
426 : ${ac_max_here_lines=38}
428 # Identity of this package.
430 PACKAGE_TARNAME='orte'
431 PACKAGE_VERSION='0.3.0'
432 PACKAGE_STRING='orte 0.3.0'
433 PACKAGE_BUGREPORT='petr.smolik@wo.cz'
435 # Factoring default headers for most tests.
436 ac_includes_default="\
439 # include <sys/types.h>
442 # include <sys/stat.h>
453 # if !STDC_HEADERS && HAVE_MEMORY_H
459 # include <strings.h>
462 # include <inttypes.h>
472 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 ORTE_MAJOR_VERSION ORTE_MINOR_VERSION ORTE_MICRO_VERSION ORTE_VERSION ORTE_INTERFACE_AGE ORTE_BINARY_AGE LT_RELEASE LT_CURRENT LT_REVISION LT_AGE 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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot 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 CONFIG_ADEOS_TRUE CONFIG_ADEOS_FALSE RTAI_CFLAGS CONFIG_RTLINUX_TRUE CONFIG_RTLINUX_FALSE RTLINUX_CFLAGS RTLINUX_CC CONFIG_ORTE_RT USE_RTAI_TRUE USE_RTAI_FALSE USE_RTLINUX_TRUE USE_RTLINUX_FALSE CONFIG_ORTE_RT_TRUE CONFIG_ORTE_RT_FALSE CONFIG_ORTE_WIN_TRUE CONFIG_ORTE_WIN_FALSE CONFIG_ORTE_CYGWIN_TRUE CONFIG_ORTE_CYGWIN_FALSE CONFIG_ORTE_MINGW_TRUE CONFIG_ORTE_MINGW_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 am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB PKG_CONFIG LIBIDL_CFLAGS LIBIDL_LIBS CONFIG_ORTE_IDL_TRUE CONFIG_ORTE_IDL_FALSE CONFIG_ORTE_IDL CONFIG_JORTE_TRUE CONFIG_JORTE_FALSE CONFIG_JORTE LN_S ECHO CPP EGREP LIBTOOL INCLUDES LIBOBJS LTLIBOBJS'
475 # Initialize some variables set by options.
477 ac_init_version=false
478 # The variables have the same names as the options, with
479 # dashes changed to underlines.
487 program_transform_name=s,x,x,
495 # Installation directory options.
496 # These are left unexpanded so users can "make install exec_prefix=/foo"
497 # and all the variables that are supposed to be based on exec_prefix
498 # by default will actually change.
499 # Use braces instead of parens because sh, perl, etc. also accept them.
500 bindir='${exec_prefix}/bin'
501 sbindir='${exec_prefix}/sbin'
502 libexecdir='${exec_prefix}/libexec'
503 datadir='${prefix}/share'
504 sysconfdir='${prefix}/etc'
505 sharedstatedir='${prefix}/com'
506 localstatedir='${prefix}/var'
507 libdir='${exec_prefix}/lib'
508 includedir='${prefix}/include'
509 oldincludedir='/usr/include'
510 infodir='${prefix}/info'
511 mandir='${prefix}/man'
516 # If the previous option needs an argument, assign it.
517 if test -n "$ac_prev"; then
518 eval "$ac_prev=\$ac_option"
523 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
525 # Accept the important Cygnus configure options, so we can diagnose typos.
529 -bindir | --bindir | --bindi | --bind | --bin | --bi)
531 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
534 -build | --build | --buil | --bui | --bu)
535 ac_prev=build_alias ;;
536 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
537 build_alias=$ac_optarg ;;
539 -cache-file | --cache-file | --cache-fil | --cache-fi \
540 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
541 ac_prev=cache_file ;;
542 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
543 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
544 cache_file=$ac_optarg ;;
547 cache_file=config.cache ;;
549 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
551 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
553 datadir=$ac_optarg ;;
555 -disable-* | --disable-*)
556 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
557 # Reject names that are not valid shell variable names.
558 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
559 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
560 { (exit 1); exit 1; }; }
561 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
562 eval "enable_$ac_feature=no" ;;
564 -enable-* | --enable-*)
565 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
566 # Reject names that are not valid shell variable names.
567 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
568 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
569 { (exit 1); exit 1; }; }
570 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
572 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
575 eval "enable_$ac_feature='$ac_optarg'" ;;
577 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
578 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
579 | --exec | --exe | --ex)
580 ac_prev=exec_prefix ;;
581 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
582 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
583 | --exec=* | --exe=* | --ex=*)
584 exec_prefix=$ac_optarg ;;
586 -gas | --gas | --ga | --g)
587 # Obsolete; use --with-gas.
590 -help | --help | --hel | --he | -h)
592 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
593 ac_init_help=recursive ;;
594 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
595 ac_init_help=short ;;
597 -host | --host | --hos | --ho)
598 ac_prev=host_alias ;;
599 -host=* | --host=* | --hos=* | --ho=*)
600 host_alias=$ac_optarg ;;
602 -includedir | --includedir | --includedi | --included | --include \
603 | --includ | --inclu | --incl | --inc)
604 ac_prev=includedir ;;
605 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
606 | --includ=* | --inclu=* | --incl=* | --inc=*)
607 includedir=$ac_optarg ;;
609 -infodir | --infodir | --infodi | --infod | --info | --inf)
611 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
612 infodir=$ac_optarg ;;
614 -libdir | --libdir | --libdi | --libd)
616 -libdir=* | --libdir=* | --libdi=* | --libd=*)
619 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
620 | --libexe | --libex | --libe)
621 ac_prev=libexecdir ;;
622 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
623 | --libexe=* | --libex=* | --libe=*)
624 libexecdir=$ac_optarg ;;
626 -localstatedir | --localstatedir | --localstatedi | --localstated \
627 | --localstate | --localstat | --localsta | --localst \
628 | --locals | --local | --loca | --loc | --lo)
629 ac_prev=localstatedir ;;
630 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
631 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
632 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
633 localstatedir=$ac_optarg ;;
635 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
637 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
641 # Obsolete; use --without-fp.
644 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
645 | --no-cr | --no-c | -n)
648 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
649 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
652 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
653 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
654 | --oldin | --oldi | --old | --ol | --o)
655 ac_prev=oldincludedir ;;
656 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
657 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
658 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
659 oldincludedir=$ac_optarg ;;
661 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
663 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
666 -program-prefix | --program-prefix | --program-prefi | --program-pref \
667 | --program-pre | --program-pr | --program-p)
668 ac_prev=program_prefix ;;
669 -program-prefix=* | --program-prefix=* | --program-prefi=* \
670 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
671 program_prefix=$ac_optarg ;;
673 -program-suffix | --program-suffix | --program-suffi | --program-suff \
674 | --program-suf | --program-su | --program-s)
675 ac_prev=program_suffix ;;
676 -program-suffix=* | --program-suffix=* | --program-suffi=* \
677 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
678 program_suffix=$ac_optarg ;;
680 -program-transform-name | --program-transform-name \
681 | --program-transform-nam | --program-transform-na \
682 | --program-transform-n | --program-transform- \
683 | --program-transform | --program-transfor \
684 | --program-transfo | --program-transf \
685 | --program-trans | --program-tran \
686 | --progr-tra | --program-tr | --program-t)
687 ac_prev=program_transform_name ;;
688 -program-transform-name=* | --program-transform-name=* \
689 | --program-transform-nam=* | --program-transform-na=* \
690 | --program-transform-n=* | --program-transform-=* \
691 | --program-transform=* | --program-transfor=* \
692 | --program-transfo=* | --program-transf=* \
693 | --program-trans=* | --program-tran=* \
694 | --progr-tra=* | --program-tr=* | --program-t=*)
695 program_transform_name=$ac_optarg ;;
697 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
698 | -silent | --silent | --silen | --sile | --sil)
701 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
703 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
705 sbindir=$ac_optarg ;;
707 -sharedstatedir | --sharedstatedir | --sharedstatedi \
708 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
709 | --sharedst | --shareds | --shared | --share | --shar \
711 ac_prev=sharedstatedir ;;
712 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
713 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
714 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
716 sharedstatedir=$ac_optarg ;;
718 -site | --site | --sit)
720 -site=* | --site=* | --sit=*)
723 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
725 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
728 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
729 | --syscon | --sysco | --sysc | --sys | --sy)
730 ac_prev=sysconfdir ;;
731 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
732 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
733 sysconfdir=$ac_optarg ;;
735 -target | --target | --targe | --targ | --tar | --ta | --t)
736 ac_prev=target_alias ;;
737 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
738 target_alias=$ac_optarg ;;
740 -v | -verbose | --verbose | --verbos | --verbo | --verb)
743 -version | --version | --versio | --versi | --vers | -V)
747 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
748 # Reject names that are not valid shell variable names.
749 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
750 { echo "$as_me: error: invalid package name: $ac_package" >&2
751 { (exit 1); exit 1; }; }
752 ac_package=`echo $ac_package| sed 's/-/_/g'`
754 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
757 eval "with_$ac_package='$ac_optarg'" ;;
759 -without-* | --without-*)
760 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
761 # Reject names that are not valid shell variable names.
762 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
763 { echo "$as_me: error: invalid package name: $ac_package" >&2
764 { (exit 1); exit 1; }; }
765 ac_package=`echo $ac_package | sed 's/-/_/g'`
766 eval "with_$ac_package=no" ;;
769 # Obsolete; use --with-x.
772 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
773 | --x-incl | --x-inc | --x-in | --x-i)
774 ac_prev=x_includes ;;
775 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
776 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
777 x_includes=$ac_optarg ;;
779 -x-libraries | --x-libraries | --x-librarie | --x-librari \
780 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
781 ac_prev=x_libraries ;;
782 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
783 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
784 x_libraries=$ac_optarg ;;
786 -*) { echo "$as_me: error: unrecognized option: $ac_option
787 Try \`$0 --help' for more information." >&2
788 { (exit 1); exit 1; }; }
792 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
793 # Reject names that are not valid shell variable names.
794 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
795 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
796 { (exit 1); exit 1; }; }
797 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
798 eval "$ac_envvar='$ac_optarg'"
802 # FIXME: should be removed in autoconf 3.0.
803 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
804 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
805 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
806 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
812 if test -n "$ac_prev"; then
813 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
814 { echo "$as_me: error: missing argument to $ac_option" >&2
815 { (exit 1); exit 1; }; }
818 # Be sure to have absolute paths.
819 for ac_var in exec_prefix prefix
821 eval ac_val=$`echo $ac_var`
823 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
824 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
825 { (exit 1); exit 1; }; };;
829 # Be sure to have absolute paths.
830 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
831 localstatedir libdir includedir oldincludedir infodir mandir
833 eval ac_val=$`echo $ac_var`
835 [\\/$]* | ?:[\\/]* ) ;;
836 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
837 { (exit 1); exit 1; }; };;
841 # There might be people who depend on the old broken behavior: `$host'
842 # used to hold the argument of --host etc.
843 # FIXME: To remove some day.
848 # FIXME: To remove some day.
849 if test "x$host_alias" != x; then
850 if test "x$build_alias" = x; then
851 cross_compiling=maybe
852 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
853 If a cross compiler is detected then cross compile mode will be used." >&2
854 elif test "x$build_alias" != "x$host_alias"; then
860 test -n "$host_alias" && ac_tool_prefix=$host_alias-
862 test "$silent" = yes && exec 6>/dev/null
865 # Find the source files, if location was not specified.
866 if test -z "$srcdir"; then
867 ac_srcdir_defaulted=yes
868 # Try the directory containing this script, then its parent.
869 ac_confdir=`(dirname "$0") 2>/dev/null ||
870 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
871 X"$0" : 'X\(//\)[^/]' \| \
872 X"$0" : 'X\(//\)$' \| \
873 X"$0" : 'X\(/\)' \| \
874 . : '\(.\)' 2>/dev/null ||
876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
877 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
878 /^X\(\/\/\)$/{ s//\1/; q; }
879 /^X\(\/\).*/{ s//\1/; q; }
882 if test ! -r $srcdir/$ac_unique_file; then
886 ac_srcdir_defaulted=no
888 if test ! -r $srcdir/$ac_unique_file; then
889 if test "$ac_srcdir_defaulted" = yes; then
890 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
891 { (exit 1); exit 1; }; }
893 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
894 { (exit 1); exit 1; }; }
897 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
898 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
899 { (exit 1); exit 1; }; }
900 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
901 ac_env_build_alias_set=${build_alias+set}
902 ac_env_build_alias_value=$build_alias
903 ac_cv_env_build_alias_set=${build_alias+set}
904 ac_cv_env_build_alias_value=$build_alias
905 ac_env_host_alias_set=${host_alias+set}
906 ac_env_host_alias_value=$host_alias
907 ac_cv_env_host_alias_set=${host_alias+set}
908 ac_cv_env_host_alias_value=$host_alias
909 ac_env_target_alias_set=${target_alias+set}
910 ac_env_target_alias_value=$target_alias
911 ac_cv_env_target_alias_set=${target_alias+set}
912 ac_cv_env_target_alias_value=$target_alias
913 ac_env_CC_set=${CC+set}
915 ac_cv_env_CC_set=${CC+set}
916 ac_cv_env_CC_value=$CC
917 ac_env_CFLAGS_set=${CFLAGS+set}
918 ac_env_CFLAGS_value=$CFLAGS
919 ac_cv_env_CFLAGS_set=${CFLAGS+set}
920 ac_cv_env_CFLAGS_value=$CFLAGS
921 ac_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_env_LDFLAGS_value=$LDFLAGS
923 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
924 ac_cv_env_LDFLAGS_value=$LDFLAGS
925 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
926 ac_env_CPPFLAGS_value=$CPPFLAGS
927 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
928 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
929 ac_env_CPP_set=${CPP+set}
930 ac_env_CPP_value=$CPP
931 ac_cv_env_CPP_set=${CPP+set}
932 ac_cv_env_CPP_value=$CPP
935 # Report the --help message.
937 if test "$ac_init_help" = "long"; then
938 # Omit some internal or obsolete options to make the list less imposing.
939 # This message is too long to be a string in the A/UX 3.1 sh.
941 \`configure' configures orte 0.3.0 to adapt to many kinds of systems.
943 Usage: $0 [OPTION]... [VAR=VALUE]...
945 To assign environment variables (e.g., CC, CFLAGS...), specify them as
946 VAR=VALUE. See below for descriptions of some of the useful variables.
948 Defaults for the options are specified in brackets.
951 -h, --help display this help and exit
952 --help=short display options specific to this package
953 --help=recursive display the short help of all the included packages
954 -V, --version display version information and exit
955 -q, --quiet, --silent do not print \`checking...' messages
956 --cache-file=FILE cache test results in FILE [disabled]
957 -C, --config-cache alias for \`--cache-file=config.cache'
958 -n, --no-create do not create output files
959 --srcdir=DIR find the sources in DIR [configure dir or \`..']
964 Installation directories:
965 --prefix=PREFIX install architecture-independent files in PREFIX
967 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
970 By default, \`make install' will install all the files in
971 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
972 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
973 for instance \`--prefix=\$HOME'.
975 For better control, use the options below.
977 Fine tuning of the installation directories:
978 --bindir=DIR user executables [EPREFIX/bin]
979 --sbindir=DIR system admin executables [EPREFIX/sbin]
980 --libexecdir=DIR program executables [EPREFIX/libexec]
981 --datadir=DIR read-only architecture-independent data [PREFIX/share]
982 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
983 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
984 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
985 --libdir=DIR object code libraries [EPREFIX/lib]
986 --includedir=DIR C header files [PREFIX/include]
987 --oldincludedir=DIR C header files for non-gcc [/usr/include]
988 --infodir=DIR info documentation [PREFIX/info]
989 --mandir=DIR man documentation [PREFIX/man]
995 --program-prefix=PREFIX prepend PREFIX to installed program names
996 --program-suffix=SUFFIX append SUFFIX to installed program names
997 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1000 --build=BUILD configure for building on BUILD [guessed]
1001 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1002 --target=TARGET configure for building compilers for TARGET [HOST]
1006 if test -n "$ac_init_help"; then
1007 case $ac_init_help in
1008 short | recursive ) echo "Configuration of orte 0.3.0:";;
1013 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1014 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1015 --enable-maintainer-mode enable make rules and dependencies not useful
1016 (and sometimes confusing) to the casual installer
1017 --disable-dependency-tracking speeds up one-time build
1018 --enable-dependency-tracking do not reject slow dependency extractors
1019 --enable-orte-idl enable to compile orte IDL compiler
1020 --enable-shared=PKGS build shared libraries default=yes
1021 --enable-static=PKGS build static libraries default=yes
1022 --enable-fast-install=PKGS optimize for fast installation default=yes
1023 --disable-libtool-lock avoid locking (might break parallel builds)
1026 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1027 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1028 --with-linux=DIR path to Linux patched source directory
1029 --with-rtai=DIR path to configured RTAI 24.1.X sources, or RTAI 3
1031 --with-rtnet=DIR path to RTnet installation directory
1032 --with-rtlinux=DIR path to RTLinux source directory
1033 --with-rtlinuxwip=DIR path to RTLinux wIP source directory
1034 --with-rtlinuxonetd=DIR path to RTLinux onetd source directory
1035 --with-java=DIR path to JAVA home directory for jorte compilation
1036 --with-gnu-ld assume the C compiler uses GNU ld default=no
1037 --with-pic try to use only PIC/non-PIC objects default=use both
1039 Some influential environment variables:
1040 CC C compiler command
1041 CFLAGS C compiler flags
1042 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1043 nonstandard directory <lib dir>
1044 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1045 headers in a nonstandard directory <include dir>
1048 Use these variables to override the choices made by `configure' or to help
1049 it to find libraries and programs with nonstandard names/locations.
1051 Report bugs to <petr.smolik@wo.cz>.
1055 if test "$ac_init_help" = "recursive"; then
1056 # If there are subdirs, report their specific --help.
1058 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1059 test -d $ac_dir || continue
1062 if test "$ac_dir" != .; then
1063 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1064 # A "../" for each directory in $ac_dir_suffix.
1065 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1067 ac_dir_suffix= ac_top_builddir=
1071 .) # No --srcdir option. We are building in place.
1073 if test -z "$ac_top_builddir"; then
1076 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1078 [\\/]* | ?:[\\/]* ) # Absolute path.
1079 ac_srcdir=$srcdir$ac_dir_suffix;
1080 ac_top_srcdir=$srcdir ;;
1082 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1083 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1086 # Do not use `cd foo && pwd` to compute absolute paths, because
1087 # the directories may not exist.
1089 .) ac_abs_builddir="$ac_dir";;
1092 .) ac_abs_builddir=`pwd`;;
1093 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1094 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1097 case $ac_abs_builddir in
1098 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1100 case ${ac_top_builddir}. in
1101 .) ac_abs_top_builddir=$ac_abs_builddir;;
1102 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1103 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1106 case $ac_abs_builddir in
1107 .) ac_abs_srcdir=$ac_srcdir;;
1110 .) ac_abs_srcdir=$ac_abs_builddir;;
1111 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1112 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1115 case $ac_abs_builddir in
1116 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1118 case $ac_top_srcdir in
1119 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1120 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1121 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1126 # Check for guested configure; otherwise get Cygnus style configure.
1127 if test -f $ac_srcdir/configure.gnu; then
1129 $SHELL $ac_srcdir/configure.gnu --help=recursive
1130 elif test -f $ac_srcdir/configure; then
1132 $SHELL $ac_srcdir/configure --help=recursive
1133 elif test -f $ac_srcdir/configure.ac ||
1134 test -f $ac_srcdir/configure.in; then
1136 $ac_configure --help
1138 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1144 test -n "$ac_init_help" && exit 0
1145 if $ac_init_version; then
1147 orte configure 0.3.0
1148 generated by GNU Autoconf 2.59
1150 Copyright (C) 2003 Free Software Foundation, Inc.
1151 This configure script is free software; the Free Software Foundation
1152 gives unlimited permission to copy, distribute and modify it.
1158 This file contains any messages produced by compilers while
1159 running configure, to aid debugging if configure makes a mistake.
1161 It was created by orte $as_me 0.3.0, which was
1162 generated by GNU Autoconf 2.59. Invocation command line was
1173 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1174 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1175 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1176 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1177 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1179 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1180 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1182 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1183 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1184 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1185 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1186 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1187 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1188 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1196 test -z "$as_dir" && as_dir=.
1197 echo "PATH: $as_dir"
1212 # Keep a trace of the command line.
1213 # Strip out --no-create and --no-recursion so they do not pile up.
1214 # Strip out --silent because we don't want to record it for future runs.
1215 # Also quote any args containing shell meta-characters.
1216 # Make two passes to allow for proper duplicate-argument suppression.
1221 ac_must_keep_next=false
1227 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1228 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1229 | -silent | --silent | --silen | --sile | --sil)
1231 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1232 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1235 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1237 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1238 if test $ac_must_keep_next = true; then
1239 ac_must_keep_next=false # Got value, back to normal.
1242 *=* | --config-cache | -C | -disable-* | --disable-* \
1243 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1244 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1245 | -with-* | --with-* | -without-* | --without-* | --x)
1246 case "$ac_configure_args0 " in
1247 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1250 -* ) ac_must_keep_next=true ;;
1253 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1254 # Get rid of the leading space.
1260 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1261 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1263 # When interrupted or exit'd, cleanup temporary files, and complete
1264 # config.log. We remove comments because anyway the quotes in there
1265 # would cause problems or look ugly.
1266 # WARNING: Be sure not to use single quotes in there, as some shells,
1267 # such as our DU 5.0 friend, will then `close' the trap.
1268 trap 'exit_status=$?
1269 # Save into config.log some information that might help in debugging.
1274 ## ---------------- ##
1275 ## Cache variables. ##
1276 ## ---------------- ##
1279 # The following way of writing the cache mishandles newlines in values,
1282 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1285 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1286 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1290 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1297 ## ----------------- ##
1298 ## Output variables. ##
1299 ## ----------------- ##
1302 for ac_var in $ac_subst_vars
1304 eval ac_val=$`echo $ac_var`
1305 echo "$ac_var='"'"'$ac_val'"'"'"
1309 if test -n "$ac_subst_files"; then
1316 for ac_var in $ac_subst_files
1318 eval ac_val=$`echo $ac_var`
1319 echo "$ac_var='"'"'$ac_val'"'"'"
1324 if test -s confdefs.h; then
1331 sed "/^$/d" confdefs.h | sort
1334 test "$ac_signal" != 0 &&
1335 echo "$as_me: caught signal $ac_signal"
1336 echo "$as_me: exit $exit_status"
1338 rm -f core *.core &&
1339 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1342 for ac_signal in 1 2 13 15; do
1343 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1347 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1348 rm -rf conftest* confdefs.h
1349 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1352 # Predefined preprocessor variables.
1354 cat >>confdefs.h <<_ACEOF
1355 #define PACKAGE_NAME "$PACKAGE_NAME"
1359 cat >>confdefs.h <<_ACEOF
1360 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1364 cat >>confdefs.h <<_ACEOF
1365 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1369 cat >>confdefs.h <<_ACEOF
1370 #define PACKAGE_STRING "$PACKAGE_STRING"
1374 cat >>confdefs.h <<_ACEOF
1375 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1379 # Let the site file select an alternate cache file if it wants to.
1380 # Prefer explicitly selected file to automatically selected ones.
1381 if test -z "$CONFIG_SITE"; then
1382 if test "x$prefix" != xNONE; then
1383 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1385 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1388 for ac_site_file in $CONFIG_SITE; do
1389 if test -r "$ac_site_file"; then
1390 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1391 echo "$as_me: loading site script $ac_site_file" >&6;}
1392 sed 's/^/| /' "$ac_site_file" >&5
1397 if test -r "$cache_file"; then
1398 # Some versions of bash will fail to source /dev/null (special
1399 # files actually), so we avoid doing that.
1400 if test -f "$cache_file"; then
1401 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1402 echo "$as_me: loading cache $cache_file" >&6;}
1404 [\\/]* | ?:[\\/]* ) . $cache_file;;
1405 *) . ./$cache_file;;
1409 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1410 echo "$as_me: creating cache $cache_file" >&6;}
1414 # Check that the precious variables saved in the cache have kept the same
1416 ac_cache_corrupted=false
1417 for ac_var in `(set) 2>&1 |
1418 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1419 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1420 eval ac_new_set=\$ac_env_${ac_var}_set
1421 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1422 eval ac_new_val="\$ac_env_${ac_var}_value"
1423 case $ac_old_set,$ac_new_set in
1425 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1426 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1427 ac_cache_corrupted=: ;;
1429 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1430 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1431 ac_cache_corrupted=: ;;
1434 if test "x$ac_old_val" != "x$ac_new_val"; then
1435 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1436 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1437 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1438 echo "$as_me: former value: $ac_old_val" >&2;}
1439 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1440 echo "$as_me: current value: $ac_new_val" >&2;}
1441 ac_cache_corrupted=:
1444 # Pass precious variables to config.status.
1445 if test "$ac_new_set" = set; then
1447 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1448 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1449 *) ac_arg=$ac_var=$ac_new_val ;;
1451 case " $ac_configure_args " in
1452 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1453 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1457 if $ac_cache_corrupted; then
1458 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1459 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1460 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1461 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1462 { (exit 1); exit 1; }; }
1466 ac_cpp='$CPP $CPPFLAGS'
1467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1498 for ac_dir in admin $srcdir/admin; do
1499 if test -f $ac_dir/install-sh; then
1501 ac_install_sh="$ac_aux_dir/install-sh -c"
1503 elif test -f $ac_dir/install.sh; then
1505 ac_install_sh="$ac_aux_dir/install.sh -c"
1507 elif test -f $ac_dir/shtool; then
1509 ac_install_sh="$ac_aux_dir/shtool install -c"
1513 if test -z "$ac_aux_dir"; then
1514 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&5
1515 echo "$as_me: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&2;}
1516 { (exit 1); exit 1; }; }
1518 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1519 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1520 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1523 ###############################
1525 ORTE_MAJOR_VERSION=0
1526 ORTE_MINOR_VERSION=3
1527 ORTE_MICRO_VERSION=0
1528 ORTE_INTERFACE_AGE=0
1530 ORTE_VERSION=$ORTE_MAJOR_VERSION.$ORTE_MINOR_VERSION.$ORTE_MICRO_VERSION
1538 ORTE_MICRO_VERSION_NUM=`echo $ORTE_MICRO_VERSION | sed 's/[a-zA-Z]//g'`
1539 LT_RELEASE=$ORTE_MAJOR_VERSION.$ORTE_MINOR_VERSION
1540 LT_CURRENT=`expr $ORTE_MICRO_VERSION_NUM - $ORTE_INTERFACE_AGE`
1541 LT_REVISION=$ORTE_INTERFACE_AGE
1542 LT_AGE=`expr $ORTE_BINARY_AGE - $ORTE_INTERFACE_AGE`
1547 VERSION=$ORTE_VERSION
1551 echo "ORTE version $PACKAGE_VERSION"
1552 echo "Configuring..."
1555 #Check for CPU / vendor / OS
1556 # Make sure we can run config.sub.
1557 $ac_config_sub sun4 >/dev/null 2>&1 ||
1558 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1559 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1560 { (exit 1); exit 1; }; }
1562 echo "$as_me:$LINENO: checking build system type" >&5
1563 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1564 if test "${ac_cv_build+set}" = set; then
1565 echo $ECHO_N "(cached) $ECHO_C" >&6
1567 ac_cv_build_alias=$build_alias
1568 test -z "$ac_cv_build_alias" &&
1569 ac_cv_build_alias=`$ac_config_guess`
1570 test -z "$ac_cv_build_alias" &&
1571 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1572 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1573 { (exit 1); exit 1; }; }
1574 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1575 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1576 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1577 { (exit 1); exit 1; }; }
1580 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1581 echo "${ECHO_T}$ac_cv_build" >&6
1583 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1584 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1585 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1588 echo "$as_me:$LINENO: checking host system type" >&5
1589 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1590 if test "${ac_cv_host+set}" = set; then
1591 echo $ECHO_N "(cached) $ECHO_C" >&6
1593 ac_cv_host_alias=$host_alias
1594 test -z "$ac_cv_host_alias" &&
1595 ac_cv_host_alias=$ac_cv_build_alias
1596 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1597 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1598 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1599 { (exit 1); exit 1; }; }
1602 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1603 echo "${ECHO_T}$ac_cv_host" >&6
1605 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1606 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1607 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1610 echo "$as_me:$LINENO: checking target system type" >&5
1611 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1612 if test "${ac_cv_target+set}" = set; then
1613 echo $ECHO_N "(cached) $ECHO_C" >&6
1615 ac_cv_target_alias=$target_alias
1616 test "x$ac_cv_target_alias" = "x" &&
1617 ac_cv_target_alias=$ac_cv_host_alias
1618 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1619 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1620 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1621 { (exit 1); exit 1; }; }
1624 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1625 echo "${ECHO_T}$ac_cv_target" >&6
1626 target=$ac_cv_target
1627 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1628 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1629 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1632 # The aliases save the names the user supplied, while $host etc.
1633 # will get canonicalized.
1634 test -n "$target_alias" &&
1635 test "$program_prefix$program_suffix$program_transform_name" = \
1637 program_prefix=${target_alias}-
1638 ac_config_headers="$ac_config_headers orte/include/orte/orte_config.h"
1640 am__api_version="1.8"
1641 # Find a good install program. We prefer a C program (faster),
1642 # so one script is as good as another. But avoid the broken or
1643 # incompatible versions:
1644 # SysV /etc/install, /usr/sbin/install
1645 # SunOS /usr/etc/install
1646 # IRIX /sbin/install
1648 # AmigaOS /C/install, which installs bootblocks on floppy discs
1649 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1650 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1651 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1652 # OS/2's system install, which has a completely different semantic
1653 # ./install, which can be erroneously created by make from ./install.sh.
1654 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1655 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1656 if test -z "$INSTALL"; then
1657 if test "${ac_cv_path_install+set}" = set; then
1658 echo $ECHO_N "(cached) $ECHO_C" >&6
1660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1664 test -z "$as_dir" && as_dir=.
1665 # Account for people who put trailing slashes in PATH elements.
1667 ./ | .// | /cC/* | \
1668 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1669 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1672 # OSF1 and SCO ODT 3.0 have their own names for install.
1673 # Don't use installbsd from OSF since it installs stuff as root
1675 for ac_prog in ginstall scoinst install; do
1676 for ac_exec_ext in '' $ac_executable_extensions; do
1677 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1678 if test $ac_prog = install &&
1679 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1680 # AIX install. It has an incompatible calling convention.
1682 elif test $ac_prog = install &&
1683 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1684 # program-specific install script used by HP pwplus--don't use.
1687 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1699 if test "${ac_cv_path_install+set}" = set; then
1700 INSTALL=$ac_cv_path_install
1702 # As a last resort, use the slow shell script. We don't cache a
1703 # path for INSTALL within a source directory, because that will
1704 # break other packages using the cache if that directory is
1705 # removed, or if the path is relative.
1706 INSTALL=$ac_install_sh
1709 echo "$as_me:$LINENO: result: $INSTALL" >&5
1710 echo "${ECHO_T}$INSTALL" >&6
1712 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1713 # It thinks the first close brace ends the variable substitution.
1714 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1716 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1718 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1720 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1721 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1724 echo timestamp > conftest.file
1725 # Do `set' in a subshell so we don't clobber the current shell's
1726 # arguments. Must try -L first in case configure is actually a
1727 # symlink; some systems play weird games with the mod time of symlinks
1728 # (eg FreeBSD returns the mod time of the symlink's containing
1731 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1732 if test "$*" = "X"; then
1734 set X `ls -t $srcdir/configure conftest.file`
1737 if test "$*" != "X $srcdir/configure conftest.file" \
1738 && test "$*" != "X conftest.file $srcdir/configure"; then
1740 # If neither matched, then we have a broken ls. This can happen
1741 # if, for instance, CONFIG_SHELL is bash and it inherits a
1742 # broken ls alias from the environment. This has actually
1743 # happened. Such a system could not be considered "sane".
1744 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1745 alias in your environment" >&5
1746 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1747 alias in your environment" >&2;}
1748 { (exit 1); exit 1; }; }
1751 test "$2" = conftest.file
1757 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1758 Check your system clock" >&5
1759 echo "$as_me: error: newly created file is older than distributed files!
1760 Check your system clock" >&2;}
1761 { (exit 1); exit 1; }; }
1763 echo "$as_me:$LINENO: result: yes" >&5
1764 echo "${ECHO_T}yes" >&6
1765 test "$program_prefix" != NONE &&
1766 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1767 # Use a double $ so make ignores it.
1768 test "$program_suffix" != NONE &&
1769 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1770 # Double any \ or $. echo might interpret backslashes.
1771 # By default was `s,x,x', remove it if useless.
1772 cat <<\_ACEOF >conftest.sed
1773 s/[\\$]/&&/g;s/;s,x,x,$//
1775 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1778 # expand $ac_aux_dir to an absolute path
1779 am_aux_dir=`cd $ac_aux_dir && pwd`
1781 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1782 # Use eval to expand $SHELL
1783 if eval "$MISSING --run true"; then
1784 am_missing_run="$MISSING --run "
1787 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1788 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1791 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1792 # Keeping the `.' argument allows $(mkdir_p) to be used without
1793 # argument. Indeed, we sometimes output rules like
1794 # $(mkdir_p) $(somedir)
1795 # where $(somedir) is conditionally defined.
1796 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1797 # expensive solution, as it forces Make to start a sub-shell.)
1798 mkdir_p='mkdir -p -- .'
1800 # On NextStep and OpenStep, the `mkdir' command does not
1801 # recognize any option. It will interpret all options as
1802 # directories to create, and then abort because `.' already
1804 for d in ./-p ./--version;
1806 test -d $d && rmdir $d
1808 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1809 if test -f "$ac_aux_dir/mkinstalldirs"; then
1810 mkdir_p='$(mkinstalldirs)'
1812 mkdir_p='$(install_sh) -d'
1816 for ac_prog in gawk mawk nawk awk
1818 # Extract the first word of "$ac_prog", so it can be a program name with args.
1819 set dummy $ac_prog; ac_word=$2
1820 echo "$as_me:$LINENO: checking for $ac_word" >&5
1821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1822 if test "${ac_cv_prog_AWK+set}" = set; then
1823 echo $ECHO_N "(cached) $ECHO_C" >&6
1825 if test -n "$AWK"; then
1826 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1832 test -z "$as_dir" && as_dir=.
1833 for ac_exec_ext in '' $ac_executable_extensions; do
1834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1835 ac_cv_prog_AWK="$ac_prog"
1836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1845 if test -n "$AWK"; then
1846 echo "$as_me:$LINENO: result: $AWK" >&5
1847 echo "${ECHO_T}$AWK" >&6
1849 echo "$as_me:$LINENO: result: no" >&5
1850 echo "${ECHO_T}no" >&6
1853 test -n "$AWK" && break
1856 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1857 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1858 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1859 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1860 echo $ECHO_N "(cached) $ECHO_C" >&6
1862 cat >conftest.make <<\_ACEOF
1864 @echo 'ac_maketemp="$(MAKE)"'
1866 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1867 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1868 if test -n "$ac_maketemp"; then
1869 eval ac_cv_prog_make_${ac_make}_set=yes
1871 eval ac_cv_prog_make_${ac_make}_set=no
1875 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1876 echo "$as_me:$LINENO: result: yes" >&5
1877 echo "${ECHO_T}yes" >&6
1880 echo "$as_me:$LINENO: result: no" >&5
1881 echo "${ECHO_T}no" >&6
1882 SET_MAKE="MAKE=${MAKE-make}"
1885 rm -rf .tst 2>/dev/null
1886 mkdir .tst 2>/dev/null
1887 if test -d .tst; then
1892 rmdir .tst 2>/dev/null
1894 # test to see if srcdir already configured
1895 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1896 test -f $srcdir/config.status; then
1897 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1898 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1899 { (exit 1); exit 1; }; }
1902 # test whether we have cygpath
1903 if test -z "$CYGPATH_W"; then
1904 if (cygpath --version) >/dev/null 2>/dev/null; then
1905 CYGPATH_W='cygpath -w'
1912 # Define the identity of the package.
1917 # Some tools Automake needs.
1919 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1922 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1925 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1928 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1931 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1934 AMTAR=${AMTAR-"${am_missing_run}tar"}
1936 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1938 # Installed binaries are usually stripped using `strip' when the user
1939 # run `make install-strip'. However `strip' might not be the right
1940 # tool to use in cross-compilation environments, therefore Automake
1941 # will honor the `STRIP' environment variable to overrule this program.
1942 if test "$cross_compiling" != no; then
1943 if test -n "$ac_tool_prefix"; then
1944 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1945 set dummy ${ac_tool_prefix}strip; ac_word=$2
1946 echo "$as_me:$LINENO: checking for $ac_word" >&5
1947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1948 if test "${ac_cv_prog_STRIP+set}" = set; then
1949 echo $ECHO_N "(cached) $ECHO_C" >&6
1951 if test -n "$STRIP"; then
1952 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1958 test -z "$as_dir" && as_dir=.
1959 for ac_exec_ext in '' $ac_executable_extensions; do
1960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1961 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1970 STRIP=$ac_cv_prog_STRIP
1971 if test -n "$STRIP"; then
1972 echo "$as_me:$LINENO: result: $STRIP" >&5
1973 echo "${ECHO_T}$STRIP" >&6
1975 echo "$as_me:$LINENO: result: no" >&5
1976 echo "${ECHO_T}no" >&6
1980 if test -z "$ac_cv_prog_STRIP"; then
1982 # Extract the first word of "strip", so it can be a program name with args.
1983 set dummy strip; ac_word=$2
1984 echo "$as_me:$LINENO: checking for $ac_word" >&5
1985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1986 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1987 echo $ECHO_N "(cached) $ECHO_C" >&6
1989 if test -n "$ac_ct_STRIP"; then
1990 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1996 test -z "$as_dir" && as_dir=.
1997 for ac_exec_ext in '' $ac_executable_extensions; do
1998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1999 ac_cv_prog_ac_ct_STRIP="strip"
2000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2006 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2009 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2010 if test -n "$ac_ct_STRIP"; then
2011 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2012 echo "${ECHO_T}$ac_ct_STRIP" >&6
2014 echo "$as_me:$LINENO: result: no" >&5
2015 echo "${ECHO_T}no" >&6
2020 STRIP="$ac_cv_prog_STRIP"
2024 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2026 # We need awk for the "check" target. The system "awk" is bad on
2033 # Activate maintainer mode
2034 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2035 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2036 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2037 if test "${enable_maintainer_mode+set}" = set; then
2038 enableval="$enable_maintainer_mode"
2039 USE_MAINTAINER_MODE=$enableval
2041 USE_MAINTAINER_MODE=no
2043 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2044 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2047 if test $USE_MAINTAINER_MODE = yes; then
2048 MAINTAINER_MODE_TRUE=
2049 MAINTAINER_MODE_FALSE='#'
2051 MAINTAINER_MODE_TRUE='#'
2052 MAINTAINER_MODE_FALSE=
2055 MAINT=$MAINTAINER_MODE_TRUE
2063 # Check whether --with-linux or --without-linux was given.
2064 if test "${with_linux+set}" = set; then
2065 withval="$with_linux"
2066 LINUX_DIR="${withval}"
2075 echo "$as_me:$LINENO: checking Linux version" >&5
2076 echo $ECHO_N "checking Linux version... $ECHO_C" >&6
2078 if test "${LINUX_DIR}" != "default" ; then
2080 if [ ! -f "${LINUX_DIR}/.config" ];then
2081 { { echo "$as_me:$LINENO: error:
2082 The kernel source tree at ${LINUX_DIR} is not configured.
2083 Fix before continuing." >&5
2084 echo "$as_me: error:
2085 The kernel source tree at ${LINUX_DIR} is not configured.
2086 Fix before continuing." >&2;}
2087 { (exit 1); exit 1; }; }
2090 if [ ! -f "${LINUX_DIR}/include/linux/version.h" ];then
2091 { { echo "$as_me:$LINENO: error: The header file include/linux/version.h does not exist.
2092 For 2.6 kernels, it can be generated by running 'make prepare' in
2093 the kernel source directory." >&5
2094 echo "$as_me: error: The header file include/linux/version.h does not exist.
2095 For 2.6 kernels, it can be generated by running 'make prepare' in
2096 the kernel source directory." >&2;}
2097 { (exit 1); exit 1; }; }
2100 LINUX_VERSION=$(grep UTS_RELEASE ${LINUX_DIR}/include/linux/version.h | \
2101 sed 's/[^"]*"\(.*\)\{1\}"/\1/')
2103 echo "$as_me:$LINENO: result: $LINUX_VERSION" >&5
2104 echo "${ECHO_T}$LINUX_VERSION" >&6
2106 LINUX_VERSION_MAJOR=$(echo ${LINUX_VERSION} | cut -d. -f1)
2107 LINUX_VERSION_MINOR=$(echo ${LINUX_VERSION} | cut -d. -f2)
2109 case $LINUX_VERSION_MAJOR.$LINUX_VERSION_MINOR in
2112 echo "$as_me:$LINENO: checking for Linux CFLAGS" >&5
2113 echo $ECHO_N "checking for Linux CFLAGS... $ECHO_C" >&6
2115 tmpdir="`pwd`/tmp-noicrwa"
2120 cat >${tmpdir}/Makefile <<EOF
2123 \$(obj)/fake.c: flags
2124 touch \$(obj)/fake.c
2128 echo LINUX_ARCH=\"\$(ARCH)\" >>\$(obj)/flags
2129 echo LINUX_AFLAGS=\"\$(AFLAGS)\" | sed 's_Iinclude_I"\$(LINUXDIR)/include"_g'>>\$(obj)/flags
2130 echo LINUX_LDFLAGS=\"\" >>\$(obj)/flags
2131 echo LINUX_ARFLAGS=\"\$(ARFLAGS)\" >>\$(obj)/flags
2132 echo LINUX_CROSS_COMPILE=\"\$(CROSS_COMPILE)\" >>\$(obj)/flags
2133 echo LINUX_KERNELRELEASE=\"\$(KERNELRELEASE)\" >>\$(obj)/flags
2134 echo LINUX_CFLAGS=\"\$(CFLAGS)\" | sed 's_Iinclude_I"\$(LINUXDIR)/include"_g'>>\$(obj)/flags
2135 echo LINUX_CC=\"\$(CC)\" >>\$(obj)/flags
2136 echo LINUX_LD=\"\$(LD) \$(LDFLAGS)\" >>\$(obj)/flags
2137 echo LINUX_AS=\"\$(AS)\" >>\$(obj)/flags
2140 echo ${MAKE-make} -C ${LINUX_DIR} V=1 SUBDIRS=${tmpdir} LINUXDIR=${LINUX_DIR} MODVERDIR=${tmpdir} modules >&5 2>&5
2141 ${MAKE-make} -C ${LINUX_DIR} V=1 SUBDIRS=${tmpdir} LINUXDIR=${LINUX_DIR} MODVERDIR=${tmpdir} modules >&5 2>&5
2145 LINUX_MODULE_EXT=".ko"
2159 echo "$as_me:$LINENO: result: ok" >&5
2160 echo "${ECHO_T}ok" >&6
2165 echo "$as_me:$LINENO: checking for Linux CFLAGS" >&5
2166 echo $ECHO_N "checking for Linux CFLAGS... $ECHO_C" >&6
2168 if [ ! -f "${LINUX_DIR}/.hdepend" ];then
2169 { { echo "$as_me:$LINENO: error:
2170 You need to run 'make dep' on the kernel source before continuing." >&5
2171 echo "$as_me: error:
2172 You need to run 'make dep' on the kernel source before continuing." >&2;}
2173 { (exit 1); exit 1; }; }
2176 tmpdir="`pwd`/tmp-noicrwa"
2181 cat >${tmpdir}/Makefile <<EOF
2185 echo LINUX_ARCH=\"\$(ARCH)\" >>flags
2186 echo LINUX_AFLAGS=\"\$(AFLAGS)\" | sed 's_Iinclude_I\"\$(LINUXDIR)/include\"_g'>>flags
2187 echo LINUX_LDFLAGS=\"\" >>flags
2188 echo LINUX_ARFLAGS=\"\$(ARFLAGS)\" >>flags
2189 echo LINUX_CROSS_COMPILE=\"\$(CROSS_COMPILE)\" >>flags
2190 echo LINUX_KERNELRELEASE=\"\$(KERNELRELEASE)\" >>flags
2191 echo LINUX_CFLAGS=\"\$(CFLAGS)\" | sed 's_Iinclude_I\"\$(LINUXDIR)/include\"_g'>>flags
2192 echo LINUX_CC=\"\$(CC)\" >>flags
2193 echo LINUX_LD=\"\$(LD) \$(LDFLAGS)\" >>flags
2194 echo LINUX_AS=\"\$(AS)\" >>flags
2197 echo ${MAKE-make} -C ${LINUX_DIR} SUBDIRS=${tmpdir} modules >&5 2>&5
2198 ${MAKE-make} -C ${LINUX_DIR} SUBDIRS=${tmpdir} modules >&5 2>&5
2202 LINUX_MODULE_EXT=".o"
2216 echo "$as_me:$LINENO: result: ok" >&5
2217 echo "${ECHO_T}ok" >&6
2221 { { echo "$as_me:$LINENO: error: Unknown Linux major.minor $LINUX_VERSION_MAJOR.$LINUX_VERSION_MINOR" >&5
2222 echo "$as_me: error: Unknown Linux major.minor $LINUX_VERSION_MAJOR.$LINUX_VERSION_MINOR" >&2;}
2223 { (exit 1); exit 1; }; }
2227 CONFIG_ORTE_KERNEL=yes
2229 cat >>confdefs.h <<\_ACEOF
2230 #define CONFIG_ORTE_KERNEL 1
2235 echo "$as_me:$LINENO: result: no" >&5
2236 echo "${ECHO_T}no" >&6
2238 CONFIG_ORTE_KERNEL=no
2245 if test ${CONFIG_ORTE_KERNEL} == "yes"; then
2246 CONFIG_ORTE_KERNEL_TRUE=
2247 CONFIG_ORTE_KERNEL_FALSE='#'
2249 CONFIG_ORTE_KERNEL_TRUE='#'
2250 CONFIG_ORTE_KERNEL_FALSE=
2257 # Check whether --with-rtai or --without-rtai was given.
2258 if test "${with_rtai+set}" = set; then
2259 withval="$with_rtai"
2260 RTAI_DIR="${withval}"
2262 RTAI_DIR=/usr/src/rtai
2266 # Check whether --with-rtnet or --without-rtnet was given.
2267 if test "${with_rtnet+set}" = set; then
2268 withval="$with_rtnet"
2269 RTNET_DIR="${withval}"
2271 RTNET_DIR=/usr/src/rtnet
2276 echo "$as_me:$LINENO: checking Linux config option CONFIG_RTHAL" >&5
2277 echo $ECHO_N "checking Linux config option CONFIG_RTHAL... $ECHO_C" >&6
2279 if grep '^CONFIG_RTHAL=y$' ${LINUX_DIR}/.config >/dev/null 2>/dev/null; then
2282 else if grep '^CONFIG_RTHAL=m$' ${LINUX_DIR}/.config >/dev/null 2>/dev/null; then
2291 echo "$as_me:$LINENO: result: $result" >&5
2292 echo "${ECHO_T}$result" >&6
2297 if test "${CONFIG_RTHAL}" = yes -o "${CONFIG_RTHAL}" = module; then
2299 CONFIG_RTHAL_FALSE='#'
2301 CONFIG_RTHAL_TRUE='#'
2308 echo "$as_me:$LINENO: checking Linux config option CONFIG_ADEOS" >&5
2309 echo $ECHO_N "checking Linux config option CONFIG_ADEOS... $ECHO_C" >&6
2311 if grep '^CONFIG_ADEOS=y$' ${LINUX_DIR}/.config >/dev/null 2>/dev/null; then
2314 else if grep '^CONFIG_ADEOS=m$' ${LINUX_DIR}/.config >/dev/null 2>/dev/null; then
2323 echo "$as_me:$LINENO: result: $result" >&5
2324 echo "${ECHO_T}$result" >&6
2329 if test "${CONFIG_ADEOS}" = yes -o "${CONFIG_ADEOS}" = module; then
2331 CONFIG_ADEOS_FALSE='#'
2333 CONFIG_ADEOS_TRUE='#'
2339 if test "${CONFIG_RTHAL}" != "no" -o "${CONFIG_ADEOS}" != "no"; then
2340 echo "$as_me:$LINENO: checking RTAI directory ${RTAI_DIR}" >&5
2341 echo $ECHO_N "checking RTAI directory ${RTAI_DIR}... $ECHO_C" >&6
2342 if [ -d ${RTAI_DIR}/include ] ; then
2343 RTAI_CFLAGS="-I${RTAI_DIR}/include"
2345 if -d ${RTAI_DIR}/rtai-core/include ; then
2346 RTAI_CFLAGS="-I${RTAI_DIR}/rtai-core/include"
2348 { { echo "$as_me:$LINENO: error: incorrect RTAI directory?" >&5
2349 echo "$as_me: error: incorrect RTAI directory?" >&2;}
2350 { (exit 1); exit 1; }; }
2353 echo "$as_me:$LINENO: result: found" >&5
2354 echo "${ECHO_T}found" >&6
2355 echo "$as_me:$LINENO: checking RTnet directory ${RTNET_DIR}" >&5
2356 echo $ECHO_N "checking RTnet directory ${RTNET_DIR}... $ECHO_C" >&6
2357 if [ -d ${RTNET_DIR}/include ] ; then
2358 RTAI_CFLAGS="${RTAI_CFLAGS} -I${RTNET_DIR}/include"
2360 { { echo "$as_me:$LINENO: error: incorrect RTnet directory?" >&5
2361 echo "$as_me: error: incorrect RTnet directory?" >&2;}
2362 { (exit 1); exit 1; }; }
2364 echo "$as_me:$LINENO: result: found" >&5
2365 echo "${ECHO_T}found" >&6
2367 RT_GCCLIB_DIR=`gcc -print-search-dirs | sed -n -e 's/^install: \(.*\)$/\1/p'`
2368 RTAI_CFLAGS="${RTAI_CFLAGS} -idirafter ${RT_GCCLIB_DIR}/include -nostdinc"
2370 cat >>confdefs.h <<\_ACEOF
2371 #define CONFIG_ORTE_RTAI 1
2382 # Check whether --with-rtlinux or --without-rtlinux was given.
2383 if test "${with_rtlinux+set}" = set; then
2384 withval="$with_rtlinux"
2385 RTLINUX_DIR="${withval}"
2387 RTLINUX_DIR=/usr/src/rtlinux
2391 # Check whether --with-rtlinuxwip or --without-rtlinuxwip was given.
2392 if test "${with_rtlinuxwip+set}" = set; then
2393 withval="$with_rtlinuxwip"
2394 RTLINUXWIP_DIR="${withval}"
2396 RTLINUXWIP_DIR="${RTLINUX_DIR}"
2400 # Check whether --with-rtlinuxonetd or --without-rtlinuxonetd was given.
2401 if test "${with_rtlinuxonetd+set}" = set; then
2402 withval="$with_rtlinuxonetd"
2403 RTLINUXONETD_DIR="${withval}"
2405 RTLINUXONETD_DIR="${RTLINUX_DIR}"
2410 echo "$as_me:$LINENO: checking Linux config option CONFIG_RTLINUX" >&5
2411 echo $ECHO_N "checking Linux config option CONFIG_RTLINUX... $ECHO_C" >&6
2413 if grep '^CONFIG_RTLINUX=y$' ${LINUX_DIR}/.config >/dev/null 2>/dev/null; then
2416 else if grep '^CONFIG_RTLINUX=m$' ${LINUX_DIR}/.config >/dev/null 2>/dev/null; then
2418 CONFIG_RTLINUX=module
2425 echo "$as_me:$LINENO: result: $result" >&5
2426 echo "${ECHO_T}$result" >&6
2431 if test "${CONFIG_RTLINUX}" = yes -o "${CONFIG_RTLINUX}" = module; then
2432 CONFIG_RTLINUX_TRUE=
2433 CONFIG_RTLINUX_FALSE='#'
2435 CONFIG_RTLINUX_TRUE='#'
2436 CONFIG_RTLINUX_FALSE=
2441 if test "${CONFIG_RTLINUX}" != "no" ; then
2442 echo "$as_me:$LINENO: checking RTLinux directory ${RTLINUX_DIR} for rtl.mk" >&5
2443 echo $ECHO_N "checking RTLinux directory ${RTLINUX_DIR} for rtl.mk... $ECHO_C" >&6
2444 if [ -d ${RTLINUX_DIR}/include ] ; then
2445 RTLINUX_CFLAGS=`sed -n -e 's/^CFLAGS *=\(.*\)$/\1/p' ${RTLINUX_DIR}/rtl.mk`
2446 RTLINUX_CC=`sed -n -e 's/^CC *=\(.*\)$/\1/p' ${RTLINUX_DIR}/rtl.mk`
2448 { { echo "$as_me:$LINENO: error: incorrect RTLinux directory?" >&5
2449 echo "$as_me: error: incorrect RTLinux directory?" >&2;}
2450 { (exit 1); exit 1; }; }
2452 echo "$as_me:$LINENO: result: found" >&5
2453 echo "${ECHO_T}found" >&6
2455 cat >>confdefs.h <<\_ACEOF
2456 #define CONFIG_ORTE_RTL 1
2460 echo "$as_me:$LINENO: checking RTLinux for a UDP stack" >&5
2461 echo $ECHO_N "checking RTLinux for a UDP stack... $ECHO_C" >&6
2464 if [ -e "${RTLINUXWIP_DIR}/include/udp.h" -a \
2465 -e "${RTLINUXWIP_DIR}/include/nic.h" -a \
2466 -e "${RTLINUXWIP_DIR}/include/ip.h" -a \
2467 -e "${RTLINUXWIP_DIR}/include/ethernet.h" -a \
2468 -e "${RTLINUXWIP_DIR}/include/nictab.h" ] ; then
2469 echo "$as_me:$LINENO: result: found wIP" >&5
2470 echo "${ECHO_T}found wIP" >&6
2472 cat >>confdefs.h <<\_ACEOF
2473 #define CONFIG_ORTE_RTL_WIP 1
2479 if [ -e "${RTLINUXONETD_DIR}/onetd.h" ] ; then
2480 echo "$as_me:$LINENO: result: found onetd" >&5
2481 echo "${ECHO_T}found onetd" >&6
2483 cat >>confdefs.h <<\_ACEOF
2484 #define CONFIG_ORTE_RTL_ONETD 1
2490 if test "${RTL_STACK}" == "no" ; then
2491 { { echo "$as_me:$LINENO: error: incorrect a RTLinux UDP directory." >&5
2492 echo "$as_me: error: incorrect a RTLinux UDP directory." >&2;}
2493 { (exit 1); exit 1; }; }
2496 RT_GCCLIB_DIR=`${RTLINUX_CC} -print-search-dirs | sed -n -e 's/^install: \(.*\)$/\1/p'`
2497 RTLINUX_CFLAGS="${RTLINUX_CFLAGS} -I${RTLINUXWIP_DIR}/include -I${RTLINUXONETD_DIR} -idirafter ${RT_GCCLIB_DIR}/include -nostdinc"
2505 if test ${USE_RTAI} == "yes" -o ${USE_RTLINUX} == "yes" ; then
2507 cat >>confdefs.h <<\_ACEOF
2508 #define CONFIG_ORTE_RT 1
2511 CONFIG_ORTE_RT="yes"
2516 if test ${USE_RTAI} == "yes"; then
2526 if test ${USE_RTLINUX} == "yes"; then
2528 USE_RTLINUX_FALSE='#'
2530 USE_RTLINUX_TRUE='#'
2536 if test ${USE_RTAI} == "yes" -o ${USE_RTLINUX} == "yes"; then
2537 CONFIG_ORTE_RT_TRUE=
2538 CONFIG_ORTE_RT_FALSE='#'
2540 CONFIG_ORTE_RT_TRUE='#'
2541 CONFIG_ORTE_RT_FALSE=
2547 ###############################
2559 cat >>confdefs.h <<\_ACEOF
2560 #define CONFIG_ORTE_WIN 1
2564 cat >>confdefs.h <<\_ACEOF
2565 #define CONFIG_ORTE_CYGWIN 1
2574 cat >>confdefs.h <<\_ACEOF
2575 #define CONFIG_ORTE_WIN 1
2579 cat >>confdefs.h <<\_ACEOF
2580 #define CONFIG_ORTE_MINGW 1
2584 cat >>confdefs.h <<\_ACEOF
2585 #define HAVE_GETPOT_LONG_ORTE 1
2591 if test -z ${CONFIG_ORTE_RT} -a ${CONFIG_ORTE_KERNEL} ; then
2594 cat >>confdefs.h <<\_ACEOF
2595 #define CONFIG_ORTE_UNIX 1
2603 if test x$WIN = xyes; then
2604 CONFIG_ORTE_WIN_TRUE=
2605 CONFIG_ORTE_WIN_FALSE='#'
2607 CONFIG_ORTE_WIN_TRUE='#'
2608 CONFIG_ORTE_WIN_FALSE=
2613 if test x$CIGWIN = xyes; then
2614 CONFIG_ORTE_CYGWIN_TRUE=
2615 CONFIG_ORTE_CYGWIN_FALSE='#'
2617 CONFIG_ORTE_CYGWIN_TRUE='#'
2618 CONFIG_ORTE_CYGWIN_FALSE=
2623 if test x$MINGW = xyes; then
2624 CONFIG_ORTE_MINGW_TRUE=
2625 CONFIG_ORTE_MINGW_FALSE='#'
2627 CONFIG_ORTE_MINGW_TRUE='#'
2628 CONFIG_ORTE_MINGW_FALSE=
2633 if test x$UNIX = xyes; then
2634 CONFIG_ORTE_UNIX_TRUE=
2635 CONFIG_ORTE_UNIX_FALSE='#'
2637 CONFIG_ORTE_UNIX_TRUE='#'
2638 CONFIG_ORTE_UNIX_FALSE=
2642 ###############################
2644 moduledir="\$(libdir)/modules/\$(LINUX_KERNELRELEASE)/orte"
2645 modulePROGRAMS_INSTALL="\$(top_builddir)/modtool --install"
2646 modulePROGRAMS_UNINSTALL="\$(top_builddir)/modtool --uninstall"
2650 ###############################
2652 CFLAGS="$CFLAGS -Wall"
2653 if test ${USE_RTLINUX} == 'yes' ; then
2654 CFLAGS="$CFLAGS $RTLINUX_CFLAGS"
2657 if test ${USE_RTAI} == 'yes' ; then
2658 CFLAGS="$CFLAGS $RTAI_CFLAGS $LINUX_CFLAGS"
2660 if test -n ${CONFIG_ORTE_KERNEL} ; then
2661 CFLAGS="$CFLAGS $LINUX_CFLAGS"
2666 ###############################
2667 # Checks for programs.
2669 ac_cpp='$CPP $CPPFLAGS'
2670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2673 if test -n "$ac_tool_prefix"; then
2674 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2675 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2676 echo "$as_me:$LINENO: checking for $ac_word" >&5
2677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2678 if test "${ac_cv_prog_CC+set}" = set; then
2679 echo $ECHO_N "(cached) $ECHO_C" >&6
2681 if test -n "$CC"; then
2682 ac_cv_prog_CC="$CC" # Let the user override the test.
2684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2688 test -z "$as_dir" && as_dir=.
2689 for ac_exec_ext in '' $ac_executable_extensions; do
2690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2691 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 if test -n "$CC"; then
2702 echo "$as_me:$LINENO: result: $CC" >&5
2703 echo "${ECHO_T}$CC" >&6
2705 echo "$as_me:$LINENO: result: no" >&5
2706 echo "${ECHO_T}no" >&6
2710 if test -z "$ac_cv_prog_CC"; then
2712 # Extract the first word of "gcc", so it can be a program name with args.
2713 set dummy gcc; ac_word=$2
2714 echo "$as_me:$LINENO: checking for $ac_word" >&5
2715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2716 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2717 echo $ECHO_N "(cached) $ECHO_C" >&6
2719 if test -n "$ac_ct_CC"; then
2720 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2726 test -z "$as_dir" && as_dir=.
2727 for ac_exec_ext in '' $ac_executable_extensions; do
2728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2729 ac_cv_prog_ac_ct_CC="gcc"
2730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2738 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2739 if test -n "$ac_ct_CC"; then
2740 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2741 echo "${ECHO_T}$ac_ct_CC" >&6
2743 echo "$as_me:$LINENO: result: no" >&5
2744 echo "${ECHO_T}no" >&6
2752 if test -z "$CC"; then
2753 if test -n "$ac_tool_prefix"; then
2754 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2755 set dummy ${ac_tool_prefix}cc; ac_word=$2
2756 echo "$as_me:$LINENO: checking for $ac_word" >&5
2757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2758 if test "${ac_cv_prog_CC+set}" = set; then
2759 echo $ECHO_N "(cached) $ECHO_C" >&6
2761 if test -n "$CC"; then
2762 ac_cv_prog_CC="$CC" # Let the user override the test.
2764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2768 test -z "$as_dir" && as_dir=.
2769 for ac_exec_ext in '' $ac_executable_extensions; do
2770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2771 ac_cv_prog_CC="${ac_tool_prefix}cc"
2772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2781 if test -n "$CC"; then
2782 echo "$as_me:$LINENO: result: $CC" >&5
2783 echo "${ECHO_T}$CC" >&6
2785 echo "$as_me:$LINENO: result: no" >&5
2786 echo "${ECHO_T}no" >&6
2790 if test -z "$ac_cv_prog_CC"; then
2792 # Extract the first word of "cc", so it can be a program name with args.
2793 set dummy cc; ac_word=$2
2794 echo "$as_me:$LINENO: checking for $ac_word" >&5
2795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2796 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2797 echo $ECHO_N "(cached) $ECHO_C" >&6
2799 if test -n "$ac_ct_CC"; then
2800 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2806 test -z "$as_dir" && as_dir=.
2807 for ac_exec_ext in '' $ac_executable_extensions; do
2808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2809 ac_cv_prog_ac_ct_CC="cc"
2810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2819 if test -n "$ac_ct_CC"; then
2820 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2821 echo "${ECHO_T}$ac_ct_CC" >&6
2823 echo "$as_me:$LINENO: result: no" >&5
2824 echo "${ECHO_T}no" >&6
2833 if test -z "$CC"; then
2834 # Extract the first word of "cc", so it can be a program name with args.
2835 set dummy cc; ac_word=$2
2836 echo "$as_me:$LINENO: checking for $ac_word" >&5
2837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2838 if test "${ac_cv_prog_CC+set}" = set; then
2839 echo $ECHO_N "(cached) $ECHO_C" >&6
2841 if test -n "$CC"; then
2842 ac_cv_prog_CC="$CC" # Let the user override the test.
2845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2849 test -z "$as_dir" && as_dir=.
2850 for ac_exec_ext in '' $ac_executable_extensions; do
2851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2852 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2853 ac_prog_rejected=yes
2857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 if test $ac_prog_rejected = yes; then
2864 # We found a bogon in the path, so make sure we never use it.
2865 set dummy $ac_cv_prog_CC
2867 if test $# != 0; then
2868 # We chose a different compiler from the bogus one.
2869 # However, it has the same basename, so the bogon will be chosen
2870 # first if we set CC to just the basename; use the full file name.
2872 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2878 if test -n "$CC"; then
2879 echo "$as_me:$LINENO: result: $CC" >&5
2880 echo "${ECHO_T}$CC" >&6
2882 echo "$as_me:$LINENO: result: no" >&5
2883 echo "${ECHO_T}no" >&6
2887 if test -z "$CC"; then
2888 if test -n "$ac_tool_prefix"; then
2891 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2892 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2893 echo "$as_me:$LINENO: checking for $ac_word" >&5
2894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2895 if test "${ac_cv_prog_CC+set}" = set; then
2896 echo $ECHO_N "(cached) $ECHO_C" >&6
2898 if test -n "$CC"; then
2899 ac_cv_prog_CC="$CC" # Let the user override the test.
2901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2905 test -z "$as_dir" && as_dir=.
2906 for ac_exec_ext in '' $ac_executable_extensions; do
2907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2908 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2918 if test -n "$CC"; then
2919 echo "$as_me:$LINENO: result: $CC" >&5
2920 echo "${ECHO_T}$CC" >&6
2922 echo "$as_me:$LINENO: result: no" >&5
2923 echo "${ECHO_T}no" >&6
2926 test -n "$CC" && break
2929 if test -z "$CC"; then
2933 # Extract the first word of "$ac_prog", so it can be a program name with args.
2934 set dummy $ac_prog; ac_word=$2
2935 echo "$as_me:$LINENO: checking for $ac_word" >&5
2936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2937 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2938 echo $ECHO_N "(cached) $ECHO_C" >&6
2940 if test -n "$ac_ct_CC"; then
2941 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2947 test -z "$as_dir" && as_dir=.
2948 for ac_exec_ext in '' $ac_executable_extensions; do
2949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2950 ac_cv_prog_ac_ct_CC="$ac_prog"
2951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2960 if test -n "$ac_ct_CC"; then
2961 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2962 echo "${ECHO_T}$ac_ct_CC" >&6
2964 echo "$as_me:$LINENO: result: no" >&5
2965 echo "${ECHO_T}no" >&6
2968 test -n "$ac_ct_CC" && break
2977 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2978 See \`config.log' for more details." >&5
2979 echo "$as_me: error: no acceptable C compiler found in \$PATH
2980 See \`config.log' for more details." >&2;}
2981 { (exit 1); exit 1; }; }
2983 # Provide some information about the compiler.
2984 echo "$as_me:$LINENO:" \
2985 "checking for C compiler version" >&5
2986 ac_compiler=`set X $ac_compile; echo $2`
2987 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2988 (eval $ac_compiler --version </dev/null >&5) 2>&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }
2992 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2993 (eval $ac_compiler -v </dev/null >&5) 2>&5
2995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996 (exit $ac_status); }
2997 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2998 (eval $ac_compiler -V </dev/null >&5) 2>&5
3000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001 (exit $ac_status); }
3003 cat >conftest.$ac_ext <<_ACEOF
3006 cat confdefs.h >>conftest.$ac_ext
3007 cat >>conftest.$ac_ext <<_ACEOF
3008 /* end confdefs.h. */
3018 ac_clean_files_save=$ac_clean_files
3019 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3020 # Try to create an executable without -o first, disregard a.out.
3021 # It will help us diagnose broken compilers, and finding out an intuition
3023 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3024 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3025 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3026 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3027 (eval $ac_link_default) 2>&5
3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030 (exit $ac_status); }; then
3031 # Find the output, starting from the most likely. This scheme is
3032 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3035 # Be careful to initialize this variable, since it used to be cached.
3036 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3038 # b.out is created by i960 compilers.
3039 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3041 test -f "$ac_file" || continue
3043 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3046 # This is the source file.
3049 # We found the default executable, but exeext='' is most
3053 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3054 # FIXME: I believe we export ac_cv_exeext for Libtool,
3055 # but it would be cool to find out if it's true. Does anybody
3056 # maintain Libtool? --akim.
3064 echo "$as_me: failed program was:" >&5
3065 sed 's/^/| /' conftest.$ac_ext >&5
3067 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3068 See \`config.log' for more details." >&5
3069 echo "$as_me: error: C compiler cannot create executables
3070 See \`config.log' for more details." >&2;}
3071 { (exit 77); exit 77; }; }
3074 ac_exeext=$ac_cv_exeext
3075 echo "$as_me:$LINENO: result: $ac_file" >&5
3076 echo "${ECHO_T}$ac_file" >&6
3078 # Check the compiler produces executables we can run. If not, either
3079 # the compiler is broken, or we cross compile.
3080 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3081 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3082 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3083 # If not cross compiling, check that we can run a simple program.
3084 if test "$cross_compiling" != yes; then
3085 if { ac_try='./$ac_file'
3086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }; }; then
3093 if test "$cross_compiling" = maybe; then
3096 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3097 If you meant to cross compile, use \`--host'.
3098 See \`config.log' for more details." >&5
3099 echo "$as_me: error: cannot run C compiled programs.
3100 If you meant to cross compile, use \`--host'.
3101 See \`config.log' for more details." >&2;}
3102 { (exit 1); exit 1; }; }
3106 echo "$as_me:$LINENO: result: yes" >&5
3107 echo "${ECHO_T}yes" >&6
3109 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3110 ac_clean_files=$ac_clean_files_save
3111 # Check the compiler produces executables we can run. If not, either
3112 # the compiler is broken, or we cross compile.
3113 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3114 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3115 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3116 echo "${ECHO_T}$cross_compiling" >&6
3118 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3119 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3121 (eval $ac_link) 2>&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); }; then
3125 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3126 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3127 # work properly (i.e., refer to `conftest.exe'), while it won't with
3129 for ac_file in conftest.exe conftest conftest.*; do
3130 test -f "$ac_file" || continue
3132 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3133 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3140 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3141 See \`config.log' for more details." >&5
3142 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3143 See \`config.log' for more details." >&2;}
3144 { (exit 1); exit 1; }; }
3147 rm -f conftest$ac_cv_exeext
3148 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3149 echo "${ECHO_T}$ac_cv_exeext" >&6
3151 rm -f conftest.$ac_ext
3152 EXEEXT=$ac_cv_exeext
3154 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3155 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3156 if test "${ac_cv_objext+set}" = set; then
3157 echo $ECHO_N "(cached) $ECHO_C" >&6
3159 cat >conftest.$ac_ext <<_ACEOF
3162 cat confdefs.h >>conftest.$ac_ext
3163 cat >>conftest.$ac_ext <<_ACEOF
3164 /* end confdefs.h. */
3174 rm -f conftest.o conftest.obj
3175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3176 (eval $ac_compile) 2>&5
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); }; then
3180 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3183 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3188 echo "$as_me: failed program was:" >&5
3189 sed 's/^/| /' conftest.$ac_ext >&5
3191 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3192 See \`config.log' for more details." >&5
3193 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3194 See \`config.log' for more details." >&2;}
3195 { (exit 1); exit 1; }; }
3198 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3200 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3201 echo "${ECHO_T}$ac_cv_objext" >&6
3202 OBJEXT=$ac_cv_objext
3204 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3205 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3206 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3207 echo $ECHO_N "(cached) $ECHO_C" >&6
3209 cat >conftest.$ac_ext <<_ACEOF
3212 cat confdefs.h >>conftest.$ac_ext
3213 cat >>conftest.$ac_ext <<_ACEOF
3214 /* end confdefs.h. */
3227 rm -f conftest.$ac_objext
3228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3229 (eval $ac_compile) 2>conftest.er1
3231 grep -v '^ *+' conftest.er1 >conftest.err
3233 cat conftest.err >&5
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); } &&
3236 { ac_try='test -z "$ac_c_werror_flag"
3237 || test ! -s conftest.err'
3238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); }; } &&
3243 { ac_try='test -s conftest.$ac_objext'
3244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); }; }; then
3251 echo "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.$ac_ext >&5
3256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3257 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3260 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3261 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3262 GCC=`test $ac_compiler_gnu = yes && echo yes`
3263 ac_test_CFLAGS=${CFLAGS+set}
3264 ac_save_CFLAGS=$CFLAGS
3266 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3267 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3268 if test "${ac_cv_prog_cc_g+set}" = set; then
3269 echo $ECHO_N "(cached) $ECHO_C" >&6
3271 cat >conftest.$ac_ext <<_ACEOF
3274 cat confdefs.h >>conftest.$ac_ext
3275 cat >>conftest.$ac_ext <<_ACEOF
3276 /* end confdefs.h. */
3286 rm -f conftest.$ac_objext
3287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3288 (eval $ac_compile) 2>conftest.er1
3290 grep -v '^ *+' conftest.er1 >conftest.err
3292 cat conftest.err >&5
3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294 (exit $ac_status); } &&
3295 { ac_try='test -z "$ac_c_werror_flag"
3296 || test ! -s conftest.err'
3297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301 (exit $ac_status); }; } &&
3302 { ac_try='test -s conftest.$ac_objext'
3303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); }; }; then
3310 echo "$as_me: failed program was:" >&5
3311 sed 's/^/| /' conftest.$ac_ext >&5
3315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3317 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3318 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3319 if test "$ac_test_CFLAGS" = set; then
3320 CFLAGS=$ac_save_CFLAGS
3321 elif test $ac_cv_prog_cc_g = yes; then
3322 if test "$GCC" = yes; then
3328 if test "$GCC" = yes; then
3334 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3335 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3336 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3337 echo $ECHO_N "(cached) $ECHO_C" >&6
3339 ac_cv_prog_cc_stdc=no
3341 cat >conftest.$ac_ext <<_ACEOF
3344 cat confdefs.h >>conftest.$ac_ext
3345 cat >>conftest.$ac_ext <<_ACEOF
3346 /* end confdefs.h. */
3349 #include <sys/types.h>
3350 #include <sys/stat.h>
3351 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3352 struct buf { int x; };
3353 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3354 static char *e (p, i)
3360 static char *f (char * (*g) (char **, int), char **p, ...)
3365 s = g (p, va_arg (v,int));
3370 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3371 function prototypes and stuff, but not '\xHH' hex character constants.
3372 These don't provoke an error unfortunately, instead are silently treated
3373 as 'x'. The following induces an error, until -std1 is added to get
3374 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3375 array size at least. It's necessary to write '\x00'==0 to get something
3376 that's true only with -std1. */
3377 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3379 int test (int i, double x);
3380 struct s1 {int (*f) (int a);};
3381 struct s2 {int (*f) (double a);};
3382 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3388 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3393 # Don't try gcc -ansi; that turns off useful extensions and
3394 # breaks some systems' header files.
3395 # AIX -qlanglvl=ansi
3396 # Ultrix and OSF/1 -std1
3397 # HP-UX 10.20 and later -Ae
3398 # HP-UX older versions -Aa -D_HPUX_SOURCE
3399 # SVR4 -Xc -D__EXTENSIONS__
3400 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3402 CC="$ac_save_CC $ac_arg"
3403 rm -f conftest.$ac_objext
3404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3405 (eval $ac_compile) 2>conftest.er1
3407 grep -v '^ *+' conftest.er1 >conftest.err
3409 cat conftest.err >&5
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); } &&
3412 { ac_try='test -z "$ac_c_werror_flag"
3413 || test ! -s conftest.err'
3414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); }; } &&
3419 { ac_try='test -s conftest.$ac_objext'
3420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); }; }; then
3425 ac_cv_prog_cc_stdc=$ac_arg
3428 echo "$as_me: failed program was:" >&5
3429 sed 's/^/| /' conftest.$ac_ext >&5
3432 rm -f conftest.err conftest.$ac_objext
3434 rm -f conftest.$ac_ext conftest.$ac_objext
3439 case "x$ac_cv_prog_cc_stdc" in
3441 echo "$as_me:$LINENO: result: none needed" >&5
3442 echo "${ECHO_T}none needed" >&6 ;;
3444 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3445 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3446 CC="$CC $ac_cv_prog_cc_stdc" ;;
3449 # Some people use a C++ compiler to compile C. Since we use `exit',
3450 # in C++ we need to declare it. In case someone uses the same compiler
3451 # for both compiling C and C++ we need to have the C++ compiler decide
3452 # the declaration of exit, since it's the most demanding environment.
3453 cat >conftest.$ac_ext <<_ACEOF
3458 rm -f conftest.$ac_objext
3459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3460 (eval $ac_compile) 2>conftest.er1
3462 grep -v '^ *+' conftest.er1 >conftest.err
3464 cat conftest.err >&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); } &&
3467 { ac_try='test -z "$ac_c_werror_flag"
3468 || test ! -s conftest.err'
3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); }; } &&
3474 { ac_try='test -s conftest.$ac_objext'
3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); }; }; then
3480 for ac_declaration in \
3482 'extern "C" void std::exit (int) throw (); using std::exit;' \
3483 'extern "C" void std::exit (int); using std::exit;' \
3484 'extern "C" void exit (int) throw ();' \
3485 'extern "C" void exit (int);' \
3488 cat >conftest.$ac_ext <<_ACEOF
3491 cat confdefs.h >>conftest.$ac_ext
3492 cat >>conftest.$ac_ext <<_ACEOF
3493 /* end confdefs.h. */
3504 rm -f conftest.$ac_objext
3505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3506 (eval $ac_compile) 2>conftest.er1
3508 grep -v '^ *+' conftest.er1 >conftest.err
3510 cat conftest.err >&5
3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512 (exit $ac_status); } &&
3513 { ac_try='test -z "$ac_c_werror_flag"
3514 || test ! -s conftest.err'
3515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 (exit $ac_status); }; } &&
3520 { ac_try='test -s conftest.$ac_objext'
3521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); }; }; then
3528 echo "$as_me: failed program was:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3534 cat >conftest.$ac_ext <<_ACEOF
3537 cat confdefs.h >>conftest.$ac_ext
3538 cat >>conftest.$ac_ext <<_ACEOF
3539 /* end confdefs.h. */
3549 rm -f conftest.$ac_objext
3550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3551 (eval $ac_compile) 2>conftest.er1
3553 grep -v '^ *+' conftest.er1 >conftest.err
3555 cat conftest.err >&5
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); } &&
3558 { ac_try='test -z "$ac_c_werror_flag"
3559 || test ! -s conftest.err'
3560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); }; } &&
3565 { ac_try='test -s conftest.$ac_objext'
3566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); }; }; then
3573 echo "$as_me: failed program was:" >&5
3574 sed 's/^/| /' conftest.$ac_ext >&5
3577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3580 if test -n "$ac_declaration"; then
3581 echo '#ifdef __cplusplus' >>confdefs.h
3582 echo $ac_declaration >>confdefs.h
3583 echo '#endif' >>confdefs.h
3587 echo "$as_me: failed program was:" >&5
3588 sed 's/^/| /' conftest.$ac_ext >&5
3591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3593 ac_cpp='$CPP $CPPFLAGS'
3594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3597 DEPDIR="${am__leading_dot}deps"
3599 ac_config_commands="$ac_config_commands depfiles"
3602 am_make=${MAKE-make}
3603 cat > confinc << 'END'
3608 # If we don't find an include directive, just comment out the code.
3609 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3610 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3614 # First try GNU make style include.
3615 echo "include confinc" > confmf
3616 # We grep out `Entering directory' and `Leaving directory'
3617 # messages which can occur if `w' ends up in MAKEFLAGS.
3618 # In particular we don't look at `^make:' because GNU make might
3619 # be invoked under some other name (usually "gmake"), in which
3620 # case it prints its new name instead of `make'.
3621 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3626 # Now try BSD make style include.
3627 if test "$am__include" = "#"; then
3628 echo '.include "confinc"' > confmf
3629 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3630 am__include=.include
3637 echo "$as_me:$LINENO: result: $_am_result" >&5
3638 echo "${ECHO_T}$_am_result" >&6
3639 rm -f confinc confmf
3641 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3642 if test "${enable_dependency_tracking+set}" = set; then
3643 enableval="$enable_dependency_tracking"
3646 if test "x$enable_dependency_tracking" != xno; then
3647 am_depcomp="$ac_aux_dir/depcomp"
3652 if test "x$enable_dependency_tracking" != xno; then
3663 depcc="$CC" am_compiler_list=
3665 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3666 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3667 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3668 echo $ECHO_N "(cached) $ECHO_C" >&6
3670 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3671 # We make a subdir and do the tests there. Otherwise we can end up
3672 # making bogus files that we don't know about and never remove. For
3673 # instance it was reported that on HP-UX the gcc test will end up
3674 # making a dummy file named `D' -- because `-MD' means `put the output
3677 # Copy depcomp to subdir because otherwise we won't find it if we're
3678 # using a relative directory.
3679 cp "$am_depcomp" conftest.dir
3681 # We will build objects and dependencies in a subdirectory because
3682 # it helps to detect inapplicable dependency modes. For instance
3683 # both Tru64's cc and ICC support -MD to output dependencies as a
3684 # side effect of compilation, but ICC will put the dependencies in
3685 # the current directory while Tru64 will put them in the object
3689 am_cv_CC_dependencies_compiler_type=none
3690 if test "$am_compiler_list" = ""; then
3691 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3693 for depmode in $am_compiler_list; do
3694 # Setup a source with many dependencies, because some compilers
3695 # like to wrap large dependency lists on column 80 (with \), and
3696 # we should not choose a depcomp mode which is confused by this.
3698 # We need to recreate these files for each test, as the compiler may
3699 # overwrite some of them when testing with obscure command lines.
3700 # This happens at least with the AIX C compiler.
3702 for i in 1 2 3 4 5 6; do
3703 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3704 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3705 # Solaris 8's {/usr,}/bin/sh.
3706 touch sub/conftst$i.h
3708 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3712 # after this tag, mechanisms are not by side-effect, so they'll
3713 # only be used when explicitly requested
3714 if test "x$enable_dependency_tracking" = xyes; then
3722 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3723 # mode. It turns out that the SunPro C++ compiler does not properly
3724 # handle `-M -o', and we need to detect this.
3725 if depmode=$depmode \
3726 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3727 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3728 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3729 >/dev/null 2>conftest.err &&
3730 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3731 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3732 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3733 # icc doesn't choke on unknown options, it will just issue warnings
3734 # (even with -Werror). So we grep stderr for any message
3735 # that says an option was ignored.
3736 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3737 am_cv_CC_dependencies_compiler_type=$depmode
3746 am_cv_CC_dependencies_compiler_type=none
3750 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3751 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3752 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3757 test "x$enable_dependency_tracking" != xno \
3758 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3760 am__fastdepCC_FALSE='#'
3762 am__fastdepCC_TRUE='#'
3763 am__fastdepCC_FALSE=
3767 if test -n "$ac_tool_prefix"; then
3768 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3769 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3770 echo "$as_me:$LINENO: checking for $ac_word" >&5
3771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3772 if test "${ac_cv_prog_RANLIB+set}" = set; then
3773 echo $ECHO_N "(cached) $ECHO_C" >&6
3775 if test -n "$RANLIB"; then
3776 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3785 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3794 RANLIB=$ac_cv_prog_RANLIB
3795 if test -n "$RANLIB"; then
3796 echo "$as_me:$LINENO: result: $RANLIB" >&5
3797 echo "${ECHO_T}$RANLIB" >&6
3799 echo "$as_me:$LINENO: result: no" >&5
3800 echo "${ECHO_T}no" >&6
3804 if test -z "$ac_cv_prog_RANLIB"; then
3805 ac_ct_RANLIB=$RANLIB
3806 # Extract the first word of "ranlib", so it can be a program name with args.
3807 set dummy ranlib; ac_word=$2
3808 echo "$as_me:$LINENO: checking for $ac_word" >&5
3809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3810 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3811 echo $ECHO_N "(cached) $ECHO_C" >&6
3813 if test -n "$ac_ct_RANLIB"; then
3814 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3820 test -z "$as_dir" && as_dir=.
3821 for ac_exec_ext in '' $ac_executable_extensions; do
3822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3823 ac_cv_prog_ac_ct_RANLIB="ranlib"
3824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3833 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3834 if test -n "$ac_ct_RANLIB"; then
3835 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3836 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3838 echo "$as_me:$LINENO: result: no" >&5
3839 echo "${ECHO_T}no" >&6
3842 RANLIB=$ac_ct_RANLIB
3844 RANLIB="$ac_cv_prog_RANLIB"
3848 ###############################
3849 # Checks for ability to compile ORTE_IDL
3851 echo "$as_me:$LINENO: checking whether to enable orte IDL compiler" >&5
3852 echo $ECHO_N "checking whether to enable orte IDL compiler... $ECHO_C" >&6
3853 # Check whether --enable-orte-idl or --disable-orte-idl was given.
3854 if test "${enable_orte_idl+set}" = set; then
3855 enableval="$enable_orte_idl"
3856 USE_ORTE_IDL=$enableval
3860 echo "$as_me:$LINENO: result: $USE_ORTE_IDL" >&5
3861 echo "${ECHO_T}$USE_ORTE_IDL" >&6
3863 if test ${USE_ORTE_IDL} == "yes" ; then
3867 if test -z "$PKG_CONFIG"; then
3868 # Extract the first word of "pkg-config", so it can be a program name with args.
3869 set dummy pkg-config; ac_word=$2
3870 echo "$as_me:$LINENO: checking for $ac_word" >&5
3871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3872 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3873 echo $ECHO_N "(cached) $ECHO_C" >&6
3877 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3884 test -z "$as_dir" && as_dir=.
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3887 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3894 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
3898 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3900 if test -n "$PKG_CONFIG"; then
3901 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3902 echo "${ECHO_T}$PKG_CONFIG" >&6
3904 echo "$as_me:$LINENO: result: no" >&5
3905 echo "${ECHO_T}no" >&6
3910 if test "$PKG_CONFIG" = "no" ; then
3911 echo "*** The pkg-config script could not be found. Make sure it is"
3912 echo "*** in your path, or set the PKG_CONFIG environment variable"
3913 echo "*** to the full path to pkg-config."
3914 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
3916 PKG_CONFIG_MIN_VERSION=0.9.0
3917 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
3918 echo "$as_me:$LINENO: checking for libIDL-2.0" >&5
3919 echo $ECHO_N "checking for libIDL-2.0... $ECHO_C" >&6
3921 if $PKG_CONFIG --exists "libIDL-2.0" ; then
3922 echo "$as_me:$LINENO: result: yes" >&5
3923 echo "${ECHO_T}yes" >&6
3926 echo "$as_me:$LINENO: checking LIBIDL_CFLAGS" >&5
3927 echo $ECHO_N "checking LIBIDL_CFLAGS... $ECHO_C" >&6
3928 LIBIDL_CFLAGS=`$PKG_CONFIG --cflags "libIDL-2.0"`
3929 echo "$as_me:$LINENO: result: $LIBIDL_CFLAGS" >&5
3930 echo "${ECHO_T}$LIBIDL_CFLAGS" >&6
3932 echo "$as_me:$LINENO: checking LIBIDL_LIBS" >&5
3933 echo $ECHO_N "checking LIBIDL_LIBS... $ECHO_C" >&6
3934 LIBIDL_LIBS=`$PKG_CONFIG --libs "libIDL-2.0"`
3935 echo "$as_me:$LINENO: result: $LIBIDL_LIBS" >&5
3936 echo "${ECHO_T}$LIBIDL_LIBS" >&6
3940 ## If we have a custom action on failure, don't print errors, but
3941 ## do set a variable so people can do so.
3942 LIBIDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libIDL-2.0"`
3943 echo $LIBIDL_PKG_ERRORS
3949 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
3950 echo "*** See http://www.freedesktop.org/software/pkgconfig"
3954 if test $succeeded = yes; then
3957 { { echo "$as_me:$LINENO: error: Library requirements (libIDL-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
3958 echo "$as_me: error: Library requirements (libIDL-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
3959 { (exit 1); exit 1; }; }
3962 CFLAGS="$CFLAGS $LIBIDL_CFLAGS"
3963 LIBS="$LIBS $LIBIDL_LIBS"
3966 echo "$as_me:$LINENO: checking for poptSetOtherOptionHelp in -lpopt" >&5
3967 echo $ECHO_N "checking for poptSetOtherOptionHelp in -lpopt... $ECHO_C" >&6
3968 if test "${ac_cv_lib_popt_poptSetOtherOptionHelp+set}" = set; then
3969 echo $ECHO_N "(cached) $ECHO_C" >&6
3971 ac_check_lib_save_LIBS=$LIBS
3973 cat >conftest.$ac_ext <<_ACEOF
3976 cat confdefs.h >>conftest.$ac_ext
3977 cat >>conftest.$ac_ext <<_ACEOF
3978 /* end confdefs.h. */
3980 /* Override any gcc2 internal prototype to avoid an error. */
3984 /* We use char because int might match the return type of a gcc2
3985 builtin and then its argument prototype would still apply. */
3986 char poptSetOtherOptionHelp ();
3990 poptSetOtherOptionHelp ();
3995 rm -f conftest.$ac_objext conftest$ac_exeext
3996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3997 (eval $ac_link) 2>conftest.er1
3999 grep -v '^ *+' conftest.er1 >conftest.err
4001 cat conftest.err >&5
4002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4003 (exit $ac_status); } &&
4004 { ac_try='test -z "$ac_c_werror_flag"
4005 || test ! -s conftest.err'
4006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); }; } &&
4011 { ac_try='test -s conftest$ac_exeext'
4012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4016 (exit $ac_status); }; }; then
4017 ac_cv_lib_popt_poptSetOtherOptionHelp=yes
4019 echo "$as_me: failed program was:" >&5
4020 sed 's/^/| /' conftest.$ac_ext >&5
4022 ac_cv_lib_popt_poptSetOtherOptionHelp=no
4024 rm -f conftest.err conftest.$ac_objext \
4025 conftest$ac_exeext conftest.$ac_ext
4026 LIBS=$ac_check_lib_save_LIBS
4028 echo "$as_me:$LINENO: result: $ac_cv_lib_popt_poptSetOtherOptionHelp" >&5
4029 echo "${ECHO_T}$ac_cv_lib_popt_poptSetOtherOptionHelp" >&6
4030 if test $ac_cv_lib_popt_poptSetOtherOptionHelp = yes; then
4031 cat >>confdefs.h <<_ACEOF
4032 #define HAVE_LIBPOPT 1
4043 if test $USE_ORTE_IDL = yes; then
4044 CONFIG_ORTE_IDL_TRUE=
4045 CONFIG_ORTE_IDL_FALSE='#'
4047 CONFIG_ORTE_IDL_TRUE='#'
4048 CONFIG_ORTE_IDL_FALSE=
4056 ###############################
4057 # Checks for ability to compile JORTE
4058 echo "$as_me:$LINENO: checking whether to compile jorte" >&5
4059 echo $ECHO_N "checking whether to compile jorte... $ECHO_C" >&6
4062 # Check whether --with-java or --without-java was given.
4063 if test "${with_java+set}" = set; then
4064 withval="$with_java"
4065 JAVA_HOME_DIR="${withval}"
4069 # [JAVA_HOME_DIR="${JAVA_HOME}"])
4072 if test "${JAVA_HOME_DIR}" != "no" ; then
4073 if [ -e "${JAVA_HOME_DIR}/include/jni.h" ] ; then
4075 JNI_INCLUDES="-I$JAVA_HOME_DIR/include"
4076 test -d "$JAVA_HOME_DIR/include/linux" &&
4077 JNI_INCLUDES="$JNI_INCLUDES -I$JAVA_HOME_DIR/include/linux"
4078 test -d "$JAVA_HOME_DIR/include/genunix" &&
4079 JNI_INCLUDES="$JNI_INCLUDES -I$JAVA_HOME_DIR/include/genunix"
4080 test -d "$JAVA_HOME_DIR/include/win32" &&
4081 JNI_INCLUDES="$JNI_INCLUDES -I$JAVA_HOME_DIR/include/win32"
4082 CFLAGS="$CFLAGS $JNI_INCLUDES"
4084 cat >>confdefs.h <<\_ACEOF
4085 #define CONFIG_JORTE 1
4091 echo "$as_me:$LINENO: result: $USE_JORTE" >&5
4092 echo "${ECHO_T}$USE_JORTE" >&6
4096 if test $USE_JORTE = yes; then
4098 CONFIG_JORTE_FALSE='#'
4100 CONFIG_JORTE_TRUE='#'
4109 ###############################
4110 # Checks for libraries and init libtools
4111 if test -z ${CONFIG_ORTE_RT} ; then
4113 # Check whether --enable-shared or --disable-shared was given.
4114 if test "${enable_shared+set}" = set; then
4115 enableval="$enable_shared"
4116 p=${PACKAGE-default}
4118 yes) enable_shared=yes ;;
4119 no) enable_shared=no ;;
4122 # Look at the argument we got. We use all the common list separators.
4123 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4124 for pkg in $enableval; do
4125 if test "X$pkg" = "X$p"; then
4135 # Check whether --enable-static or --disable-static was given.
4136 if test "${enable_static+set}" = set; then
4137 enableval="$enable_static"
4138 p=${PACKAGE-default}
4140 yes) enable_static=yes ;;
4141 no) enable_static=no ;;
4144 # Look at the argument we got. We use all the common list separators.
4145 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4146 for pkg in $enableval; do
4147 if test "X$pkg" = "X$p"; then
4157 # Check whether --enable-fast-install or --disable-fast-install was given.
4158 if test "${enable_fast_install+set}" = set; then
4159 enableval="$enable_fast_install"
4160 p=${PACKAGE-default}
4162 yes) enable_fast_install=yes ;;
4163 no) enable_fast_install=no ;;
4165 enable_fast_install=no
4166 # Look at the argument we got. We use all the common list separators.
4167 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4168 for pkg in $enableval; do
4169 if test "X$pkg" = "X$p"; then
4170 enable_fast_install=yes
4177 enable_fast_install=yes
4179 # Find the correct PATH separator. Usually this is `:', but
4180 # DJGPP uses `;' like DOS.
4181 if test "X${PATH_SEPARATOR+set}" != Xset; then
4182 UNAME=${UNAME-`uname 2>/dev/null`}
4184 *-DOS) lt_cv_sys_path_separator=';' ;;
4185 *) lt_cv_sys_path_separator=':' ;;
4187 PATH_SEPARATOR=$lt_cv_sys_path_separator
4191 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4192 if test "${with_gnu_ld+set}" = set; then
4193 withval="$with_gnu_ld"
4194 test "$withval" = no || with_gnu_ld=yes
4199 if test "$GCC" = yes; then
4200 # Check if gcc -print-prog-name=ld gives a path.
4201 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4202 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4205 # gcc leaves a trailing carriage return which upsets mingw
4206 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4208 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4211 # Accept absolute paths.
4212 [\\/]* | [A-Za-z]:[\\/]*)
4213 re_direlt='/[^/][^/]*/\.\./'
4214 # Canonicalize the path of ld
4215 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4216 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4217 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4219 test -z "$LD" && LD="$ac_prog"
4222 # If it fails, then pretend we aren't using GCC.
4226 # If it is relative, then search for the first ld in PATH.
4230 elif test "$with_gnu_ld" = yes; then
4231 echo "$as_me:$LINENO: checking for GNU ld" >&5
4232 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4234 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4235 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4237 if test "${lt_cv_path_LD+set}" = set; then
4238 echo $ECHO_N "(cached) $ECHO_C" >&6
4240 if test -z "$LD"; then
4241 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4242 for ac_dir in $PATH; do
4243 test -z "$ac_dir" && ac_dir=.
4244 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4245 lt_cv_path_LD="$ac_dir/$ac_prog"
4246 # Check to see if the program is GNU ld. I'd rather use --version,
4247 # but apparently some GNU ld's only accept -v.
4248 # Break only if it was the GNU/non-GNU ld that we prefer.
4249 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4250 test "$with_gnu_ld" != no && break
4252 test "$with_gnu_ld" != yes && break
4258 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4263 if test -n "$LD"; then
4264 echo "$as_me:$LINENO: result: $LD" >&5
4265 echo "${ECHO_T}$LD" >&6
4267 echo "$as_me:$LINENO: result: no" >&5
4268 echo "${ECHO_T}no" >&6
4270 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4271 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4272 { (exit 1); exit 1; }; }
4273 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4274 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4275 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4276 echo $ECHO_N "(cached) $ECHO_C" >&6
4278 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4279 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4280 lt_cv_prog_gnu_ld=yes
4282 lt_cv_prog_gnu_ld=no
4285 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4286 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4287 with_gnu_ld=$lt_cv_prog_gnu_ld
4290 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4291 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4292 if test "${lt_cv_ld_reload_flag+set}" = set; then
4293 echo $ECHO_N "(cached) $ECHO_C" >&6
4295 lt_cv_ld_reload_flag='-r'
4297 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4298 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4299 reload_flag=$lt_cv_ld_reload_flag
4300 test -n "$reload_flag" && reload_flag=" $reload_flag"
4302 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4303 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4304 if test "${lt_cv_path_NM+set}" = set; then
4305 echo $ECHO_N "(cached) $ECHO_C" >&6
4307 if test -n "$NM"; then
4308 # Let the user override the test.
4311 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4312 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4313 test -z "$ac_dir" && ac_dir=.
4314 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4315 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4316 # Check to see if the nm accepts a BSD-compat flag.
4317 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4318 # nm: unknown option "B" ignored
4319 # Tru64's nm complains that /dev/null is an invalid object file
4320 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4321 lt_cv_path_NM="$tmp_nm -B"
4323 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4324 lt_cv_path_NM="$tmp_nm -p"
4327 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4328 continue # so that we can try to find one that supports BSD flags
4333 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4338 echo "$as_me:$LINENO: result: $NM" >&5
4339 echo "${ECHO_T}$NM" >&6
4341 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4342 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4343 if test "${lt_cv_path_SED+set}" = set; then
4344 echo $ECHO_N "(cached) $ECHO_C" >&6
4346 # Loop through the user's path and test for sed and gsed.
4347 # Then use that list of sed's as ones to test for truncation.
4348 as_executable_p="test -f"
4349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4353 test -z "$as_dir" && as_dir=.
4354 for ac_prog in sed gsed; do
4355 for ac_exec_ext in '' $ac_executable_extensions; do
4356 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4357 _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
4363 # Create a temporary directory, and hook for its removal unless debugging.
4366 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4367 trap '{ (exit 1); exit 1; }' 1 2 13 15
4370 # Create a (secure) tmp directory for tmp files.
4373 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
4374 test -n "$tmp" && test -d "$tmp"
4377 tmp=$TMPDIR/sed$$-$RANDOM
4378 (umask 077 && mkdir $tmp)
4381 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4382 { (exit 1); exit 1; }
4386 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4387 # along with /bin/sed that truncates output.
4388 for _sed in $_sed_list /usr/xpg4/bin/sed; do
4389 test ! -f ${_sed} && break
4390 cat /dev/null > "$tmp/sed.in"
4392 echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
4393 # Check for GNU sed and select it if it is found.
4394 if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
4395 lt_cv_path_SED=${_sed}
4399 cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
4400 mv "$tmp/sed.tmp" "$tmp/sed.in"
4401 cp "$tmp/sed.in" "$tmp/sed.nl"
4402 echo >>"$tmp/sed.nl"
4403 ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
4404 cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
4405 # 40000 chars as input seems more than enough
4406 test $_count -gt 10 && break
4407 _count=`expr $_count + 1`
4408 if test $_count -gt $_max; then
4410 lt_cv_path_SED=$_sed
4418 if test "X$SED" != "X"; then
4423 echo "$as_me:$LINENO: result: $SED" >&5
4424 echo "${ECHO_T}$SED" >&6
4426 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4427 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4429 if test "$LN_S" = "ln -s"; then
4430 echo "$as_me:$LINENO: result: yes" >&5
4431 echo "${ECHO_T}yes" >&6
4433 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4434 echo "${ECHO_T}no, using $LN_S" >&6
4437 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4438 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4439 if test "${lt_cv_deplibs_check_method+set}" = set; then
4440 echo $ECHO_N "(cached) $ECHO_C" >&6
4442 lt_cv_file_magic_cmd='$MAGIC_CMD'
4443 lt_cv_file_magic_test_file=
4444 lt_cv_deplibs_check_method='unknown'
4445 # Need to set the preceding variable on all platforms that support
4446 # interlibrary dependencies.
4447 # 'none' -- dependencies not supported.
4448 # `unknown' -- same as none, but documents that we really don't know.
4449 # 'pass_all' -- all dependencies passed with no checks.
4450 # 'test_compile' -- check by making test program.
4451 # 'file_magic [[regex]]' -- check by looking for files in library path
4452 # which responds to the $file_magic_cmd with a given egrep regex.
4453 # If you have `file' or equivalent on your system and you're not sure
4454 # whether `pass_all' will *always* work, you probably want this one.
4458 lt_cv_deplibs_check_method=pass_all
4462 lt_cv_deplibs_check_method=pass_all
4466 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4467 lt_cv_file_magic_cmd='/usr/bin/file -L'
4468 lt_cv_file_magic_test_file=/shlib/libc.so
4471 cygwin* | mingw* | pw32*)
4472 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4473 lt_cv_file_magic_cmd='$OBJDUMP -f'
4476 darwin* | rhapsody*)
4477 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4478 lt_cv_file_magic_cmd='/usr/bin/file -L'
4480 rhapsody* | darwin1.[012])
4481 lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
4484 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4490 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4493 # Not sure whether the presence of OpenBSD here was a mistake.
4494 # Let's accept both of them until this is cleared up.
4495 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4496 lt_cv_file_magic_cmd=/usr/bin/file
4497 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4501 lt_cv_deplibs_check_method=pass_all
4506 lt_cv_deplibs_check_method=pass_all
4510 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4511 lt_cv_file_magic_cmd=/usr/bin/file
4512 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4515 irix5* | irix6* | nonstopux*)
4517 irix5* | nonstopux*)
4518 # this will be overridden with pass_all, but let us keep it just in case
4519 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4523 *-32|*"-32 ") libmagic=32-bit;;
4524 *-n32|*"-n32 ") libmagic=N32;;
4525 *-64|*"-64 ") libmagic=64-bit;;
4526 *) libmagic=never-match;;
4528 # this will be overridden with pass_all, but let us keep it just in case
4529 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4532 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4533 lt_cv_deplibs_check_method=pass_all
4536 # This must be Linux ELF.
4539 alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | x86_64*)
4540 lt_cv_deplibs_check_method=pass_all ;;
4542 # glibc up to 2.1.1 does not perform some relocations on ARM
4543 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4545 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4549 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4550 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4552 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4557 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4558 lt_cv_file_magic_cmd=/usr/bin/file
4559 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4563 lt_cv_file_magic_cmd=/usr/bin/file
4564 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4565 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4566 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4568 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4572 osf3* | osf4* | osf5*)
4573 # this will be overridden with pass_all, but let us keep it just in case
4574 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4575 lt_cv_file_magic_test_file=/shlib/libc.so
4576 lt_cv_deplibs_check_method=pass_all
4580 lt_cv_deplibs_check_method=pass_all
4584 lt_cv_deplibs_check_method=pass_all
4585 lt_cv_file_magic_test_file=/lib/libc.so
4588 sysv5uw[78]* | sysv4*uw2*)
4589 lt_cv_deplibs_check_method=pass_all
4592 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4593 case $host_vendor in
4595 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4596 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4599 lt_cv_deplibs_check_method=pass_all
4602 lt_cv_file_magic_cmd='/bin/file'
4603 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4606 lt_cv_file_magic_cmd='/bin/file'
4607 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4608 lt_cv_file_magic_test_file=/lib/libc.so
4611 lt_cv_deplibs_check_method=pass_all
4618 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4619 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4620 file_magic_cmd=$lt_cv_file_magic_cmd
4621 deplibs_check_method=$lt_cv_deplibs_check_method
4629 # Check for command to grab the raw symbol name followed by C symbol from nm.
4630 echo "$as_me:$LINENO: checking command to parse $NM output" >&5
4631 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
4632 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4633 echo $ECHO_N "(cached) $ECHO_C" >&6
4636 # These are sane defaults that work on at least a few old systems.
4637 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4639 # Character class describing NM global symbol codes.
4640 symcode='[BCDEGRST]'
4642 # Regexp to match symbols that can be accessed directly from C.
4643 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4645 # Transform the above into a raw symbol and a C symbol.
4646 symxfrm='\1 \2\3 \3'
4648 # Transform an extracted symbol line into a proper C declaration
4649 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
4651 # Transform an extracted symbol line into symbol name and symbol address
4652 lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
4654 # Define system-specific variables.
4659 cygwin* | mingw* | pw32*)
4660 symcode='[ABCDGISTW]'
4662 hpux*) # Its linker distinguishes data from code symbols
4663 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4664 lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
4667 symcode='[BCDEGRST]'
4670 symcode='[BCDEGQRST]'
4680 # Handle CRLF in mingw tool chain
4684 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4688 # If we're using GNU nm, then use its standard symbol codes.
4689 if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
4690 symcode='[ABCDGISTW]'
4693 # Try without a prefix undercore, then with it.
4694 for ac_symprfx in "" "_"; do
4696 # Write the raw and C identifiers.
4697 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
4699 # Check to see that the pipe works correctly.
4702 cat > conftest.$ac_ext <<EOF
4707 void nm_test_func(){}
4711 int main(){nm_test_var='a';nm_test_func();return(0);}
4714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4715 (eval $ac_compile) 2>&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); }; then
4719 # Now try to grab the symbols.
4721 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
4722 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); } && test -s "$nlist"; then
4726 # Try sorting and uniquifying the output.
4727 if sort "$nlist" | uniq > "$nlist"T; then
4728 mv -f "$nlist"T "$nlist"
4733 # Make sure that we snagged all the symbols we need.
4734 if egrep ' nm_test_var$' "$nlist" >/dev/null; then
4735 if egrep ' nm_test_func$' "$nlist" >/dev/null; then
4736 cat <<EOF > conftest.$ac_ext
4742 # Now generate the symbol file.
4743 eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
4745 cat <<EOF >> conftest.$ac_ext
4746 #if defined (__STDC__) && __STDC__
4747 # define lt_ptr void *
4749 # define lt_ptr char *
4753 /* The mapping between symbol names and symbols. */
4758 lt_preloaded_symbols[] =
4761 sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
4762 cat <<\EOF >> conftest.$ac_ext
4770 # Now try linking the two files.
4771 mv conftest.$ac_objext conftstm.$ac_objext
4773 save_CFLAGS="$CFLAGS"
4774 LIBS="conftstm.$ac_objext"
4775 CFLAGS="$CFLAGS$no_builtin_flag"
4776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4777 (eval $ac_link) 2>&5
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 (exit $ac_status); } && test -s conftest$ac_exeext; then
4784 CFLAGS="$save_CFLAGS"
4786 echo "cannot find nm_test_func in $nlist" >&5
4789 echo "cannot find nm_test_var in $nlist" >&5
4792 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
4795 echo "$progname: failed program was:" >&5
4796 cat conftest.$ac_ext >&5
4798 rm -f conftest* conftst*
4800 # Do not use the global_symbol_pipe unless it works.
4801 if test "$pipe_works" = yes; then
4804 lt_cv_sys_global_symbol_pipe=
4810 global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
4811 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4812 global_symbol_to_cdecl=
4813 global_symbol_to_c_name_address=
4815 global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
4816 global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
4818 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
4820 echo "$as_me:$LINENO: result: failed" >&5
4821 echo "${ECHO_T}failed" >&6
4823 echo "$as_me:$LINENO: result: ok" >&5
4824 echo "${ECHO_T}ok" >&6
4828 ac_cpp='$CPP $CPPFLAGS'
4829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4832 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4833 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4834 # On Suns, sometimes $CPP names a directory.
4835 if test -n "$CPP" && test -d "$CPP"; then
4838 if test -z "$CPP"; then
4839 if test "${ac_cv_prog_CPP+set}" = set; then
4840 echo $ECHO_N "(cached) $ECHO_C" >&6
4842 # Double quotes because CPP needs to be expanded
4843 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4846 for ac_c_preproc_warn_flag in '' yes
4848 # Use a header file that comes with gcc, so configuring glibc
4849 # with a fresh cross-compiler works.
4850 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4851 # <limits.h> exists even on freestanding compilers.
4852 # On the NeXT, cc -E runs the code through the compiler's parser,
4853 # not just through cpp. "Syntax error" is here to catch this case.
4854 cat >conftest.$ac_ext <<_ACEOF
4857 cat confdefs.h >>conftest.$ac_ext
4858 cat >>conftest.$ac_ext <<_ACEOF
4859 /* end confdefs.h. */
4861 # include <limits.h>
4863 # include <assert.h>
4867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4870 grep -v '^ *+' conftest.er1 >conftest.err
4872 cat conftest.err >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); } >/dev/null; then
4875 if test -s conftest.err; then
4876 ac_cpp_err=$ac_c_preproc_warn_flag
4877 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4884 if test -z "$ac_cpp_err"; then
4887 echo "$as_me: failed program was:" >&5
4888 sed 's/^/| /' conftest.$ac_ext >&5
4890 # Broken: fails on valid input.
4893 rm -f conftest.err conftest.$ac_ext
4895 # OK, works on sane cases. Now check whether non-existent headers
4896 # can be detected and how.
4897 cat >conftest.$ac_ext <<_ACEOF
4900 cat confdefs.h >>conftest.$ac_ext
4901 cat >>conftest.$ac_ext <<_ACEOF
4902 /* end confdefs.h. */
4903 #include <ac_nonexistent.h>
4905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4906 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4908 grep -v '^ *+' conftest.er1 >conftest.err
4910 cat conftest.err >&5
4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); } >/dev/null; then
4913 if test -s conftest.err; then
4914 ac_cpp_err=$ac_c_preproc_warn_flag
4915 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4922 if test -z "$ac_cpp_err"; then
4923 # Broken: success on invalid input.
4926 echo "$as_me: failed program was:" >&5
4927 sed 's/^/| /' conftest.$ac_ext >&5
4929 # Passes both tests.
4933 rm -f conftest.err conftest.$ac_ext
4936 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4937 rm -f conftest.err conftest.$ac_ext
4938 if $ac_preproc_ok; then
4950 echo "$as_me:$LINENO: result: $CPP" >&5
4951 echo "${ECHO_T}$CPP" >&6
4953 for ac_c_preproc_warn_flag in '' yes
4955 # Use a header file that comes with gcc, so configuring glibc
4956 # with a fresh cross-compiler works.
4957 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4958 # <limits.h> exists even on freestanding compilers.
4959 # On the NeXT, cc -E runs the code through the compiler's parser,
4960 # not just through cpp. "Syntax error" is here to catch this case.
4961 cat >conftest.$ac_ext <<_ACEOF
4964 cat confdefs.h >>conftest.$ac_ext
4965 cat >>conftest.$ac_ext <<_ACEOF
4966 /* end confdefs.h. */
4968 # include <limits.h>
4970 # include <assert.h>
4974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4975 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4977 grep -v '^ *+' conftest.er1 >conftest.err
4979 cat conftest.err >&5
4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); } >/dev/null; then
4982 if test -s conftest.err; then
4983 ac_cpp_err=$ac_c_preproc_warn_flag
4984 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4991 if test -z "$ac_cpp_err"; then
4994 echo "$as_me: failed program was:" >&5
4995 sed 's/^/| /' conftest.$ac_ext >&5
4997 # Broken: fails on valid input.
5000 rm -f conftest.err conftest.$ac_ext
5002 # OK, works on sane cases. Now check whether non-existent headers
5003 # can be detected and how.
5004 cat >conftest.$ac_ext <<_ACEOF
5007 cat confdefs.h >>conftest.$ac_ext
5008 cat >>conftest.$ac_ext <<_ACEOF
5009 /* end confdefs.h. */
5010 #include <ac_nonexistent.h>
5012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5013 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5015 grep -v '^ *+' conftest.er1 >conftest.err
5017 cat conftest.err >&5
5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019 (exit $ac_status); } >/dev/null; then
5020 if test -s conftest.err; then
5021 ac_cpp_err=$ac_c_preproc_warn_flag
5022 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5029 if test -z "$ac_cpp_err"; then
5030 # Broken: success on invalid input.
5033 echo "$as_me: failed program was:" >&5
5034 sed 's/^/| /' conftest.$ac_ext >&5
5036 # Passes both tests.
5040 rm -f conftest.err conftest.$ac_ext
5043 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5044 rm -f conftest.err conftest.$ac_ext
5045 if $ac_preproc_ok; then
5048 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5049 See \`config.log' for more details." >&5
5050 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5051 See \`config.log' for more details." >&2;}
5052 { (exit 1); exit 1; }; }
5056 ac_cpp='$CPP $CPPFLAGS'
5057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5062 echo "$as_me:$LINENO: checking for egrep" >&5
5063 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5064 if test "${ac_cv_prog_egrep+set}" = set; then
5065 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5068 then ac_cv_prog_egrep='grep -E'
5069 else ac_cv_prog_egrep='egrep'
5072 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5073 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5074 EGREP=$ac_cv_prog_egrep
5077 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5078 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5079 if test "${ac_cv_header_stdc+set}" = set; then
5080 echo $ECHO_N "(cached) $ECHO_C" >&6
5082 cat >conftest.$ac_ext <<_ACEOF
5085 cat confdefs.h >>conftest.$ac_ext
5086 cat >>conftest.$ac_ext <<_ACEOF
5087 /* end confdefs.h. */
5101 rm -f conftest.$ac_objext
5102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5103 (eval $ac_compile) 2>conftest.er1
5105 grep -v '^ *+' conftest.er1 >conftest.err
5107 cat conftest.err >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); } &&
5110 { ac_try='test -z "$ac_c_werror_flag"
5111 || test ! -s conftest.err'
5112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116 (exit $ac_status); }; } &&
5117 { ac_try='test -s conftest.$ac_objext'
5118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122 (exit $ac_status); }; }; then
5123 ac_cv_header_stdc=yes
5125 echo "$as_me: failed program was:" >&5
5126 sed 's/^/| /' conftest.$ac_ext >&5
5128 ac_cv_header_stdc=no
5130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5132 if test $ac_cv_header_stdc = yes; then
5133 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5134 cat >conftest.$ac_ext <<_ACEOF
5137 cat confdefs.h >>conftest.$ac_ext
5138 cat >>conftest.$ac_ext <<_ACEOF
5139 /* end confdefs.h. */
5143 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5144 $EGREP "memchr" >/dev/null 2>&1; then
5147 ac_cv_header_stdc=no
5153 if test $ac_cv_header_stdc = yes; then
5154 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5155 cat >conftest.$ac_ext <<_ACEOF
5158 cat confdefs.h >>conftest.$ac_ext
5159 cat >>conftest.$ac_ext <<_ACEOF
5160 /* end confdefs.h. */
5164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5165 $EGREP "free" >/dev/null 2>&1; then
5168 ac_cv_header_stdc=no
5174 if test $ac_cv_header_stdc = yes; then
5175 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5176 if test "$cross_compiling" = yes; then
5179 cat >conftest.$ac_ext <<_ACEOF
5182 cat confdefs.h >>conftest.$ac_ext
5183 cat >>conftest.$ac_ext <<_ACEOF
5184 /* end confdefs.h. */
5186 #if ((' ' & 0x0FF) == 0x020)
5187 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5188 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5190 # define ISLOWER(c) \
5191 (('a' <= (c) && (c) <= 'i') \
5192 || ('j' <= (c) && (c) <= 'r') \
5193 || ('s' <= (c) && (c) <= 'z'))
5194 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5197 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5202 for (i = 0; i < 256; i++)
5203 if (XOR (islower (i), ISLOWER (i))
5204 || toupper (i) != TOUPPER (i))
5209 rm -f conftest$ac_exeext
5210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5211 (eval $ac_link) 2>&5
5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); }; }; then
5222 echo "$as_me: program exited with status $ac_status" >&5
5223 echo "$as_me: failed program was:" >&5
5224 sed 's/^/| /' conftest.$ac_ext >&5
5227 ac_cv_header_stdc=no
5229 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5233 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5234 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5235 if test $ac_cv_header_stdc = yes; then
5237 cat >>confdefs.h <<\_ACEOF
5238 #define STDC_HEADERS 1
5243 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5253 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5254 inttypes.h stdint.h unistd.h
5256 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5257 echo "$as_me:$LINENO: checking for $ac_header" >&5
5258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5260 echo $ECHO_N "(cached) $ECHO_C" >&6
5262 cat >conftest.$ac_ext <<_ACEOF
5265 cat confdefs.h >>conftest.$ac_ext
5266 cat >>conftest.$ac_ext <<_ACEOF
5267 /* end confdefs.h. */
5268 $ac_includes_default
5270 #include <$ac_header>
5272 rm -f conftest.$ac_objext
5273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5274 (eval $ac_compile) 2>conftest.er1
5276 grep -v '^ *+' conftest.er1 >conftest.err
5278 cat conftest.err >&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); } &&
5281 { ac_try='test -z "$ac_c_werror_flag"
5282 || test ! -s conftest.err'
5283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); }; } &&
5288 { ac_try='test -s conftest.$ac_objext'
5289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293 (exit $ac_status); }; }; then
5294 eval "$as_ac_Header=yes"
5296 echo "$as_me: failed program was:" >&5
5297 sed 's/^/| /' conftest.$ac_ext >&5
5299 eval "$as_ac_Header=no"
5301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5305 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5306 cat >>confdefs.h <<_ACEOF
5307 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5316 for ac_header in dlfcn.h
5318 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5320 echo "$as_me:$LINENO: checking for $ac_header" >&5
5321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5323 echo $ECHO_N "(cached) $ECHO_C" >&6
5325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5328 # Is the header compilable?
5329 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5330 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5331 cat >conftest.$ac_ext <<_ACEOF
5334 cat confdefs.h >>conftest.$ac_ext
5335 cat >>conftest.$ac_ext <<_ACEOF
5336 /* end confdefs.h. */
5337 $ac_includes_default
5338 #include <$ac_header>
5340 rm -f conftest.$ac_objext
5341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5342 (eval $ac_compile) 2>conftest.er1
5344 grep -v '^ *+' conftest.er1 >conftest.err
5346 cat conftest.err >&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); } &&
5349 { ac_try='test -z "$ac_c_werror_flag"
5350 || test ! -s conftest.err'
5351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5355 (exit $ac_status); }; } &&
5356 { ac_try='test -s conftest.$ac_objext'
5357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5361 (exit $ac_status); }; }; then
5362 ac_header_compiler=yes
5364 echo "$as_me: failed program was:" >&5
5365 sed 's/^/| /' conftest.$ac_ext >&5
5367 ac_header_compiler=no
5369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5370 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5371 echo "${ECHO_T}$ac_header_compiler" >&6
5373 # Is the header present?
5374 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5375 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5376 cat >conftest.$ac_ext <<_ACEOF
5379 cat confdefs.h >>conftest.$ac_ext
5380 cat >>conftest.$ac_ext <<_ACEOF
5381 /* end confdefs.h. */
5382 #include <$ac_header>
5384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5387 grep -v '^ *+' conftest.er1 >conftest.err
5389 cat conftest.err >&5
5390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5391 (exit $ac_status); } >/dev/null; then
5392 if test -s conftest.err; then
5393 ac_cpp_err=$ac_c_preproc_warn_flag
5394 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5401 if test -z "$ac_cpp_err"; then
5402 ac_header_preproc=yes
5404 echo "$as_me: failed program was:" >&5
5405 sed 's/^/| /' conftest.$ac_ext >&5
5407 ac_header_preproc=no
5409 rm -f conftest.err conftest.$ac_ext
5410 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5411 echo "${ECHO_T}$ac_header_preproc" >&6
5413 # So? What about this header?
5414 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5416 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5417 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5419 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5420 ac_header_preproc=yes
5423 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5424 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5425 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5426 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5427 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5428 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5429 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5430 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5432 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5433 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5434 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5437 ## -------------------------------- ##
5438 ## Report this to petr.smolik@wo.cz ##
5439 ## -------------------------------- ##
5442 sed "s/^/$as_me: WARNING: /" >&2
5445 echo "$as_me:$LINENO: checking for $ac_header" >&5
5446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5448 echo $ECHO_N "(cached) $ECHO_C" >&6
5450 eval "$as_ac_Header=\$ac_header_preproc"
5452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5453 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5457 cat >>confdefs.h <<_ACEOF
5458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5470 # Only perform the check for file, if the check method requires it
5471 case $deplibs_check_method in
5473 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5474 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5475 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5476 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5477 echo $ECHO_N "(cached) $ECHO_C" >&6
5481 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5484 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5487 ac_save_MAGIC_CMD="$MAGIC_CMD"
5488 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5489 ac_dummy="/usr/bin:$PATH"
5490 for ac_dir in $ac_dummy; do
5491 test -z "$ac_dir" && ac_dir=.
5492 if test -f $ac_dir/${ac_tool_prefix}file; then
5493 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5494 if test -n "$file_magic_test_file"; then
5495 case $deplibs_check_method in
5497 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5498 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5499 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5500 egrep "$file_magic_regex" > /dev/null; then
5505 *** Warning: the command libtool uses to detect shared libraries,
5506 *** $file_magic_cmd, produces output that libtool cannot recognize.
5507 *** The result is that libtool may fail to recognize shared libraries
5508 *** as such. This will affect the creation of libtool libraries that
5509 *** depend on shared libraries, but programs linked with such libtool
5510 *** libraries will work regardless of this problem. Nevertheless, you
5511 *** may want to report the problem to your system manager and/or to
5512 *** bug-libtool@gnu.org
5522 MAGIC_CMD="$ac_save_MAGIC_CMD"
5527 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5528 if test -n "$MAGIC_CMD"; then
5529 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5530 echo "${ECHO_T}$MAGIC_CMD" >&6
5532 echo "$as_me:$LINENO: result: no" >&5
5533 echo "${ECHO_T}no" >&6
5536 if test -z "$lt_cv_path_MAGIC_CMD"; then
5537 if test -n "$ac_tool_prefix"; then
5538 echo "$as_me:$LINENO: checking for file" >&5
5539 echo $ECHO_N "checking for file... $ECHO_C" >&6
5540 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5541 echo $ECHO_N "(cached) $ECHO_C" >&6
5545 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5548 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5551 ac_save_MAGIC_CMD="$MAGIC_CMD"
5552 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5553 ac_dummy="/usr/bin:$PATH"
5554 for ac_dir in $ac_dummy; do
5555 test -z "$ac_dir" && ac_dir=.
5556 if test -f $ac_dir/file; then
5557 lt_cv_path_MAGIC_CMD="$ac_dir/file"
5558 if test -n "$file_magic_test_file"; then
5559 case $deplibs_check_method in
5561 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5562 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5563 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5564 egrep "$file_magic_regex" > /dev/null; then
5569 *** Warning: the command libtool uses to detect shared libraries,
5570 *** $file_magic_cmd, produces output that libtool cannot recognize.
5571 *** The result is that libtool may fail to recognize shared libraries
5572 *** as such. This will affect the creation of libtool libraries that
5573 *** depend on shared libraries, but programs linked with such libtool
5574 *** libraries will work regardless of this problem. Nevertheless, you
5575 *** may want to report the problem to your system manager and/or to
5576 *** bug-libtool@gnu.org
5586 MAGIC_CMD="$ac_save_MAGIC_CMD"
5591 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5592 if test -n "$MAGIC_CMD"; then
5593 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5594 echo "${ECHO_T}$MAGIC_CMD" >&6
5596 echo "$as_me:$LINENO: result: no" >&5
5597 echo "${ECHO_T}no" >&6
5609 if test -n "$ac_tool_prefix"; then
5610 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5611 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5612 echo "$as_me:$LINENO: checking for $ac_word" >&5
5613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5614 if test "${ac_cv_prog_RANLIB+set}" = set; then
5615 echo $ECHO_N "(cached) $ECHO_C" >&6
5617 if test -n "$RANLIB"; then
5618 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5624 test -z "$as_dir" && as_dir=.
5625 for ac_exec_ext in '' $ac_executable_extensions; do
5626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5627 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5636 RANLIB=$ac_cv_prog_RANLIB
5637 if test -n "$RANLIB"; then
5638 echo "$as_me:$LINENO: result: $RANLIB" >&5
5639 echo "${ECHO_T}$RANLIB" >&6
5641 echo "$as_me:$LINENO: result: no" >&5
5642 echo "${ECHO_T}no" >&6
5646 if test -z "$ac_cv_prog_RANLIB"; then
5647 ac_ct_RANLIB=$RANLIB
5648 # Extract the first word of "ranlib", so it can be a program name with args.
5649 set dummy ranlib; ac_word=$2
5650 echo "$as_me:$LINENO: checking for $ac_word" >&5
5651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5652 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5653 echo $ECHO_N "(cached) $ECHO_C" >&6
5655 if test -n "$ac_ct_RANLIB"; then
5656 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5662 test -z "$as_dir" && as_dir=.
5663 for ac_exec_ext in '' $ac_executable_extensions; do
5664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5665 ac_cv_prog_ac_ct_RANLIB="ranlib"
5666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5672 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5675 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5676 if test -n "$ac_ct_RANLIB"; then
5677 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5678 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5680 echo "$as_me:$LINENO: result: no" >&5
5681 echo "${ECHO_T}no" >&6
5684 RANLIB=$ac_ct_RANLIB
5686 RANLIB="$ac_cv_prog_RANLIB"
5689 if test -n "$ac_tool_prefix"; then
5690 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5691 set dummy ${ac_tool_prefix}strip; ac_word=$2
5692 echo "$as_me:$LINENO: checking for $ac_word" >&5
5693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5694 if test "${ac_cv_prog_STRIP+set}" = set; then
5695 echo $ECHO_N "(cached) $ECHO_C" >&6
5697 if test -n "$STRIP"; then
5698 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5704 test -z "$as_dir" && as_dir=.
5705 for ac_exec_ext in '' $ac_executable_extensions; do
5706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5707 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5716 STRIP=$ac_cv_prog_STRIP
5717 if test -n "$STRIP"; then
5718 echo "$as_me:$LINENO: result: $STRIP" >&5
5719 echo "${ECHO_T}$STRIP" >&6
5721 echo "$as_me:$LINENO: result: no" >&5
5722 echo "${ECHO_T}no" >&6
5726 if test -z "$ac_cv_prog_STRIP"; then
5728 # Extract the first word of "strip", so it can be a program name with args.
5729 set dummy strip; ac_word=$2
5730 echo "$as_me:$LINENO: checking for $ac_word" >&5
5731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5732 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5733 echo $ECHO_N "(cached) $ECHO_C" >&6
5735 if test -n "$ac_ct_STRIP"; then
5736 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742 test -z "$as_dir" && as_dir=.
5743 for ac_exec_ext in '' $ac_executable_extensions; do
5744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5745 ac_cv_prog_ac_ct_STRIP="strip"
5746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5755 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5756 if test -n "$ac_ct_STRIP"; then
5757 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5758 echo "${ECHO_T}$ac_ct_STRIP" >&6
5760 echo "$as_me:$LINENO: result: no" >&5
5761 echo "${ECHO_T}no" >&6
5766 STRIP="$ac_cv_prog_STRIP"
5773 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5774 if test "${enable_libtool_lock+set}" = set; then
5775 enableval="$enable_libtool_lock"
5778 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5780 # Some flags need to be propagated to the compiler or linker for good
5784 # Find out which ABI we are using.
5785 echo '#line 5785 "configure"' > conftest.$ac_ext
5786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5787 (eval $ac_compile) 2>&5
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); }; then
5791 case `/usr/bin/file conftest.$ac_objext` in
5807 # Test if the compiler is 64bit
5808 echo 'int i;' > conftest.$ac_ext
5809 lt_cv_cc_64bit_output=no
5810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5811 (eval $ac_compile) 2>&5
5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814 (exit $ac_status); }; then
5815 case `/usr/bin/file conftest.$ac_objext` in
5817 lt_cv_cc_64bit_output=yes
5825 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5826 SAVE_CFLAGS="$CFLAGS"
5827 CFLAGS="$CFLAGS -belf"
5828 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5829 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5830 if test "${lt_cv_cc_needs_belf+set}" = set; then
5831 echo $ECHO_N "(cached) $ECHO_C" >&6
5836 ac_cpp='$CPP $CPPFLAGS'
5837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5841 cat >conftest.$ac_ext <<_ACEOF
5844 cat confdefs.h >>conftest.$ac_ext
5845 cat >>conftest.$ac_ext <<_ACEOF
5846 /* end confdefs.h. */
5856 rm -f conftest.$ac_objext conftest$ac_exeext
5857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5858 (eval $ac_link) 2>conftest.er1
5860 grep -v '^ *+' conftest.er1 >conftest.err
5862 cat conftest.err >&5
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); } &&
5865 { ac_try='test -z "$ac_c_werror_flag"
5866 || test ! -s conftest.err'
5867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; } &&
5872 { ac_try='test -s conftest$ac_exeext'
5873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); }; }; then
5878 lt_cv_cc_needs_belf=yes
5880 echo "$as_me: failed program was:" >&5
5881 sed 's/^/| /' conftest.$ac_ext >&5
5883 lt_cv_cc_needs_belf=no
5885 rm -f conftest.err conftest.$ac_objext \
5886 conftest$ac_exeext conftest.$ac_ext
5888 ac_cpp='$CPP $CPPFLAGS'
5889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5894 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5895 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5896 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5897 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5898 CFLAGS="$SAVE_CFLAGS"
5905 # Sed substitution that helps us do robust quoting. It backslashifies
5906 # metacharacters that are still active within double-quoted strings.
5907 Xsed='sed -e s/^X//'
5908 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5910 # Same as above, but do not quote variable references.
5911 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5913 # Sed substitution to delay expansion of an escaped shell variable in a
5914 # double_quote_subst'ed string.
5915 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5921 default_ofile=libtool
5922 can_build_shared=yes
5924 # All known linkers require a `.a' archive for static linking (except M$VC,
5925 # which needs '.lib').
5927 ltmain="$ac_aux_dir/ltmain.sh"
5928 ofile="$default_ofile"
5929 with_gnu_ld="$lt_cv_prog_gnu_ld"
5930 need_locks="$enable_libtool_lock"
5933 old_CFLAGS="$CFLAGS"
5935 # Set sane defaults for various variables
5936 test -z "$AR" && AR=ar
5937 test -z "$AR_FLAGS" && AR_FLAGS=cru
5938 test -z "$AS" && AS=as
5939 test -z "$CC" && CC=cc
5940 test -z "$DLLTOOL" && DLLTOOL=dlltool
5941 test -z "$LD" && LD=ld
5942 test -z "$LN_S" && LN_S="ln -s"
5943 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5944 test -z "$NM" && NM=nm
5945 test -z "$OBJDUMP" && OBJDUMP=objdump
5946 test -z "$RANLIB" && RANLIB=:
5947 test -z "$STRIP" && STRIP=:
5948 test -z "$ac_objext" && ac_objext=o
5950 if test x"$host" != x"$build"; then
5951 ac_tool_prefix=${host_alias}-
5956 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
5959 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
5964 # AIX sometimes has problems with the GCC collect2 program. For some
5965 # reason, if we set the COLLECT_NAMES environment variable, the problems
5966 # vanish in a puff of smoke.
5967 if test "X${COLLECT_NAMES+set}" != Xset; then
5969 export COLLECT_NAMES
5974 # Determine commands to create old-style static archives.
5975 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5976 old_postinstall_cmds='chmod 644 $oldlib'
5977 old_postuninstall_cmds=
5979 if test -n "$RANLIB"; then
5982 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5985 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5988 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5991 # Allow CC to be a program name with arguments.
5995 echo "$as_me:$LINENO: checking for objdir" >&5
5996 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5997 rm -f .libs 2>/dev/null
5998 mkdir .libs 2>/dev/null
5999 if test -d .libs; then
6002 # MS-DOS does not allow filenames that begin with a dot.
6005 rmdir .libs 2>/dev/null
6006 echo "$as_me:$LINENO: result: $objdir" >&5
6007 echo "${ECHO_T}$objdir" >&6
6011 # Check whether --with-pic or --without-pic was given.
6012 if test "${with_pic+set}" = set; then
6018 test -z "$pic_mode" && pic_mode=default
6020 # We assume here that the value for lt_cv_prog_cc_pic will not be cached
6021 # in isolation, and that seeing it set (from the cache) indicates that
6022 # the associated values are set (in the cache) correctly too.
6023 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6024 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6025 if test "${lt_cv_prog_cc_pic+set}" = set; then
6026 echo $ECHO_N "(cached) $ECHO_C" >&6
6029 lt_cv_prog_cc_shlib=
6031 lt_cv_prog_cc_static=
6032 lt_cv_prog_cc_no_builtin=
6033 lt_cv_prog_cc_can_build_shared=$can_build_shared
6035 if test "$GCC" = yes; then
6036 lt_cv_prog_cc_wl='-Wl,'
6037 lt_cv_prog_cc_static='-static'
6041 # Below there is a dirty hack to force normal static linking with -ldl
6042 # The problem is because libdl dynamically linked with both libc and
6043 # libC (AIX C++ library), which obviously doesn't included in libraries
6044 # list by gcc. This cause undefined symbols with -static flags.
6045 # This hack allows C programs to be linked with "-static -ldl", but
6046 # not sure about C++ programs.
6047 lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
6050 # FIXME: we need at least 68020 code to build shared libraries, but
6051 # adding the `-m68020' flag to GCC prevents building anything better,
6053 lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
6055 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6056 # PIC is the default for these OSes.
6058 darwin* | rhapsody*)
6059 # PIC is the default on this platform
6060 # Common symbols not allowed in MH_DYLIB files
6061 lt_cv_prog_cc_pic='-fno-common'
6063 cygwin* | mingw* | pw32* | os2*)
6064 # This hack is so that the source file can tell whether it is being
6065 # built for inclusion in a dll (and should export symbols for example).
6066 lt_cv_prog_cc_pic='-DDLL_EXPORT'
6069 if test -d /usr/nec; then
6070 lt_cv_prog_cc_pic=-Kconform_pic
6074 lt_cv_prog_cc_pic='-fPIC'
6078 # PORTME Check for PIC flags for the system compiler.
6080 aix3* | aix4* | aix5*)
6081 lt_cv_prog_cc_wl='-Wl,'
6082 # All AIX code is PIC.
6083 if test "$host_cpu" = ia64; then
6084 # AIX 5 now supports IA64 processor
6085 lt_cv_prog_cc_static='-Bstatic'
6087 lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
6091 hpux9* | hpux10* | hpux11*)
6092 # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
6093 lt_cv_prog_cc_wl='-Wl,'
6094 lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
6095 lt_cv_prog_cc_pic='+Z'
6098 irix5* | irix6* | nonstopux*)
6099 lt_cv_prog_cc_wl='-Wl,'
6100 lt_cv_prog_cc_static='-non_shared'
6101 # PIC (with -KPIC) is the default.
6104 cygwin* | mingw* | pw32* | os2*)
6105 # This hack is so that the source file can tell whether it is being
6106 # built for inclusion in a dll (and should export symbols for example).
6107 lt_cv_prog_cc_pic='-DDLL_EXPORT'
6111 lt_cv_prog_cc_pic='-KPIC'
6112 lt_cv_prog_cc_static='-Bstatic'
6115 osf3* | osf4* | osf5*)
6116 # All OSF/1 code is PIC.
6117 lt_cv_prog_cc_wl='-Wl,'
6118 lt_cv_prog_cc_static='-non_shared'
6122 lt_cv_prog_cc_pic='-Kpic'
6123 lt_cv_prog_cc_static='-dn'
6124 lt_cv_prog_cc_shlib='-belf'
6128 lt_cv_prog_cc_pic='-KPIC'
6129 lt_cv_prog_cc_static='-Bstatic'
6130 lt_cv_prog_cc_wl='-Wl,'
6134 lt_cv_prog_cc_pic='-PIC'
6135 lt_cv_prog_cc_static='-Bstatic'
6136 lt_cv_prog_cc_wl='-Qoption ld '
6139 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6140 lt_cv_prog_cc_pic='-KPIC'
6141 lt_cv_prog_cc_static='-Bstatic'
6142 lt_cv_prog_cc_wl='-Wl,'
6146 lt_cv_prog_cc_pic='-pic'
6147 lt_cv_prog_cc_static='-Bstatic'
6151 if test -d /usr/nec ;then
6152 lt_cv_prog_cc_pic='-Kconform_pic'
6153 lt_cv_prog_cc_static='-Bstatic'
6158 lt_cv_prog_cc_can_build_shared=no
6165 if test -z "$lt_cv_prog_cc_pic"; then
6166 echo "$as_me:$LINENO: result: none" >&5
6167 echo "${ECHO_T}none" >&6
6169 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
6170 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
6172 # Check to make sure the pic_flag actually works.
6173 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
6174 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
6175 if test "${lt_cv_prog_cc_pic_works+set}" = set; then
6176 echo $ECHO_N "(cached) $ECHO_C" >&6
6178 save_CFLAGS="$CFLAGS"
6179 CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
6180 cat >conftest.$ac_ext <<_ACEOF
6183 cat confdefs.h >>conftest.$ac_ext
6184 cat >>conftest.$ac_ext <<_ACEOF
6185 /* end confdefs.h. */
6195 rm -f conftest.$ac_objext
6196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6197 (eval $ac_compile) 2>conftest.er1
6199 grep -v '^ *+' conftest.er1 >conftest.err
6201 cat conftest.err >&5
6202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203 (exit $ac_status); } &&
6204 { ac_try='test -z "$ac_c_werror_flag"
6205 || test ! -s conftest.err'
6206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6210 (exit $ac_status); }; } &&
6211 { ac_try='test -s conftest.$ac_objext'
6212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6216 (exit $ac_status); }; }; then
6218 hpux9* | hpux10* | hpux11*)
6219 # On HP-UX, both CC and GCC only warn that PIC is supported... then
6220 # they create non-PIC objects. So, if there were any warnings, we
6221 # assume that PIC is not supported.
6222 if test -s conftest.err; then
6223 lt_cv_prog_cc_pic_works=no
6225 lt_cv_prog_cc_pic_works=yes
6229 lt_cv_prog_cc_pic_works=yes
6234 echo "$as_me: failed program was:" >&5
6235 sed 's/^/| /' conftest.$ac_ext >&5
6237 lt_cv_prog_cc_pic_works=no
6240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6241 CFLAGS="$save_CFLAGS"
6246 if test "X$lt_cv_prog_cc_pic_works" = Xno; then
6248 lt_cv_prog_cc_can_build_shared=no
6250 lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
6253 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
6254 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
6257 # Check for any special shared library compilation flags.
6258 if test -n "$lt_cv_prog_cc_shlib"; then
6259 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
6260 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
6261 if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then :
6263 { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6264 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6265 lt_cv_prog_cc_can_build_shared=no
6269 echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
6270 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
6271 if test "${lt_cv_prog_cc_static_works+set}" = set; then
6272 echo $ECHO_N "(cached) $ECHO_C" >&6
6274 lt_cv_prog_cc_static_works=no
6275 save_LDFLAGS="$LDFLAGS"
6276 LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
6277 cat >conftest.$ac_ext <<_ACEOF
6280 cat confdefs.h >>conftest.$ac_ext
6281 cat >>conftest.$ac_ext <<_ACEOF
6282 /* end confdefs.h. */
6292 rm -f conftest.$ac_objext conftest$ac_exeext
6293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6294 (eval $ac_link) 2>conftest.er1
6296 grep -v '^ *+' conftest.er1 >conftest.err
6298 cat conftest.err >&5
6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300 (exit $ac_status); } &&
6301 { ac_try='test -z "$ac_c_werror_flag"
6302 || test ! -s conftest.err'
6303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6307 (exit $ac_status); }; } &&
6308 { ac_try='test -s conftest$ac_exeext'
6309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313 (exit $ac_status); }; }; then
6314 lt_cv_prog_cc_static_works=yes
6316 echo "$as_me: failed program was:" >&5
6317 sed 's/^/| /' conftest.$ac_ext >&5
6320 rm -f conftest.err conftest.$ac_objext \
6321 conftest$ac_exeext conftest.$ac_ext
6322 LDFLAGS="$save_LDFLAGS"
6327 # Belt *and* braces to stop my trousers falling down:
6328 test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
6329 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
6330 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
6332 pic_flag="$lt_cv_prog_cc_pic"
6333 special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
6334 wl="$lt_cv_prog_cc_wl"
6335 link_static_flag="$lt_cv_prog_cc_static"
6336 no_builtin_flag="$lt_cv_prog_cc_no_builtin"
6337 can_build_shared="$lt_cv_prog_cc_can_build_shared"
6340 # Check to see if options -o and -c are simultaneously supported by compiler
6341 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6342 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6343 if test "${lt_cv_compiler_c_o+set}" = set; then
6344 echo $ECHO_N "(cached) $ECHO_C" >&6
6347 $rm -r conftest 2>/dev/null
6350 echo "int some_variable = 0;" > conftest.$ac_ext
6352 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6353 # that will create temporary files in the current directory regardless of
6354 # the output directory. Thus, making CWD read-only will cause this test
6355 # to fail, enabling locking or at least warning the user not to do parallel
6358 save_CFLAGS="$CFLAGS"
6359 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
6361 if { (eval echo configure:6361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
6362 # The compiler can only warn and ignore the option if not recognized
6363 # So say no if there are warnings
6364 if test -s out/conftest.err; then
6365 lt_cv_compiler_c_o=no
6367 lt_cv_compiler_c_o=yes
6370 # Append any errors to the config.log.
6371 cat out/conftest.err 1>&5
6372 lt_cv_compiler_c_o=no
6374 CFLAGS="$save_CFLAGS"
6380 $rm -r conftest 2>/dev/null
6384 compiler_c_o=$lt_cv_compiler_c_o
6385 echo "$as_me:$LINENO: result: $compiler_c_o" >&5
6386 echo "${ECHO_T}$compiler_c_o" >&6
6388 if test x"$compiler_c_o" = x"yes"; then
6389 # Check to see if we can write to a .lo
6390 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
6391 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
6392 if test "${lt_cv_compiler_o_lo+set}" = set; then
6393 echo $ECHO_N "(cached) $ECHO_C" >&6
6396 lt_cv_compiler_o_lo=no
6397 save_CFLAGS="$CFLAGS"
6398 CFLAGS="$CFLAGS -c -o conftest.lo"
6399 save_objext="$ac_objext"
6401 cat >conftest.$ac_ext <<_ACEOF
6404 cat confdefs.h >>conftest.$ac_ext
6405 cat >>conftest.$ac_ext <<_ACEOF
6406 /* end confdefs.h. */
6411 int some_variable = 0;
6416 rm -f conftest.$ac_objext
6417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6418 (eval $ac_compile) 2>conftest.er1
6420 grep -v '^ *+' conftest.er1 >conftest.err
6422 cat conftest.err >&5
6423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424 (exit $ac_status); } &&
6425 { ac_try='test -z "$ac_c_werror_flag"
6426 || test ! -s conftest.err'
6427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); }; } &&
6432 { ac_try='test -s conftest.$ac_objext'
6433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); }; }; then
6438 # The compiler can only warn and ignore the option if not recognized
6439 # So say no if there are warnings
6440 if test -s conftest.err; then
6441 lt_cv_compiler_o_lo=no
6443 lt_cv_compiler_o_lo=yes
6447 echo "$as_me: failed program was:" >&5
6448 sed 's/^/| /' conftest.$ac_ext >&5
6451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6452 ac_objext="$save_objext"
6453 CFLAGS="$save_CFLAGS"
6457 compiler_o_lo=$lt_cv_compiler_o_lo
6458 echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
6459 echo "${ECHO_T}$compiler_o_lo" >&6
6464 # Check to see if we can do hard links to lock some files if needed
6465 hard_links="nottested"
6466 if test "$compiler_c_o" = no && test "$need_locks" != no; then
6467 # do not overwrite the value of need_locks provided by the user
6468 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6469 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6472 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6474 ln conftest.a conftest.b 2>&5 || hard_links=no
6475 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6476 echo "$as_me:$LINENO: result: $hard_links" >&5
6477 echo "${ECHO_T}$hard_links" >&6
6478 if test "$hard_links" = no; then
6479 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6480 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6487 if test "$GCC" = yes; then
6488 # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
6489 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6490 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6491 echo "int some_variable = 0;" > conftest.$ac_ext
6492 save_CFLAGS="$CFLAGS"
6493 CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
6494 compiler_rtti_exceptions=no
6495 cat >conftest.$ac_ext <<_ACEOF
6498 cat confdefs.h >>conftest.$ac_ext
6499 cat >>conftest.$ac_ext <<_ACEOF
6500 /* end confdefs.h. */
6505 int some_variable = 0;
6510 rm -f conftest.$ac_objext
6511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6512 (eval $ac_compile) 2>conftest.er1
6514 grep -v '^ *+' conftest.er1 >conftest.err
6516 cat conftest.err >&5
6517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6518 (exit $ac_status); } &&
6519 { ac_try='test -z "$ac_c_werror_flag"
6520 || test ! -s conftest.err'
6521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); }; } &&
6526 { ac_try='test -s conftest.$ac_objext'
6527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); }; }; then
6532 # The compiler can only warn and ignore the option if not recognized
6533 # So say no if there are warnings
6534 if test -s conftest.err; then
6535 compiler_rtti_exceptions=no
6537 compiler_rtti_exceptions=yes
6541 echo "$as_me: failed program was:" >&5
6542 sed 's/^/| /' conftest.$ac_ext >&5
6545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6546 CFLAGS="$save_CFLAGS"
6547 echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
6548 echo "${ECHO_T}$compiler_rtti_exceptions" >&6
6550 if test "$compiler_rtti_exceptions" = "yes"; then
6551 no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
6553 no_builtin_flag=' -fno-builtin'
6557 # See if the linker supports building shared libraries.
6558 echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
6559 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
6561 allow_undefined_flag=
6563 need_lib_prefix=unknown
6564 need_version=unknown
6565 # when you set need_version to no, make sure it does not cause -set_version
6566 # flags to be left without arguments
6568 archive_expsym_cmds=
6569 old_archive_from_new_cmds=
6570 old_archive_from_expsyms_cmds=
6571 export_dynamic_flag_spec=
6572 whole_archive_flag_spec=
6573 thread_safe_flag_spec=
6574 hardcode_into_libs=no
6575 hardcode_libdir_flag_spec=
6576 hardcode_libdir_separator=
6579 hardcode_shlibpath_var=unsupported
6581 link_all_deplibs=unknown
6582 always_export_symbols=no
6583 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
6584 # include_expsyms should be a list of space-separated symbols to be *always*
6585 # included in the symbol list
6587 # exclude_expsyms can be an egrep regular expression of symbols to exclude
6588 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6589 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6590 # as well as any symbol that contains `d'.
6591 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6592 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6593 # platforms (ab)use it in PIC code, but their linkers get confused if
6594 # the symbol is explicitly referenced. Since portable code cannot
6595 # rely on this symbol name, it's probably fine to never include it in
6596 # preloaded symbol tables.
6597 extract_expsyms_cmds=
6600 cygwin* | mingw* | pw32*)
6601 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6602 # When not using gcc, we currently assume that we are using
6603 # Microsoft Visual C++.
6604 if test "$GCC" != yes; then
6614 if test "$with_gnu_ld" = yes; then
6615 # If archive_cmds runs LD, not CC, wlarc should be empty
6618 # See if GNU ld supports shared libraries.
6620 aix3* | aix4* | aix5*)
6621 # On AIX, the GNU linker is very broken
6622 # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
6626 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6627 *** to be unable to reliably create shared libraries on AIX.
6628 *** Therefore, libtool is disabling shared libraries support. If you
6629 *** really care for shared libraries, you may want to modify your PATH
6630 *** so that a non-GNU linker is found, and then restart.
6636 archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
6637 hardcode_libdir_flag_spec='-L$libdir'
6638 hardcode_minus_L=yes
6640 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6641 # that the semantics of dynamic libraries on AmigaOS, at least up
6642 # to version 4, is to share data among multiple programs linked
6643 # with the same dynamic library. Since this doesn't match the
6644 # behavior of shared libraries on other platforms, we can use
6650 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
6651 allow_undefined_flag=unsupported
6652 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6653 # support --undefined. This deserves some investigation. FIXME
6654 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6660 cygwin* | mingw* | pw32*)
6661 # hardcode_libdir_flag_spec is actually meaningless, as there is
6662 # no search path for DLLs.
6663 hardcode_libdir_flag_spec='-L$libdir'
6664 allow_undefined_flag=unsupported
6665 always_export_symbols=yes
6667 extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
6668 sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
6669 test -f $output_objdir/impgen.exe || (cd $output_objdir && \
6670 if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
6671 else $CC -o impgen impgen.c ; fi)~
6672 $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
6674 old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
6676 # cygwin and mingw dlls have different entry points and sets of symbols
6678 # FIXME: what about values for MSVC?
6679 dll_entry=__cygwin_dll_entry@12
6680 dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
6684 dll_entry=_DllMainCRTStartup@12
6685 dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
6689 # mingw and cygwin differ, and it's simplest to just exclude the union
6690 # of the two symbol sets.
6691 dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
6693 # recent cygwin and mingw systems supply a stub DllMain which the user
6694 # can override, but on older systems we have to supply one (in ltdll.c)
6695 if test "x$lt_cv_need_dllmain" = "xyes"; then
6696 ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
6697 ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
6698 test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
6704 # Extract the symbol export list from an `--export-all' def file,
6705 # then regenerate the def file from the symbol export list, so that
6706 # the compiled dll only exports the symbol export list.
6707 # Be careful not to strip the DATA tag left be newer dlltools.
6708 export_symbols_cmds="$ltdll_cmds"'
6709 $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
6710 sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
6712 # If the export-symbols file already is a .def file (1st line
6713 # is EXPORTS), use it as is.
6714 # If DATA tags from a recent dlltool are present, honour them!
6715 archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
6716 cp $export_symbols $output_objdir/$soname-def;
6718 echo EXPORTS > $output_objdir/$soname-def;
6720 cat $export_symbols | while read symbol; do
6723 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
6724 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
6725 *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
6727 _lt_hint=`expr 1 + \$_lt_hint`;
6731 $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
6732 $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
6733 $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
6734 $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
6735 $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
6739 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6740 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6743 archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6744 archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6749 if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
6753 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6754 *** create shared libraries on Solaris systems. Therefore, libtool
6755 *** is disabling shared libraries support. We urge you to upgrade GNU
6756 *** binutils to release 2.9.1 or newer. Another option is to modify
6757 *** your PATH or compiler configuration so that the native linker is
6758 *** used, and then restart.
6761 elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
6762 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6763 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6770 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6773 hardcode_shlibpath_var=no
6777 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
6778 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6779 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6786 if test "$ld_shlibs" = yes; then
6787 runpath_var=LD_RUN_PATH
6788 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6789 export_dynamic_flag_spec='${wl}--export-dynamic'
6791 cygwin* | mingw* | pw32*)
6792 # dlltool doesn't understand --whole-archive et. al.
6793 whole_archive_flag_spec=
6796 # ancient GNU ld didn't support --whole-archive et. al.
6797 if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
6798 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6800 whole_archive_flag_spec=
6806 # PORTME fill in a description of your system's linker (not GNU ld)
6809 allow_undefined_flag=unsupported
6810 always_export_symbols=yes
6811 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
6812 # Note: this linker hardcodes the directories in LIBPATH if there
6813 # are no directories specified by -L.
6814 hardcode_minus_L=yes
6815 if test "$GCC" = yes && test -z "$link_static_flag"; then
6816 # Neither direct hardcoding nor static linking is supported with a
6818 hardcode_direct=unsupported
6823 if test "$host_cpu" = ia64; then
6824 # On IA64, the linker does run time linking by default, so we don't
6825 # have to do anything special.
6826 aix_use_runtimelinking=no
6827 exp_sym_flag='-Bexport'
6830 aix_use_runtimelinking=no
6832 # Test if we are trying to use run time linking or normal
6833 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6834 # need to do runtime linking.
6835 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6836 for ld_flag in $LDFLAGS; do
6839 aix_use_runtimelinking=yes
6846 exp_sym_flag='-bexport'
6847 no_entry_flag='-bnoentry'
6850 # When large executables or shared objects are built, AIX ld can
6851 # have problems creating the table of contents. If linking a library
6852 # or program results in "error TOC overflow" add -mminimal-toc to
6853 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6854 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6858 hardcode_libdir_separator=':'
6859 if test "$GCC" = yes; then
6860 case $host_os in aix4.[012]|aix4.[012].*)
6861 collect2name=`${CC} -print-prog-name=collect2`
6862 if test -f "$collect2name" && \
6863 strings "$collect2name" | grep resolve_lib_name >/dev/null
6865 # We have reworked collect2
6868 # We have old collect2
6869 hardcode_direct=unsupported
6870 # It fails to find uninstalled libraries when the uninstalled
6871 # path is not listed in the libpath. Setting hardcode_minus_L
6872 # to unsupported forces relinking
6873 hardcode_minus_L=yes
6874 hardcode_libdir_flag_spec='-L$libdir'
6875 hardcode_libdir_separator=
6879 shared_flag='-shared'
6882 if test "$host_cpu" = ia64; then
6883 shared_flag='${wl}-G'
6885 if test "$aix_use_runtimelinking" = yes; then
6886 shared_flag='${wl}-G'
6888 shared_flag='${wl}-bM:SRE'
6893 # It seems that -bexpall can do strange things, so it is better to
6894 # generate a list of symbols to export.
6895 always_export_symbols=yes
6896 if test "$aix_use_runtimelinking" = yes; then
6897 # Warning - without using the other runtime loading flags (-brtl),
6898 # -berok will link without error, but may produce a broken library.
6899 allow_undefined_flag='-berok'
6900 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
6901 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6903 if test "$host_cpu" = ia64; then
6904 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6905 allow_undefined_flag="-z nodefs"
6906 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
6908 hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
6909 # Warning - without using the other run time loading flags,
6910 # -berok will link without error, but may produce a broken library.
6911 allow_undefined_flag='${wl}-berok'
6912 # This is a bit strange, but is similar to how AIX traditionally builds
6913 # it's shared libraries.
6914 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
6920 archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
6921 hardcode_libdir_flag_spec='-L$libdir'
6922 hardcode_minus_L=yes
6923 # see comment about different semantics on the GNU ld section
6927 cygwin* | mingw* | pw32*)
6928 # When not using gcc, we currently assume that we are using
6929 # Microsoft Visual C++.
6930 # hardcode_libdir_flag_spec is actually meaningless, as there is
6931 # no search path for DLLs.
6932 hardcode_libdir_flag_spec=' '
6933 allow_undefined_flag=unsupported
6934 # Tell ltmain to make .lib files, not .a files.
6936 # FIXME: Setting linknames here is a bad hack.
6937 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
6938 # The linker will automatically build a .lib file if we build a DLL.
6939 old_archive_from_new_cmds='true'
6940 # FIXME: Should let the user specify the lib program.
6941 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
6942 fix_srcfile_path='`cygpath -w "$srcfile"`'
6945 darwin* | rhapsody*)
6947 rhapsody* | darwin1.[012])
6948 allow_undefined_flag='-undefined suppress'
6951 allow_undefined_flag='-flat_namespace -undefined suppress'
6954 # FIXME: Relying on posixy $() will cause problems for
6955 # cross-compilation, but unfortunately the echo tests do not
6956 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
6957 # `"' quotes if we put them in here... so don't!
6958 archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
6959 # We need to add '_' to the symbols in $export_symbols first
6960 #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
6962 hardcode_shlibpath_var=no
6963 whole_archive_flag_spec='-all_load $convenience'
6970 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
6971 # support. Future versions do this automatically, but an explicit c++rt0.o
6972 # does not break anything, and helps significantly (at the cost of a little
6975 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
6976 hardcode_libdir_flag_spec='-R$libdir'
6978 hardcode_shlibpath_var=no
6981 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
6983 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6985 hardcode_minus_L=yes
6986 hardcode_shlibpath_var=no
6989 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6991 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6992 hardcode_libdir_flag_spec='-R$libdir'
6994 hardcode_shlibpath_var=no
6997 hpux9* | hpux10* | hpux11*)
6999 hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
7000 *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
7002 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7003 hardcode_libdir_separator=:
7005 hardcode_minus_L=yes # Not in the search PATH, but as the default
7006 # location of the library.
7007 export_dynamic_flag_spec='${wl}-E'
7010 irix5* | irix6* | nonstopux*)
7011 if test "$GCC" = yes; then
7012 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7013 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7015 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7016 hardcode_libdir_flag_spec='-rpath $libdir'
7018 hardcode_libdir_separator=:
7019 link_all_deplibs=yes
7023 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7024 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7026 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7028 hardcode_libdir_flag_spec='-R$libdir'
7030 hardcode_shlibpath_var=no
7034 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7036 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7037 hardcode_libdir_separator=:
7038 hardcode_shlibpath_var=no
7043 hardcode_shlibpath_var=no
7044 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7045 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7046 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7047 export_dynamic_flag_spec='${wl}-E'
7050 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7051 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7052 hardcode_libdir_flag_spec='-R$libdir'
7055 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7056 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7063 hardcode_libdir_flag_spec='-L$libdir'
7064 hardcode_minus_L=yes
7065 allow_undefined_flag=unsupported
7066 archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
7067 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7071 if test "$GCC" = yes; then
7072 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7073 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7075 allow_undefined_flag=' -expect_unresolved \*'
7076 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7078 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7079 hardcode_libdir_separator=:
7082 osf4* | osf5*) # as osf3* with the addition of -msym flag
7083 if test "$GCC" = yes; then
7084 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7085 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7086 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7088 allow_undefined_flag=' -expect_unresolved \*'
7089 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7090 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7091 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
7093 #Both c and cxx compiler support -rpath directly
7094 hardcode_libdir_flag_spec='-rpath $libdir'
7096 hardcode_libdir_separator=:
7100 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7101 hardcode_shlibpath_var=no
7102 runpath_var=LD_RUN_PATH
7103 hardcode_runpath_var=yes
7104 export_dynamic_flag_spec='${wl}-Bexport'
7108 # gcc --version < 3.0 without binutils cannot create self contained
7109 # shared libraries reliably, requiring libgcc.a to resolve some of
7110 # the object symbols generated in some cases. Libraries that use
7111 # assert need libgcc.a to resolve __eprintf, for example. Linking
7112 # a copy of libgcc.a into every shared library to guarantee resolving
7113 # such symbols causes other problems: According to Tim Van Holder
7114 # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
7115 # (to the application) exception stack for one thing.
7116 no_undefined_flag=' -z defs'
7117 if test "$GCC" = yes; then
7118 case `$CC --version 2>/dev/null` in
7122 *** Warning: Releases of GCC earlier than version 3.0 cannot reliably
7123 *** create self contained shared libraries on Solaris systems, without
7124 *** introducing a dependency on libgcc.a. Therefore, libtool is disabling
7125 *** -no-undefined support, which will at least allow you to build shared
7126 *** libraries. However, you may find that when you link such libraries
7127 *** into an application without using GCC, you have to manually add
7128 *** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
7129 *** upgrade to a newer version of GCC. Another option is to rebuild your
7130 *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
7137 # $CC -shared without GNU ld will not create a library from C++
7138 # object files and a static libstdc++, better avoid it by now
7139 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7140 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7141 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7142 hardcode_libdir_flag_spec='-R$libdir'
7143 hardcode_shlibpath_var=no
7145 solaris2.[0-5] | solaris2.[0-5].*) ;;
7146 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7147 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7149 link_all_deplibs=yes
7153 if test "x$host_vendor" = xsequent; then
7154 # Use $CC to link under sequent, because it throws in some extra .o
7155 # files that make .init and .fini sections work.
7156 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7158 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7160 hardcode_libdir_flag_spec='-L$libdir'
7162 hardcode_minus_L=yes
7163 hardcode_shlibpath_var=no
7167 case $host_vendor in
7169 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7170 hardcode_direct=yes # is this really true???
7173 ## LD is ld it makes a PLAMLIB
7174 ## CC just makes a GrossModule.
7175 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7176 reload_cmds='$CC -r -o $output$reload_objs'
7180 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7181 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7184 runpath_var='LD_RUN_PATH'
7185 hardcode_shlibpath_var=no
7189 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7190 hardcode_shlibpath_var=no
7191 export_dynamic_flag_spec='-Bexport'
7195 no_undefined_flag=' -z text'
7196 # $CC -shared without GNU ld will not create a library from C++
7197 # object files and a static libstdc++, better avoid it by now
7198 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7199 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7200 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7201 hardcode_libdir_flag_spec=
7202 hardcode_shlibpath_var=no
7203 runpath_var='LD_RUN_PATH'
7207 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7208 hardcode_libdir_flag_spec='-L$libdir'
7209 hardcode_shlibpath_var=no
7213 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7214 hardcode_libdir_flag_spec='-L$libdir'
7215 hardcode_shlibpath_var=no
7219 if test -d /usr/nec; then
7220 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7221 hardcode_shlibpath_var=no
7222 runpath_var=LD_RUN_PATH
7223 hardcode_runpath_var=yes
7229 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7232 hardcode_shlibpath_var=no
7233 hardcode_runpath_var=yes
7234 runpath_var=LD_RUN_PATH
7237 sysv5uw7* | unixware7*)
7238 no_undefined_flag='${wl}-z ${wl}text'
7239 if test "$GCC" = yes; then
7240 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7242 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7244 runpath_var='LD_RUN_PATH'
7245 hardcode_shlibpath_var=no
7253 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7254 echo "${ECHO_T}$ld_shlibs" >&6
7255 test "$ld_shlibs" = no && can_build_shared=no
7257 # Check hardcoding attributes.
7258 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7259 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7261 if test -n "$hardcode_libdir_flag_spec" || \
7262 test -n "$runpath_var"; then
7264 # We can hardcode non-existant directories.
7265 if test "$hardcode_direct" != no &&
7266 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7267 # have to relink, otherwise we might link with an installed library
7268 # when we should be linking with a yet-to-be-installed one
7269 ## test "$hardcode_shlibpath_var" != no &&
7270 test "$hardcode_minus_L" != no; then
7271 # Linking always hardcodes the temporary library directory.
7272 hardcode_action=relink
7274 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7275 hardcode_action=immediate
7278 # We cannot hardcode anything, or else we can only hardcode existing
7280 hardcode_action=unsupported
7282 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7283 echo "${ECHO_T}$hardcode_action" >&6
7287 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7288 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7289 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7290 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7291 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7292 echo "$as_me:$LINENO: result: yes" >&5
7293 echo "${ECHO_T}yes" >&6
7295 echo "$as_me:$LINENO: result: no" >&5
7296 echo "${ECHO_T}no" >&6
7299 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7300 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7302 # PORTME Fill in your ld.so characteristics
7303 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7304 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7306 libname_spec='lib$name'
7313 shlibpath_overrides_runpath=unknown
7315 dynamic_linker="$host_os ld.so"
7316 sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib"
7317 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib /usr/X11R6/lib"
7322 library_names_spec='${libname}${release}.so$versuffix $libname.a'
7323 shlibpath_var=LIBPATH
7325 # AIX has no versioning support, so we append a major version to the name.
7326 soname_spec='${libname}${release}.so$major'
7333 hardcode_into_libs=yes
7334 if test "$host_cpu" = ia64; then
7335 # AIX 5 supports IA64
7336 library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
7337 shlibpath_var=LD_LIBRARY_PATH
7339 # With GCC up to 2.95.x, collect2 would create an import file
7340 # for dependence libraries. The import file would start with
7341 # the line `#! .'. This would cause the generated library to
7342 # depend on `.', always an invalid library. This was fixed in
7343 # development snapshots of GCC prior to 3.0.
7345 aix4 | aix4.[01] | aix4.[01].*)
7346 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7348 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7355 # AIX (on Power*) has no versioning support, so currently we can
7356 # not hardcode correct soname into executable. Probably we can
7357 # add versioning support to collect2, so additional links can
7358 # be useful in future.
7359 if test "$aix_use_runtimelinking" = yes; then
7360 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7361 # instead of lib<name>.a to let people know that these are not
7362 # typical AIX shared libraries.
7363 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7365 # We preserve .a as extension for shared libraries through AIX4.2
7366 # and later when we are not doing run time linking.
7367 library_names_spec='${libname}${release}.a $libname.a'
7368 soname_spec='${libname}${release}.so$major'
7370 shlibpath_var=LIBPATH
7372 hardcode_into_libs=yes
7376 library_names_spec='$libname.ixlibrary $libname.a'
7377 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7378 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
7382 library_names_spec='${libname}.so'
7383 dynamic_linker="$host_os ld.so"
7384 shlibpath_var=LIBRARY_PATH
7390 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7391 soname_spec='${libname}${release}.so$major'
7392 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7393 shlibpath_var=LD_LIBRARY_PATH
7394 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7395 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7396 export_dynamic_flag_spec=-rdynamic
7397 # the default ld.so.conf also contains /usr/contrib/lib and
7398 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7399 # libtool to hard-code these into programs
7402 cygwin* | mingw* | pw32*)
7403 version_type=windows
7406 case $GCC,$host_os in
7408 library_names_spec='$libname.dll.a'
7409 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
7410 postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
7411 dldir=$destdir/`dirname \$dlpath`~
7412 test -d \$dldir || mkdir -p \$dldir~
7413 $install_prog .libs/$dlname \$dldir/$dlname'
7414 postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
7415 dlpath=$dir/\$dldll~
7419 library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
7420 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
7423 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
7426 library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
7429 dynamic_linker='Win32 ld.exe'
7430 # FIXME: first we should search . and the directory the executable is in
7434 darwin* | rhapsody*)
7435 dynamic_linker="$host_os dyld"
7439 # FIXME: Relying on posixy $() will cause problems for
7440 # cross-compilation, but unfortunately the echo tests do not
7441 # yet detect zsh echo's removal of \ escapes.
7442 library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
7443 soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
7444 shlibpath_overrides_runpath=yes
7445 shlibpath_var=DYLD_LIBRARY_PATH
7453 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7454 version_type=freebsd-$objformat
7455 case $version_type in
7457 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
7462 library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
7466 shlibpath_var=LD_LIBRARY_PATH
7469 shlibpath_overrides_runpath=yes
7472 shlibpath_overrides_runpath=no
7473 hardcode_into_libs=yes
7482 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
7483 soname_spec='${libname}${release}.so$major'
7484 shlibpath_var=LD_LIBRARY_PATH
7485 hardcode_into_libs=yes
7488 hpux9* | hpux10* | hpux11*)
7489 # Give a soname corresponding to the major version so that dld.sl refuses to
7490 # link against other versions.
7491 dynamic_linker="$host_os dld.sl"
7495 shlibpath_var=SHLIB_PATH
7496 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7497 library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
7498 soname_spec='${libname}${release}.sl$major'
7499 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7500 postinstall_cmds='chmod 555 $lib'
7503 irix5* | irix6* | nonstopux*)
7505 nonstopux*) version_type=nonstopux ;;
7506 *) version_type=irix ;;
7510 soname_spec='${libname}${release}.so$major'
7511 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
7513 irix5* | nonstopux*)
7517 case $LD in # libtool.m4 will add one of these switches to LD
7518 *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
7519 *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
7520 *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
7521 *) libsuff= shlibsuff= libmagic=never-match;;
7525 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7526 shlibpath_overrides_runpath=no
7527 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7528 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7531 # No shared lib support for Linux oldld, aout, or coff.
7532 linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
7536 # This must be Linux ELF.
7541 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7542 soname_spec='${libname}${release}.so$major'
7543 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7544 shlibpath_var=LD_LIBRARY_PATH
7545 shlibpath_overrides_runpath=no
7546 # This implies no fast_install, which is unacceptable.
7547 # Some rework will be needed to allow for fast_install
7548 # before this can be enabled.
7549 hardcode_into_libs=yes
7551 case $host_cpu:$lt_cv_cc_64bit_output in
7552 powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes)
7553 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64"
7554 sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64"
7558 # We used to test for /lib/ld.so.1 and disable shared libraries on
7559 # powerpc, because MkLinux only supported shared libraries with the
7560 # GNU dynamic linker. Since this was broken with cross compilers,
7561 # most powerpc-linux boxes support dynamic linking these days and
7562 # people can always --disable-shared, the test was removed, and we
7563 # assume the GNU/Linux dynamic linker is in use.
7564 dynamic_linker='GNU/Linux ld.so'
7571 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7572 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
7573 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7574 dynamic_linker='NetBSD (a.out) ld.so'
7576 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
7577 soname_spec='${libname}${release}.so$major'
7578 dynamic_linker='NetBSD ld.elf_so'
7580 shlibpath_var=LD_LIBRARY_PATH
7581 shlibpath_overrides_runpath=yes
7582 hardcode_into_libs=yes
7587 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7588 shlibpath_var=LD_LIBRARY_PATH
7589 shlibpath_overrides_runpath=yes
7596 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7598 openbsd2.[89] | openbsd2.[89].*)
7599 shlibpath_overrides_runpath=no
7602 shlibpath_overrides_runpath=yes
7606 shlibpath_overrides_runpath=yes
7608 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
7609 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7610 shlibpath_var=LD_LIBRARY_PATH
7614 libname_spec='$name'
7616 library_names_spec='$libname.dll $libname.a'
7617 dynamic_linker='OS/2 ld.exe'
7618 shlibpath_var=LIBPATH
7621 osf3* | osf4* | osf5*)
7624 soname_spec='${libname}${release}.so$major'
7625 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7626 shlibpath_var=LD_LIBRARY_PATH
7627 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7628 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7629 hardcode_into_libs=yes
7634 soname_spec='${libname}${release}.so$major'
7635 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7636 shlibpath_var=LD_LIBRARY_PATH
7643 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7644 soname_spec='${libname}${release}.so$major'
7645 shlibpath_var=LD_LIBRARY_PATH
7646 shlibpath_overrides_runpath=yes
7647 hardcode_into_libs=yes
7648 # ldd complains unless libraries are executable
7649 postinstall_cmds='chmod +x $lib'
7654 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
7655 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7656 shlibpath_var=LD_LIBRARY_PATH
7657 shlibpath_overrides_runpath=yes
7658 if test "$with_gnu_ld" = yes; then
7664 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7666 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7667 soname_spec='${libname}${release}.so$major'
7668 shlibpath_var=LD_LIBRARY_PATH
7669 case $host_vendor in
7671 shlibpath_overrides_runpath=no
7673 export_dynamic_flag_spec='${wl}-Blargedynsym'
7674 runpath_var=LD_RUN_PATH
7682 shlibpath_overrides_runpath=no
7683 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
7690 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7691 soname_spec='${libname}${release}.so$major'
7692 shlibpath_var=LD_LIBRARY_PATH
7699 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
7700 soname_spec='${libname}${release}.so$major'
7701 shlibpath_var=LD_LIBRARY_PATH
7705 if test -d /usr/nec ;then
7707 library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
7708 soname_spec='$libname.so.$major'
7709 shlibpath_var=LD_LIBRARY_PATH
7717 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
7718 echo "${ECHO_T}$dynamic_linker" >&6
7719 test "$dynamic_linker" = no && can_build_shared=no
7721 # Report the final consequences.
7722 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
7723 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
7724 echo "$as_me:$LINENO: result: $can_build_shared" >&5
7725 echo "${ECHO_T}$can_build_shared" >&6
7727 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
7728 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
7729 test "$can_build_shared" = "no" && enable_shared=no
7731 # On AIX, shared libraries and static libraries use the same namespace, and
7732 # are all built from PIC.
7735 test "$enable_shared" = yes && enable_static=no
7736 if test -n "$RANLIB"; then
7737 archive_cmds="$archive_cmds~\$RANLIB \$lib"
7738 postinstall_cmds='$RANLIB $lib'
7743 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
7744 test "$enable_shared" = yes && enable_static=no
7748 echo "$as_me:$LINENO: result: $enable_shared" >&5
7749 echo "${ECHO_T}$enable_shared" >&6
7751 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
7752 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
7753 # Make sure either enable_shared or enable_static is yes.
7754 test "$enable_shared" = yes || enable_static=yes
7755 echo "$as_me:$LINENO: result: $enable_static" >&5
7756 echo "${ECHO_T}$enable_static" >&6
7758 if test "$hardcode_action" = relink; then
7759 # Fast installation is not supported
7760 enable_fast_install=no
7761 elif test "$shlibpath_overrides_runpath" = yes ||
7762 test "$enable_shared" = no; then
7763 # Fast installation is not necessary
7764 enable_fast_install=needless
7767 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7768 if test "$GCC" = yes; then
7769 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7772 if test "x$enable_dlopen" != xyes; then
7773 enable_dlopen=unknown
7774 enable_dlopen_self=unknown
7775 enable_dlopen_self_static=unknown
7782 lt_cv_dlopen="load_add_on"
7784 lt_cv_dlopen_self=yes
7787 cygwin* | mingw* | pw32*)
7788 lt_cv_dlopen="LoadLibrary"
7793 echo "$as_me:$LINENO: checking for shl_load" >&5
7794 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
7795 if test "${ac_cv_func_shl_load+set}" = set; then
7796 echo $ECHO_N "(cached) $ECHO_C" >&6
7798 cat >conftest.$ac_ext <<_ACEOF
7801 cat confdefs.h >>conftest.$ac_ext
7802 cat >>conftest.$ac_ext <<_ACEOF
7803 /* end confdefs.h. */
7804 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
7805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7806 #define shl_load innocuous_shl_load
7808 /* System header to define __stub macros and hopefully few prototypes,
7809 which can conflict with char shl_load (); below.
7810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7811 <limits.h> exists even on freestanding compilers. */
7814 # include <limits.h>
7816 # include <assert.h>
7821 /* Override any gcc2 internal prototype to avoid an error. */
7826 /* We use char because int might match the return type of a gcc2
7827 builtin and then its argument prototype would still apply. */
7829 /* The GNU C library defines this for functions which it implements
7830 to always fail with ENOSYS. Some functions are actually named
7831 something starting with __ and the normal name is an alias. */
7832 #if defined (__stub_shl_load) || defined (__stub___shl_load)
7835 char (*f) () = shl_load;
7844 return f != shl_load;
7849 rm -f conftest.$ac_objext conftest$ac_exeext
7850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7851 (eval $ac_link) 2>conftest.er1
7853 grep -v '^ *+' conftest.er1 >conftest.err
7855 cat conftest.err >&5
7856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7857 (exit $ac_status); } &&
7858 { ac_try='test -z "$ac_c_werror_flag"
7859 || test ! -s conftest.err'
7860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); }; } &&
7865 { ac_try='test -s conftest$ac_exeext'
7866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7870 (exit $ac_status); }; }; then
7871 ac_cv_func_shl_load=yes
7873 echo "$as_me: failed program was:" >&5
7874 sed 's/^/| /' conftest.$ac_ext >&5
7876 ac_cv_func_shl_load=no
7878 rm -f conftest.err conftest.$ac_objext \
7879 conftest$ac_exeext conftest.$ac_ext
7881 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
7882 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
7883 if test $ac_cv_func_shl_load = yes; then
7884 lt_cv_dlopen="shl_load"
7886 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
7887 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
7888 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
7889 echo $ECHO_N "(cached) $ECHO_C" >&6
7891 ac_check_lib_save_LIBS=$LIBS
7893 cat >conftest.$ac_ext <<_ACEOF
7896 cat confdefs.h >>conftest.$ac_ext
7897 cat >>conftest.$ac_ext <<_ACEOF
7898 /* end confdefs.h. */
7900 /* Override any gcc2 internal prototype to avoid an error. */
7904 /* We use char because int might match the return type of a gcc2
7905 builtin and then its argument prototype would still apply. */
7915 rm -f conftest.$ac_objext conftest$ac_exeext
7916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7917 (eval $ac_link) 2>conftest.er1
7919 grep -v '^ *+' conftest.er1 >conftest.err
7921 cat conftest.err >&5
7922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7923 (exit $ac_status); } &&
7924 { ac_try='test -z "$ac_c_werror_flag"
7925 || test ! -s conftest.err'
7926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7930 (exit $ac_status); }; } &&
7931 { ac_try='test -s conftest$ac_exeext'
7932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936 (exit $ac_status); }; }; then
7937 ac_cv_lib_dld_shl_load=yes
7939 echo "$as_me: failed program was:" >&5
7940 sed 's/^/| /' conftest.$ac_ext >&5
7942 ac_cv_lib_dld_shl_load=no
7944 rm -f conftest.err conftest.$ac_objext \
7945 conftest$ac_exeext conftest.$ac_ext
7946 LIBS=$ac_check_lib_save_LIBS
7948 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
7949 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
7950 if test $ac_cv_lib_dld_shl_load = yes; then
7951 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
7953 echo "$as_me:$LINENO: checking for dlopen" >&5
7954 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
7955 if test "${ac_cv_func_dlopen+set}" = set; then
7956 echo $ECHO_N "(cached) $ECHO_C" >&6
7958 cat >conftest.$ac_ext <<_ACEOF
7961 cat confdefs.h >>conftest.$ac_ext
7962 cat >>conftest.$ac_ext <<_ACEOF
7963 /* end confdefs.h. */
7964 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
7965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7966 #define dlopen innocuous_dlopen
7968 /* System header to define __stub macros and hopefully few prototypes,
7969 which can conflict with char dlopen (); below.
7970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7971 <limits.h> exists even on freestanding compilers. */
7974 # include <limits.h>
7976 # include <assert.h>
7981 /* Override any gcc2 internal prototype to avoid an error. */
7986 /* We use char because int might match the return type of a gcc2
7987 builtin and then its argument prototype would still apply. */
7989 /* The GNU C library defines this for functions which it implements
7990 to always fail with ENOSYS. Some functions are actually named
7991 something starting with __ and the normal name is an alias. */
7992 #if defined (__stub_dlopen) || defined (__stub___dlopen)
7995 char (*f) () = dlopen;
8009 rm -f conftest.$ac_objext conftest$ac_exeext
8010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8011 (eval $ac_link) 2>conftest.er1
8013 grep -v '^ *+' conftest.er1 >conftest.err
8015 cat conftest.err >&5
8016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8017 (exit $ac_status); } &&
8018 { ac_try='test -z "$ac_c_werror_flag"
8019 || test ! -s conftest.err'
8020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8024 (exit $ac_status); }; } &&
8025 { ac_try='test -s conftest$ac_exeext'
8026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 (exit $ac_status); }; }; then
8031 ac_cv_func_dlopen=yes
8033 echo "$as_me: failed program was:" >&5
8034 sed 's/^/| /' conftest.$ac_ext >&5
8036 ac_cv_func_dlopen=no
8038 rm -f conftest.err conftest.$ac_objext \
8039 conftest$ac_exeext conftest.$ac_ext
8041 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8042 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8043 if test $ac_cv_func_dlopen = yes; then
8044 lt_cv_dlopen="dlopen"
8046 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8047 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8048 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8049 echo $ECHO_N "(cached) $ECHO_C" >&6
8051 ac_check_lib_save_LIBS=$LIBS
8053 cat >conftest.$ac_ext <<_ACEOF
8056 cat confdefs.h >>conftest.$ac_ext
8057 cat >>conftest.$ac_ext <<_ACEOF
8058 /* end confdefs.h. */
8060 /* Override any gcc2 internal prototype to avoid an error. */
8064 /* We use char because int might match the return type of a gcc2
8065 builtin and then its argument prototype would still apply. */
8075 rm -f conftest.$ac_objext conftest$ac_exeext
8076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8077 (eval $ac_link) 2>conftest.er1
8079 grep -v '^ *+' conftest.er1 >conftest.err
8081 cat conftest.err >&5
8082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8083 (exit $ac_status); } &&
8084 { ac_try='test -z "$ac_c_werror_flag"
8085 || test ! -s conftest.err'
8086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 (exit $ac_status); }; } &&
8091 { ac_try='test -s conftest$ac_exeext'
8092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 (exit $ac_status); }; }; then
8097 ac_cv_lib_dl_dlopen=yes
8099 echo "$as_me: failed program was:" >&5
8100 sed 's/^/| /' conftest.$ac_ext >&5
8102 ac_cv_lib_dl_dlopen=no
8104 rm -f conftest.err conftest.$ac_objext \
8105 conftest$ac_exeext conftest.$ac_ext
8106 LIBS=$ac_check_lib_save_LIBS
8108 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8109 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8110 if test $ac_cv_lib_dl_dlopen = yes; then
8111 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8113 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8114 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8115 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8116 echo $ECHO_N "(cached) $ECHO_C" >&6
8118 ac_check_lib_save_LIBS=$LIBS
8120 cat >conftest.$ac_ext <<_ACEOF
8123 cat confdefs.h >>conftest.$ac_ext
8124 cat >>conftest.$ac_ext <<_ACEOF
8125 /* end confdefs.h. */
8127 /* Override any gcc2 internal prototype to avoid an error. */
8131 /* We use char because int might match the return type of a gcc2
8132 builtin and then its argument prototype would still apply. */
8142 rm -f conftest.$ac_objext conftest$ac_exeext
8143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8144 (eval $ac_link) 2>conftest.er1
8146 grep -v '^ *+' conftest.er1 >conftest.err
8148 cat conftest.err >&5
8149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8150 (exit $ac_status); } &&
8151 { ac_try='test -z "$ac_c_werror_flag"
8152 || test ! -s conftest.err'
8153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8157 (exit $ac_status); }; } &&
8158 { ac_try='test -s conftest$ac_exeext'
8159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8163 (exit $ac_status); }; }; then
8164 ac_cv_lib_svld_dlopen=yes
8166 echo "$as_me: failed program was:" >&5
8167 sed 's/^/| /' conftest.$ac_ext >&5
8169 ac_cv_lib_svld_dlopen=no
8171 rm -f conftest.err conftest.$ac_objext \
8172 conftest$ac_exeext conftest.$ac_ext
8173 LIBS=$ac_check_lib_save_LIBS
8175 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8176 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8177 if test $ac_cv_lib_svld_dlopen = yes; then
8178 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8180 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8181 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8182 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8183 echo $ECHO_N "(cached) $ECHO_C" >&6
8185 ac_check_lib_save_LIBS=$LIBS
8187 cat >conftest.$ac_ext <<_ACEOF
8190 cat confdefs.h >>conftest.$ac_ext
8191 cat >>conftest.$ac_ext <<_ACEOF
8192 /* end confdefs.h. */
8194 /* Override any gcc2 internal prototype to avoid an error. */
8198 /* We use char because int might match the return type of a gcc2
8199 builtin and then its argument prototype would still apply. */
8209 rm -f conftest.$ac_objext conftest$ac_exeext
8210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8211 (eval $ac_link) 2>conftest.er1
8213 grep -v '^ *+' conftest.er1 >conftest.err
8215 cat conftest.err >&5
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); } &&
8218 { ac_try='test -z "$ac_c_werror_flag"
8219 || test ! -s conftest.err'
8220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8224 (exit $ac_status); }; } &&
8225 { ac_try='test -s conftest$ac_exeext'
8226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8230 (exit $ac_status); }; }; then
8231 ac_cv_lib_dld_dld_link=yes
8233 echo "$as_me: failed program was:" >&5
8234 sed 's/^/| /' conftest.$ac_ext >&5
8236 ac_cv_lib_dld_dld_link=no
8238 rm -f conftest.err conftest.$ac_objext \
8239 conftest$ac_exeext conftest.$ac_ext
8240 LIBS=$ac_check_lib_save_LIBS
8242 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8243 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8244 if test $ac_cv_lib_dld_dld_link = yes; then
8245 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8266 if test "x$lt_cv_dlopen" != xno; then
8272 case $lt_cv_dlopen in
8274 save_CPPFLAGS="$CPPFLAGS"
8275 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8277 save_LDFLAGS="$LDFLAGS"
8278 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8281 LIBS="$lt_cv_dlopen_libs $LIBS"
8283 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8284 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8285 if test "${lt_cv_dlopen_self+set}" = set; then
8286 echo $ECHO_N "(cached) $ECHO_C" >&6
8288 if test "$cross_compiling" = yes; then :
8289 lt_cv_dlopen_self=cross
8291 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8292 lt_status=$lt_dlunknown
8293 cat > conftest.$ac_ext <<EOF
8294 #line 8294 "configure"
8295 #include "confdefs.h"
8304 # define LT_DLGLOBAL RTLD_GLOBAL
8307 # define LT_DLGLOBAL DL_GLOBAL
8309 # define LT_DLGLOBAL 0
8313 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8314 find out it does not work in some platform. */
8315 #ifndef LT_DLLAZY_OR_NOW
8317 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8320 # define LT_DLLAZY_OR_NOW DL_LAZY
8323 # define LT_DLLAZY_OR_NOW RTLD_NOW
8326 # define LT_DLLAZY_OR_NOW DL_NOW
8328 # define LT_DLLAZY_OR_NOW 0
8336 extern "C" void exit (int);
8339 void fnord() { int i=42;}
8342 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8343 int status = $lt_dlunknown;
8347 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8348 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8349 /* dlclose (self); */
8355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8356 (eval $ac_link) 2>&5
8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8360 (./conftest; exit; ) 2>/dev/null
8363 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8364 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8365 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8368 # compilation failed
8369 lt_cv_dlopen_self=no
8376 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8377 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8379 if test "x$lt_cv_dlopen_self" = xyes; then
8380 LDFLAGS="$LDFLAGS $link_static_flag"
8381 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8382 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8383 if test "${lt_cv_dlopen_self_static+set}" = set; then
8384 echo $ECHO_N "(cached) $ECHO_C" >&6
8386 if test "$cross_compiling" = yes; then :
8387 lt_cv_dlopen_self_static=cross
8389 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8390 lt_status=$lt_dlunknown
8391 cat > conftest.$ac_ext <<EOF
8392 #line 8392 "configure"
8393 #include "confdefs.h"
8402 # define LT_DLGLOBAL RTLD_GLOBAL
8405 # define LT_DLGLOBAL DL_GLOBAL
8407 # define LT_DLGLOBAL 0
8411 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8412 find out it does not work in some platform. */
8413 #ifndef LT_DLLAZY_OR_NOW
8415 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8418 # define LT_DLLAZY_OR_NOW DL_LAZY
8421 # define LT_DLLAZY_OR_NOW RTLD_NOW
8424 # define LT_DLLAZY_OR_NOW DL_NOW
8426 # define LT_DLLAZY_OR_NOW 0
8434 extern "C" void exit (int);
8437 void fnord() { int i=42;}
8440 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8441 int status = $lt_dlunknown;
8445 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8446 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8447 /* dlclose (self); */
8453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8454 (eval $ac_link) 2>&5
8456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8457 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8458 (./conftest; exit; ) 2>/dev/null
8461 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8462 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8463 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8466 # compilation failed
8467 lt_cv_dlopen_self_static=no
8474 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8475 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8478 CPPFLAGS="$save_CPPFLAGS"
8479 LDFLAGS="$save_LDFLAGS"
8484 case $lt_cv_dlopen_self in
8485 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8486 *) enable_dlopen_self=unknown ;;
8489 case $lt_cv_dlopen_self_static in
8490 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8491 *) enable_dlopen_self_static=unknown ;;
8496 if test "$enable_shared" = yes && test "$GCC" = yes; then
8497 case $archive_cmds in
8499 # FIXME: we may have to deal with multi-command sequences.
8502 # Test whether the compiler implicitly links with -lc since on some
8503 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8504 # to ld, don't add -lc before -lgcc.
8505 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8506 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8507 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
8508 echo $ECHO_N "(cached) $ECHO_C" >&6
8511 echo 'static int dummy;' > conftest.$ac_ext
8513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8514 (eval $ac_compile) 2>&5
8516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8517 (exit $ac_status); }; then
8520 libobjs=conftest.$ac_objext
8522 wl=$lt_cv_prog_cc_wl
8528 save_allow_undefined_flag=$allow_undefined_flag
8529 allow_undefined_flag=
8530 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8531 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
8533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8534 (exit $ac_status); }
8536 lt_cv_archive_cmds_need_lc=no
8538 lt_cv_archive_cmds_need_lc=yes
8540 allow_undefined_flag=$save_allow_undefined_flag
8542 cat conftest.err 1>&5
8546 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
8547 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
8551 need_lc=${lt_cv_archive_cmds_need_lc-yes}
8553 # The second clause should only fire when bootstrapping the
8554 # libtool distribution, otherwise you forgot to ship ltmain.sh
8555 # with your package, and you will get complaints that there are
8556 # no rules to generate ltmain.sh.
8557 if test -f "$ltmain"; then
8560 # If there is no Makefile yet, we rely on a make rule to execute
8561 # `config.status --recheck' to rerun these tests and create the
8562 # libtool script then.
8563 test -f Makefile && make "$ltmain"
8566 if test -f "$ltmain"; then
8567 trap "$rm \"${ofile}T\"; exit 1" 1 2 15
8570 echo creating $ofile
8572 # Now quote all the things that may contain metacharacters while being
8573 # careful not to overquote the AC_SUBSTed values. We take copies of the
8574 # variables and quote the copies for generation of the libtool script.
8575 for var in echo old_CC old_CFLAGS SED \
8576 AR AR_FLAGS CC LD LN_S NM SHELL \
8577 reload_flag reload_cmds wl \
8578 pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
8579 thread_safe_flag_spec whole_archive_flag_spec libname_spec \
8580 library_names_spec soname_spec \
8581 RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
8582 old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
8583 postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
8584 old_striplib striplib file_magic_cmd export_symbols_cmds \
8585 deplibs_check_method allow_undefined_flag no_undefined_flag \
8586 finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
8587 global_symbol_to_c_name_address \
8588 hardcode_libdir_flag_spec hardcode_libdir_separator \
8589 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8590 compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
8593 reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
8594 old_postinstall_cmds | old_postuninstall_cmds | \
8595 export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
8596 extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
8597 postinstall_cmds | postuninstall_cmds | \
8598 finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8599 # Double-quote double-evaled strings.
8600 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8603 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8608 cat <<__EOF__ > "${ofile}T"
8611 # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8612 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8613 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8615 # Copyright (C) 1996-2000 Free Software Foundation, Inc.
8616 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8618 # This program is free software; you can redistribute it and/or modify
8619 # it under the terms of the GNU General Public License as published by
8620 # the Free Software Foundation; either version 2 of the License, or
8621 # (at your option) any later version.
8623 # This program is distributed in the hope that it will be useful, but
8624 # WITHOUT ANY WARRANTY; without even the implied warranty of
8625 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8626 # General Public License for more details.
8628 # You should have received a copy of the GNU General Public License
8629 # along with this program; if not, write to the Free Software
8630 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8632 # As a special exception to the GNU General Public License, if you
8633 # distribute this file as part of a program that contains a
8634 # configuration script generated by Autoconf, you may include it under
8635 # the same distribution terms that you use for the rest of that program.
8637 # A sed that does not truncate output.
8640 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8641 Xsed="${SED} -e s/^X//"
8643 # The HP-UX ksh and POSIX shell print the target directory to stdout
8645 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8647 # ### BEGIN LIBTOOL CONFIG
8649 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8651 # Shell to use when invoking shell scripts.
8654 # Whether or not to build shared libraries.
8655 build_libtool_libs=$enable_shared
8657 # Whether or not to build static libraries.
8658 build_old_libs=$enable_static
8660 # Whether or not to add -lc for building shared libraries.
8661 build_libtool_need_lc=$need_lc
8663 # Whether or not to optimize for fast installation.
8664 fast_install=$enable_fast_install
8667 host_alias=$host_alias
8670 # An echo program that does not interpret backslashes.
8675 AR_FLAGS=$lt_AR_FLAGS
8677 # The default C compiler.
8680 # Is the compiler the GNU C compiler?
8683 # The linker used to build libraries.
8686 # Whether we need hard or soft links.
8689 # A BSD-compatible nm program.
8692 # A symbol stripping program
8695 # Used to examine libraries when file_magic_cmd begins "file"
8696 MAGIC_CMD=$MAGIC_CMD
8698 # Used on cygwin: DLL creation program.
8701 # Used on cygwin: object dumper.
8704 # Used on cygwin: assembler.
8707 # The name of the directory that contains temporary libtool files.
8710 # How to create reloadable object files.
8711 reload_flag=$lt_reload_flag
8712 reload_cmds=$lt_reload_cmds
8714 # How to pass a linker flag through the compiler.
8717 # Object file suffix (normally "o").
8720 # Old archive suffix (normally "a").
8723 # Executable file suffix (normally "").
8726 # Additional compiler flags for building library objects.
8727 pic_flag=$lt_pic_flag
8730 # Does compiler simultaneously support -c and -o options?
8731 compiler_c_o=$lt_compiler_c_o
8733 # Can we write directly to a .lo ?
8734 compiler_o_lo=$lt_compiler_o_lo
8736 # Must we lock files when doing compilation ?
8737 need_locks=$lt_need_locks
8739 # Do we need the lib prefix for modules?
8740 need_lib_prefix=$need_lib_prefix
8742 # Do we need a version for libraries?
8743 need_version=$need_version
8745 # Whether dlopen is supported.
8746 dlopen_support=$enable_dlopen
8748 # Whether dlopen of programs is supported.
8749 dlopen_self=$enable_dlopen_self
8751 # Whether dlopen of statically linked programs is supported.
8752 dlopen_self_static=$enable_dlopen_self_static
8754 # Compiler flag to prevent dynamic linking.
8755 link_static_flag=$lt_link_static_flag
8757 # Compiler flag to turn off builtin functions.
8758 no_builtin_flag=$lt_no_builtin_flag
8760 # Compiler flag to allow reflexive dlopens.
8761 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
8763 # Compiler flag to generate shared objects directly from archives.
8764 whole_archive_flag_spec=$lt_whole_archive_flag_spec
8766 # Compiler flag to generate thread-safe objects.
8767 thread_safe_flag_spec=$lt_thread_safe_flag_spec
8769 # Library versioning type.
8770 version_type=$version_type
8772 # Format of library name prefix.
8773 libname_spec=$lt_libname_spec
8775 # List of archive names. First name is the real one, the rest are links.
8776 # The last name is the one that the linker finds with -lNAME.
8777 library_names_spec=$lt_library_names_spec
8779 # The coded name of the library, if different from the real name.
8780 soname_spec=$lt_soname_spec
8782 # Commands used to build and install an old-style archive.
8784 old_archive_cmds=$lt_old_archive_cmds
8785 old_postinstall_cmds=$lt_old_postinstall_cmds
8786 old_postuninstall_cmds=$lt_old_postuninstall_cmds
8788 # Create an old-style archive from a shared archive.
8789 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
8791 # Create a temporary old-style archive to link instead of a shared archive.
8792 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
8794 # Commands used to build and install a shared archive.
8795 archive_cmds=$lt_archive_cmds
8796 archive_expsym_cmds=$lt_archive_expsym_cmds
8797 postinstall_cmds=$lt_postinstall_cmds
8798 postuninstall_cmds=$lt_postuninstall_cmds
8800 # Commands to strip libraries.
8801 old_striplib=$lt_old_striplib
8802 striplib=$lt_striplib
8804 # Method to check whether dependent libraries are shared objects.
8805 deplibs_check_method=$lt_deplibs_check_method
8807 # Command to use when deplibs_check_method == file_magic.
8808 file_magic_cmd=$lt_file_magic_cmd
8810 # Flag that allows shared libraries with undefined symbols to be built.
8811 allow_undefined_flag=$lt_allow_undefined_flag
8813 # Flag that forces no undefined symbols.
8814 no_undefined_flag=$lt_no_undefined_flag
8816 # Commands used to finish a libtool library installation in a directory.
8817 finish_cmds=$lt_finish_cmds
8819 # Same as above, but a single script fragment to be evaled but not shown.
8820 finish_eval=$lt_finish_eval
8822 # Take the output of nm and produce a listing of raw symbols and C names.
8823 global_symbol_pipe=$lt_global_symbol_pipe
8825 # Transform the output of nm in a proper C declaration
8826 global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
8828 # Transform the output of nm in a C name address pair
8829 global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
8831 # This is the shared library runtime path variable.
8832 runpath_var=$runpath_var
8834 # This is the shared library path variable.
8835 shlibpath_var=$shlibpath_var
8837 # Is shlibpath searched before the hard-coded library search path?
8838 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
8840 # How to hardcode a shared library path into an executable.
8841 hardcode_action=$hardcode_action
8843 # Whether we should hardcode library paths into libraries.
8844 hardcode_into_libs=$hardcode_into_libs
8846 # Flag to hardcode \$libdir into a binary during linking.
8847 # This must work even if \$libdir does not exist.
8848 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
8850 # Whether we need a single -rpath flag with a separated argument.
8851 hardcode_libdir_separator=$lt_hardcode_libdir_separator
8853 # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
8855 hardcode_direct=$hardcode_direct
8857 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
8859 hardcode_minus_L=$hardcode_minus_L
8861 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
8862 # the resulting binary.
8863 hardcode_shlibpath_var=$hardcode_shlibpath_var
8865 # Variables whose values should be saved in libtool wrapper scripts and
8866 # restored at relink time.
8867 variables_saved_for_relink="$variables_saved_for_relink"
8869 # Whether libtool must link a program against all its dependency libraries.
8870 link_all_deplibs=$link_all_deplibs
8872 # Compile-time system search path for libraries
8873 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
8875 # Run-time system search path for libraries
8876 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
8878 # Fix the shell variable \$srcfile for the compiler.
8879 fix_srcfile_path="$fix_srcfile_path"
8881 # Set to yes if exported symbols are required.
8882 always_export_symbols=$always_export_symbols
8884 # The commands to list exported symbols.
8885 export_symbols_cmds=$lt_export_symbols_cmds
8887 # The commands to extract the exported symbol list from a shared archive.
8888 extract_expsyms_cmds=$lt_extract_expsyms_cmds
8890 # Symbols that should not be listed in the preloaded symbols.
8891 exclude_expsyms=$lt_exclude_expsyms
8893 # Symbols that must always be exported.
8894 include_expsyms=$lt_include_expsyms
8896 # ### END LIBTOOL CONFIG
8902 cat <<\EOF >> "${ofile}T"
8904 # AIX sometimes has problems with the GCC collect2 program. For some
8905 # reason, if we set the COLLECT_NAMES environment variable, the problems
8906 # vanish in a puff of smoke.
8907 if test "X${COLLECT_NAMES+set}" != Xset; then
8909 export COLLECT_NAMES
8916 cygwin* | mingw* | pw32* | os2*)
8917 cat <<'EOF' >> "${ofile}T"
8918 # This is a source program that is used to create dlls on Windows
8919 # Don't remove nor modify the starting and closing comments
8920 # /* ltdll.c starts here */
8921 # #define WIN32_LEAN_AND_MEAN
8922 # #include <windows.h>
8923 # #undef WIN32_LEAN_AND_MEAN
8924 # #include <stdio.h>
8926 # #ifndef __CYGWIN__
8927 # # ifdef __CYGWIN32__
8928 # # define __CYGWIN__ __CYGWIN32__
8932 # #ifdef __cplusplus
8935 # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
8936 # #ifdef __cplusplus
8941 # #include <cygwin/cygwin_dll.h>
8942 # DECLARE_CYGWIN_DLL( DllMain );
8944 # HINSTANCE __hDllInstance_base;
8947 # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
8949 # __hDllInstance_base = hInst;
8952 # /* ltdll.c ends here */
8953 # This is a source program that is used to create import libraries
8954 # on Windows for dlls which lack them. Don't remove nor modify the
8955 # starting and closing comments
8956 # /* impgen.c starts here */
8957 # /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
8959 # This file is part of GNU libtool.
8961 # This program is free software; you can redistribute it and/or modify
8962 # it under the terms of the GNU General Public License as published by
8963 # the Free Software Foundation; either version 2 of the License, or
8964 # (at your option) any later version.
8966 # This program is distributed in the hope that it will be useful,
8967 # but WITHOUT ANY WARRANTY; without even the implied warranty of
8968 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8969 # GNU General Public License for more details.
8971 # You should have received a copy of the GNU General Public License
8972 # along with this program; if not, write to the Free Software
8973 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8976 # #include <stdio.h> /* for printf() */
8977 # #include <unistd.h> /* for open(), lseek(), read() */
8978 # #include <fcntl.h> /* for O_RDONLY, O_BINARY */
8979 # #include <string.h> /* for strdup() */
8981 # /* O_BINARY isn't required (or even defined sometimes) under Unix */
8983 # #define O_BINARY 0
8986 # static unsigned int
8987 # pe_get16 (fd, offset)
8991 # unsigned char b[2];
8992 # lseek (fd, offset, SEEK_SET);
8994 # return b[0] + (b[1]<<8);
8997 # static unsigned int
8998 # pe_get32 (fd, offset)
9002 # unsigned char b[4];
9003 # lseek (fd, offset, SEEK_SET);
9005 # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
9008 # static unsigned int
9012 # unsigned char *b = ptr;
9013 # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
9022 # unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
9023 # unsigned long export_rva, export_size, nsections, secptr, expptr;
9024 # unsigned long name_rvas, nexp;
9025 # unsigned char *expdata, *erva;
9026 # char *filename, *dll_name;
9028 # filename = argv[1];
9030 # dll = open(filename, O_RDONLY|O_BINARY);
9034 # dll_name = filename;
9036 # for (i=0; filename[i]; i++)
9037 # if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
9038 # dll_name = filename + i +1;
9040 # pe_header_offset = pe_get32 (dll, 0x3c);
9041 # opthdr_ofs = pe_header_offset + 4 + 20;
9042 # num_entries = pe_get32 (dll, opthdr_ofs + 92);
9044 # if (num_entries < 1) /* no exports */
9047 # export_rva = pe_get32 (dll, opthdr_ofs + 96);
9048 # export_size = pe_get32 (dll, opthdr_ofs + 100);
9049 # nsections = pe_get16 (dll, pe_header_offset + 4 +2);
9050 # secptr = (pe_header_offset + 4 + 20 +
9051 # pe_get16 (dll, pe_header_offset + 4 + 16));
9054 # for (i = 0; i < nsections; i++)
9057 # unsigned long secptr1 = secptr + 40 * i;
9058 # unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
9059 # unsigned long vsize = pe_get32 (dll, secptr1 + 16);
9060 # unsigned long fptr = pe_get32 (dll, secptr1 + 20);
9061 # lseek(dll, secptr1, SEEK_SET);
9062 # read(dll, sname, 8);
9063 # if (vaddr <= export_rva && vaddr+vsize > export_rva)
9065 # expptr = fptr + (export_rva - vaddr);
9066 # if (export_rva + export_size > vaddr + vsize)
9067 # export_size = vsize - (export_rva - vaddr);
9072 # expdata = (unsigned char*)malloc(export_size);
9073 # lseek (dll, expptr, SEEK_SET);
9074 # read (dll, expdata, export_size);
9075 # erva = expdata - export_rva;
9077 # nexp = pe_as32 (expdata+24);
9078 # name_rvas = pe_as32 (expdata+32);
9080 # printf ("EXPORTS\n");
9081 # for (i = 0; i<nexp; i++)
9083 # unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
9084 # printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
9089 # /* impgen.c ends here */
9095 # We use sed instead of cat because bash on DJGPP gets confused if
9096 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9097 # text mode, it properly converts lines to CR/LF. This bash problem
9098 # is reportedly fixed, but why not run on old versions too?
9099 sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
9101 mv -f "${ofile}T" "$ofile" || \
9102 (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
9110 # This can be used to rebuild libtool when needed
9111 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
9113 # Always use our own libtool.
9114 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9116 # Prevent multiple expansion
9121 echo "$as_me:$LINENO: checking for main in -lws2_32" >&5
9122 echo $ECHO_N "checking for main in -lws2_32... $ECHO_C" >&6
9123 if test "${ac_cv_lib_ws2_32_main+set}" = set; then
9124 echo $ECHO_N "(cached) $ECHO_C" >&6
9126 ac_check_lib_save_LIBS=$LIBS
9127 LIBS="-lws2_32 $LIBS"
9128 cat >conftest.$ac_ext <<_ACEOF
9131 cat confdefs.h >>conftest.$ac_ext
9132 cat >>conftest.$ac_ext <<_ACEOF
9133 /* end confdefs.h. */
9144 rm -f conftest.$ac_objext conftest$ac_exeext
9145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9146 (eval $ac_link) 2>conftest.er1
9148 grep -v '^ *+' conftest.er1 >conftest.err
9150 cat conftest.err >&5
9151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9152 (exit $ac_status); } &&
9153 { ac_try='test -z "$ac_c_werror_flag"
9154 || test ! -s conftest.err'
9155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159 (exit $ac_status); }; } &&
9160 { ac_try='test -s conftest$ac_exeext'
9161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); }; }; then
9166 ac_cv_lib_ws2_32_main=yes
9168 echo "$as_me: failed program was:" >&5
9169 sed 's/^/| /' conftest.$ac_ext >&5
9171 ac_cv_lib_ws2_32_main=no
9173 rm -f conftest.err conftest.$ac_objext \
9174 conftest$ac_exeext conftest.$ac_ext
9175 LIBS=$ac_check_lib_save_LIBS
9177 echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_main" >&5
9178 echo "${ECHO_T}$ac_cv_lib_ws2_32_main" >&6
9179 if test $ac_cv_lib_ws2_32_main = yes; then
9180 cat >>confdefs.h <<_ACEOF
9181 #define HAVE_LIBWS2_32 1
9184 LIBS="-lws2_32 $LIBS"
9189 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
9190 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
9191 if test "${ac_cv_lib_socket_main+set}" = set; then
9192 echo $ECHO_N "(cached) $ECHO_C" >&6
9194 ac_check_lib_save_LIBS=$LIBS
9195 LIBS="-lsocket $LIBS"
9196 cat >conftest.$ac_ext <<_ACEOF
9199 cat confdefs.h >>conftest.$ac_ext
9200 cat >>conftest.$ac_ext <<_ACEOF
9201 /* end confdefs.h. */
9212 rm -f conftest.$ac_objext conftest$ac_exeext
9213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9214 (eval $ac_link) 2>conftest.er1
9216 grep -v '^ *+' conftest.er1 >conftest.err
9218 cat conftest.err >&5
9219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9220 (exit $ac_status); } &&
9221 { ac_try='test -z "$ac_c_werror_flag"
9222 || test ! -s conftest.err'
9223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 (exit $ac_status); }; } &&
9228 { ac_try='test -s conftest$ac_exeext'
9229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); }; }; then
9234 ac_cv_lib_socket_main=yes
9236 echo "$as_me: failed program was:" >&5
9237 sed 's/^/| /' conftest.$ac_ext >&5
9239 ac_cv_lib_socket_main=no
9241 rm -f conftest.err conftest.$ac_objext \
9242 conftest$ac_exeext conftest.$ac_ext
9243 LIBS=$ac_check_lib_save_LIBS
9245 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
9246 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
9247 if test $ac_cv_lib_socket_main = yes; then
9248 cat >>confdefs.h <<_ACEOF
9249 #define HAVE_LIBSOCKET 1
9252 LIBS="-lsocket $LIBS"
9257 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
9258 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
9259 if test "${ac_cv_lib_nsl_main+set}" = set; then
9260 echo $ECHO_N "(cached) $ECHO_C" >&6
9262 ac_check_lib_save_LIBS=$LIBS
9264 cat >conftest.$ac_ext <<_ACEOF
9267 cat confdefs.h >>conftest.$ac_ext
9268 cat >>conftest.$ac_ext <<_ACEOF
9269 /* end confdefs.h. */
9280 rm -f conftest.$ac_objext conftest$ac_exeext
9281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9282 (eval $ac_link) 2>conftest.er1
9284 grep -v '^ *+' conftest.er1 >conftest.err
9286 cat conftest.err >&5
9287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288 (exit $ac_status); } &&
9289 { ac_try='test -z "$ac_c_werror_flag"
9290 || test ! -s conftest.err'
9291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 (exit $ac_status); }; } &&
9296 { ac_try='test -s conftest$ac_exeext'
9297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); }; }; then
9302 ac_cv_lib_nsl_main=yes
9304 echo "$as_me: failed program was:" >&5
9305 sed 's/^/| /' conftest.$ac_ext >&5
9307 ac_cv_lib_nsl_main=no
9309 rm -f conftest.err conftest.$ac_objext \
9310 conftest$ac_exeext conftest.$ac_ext
9311 LIBS=$ac_check_lib_save_LIBS
9313 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
9314 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
9315 if test $ac_cv_lib_nsl_main = yes; then
9316 cat >>confdefs.h <<_ACEOF
9317 #define HAVE_LIBNSL 1
9325 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
9326 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
9327 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
9328 echo $ECHO_N "(cached) $ECHO_C" >&6
9330 ac_check_lib_save_LIBS=$LIBS
9331 LIBS="-lpthread $LIBS"
9332 cat >conftest.$ac_ext <<_ACEOF
9335 cat confdefs.h >>conftest.$ac_ext
9336 cat >>conftest.$ac_ext <<_ACEOF
9337 /* end confdefs.h. */
9339 /* Override any gcc2 internal prototype to avoid an error. */
9343 /* We use char because int might match the return type of a gcc2
9344 builtin and then its argument prototype would still apply. */
9345 char pthread_create ();
9354 rm -f conftest.$ac_objext conftest$ac_exeext
9355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9356 (eval $ac_link) 2>conftest.er1
9358 grep -v '^ *+' conftest.er1 >conftest.err
9360 cat conftest.err >&5
9361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362 (exit $ac_status); } &&
9363 { ac_try='test -z "$ac_c_werror_flag"
9364 || test ! -s conftest.err'
9365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); }; } &&
9370 { ac_try='test -s conftest$ac_exeext'
9371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9375 (exit $ac_status); }; }; then
9376 ac_cv_lib_pthread_pthread_create=yes
9378 echo "$as_me: failed program was:" >&5
9379 sed 's/^/| /' conftest.$ac_ext >&5
9381 ac_cv_lib_pthread_pthread_create=no
9383 rm -f conftest.err conftest.$ac_objext \
9384 conftest$ac_exeext conftest.$ac_ext
9385 LIBS=$ac_check_lib_save_LIBS
9387 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
9388 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
9389 if test $ac_cv_lib_pthread_pthread_create = yes; then
9390 cat >>confdefs.h <<_ACEOF
9391 #define HAVE_LIBPTHREAD 1
9394 LIBS="-lpthread $LIBS"
9398 echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5
9399 echo $ECHO_N "checking for pthread_create in -lc_r... $ECHO_C" >&6
9400 if test "${ac_cv_lib_c_r_pthread_create+set}" = set; then
9401 echo $ECHO_N "(cached) $ECHO_C" >&6
9403 ac_check_lib_save_LIBS=$LIBS
9405 cat >conftest.$ac_ext <<_ACEOF
9408 cat confdefs.h >>conftest.$ac_ext
9409 cat >>conftest.$ac_ext <<_ACEOF
9410 /* end confdefs.h. */
9412 /* Override any gcc2 internal prototype to avoid an error. */
9416 /* We use char because int might match the return type of a gcc2
9417 builtin and then its argument prototype would still apply. */
9418 char pthread_create ();
9427 rm -f conftest.$ac_objext conftest$ac_exeext
9428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9429 (eval $ac_link) 2>conftest.er1
9431 grep -v '^ *+' conftest.er1 >conftest.err
9433 cat conftest.err >&5
9434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435 (exit $ac_status); } &&
9436 { ac_try='test -z "$ac_c_werror_flag"
9437 || test ! -s conftest.err'
9438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442 (exit $ac_status); }; } &&
9443 { ac_try='test -s conftest$ac_exeext'
9444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448 (exit $ac_status); }; }; then
9449 ac_cv_lib_c_r_pthread_create=yes
9451 echo "$as_me: failed program was:" >&5
9452 sed 's/^/| /' conftest.$ac_ext >&5
9454 ac_cv_lib_c_r_pthread_create=no
9456 rm -f conftest.err conftest.$ac_objext \
9457 conftest$ac_exeext conftest.$ac_ext
9458 LIBS=$ac_check_lib_save_LIBS
9460 echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_create" >&5
9461 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_create" >&6
9462 if test $ac_cv_lib_c_r_pthread_create = yes; then
9463 cat >>confdefs.h <<_ACEOF
9464 #define HAVE_LIBC_R 1
9470 if test ${MINGW} == 'yes' ; then
9471 LIBS=$LIBS' $(top_srcdir)/orte/contrib/win_pthread/libpthreadGC.a'
9472 { echo "$as_me:$LINENO: Using internal version of pthreads!!!" >&5
9473 echo "$as_me: Using internal version of pthreads!!!" >&6;}
9475 { { echo "$as_me:$LINENO: error: Can't compile without pthreads!!!" >&5
9476 echo "$as_me: error: Can't compile without pthreads!!!" >&2;}
9477 { (exit 1); exit 1; }; }
9487 ###############################
9492 ###############################
9493 # Checks for header files.
9495 if test ${UNIX} == 'yes' -o ${WIN} == 'yes' ; then
9496 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9497 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9498 if test "${ac_cv_header_stdc+set}" = set; then
9499 echo $ECHO_N "(cached) $ECHO_C" >&6
9501 cat >conftest.$ac_ext <<_ACEOF
9504 cat confdefs.h >>conftest.$ac_ext
9505 cat >>conftest.$ac_ext <<_ACEOF
9506 /* end confdefs.h. */
9520 rm -f conftest.$ac_objext
9521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9522 (eval $ac_compile) 2>conftest.er1
9524 grep -v '^ *+' conftest.er1 >conftest.err
9526 cat conftest.err >&5
9527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9528 (exit $ac_status); } &&
9529 { ac_try='test -z "$ac_c_werror_flag"
9530 || test ! -s conftest.err'
9531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); }; } &&
9536 { ac_try='test -s conftest.$ac_objext'
9537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); }; }; then
9542 ac_cv_header_stdc=yes
9544 echo "$as_me: failed program was:" >&5
9545 sed 's/^/| /' conftest.$ac_ext >&5
9547 ac_cv_header_stdc=no
9549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9551 if test $ac_cv_header_stdc = yes; then
9552 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9553 cat >conftest.$ac_ext <<_ACEOF
9556 cat confdefs.h >>conftest.$ac_ext
9557 cat >>conftest.$ac_ext <<_ACEOF
9558 /* end confdefs.h. */
9562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9563 $EGREP "memchr" >/dev/null 2>&1; then
9566 ac_cv_header_stdc=no
9572 if test $ac_cv_header_stdc = yes; then
9573 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9574 cat >conftest.$ac_ext <<_ACEOF
9577 cat confdefs.h >>conftest.$ac_ext
9578 cat >>conftest.$ac_ext <<_ACEOF
9579 /* end confdefs.h. */
9583 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9584 $EGREP "free" >/dev/null 2>&1; then
9587 ac_cv_header_stdc=no
9593 if test $ac_cv_header_stdc = yes; then
9594 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9595 if test "$cross_compiling" = yes; then
9598 cat >conftest.$ac_ext <<_ACEOF
9601 cat confdefs.h >>conftest.$ac_ext
9602 cat >>conftest.$ac_ext <<_ACEOF
9603 /* end confdefs.h. */
9605 #if ((' ' & 0x0FF) == 0x020)
9606 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9607 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9609 # define ISLOWER(c) \
9610 (('a' <= (c) && (c) <= 'i') \
9611 || ('j' <= (c) && (c) <= 'r') \
9612 || ('s' <= (c) && (c) <= 'z'))
9613 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9616 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9621 for (i = 0; i < 256; i++)
9622 if (XOR (islower (i), ISLOWER (i))
9623 || toupper (i) != TOUPPER (i))
9628 rm -f conftest$ac_exeext
9629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9630 (eval $ac_link) 2>&5
9632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9633 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); }; }; then
9641 echo "$as_me: program exited with status $ac_status" >&5
9642 echo "$as_me: failed program was:" >&5
9643 sed 's/^/| /' conftest.$ac_ext >&5
9646 ac_cv_header_stdc=no
9648 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9652 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9653 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9654 if test $ac_cv_header_stdc = yes; then
9656 cat >>confdefs.h <<\_ACEOF
9657 #define STDC_HEADERS 1
9682 arpa/inet.h fcntl.h stdio.h netdb.h stdlib.h \
9683 string.h sys/ioctl.h sys/time.h unistd.h pthread.h \
9684 sys/types.h sys/sockio.h stdarg.h byteswap.h getopt.h \
9685 ctype.h signal.h stdint.h errno.h
9687 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9688 echo "$as_me:$LINENO: checking for $ac_header" >&5
9689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9691 echo $ECHO_N "(cached) $ECHO_C" >&6
9693 cat >conftest.$ac_ext <<_ACEOF
9696 cat confdefs.h >>conftest.$ac_ext
9697 cat >>conftest.$ac_ext <<_ACEOF
9698 /* end confdefs.h. */
9701 #include <$ac_header>
9703 rm -f conftest.$ac_objext
9704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9705 (eval $ac_compile) 2>conftest.er1
9707 grep -v '^ *+' conftest.er1 >conftest.err
9709 cat conftest.err >&5
9710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9711 (exit $ac_status); } &&
9712 { ac_try='test -z "$ac_c_werror_flag"
9713 || test ! -s conftest.err'
9714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 (exit $ac_status); }; } &&
9719 { ac_try='test -s conftest.$ac_objext'
9720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9724 (exit $ac_status); }; }; then
9725 eval "$as_ac_Header=yes"
9727 echo "$as_me: failed program was:" >&5
9728 sed 's/^/| /' conftest.$ac_ext >&5
9730 eval "$as_ac_Header=no"
9732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9737 cat >>confdefs.h <<_ACEOF
9738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9746 for ac_header in sys/socket.h
9748 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9749 echo "$as_me:$LINENO: checking for $ac_header" >&5
9750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9752 echo $ECHO_N "(cached) $ECHO_C" >&6
9754 cat >conftest.$ac_ext <<_ACEOF
9757 cat confdefs.h >>conftest.$ac_ext
9758 cat >>conftest.$ac_ext <<_ACEOF
9759 /* end confdefs.h. */
9760 #ifdef HAVE_SYS_TYPES_H
9761 #include <sys/types.h>
9764 #include <$ac_header>
9766 rm -f conftest.$ac_objext
9767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9768 (eval $ac_compile) 2>conftest.er1
9770 grep -v '^ *+' conftest.er1 >conftest.err
9772 cat conftest.err >&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); } &&
9775 { ac_try='test -z "$ac_c_werror_flag"
9776 || test ! -s conftest.err'
9777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); }; } &&
9782 { ac_try='test -s conftest.$ac_objext'
9783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787 (exit $ac_status); }; }; then
9788 eval "$as_ac_Header=yes"
9790 echo "$as_me: failed program was:" >&5
9791 sed 's/^/| /' conftest.$ac_ext >&5
9793 eval "$as_ac_Header=no"
9795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9798 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9800 cat >>confdefs.h <<_ACEOF
9801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9809 for ac_header in netinet/in.h
9811 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9812 echo "$as_me:$LINENO: checking for $ac_header" >&5
9813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9815 echo $ECHO_N "(cached) $ECHO_C" >&6
9817 cat >conftest.$ac_ext <<_ACEOF
9820 cat confdefs.h >>conftest.$ac_ext
9821 cat >>conftest.$ac_ext <<_ACEOF
9822 /* end confdefs.h. */
9823 #ifdef HAVE_SYS_TYPES_H
9824 #include <sys/types.h>
9827 #include <$ac_header>
9829 rm -f conftest.$ac_objext
9830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9831 (eval $ac_compile) 2>conftest.er1
9833 grep -v '^ *+' conftest.er1 >conftest.err
9835 cat conftest.err >&5
9836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9837 (exit $ac_status); } &&
9838 { ac_try='test -z "$ac_c_werror_flag"
9839 || test ! -s conftest.err'
9840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9844 (exit $ac_status); }; } &&
9845 { ac_try='test -s conftest.$ac_objext'
9846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9850 (exit $ac_status); }; }; then
9851 eval "$as_ac_Header=yes"
9853 echo "$as_me: failed program was:" >&5
9854 sed 's/^/| /' conftest.$ac_ext >&5
9856 eval "$as_ac_Header=no"
9858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9862 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9863 cat >>confdefs.h <<_ACEOF
9864 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9872 for ac_header in net/if.h
9874 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9875 echo "$as_me:$LINENO: checking for $ac_header" >&5
9876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9878 echo $ECHO_N "(cached) $ECHO_C" >&6
9880 cat >conftest.$ac_ext <<_ACEOF
9883 cat confdefs.h >>conftest.$ac_ext
9884 cat >>conftest.$ac_ext <<_ACEOF
9885 /* end confdefs.h. */
9886 #ifdef HAVE_SYS_TYPES_H
9887 #include <sys/types.h>
9889 #ifdef HAVE_SYS_SOCKET_H
9890 #include <sys/socket.h>
9893 #include <$ac_header>
9895 rm -f conftest.$ac_objext
9896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9897 (eval $ac_compile) 2>conftest.er1
9899 grep -v '^ *+' conftest.er1 >conftest.err
9901 cat conftest.err >&5
9902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9903 (exit $ac_status); } &&
9904 { ac_try='test -z "$ac_c_werror_flag"
9905 || test ! -s conftest.err'
9906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9910 (exit $ac_status); }; } &&
9911 { ac_try='test -s conftest.$ac_objext'
9912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9916 (exit $ac_status); }; }; then
9917 eval "$as_ac_Header=yes"
9919 echo "$as_me: failed program was:" >&5
9920 sed 's/^/| /' conftest.$ac_ext >&5
9922 eval "$as_ac_Header=no"
9924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9928 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9929 cat >>confdefs.h <<_ACEOF
9930 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9939 if test ${WIN} == 'yes' ; then
9945 winsock2.h ws2tcpip.h windows.h w32api/windows.h
9947 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9948 echo "$as_me:$LINENO: checking for $ac_header" >&5
9949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9951 echo $ECHO_N "(cached) $ECHO_C" >&6
9953 cat >conftest.$ac_ext <<_ACEOF
9956 cat confdefs.h >>conftest.$ac_ext
9957 cat >>conftest.$ac_ext <<_ACEOF
9958 /* end confdefs.h. */
9961 #include <$ac_header>
9963 rm -f conftest.$ac_objext
9964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9965 (eval $ac_compile) 2>conftest.er1
9967 grep -v '^ *+' conftest.er1 >conftest.err
9969 cat conftest.err >&5
9970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9971 (exit $ac_status); } &&
9972 { ac_try='test -z "$ac_c_werror_flag"
9973 || test ! -s conftest.err'
9974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9978 (exit $ac_status); }; } &&
9979 { ac_try='test -s conftest.$ac_objext'
9980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); }; }; then
9985 eval "$as_ac_Header=yes"
9987 echo "$as_me: failed program was:" >&5
9988 sed 's/^/| /' conftest.$ac_ext >&5
9990 eval "$as_ac_Header=no"
9992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9995 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9996 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9997 cat >>confdefs.h <<_ACEOF
9998 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10007 if test ${CONFIG_ORTE_KERNEL} == 'yes' ; then
10017 asm/byteorder.h linux/ctype.h linux/string.h \
10018 linux/module.h linux/if.h linux/socket.h \
10019 linux/time.h linux/types.h
10021 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10022 echo "$as_me:$LINENO: checking for $ac_header" >&5
10023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10025 echo $ECHO_N "(cached) $ECHO_C" >&6
10027 cat >conftest.$ac_ext <<_ACEOF
10030 cat confdefs.h >>conftest.$ac_ext
10031 cat >>conftest.$ac_ext <<_ACEOF
10032 /* end confdefs.h. */
10035 #include <$ac_header>
10037 rm -f conftest.$ac_objext
10038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10039 (eval $ac_compile) 2>conftest.er1
10041 grep -v '^ *+' conftest.er1 >conftest.err
10043 cat conftest.err >&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); } &&
10046 { ac_try='test -z "$ac_c_werror_flag"
10047 || test ! -s conftest.err'
10048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10049 (eval $ac_try) 2>&5
10051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10052 (exit $ac_status); }; } &&
10053 { ac_try='test -s conftest.$ac_objext'
10054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10055 (eval $ac_try) 2>&5
10057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10058 (exit $ac_status); }; }; then
10059 eval "$as_ac_Header=yes"
10061 echo "$as_me: failed program was:" >&5
10062 sed 's/^/| /' conftest.$ac_ext >&5
10064 eval "$as_ac_Header=no"
10066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10071 cat >>confdefs.h <<_ACEOF
10072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10080 for ac_header in linux/in.h
10082 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10083 echo "$as_me:$LINENO: checking for $ac_header" >&5
10084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10086 echo $ECHO_N "(cached) $ECHO_C" >&6
10088 cat >conftest.$ac_ext <<_ACEOF
10091 cat confdefs.h >>conftest.$ac_ext
10092 cat >>conftest.$ac_ext <<_ACEOF
10093 /* end confdefs.h. */
10095 #ifdef HAVE_LINUX_SOCKET_H
10096 #include <linux/socket.h>
10100 #include <$ac_header>
10102 rm -f conftest.$ac_objext
10103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10104 (eval $ac_compile) 2>conftest.er1
10106 grep -v '^ *+' conftest.er1 >conftest.err
10108 cat conftest.err >&5
10109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110 (exit $ac_status); } &&
10111 { ac_try='test -z "$ac_c_werror_flag"
10112 || test ! -s conftest.err'
10113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10114 (eval $ac_try) 2>&5
10116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); }; } &&
10118 { ac_try='test -s conftest.$ac_objext'
10119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10120 (eval $ac_try) 2>&5
10122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10123 (exit $ac_status); }; }; then
10124 eval "$as_ac_Header=yes"
10126 echo "$as_me: failed program was:" >&5
10127 sed 's/^/| /' conftest.$ac_ext >&5
10129 eval "$as_ac_Header=no"
10131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10135 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10136 cat >>confdefs.h <<_ACEOF
10137 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10146 if test ${USE_RTLINUX} == 'yes' ; then
10155 string.h pthread.h \
10156 rtl.h rtl_malloc.h udp.h nic.h time.h
10158 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10159 echo "$as_me:$LINENO: checking for $ac_header" >&5
10160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10162 echo $ECHO_N "(cached) $ECHO_C" >&6
10164 cat >conftest.$ac_ext <<_ACEOF
10167 cat confdefs.h >>conftest.$ac_ext
10168 cat >>conftest.$ac_ext <<_ACEOF
10169 /* end confdefs.h. */
10172 #include <$ac_header>
10174 rm -f conftest.$ac_objext
10175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10176 (eval $ac_compile) 2>conftest.er1
10178 grep -v '^ *+' conftest.er1 >conftest.err
10180 cat conftest.err >&5
10181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182 (exit $ac_status); } &&
10183 { ac_try='test -z "$ac_c_werror_flag"
10184 || test ! -s conftest.err'
10185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10186 (eval $ac_try) 2>&5
10188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189 (exit $ac_status); }; } &&
10190 { ac_try='test -s conftest.$ac_objext'
10191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10192 (eval $ac_try) 2>&5
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); }; }; then
10196 eval "$as_ac_Header=yes"
10198 echo "$as_me: failed program was:" >&5
10199 sed 's/^/| /' conftest.$ac_ext >&5
10201 eval "$as_ac_Header=no"
10203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10207 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10208 cat >>confdefs.h <<_ACEOF
10209 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10217 for ac_header in nictab.h
10219 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10220 echo "$as_me:$LINENO: checking for $ac_header" >&5
10221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10223 echo $ECHO_N "(cached) $ECHO_C" >&6
10225 cat >conftest.$ac_ext <<_ACEOF
10228 cat confdefs.h >>conftest.$ac_ext
10229 cat >>conftest.$ac_ext <<_ACEOF
10230 /* end confdefs.h. */
10240 #include <$ac_header>
10242 rm -f conftest.$ac_objext
10243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10244 (eval $ac_compile) 2>conftest.er1
10246 grep -v '^ *+' conftest.er1 >conftest.err
10248 cat conftest.err >&5
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); } &&
10251 { ac_try='test -z "$ac_c_werror_flag"
10252 || test ! -s conftest.err'
10253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10254 (eval $ac_try) 2>&5
10256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257 (exit $ac_status); }; } &&
10258 { ac_try='test -s conftest.$ac_objext'
10259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10260 (eval $ac_try) 2>&5
10262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10263 (exit $ac_status); }; }; then
10264 eval "$as_ac_Header=yes"
10266 echo "$as_me: failed program was:" >&5
10267 sed 's/^/| /' conftest.$ac_ext >&5
10269 eval "$as_ac_Header=no"
10271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10276 cat >>confdefs.h <<_ACEOF
10277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10285 for ac_header in onetd.h
10287 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10288 echo "$as_me:$LINENO: checking for $ac_header" >&5
10289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10291 echo $ECHO_N "(cached) $ECHO_C" >&6
10293 cat >conftest.$ac_ext <<_ACEOF
10296 cat confdefs.h >>conftest.$ac_ext
10297 cat >>conftest.$ac_ext <<_ACEOF
10298 /* end confdefs.h. */
10300 #ifdef HAVE_LINUX_IF_H
10301 #include <linux/if.h>
10303 #ifdef HAVE_LINUX_IN_H
10304 #include <linux/in.h>
10306 #ifdef HAVE_PTHREAD_H
10307 #include <pthread.h>
10311 #include <$ac_header>
10313 rm -f conftest.$ac_objext
10314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10315 (eval $ac_compile) 2>conftest.er1
10317 grep -v '^ *+' conftest.er1 >conftest.err
10319 cat conftest.err >&5
10320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10321 (exit $ac_status); } &&
10322 { ac_try='test -z "$ac_c_werror_flag"
10323 || test ! -s conftest.err'
10324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10325 (eval $ac_try) 2>&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); }; } &&
10329 { ac_try='test -s conftest.$ac_objext'
10330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10331 (eval $ac_try) 2>&5
10333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334 (exit $ac_status); }; }; then
10335 eval "$as_ac_Header=yes"
10337 echo "$as_me: failed program was:" >&5
10338 sed 's/^/| /' conftest.$ac_ext >&5
10340 eval "$as_ac_Header=no"
10342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10347 cat >>confdefs.h <<_ACEOF
10348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10357 if test ${USE_RTAI} == 'yes' ; then
10362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10363 echo "$as_me:$LINENO: checking for $ac_header" >&5
10364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10366 echo $ECHO_N "(cached) $ECHO_C" >&6
10368 cat >conftest.$ac_ext <<_ACEOF
10371 cat confdefs.h >>conftest.$ac_ext
10372 cat >>conftest.$ac_ext <<_ACEOF
10373 /* end confdefs.h. */
10376 #include <$ac_header>
10378 rm -f conftest.$ac_objext
10379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10380 (eval $ac_compile) 2>conftest.er1
10382 grep -v '^ *+' conftest.er1 >conftest.err
10384 cat conftest.err >&5
10385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386 (exit $ac_status); } &&
10387 { ac_try='test -z "$ac_c_werror_flag"
10388 || test ! -s conftest.err'
10389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10390 (eval $ac_try) 2>&5
10392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10393 (exit $ac_status); }; } &&
10394 { ac_try='test -s conftest.$ac_objext'
10395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10396 (eval $ac_try) 2>&5
10398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10399 (exit $ac_status); }; }; then
10400 eval "$as_ac_Header=yes"
10402 echo "$as_me: failed program was:" >&5
10403 sed 's/^/| /' conftest.$ac_ext >&5
10405 eval "$as_ac_Header=no"
10407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10411 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10412 cat >>confdefs.h <<_ACEOF
10413 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10422 ###############################
10424 INCLUDES='-I$(top_srcdir)/orte/include -I$(top_builddir)/orte/include'
10427 ###############################
10428 # Checks for typedefs, structures, and compiler characteristics.
10429 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
10430 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
10431 if test "${ac_cv_c_bigendian+set}" = set; then
10432 echo $ECHO_N "(cached) $ECHO_C" >&6
10434 # See if sys/param.h defines the BYTE_ORDER macro.
10435 cat >conftest.$ac_ext <<_ACEOF
10438 cat confdefs.h >>conftest.$ac_ext
10439 cat >>conftest.$ac_ext <<_ACEOF
10440 /* end confdefs.h. */
10441 #include <sys/types.h>
10442 #include <sys/param.h>
10447 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10448 bogus endian macros
10455 rm -f conftest.$ac_objext
10456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10457 (eval $ac_compile) 2>conftest.er1
10459 grep -v '^ *+' conftest.er1 >conftest.err
10461 cat conftest.err >&5
10462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10463 (exit $ac_status); } &&
10464 { ac_try='test -z "$ac_c_werror_flag"
10465 || test ! -s conftest.err'
10466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10467 (eval $ac_try) 2>&5
10469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470 (exit $ac_status); }; } &&
10471 { ac_try='test -s conftest.$ac_objext'
10472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10473 (eval $ac_try) 2>&5
10475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10476 (exit $ac_status); }; }; then
10477 # It does; now see whether it defined to BIG_ENDIAN or not.
10478 cat >conftest.$ac_ext <<_ACEOF
10481 cat confdefs.h >>conftest.$ac_ext
10482 cat >>conftest.$ac_ext <<_ACEOF
10483 /* end confdefs.h. */
10484 #include <sys/types.h>
10485 #include <sys/param.h>
10490 #if BYTE_ORDER != BIG_ENDIAN
10498 rm -f conftest.$ac_objext
10499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10500 (eval $ac_compile) 2>conftest.er1
10502 grep -v '^ *+' conftest.er1 >conftest.err
10504 cat conftest.err >&5
10505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10506 (exit $ac_status); } &&
10507 { ac_try='test -z "$ac_c_werror_flag"
10508 || test ! -s conftest.err'
10509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10510 (eval $ac_try) 2>&5
10512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10513 (exit $ac_status); }; } &&
10514 { ac_try='test -s conftest.$ac_objext'
10515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10516 (eval $ac_try) 2>&5
10518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10519 (exit $ac_status); }; }; then
10520 ac_cv_c_bigendian=yes
10522 echo "$as_me: failed program was:" >&5
10523 sed 's/^/| /' conftest.$ac_ext >&5
10525 ac_cv_c_bigendian=no
10527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10529 echo "$as_me: failed program was:" >&5
10530 sed 's/^/| /' conftest.$ac_ext >&5
10532 # It does not; compile a test program.
10533 if test "$cross_compiling" = yes; then
10534 # try to guess the endianness by grepping values into an object file
10535 ac_cv_c_bigendian=unknown
10536 cat >conftest.$ac_ext <<_ACEOF
10539 cat confdefs.h >>conftest.$ac_ext
10540 cat >>conftest.$ac_ext <<_ACEOF
10541 /* end confdefs.h. */
10542 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
10543 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
10544 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
10545 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
10546 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
10547 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
10551 _ascii (); _ebcdic ();
10556 rm -f conftest.$ac_objext
10557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10558 (eval $ac_compile) 2>conftest.er1
10560 grep -v '^ *+' conftest.er1 >conftest.err
10562 cat conftest.err >&5
10563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564 (exit $ac_status); } &&
10565 { ac_try='test -z "$ac_c_werror_flag"
10566 || test ! -s conftest.err'
10567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10568 (eval $ac_try) 2>&5
10570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 (exit $ac_status); }; } &&
10572 { ac_try='test -s conftest.$ac_objext'
10573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10574 (eval $ac_try) 2>&5
10576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10577 (exit $ac_status); }; }; then
10578 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
10579 ac_cv_c_bigendian=yes
10581 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
10582 if test "$ac_cv_c_bigendian" = unknown; then
10583 ac_cv_c_bigendian=no
10585 # finding both strings is unlikely to happen, but who knows?
10586 ac_cv_c_bigendian=unknown
10590 echo "$as_me: failed program was:" >&5
10591 sed 's/^/| /' conftest.$ac_ext >&5
10594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10596 cat >conftest.$ac_ext <<_ACEOF
10599 cat confdefs.h >>conftest.$ac_ext
10600 cat >>conftest.$ac_ext <<_ACEOF
10601 /* end confdefs.h. */
10605 /* Are we little or big endian? From Harbison&Steele. */
10609 char c[sizeof (long)];
10612 exit (u.c[sizeof (long) - 1] == 1);
10615 rm -f conftest$ac_exeext
10616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10617 (eval $ac_link) 2>&5
10619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10620 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10622 (eval $ac_try) 2>&5
10624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10625 (exit $ac_status); }; }; then
10626 ac_cv_c_bigendian=no
10628 echo "$as_me: program exited with status $ac_status" >&5
10629 echo "$as_me: failed program was:" >&5
10630 sed 's/^/| /' conftest.$ac_ext >&5
10632 ( exit $ac_status )
10633 ac_cv_c_bigendian=yes
10635 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10640 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
10641 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
10642 case $ac_cv_c_bigendian in
10645 cat >>confdefs.h <<\_ACEOF
10646 #define WORDS_BIGENDIAN 1
10652 { { echo "$as_me:$LINENO: error: unknown endianness
10653 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
10654 echo "$as_me: error: unknown endianness
10655 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
10656 { (exit 1); exit 1; }; } ;;
10659 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
10660 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
10661 if test "${ac_cv_c_const+set}" = set; then
10662 echo $ECHO_N "(cached) $ECHO_C" >&6
10664 cat >conftest.$ac_ext <<_ACEOF
10667 cat confdefs.h >>conftest.$ac_ext
10668 cat >>conftest.$ac_ext <<_ACEOF
10669 /* end confdefs.h. */
10674 /* FIXME: Include the comments suggested by Paul. */
10675 #ifndef __cplusplus
10676 /* Ultrix mips cc rejects this. */
10677 typedef int charset[2];
10679 /* SunOS 4.1.1 cc rejects this. */
10680 char const *const *ccp;
10682 /* NEC SVR4.0.2 mips cc rejects this. */
10683 struct point {int x, y;};
10684 static struct point const zero = {0,0};
10685 /* AIX XL C 1.02.0.0 rejects this.
10686 It does not let you subtract one const X* pointer from another in
10687 an arm of an if-expression whose if-part is not a constant
10689 const char *g = "string";
10690 ccp = &g + (g ? g-g : 0);
10691 /* HPUX 7.0 cc rejects these. */
10694 ccp = (char const *const *) p;
10695 { /* SCO 3.2v4 cc rejects this. */
10697 char const *s = 0 ? (char *) 0 : (char const *) 0;
10701 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10702 int x[] = {25, 17};
10703 const int *foo = &x[0];
10706 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10707 typedef const int *iptr;
10711 { /* AIX XL C 1.02.0.0 rejects this saying
10712 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10713 struct s { int j; const int *ap[3]; };
10714 struct s *b; b->j = 5;
10716 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10717 const int foo = 10;
10725 rm -f conftest.$ac_objext
10726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10727 (eval $ac_compile) 2>conftest.er1
10729 grep -v '^ *+' conftest.er1 >conftest.err
10731 cat conftest.err >&5
10732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10733 (exit $ac_status); } &&
10734 { ac_try='test -z "$ac_c_werror_flag"
10735 || test ! -s conftest.err'
10736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10737 (eval $ac_try) 2>&5
10739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10740 (exit $ac_status); }; } &&
10741 { ac_try='test -s conftest.$ac_objext'
10742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10743 (eval $ac_try) 2>&5
10745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10746 (exit $ac_status); }; }; then
10749 echo "$as_me: failed program was:" >&5
10750 sed 's/^/| /' conftest.$ac_ext >&5
10754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10756 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
10757 echo "${ECHO_T}$ac_cv_c_const" >&6
10758 if test $ac_cv_c_const = no; then
10760 cat >>confdefs.h <<\_ACEOF
10766 echo "$as_me:$LINENO: checking for inline" >&5
10767 echo $ECHO_N "checking for inline... $ECHO_C" >&6
10768 if test "${ac_cv_c_inline+set}" = set; then
10769 echo $ECHO_N "(cached) $ECHO_C" >&6
10772 for ac_kw in inline __inline__ __inline; do
10773 cat >conftest.$ac_ext <<_ACEOF
10776 cat confdefs.h >>conftest.$ac_ext
10777 cat >>conftest.$ac_ext <<_ACEOF
10778 /* end confdefs.h. */
10779 #ifndef __cplusplus
10781 static $ac_kw foo_t static_foo () {return 0; }
10782 $ac_kw foo_t foo () {return 0; }
10786 rm -f conftest.$ac_objext
10787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10788 (eval $ac_compile) 2>conftest.er1
10790 grep -v '^ *+' conftest.er1 >conftest.err
10792 cat conftest.err >&5
10793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10794 (exit $ac_status); } &&
10795 { ac_try='test -z "$ac_c_werror_flag"
10796 || test ! -s conftest.err'
10797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10798 (eval $ac_try) 2>&5
10800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10801 (exit $ac_status); }; } &&
10802 { ac_try='test -s conftest.$ac_objext'
10803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10804 (eval $ac_try) 2>&5
10806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10807 (exit $ac_status); }; }; then
10808 ac_cv_c_inline=$ac_kw; break
10810 echo "$as_me: failed program was:" >&5
10811 sed 's/^/| /' conftest.$ac_ext >&5
10814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10818 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
10819 echo "${ECHO_T}$ac_cv_c_inline" >&6
10822 case $ac_cv_c_inline in
10825 case $ac_cv_c_inline in
10827 *) ac_val=$ac_cv_c_inline;;
10829 cat >>confdefs.h <<_ACEOF
10830 #ifndef __cplusplus
10831 #define inline $ac_val
10838 ###############################
10839 # Checks for library functions.
10840 if test $ac_cv_c_compiler_gnu = yes; then
10841 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10842 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10843 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10844 echo $ECHO_N "(cached) $ECHO_C" >&6
10846 ac_pattern="Autoconf.*'x'"
10847 cat >conftest.$ac_ext <<_ACEOF
10850 cat confdefs.h >>conftest.$ac_ext
10851 cat >>conftest.$ac_ext <<_ACEOF
10852 /* end confdefs.h. */
10856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10857 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10858 ac_cv_prog_gcc_traditional=yes
10860 ac_cv_prog_gcc_traditional=no
10865 if test $ac_cv_prog_gcc_traditional = no; then
10866 cat >conftest.$ac_ext <<_ACEOF
10869 cat confdefs.h >>conftest.$ac_ext
10870 cat >>conftest.$ac_ext <<_ACEOF
10871 /* end confdefs.h. */
10872 #include <termio.h>
10875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10876 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10877 ac_cv_prog_gcc_traditional=yes
10883 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10884 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10885 if test $ac_cv_prog_gcc_traditional = yes; then
10886 CC="$CC -traditional"
10890 if test -z ${CONFIG_ORTE_RT} ; then
10893 for ac_func in gethostbyname getopt_long
10895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10896 echo "$as_me:$LINENO: checking for $ac_func" >&5
10897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10898 if eval "test \"\${$as_ac_var+set}\" = set"; then
10899 echo $ECHO_N "(cached) $ECHO_C" >&6
10901 cat >conftest.$ac_ext <<_ACEOF
10904 cat confdefs.h >>conftest.$ac_ext
10905 cat >>conftest.$ac_ext <<_ACEOF
10906 /* end confdefs.h. */
10907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10909 #define $ac_func innocuous_$ac_func
10911 /* System header to define __stub macros and hopefully few prototypes,
10912 which can conflict with char $ac_func (); below.
10913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10914 <limits.h> exists even on freestanding compilers. */
10917 # include <limits.h>
10919 # include <assert.h>
10924 /* Override any gcc2 internal prototype to avoid an error. */
10929 /* We use char because int might match the return type of a gcc2
10930 builtin and then its argument prototype would still apply. */
10932 /* The GNU C library defines this for functions which it implements
10933 to always fail with ENOSYS. Some functions are actually named
10934 something starting with __ and the normal name is an alias. */
10935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10938 char (*f) () = $ac_func;
10947 return f != $ac_func;
10952 rm -f conftest.$ac_objext conftest$ac_exeext
10953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10954 (eval $ac_link) 2>conftest.er1
10956 grep -v '^ *+' conftest.er1 >conftest.err
10958 cat conftest.err >&5
10959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10960 (exit $ac_status); } &&
10961 { ac_try='test -z "$ac_c_werror_flag"
10962 || test ! -s conftest.err'
10963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10964 (eval $ac_try) 2>&5
10966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); }; } &&
10968 { ac_try='test -s conftest$ac_exeext'
10969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10970 (eval $ac_try) 2>&5
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); }; }; then
10974 eval "$as_ac_var=yes"
10976 echo "$as_me: failed program was:" >&5
10977 sed 's/^/| /' conftest.$ac_ext >&5
10979 eval "$as_ac_var=no"
10981 rm -f conftest.err conftest.$ac_objext \
10982 conftest$ac_exeext conftest.$ac_ext
10984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10986 if test `eval echo '${'$as_ac_var'}'` = yes; then
10987 cat >>confdefs.h <<_ACEOF
10988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10996 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/multicast/Makefile orte/examples/reliable/Makefile orte/examples/ping/Makefile orte/examples/spy/Makefile orte/idl-compiler/Makefile orte/libjorte/Makefile orte/manager/Makefile"
11000 ac_config_files="$ac_config_files modtool"
11001 cat >confcache <<\_ACEOF
11002 # This file is a shell script that caches the results of configure
11003 # tests run on this system so they can be shared between configure
11004 # scripts and configure runs, see configure's option --config-cache.
11005 # It is not useful on other systems. If it contains results you don't
11006 # want to keep, you may remove or edit it.
11008 # config.status only pays attention to the cache file if you give it
11009 # the --recheck option to rerun configure.
11011 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11012 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11013 # following values.
11017 # The following way of writing the cache mishandles newlines in values,
11018 # but we know of no workaround that is simple, portable, and efficient.
11019 # So, don't put newlines in cache variables' values.
11020 # Ultrix sh set writes to stderr and can't be redirected directly,
11021 # and sets the high bit in the cache file unless we assign to the vars.
11024 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11026 # `set' does not quote correctly, so add quotes (double-quote
11027 # substitution turns \\\\ into \\, and sed turns \\ into \).
11030 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11033 # `set' quotes correctly as required by POSIX, so do not add quotes.
11035 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11042 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11044 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11046 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11047 if test -w $cache_file; then
11048 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11049 cat confcache >$cache_file
11051 echo "not updating unwritable cache $cache_file"
11056 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11057 # Let make expand exec_prefix.
11058 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11060 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11061 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11062 # trailing colons and then remove the whole line if VPATH becomes empty
11063 # (actually we leave an empty line to preserve line numbers).
11064 if test "x$srcdir" = x.; then
11065 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11066 s/:*\$(srcdir):*/:/;
11067 s/:*\${srcdir}:*/:/;
11069 s/^\([^=]*=[ ]*\):*/\1/;
11075 DEFS=-DHAVE_CONFIG_H
11079 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11080 # 1. Remove the extension, and $U if already installed.
11081 ac_i=`echo "$ac_i" |
11082 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11084 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11085 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11087 LIBOBJS=$ac_libobjs
11089 LTLIBOBJS=$ac_ltlibobjs
11092 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11093 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11094 Usually this means the macro was only invoked conditionally." >&5
11095 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11096 Usually this means the macro was only invoked conditionally." >&2;}
11097 { (exit 1); exit 1; }; }
11099 if test -z "${CONFIG_ORTE_KERNEL_TRUE}" && test -z "${CONFIG_ORTE_KERNEL_FALSE}"; then
11100 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_KERNEL\" was never defined.
11101 Usually this means the macro was only invoked conditionally." >&5
11102 echo "$as_me: error: conditional \"CONFIG_ORTE_KERNEL\" was never defined.
11103 Usually this means the macro was only invoked conditionally." >&2;}
11104 { (exit 1); exit 1; }; }
11106 if test -z "${CONFIG_RTHAL_TRUE}" && test -z "${CONFIG_RTHAL_FALSE}"; then
11107 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_RTHAL\" was never defined.
11108 Usually this means the macro was only invoked conditionally." >&5
11109 echo "$as_me: error: conditional \"CONFIG_RTHAL\" was never defined.
11110 Usually this means the macro was only invoked conditionally." >&2;}
11111 { (exit 1); exit 1; }; }
11113 if test -z "${CONFIG_ADEOS_TRUE}" && test -z "${CONFIG_ADEOS_FALSE}"; then
11114 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ADEOS\" was never defined.
11115 Usually this means the macro was only invoked conditionally." >&5
11116 echo "$as_me: error: conditional \"CONFIG_ADEOS\" was never defined.
11117 Usually this means the macro was only invoked conditionally." >&2;}
11118 { (exit 1); exit 1; }; }
11120 if test -z "${CONFIG_RTLINUX_TRUE}" && test -z "${CONFIG_RTLINUX_FALSE}"; then
11121 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_RTLINUX\" was never defined.
11122 Usually this means the macro was only invoked conditionally." >&5
11123 echo "$as_me: error: conditional \"CONFIG_RTLINUX\" was never defined.
11124 Usually this means the macro was only invoked conditionally." >&2;}
11125 { (exit 1); exit 1; }; }
11127 if test -z "${USE_RTAI_TRUE}" && test -z "${USE_RTAI_FALSE}"; then
11128 { { echo "$as_me:$LINENO: error: conditional \"USE_RTAI\" was never defined.
11129 Usually this means the macro was only invoked conditionally." >&5
11130 echo "$as_me: error: conditional \"USE_RTAI\" was never defined.
11131 Usually this means the macro was only invoked conditionally." >&2;}
11132 { (exit 1); exit 1; }; }
11134 if test -z "${USE_RTLINUX_TRUE}" && test -z "${USE_RTLINUX_FALSE}"; then
11135 { { echo "$as_me:$LINENO: error: conditional \"USE_RTLINUX\" was never defined.
11136 Usually this means the macro was only invoked conditionally." >&5
11137 echo "$as_me: error: conditional \"USE_RTLINUX\" was never defined.
11138 Usually this means the macro was only invoked conditionally." >&2;}
11139 { (exit 1); exit 1; }; }
11141 if test -z "${CONFIG_ORTE_RT_TRUE}" && test -z "${CONFIG_ORTE_RT_FALSE}"; then
11142 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_RT\" was never defined.
11143 Usually this means the macro was only invoked conditionally." >&5
11144 echo "$as_me: error: conditional \"CONFIG_ORTE_RT\" was never defined.
11145 Usually this means the macro was only invoked conditionally." >&2;}
11146 { (exit 1); exit 1; }; }
11148 if test -z "${CONFIG_ORTE_WIN_TRUE}" && test -z "${CONFIG_ORTE_WIN_FALSE}"; then
11149 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_WIN\" was never defined.
11150 Usually this means the macro was only invoked conditionally." >&5
11151 echo "$as_me: error: conditional \"CONFIG_ORTE_WIN\" was never defined.
11152 Usually this means the macro was only invoked conditionally." >&2;}
11153 { (exit 1); exit 1; }; }
11155 if test -z "${CONFIG_ORTE_CYGWIN_TRUE}" && test -z "${CONFIG_ORTE_CYGWIN_FALSE}"; then
11156 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_CYGWIN\" was never defined.
11157 Usually this means the macro was only invoked conditionally." >&5
11158 echo "$as_me: error: conditional \"CONFIG_ORTE_CYGWIN\" was never defined.
11159 Usually this means the macro was only invoked conditionally." >&2;}
11160 { (exit 1); exit 1; }; }
11162 if test -z "${CONFIG_ORTE_MINGW_TRUE}" && test -z "${CONFIG_ORTE_MINGW_FALSE}"; then
11163 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_MINGW\" was never defined.
11164 Usually this means the macro was only invoked conditionally." >&5
11165 echo "$as_me: error: conditional \"CONFIG_ORTE_MINGW\" was never defined.
11166 Usually this means the macro was only invoked conditionally." >&2;}
11167 { (exit 1); exit 1; }; }
11169 if test -z "${CONFIG_ORTE_UNIX_TRUE}" && test -z "${CONFIG_ORTE_UNIX_FALSE}"; then
11170 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_UNIX\" was never defined.
11171 Usually this means the macro was only invoked conditionally." >&5
11172 echo "$as_me: error: conditional \"CONFIG_ORTE_UNIX\" was never defined.
11173 Usually this means the macro was only invoked conditionally." >&2;}
11174 { (exit 1); exit 1; }; }
11176 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11177 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11178 Usually this means the macro was only invoked conditionally." >&5
11179 echo "$as_me: error: conditional \"AMDEP\" was never defined.
11180 Usually this means the macro was only invoked conditionally." >&2;}
11181 { (exit 1); exit 1; }; }
11183 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11184 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11185 Usually this means the macro was only invoked conditionally." >&5
11186 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11187 Usually this means the macro was only invoked conditionally." >&2;}
11188 { (exit 1); exit 1; }; }
11190 if test -z "${CONFIG_ORTE_IDL_TRUE}" && test -z "${CONFIG_ORTE_IDL_FALSE}"; then
11191 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_ORTE_IDL\" was never defined.
11192 Usually this means the macro was only invoked conditionally." >&5
11193 echo "$as_me: error: conditional \"CONFIG_ORTE_IDL\" was never defined.
11194 Usually this means the macro was only invoked conditionally." >&2;}
11195 { (exit 1); exit 1; }; }
11197 if test -z "${CONFIG_JORTE_TRUE}" && test -z "${CONFIG_JORTE_FALSE}"; then
11198 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_JORTE\" was never defined.
11199 Usually this means the macro was only invoked conditionally." >&5
11200 echo "$as_me: error: conditional \"CONFIG_JORTE\" was never defined.
11201 Usually this means the macro was only invoked conditionally." >&2;}
11202 { (exit 1); exit 1; }; }
11205 : ${CONFIG_STATUS=./config.status}
11206 ac_clean_files_save=$ac_clean_files
11207 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11208 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11209 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11210 cat >$CONFIG_STATUS <<_ACEOF
11212 # Generated by $as_me.
11213 # Run this file to recreate the current configuration.
11214 # Compiler output produced by configure, useful for debugging
11215 # configure, is in config.log if it exists.
11218 ac_cs_recheck=false
11220 SHELL=\${CONFIG_SHELL-$SHELL}
11223 cat >>$CONFIG_STATUS <<\_ACEOF
11224 ## --------------------- ##
11225 ## M4sh Initialization. ##
11226 ## --------------------- ##
11228 # Be Bourne compatible
11229 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11232 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11233 # is contrary to our usage. Disable this feature.
11234 alias -g '${1+"$@"}'='"$@"'
11235 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11238 DUALCASE=1; export DUALCASE # for MKS sh
11240 # Support unset when possible.
11241 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11248 # Work around bugs in pre-3.0 UWIN ksh.
11249 $as_unset ENV MAIL MAILPATH
11256 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11257 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11258 LC_TELEPHONE LC_TIME
11260 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11261 eval $as_var=C; export $as_var
11267 # Required to use basename.
11268 if expr a : '\(a\)' >/dev/null 2>&1; then
11274 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11275 as_basename=basename
11281 # Name of the executable.
11282 as_me=`$as_basename "$0" ||
11283 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11284 X"$0" : 'X\(//\)$' \| \
11285 X"$0" : 'X\(/\)$' \| \
11286 . : '\(.\)' 2>/dev/null ||
11288 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11289 /^X\/\(\/\/\)$/{ s//\1/; q; }
11290 /^X\/\(\/\).*/{ s//\1/; q; }
11294 # PATH needs CR, and LINENO needs CR and PATH.
11295 # Avoid depending upon Character Ranges.
11296 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11297 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11298 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11299 as_cr_digits='0123456789'
11300 as_cr_alnum=$as_cr_Letters$as_cr_digits
11302 # The user is always right.
11303 if test "${PATH_SEPARATOR+set}" != set; then
11304 echo "#! /bin/sh" >conf$$.sh
11305 echo "exit 0" >>conf$$.sh
11307 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11316 as_lineno_1=$LINENO
11317 as_lineno_2=$LINENO
11318 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11319 test "x$as_lineno_1" != "x$as_lineno_2" &&
11320 test "x$as_lineno_3" = "x$as_lineno_2" || {
11321 # Find who we are. Look in the path if we contain no path at all
11324 *[\\/]* ) as_myself=$0 ;;
11325 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11326 for as_dir in $PATH
11329 test -z "$as_dir" && as_dir=.
11330 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11335 # We did not find ourselves, most probably we were run as `sh COMMAND'
11336 # in which case we are not to be found in the path.
11337 if test "x$as_myself" = x; then
11340 if test ! -f "$as_myself"; then
11341 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11342 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11343 { (exit 1); exit 1; }; }
11345 case $CONFIG_SHELL in
11347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11348 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11351 test -z "$as_dir" && as_dir=.
11352 for as_base in sh bash ksh sh5; do
11355 if ("$as_dir/$as_base" -c '
11356 as_lineno_1=$LINENO
11357 as_lineno_2=$LINENO
11358 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11359 test "x$as_lineno_1" != "x$as_lineno_2" &&
11360 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
11361 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11362 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11363 CONFIG_SHELL=$as_dir/$as_base
11364 export CONFIG_SHELL
11365 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11373 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11374 # uniformly replaced by the line number. The first 'sed' inserts a
11375 # line-number line before each line; the second 'sed' does the real
11376 # work. The second script uses 'N' to pair each line-number line
11377 # with the numbered line, and appends trailing '-' during
11378 # substitution so that $LINENO is not a special case at line end.
11379 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11380 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11381 sed '=' <$as_myself |
11386 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11389 s,^['$as_cr_digits']*\n,,
11390 ' >$as_me.lineno &&
11391 chmod +x $as_me.lineno ||
11392 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11393 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11394 { (exit 1); exit 1; }; }
11396 # Don't try to exec as it changes $[0], causing all sort of problems
11397 # (the dirname of $[0] is not the place where we might find the
11398 # original and so on. Autoconf is especially sensible to this).
11400 # Exit status is that of the last command.
11405 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11406 *c*,-n*) ECHO_N= ECHO_C='
11408 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11409 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
11412 if expr a : '\(a\)' >/dev/null 2>&1; then
11418 rm -f conf$$ conf$$.exe conf$$.file
11420 if ln -s conf$$.file conf$$ 2>/dev/null; then
11421 # We could just check for DJGPP; but this test a) works b) is more generic
11422 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11423 if test -f conf$$.exe; then
11424 # Don't use ln at all; we don't have any links
11429 elif ln conf$$.file conf$$ 2>/dev/null; then
11434 rm -f conf$$ conf$$.exe conf$$.file
11436 if mkdir -p . 2>/dev/null; then
11439 test -d ./-p && rmdir ./-p
11443 as_executable_p="test -f"
11445 # Sed expression to map a string onto a valid CPP name.
11446 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11448 # Sed expression to map a string onto a valid variable name.
11449 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11453 # We need space, tab and new line, in precisely that order.
11463 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11464 # report actual input values of CONFIG_FILES etc. instead of their
11465 # values after options handling. Logging --version etc. is OK.
11469 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11470 ## Running $as_me. ##
11475 This file was extended by orte $as_me 0.3.0, which was
11476 generated by GNU Autoconf 2.59. Invocation command line was
11478 CONFIG_FILES = $CONFIG_FILES
11479 CONFIG_HEADERS = $CONFIG_HEADERS
11480 CONFIG_LINKS = $CONFIG_LINKS
11481 CONFIG_COMMANDS = $CONFIG_COMMANDS
11485 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11489 # Files that config.status was made for.
11490 if test -n "$ac_config_files"; then
11491 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11494 if test -n "$ac_config_headers"; then
11495 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11498 if test -n "$ac_config_links"; then
11499 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11502 if test -n "$ac_config_commands"; then
11503 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11506 cat >>$CONFIG_STATUS <<\_ACEOF
11509 \`$as_me' instantiates files from templates according to the
11510 current configuration.
11512 Usage: $0 [OPTIONS] [FILE]...
11514 -h, --help print this help, then exit
11515 -V, --version print version number, then exit
11516 -q, --quiet do not print progress messages
11517 -d, --debug don't remove temporary files
11518 --recheck update $as_me by reconfiguring in the same conditions
11519 --file=FILE[:TEMPLATE]
11520 instantiate the configuration file FILE
11521 --header=FILE[:TEMPLATE]
11522 instantiate the configuration header FILE
11524 Configuration files:
11527 Configuration headers:
11530 Configuration commands:
11533 Report bugs to <bug-autoconf@gnu.org>."
11536 cat >>$CONFIG_STATUS <<_ACEOF
11538 orte config.status 0.3.0
11539 configured by $0, generated by GNU Autoconf 2.59,
11540 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11542 Copyright (C) 2003 Free Software Foundation, Inc.
11543 This config.status script is free software; the Free Software Foundation
11544 gives unlimited permission to copy, distribute and modify it."
11549 cat >>$CONFIG_STATUS <<\_ACEOF
11550 # If no file are specified by the user, then we need to provide default
11551 # value. By we need to know if files were specified by the user.
11557 ac_option=`expr "x$1" : 'x\([^=]*\)='`
11558 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
11566 *) # This is not an option, so the user has probably given explicit
11569 ac_need_defaults=false;;
11573 # Handling of the options.
11575 cat >>$CONFIG_STATUS <<\_ACEOF
11576 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11578 --version | --vers* | -V )
11579 echo "$ac_cs_version"; exit 0 ;;
11581 # Conflict between --help and --header
11582 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11583 Try \`$0 --help' for more information." >&5
11584 echo "$as_me: error: ambiguous option: $1
11585 Try \`$0 --help' for more information." >&2;}
11586 { (exit 1); exit 1; }; };;
11587 --help | --hel | -h )
11588 echo "$ac_cs_usage"; exit 0 ;;
11589 --debug | --d* | -d )
11591 --file | --fil | --fi | --f )
11593 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11594 ac_need_defaults=false;;
11595 --header | --heade | --head | --hea )
11597 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11598 ac_need_defaults=false;;
11599 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11600 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11603 # This is an error.
11604 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11605 Try \`$0 --help' for more information." >&5
11606 echo "$as_me: error: unrecognized option: $1
11607 Try \`$0 --help' for more information." >&2;}
11608 { (exit 1); exit 1; }; } ;;
11610 *) ac_config_targets="$ac_config_targets $1" ;;
11616 ac_configure_extra_args=
11618 if $ac_cs_silent; then
11620 ac_configure_extra_args="$ac_configure_extra_args --silent"
11624 cat >>$CONFIG_STATUS <<_ACEOF
11625 if \$ac_cs_recheck; then
11626 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11627 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11632 cat >>$CONFIG_STATUS <<_ACEOF
11634 # INIT-COMMANDS section.
11637 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11643 cat >>$CONFIG_STATUS <<\_ACEOF
11644 for ac_config_target in $ac_config_targets
11646 case "$ac_config_target" in
11647 # Handling of arguments.
11648 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11649 "orte/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/Makefile" ;;
11650 "orte/liborte/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/liborte/Makefile" ;;
11651 "orte/liborte/rtl/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/liborte/rtl/Makefile" ;;
11652 "orte/examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/Makefile" ;;
11653 "orte/examples/hello/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/hello/Makefile" ;;
11654 "orte/examples/multicast/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/multicast/Makefile" ;;
11655 "orte/examples/reliable/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/reliable/Makefile" ;;
11656 "orte/examples/ping/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/ping/Makefile" ;;
11657 "orte/examples/spy/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/examples/spy/Makefile" ;;
11658 "orte/idl-compiler/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/idl-compiler/Makefile" ;;
11659 "orte/libjorte/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/libjorte/Makefile" ;;
11660 "orte/manager/Makefile" ) CONFIG_FILES="$CONFIG_FILES orte/manager/Makefile" ;;
11661 "modtool" ) CONFIG_FILES="$CONFIG_FILES modtool" ;;
11662 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11663 "orte/include/orte/orte_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS orte/include/orte/orte_config.h" ;;
11664 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11665 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11666 { (exit 1); exit 1; }; };;
11670 # If the user did not use the arguments to specify the items to instantiate,
11671 # then the envvar interface is used. Set only those that are not.
11672 # We use the long form for the default assignment because of an extremely
11673 # bizarre bug on SunOS 4.1.3.
11674 if $ac_need_defaults; then
11675 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11676 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11677 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11680 # Have a temporary directory for convenience. Make it in the build tree
11681 # simply because there is no reason to put it here, and in addition,
11682 # creating and moving files from /tmp can sometimes cause problems.
11683 # Create a temporary directory, and hook for its removal unless debugging.
11686 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11687 trap '{ (exit 1); exit 1; }' 1 2 13 15
11690 # Create a (secure) tmp directory for tmp files.
11693 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11694 test -n "$tmp" && test -d "$tmp"
11697 tmp=./confstat$$-$RANDOM
11698 (umask 077 && mkdir $tmp)
11701 echo "$me: cannot create a temporary directory in ." >&2
11702 { (exit 1); exit 1; }
11707 cat >>$CONFIG_STATUS <<_ACEOF
11710 # CONFIG_FILES section.
11713 # No need to generate the scripts if there are no CONFIG_FILES.
11714 # This happens for instance when ./config.status config.h
11715 if test -n "\$CONFIG_FILES"; then
11716 # Protect against being on the right side of a sed subst in config.status.
11717 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11718 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11719 s,@SHELL@,$SHELL,;t t
11720 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11721 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11722 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11723 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11724 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11725 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11726 s,@exec_prefix@,$exec_prefix,;t t
11727 s,@prefix@,$prefix,;t t
11728 s,@program_transform_name@,$program_transform_name,;t t
11729 s,@bindir@,$bindir,;t t
11730 s,@sbindir@,$sbindir,;t t
11731 s,@libexecdir@,$libexecdir,;t t
11732 s,@datadir@,$datadir,;t t
11733 s,@sysconfdir@,$sysconfdir,;t t
11734 s,@sharedstatedir@,$sharedstatedir,;t t
11735 s,@localstatedir@,$localstatedir,;t t
11736 s,@libdir@,$libdir,;t t
11737 s,@includedir@,$includedir,;t t
11738 s,@oldincludedir@,$oldincludedir,;t t
11739 s,@infodir@,$infodir,;t t
11740 s,@mandir@,$mandir,;t t
11741 s,@build_alias@,$build_alias,;t t
11742 s,@host_alias@,$host_alias,;t t
11743 s,@target_alias@,$target_alias,;t t
11744 s,@DEFS@,$DEFS,;t t
11745 s,@ECHO_C@,$ECHO_C,;t t
11746 s,@ECHO_N@,$ECHO_N,;t t
11747 s,@ECHO_T@,$ECHO_T,;t t
11748 s,@LIBS@,$LIBS,;t t
11749 s,@ORTE_MAJOR_VERSION@,$ORTE_MAJOR_VERSION,;t t
11750 s,@ORTE_MINOR_VERSION@,$ORTE_MINOR_VERSION,;t t
11751 s,@ORTE_MICRO_VERSION@,$ORTE_MICRO_VERSION,;t t
11752 s,@ORTE_VERSION@,$ORTE_VERSION,;t t
11753 s,@ORTE_INTERFACE_AGE@,$ORTE_INTERFACE_AGE,;t t
11754 s,@ORTE_BINARY_AGE@,$ORTE_BINARY_AGE,;t t
11755 s,@LT_RELEASE@,$LT_RELEASE,;t t
11756 s,@LT_CURRENT@,$LT_CURRENT,;t t
11757 s,@LT_REVISION@,$LT_REVISION,;t t
11758 s,@LT_AGE@,$LT_AGE,;t t
11759 s,@build@,$build,;t t
11760 s,@build_cpu@,$build_cpu,;t t
11761 s,@build_vendor@,$build_vendor,;t t
11762 s,@build_os@,$build_os,;t t
11763 s,@host@,$host,;t t
11764 s,@host_cpu@,$host_cpu,;t t
11765 s,@host_vendor@,$host_vendor,;t t
11766 s,@host_os@,$host_os,;t t
11767 s,@target@,$target,;t t
11768 s,@target_cpu@,$target_cpu,;t t
11769 s,@target_vendor@,$target_vendor,;t t
11770 s,@target_os@,$target_os,;t t
11771 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11772 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11773 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11774 s,@CYGPATH_W@,$CYGPATH_W,;t t
11775 s,@PACKAGE@,$PACKAGE,;t t
11776 s,@VERSION@,$VERSION,;t t
11777 s,@ACLOCAL@,$ACLOCAL,;t t
11778 s,@AUTOCONF@,$AUTOCONF,;t t
11779 s,@AUTOMAKE@,$AUTOMAKE,;t t
11780 s,@AUTOHEADER@,$AUTOHEADER,;t t
11781 s,@MAKEINFO@,$MAKEINFO,;t t
11782 s,@AMTAR@,$AMTAR,;t t
11783 s,@install_sh@,$install_sh,;t t
11784 s,@STRIP@,$STRIP,;t t
11785 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11786 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11787 s,@mkdir_p@,$mkdir_p,;t t
11789 s,@SET_MAKE@,$SET_MAKE,;t t
11790 s,@am__leading_dot@,$am__leading_dot,;t t
11791 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11792 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11793 s,@MAINT@,$MAINT,;t t
11794 s,@LINUX_DIR@,$LINUX_DIR,;t t
11795 s,@LINUX_ARCH@,$LINUX_ARCH,;t t
11796 s,@LINUX_AFLAGS@,$LINUX_AFLAGS,;t t
11797 s,@LINUX_LDFLAGS@,$LINUX_LDFLAGS,;t t
11798 s,@LINUX_ARFLAGS@,$LINUX_ARFLAGS,;t t
11799 s,@LINUX_CROSS_COMPILE@,$LINUX_CROSS_COMPILE,;t t
11800 s,@LINUX_KERNELRELEASE@,$LINUX_KERNELRELEASE,;t t
11801 s,@LINUX_CFLAGS@,$LINUX_CFLAGS,;t t
11802 s,@LINUX_CC@,$LINUX_CC,;t t
11803 s,@LINUX_LD@,$LINUX_LD,;t t
11804 s,@LINUX_AS@,$LINUX_AS,;t t
11805 s,@LINUX_MODULE_EXT@,$LINUX_MODULE_EXT,;t t
11806 s,@CONFIG_ORTE_KERNEL@,$CONFIG_ORTE_KERNEL,;t t
11807 s,@CONFIG_ORTE_KERNEL_TRUE@,$CONFIG_ORTE_KERNEL_TRUE,;t t
11808 s,@CONFIG_ORTE_KERNEL_FALSE@,$CONFIG_ORTE_KERNEL_FALSE,;t t
11809 s,@CONFIG_RTHAL_TRUE@,$CONFIG_RTHAL_TRUE,;t t
11810 s,@CONFIG_RTHAL_FALSE@,$CONFIG_RTHAL_FALSE,;t t
11811 s,@CONFIG_ADEOS_TRUE@,$CONFIG_ADEOS_TRUE,;t t
11812 s,@CONFIG_ADEOS_FALSE@,$CONFIG_ADEOS_FALSE,;t t
11813 s,@RTAI_CFLAGS@,$RTAI_CFLAGS,;t t
11814 s,@CONFIG_RTLINUX_TRUE@,$CONFIG_RTLINUX_TRUE,;t t
11815 s,@CONFIG_RTLINUX_FALSE@,$CONFIG_RTLINUX_FALSE,;t t
11816 s,@RTLINUX_CFLAGS@,$RTLINUX_CFLAGS,;t t
11817 s,@RTLINUX_CC@,$RTLINUX_CC,;t t
11818 s,@CONFIG_ORTE_RT@,$CONFIG_ORTE_RT,;t t
11819 s,@USE_RTAI_TRUE@,$USE_RTAI_TRUE,;t t
11820 s,@USE_RTAI_FALSE@,$USE_RTAI_FALSE,;t t
11821 s,@USE_RTLINUX_TRUE@,$USE_RTLINUX_TRUE,;t t
11822 s,@USE_RTLINUX_FALSE@,$USE_RTLINUX_FALSE,;t t
11823 s,@CONFIG_ORTE_RT_TRUE@,$CONFIG_ORTE_RT_TRUE,;t t
11824 s,@CONFIG_ORTE_RT_FALSE@,$CONFIG_ORTE_RT_FALSE,;t t
11825 s,@CONFIG_ORTE_WIN_TRUE@,$CONFIG_ORTE_WIN_TRUE,;t t
11826 s,@CONFIG_ORTE_WIN_FALSE@,$CONFIG_ORTE_WIN_FALSE,;t t
11827 s,@CONFIG_ORTE_CYGWIN_TRUE@,$CONFIG_ORTE_CYGWIN_TRUE,;t t
11828 s,@CONFIG_ORTE_CYGWIN_FALSE@,$CONFIG_ORTE_CYGWIN_FALSE,;t t
11829 s,@CONFIG_ORTE_MINGW_TRUE@,$CONFIG_ORTE_MINGW_TRUE,;t t
11830 s,@CONFIG_ORTE_MINGW_FALSE@,$CONFIG_ORTE_MINGW_FALSE,;t t
11831 s,@CONFIG_ORTE_UNIX_TRUE@,$CONFIG_ORTE_UNIX_TRUE,;t t
11832 s,@CONFIG_ORTE_UNIX_FALSE@,$CONFIG_ORTE_UNIX_FALSE,;t t
11833 s,@moduledir@,$moduledir,;t t
11834 s,@modulePROGRAMS_INSTALL@,$modulePROGRAMS_INSTALL,;t t
11836 s,@CFLAGS@,$CFLAGS,;t t
11837 s,@LDFLAGS@,$LDFLAGS,;t t
11838 s,@CPPFLAGS@,$CPPFLAGS,;t t
11839 s,@ac_ct_CC@,$ac_ct_CC,;t t
11840 s,@EXEEXT@,$EXEEXT,;t t
11841 s,@OBJEXT@,$OBJEXT,;t t
11842 s,@DEPDIR@,$DEPDIR,;t t
11843 s,@am__include@,$am__include,;t t
11844 s,@am__quote@,$am__quote,;t t
11845 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
11846 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
11847 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
11848 s,@CCDEPMODE@,$CCDEPMODE,;t t
11849 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
11850 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
11851 s,@RANLIB@,$RANLIB,;t t
11852 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11853 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
11854 s,@LIBIDL_CFLAGS@,$LIBIDL_CFLAGS,;t t
11855 s,@LIBIDL_LIBS@,$LIBIDL_LIBS,;t t
11856 s,@CONFIG_ORTE_IDL_TRUE@,$CONFIG_ORTE_IDL_TRUE,;t t
11857 s,@CONFIG_ORTE_IDL_FALSE@,$CONFIG_ORTE_IDL_FALSE,;t t
11858 s,@CONFIG_ORTE_IDL@,$CONFIG_ORTE_IDL,;t t
11859 s,@CONFIG_JORTE_TRUE@,$CONFIG_JORTE_TRUE,;t t
11860 s,@CONFIG_JORTE_FALSE@,$CONFIG_JORTE_FALSE,;t t
11861 s,@CONFIG_JORTE@,$CONFIG_JORTE,;t t
11862 s,@LN_S@,$LN_S,;t t
11863 s,@ECHO@,$ECHO,;t t
11865 s,@EGREP@,$EGREP,;t t
11866 s,@LIBTOOL@,$LIBTOOL,;t t
11867 s,@INCLUDES@,$INCLUDES,;t t
11868 s,@LIBOBJS@,$LIBOBJS,;t t
11869 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11874 cat >>$CONFIG_STATUS <<\_ACEOF
11875 # Split the substitutions into bite-sized pieces for seds with
11876 # small command number limits, like on Digital OSF/1 and HP-UX.
11877 ac_max_sed_lines=48
11878 ac_sed_frag=1 # Number of current file.
11879 ac_beg=1 # First line for current file.
11880 ac_end=$ac_max_sed_lines # Line after last line for current file.
11883 while $ac_more_lines; do
11884 if test $ac_beg -gt 1; then
11885 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11887 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11889 if test ! -s $tmp/subs.frag; then
11890 ac_more_lines=false
11892 # The purpose of the label and of the branching condition is to
11893 # speed up the sed processing (if there are no `@' at all, there
11894 # is no need to browse any of the substitutions).
11895 # These are the two extra sed commands mentioned above.
11897 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11898 if test -z "$ac_sed_cmds"; then
11899 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11901 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11903 ac_sed_frag=`expr $ac_sed_frag + 1`
11905 ac_end=`expr $ac_end + $ac_max_sed_lines`
11908 if test -z "$ac_sed_cmds"; then
11911 fi # test -n "$CONFIG_FILES"
11914 cat >>$CONFIG_STATUS <<\_ACEOF
11915 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
11916 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11918 - | *:- | *:-:* ) # input from stdin
11920 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11921 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11922 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11923 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11924 * ) ac_file_in=$ac_file.in ;;
11927 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11928 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11929 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11930 X"$ac_file" : 'X\(//\)[^/]' \| \
11931 X"$ac_file" : 'X\(//\)$' \| \
11932 X"$ac_file" : 'X\(/\)' \| \
11933 . : '\(.\)' 2>/dev/null ||
11935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11936 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11937 /^X\(\/\/\)$/{ s//\1/; q; }
11938 /^X\(\/\).*/{ s//\1/; q; }
11940 { if $as_mkdir_p; then
11945 while test ! -d "$as_dir"; do
11946 as_dirs="$as_dir $as_dirs"
11947 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11948 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11949 X"$as_dir" : 'X\(//\)[^/]' \| \
11950 X"$as_dir" : 'X\(//\)$' \| \
11951 X"$as_dir" : 'X\(/\)' \| \
11952 . : '\(.\)' 2>/dev/null ||
11954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11955 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11956 /^X\(\/\/\)$/{ s//\1/; q; }
11957 /^X\(\/\).*/{ s//\1/; q; }
11960 test ! -n "$as_dirs" || mkdir $as_dirs
11961 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11962 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11963 { (exit 1); exit 1; }; }; }
11967 if test "$ac_dir" != .; then
11968 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11969 # A "../" for each directory in $ac_dir_suffix.
11970 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11972 ac_dir_suffix= ac_top_builddir=
11976 .) # No --srcdir option. We are building in place.
11978 if test -z "$ac_top_builddir"; then
11981 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11983 [\\/]* | ?:[\\/]* ) # Absolute path.
11984 ac_srcdir=$srcdir$ac_dir_suffix;
11985 ac_top_srcdir=$srcdir ;;
11986 *) # Relative path.
11987 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11988 ac_top_srcdir=$ac_top_builddir$srcdir ;;
11991 # Do not use `cd foo && pwd` to compute absolute paths, because
11992 # the directories may not exist.
11994 .) ac_abs_builddir="$ac_dir";;
11997 .) ac_abs_builddir=`pwd`;;
11998 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11999 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12002 case $ac_abs_builddir in
12003 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12005 case ${ac_top_builddir}. in
12006 .) ac_abs_top_builddir=$ac_abs_builddir;;
12007 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12008 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12011 case $ac_abs_builddir in
12012 .) ac_abs_srcdir=$ac_srcdir;;
12015 .) ac_abs_srcdir=$ac_abs_builddir;;
12016 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12017 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12020 case $ac_abs_builddir in
12021 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12023 case $ac_top_srcdir in
12024 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12025 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12026 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12032 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12033 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12036 if test x"$ac_file" != x-; then
12037 { echo "$as_me:$LINENO: creating $ac_file" >&5
12038 echo "$as_me: creating $ac_file" >&6;}
12041 # Let's still pretend it is `configure' which instantiates (i.e., don't
12042 # use $as_me), people would be surprised to read:
12043 # /* config.h. Generated by config.status. */
12044 if test x"$ac_file" = x-; then
12047 configure_input="$ac_file. "
12049 configure_input=$configure_input"Generated from `echo $ac_file_in |
12050 sed 's,.*/,,'` by configure."
12052 # First look for the input files in the build tree, otherwise in the
12054 ac_file_inputs=`IFS=:
12055 for f in $ac_file_in; do
12057 -) echo $tmp/stdin ;;
12059 # Absolute (can't be DOS-style, as IFS=:)
12060 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12061 echo "$as_me: error: cannot find input file: $f" >&2;}
12062 { (exit 1); exit 1; }; }
12065 if test -f "$f"; then
12068 elif test -f "$srcdir/$f"; then
12073 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12074 echo "$as_me: error: cannot find input file: $f" >&2;}
12075 { (exit 1); exit 1; }; }
12078 done` || { (exit 1); exit 1; }
12080 cat >>$CONFIG_STATUS <<_ACEOF
12084 cat >>$CONFIG_STATUS <<\_ACEOF
12086 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12087 s,@configure_input@,$configure_input,;t t
12088 s,@srcdir@,$ac_srcdir,;t t
12089 s,@abs_srcdir@,$ac_abs_srcdir,;t t
12090 s,@top_srcdir@,$ac_top_srcdir,;t t
12091 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
12092 s,@builddir@,$ac_builddir,;t t
12093 s,@abs_builddir@,$ac_abs_builddir,;t t
12094 s,@top_builddir@,$ac_top_builddir,;t t
12095 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
12096 s,@INSTALL@,$ac_INSTALL,;t t
12097 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12099 if test x"$ac_file" != x-; then
12100 mv $tmp/out $ac_file
12108 cat >>$CONFIG_STATUS <<\_ACEOF
12111 # CONFIG_HEADER section.
12114 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12115 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12117 # ac_d sets the value in "#define NAME VALUE" lines.
12118 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12119 ac_dB='[ ].*$,\1#\2'
12122 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12123 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12124 ac_uB='$,\1#\2define\3'
12128 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
12129 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12131 - | *:- | *:-:* ) # input from stdin
12133 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12134 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12135 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12136 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12137 * ) ac_file_in=$ac_file.in ;;
12140 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
12141 echo "$as_me: creating $ac_file" >&6;}
12143 # First look for the input files in the build tree, otherwise in the
12145 ac_file_inputs=`IFS=:
12146 for f in $ac_file_in; do
12148 -) echo $tmp/stdin ;;
12150 # Absolute (can't be DOS-style, as IFS=:)
12151 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12152 echo "$as_me: error: cannot find input file: $f" >&2;}
12153 { (exit 1); exit 1; }; }
12154 # Do quote $f, to prevent DOS paths from being IFS'd.
12157 if test -f "$f"; then
12160 elif test -f "$srcdir/$f"; then
12165 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12166 echo "$as_me: error: cannot find input file: $f" >&2;}
12167 { (exit 1); exit 1; }; }
12170 done` || { (exit 1); exit 1; }
12171 # Remove the trailing spaces.
12172 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12176 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12177 # `conftest.undefs', that substitutes the proper values into
12178 # config.h.in to produce config.h. The first handles `#define'
12179 # templates, and the second `#undef' templates.
12180 # And first: Protect against being on the right side of a sed subst in
12181 # config.status. Protect against being in an unquoted here document
12182 # in config.status.
12183 rm -f conftest.defines conftest.undefs
12184 # Using a here document instead of a string reduces the quoting nightmare.
12185 # Putting comments in sed scripts is not portable.
12187 # `end' is used to avoid that the second main sed command (meant for
12188 # 0-ary CPP macros) applies to n-ary macro definitions.
12189 # See the Autoconf documentation for `clear'.
12190 cat >confdef2sed.sed <<\_ACEOF
12195 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12197 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12200 # If some macros were called several times there might be several times
12201 # the same #defines, which is useless. Nevertheless, we may not want to
12202 # sort them, since we want the *last* AC-DEFINE to be honored.
12203 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12204 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12205 rm -f confdef2sed.sed
12207 # This sed command replaces #undef with comments. This is necessary, for
12208 # example, in the case of _POSIX_SOURCE, which is predefined and required
12209 # on some systems where configure will not decide to define it.
12210 cat >>conftest.undefs <<\_ACEOF
12211 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12214 # Break up conftest.defines because some shells have a limit on the size
12215 # of here documents, and old seds have small limits too (100 cmds).
12216 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12217 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12218 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12219 echo ' :' >>$CONFIG_STATUS
12220 rm -f conftest.tail
12221 while grep . conftest.defines >/dev/null
12223 # Write a limited-size here document to $tmp/defines.sed.
12224 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12225 # Speed up: don't consider the non `#define' lines.
12226 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12227 # Work around the forget-to-reset-the-flag bug.
12228 echo 't clr' >>$CONFIG_STATUS
12229 echo ': clr' >>$CONFIG_STATUS
12230 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
12232 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12234 mv $tmp/out $tmp/in
12236 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
12237 rm -f conftest.defines
12238 mv conftest.tail conftest.defines
12240 rm -f conftest.defines
12241 echo ' fi # grep' >>$CONFIG_STATUS
12242 echo >>$CONFIG_STATUS
12244 # Break up conftest.undefs because some shells have a limit on the size
12245 # of here documents, and old seds have small limits too (100 cmds).
12246 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12247 rm -f conftest.tail
12248 while grep . conftest.undefs >/dev/null
12250 # Write a limited-size here document to $tmp/undefs.sed.
12251 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12252 # Speed up: don't consider the non `#undef'
12253 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12254 # Work around the forget-to-reset-the-flag bug.
12255 echo 't clr' >>$CONFIG_STATUS
12256 echo ': clr' >>$CONFIG_STATUS
12257 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12259 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12261 mv $tmp/out $tmp/in
12263 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12264 rm -f conftest.undefs
12265 mv conftest.tail conftest.undefs
12267 rm -f conftest.undefs
12269 cat >>$CONFIG_STATUS <<\_ACEOF
12270 # Let's still pretend it is `configure' which instantiates (i.e., don't
12271 # use $as_me), people would be surprised to read:
12272 # /* config.h. Generated by config.status. */
12273 if test x"$ac_file" = x-; then
12274 echo "/* Generated by configure. */" >$tmp/config.h
12276 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12278 cat $tmp/in >>$tmp/config.h
12280 if test x"$ac_file" != x-; then
12281 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
12282 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12283 echo "$as_me: $ac_file is unchanged" >&6;}
12285 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12286 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12287 X"$ac_file" : 'X\(//\)[^/]' \| \
12288 X"$ac_file" : 'X\(//\)$' \| \
12289 X"$ac_file" : 'X\(/\)' \| \
12290 . : '\(.\)' 2>/dev/null ||
12292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12293 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12294 /^X\(\/\/\)$/{ s//\1/; q; }
12295 /^X\(\/\).*/{ s//\1/; q; }
12297 { if $as_mkdir_p; then
12302 while test ! -d "$as_dir"; do
12303 as_dirs="$as_dir $as_dirs"
12304 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12306 X"$as_dir" : 'X\(//\)[^/]' \| \
12307 X"$as_dir" : 'X\(//\)$' \| \
12308 X"$as_dir" : 'X\(/\)' \| \
12309 . : '\(.\)' 2>/dev/null ||
12311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12312 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12313 /^X\(\/\/\)$/{ s//\1/; q; }
12314 /^X\(\/\).*/{ s//\1/; q; }
12317 test ! -n "$as_dirs" || mkdir $as_dirs
12318 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12319 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12320 { (exit 1); exit 1; }; }; }
12323 mv $tmp/config.h $ac_file
12327 rm -f $tmp/config.h
12329 # Compute $ac_file's index in $config_headers.
12331 for _am_header in $config_headers :; do
12332 case $_am_header in
12333 $ac_file | $ac_file:* )
12336 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12339 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12340 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12341 X$ac_file : 'X\(//\)[^/]' \| \
12342 X$ac_file : 'X\(//\)$' \| \
12343 X$ac_file : 'X\(/\)' \| \
12344 . : '\(.\)' 2>/dev/null ||
12346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12347 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12348 /^X\(\/\/\)$/{ s//\1/; q; }
12349 /^X\(\/\).*/{ s//\1/; q; }
12350 s/.*/./; q'`/stamp-h$_am_stamp_count
12353 cat >>$CONFIG_STATUS <<\_ACEOF
12356 # CONFIG_COMMANDS section.
12358 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
12359 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
12360 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
12361 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
12362 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12363 X"$ac_dest" : 'X\(//\)[^/]' \| \
12364 X"$ac_dest" : 'X\(//\)$' \| \
12365 X"$ac_dest" : 'X\(/\)' \| \
12366 . : '\(.\)' 2>/dev/null ||
12368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12369 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12370 /^X\(\/\/\)$/{ s//\1/; q; }
12371 /^X\(\/\).*/{ s//\1/; q; }
12373 { if $as_mkdir_p; then
12378 while test ! -d "$as_dir"; do
12379 as_dirs="$as_dir $as_dirs"
12380 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12381 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12382 X"$as_dir" : 'X\(//\)[^/]' \| \
12383 X"$as_dir" : 'X\(//\)$' \| \
12384 X"$as_dir" : 'X\(/\)' \| \
12385 . : '\(.\)' 2>/dev/null ||
12387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12388 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12389 /^X\(\/\/\)$/{ s//\1/; q; }
12390 /^X\(\/\).*/{ s//\1/; q; }
12393 test ! -n "$as_dirs" || mkdir $as_dirs
12394 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12395 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12396 { (exit 1); exit 1; }; }; }
12400 if test "$ac_dir" != .; then
12401 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12402 # A "../" for each directory in $ac_dir_suffix.
12403 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12405 ac_dir_suffix= ac_top_builddir=
12409 .) # No --srcdir option. We are building in place.
12411 if test -z "$ac_top_builddir"; then
12414 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12416 [\\/]* | ?:[\\/]* ) # Absolute path.
12417 ac_srcdir=$srcdir$ac_dir_suffix;
12418 ac_top_srcdir=$srcdir ;;
12419 *) # Relative path.
12420 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12421 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12424 # Do not use `cd foo && pwd` to compute absolute paths, because
12425 # the directories may not exist.
12427 .) ac_abs_builddir="$ac_dir";;
12430 .) ac_abs_builddir=`pwd`;;
12431 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12432 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12435 case $ac_abs_builddir in
12436 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12438 case ${ac_top_builddir}. in
12439 .) ac_abs_top_builddir=$ac_abs_builddir;;
12440 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12441 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12444 case $ac_abs_builddir in
12445 .) ac_abs_srcdir=$ac_srcdir;;
12448 .) ac_abs_srcdir=$ac_abs_builddir;;
12449 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12450 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12453 case $ac_abs_builddir in
12454 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12456 case $ac_top_srcdir in
12457 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12458 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12459 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12464 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12465 echo "$as_me: executing $ac_dest commands" >&6;}
12467 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
12468 # Strip MF so we end up with the name of the file.
12469 mf=`echo "$mf" | sed -e 's/:.*$//'`
12470 # Check whether this is an Automake generated Makefile or not.
12471 # We used to match only the files named `Makefile.in', but
12472 # some people rename them; so instead we look at the file content.
12473 # Grep'ing the first line is not enough: some people post-process
12474 # each Makefile.in and add a new line on top of each file to say so.
12475 # So let's grep whole file.
12476 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
12477 dirpart=`(dirname "$mf") 2>/dev/null ||
12478 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12479 X"$mf" : 'X\(//\)[^/]' \| \
12480 X"$mf" : 'X\(//\)$' \| \
12481 X"$mf" : 'X\(/\)' \| \
12482 . : '\(.\)' 2>/dev/null ||
12484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12485 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12486 /^X\(\/\/\)$/{ s//\1/; q; }
12487 /^X\(\/\).*/{ s//\1/; q; }
12492 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
12493 # Extract the definition of DEP_FILES from the Makefile without
12495 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12496 test -z "$DEPDIR" && continue
12497 # When using ansi2knr, U may be empty or an underscore; expand it
12498 U=`sed -n 's/^U = //p' < "$mf"`
12499 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
12500 # We invoke sed twice because it is the simplest approach to
12501 # changing $(DEPDIR) to its actual value in the expansion.
12502 for file in `sed -n '
12503 /^DEP_FILES = .*\\\\$/ {
12512 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
12513 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12514 # Make sure the directory exists.
12515 test -f "$dirpart/$file" && continue
12516 fdir=`(dirname "$file") 2>/dev/null ||
12517 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12518 X"$file" : 'X\(//\)[^/]' \| \
12519 X"$file" : 'X\(//\)$' \| \
12520 X"$file" : 'X\(/\)' \| \
12521 . : '\(.\)' 2>/dev/null ||
12523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12524 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12525 /^X\(\/\/\)$/{ s//\1/; q; }
12526 /^X\(\/\).*/{ s//\1/; q; }
12528 { if $as_mkdir_p; then
12529 mkdir -p $dirpart/$fdir
12531 as_dir=$dirpart/$fdir
12533 while test ! -d "$as_dir"; do
12534 as_dirs="$as_dir $as_dirs"
12535 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12536 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12537 X"$as_dir" : 'X\(//\)[^/]' \| \
12538 X"$as_dir" : 'X\(//\)$' \| \
12539 X"$as_dir" : 'X\(/\)' \| \
12540 . : '\(.\)' 2>/dev/null ||
12542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12543 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12544 /^X\(\/\/\)$/{ s//\1/; q; }
12545 /^X\(\/\).*/{ s//\1/; q; }
12548 test ! -n "$as_dirs" || mkdir $as_dirs
12549 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
12550 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
12551 { (exit 1); exit 1; }; }; }
12553 # echo "creating $dirpart/$file"
12554 echo '# dummy' > "$dirpart/$file"
12562 cat >>$CONFIG_STATUS <<\_ACEOF
12564 { (exit 0); exit 0; }
12566 chmod +x $CONFIG_STATUS
12567 ac_clean_files=$ac_clean_files_save
12570 # configure is writing to config.log, and then calls config.status.
12571 # config.status does its own redirection, appending to config.log.
12572 # Unfortunately, on DOS this fails, as config.log is still kept open
12573 # by configure, so config.status won't be able to write to it; its
12574 # output is simply discarded. So we exec the FD to /dev/null,
12575 # effectively closing config.log, so it can be properly (re)opened and
12576 # appended to by config.status. When coming back to configure, we
12577 # need to make the FD available again.
12578 if test "$no_create" != yes; then
12580 ac_config_status_args=
12581 test "$silent" = yes &&
12582 ac_config_status_args="$ac_config_status_args --quiet"
12584 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12586 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12587 # would make configure fail if this is the last instruction.
12588 $ac_cs_success || { (exit 1); exit 1; }
12593 # ======================================================================
12594 # generate orte/include/orte/orte_config.h
12595 # ======================================================================
12597 { echo "$as_me:$LINENO: creating orte/include/orte/orte_config.h" >&5
12598 echo "$as_me: creating orte/include/orte/orte_config.h" >&6;}
12599 sed -e "s/ PACKAGE/ ORTE_PACKAGE/" -e "s/ VERSION/ ORTE_VERSION/" \
12600 orte/include/orte/orte_config.h >orte/include/orte/orte_config.h.new
12601 if cmp -s orte/include/orte/orte_config.h.new orte/include/orte/orte_config.h; then
12602 rm orte/include/orte/orte_config.h.new
12603 { echo "$as_me:$LINENO: orte/include/orte/orte_config.h is unchanged" >&5
12604 echo "$as_me: orte/include/orte/orte_config.h is unchanged" >&6;}
12606 mv orte/include/orte/orte_config.h.new orte/include/orte/orte_config.h
12610 "------------------------------------------------------------------------
12611 Configuration ORTE:
12613 Source code location: ${srcdir}
12615 Compiler flags: ${CFLAGS}
12616 Host System Type: ${host}
12618 See orte_config.h for future configuration information.
12623 ------------------------------------------------------------------------"