X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/92d240156b173432e445dd198b1311a845b3305a..5a18476fe103e7af163c301d9a21b7b5ebe50e1a:/configure diff --git a/configure b/configure index 4f04d2110f..8e76abf227 100755 --- a/configure +++ b/configure @@ -1,7 +1,7 @@ #! /bin/sh -# From configure.ac Revision: 1.136 . +# From configure.ac Revision: 1.154 . # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.61 for simgrid 3.1.1-cvs. +# Generated by GNU Autoconf 2.61 for simgrid 3.3-cvs. # # Report bugs to . # @@ -729,8 +729,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='simgrid' PACKAGE_TARNAME='simgrid' -PACKAGE_VERSION='3.1.1-cvs' -PACKAGE_STRING='simgrid 3.1.1-cvs' +PACKAGE_VERSION='3.3-cvs' +PACKAGE_STRING='simgrid 3.3-cvs' PACKAGE_BUGREPORT='simgrid-devel@lists.gforge.inria.fr' ac_unique_file="include/gras.h" @@ -881,7 +881,16 @@ LIBOBJS PTH_STACK_GROWTH pth_skaddr_makecontext pth_sksize_makecontext +USE_SIMIX_TRUE +USE_SIMIX_FALSE +GTNETS_CFLAGS +GTNETS_LDFLAGS +USE_GTNETS_TRUE +USE_GTNETS_FALSE +HAVE_SDP_TRUE +HAVE_SDP_FALSE SIMGRID_DEP +AM_CFLAGS GRAS_DEP GRAMINE_MODE_TRUE GRAMINE_MODE_FALSE @@ -1425,7 +1434,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures simgrid 3.1.1-cvs to adapt to many kinds of systems. +\`configure' configures simgrid 3.3-cvs to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1496,7 +1505,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of simgrid 3.1.1-cvs:";; + short | recursive ) echo "Configuration of simgrid 3.3-cvs:";; esac cat <<\_ACEOF @@ -1510,6 +1519,7 @@ Optional Features: --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 @@ -1527,7 +1537,10 @@ Optional Packages: both] --with-tags[=TAGS] include additional configurations [automatic] --with-pthread Use pthread instead of ucontext. + --with-pthreads Use pthread instead of ucontext. --with-context=ucontext/pthread Use either (System V) swapcontext or pthread [default=auto]. + --with-gtnets Path to GTNetS installation (default to empty, ie + not using GTNetS) Some influential environment variables: CC C compiler command @@ -1608,7 +1621,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -simgrid configure 3.1.1-cvs +simgrid configure 3.3-cvs generated by GNU Autoconf 2.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1622,7 +1635,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by simgrid $as_me 3.1.1-cvs, which was +It was created by simgrid $as_me 3.3-cvs, which was generated by GNU Autoconf 2.61. Invocation command line was $ $0 $@ @@ -2431,7 +2444,7 @@ fi # Define the identity of the package. PACKAGE='simgrid' - VERSION='3.1.1-cvs' + VERSION='3.3-cvs' cat >>confdefs.h <<_ACEOF @@ -4387,7 +4400,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 4390 "configure"' > conftest.$ac_ext + echo '#line 4403 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -7409,11 +7422,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:7412: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7425: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7416: \$? = $ac_status" >&5 + echo "$as_me:7429: \$? = $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. @@ -7677,11 +7690,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:7680: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7693: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7684: \$? = $ac_status" >&5 + echo "$as_me:7697: \$? = $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. @@ -7781,11 +7794,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:7784: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7797: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:7788: \$? = $ac_status" >&5 + echo "$as_me:7801: \$? = $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 @@ -10078,7 +10091,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:12530: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:12521: \$? = $ac_status" >&5 + echo "$as_me:12534: \$? = $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. @@ -12618,11 +12631,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:12621: $lt_compile\"" >&5) + (eval echo "\"\$as_me:12634: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:12625: \$? = $ac_status" >&5 + echo "$as_me:12638: \$? = $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 @@ -14179,11 +14192,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:14182: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14195: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:14186: \$? = $ac_status" >&5 + echo "$as_me:14199: \$? = $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. @@ -14283,11 +14296,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:14286: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14299: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:14290: \$? = $ac_status" >&5 + echo "$as_me:14303: \$? = $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 @@ -16470,11 +16483,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:16473: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16486: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:16477: \$? = $ac_status" >&5 + echo "$as_me:16490: \$? = $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. @@ -16738,11 +16751,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:16741: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16754: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:16745: \$? = $ac_status" >&5 + echo "$as_me:16758: \$? = $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. @@ -16842,11 +16855,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:16845: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16858: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16849: \$? = $ac_status" >&5 + echo "$as_me:16862: \$? = $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 @@ -21288,12 +21301,14 @@ done + for ac_func in gettimeofday usleep \ getdtablesize \ sysconf\ readv\ popen\ - signal + signal\ + getline do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -21826,10 +21841,6 @@ _ACEOF fi -# we don't use those: -# A C_CHECK_FUNC( asnprintf, :, A C_DEFINE(NEED_ASNPRINTF, 1, enable the asnprintf replacement)) -# A C_CHECK_FUNC(vasnprintf, :, A C_DEFINE(NEED_VASNPRINTF, 1, enable the vansprintf replacement)) - # Checks for typedefs, structures, and compiler characteristics. { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 @@ -24260,7 +24271,7 @@ ucontext_t uc_main; void child(void *arg) { - if (arg != (void *)2147483648) + if (arg != (void *)12345) exit(1); if (swapcontext(&uc_child, &uc_main) != 0) exit(2); @@ -24286,7 +24297,7 @@ int main(int argc, char *argv[]) uc_child.uc_stack.ss_sp = (char *)stack+(32*1024); uc_child.uc_stack.ss_size = 32*1024; uc_child.uc_stack.ss_flags = 0; - makecontext(&uc_child, child, 2, (void *)2147483648); + makecontext(&uc_child, child, 2, (void *)12345); /* switch into the user context */ if (swapcontext(&uc_main, &uc_child) != 0) @@ -24587,6 +24598,12 @@ if test "${with_pthread+set}" = set; then fi +# Check whether --with-pthread was given. +if test "${with_pthread+set}" = set; then + withval=$with_pthread; with_context=pthread +fi + + # Check whether --with-context was given. if test "${with_context+set}" = set; then @@ -24605,6 +24622,7 @@ fi case $with_context in ucontext) ;; pthread) ;; + pthreads) ;; windows) ;; auto) with_context=ucontext;; *) { { echo "$as_me:$LINENO: error: --with-context must be either ucontext or pthread" >&5 @@ -24618,7 +24636,7 @@ if test "x$with_context" = "xucontext" ; then echo "${ECHO_T}found working ucontext. Great!" >&6; } cat >>confdefs.h <<\_ACEOF -#define USE_UCONTEXT 1 +#define CONTEXT_UCONTEXT 1 _ACEOF else @@ -24634,6 +24652,9 @@ echo "${ECHO_T}no working ucontext found. Try pthreads as a fallback" >&6; } fi fi +if test "x$with_context" = "xpthreads"; then + with_context=pthread +fi if test "x$with_context" = "xpthread"; then for ac_header in pthread.h @@ -24850,14 +24871,14 @@ _ACEOF LIBS="-lpthread $LIBS" else - { { echo "$as_me:$LINENO: error: Cannot find pthreads, no way (try --with-context=ucontext if you haven't already tried)." >&5 -echo "$as_me: error: Cannot find pthreads, no way (try --with-context=ucontext if you haven't already tried)." >&2;} + { { echo "$as_me:$LINENO: error: Cannot find pthreads (try --with-context=ucontext if you haven't already tried)." >&5 +echo "$as_me: error: Cannot find pthreads (try --with-context=ucontext if you haven't already tried)." >&2;} { (exit 1); exit 1; }; } fi cat >>confdefs.h <<\_ACEOF -#define USE_PTHREADS 1 +#define CONTEXT_THREADS 1 _ACEOF { echo "$as_me:$LINENO: result: You have pthreads. Let's use them." >&5 @@ -25280,6 +25301,89 @@ 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 + + +######################################### +## Build optional modules (gtnets) +## + +# Check whether --with-gtnets was given. +if test "${with_gtnets+set}" = set; then + withval=$with_gtnets; gtnets_path="$withval" +else + gtnets_path="NO" +fi + +if test "x$gtnets_path" = "xNO" ; then + { echo "$as_me:$LINENO: result: Eventually you will come to GTNetS. $gtnets_path" >&5 +echo "${ECHO_T}Eventually you will come to GTNetS. $gtnets_path" >&6; } +else + { echo "$as_me:$LINENO: result: ***** You have decided to use the experimental GTNetS. We hope you know what you're doing.. ****" >&5 +echo "${ECHO_T}***** You have decided to use the experimental GTNetS. We hope you know what you're doing.. ****" >&6; } + +cat >>confdefs.h <<\_ACEOF +#define USE_GTNETS 1 +_ACEOF + + if ! test -e $gtnets_path ; then + { { echo "$as_me:$LINENO: error: Provided path to GTNetS include files ($gtnets_path) do not exist!" >&5 +echo "$as_me: error: Provided path to GTNetS include files ($gtnets_path) do not exist!" >&2;} + { (exit 1); exit 1; }; } + fi + GTNETS_CFLAGS=-I$gtnets_path/include + + GTNETS_LDFLAGS=-L$gtnets_path/lib + +fi + + +if test "x$gtnets_path" != xNO; then + USE_GTNETS_TRUE= + USE_GTNETS_FALSE='#' +else + USE_GTNETS_TRUE='#' + USE_GTNETS_FALSE= +fi + + ######################################### ## Check for libraries extra-dependencies ## @@ -25290,10 +25394,115 @@ echo "${ECHO_T}" >&6; } { echo "$as_me:$LINENO: result: ${T_MD}Checking extra libraries dependencies...${T_ME}" >&5 echo "${ECHO_T}${T_MD}Checking extra libraries dependencies...${T_ME}" >&6; } + SIMGRID_DEP="" +GRAS_DEP="" +if test xpthread=xyes ; then + # if the pthreads are usable + if test "x$with_context" = "xpthread" ; 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" +fi + +{ echo "$as_me:$LINENO: checking for csdp" >&5 +echo $ECHO_N "checking for csdp... $ECHO_C" >&6; } +sdp=no +{ echo "$as_me:$LINENO: checking for sdp in -lsdp" >&5 +echo $ECHO_N "checking for sdp in -lsdp... $ECHO_C" >&6; } +if test "${ac_cv_lib_sdp_sdp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsdp -llapack -lblas -lm $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char sdp (); +int +main () +{ +return sdp (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +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_link") 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_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_sdp_sdp=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_sdp_sdp=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_sdp_sdp" >&5 +echo "${ECHO_T}$ac_cv_lib_sdp_sdp" >&6; } +if test $ac_cv_lib_sdp_sdp = yes; then + csdp=yes +else + csdp=no +fi + +if test "x$csdp" = xyes; then + SIMGRID_DEP="$SIMGRID_DEP -lsdp -llapack -lblas -lm" + { echo "$as_me:$LINENO: result: Found working sdp library." >&5 +echo "${ECHO_T}Found working sdp library." >&6; } + +cat >>confdefs.h <<\_ACEOF +#define HAVE_SDP 1 +_ACEOF + +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 + HAVE_SDP_TRUE= + HAVE_SDP_FALSE='#' +else + HAVE_SDP_TRUE='#' + HAVE_SDP_FALSE= +fi + + -GRAS_DEP="" { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; } if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then @@ -25428,7 +25637,13 @@ fi { echo "$as_me:$LINENO: checking for extra dependencies of libgras" >&5 echo $ECHO_N "checking for extra dependencies of libgras... $ECHO_C" >&6; } case $host_os in - *mingw* ) GRAS_DEP="$GRAS_DEP -lws2_32" ; SIMGRID_DEP="$SIMGRID_DEP -lws2_32" ;; + *mingw* ) GRAS_DEP="$GRAS_DEP -lws2_32" ; SIMGRID_DEP="$SIMGRID_DEP -lws2_32"; + AM_CFLAGS=-DDLL_EXPORT + + cat >>confdefs.h <<\_ACEOF +#define CONTEXT_THREADS 1 +_ACEOF +;; esac if test "x$GRAS_DEP" = x; then @@ -25440,6 +25655,7 @@ echo "${ECHO_T}$GRAS_DEP" >&6; } fi + ############################################## ## Enhance maintainer mode and SUBST variables ## (must be placed after any compilation tests since our overprotective flags @@ -26123,7 +26339,8 @@ ac_config_files="$ac_config_files Makefile include/Makefile src/Makefile src/uco # Tools being embeeded in gramine (stub generator) -ac_config_files="$ac_config_files tools/Makefile tools/gras/Makefile" +ac_config_files="$ac_config_files tools/Makefile tools/gras/Makefile tools/tesh/Makefile" + # GRAMINE_CUT_BEGIN @@ -26143,7 +26360,7 @@ ac_config_files="$ac_config_files doc/Makefile doc/Doxyfile" # Examples -ac_config_files="$ac_config_files examples/Makefile examples/msg/Makefile examples/msg/run_msg_test examples/simdag/Makefile examples/simdag/test_simdag examples/gras/Makefile examples/gras/ping/Makefile examples/gras/ping/test_sg examples/gras/ping/test_rl examples/gras/rpc/Makefile examples/gras/rpc/test_sg examples/gras/rpc/test_rl examples/gras/timer/Makefile examples/gras/timer/test_sg examples/gras/timer/test_rl examples/gras/chrono/Makefile examples/gras/chrono/test_sg examples/gras/chrono/test_rl examples/gras/mutual_exclusion/simple_token/Makefile examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl examples/gras/mmrpc/Makefile examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl examples/gras/pmm/Makefile examples/gras/pmm/test_sg examples/gras/pmm/test_rl examples/gras/all2all/Makefile examples/gras/all2all/test_sg examples/gras/all2all/test_rl examples/gras/p2p/Makefile examples/gras/p2p/chord/Makefile examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl examples/gras/p2p/can/Makefile examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl 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" +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/ping/test_sg examples/gras/ping/test_rl examples/gras/rpc/Makefile examples/gras/rpc/test_sg examples/gras/rpc/test_rl examples/gras/timer/Makefile examples/gras/timer/test_sg examples/gras/timer/test_rl examples/gras/chrono/Makefile examples/gras/chrono/test_sg examples/gras/chrono/test_rl examples/gras/mutual_exclusion/simple_token/Makefile examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl examples/gras/mmrpc/Makefile examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl examples/gras/pmm/Makefile examples/gras/pmm/test_sg examples/gras/pmm/test_rl examples/gras/all2all/Makefile examples/gras/all2all/test_sg examples/gras/all2all/test_rl examples/gras/p2p/Makefile examples/gras/p2p/chord/Makefile examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl examples/gras/p2p/can/Makefile examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl 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" # examples/gras/chord/test_sg examples/gras/chord/test_rl \ @@ -26281,6 +26498,27 @@ echo "$as_me: error: conditional \"am__fastdepCC\" 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 +echo "$as_me: error: conditional \"USE_GTNETS\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${HAVE_SDP_TRUE}" && test -z "${HAVE_SDP_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"HAVE_SDP\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"HAVE_SDP\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi if test -z "${GRAMINE_MODE_TRUE}" && test -z "${GRAMINE_MODE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"GRAMINE_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 @@ -26602,7 +26840,7 @@ exec 6>&1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by simgrid $as_me 3.1.1-cvs, which was +This file was extended by simgrid $as_me 3.3-cvs, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -26655,7 +26893,7 @@ Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -simgrid config.status 3.1.1-cvs +simgrid config.status 3.3-cvs configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" @@ -26776,6 +27014,7 @@ do "src/ucontext_stack.h") CONFIG_FILES="$CONFIG_FILES src/ucontext_stack.h" ;; "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; "tools/gras/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gras/Makefile" ;; + "tools/tesh/Makefile") CONFIG_FILES="$CONFIG_FILES tools/tesh/Makefile" ;; "tools/graspe-slave") CONFIG_FILES="$CONFIG_FILES tools/graspe-slave" ;; "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;; "testsuite/run_tests") CONFIG_FILES="$CONFIG_FILES testsuite/run_tests" ;; @@ -26785,7 +27024,6 @@ do "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;; "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; "examples/msg/Makefile") CONFIG_FILES="$CONFIG_FILES examples/msg/Makefile" ;; - "examples/msg/run_msg_test") CONFIG_FILES="$CONFIG_FILES examples/msg/run_msg_test" ;; "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" ;; @@ -27041,7 +27279,16 @@ LIBOBJS!$LIBOBJS$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 +USE_GTNETS_FALSE!$USE_GTNETS_FALSE$ac_delim +HAVE_SDP_TRUE!$HAVE_SDP_TRUE$ac_delim +HAVE_SDP_FALSE!$HAVE_SDP_FALSE$ac_delim SIMGRID_DEP!$SIMGRID_DEP$ac_delim +AM_CFLAGS!$AM_CFLAGS$ac_delim GRAS_DEP!$GRAS_DEP$ac_delim GRAMINE_MODE_TRUE!$GRAMINE_MODE_TRUE$ac_delim GRAMINE_MODE_FALSE!$GRAMINE_MODE_FALSE$ac_delim @@ -27069,7 +27316,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` = 40; then + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 49; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 @@ -27710,28 +27957,6 @@ done ; do \ test -e $file && chmod +x $file; \ done - ;; - "examples/msg/run_msg_test":F) - for file in \ - \ - examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \ - examples/amok/saturate/test_sg examples/amok/saturate/test_rl \ - \ - examples/gras/ping/test_sg examples/gras/ping/test_rl \ - examples/gras/rpc/test_sg examples/gras/rpc/test_rl \ - examples/gras/timer/test_sg examples/gras/timer/test_rl \ - examples/gras/chrono/test_sg examples/gras/chrono/test_rl \ - examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \ - examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \ - examples/gras/pmm/test_sg examples/gras/pmm/test_rl \ - examples/gras/all2all/test_sg examples/gras/all2all/test_rl \ - examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \ - examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \ - examples/msg/run_msg_test \ - examples/simdag/test_simdag \ - ; do \ - test -e $file && chmod +x $file; \ - done ;; "examples/simdag/Makefile":F) for file in \ @@ -28684,9 +28909,10 @@ Configuration of package \`${PACKAGE}' (version ${VERSION}) on $gras_arch_name ( if test -e CVS && test x$USE_MAINTAINER_MODE != xyes ; then echo "WARNING:" echo "WARNING: you seem to compile the CVS version without the maintainer mode." - echo "WARNING: You may want to enable this by specifying:" + echo "WARNING: You won't be able to build archives that way (make dist is likely to fail). " + echo "WARNING: If you want to enable the maintainer mode, juste specify it like this:" echo "WARNING:" - echo "WARNING: ./configure --enable-maintainer-mode $ac_configure_args" + echo "WARNING: ./configure '--enable-maintainer-mode' $ac_configure_args" echo "WARNING:" fi echo $build_id > stamp.configure