enlightenment-module-forecasts/configure.in

69 lines
1.5 KiB
Plaintext
Raw Normal View History

dnl Process this file with autoconf to produce a configure script.
# get rid of that stupid cache mechanism
rm -f config.cache
AC_INIT(forecasts, 0.2.0, enlightenment-devel@lists.sourceforge.net)
AC_PREREQ(2.52)
AC_CONFIG_SRCDIR(configure.in)
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_ISC_POSIX
AM_INIT_AUTOMAKE(1.6)
AM_CONFIG_HEADER(config.h)
AC_PROG_CC
AM_PROG_CC_STDC
AC_HEADER_STDC
AC_C_CONST
define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
AC_PROG_LIBTOOL
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION(0.14)
MODULE_ARCH="$host_os-$host_cpu"
AC_SUBST(MODULE_ARCH)
AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
edje_cc="$(pkg-config --variable=prefix edje)/bin/edje_cc"
AC_ARG_WITH(edje-cc,
AC_HELP_STRING([--with-edje-cc=PATH], [specify a specific path to edje_cc]),
[
edje_cc=$withval;
echo " Enlightenment edje_cc explicitly set to "$edje_cc;
]
)
AC_SUBST(edje_cc)
AC_ARG_WITH(enlightenment-config,
AC_HELP_STRING([--with-enlightenment-config=E_CONFIG], [use enlightenment-config specified]),
[
E_CONFIG=$withval;
echo "using "$E_CONFIG" for enlightenment-config";
], [
PROG="enlightenment-config";
AC_PATH_PROG(E_CONFIG, $PROG, "", $PATH)
]
)
e_cflags=`$E_CONFIG --cflags`
e_libs=`$E_CONFIG --libs`
e_modules=`$E_CONFIG --module-dir`
AC_SUBST(e_cflags)
AC_SUBST(e_libs)
dnl TODO: Fix better install for homedir
datadir="${e_modules}/${PACKAGE}"
AC_OUTPUT([
Makefile
images/Makefile
2007-11-07 11:56:55 -08:00
po/Makefile.in
e_modules-forecasts.spec
], [
])