legacy-imlib2_loaders/configure.ac

99 lines
2.1 KiB
Plaintext
Raw Normal View History

2020-12-07 07:33:32 -08:00
AC_INIT([imlib2_loaders],[1.7.1],[enlightenment-devel@lists.sourceforge.net])
AC_CONFIG_SRCDIR(configure.ac)
2017-04-15 07:26:27 -07:00
AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AM_INIT_AUTOMAKE(1.6 dist-bzip2)
2017-04-15 07:26:27 -07:00
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_C_BIGENDIAN
AC_PROG_CC
2017-04-15 07:26:27 -07:00
AC_HEADER_STDC
AC_C_CONST
2018-04-05 20:25:51 -07:00
dnl Next two lines is a hack to prevent libtool checking for CXX/F77
define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
LT_INIT
2018-04-05 20:25:51 -07:00
PKG_PROG_PKG_CONFIG
2018-04-05 20:25:51 -07:00
ani=yes
eet=auto
AC_ARG_ENABLE(eet,
[ --disable-eet disable building the eet loader],
[
if test x$enableval = xno; then
eet=no
else
eet=yes
fi
])
2018-04-05 20:25:51 -07:00
xcf=yes
AC_ARG_ENABLE(xcf,
[ --disable-xcf disable building the xcf loader],
[
if test x$enableval = xno; then
2018-04-05 20:25:51 -07:00
xcf=no
else
xcf=yes
fi
])
dnl PKG_CHECK_MODULES(IMLIB2, imlib2)
found_eet=no
if test "x$eet" != "xno" ; then
PKG_CHECK_MODULES(EET, eet, found_eet=yes, found_eet=no)
fi
if test "x$eet$found_eet" = "xyesno" ; then
AC_MSG_ERROR(Eet support was requested but not found)
elif test "x$found_eet" = "xno" ; then
eet=no
fi
2004-11-11 16:27:13 -08:00
2018-04-05 20:25:51 -07:00
AM_CONDITIONAL(BUILD_ANI_LOADER, test x$ani != xno)
AM_CONDITIONAL(BUILD_EET_LOADER, test x$eet != xno)
AM_CONDITIONAL(BUILD_XCF_LOADER, test x$xcf != xno)
2018-04-05 20:49:24 -07:00
EC_C_WARNINGS()
2018-04-05 21:28:12 -07:00
EC_C_VISIBILITY(yes)
2018-04-05 20:49:24 -07:00
2017-04-15 07:26:27 -07:00
AC_CONFIG_HEADERS(config.h)
2014-12-16 14:44:20 -08:00
AC_CONFIG_FILES([
Makefile
src/Makefile
src/modules/Makefile
src/modules/loaders/Makefile
2005-03-04 05:34:55 -08:00
README
imlib2_loaders.spec
])
2014-12-16 14:44:20 -08:00
AC_CONFIG_COMMANDS([default],[
],[])
AC_OUTPUT
2018-04-05 20:25:51 -07:00
#####################################################################
## Info
echo
echo
echo "------------------------------------------------------------------------"
echo "$PACKAGE $VERSION"
echo "------------------------------------------------------------------------"
echo
echo "Configuration Options Summary:"
echo
echo "Image loaders:"
echo " ANI.....................: $ani"
echo " EET.....................: $eet"
echo " XCF.....................: $xcf"
echo
2018-04-05 21:28:12 -07:00
echo "Use visibility hiding.....: $enable_visibility_hiding"
echo
2018-04-05 20:25:51 -07:00
echo "Installation path.........: $prefix"
echo