forked from enlightenment/efl
parent
ab7d018a71
commit
30cad4260b
|
@ -34,34 +34,34 @@ fi
|
||||||
|
|
||||||
AC_SUBST(fnmatch_libs)
|
AC_SUBST(fnmatch_libs)
|
||||||
|
|
||||||
dnl Set PACKAGE_DATA_DIR in config.h.
|
|
||||||
if test "x${prefix}" = "xNONE"; then
|
|
||||||
AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${ac_default_prefix}/share/${PACKAGE}", [Shared Data Directory])
|
|
||||||
else
|
|
||||||
AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${prefix}/share/${PACKAGE}", [Shared Data Directory])
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl Set PACKAGE_BIN_DIR in config.h.
|
|
||||||
if test "x${bindir}" = 'xNONE'; then
|
if test "x${bindir}" = 'xNONE'; then
|
||||||
if test "x${prefix}" = "xNONE"; then
|
if test "x${prefix}" = "xNONE"; then
|
||||||
AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${ac_default_prefix}/bin", [Installation directory for user executables])
|
PACKAGE_BIN_DIR="${ac_default_prefix}/bin"
|
||||||
else
|
else
|
||||||
AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${prefix}/bin", [Installation directory for user executables])
|
PACKAGE_BIN_DIR="${prefix}/bin"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${bindir}", [Installation directory for user executables])
|
PACKAGE_BIN_DIR="${bindir}"
|
||||||
fi
|
fi
|
||||||
|
AC_SUBST(PACKAGE_BIN_DIR)
|
||||||
|
|
||||||
dnl Set PACKAGE_LIB_DIR in config.h.
|
|
||||||
if test "x${libdir}" = 'xNONE'; then
|
if test "x${libdir}" = 'xNONE'; then
|
||||||
if test "x${prefix}" = "xNONE"; then
|
if test "x${prefix}" = "xNONE"; then
|
||||||
AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, "${ac_default_prefix}/lib", [Installation directory for libraries])
|
PACKAGE_LIB_DIR="${ac_default_prefix}/lib"
|
||||||
else
|
else
|
||||||
AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, "${prefix}/lib", [Installation directory for libraries])
|
PACKAGE_LIB_DIR="${prefix}/lib"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, "${libdir}", [Installation directory for libraries])
|
PACKAGE_LIB_DIR="${libdir}"
|
||||||
fi
|
fi
|
||||||
|
AC_SUBST(PACKAGE_LIB_DIR)
|
||||||
|
|
||||||
|
if test "x${prefix}" = "xNONE"; then
|
||||||
|
PACKAGE_DATA_DIR="${ac_default_prefix}/share/${PACKAGE}"
|
||||||
|
else
|
||||||
|
PACKAGE_DATA_DIR="${prefix}/share/${PACKAGE}"
|
||||||
|
fi
|
||||||
|
AC_SUBST(PACKAGE_DATA_DIR)
|
||||||
|
|
||||||
AC_MSG_CHECKING(whether to build edje_cc)
|
AC_MSG_CHECKING(whether to build edje_cc)
|
||||||
have_edje_cc="yes"
|
have_edje_cc="yes"
|
||||||
|
|
|
@ -7,7 +7,10 @@ INCLUDES = \
|
||||||
@EET_CFLAGS@ \
|
@EET_CFLAGS@ \
|
||||||
@EVAS_CFLAGS@ \
|
@EVAS_CFLAGS@ \
|
||||||
@ECORE_CFLAGS@ \
|
@ECORE_CFLAGS@ \
|
||||||
@EMBRYO_CFLAGS@
|
@EMBRYO_CFLAGS@ \
|
||||||
|
-DPACKAGE_BIN_DIR=\"@PACKAGE_BIN_DIR@\" \
|
||||||
|
-DPACKAGE_LIB_DIR=\"@PACKAGE_LIB_DIR@\" \
|
||||||
|
-DPACKAGE_DATA_DIR=\"@PACKAGE_DATA_DIR@\"
|
||||||
|
|
||||||
bin_SCRIPTS = \
|
bin_SCRIPTS = \
|
||||||
@EDJE_RECC_PRG@
|
@EDJE_RECC_PRG@
|
||||||
|
|
|
@ -296,7 +296,7 @@ _e_prefix_fallbacks(void)
|
||||||
_prefix_path_lib = strdup(PACKAGE_LIB_DIR);
|
_prefix_path_lib = strdup(PACKAGE_LIB_DIR);
|
||||||
printf("WARNING: Edje could not determine its installed prefix\n"
|
printf("WARNING: Edje could not determine its installed prefix\n"
|
||||||
" and is falling back on the compiled in default:\n"
|
" and is falling back on the compiled in default:\n"
|
||||||
" %s\n",
|
" %s\n"
|
||||||
" You might like to try setting the following environment variables:\n"
|
" You might like to try setting the following environment variables:\n"
|
||||||
" E_PREFIX - points to the base prefix of install\n"
|
" E_PREFIX - points to the base prefix of install\n"
|
||||||
" E_BIN_DIR - optional in addition to E_PREFIX to provide\n"
|
" E_BIN_DIR - optional in addition to E_PREFIX to provide\n"
|
||||||
|
|
|
@ -33,38 +33,34 @@ fi
|
||||||
|
|
||||||
AC_SUBST(fnmatch_libs)
|
AC_SUBST(fnmatch_libs)
|
||||||
|
|
||||||
dnl Set PACKAGE_DATA_DIR in config.h.
|
|
||||||
if test "x${prefix}" = "xNONE"; then
|
|
||||||
AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${ac_default_prefix}/share/${PACKAGE}", [Shared Data Directory])
|
|
||||||
else
|
|
||||||
AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${prefix}/share/${PACKAGE}", [Shared Data Directory])
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl Set PACKAGE_BIN_DIR in config.h.
|
|
||||||
if test "x${bindir}" = 'xNONE'; then
|
if test "x${bindir}" = 'xNONE'; then
|
||||||
if test "x${prefix}" = "xNONE"; then
|
if test "x${prefix}" = "xNONE"; then
|
||||||
AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${ac_default_prefix}/bin", [Installation directory for user executables])
|
PACKAGE_BIN_DIR="${ac_default_prefix}/bin"
|
||||||
else
|
else
|
||||||
AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${prefix}/bin", [Installation directory for user executables])
|
PACKAGE_BIN_DIR="${prefix}/bin"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${bindir}", [Installation directory for user executables])
|
PACKAGE_BIN_DIR="${bindir}"
|
||||||
fi
|
fi
|
||||||
|
AC_SUBST(PACKAGE_BIN_DIR)
|
||||||
|
|
||||||
dnl Set PACKAGE_LIB_DIR in config.h.
|
|
||||||
if test "x${libdir}" = 'xNONE'; then
|
if test "x${libdir}" = 'xNONE'; then
|
||||||
if test "x${prefix}" = "xNONE"; then
|
if test "x${prefix}" = "xNONE"; then
|
||||||
AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, "${ac_default_prefix}/lib", [Installation directory for libraries] )
|
PACKAGE_LIB_DIR="${ac_default_prefix}/lib"
|
||||||
else
|
else
|
||||||
AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, "${prefix}/lib", [Installation directory for libraries])
|
PACKAGE_LIB_DIR="${prefix}/lib"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, "${libdir}", [Installation directory for libraries])
|
PACKAGE_LIB_DIR="${libdir}"
|
||||||
fi
|
fi
|
||||||
|
AC_SUBST(PACKAGE_LIB_DIR)
|
||||||
|
|
||||||
dnl Set PACKAGE_SOURCE_DIR in config.h.
|
if test "x${prefix}" = "xNONE"; then
|
||||||
packagesrcdir=`cd $srcdir && pwd`
|
PACKAGE_DATA_DIR="${ac_default_prefix}/share/${PACKAGE}"
|
||||||
AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}", [Source code directory])
|
else
|
||||||
|
PACKAGE_DATA_DIR="${prefix}/share/${PACKAGE}"
|
||||||
|
fi
|
||||||
|
AC_SUBST(PACKAGE_DATA_DIR)
|
||||||
|
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
Makefile
|
Makefile
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
MAINTAINERCLEANFILES = Makefile.in
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
INCLUDES = -DLINUX -I$(top_srcdir)/src/lib -I$(top_srcdir) -I$(top_builddir)
|
INCLUDES = -DLINUX -I$(top_srcdir)/src/lib -I$(top_srcdir) -I$(top_builddir) \
|
||||||
|
-DPACKAGE_BIN_DIR=\"@PACKAGE_BIN_DIR@\" \
|
||||||
|
-DPACKAGE_LIB_DIR=\"@PACKAGE_LIB_DIR@\" \
|
||||||
|
-DPACKAGE_DATA_DIR=\"@PACKAGE_DATA_DIR@\"
|
||||||
|
|
||||||
bin_PROGRAMS = embryo embryo_cc
|
bin_PROGRAMS = embryo embryo_cc
|
||||||
|
|
||||||
|
|
|
@ -296,7 +296,7 @@ _e_prefix_fallbacks(void)
|
||||||
_prefix_path_lib = strdup(PACKAGE_LIB_DIR);
|
_prefix_path_lib = strdup(PACKAGE_LIB_DIR);
|
||||||
printf("WARNING: Embryo could not determine its installed prefix\n"
|
printf("WARNING: Embryo could not determine its installed prefix\n"
|
||||||
" and is falling back on the compiled in default:\n"
|
" and is falling back on the compiled in default:\n"
|
||||||
" %s\n",
|
" %s\n"
|
||||||
" You might like to try setting the following environment variables:\n"
|
" You might like to try setting the following environment variables:\n"
|
||||||
" E_PREFIX - points to the base prefix of install\n"
|
" E_PREFIX - points to the base prefix of install\n"
|
||||||
" E_BIN_DIR - optional in addition to E_PREFIX to provide\n"
|
" E_BIN_DIR - optional in addition to E_PREFIX to provide\n"
|
||||||
|
|
Loading…
Reference in New Issue