forked from enlightenment/efl
* remove the mention of the static link check in configure ouput
* add a (ecologic) warning at the end of configure if a module is statically linked to eina SVN revision: 41226
This commit is contained in:
parent
c803ed44d3
commit
07d7e5ce66
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue