X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5d2567eff4d3867fa2884e10b62a286d7a467da8..270e80029037e77694ef6514c2028334c2a43afc:/configure diff --git a/configure b/configure index 311500616b..4e0c1ecd29 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac Revision: 1.158 . +# From configure.ac Revision: 1.172 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for simgrid 3.3-cvs. # @@ -706,6 +706,8 @@ tagnames=${tagnames+${tagnames},}CXX tagnames=${tagnames+${tagnames},}F77 +tagnames=${tagnames+${tagnames},}GCJ + exec 7<&0 &1 # Name of the host. @@ -819,9 +821,22 @@ target target_cpu target_vendor target_os +GCJ +GCJFLAGS +am__leading_dot +DEPDIR +am__include +am__quote +AMDEP_TRUE +AMDEP_FALSE +AMDEPBACKSLASH +GCJDEPMODE +am__fastdepGCJ_TRUE +am__fastdepGCJ_FALSE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA +am__isrc CYGPATH_W PACKAGE VERSION @@ -836,7 +851,6 @@ INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE -am__leading_dot AMTAR am__tar am__untar @@ -847,12 +861,6 @@ CPPFLAGS ac_ct_CC EXEEXT OBJEXT -DEPDIR -am__include -am__quote -AMDEP_TRUE -AMDEP_FALSE -AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE @@ -880,8 +888,6 @@ GRAS_ARCH_32_BITS_FALSE PTH_STACK_GROWTH pth_skaddr_makecontext pth_sksize_makecontext -USE_SIMIX_TRUE -USE_SIMIX_FALSE GTNETS_CFLAGS GTNETS_LDFLAGS USE_GTNETS_TRUE @@ -901,6 +907,11 @@ abs_builddir abs_srcdir abs_top_builddir abs_top_srcdir +JAVAC +JAVA +JAR +HAVE_JAVA_TRUE +HAVE_JAVA_FALSE BASH WARNING LEX @@ -1509,14 +1520,13 @@ if test -n "$ac_init_help"; then Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors --enable-shared[=PKGS] build shared libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] - --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors --disable-libtool-lock avoid locking (might break parallel builds) - --enable-simix Use the new SimIX module (default=no) --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --enable-compile-warnings @@ -1525,6 +1535,8 @@ Optional Features: --disable-compile-optimizations use compiler optimizations (default=yes, unless if CFLAGS is explicitly set) + --disable-java To not compile the Java bindings even if the tools + are found Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -2152,8 +2164,241 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo done +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +fi + + +{ echo "$as_me:$LINENO: result: $_am_result" >&5 +echo "${ECHO_T}$_am_result" >&6; } +rm -f confinc confmf + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + + +for ac_prog in gcj gcj-3.2 gcj-3.1 gcj-3.0 gcj-2.95 +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$GCJ"; then + ac_cv_prog_GCJ="$GCJ" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_GCJ="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +GCJ=$ac_cv_prog_GCJ +if test -n "$GCJ"; then + { echo "$as_me:$LINENO: result: $GCJ" >&5 +echo "${ECHO_T}$GCJ" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$GCJ" && break +done +test -n "$GCJ" || GCJ="gcj" + +test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5 +echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;} + { (exit 1); exit 1; }; } +if test "x${GCJFLAGS-unset}" = xunset; then + GCJFLAGS="-g -O2" +fi + + +depcc="$GCJ" am_compiler_list='gcc3 gcc' + +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } +if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_GCJ_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_GCJ_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_GCJ_dependencies_compiler_type=none +fi + +fi +{ echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5 +echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6; } +GCJDEPMODE=depmode=$am_cv_GCJ_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3; then + am__fastdepGCJ_TRUE= + am__fastdepGCJ_FALSE='#' +else + am__fastdepGCJ_TRUE='#' + am__fastdepGCJ_FALSE= +fi + + + + +am__api_version='1.10' -am__api_version="1.9" # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: @@ -2305,38 +2550,53 @@ else echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi -if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then - # We used to keeping the `.' as first argument, in order to - # allow $(mkdir_p) to be used without argument. As in - # $(mkdir_p) $(somedir) - # where $(somedir) is conditionally defined. However this is wrong - # for two reasons: - # 1. if the package is installed by a user who cannot write `.' - # make install will fail, - # 2. the above comment should most certainly read - # $(mkdir_p) $(DESTDIR)$(somedir) - # so it does not work when $(somedir) is undefined and - # $(DESTDIR) is not. - # To support the latter case, we have to write - # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), - # so the `.' trick is pointless. - mkdir_p='mkdir -p --' -else - # On NextStep and OpenStep, the `mkdir' command does not - # recognize any option. It will interpret all options as - # directories to create, and then abort because `.' already - # exists. - for d in ./-p ./--version; - do - test -d $d && rmdir $d - done - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. - if test -f "$ac_aux_dir/mkinstalldirs"; then - mkdir_p='$(mkinstalldirs)' +{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 +echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } +if test -z "$MKDIR_P"; then + if test "${ac_cv_path_mkdir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done +done +IFS=$as_save_IFS + +fi + + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" else - mkdir_p='$(install_sh) -d' + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + test -d ./--version && rmdir ./--version + MKDIR_P="$ac_install_sh -d" fi fi +{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5 +echo "${ECHO_T}$MKDIR_P" >&6; } + +mkdir_p="$MKDIR_P" +case $mkdir_p in + [\\/$]* | ?:[\\/]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac for ac_prog in gawk mawk nawk awk do @@ -2410,21 +2670,16 @@ echo "${ECHO_T}no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi -rm -rf .tst 2>/dev/null -mkdir .tst 2>/dev/null -if test -d .tst; then - am__leading_dot=. -else - am__leading_dot=_ -fi -rmdir .tst 2>/dev/null - -# test to see if srcdir already configured -if test "`cd $srcdir && pwd`" != "`pwd`" && - test -f $srcdir/config.status; then - { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } + fi fi # test whether we have cygpath @@ -2467,7 +2722,7 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} -install_sh=${install_sh-"$am_aux_dir/install-sh"} +install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right @@ -2571,7 +2826,7 @@ else fi fi -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. @@ -2665,71 +2920,6 @@ else fi -DEPDIR="${am__leading_dot}deps" - -ac_config_commands="$ac_config_commands depfiles" - - -am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo done -.PHONY: am__doit -END -# If we don't find an include directive, just comment out the code. -{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } -am__include="#" -am__quote= -_am_result=none -# First try GNU make style include. -echo "include confinc" > confmf -# We grep out `Entering directory' and `Leaving directory' -# messages which can occur if `w' ends up in MAKEFLAGS. -# In particular we don't look at `^make:' because GNU make might -# be invoked under some other name (usually "gmake"), in which -# case it prints its new name instead of `make'. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then - am__include=include - am__quote= - _am_result=GNU -fi -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then - am__include=.include - am__quote="\"" - _am_result=BSD - fi -fi - - -{ echo "$as_me:$LINENO: result: $_am_result" >&5 -echo "${ECHO_T}$_am_result" >&6; } -rm -f confinc confmf - -# Check whether --enable-dependency-tracking was given. -if test "${enable_dependency_tracking+set}" = set; then - enableval=$enable_dependency_tracking; -fi - -if test "x$enable_dependency_tracking" != xno; then - am_depcomp="$ac_aux_dir/depcomp" - AMDEPBACKSLASH='\' -fi - - -if test "x$enable_dependency_tracking" != xno; then - AMDEP_TRUE= - AMDEP_FALSE='#' -else - AMDEP_TRUE='#' - AMDEP_FALSE= -fi - - - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -3716,6 +3906,7 @@ else depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then @@ -3745,9 +3936,7 @@ fi echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - - -if + if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= @@ -4399,7 +4588,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 4402 "configure"' > conftest.$ac_ext + echo '#line 4591 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -5918,6 +6107,7 @@ else depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then @@ -5947,9 +6137,7 @@ fi echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type - - -if + if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then am__fastdepCXX_TRUE= @@ -7162,11 +7350,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7165: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7353: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7169: \$? = $ac_status" >&5 + echo "$as_me:7357: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -7430,11 +7618,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7433: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7621: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7437: \$? = $ac_status" >&5 + echo "$as_me:7625: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -7534,11 +7722,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7537: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7725: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:7541: \$? = $ac_status" >&5 + echo "$as_me:7729: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -9831,7 +10019,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:12458: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:12274: \$? = $ac_status" >&5 + echo "$as_me:12462: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -12371,11 +12559,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:12374: $lt_compile\"" >&5) + (eval echo "\"\$as_me:12562: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:12378: \$? = $ac_status" >&5 + echo "$as_me:12566: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -13932,11 +14120,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13935: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14123: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13939: \$? = $ac_status" >&5 + echo "$as_me:14127: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -14036,11 +14224,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:14039: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14227: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:14043: \$? = $ac_status" >&5 + echo "$as_me:14231: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -16223,11 +16411,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16226: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16414: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:16230: \$? = $ac_status" >&5 + echo "$as_me:16418: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16491,11 +16679,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16494: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16682: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:16498: \$? = $ac_status" >&5 + echo "$as_me:16686: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16595,11 +16783,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16598: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16786: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16602: \$? = $ac_status" >&5 + echo "$as_me:16790: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -19243,6 +19431,9 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool' + + + @@ -19803,6 +19994,7 @@ else depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then @@ -19832,9 +20024,7 @@ fi echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type - - -if + if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= @@ -23760,9 +23950,7 @@ _ACEOF { echo "$as_me:$LINENO: result: $gras_arch ($gras_arch_name)" >&5 echo "${ECHO_T}$gras_arch ($gras_arch_name)" >&6; } - - -if test "$gras_size" = 32; then + if test "$gras_size" = 32; then GRAS_ARCH_32_BITS_TRUE= GRAS_ARCH_32_BITS_FALSE='#' else @@ -25052,46 +25240,6 @@ fi fi - -######################################### -## Build optional modules (simix) -## - - { echo "$as_me:$LINENO: result: " >&5 -echo "${ECHO_T}" >&6; } - { echo "$as_me:$LINENO: result: ${T_MD}Optional modules${T_ME}" >&5 -echo "${ECHO_T}${T_MD}Optional modules${T_ME}" >&6; } - -# Check whether --enable-simix was given. -if test "${enable_simix+set}" = set; then - enableval=$enable_simix; enable_simix=$enableval -else - enable_simix=no -fi - -if test "x$enable_simix" = "xyes" ; then - { echo "$as_me:$LINENO: result: ***** You have decided to use the experimental SimIX. We hope you know what you're doing.. ****" >&5 -echo "${ECHO_T}***** You have decided to use the experimental SimIX. We hope you know what you're doing.. ****" >&6; } - -cat >>confdefs.h <<\_ACEOF -#define USE_SIMIX 1 -_ACEOF - -else - { echo "$as_me:$LINENO: result: Eventually you will come to SimIX." >&5 -echo "${ECHO_T}Eventually you will come to SimIX." >&6; } -fi - - -if test x$enable_simix != xno; then - USE_SIMIX_TRUE= - USE_SIMIX_FALSE='#' -else - USE_SIMIX_TRUE='#' - USE_SIMIX_FALSE= -fi - - ######################################### ## Check for libraries extra-dependencies ## @@ -25139,9 +25287,7 @@ echo "$as_me: error: Provided path to GTNetS include files ($gtnets_path) do not SIMGRID_DEP="$SIMGRID_DEP $GTNETS_LDFLAGS -lgtnets" fi - - -if test "x$gtnets_path" != xNO; then + if test "x$gtnets_path" != xNO; then USE_GTNETS_TRUE= USE_GTNETS_FALSE='#' else @@ -25156,8 +25302,10 @@ if test xpthread=xyes ; then # if we use them to implement the xbt_context SIMGRID_DEP="-lpthread" fi - # we need them in any case for the gras lib (which is multithreaded) - GRAS_DEP="-lpthread" + # we need them in any case for the gras lib (which is multithreaded), but on windows (of course) + if test "x$with_context" != "xwindows" ; then + GRAS_DEP="-lpthread" + fi fi { echo "$as_me:$LINENO: checking for csdp" >&5 @@ -25243,9 +25391,7 @@ else { echo "$as_me:$LINENO: result: Could not find any working sdp library." >&5 echo "${ECHO_T}Could not find any working sdp library." >&6; } fi; - - -if test x$csdp != xno; then + if test x$csdp != xno; then HAVE_SDP_TRUE= HAVE_SDP_FALSE='#' else @@ -25408,7 +25554,6 @@ echo "${ECHO_T}$GRAS_DEP" >&6; } fi - ############################################## ## Enhance maintainer mode and SUBST variables ## (must be placed after any compilation tests since our overprotective flags @@ -25421,9 +25566,7 @@ if test x$gramine_mode = xyes then USE_MAINTAINER_MODE=no fi - - -if test x$gramine_mode != xno; then + if test x$gramine_mode != xno; then GRAMINE_MODE_TRUE= GRAMINE_MODE_FALSE='#' else @@ -25444,9 +25587,7 @@ fi { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } - - -if test $USE_MAINTAINER_MODE = yes; then + if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else @@ -25457,121 +25598,435 @@ fi MAINT=$MAINTAINER_MODE_TRUE -if test x$USE_MAINTAINER_MODE = xyes -then - # Maintainers have no choice ! I'm a BOFH, and I plainly assume. [Mt] - enable_compile_warnings=yes +if test x$USE_MAINTAINER_MODE = xyes +then + # Maintainers have no choice ! I'm a BOFH, and I plainly assume. [Mt] + enable_compile_warnings=yes +fi + + # Check whether --enable-compile-warnings was given. +if test "${enable_compile_warnings+set}" = set; then + enableval=$enable_compile_warnings; enable_compile_warnings=$enableval +else + enable_compile_warnings=no +fi + + + # Check whether --enable-compile-optimizations was given. +if test "${enable_compile_optimizations+set}" = set; then + enableval=$enable_compile_optimizations; enable_compile_optimizations=$enableval +else + enable_compile_optimizations=auto +fi + + + if test "x$cflags_set" != "xyes" ; then + # if user didn't specify CFLAGS explicitely + + # AC PROG CC tests whether -g is accepted. + # Cool, but it also tries to set -O2. I don't want it with gcc + saveCFLAGS="$CFLAGS" + CFLAGS= + case " $saveCFLAGS " in + *-g*) CFLAGS="-g" ;; + esac + case " $saveCFLAGS " in + *-O2*) test "x$CC" = xgcc || CFLAGS="$CFLAGS -O2" ;; + esac + + # damn AC PROG CC, why did you set -O?? + CFLAGS="-g" + fi + + if test "x$enable_compile_warnings" = "xyes" ; then + { echo "$as_me:$LINENO: checking the warning flags for this compiler" >&5 +echo $ECHO_N "checking the warning flags for this compiler... $ECHO_C" >&6; } + warnCFLAGS= + if test "x$CC" = "xgcc" || test "x$GCC" = "xyes" ; then + case " $CFLAGS " in + *-Wall*) ;; + *) warnCFLAGS="-Wall -Wunused" ;; + esac + + ## -W is not all that useful. And it cannot be controlled + ## with individual -Wno-xxx flags, unlike -Wall + + ## -Wformat=2 chokes on the snprintf replacement because the format is passed to real sprintf + ## -Wshadow chokes on try{ try{} } constructs + if test "x$enable_compile_warnings" = "xyes"; then + warnCFLAGS=`echo $warnCFLAGS -Wmissing-prototypes -Wmissing-declarations \ + -Wpointer-arith -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings \ + -Wno-unused-function \ + -Werror \ + | sed 's/ +/ /g'` + # -Wno-unused-variable -Wno-unused-label + fi + fi + { echo "$as_me:$LINENO: result: $warnCFLAGS" >&5 +echo "${ECHO_T}$warnCFLAGS" >&6; } + # placed before since gcc remembers the last one on conflict + CFLAGS="$warnCFLAGS $CFLAGS" + fi + + if test "x$enable_compile_optimizations" = "xyes" || + test "x$enable_compile_optimizations" = "xauto" ; then + { echo "$as_me:$LINENO: checking the optimization flags for this compiler" >&5 +echo $ECHO_N "checking the optimization flags for this compiler... $ECHO_C" >&6; } + optCFLAGS= + if test "x$CC" = "xgcc" || test "x$GCC" = "xyes" ; then + case " $CFLAGS " in + *-O*) ;; + *) optCFLAGS="$optCFLAGS -O3" ;; + esac + optCFLAGS="$optCFLAGS -finline-functions -ffast-math -funroll-loops -fno-strict-aliasing" + + GCC_VER=`gcc --version | head -n 1 | sed 's/^^0-9*\(^ *\).*$/\1/'` + GCC_VER_MAJ=`echo $GCC_VER | sed 's/^\(.\).*$/\1/'` + if test "x$target_cpu" = "xpowerpc" && test "x$GCC_VER_MAJ" != "x2" ; then + # avoid gcc bug #12828, which is fixed in 3.4.0, but this version + # isn't propagated enough to desserve an extra check + + # Note that the flag didn't exist before gcc 3.0 + optCFLAGS="$optCFLAGS -fno-loop-optimize" + fi + fi + { echo "$as_me:$LINENO: result: $optCFLAGS" >&5 +echo "${ECHO_T}$optCFLAGS" >&6; } + # Take it only if CFLAGS not explicitly set. Unless the flag was explicitly given + if test "x$cflags_set" != "xyes" ; then + CFLAGS="$optCFLAGS $CFLAGS" + fi + fi + + if test x$lt_cv_prog_gnu_ld = xyes ; then + LD_DYNAMIC_FLAGS=-Wl,--export-dynamic + else + LD_DYNAMIC_FLAGS= + fi + + + + + + + + + + + + + + + + { echo "$as_me:$LINENO: result: " >&5 +echo "${ECHO_T}" >&6; } + { echo "$as_me:$LINENO: result: ${T_MD}Check for Java bindings...${T_ME}" >&5 +echo "${ECHO_T}${T_MD}Check for Java bindings...${T_ME}" >&6; } + +# Java cruft +# Check whether --enable-java was given. +if test "${enable_java+set}" = set; then + enableval=$enable_java; want_java=$enableval +else + want_java=yes +fi + +if test "x$want_java" != "xyes" ; then + { echo "$as_me:$LINENO: checking whether to compile java bindings" >&5 +echo $ECHO_N "checking whether to compile java bindings... $ECHO_C" >&6; } + { echo "$as_me:$LINENO: result: disabled by user" >&5 +echo "${ECHO_T}disabled by user" >&6; } + use_java="disabled by user" +else + # Extract the first word of "javac", so it can be a program name with args. +set dummy javac; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_JAVAC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $JAVAC in + [\\/]* | ?:[\\/]*) + ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + test -z "$ac_cv_path_JAVAC" && ac_cv_path_JAVAC="`which javac`" + ;; +esac +fi +JAVAC=$ac_cv_path_JAVAC +if test -n "$JAVAC"; then + { echo "$as_me:$LINENO: result: $JAVAC" >&5 +echo "${ECHO_T}$JAVAC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + # Extract the first word of "java ", so it can be a program name with args. +set dummy java ; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_JAVA+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $JAVA in + [\\/]* | ?:[\\/]*) + ac_cv_path_JAVA="$JAVA" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + test -z "$ac_cv_path_JAVA" && ac_cv_path_JAVA="`which java`" + ;; +esac +fi +JAVA=$ac_cv_path_JAVA +if test -n "$JAVA"; then + { echo "$as_me:$LINENO: result: $JAVA" >&5 +echo "${ECHO_T}$JAVA" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + # Extract the first word of "jar ", so it can be a program name with args. +set dummy jar ; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_JAR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $JAR in + [\\/]* | ?:[\\/]*) + ac_cv_path_JAR="$JAR" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_JAR="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + test -z "$ac_cv_path_JAR" && ac_cv_path_JAR="`which jar`" + ;; +esac +fi +JAR=$ac_cv_path_JAR +if test -n "$JAR"; then + { echo "$as_me:$LINENO: result: $JAR" >&5 +echo "${ECHO_T}$JAR" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + +for ac_header in jni.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + { echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +else + # Is the header compilable? +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no fi - # Check whether --enable-compile-warnings was given. -if test "${enable_compile_warnings+set}" = set; then - enableval=$enable_compile_warnings; enable_compile_warnings=$enableval +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6; } + +# Is the header present? +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes else - enable_compile_warnings=no + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no fi +rm -f conftest.err conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6; } - # Check whether --enable-compile-optimizations was given. -if test "${enable_compile_optimizations+set}" = set; then - enableval=$enable_compile_optimizations; enable_compile_optimizations=$enableval +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( cat <<\_ASBOX +## -------------------------------------------------- ## +## Report this to simgrid-devel@lists.gforge.inria.fr ## +## -------------------------------------------------- ## +_ASBOX + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +{ echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - enable_compile_optimizations=auto + eval "$as_ac_Header=\$ac_header_preproc" fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF - if test "x$cflags_set" != "xyes" ; then - # if user didn't specify CFLAGS explicitely - - # AC PROG CC tests whether -g is accepted. - # Cool, but it also tries to set -O2. I don't want it with gcc - saveCFLAGS="$CFLAGS" - CFLAGS= - case " $saveCFLAGS " in - *-g*) CFLAGS="-g" ;; - esac - case " $saveCFLAGS " in - *-O2*) test "x$CC" = xgcc || CFLAGS="$CFLAGS -O2" ;; - esac - - # damn AC PROG CC, why did you set -O?? - CFLAGS="-g" - fi - - if test "x$enable_compile_warnings" = "xyes" ; then - { echo "$as_me:$LINENO: checking the warning flags for this compiler" >&5 -echo $ECHO_N "checking the warning flags for this compiler... $ECHO_C" >&6; } - warnCFLAGS= - if test "x$CC" = "xgcc" || test "x$GCC" = "xyes" ; then - case " $CFLAGS " in - *-Wall*) ;; - *) warnCFLAGS="-Wall -Wunused" ;; - esac - - ## -W is not all that useful. And it cannot be controlled - ## with individual -Wno-xxx flags, unlike -Wall - - ## -Wformat=2 chokes on the snprintf replacement because the format is passed to real sprintf - ## -Wshadow chokes on try{ try{} } constructs - if test "x$enable_compile_warnings" = "xyes"; then - warnCFLAGS=`echo $warnCFLAGS -Wmissing-prototypes -Wmissing-declarations \ - -Wpointer-arith -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings \ - -Wno-unused-function \ - -Werror \ - | sed 's/ +/ /g'` - # -Wno-unused-variable -Wno-unused-label - fi - fi - { echo "$as_me:$LINENO: result: $warnCFLAGS" >&5 -echo "${ECHO_T}$warnCFLAGS" >&6; } - # placed before since gcc remembers the last one on conflict - CFLAGS="$warnCFLAGS $CFLAGS" - fi - - if test "x$enable_compile_optimizations" = "xyes" || - test "x$enable_compile_optimizations" = "xauto" ; then - { echo "$as_me:$LINENO: checking the optimization flags for this compiler" >&5 -echo $ECHO_N "checking the optimization flags for this compiler... $ECHO_C" >&6; } - optCFLAGS= - if test "x$CC" = "xgcc" || test "x$GCC" = "xyes" ; then - case " $CFLAGS " in - *-O*) ;; - *) optCFLAGS="$optCFLAGS -O3" ;; - esac - optCFLAGS="$optCFLAGS -finline-functions -ffast-math -funroll-loops -fno-strict-aliasing" +fi - GCC_VER=`gcc --version | head -n 1 | sed 's/^^0-9*\(^ *\).*$/\1/'` - GCC_VER_MAJ=`echo $GCC_VER | sed 's/^\(.\).*$/\1/'` - if test "x$target_cpu" = "xpowerpc" && test "x$GCC_VER_MAJ" != "x2" ; then - # avoid gcc bug #12828, which is fixed in 3.4.0, but this version - # isn't propagated enough to desserve an extra check +done - # Note that the flag didn't exist before gcc 3.0 - optCFLAGS="$optCFLAGS -fno-loop-optimize" - fi - fi - { echo "$as_me:$LINENO: result: $optCFLAGS" >&5 -echo "${ECHO_T}$optCFLAGS" >&6; } - # Take it only if CFLAGS not explicitly set. Unless the flag was explicitly given - if test "x$cflags_set" != "xyes" ; then - CFLAGS="$optCFLAGS $CFLAGS" - fi - fi + { echo "$as_me:$LINENO: checking whether to compile java bindings" >&5 +echo $ECHO_N "checking whether to compile java bindings... $ECHO_C" >&6; } + if test -n "$JAVAC" \ + && test -n "$JAVA" \ + && test -n "$JAR" \ + && test "x$ac_cv_header_jni_h" = "xyes" ; then - if test x$lt_cv_prog_gnu_ld = xyes ; then - LD_DYNAMIC_FLAGS=-Wl,--export-dynamic + use_java="yes" else - LD_DYNAMIC_FLAGS= + use_java="no" fi - - - - - - - - - - + { echo "$as_me:$LINENO: result: $use_java" >&5 +echo "${ECHO_T}$use_java" >&6; } +fi + if test "x$use_java" = "xyes"; then + HAVE_JAVA_TRUE= + HAVE_JAVA_FALSE='#' +else + HAVE_JAVA_TRUE='#' + HAVE_JAVA_FALSE= +fi ##################### @@ -25910,9 +26365,7 @@ echo "${ECHO_T}no" >&6; } fi - - -if test x$FLEXML != xNOTFOUND; then + if test x$FLEXML != xNOTFOUND; then HAVE_FLEXML_TRUE= HAVE_FLEXML_FALSE='#' else @@ -26117,7 +26570,12 @@ ac_config_files="$ac_config_files doc/Makefile doc/Doxyfile" # examples/gras/p2p/chord/Makefile # examples/gras/p2p/can/Makefile -ac_config_files="$ac_config_files examples/Makefile examples/msg/Makefile examples/msg/basic.tesh examples/msg/small_plat.tesh examples/msg/suspend.tesh examples/msg/flexml_bypass.tesh examples/simdag/Makefile examples/simdag/test_simdag examples/gras/Makefile examples/gras/ping/Makefile examples/gras/rpc/Makefile examples/gras/timer/Makefile examples/gras/chrono/Makefile examples/gras/mutual_exclusion/simple_token/Makefile examples/gras/mmrpc/Makefile examples/gras/pmm/Makefile examples/gras/all2all/Makefile examples/amok/Makefile examples/amok/bandwidth/Makefile examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl examples/amok/saturate/Makefile examples/amok/saturate/test_sg examples/amok/saturate/test_rl" +if test "x$use_java" = "xyes" ; then +ac_config_files="$ac_config_files examples/java/Makefile examples/java/basic/Makefile examples/java/comm_time/Makefile examples/java/suspend/Makefile examples/java/ping_pong/Makefile" + +fi + +ac_config_files="$ac_config_files examples/Makefile examples/msg/Makefile examples/simdag/Makefile examples/simdag/test_simdag examples/gras/Makefile examples/gras/ping/Makefile examples/gras/rpc/Makefile examples/gras/spawn/Makefile examples/gras/synchro/Makefile examples/gras/timer/Makefile examples/gras/chrono/Makefile examples/gras/mutual_exclusion/simple_token/Makefile examples/gras/mmrpc/Makefile examples/gras/pmm/Makefile examples/gras/all2all/Makefile examples/amok/Makefile examples/amok/bandwidth/Makefile examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl examples/amok/saturate/Makefile examples/amok/saturate/test_sg examples/amok/saturate/test_rl" @@ -26226,6 +26684,13 @@ echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi +if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 @@ -26254,13 +26719,6 @@ echo "$as_me: error: conditional \"GRAS_ARCH_32_BITS\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi -if test -z "${USE_SIMIX_TRUE}" && test -z "${USE_SIMIX_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"USE_SIMIX\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"USE_SIMIX\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi if test -z "${USE_GTNETS_TRUE}" && test -z "${USE_GTNETS_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"USE_GTNETS\" was never defined. Usually this means the macro was only invoked conditionally." >&5 @@ -26289,6 +26747,13 @@ echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi +if test -z "${HAVE_JAVA_TRUE}" && test -z "${HAVE_JAVA_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"HAVE_JAVA\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"HAVE_JAVA\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi if test -z "${HAVE_FLEXML_TRUE}" && test -z "${HAVE_FLEXML_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"HAVE_FLEXML\" was never defined. Usually this means the macro was only invoked conditionally." >&5 @@ -26660,6 +27125,7 @@ gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF @@ -26778,17 +27244,20 @@ do "testsuite/gras/trp_file_usage") CONFIG_FILES="$CONFIG_FILES testsuite/gras/trp_file_usage" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;; + "examples/java/Makefile") CONFIG_FILES="$CONFIG_FILES examples/java/Makefile" ;; + "examples/java/basic/Makefile") CONFIG_FILES="$CONFIG_FILES examples/java/basic/Makefile" ;; + "examples/java/comm_time/Makefile") CONFIG_FILES="$CONFIG_FILES examples/java/comm_time/Makefile" ;; + "examples/java/suspend/Makefile") CONFIG_FILES="$CONFIG_FILES examples/java/suspend/Makefile" ;; + "examples/java/ping_pong/Makefile") CONFIG_FILES="$CONFIG_FILES examples/java/ping_pong/Makefile" ;; "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; "examples/msg/Makefile") CONFIG_FILES="$CONFIG_FILES examples/msg/Makefile" ;; - "examples/msg/basic.tesh") CONFIG_FILES="$CONFIG_FILES examples/msg/basic.tesh" ;; - "examples/msg/small_plat.tesh") CONFIG_FILES="$CONFIG_FILES examples/msg/small_plat.tesh" ;; - "examples/msg/suspend.tesh") CONFIG_FILES="$CONFIG_FILES examples/msg/suspend.tesh" ;; - "examples/msg/flexml_bypass.tesh") CONFIG_FILES="$CONFIG_FILES examples/msg/flexml_bypass.tesh" ;; "examples/simdag/Makefile") CONFIG_FILES="$CONFIG_FILES examples/simdag/Makefile" ;; "examples/simdag/test_simdag") CONFIG_FILES="$CONFIG_FILES examples/simdag/test_simdag" ;; "examples/gras/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/Makefile" ;; "examples/gras/ping/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/ping/Makefile" ;; "examples/gras/rpc/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/rpc/Makefile" ;; + "examples/gras/spawn/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/spawn/Makefile" ;; + "examples/gras/synchro/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/synchro/Makefile" ;; "examples/gras/timer/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/timer/Makefile" ;; "examples/gras/chrono/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/chrono/Makefile" ;; "examples/gras/mutual_exclusion/simple_token/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/mutual_exclusion/simple_token/Makefile" ;; @@ -26913,9 +27382,22 @@ target!$target$ac_delim target_cpu!$target_cpu$ac_delim target_vendor!$target_vendor$ac_delim target_os!$target_os$ac_delim +GCJ!$GCJ$ac_delim +GCJFLAGS!$GCJFLAGS$ac_delim +am__leading_dot!$am__leading_dot$ac_delim +DEPDIR!$DEPDIR$ac_delim +am__include!$am__include$ac_delim +am__quote!$am__quote$ac_delim +AMDEP_TRUE!$AMDEP_TRUE$ac_delim +AMDEP_FALSE!$AMDEP_FALSE$ac_delim +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim +GCJDEPMODE!$GCJDEPMODE$ac_delim +am__fastdepGCJ_TRUE!$am__fastdepGCJ_TRUE$ac_delim +am__fastdepGCJ_FALSE!$am__fastdepGCJ_FALSE$ac_delim INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim INSTALL_DATA!$INSTALL_DATA$ac_delim +am__isrc!$am__isrc$ac_delim CYGPATH_W!$CYGPATH_W$ac_delim PACKAGE!$PACKAGE$ac_delim VERSION!$VERSION$ac_delim @@ -26930,7 +27412,6 @@ INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim mkdir_p!$mkdir_p$ac_delim AWK!$AWK$ac_delim SET_MAKE!$SET_MAKE$ac_delim -am__leading_dot!$am__leading_dot$ac_delim AMTAR!$AMTAR$ac_delim am__tar!$am__tar$ac_delim am__untar!$am__untar$ac_delim @@ -26941,12 +27422,6 @@ CPPFLAGS!$CPPFLAGS$ac_delim ac_ct_CC!$ac_ct_CC$ac_delim EXEEXT!$EXEEXT$ac_delim OBJEXT!$OBJEXT$ac_delim -DEPDIR!$DEPDIR$ac_delim -am__include!$am__include$ac_delim -am__quote!$am__quote$ac_delim -AMDEP_TRUE!$AMDEP_TRUE$ac_delim -AMDEP_FALSE!$AMDEP_FALSE$ac_delim -AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim CCDEPMODE!$CCDEPMODE$ac_delim am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim @@ -26955,12 +27430,6 @@ EGREP!$EGREP$ac_delim LN_S!$LN_S$ac_delim ECHO!$ECHO$ac_delim AR!$AR$ac_delim -RANLIB!$RANLIB$ac_delim -DLLTOOL!$DLLTOOL$ac_delim -AS!$AS$ac_delim -OBJDUMP!$OBJDUMP$ac_delim -CPP!$CPP$ac_delim -CXX!$CXX$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then @@ -27002,6 +27471,12 @@ _ACEOF ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF +RANLIB!$RANLIB$ac_delim +DLLTOOL!$DLLTOOL$ac_delim +AS!$AS$ac_delim +OBJDUMP!$OBJDUMP$ac_delim +CPP!$CPP$ac_delim +CXX!$CXX$ac_delim CXXFLAGS!$CXXFLAGS$ac_delim ac_ct_CXX!$ac_ct_CXX$ac_delim CXXDEPMODE!$CXXDEPMODE$ac_delim @@ -27015,8 +27490,6 @@ GRAS_ARCH_32_BITS_FALSE!$GRAS_ARCH_32_BITS_FALSE$ac_delim PTH_STACK_GROWTH!$PTH_STACK_GROWTH$ac_delim pth_skaddr_makecontext!$pth_skaddr_makecontext$ac_delim pth_sksize_makecontext!$pth_sksize_makecontext$ac_delim -USE_SIMIX_TRUE!$USE_SIMIX_TRUE$ac_delim -USE_SIMIX_FALSE!$USE_SIMIX_FALSE$ac_delim GTNETS_CFLAGS!$GTNETS_CFLAGS$ac_delim GTNETS_LDFLAGS!$GTNETS_LDFLAGS$ac_delim USE_GTNETS_TRUE!$USE_GTNETS_TRUE$ac_delim @@ -27036,6 +27509,11 @@ abs_builddir!$abs_builddir$ac_delim abs_srcdir!$abs_srcdir$ac_delim abs_top_builddir!$abs_top_builddir$ac_delim abs_top_srcdir!$abs_top_srcdir$ac_delim +JAVAC!$JAVAC$ac_delim +JAVA!$JAVA$ac_delim +JAR!$JAR$ac_delim +HAVE_JAVA_TRUE!$HAVE_JAVA_TRUE$ac_delim +HAVE_JAVA_FALSE!$HAVE_JAVA_FALSE$ac_delim BASH!$BASH$ac_delim WARNING!$WARNING$ac_delim LEX!$LEX$ac_delim @@ -27052,7 +27530,7 @@ build_id!$build_id$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 48; then + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 57; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 @@ -27279,6 +27757,11 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF @@ -27332,6 +27815,7 @@ s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out @@ -27496,8 +27980,9 @@ echo "$as_me: executing $ac_file commands" >&6;} # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. - # So let's grep whole file. - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ @@ -27653,8 +28138,9 @@ done "examples/Makefile":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done @@ -27662,89 +28148,79 @@ done "examples/msg/Makefile":F) for file in \ \ - examples/msg/run_msg_test \ - examples/simdag/test_simdag \ - ; do \ - test -e $file && chmod +x $file; \ - done - ;; - "examples/msg/basic.tesh":F) - for file in \ - \ - examples/msg/run_msg_test \ - examples/simdag/test_simdag \ - ; do \ - test -e $file && chmod +x $file; \ - done - ;; - "examples/msg/small_plat.tesh":F) - for file in \ - \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done ;; - "examples/msg/suspend.tesh":F) + "examples/simdag/Makefile":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done ;; - "examples/msg/flexml_bypass.tesh":F) + "examples/simdag/test_simdag":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done ;; - "examples/simdag/Makefile":F) + "examples/gras/Makefile":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done ;; - "examples/simdag/test_simdag":F) + "examples/gras/ping/Makefile":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done ;; - "examples/gras/Makefile":F) + "examples/gras/rpc/Makefile":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done ;; - "examples/gras/ping/Makefile":F) + "examples/gras/spawn/Makefile":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done ;; - "examples/gras/rpc/Makefile":F) + "examples/gras/synchro/Makefile":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done @@ -27752,8 +28228,9 @@ done "examples/gras/timer/Makefile":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done @@ -27761,8 +28238,9 @@ done "examples/gras/chrono/Makefile":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done @@ -27770,8 +28248,9 @@ done "examples/gras/mutual_exclusion/simple_token/Makefile":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done @@ -27779,8 +28258,9 @@ done "examples/gras/mmrpc/Makefile":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done @@ -27788,8 +28268,9 @@ done "examples/gras/pmm/Makefile":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done @@ -27797,8 +28278,9 @@ done "examples/gras/all2all/Makefile":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done @@ -27806,8 +28288,9 @@ done "examples/amok/Makefile":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done @@ -27815,8 +28298,9 @@ done "examples/amok/bandwidth/Makefile":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done @@ -27824,8 +28308,9 @@ done "examples/amok/bandwidth/test_sg":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done @@ -27833,8 +28318,9 @@ done "examples/amok/bandwidth/test_rl":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done @@ -27842,8 +28328,9 @@ done "examples/amok/saturate/Makefile":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done @@ -27851,8 +28338,9 @@ done "examples/amok/saturate/test_sg":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done @@ -27860,8 +28348,9 @@ done "examples/amok/saturate/test_rl":F) for file in \ \ - examples/msg/run_msg_test \ examples/simdag/test_simdag \ + examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ + examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ ; do \ test -e $file && chmod +x $file; \ done