-SG_CONFIGURE_PART(Optional modules)
-AC_ARG_ENABLE(gtnets,
- AS_HELP_STRING([--enable-gtnets], [Use the new GTNetS module (default=no)]),
- enable_gtnets=$enableval,enable_gtnets=no)
-if test "x$enable_gtnets" = "xyes" ; then
- AC_MSG_RESULT("***** You have decided to use the experimental GTNetS. We hope you know what you're doing.. ****")
+AC_ARG_WITH(gtnets,
+ AS_HELP_STRING([--with-gtnets], [Path to GTNetS installation (default to empty, ie not using GTNetS)]),
+ gtnets_path="$withval",gtnets_path="NO")
+if test "x$gtnets_path" = "xNO" ; then
+ AC_MSG_RESULT(Eventually you will come to GTNetS.)
+else
+ AC_MSG_RESULT(***** You have decided to use the experimental GTNetS. We hope you know what you're doing.. ****)