diff --git a/legacy/eina/configure.ac b/legacy/eina/configure.ac index 0b38062334..69a6ec0a4d 100644 --- a/legacy/eina/configure.ac +++ b/legacy/eina/configure.ac @@ -428,3 +428,10 @@ echo "Now type 'make' ('gmake' on some systems) to compile $PACKAGE," echo "and then afterwards as root (or the user who will install this), type" echo "'make install'. Change users with 'su' or 'sudo' appropriately." echo +if test "x${have_static_module}" = "xyes" ; then +echo -e "\0033\01331;31mWarning\0033\01331;0m: You are trying to link statically one or more modules to Eina." +echo " You must know what you are doing, or else you will have a lot of problems." +echo " And dolphins will disappear from the earth." +echo " Think about that." +echo +fi diff --git a/legacy/eina/m4/eina_check.m4 b/legacy/eina/m4/eina_check.m4 index 282c65c759..e0361cc8fb 100644 --- a/legacy/eina/m4/eina_check.m4 +++ b/legacy/eina/m4/eina_check.m4 @@ -42,14 +42,12 @@ if test "x${want_module}" = "xyes" -a "x${enable_module}" = "xstatic" ; then static_module="yes" fi -AC_MSG_CHECKING([whether to statically link $3]) -AC_MSG_RESULT([${static_module}]) - AM_CONDITIONAL(EINA_BUILD_[]UP, [test "x${build_module}" = "xyes"]) AM_CONDITIONAL(EINA_STATIC_BUILD_[]UP, [test "x${static_module}" = "xyes"]) if test "x${static_module}" = "xyes" ; then AC_DEFINE(EINA_STATIC_BUILD_[]UP, 1, [Set to 1 if $2 is statically built]) + have_static_module="yes" fi enable_[]DOWN="no"