[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] configure.in bug in e_modules monitor, mount, rain, screenshot, slideshow and snow?





On 2/13/06, Gerald Dachs <gda@gmx.de> wrote:
can somebody explain me this part from configure.in?

        AC_PREFIX_DEFAULT(${HOME}/.e/e)
        if test "x$prefix" = "xNONE"; then
          datarootdir=${ac_default_prefix}
        else
          datarootdir=${ac_default_prefix}/share
        fi
        localedir=${datarootdir}/locale
        AC_SUBST(LOCALEDIR, "${localedir}")

should it not be like this?

        AC_PREFIX_DEFAULT(${HOME}/.e/e)
        if test "x$prefix" = "xNONE"; then
          datarootdir=${ac_default_prefix}
        else
          datarootdir=${prefix}/share
        fi
        localedir=${datarootdir}/locale
        AC_SUBST(LOCALEDIR, "${localedir}")

I am not sure what the idea of the orignal was.

Oops... the original idea was the same as yours, but the implementation was screwed.
Thanks!

David