2006-04-17 08:55:24 -07:00
|
|
|
AC_INIT(configure.in)
|
1999-08-17 15:56:46 -07:00
|
|
|
|
2007-05-18 01:23:16 -07:00
|
|
|
E_PKG_VERSION=0.16.8.9
|
2007-06-09 02:36:36 -07:00
|
|
|
E_PKG_REVISION=0.02
|
2007-03-17 18:08:10 -07:00
|
|
|
if test "x$E_PKG_REVISION" != "x"; then
|
|
|
|
E_PKG_VER_REV=$E_PKG_VERSION-$E_PKG_REVISION
|
|
|
|
E_RPM_REVISION=$E_PKG_REVISION
|
2006-04-17 08:55:24 -07:00
|
|
|
else
|
2007-03-17 18:08:10 -07:00
|
|
|
E_PKG_VER_REV=$E_PKG_VERSION
|
|
|
|
E_RPM_REVISION=1
|
2006-04-17 08:55:24 -07:00
|
|
|
fi
|
1999-08-17 15:56:46 -07:00
|
|
|
|
2007-03-17 18:08:10 -07:00
|
|
|
AM_INIT_AUTOMAKE(e16, $E_PKG_VER_REV)
|
|
|
|
|
|
|
|
AC_DEFINE_UNQUOTED(E_PKG_VERSION, "$E_PKG_VERSION", [Version])
|
2007-05-07 16:09:43 -07:00
|
|
|
AC_DEFINE_UNQUOTED(E_PKG_VER_REV, "$E_PKG_VER_REV", [Version, Revision])
|
2007-03-17 18:08:10 -07:00
|
|
|
AC_SUBST(E_PKG_VERSION)
|
|
|
|
AC_SUBST(E_RPM_REVISION)
|
1999-08-17 15:56:46 -07:00
|
|
|
|
2007-03-17 18:08:10 -07:00
|
|
|
# reasonable guesses for where stuff is installed
|
1999-10-21 07:06:37 -07:00
|
|
|
if test "x$prefix" = "xNONE"; then
|
2007-03-17 18:08:10 -07:00
|
|
|
prefix=$ac_default_prefix
|
2003-07-15 11:35:04 -07:00
|
|
|
fi
|
|
|
|
if test "x$exec_prefix" = "xNONE"; then
|
|
|
|
exec_prefix=$prefix
|
1999-10-21 07:06:37 -07:00
|
|
|
fi
|
1999-08-17 15:56:46 -07:00
|
|
|
|
2007-03-17 18:08:10 -07:00
|
|
|
AM_MAINTAINER_MODE
|
1999-08-17 15:56:46 -07:00
|
|
|
|
2004-09-16 11:14:10 -07:00
|
|
|
ALL_LINGUAS="bg bs da de en_US es fr hu ko nl no ru sv pt pl pt_BR tr ja"
|
1999-12-06 09:00:42 -08:00
|
|
|
|
1999-08-17 15:56:46 -07:00
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_MAKE_SET
|
|
|
|
AC_ISC_POSIX
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
AC_PROG_LN_S
|
|
|
|
|
|
|
|
AC_HEADER_STDC
|
|
|
|
|
2006-09-10 11:43:20 -07:00
|
|
|
AM_ENABLE_SHARED
|
|
|
|
AC_LIBTOOL_DLOPEN
|
|
|
|
AM_PROG_LIBTOOL
|
|
|
|
|
1999-08-17 15:56:46 -07:00
|
|
|
AC_PATH_X
|
|
|
|
AC_PATH_XTRA
|
|
|
|
|
2007-02-23 18:12:02 -08:00
|
|
|
AC_CHECK_HEADERS(alloca.h locale.h stdarg.h wctype.h)
|
1999-08-17 15:56:46 -07:00
|
|
|
|
|
|
|
AC_TYPE_SIGNAL
|
|
|
|
|
|
|
|
AC_C_BIGENDIAN
|
2006-11-03 11:10:14 -08:00
|
|
|
AC_C_CONST
|
|
|
|
AC_C_INLINE
|
2004-03-20 07:20:40 -08:00
|
|
|
AC_C___ATTRIBUTE__
|
2004-12-28 15:46:49 -08:00
|
|
|
AC_CHECK_SIZEOF(int, 4)
|
2005-02-12 12:22:48 -08:00
|
|
|
AC_CHECK_SIZEOF(long, 4)
|
2006-11-30 14:03:20 -08:00
|
|
|
AC_CHECK_SIZEOF(wchar_t, 4)
|
1999-08-17 15:56:46 -07:00
|
|
|
|
|
|
|
AC_CHECK_FUNCS(getcwd)
|
|
|
|
AC_CHECK_FUNCS(mkdir)
|
|
|
|
AC_CHECK_FUNCS(snprintf)
|
2003-12-09 12:25:17 -08:00
|
|
|
AM_CONDITIONAL(USE_ESNPRINTF, test "x$ac_cv_func_snprintf" != "xyes")
|
2006-08-24 14:32:28 -07:00
|
|
|
AC_CHECK_FUNCS(strcasecmp strcasestr)
|
2006-04-21 08:51:46 -07:00
|
|
|
AC_CHECK_FUNCS(setenv unsetenv)
|
2004-02-28 07:14:02 -08:00
|
|
|
AC_CHECK_FUNCS(strdup strndup)
|
1999-08-17 15:56:46 -07:00
|
|
|
|
|
|
|
AC_CHECK_FUNCS(blumfrub)
|
|
|
|
AC_CHECK_FUNCS(buckets_of_erogenous_nym)
|
|
|
|
AC_CHECK_FUNCS(buttox)
|
|
|
|
|
2006-11-03 11:10:14 -08:00
|
|
|
AM_ICONV
|
|
|
|
AM_LANGINFO_CODESET
|
|
|
|
|
2007-02-23 18:12:02 -08:00
|
|
|
AM_GNU_GETTEXT([external])
|
2006-11-02 12:13:42 -08:00
|
|
|
AM_GNU_GETTEXT_VERSION([0.12.1])
|
1999-08-17 15:56:46 -07:00
|
|
|
|
2004-03-09 12:32:14 -08:00
|
|
|
AC_ARG_ENABLE(fsstd,
|
2005-11-27 09:54:56 -08:00
|
|
|
[ --enable-fsstd install files following FSSTD @<:@default=yes@:>@],,
|
2004-12-28 15:46:49 -08:00
|
|
|
enable_fsstd=yes)
|
1999-08-17 15:56:46 -07:00
|
|
|
|
2004-03-09 12:32:14 -08:00
|
|
|
AC_ARG_ENABLE(sound,
|
2005-11-27 09:54:56 -08:00
|
|
|
[ --enable-sound compile with sound support @<:@default=yes@:>@],,
|
2004-12-28 15:46:49 -08:00
|
|
|
enable_sound=yes)
|
1999-12-10 05:47:37 -08:00
|
|
|
|
2003-03-23 19:48:09 -08:00
|
|
|
AC_ARG_ENABLE(hints-gnome,
|
2005-11-27 09:54:56 -08:00
|
|
|
[ --enable-hints-gnome compile with GNOME(<2.0) hints support @<:@default=no@:>@],,
|
2004-12-28 15:46:49 -08:00
|
|
|
enable_hints_gnome=no)
|
2003-03-23 19:48:09 -08:00
|
|
|
|
2004-12-28 15:46:49 -08:00
|
|
|
if test "x$enable_hints_gnome" = "xyes"; then
|
|
|
|
AC_DEFINE(ENABLE_GNOME, 1, [GNOME(<2.0) Hints])
|
|
|
|
fi
|
2003-03-23 19:48:09 -08:00
|
|
|
AM_CONDITIONAL(ENABLE_GNOME, test "x$enable_hints_gnome" = "xyes")
|
|
|
|
|
1999-12-10 05:47:37 -08:00
|
|
|
if test "x$enable_fsstd" = "xyes"; then
|
2006-11-03 11:10:14 -08:00
|
|
|
LOCALEDIR=`eval echo ${datadir}/locale`
|
1999-12-10 05:47:37 -08:00
|
|
|
else
|
2004-04-24 06:16:38 -07:00
|
|
|
datadir=${prefix}
|
2004-12-28 15:46:49 -08:00
|
|
|
exec_prefix=${prefix}/e16
|
|
|
|
LOCALEDIR=${prefix}/e16/locale
|
1999-12-10 05:47:37 -08:00
|
|
|
fi
|
2006-11-04 00:23:16 -08:00
|
|
|
DATADIR=`eval echo ${datadir}`
|
|
|
|
ENLIGHTENMENT_ROOT=`eval echo ${DATADIR}/e16`
|
2003-07-15 11:35:04 -07:00
|
|
|
ENLIGHTENMENT_BIN=`eval echo ${bindir}`
|
2006-09-10 11:43:20 -07:00
|
|
|
ENLIGHTENMENT_LIB=`eval echo ${libdir}`
|
2004-05-08 14:39:37 -07:00
|
|
|
AC_SUBST(ENLIGHTENMENT_ROOT)
|
|
|
|
AC_SUBST(ENLIGHTENMENT_BIN)
|
2006-09-10 11:43:20 -07:00
|
|
|
AC_SUBST(ENLIGHTENMENT_LIB)
|
2004-05-08 14:39:37 -07:00
|
|
|
AC_DEFINE_UNQUOTED(ENLIGHTENMENT_ROOT, "$ENLIGHTENMENT_ROOT", [The installation root directory])
|
|
|
|
AC_DEFINE_UNQUOTED(ENLIGHTENMENT_BIN, "$ENLIGHTENMENT_BIN", [The installation bin directory])
|
2006-09-10 11:43:20 -07:00
|
|
|
AC_DEFINE_UNQUOTED(ENLIGHTENMENT_LIB, "$ENLIGHTENMENT_LIB", [The installation lib directory])
|
2004-05-08 14:39:37 -07:00
|
|
|
AC_DEFINE_UNQUOTED(LOCALEDIR, "$LOCALEDIR", [The installation locale directory])
|
1999-12-06 09:00:42 -08:00
|
|
|
|
1999-08-17 15:56:46 -07:00
|
|
|
if test "x$enable_sound" = "xyes"; then
|
2004-12-28 15:46:49 -08:00
|
|
|
AM_PATH_ESD(0.2.17,AC_DEFINE(HAVE_LIBESD, 1, [libesd.so]),[
|
2006-03-29 08:22:20 -08:00
|
|
|
enable_sound=no
|
|
|
|
AC_MSG_WARN([Sound support was requested but not found.])
|
|
|
|
])
|
1999-08-17 15:56:46 -07:00
|
|
|
fi
|
|
|
|
|
2007-02-24 16:33:03 -08:00
|
|
|
CPPFLAGS="$X_CFLAGS $CPPFLAGS"
|
|
|
|
LDFLAGS="$X_LIBS $LDFLAGS -L$prefix/lib"
|
2003-11-15 14:27:17 -08:00
|
|
|
|
2005-02-22 14:54:47 -08:00
|
|
|
PKG_CHECK_MODULES(IMLIB2, imlib2 >= 1.2.0, have_good_imlib2=yes)
|
2006-09-19 09:55:16 -07:00
|
|
|
AC_CHECK_LIB(Imlib2, imlib_context_set_mask_alpha_threshold,
|
|
|
|
AC_DEFINE(HAVE_IMLIB_CONTEXT_SET_MASK_ALPHA_THRESHOLD, 1,
|
|
|
|
[Imlib2 has imlib_context_set_mask_alpha_threshold]),,
|
2006-10-20 15:39:35 -07:00
|
|
|
$IMLIB2_LIBS)
|
2004-12-28 15:46:49 -08:00
|
|
|
|
2006-12-09 09:27:31 -08:00
|
|
|
AC_CHECK_HEADERS(X11/SM/SMlib.h, enable_sm=yes, enable_sm=no)
|
|
|
|
|
2006-10-22 07:09:50 -07:00
|
|
|
AC_ARG_ENABLE(xft,
|
|
|
|
[ --enable-xft compile with Xft support @<:@default=yes@:>@],,
|
|
|
|
enable_xft=yes)
|
|
|
|
if test "x$enable_xft" = "xyes"; then
|
|
|
|
PKG_CHECK_MODULES(XFT, xft, AC_DEFINE(USE_XFT, 1, [Xft support]), enable_xft=no)
|
|
|
|
fi
|
|
|
|
|
2006-10-20 15:39:35 -07:00
|
|
|
AC_ARG_ENABLE(ecore,
|
|
|
|
[ --enable-ecore use ecore functions (for testing only - DO NOT USE!) @<:@default=no@:>@],,
|
|
|
|
enable_ecore=no)
|
2006-02-27 11:34:49 -08:00
|
|
|
if test "x$enable_ecore" = "xyes"; then
|
2004-12-28 15:46:49 -08:00
|
|
|
AC_CHECK_LIB(ecore_x, ecore_x_init,
|
|
|
|
[
|
2006-02-27 11:34:49 -08:00
|
|
|
AC_DEFINE(USE_ECORE, 1, [Ecore list support])
|
2004-12-28 15:46:49 -08:00
|
|
|
AC_DEFINE(USE_ECORE_X, 1, [Ecore_x support])
|
|
|
|
],[
|
2006-12-27 08:34:48 -08:00
|
|
|
AC_MSG_ERROR([Cannot find ecore libraries])
|
2004-12-28 15:46:49 -08:00
|
|
|
])
|
2006-12-27 08:34:48 -08:00
|
|
|
ECORE_LIBS=`ecore-config --libs-x`
|
|
|
|
ECORE_CFLAGS=`ecore-config --cflags`
|
|
|
|
AC_SUBST(ECORE_LIBS)
|
|
|
|
AC_SUBST(ECORE_CFLAGS)
|
2004-12-28 15:46:49 -08:00
|
|
|
fi
|
2003-11-15 14:27:17 -08:00
|
|
|
|
2007-02-24 18:27:41 -08:00
|
|
|
# Is this reasonably correct?
|
|
|
|
AC_ARG_ENABLE(glx,
|
|
|
|
[ --enable-glx compile with GLX support (experimental) @<:@default=no@:>@],,
|
|
|
|
enable_glx=no)
|
|
|
|
if test "x$enable_glx" = "xyes"; then
|
|
|
|
AC_CHECK_HEADERS(GL/gl.h GL/glu.h GL/glx.h, , AC_MSG_ERROR([Cannot find GLX headers]))
|
|
|
|
AC_CHECK_LIB(GL, glXCreateNewContext,
|
|
|
|
[
|
|
|
|
AC_DEFINE(HAVE_GLX, 1, [GLX support])
|
|
|
|
GLX_LIBS="-lGL -lGLU"
|
|
|
|
],[
|
|
|
|
AC_MSG_ERROR([Cannot find GLX libraries])
|
|
|
|
])
|
|
|
|
AC_SUBST(GLX_LIBS)
|
|
|
|
fi
|
|
|
|
AM_CONDITIONAL(HAVE_GLX, test "x$enable_glx" = "xyes")
|
|
|
|
|
2004-04-27 11:59:53 -07:00
|
|
|
AC_CHECK_LIB(Xext, XShapeQueryExtension,
|
2006-03-29 08:22:20 -08:00
|
|
|
E_X_LIBS="-lXext $E_X_LIBS",
|
|
|
|
AC_MSG_ERROR([Shape support is required but was not found]),
|
2007-02-24 16:33:03 -08:00
|
|
|
-lX11)
|
2004-04-24 06:16:38 -07:00
|
|
|
|
2005-11-27 09:54:56 -08:00
|
|
|
AC_ARG_ENABLE(xinerama,
|
|
|
|
[ --enable-xinerama compile with xinerama support @<:@default=yes@:>@],,
|
|
|
|
enable_xinerama=yes)
|
|
|
|
if test "x$enable_xinerama" = "xyes"; then
|
2006-03-29 08:22:20 -08:00
|
|
|
AC_CHECK_LIB(Xinerama, XineramaQueryExtension,
|
2006-12-27 08:34:48 -08:00
|
|
|
AC_DEFINE(HAVE_XINERAMA, 1, [Xinerama support])
|
2006-09-09 15:21:48 -07:00
|
|
|
XINERAMA_LIBS="-lXinerama",
|
2006-03-29 08:22:20 -08:00
|
|
|
enable_xinerama=no
|
|
|
|
AC_MSG_WARN([Xinerama support was requested but not found]),
|
2007-02-24 16:33:03 -08:00
|
|
|
-lXext -lX11)
|
2005-11-27 09:54:56 -08:00
|
|
|
fi
|
2006-09-09 15:21:48 -07:00
|
|
|
AC_SUBST(XINERAMA_LIBS)
|
1999-11-06 00:43:28 -08:00
|
|
|
|
2004-03-09 12:32:14 -08:00
|
|
|
AC_ARG_ENABLE(zoom,
|
2005-11-27 09:54:56 -08:00
|
|
|
[ --enable-zoom compile with zoom support @<:@default=yes@:>@],,
|
2004-12-28 15:46:49 -08:00
|
|
|
enable_zoom=yes)
|
1999-11-06 00:43:28 -08:00
|
|
|
if test "x$enable_zoom" = "xyes"; then
|
2004-12-28 15:46:49 -08:00
|
|
|
AC_CHECK_LIB(Xxf86vm, XF86VidModeQueryExtension,
|
|
|
|
AC_DEFINE(WITH_ZOOM, 1, [Zoom Support])
|
2006-03-29 08:22:20 -08:00
|
|
|
E_X_LIBS="-lXxf86vm $E_X_LIBS",
|
|
|
|
enable_zoom=no
|
|
|
|
AC_MSG_WARN([Zoom support was requested but not found]),
|
2007-02-24 16:33:03 -08:00
|
|
|
-lXext -lX11)
|
1999-11-06 00:43:28 -08:00
|
|
|
fi
|
2004-03-09 12:32:14 -08:00
|
|
|
|
2006-03-19 07:33:38 -08:00
|
|
|
AC_ARG_ENABLE(xsync,
|
2006-10-28 07:53:16 -07:00
|
|
|
[ --enable-xsync compile with SYNC support @<:@default=yes@:>@],,
|
|
|
|
enable_xsync=yes)
|
2006-03-19 07:33:38 -08:00
|
|
|
if test "x$enable_xsync" = "xyes"; then
|
2006-03-29 08:22:20 -08:00
|
|
|
AC_CHECK_LIB(Xext, XSyncQueryExtension,
|
2006-12-27 08:34:48 -08:00
|
|
|
AC_DEFINE(HAVE_XSYNC, 1, [SYNC support]),
|
2006-03-29 08:22:20 -08:00
|
|
|
enable_xsync=no
|
|
|
|
AC_MSG_WARN([Sync support was requested but not found]),
|
2007-02-24 16:33:03 -08:00
|
|
|
-lX11)
|
2006-03-19 07:33:38 -08:00
|
|
|
fi
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(xscrnsaver,
|
|
|
|
[ --enable-xscrnsaver compile with ScreenSaver support (experimental!) @<:@default=no@:>@],,
|
|
|
|
enable_xscrnsaver=no)
|
|
|
|
if test "x$enable_xscrnsaver" = "xyes"; then
|
2006-03-29 08:22:20 -08:00
|
|
|
AC_CHECK_LIB(Xss, XScreenSaverQueryExtension,
|
2006-12-27 08:34:48 -08:00
|
|
|
AC_DEFINE(HAVE_XSCREENSAVER, 1, [ScreenSaver support])
|
2006-03-29 08:22:20 -08:00
|
|
|
E_X_LIBS="-lXss $E_X_LIBS",
|
|
|
|
enable_xscrnsaver=no
|
|
|
|
AC_MSG_WARN([ScreenSaver support was requested but not found]),
|
2007-02-24 16:33:03 -08:00
|
|
|
-lXss -lXext -lX11)
|
2006-03-19 07:33:38 -08:00
|
|
|
fi
|
|
|
|
|
2004-03-13 14:49:48 -08:00
|
|
|
AC_ARG_ENABLE(xrandr,
|
2005-11-27 09:54:56 -08:00
|
|
|
[ --enable-xrandr compile with RandR support @<:@default=yes@:>@],,
|
2005-02-06 06:21:29 -08:00
|
|
|
enable_xrandr=yes)
|
2004-03-13 14:49:48 -08:00
|
|
|
if test "x$enable_xrandr" = "xyes"; then
|
2006-03-29 08:22:20 -08:00
|
|
|
AC_CHECK_LIB(Xrandr, XRRQueryExtension,
|
2006-12-27 08:34:48 -08:00
|
|
|
AC_DEFINE(HAVE_XRANDR, 1, [RandR support])
|
2006-03-29 08:22:20 -08:00
|
|
|
E_X_LIBS="-lXrandr -lXrender $E_X_LIBS",
|
|
|
|
enable_xrandr=no
|
|
|
|
AC_MSG_WARN([RandR support was requested but not found]),
|
2007-02-24 16:33:03 -08:00
|
|
|
-lXrender -lXext -lX11)
|
2004-12-28 15:46:49 -08:00
|
|
|
AC_CHECK_HEADERS(X11/extensions/Xrandr.h,,,[#include <X11/Xlib.h>])
|
|
|
|
fi
|
|
|
|
|
|
|
|
# FIXME - Do this properly
|
|
|
|
AC_ARG_ENABLE(composite,
|
2005-11-27 09:54:56 -08:00
|
|
|
[ --enable-composite compile with Composite support @<:@default=yes@:>@],,
|
2004-12-28 15:46:49 -08:00
|
|
|
enable_composite=yes)
|
|
|
|
if test "x$enable_composite" = "xyes"; then
|
|
|
|
AC_CHECK_LIB(Xcomposite, XCompositeQueryExtension,
|
2006-12-27 08:34:48 -08:00
|
|
|
AC_DEFINE(HAVE_COMPOSITE, 1, [Composite support])
|
2006-03-29 08:22:20 -08:00
|
|
|
E_X_LIBS="-lXcomposite -lXdamage -lXfixes -lXrender $E_X_LIBS",
|
|
|
|
enable_composite=no,
|
2007-02-24 16:33:03 -08:00
|
|
|
-lXext -lX11)
|
2006-03-29 08:22:20 -08:00
|
|
|
AC_CHECK_HEADERS(X11/extensions/Xcomposite.h ,, enable_composite=no, [#include <X11/Xlib.h>])
|
|
|
|
AC_CHECK_HEADERS(X11/extensions/Xdamage.h ,, enable_composite=no, [#include <X11/Xlib.h>])
|
|
|
|
AC_CHECK_HEADERS(X11/extensions/Xfixes.h ,, enable_composite=no, [#include <X11/Xlib.h>])
|
|
|
|
AC_CHECK_HEADERS(X11/extensions/Xrender.h ,, enable_composite=no, [#include <X11/Xlib.h>])
|
|
|
|
if test "x$enable_composite" != "xyes"; then
|
|
|
|
AC_MSG_WARN([Composite support was requested but required component was not found])
|
|
|
|
fi
|
2004-03-09 12:32:14 -08:00
|
|
|
fi
|
2006-12-27 08:34:48 -08:00
|
|
|
AM_CONDITIONAL(HAVE_COMPOSITE, test "x$enable_composite" = "xyes")
|
2004-03-09 12:32:14 -08:00
|
|
|
|
1999-08-17 15:56:46 -07:00
|
|
|
AC_CHECK_LIB(Fridge,mass_quantities_of_bass_ale)
|
2004-12-28 15:46:49 -08:00
|
|
|
AC_CHECK_LIB(Fridge,mass_quantities_of_any_ale,, [
|
|
|
|
echo "Warning: No ales were found in your refrigerator."
|
|
|
|
echo " We highly suggest that you rectify this situation immediately."
|
1999-08-17 15:56:46 -07:00
|
|
|
])
|
|
|
|
|
2006-09-10 11:43:20 -07:00
|
|
|
AC_ARG_ENABLE(roothacklib,
|
|
|
|
[ --enable-roothacklib build window mode helper library @<:@default=yes@:>@],,
|
|
|
|
enable_roothacklib=yes)
|
|
|
|
if test "x$enable_roothacklib" = "xyes"; then
|
|
|
|
AC_CHECK_LIB(dl, dlopen, DLOPEN_LIBS=-ldl, enable_roothacklib=no)
|
|
|
|
AC_SUBST(DLOPEN_LIBS)
|
|
|
|
fi
|
|
|
|
if test "x$enable_roothacklib" = "xyes"; then
|
|
|
|
AC_DEFINE(USE_ROOTHACKLIB, 1, [Use window mode helper library])
|
|
|
|
fi
|
|
|
|
AM_CONDITIONAL(BUILD_ROOTHACKLIB, test "x$enable_roothacklib" = "xyes")
|
|
|
|
|
2007-01-16 17:10:44 -08:00
|
|
|
AC_ARG_ENABLE(gcc-cpp,
|
|
|
|
[ --enable-gcc-cpp compile everything as if it were C++ @<:@default=no@:>@],,
|
|
|
|
enable_gcc_cpp=no)
|
|
|
|
if test "x$enable_gcc_cpp" = "xyes"; then
|
|
|
|
CC="g++"
|
|
|
|
CPPFLAGS="-x c++"
|
|
|
|
fi
|
|
|
|
|
2004-03-20 07:20:40 -08:00
|
|
|
AC_ARG_ENABLE(gcc-warnings,
|
2005-11-27 09:54:56 -08:00
|
|
|
[ --enable-gcc-warnings enable GCC compiler warnings @<:@default=no@:>@],,
|
2004-03-20 07:20:40 -08:00
|
|
|
enable_gcc_warnings=no)
|
|
|
|
if test "x$enable_gcc_warnings" = "xyes"; then
|
2007-01-16 17:10:44 -08:00
|
|
|
CFLAGS="$CFLAGS -W -Wall -Waggregate-return -Wcast-align -Wpointer-arith -Wshadow -Wwrite-strings"
|
|
|
|
if test "x$enable_gcc_cpp" != "xyes"; then
|
|
|
|
CFLAGS="$CFLAGS -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes"
|
|
|
|
fi
|
2004-03-20 07:20:40 -08:00
|
|
|
fi
|
|
|
|
|
2004-04-24 06:16:38 -07:00
|
|
|
AC_SUBST(E_X_LIBS)
|
|
|
|
|
2007-03-17 18:08:10 -07:00
|
|
|
AM_CONFIG_HEADER(config.h)
|
|
|
|
|
2002-10-10 08:36:08 -07:00
|
|
|
AC_OUTPUT([
|
1999-08-17 15:56:46 -07:00
|
|
|
Makefile
|
|
|
|
src/Makefile
|
|
|
|
dox/Makefile
|
2005-06-03 11:10:48 -07:00
|
|
|
dox/E-docs/Makefile
|
1999-08-17 15:56:46 -07:00
|
|
|
eesh/Makefile
|
|
|
|
epp/Makefile
|
2006-09-10 11:43:20 -07:00
|
|
|
lib/Makefile
|
1999-10-20 09:02:31 -07:00
|
|
|
man/Makefile
|
2004-03-11 15:08:15 -08:00
|
|
|
config/Makefile
|
|
|
|
config/pix/Makefile
|
2004-05-11 17:06:26 -07:00
|
|
|
themes/Makefile
|
1999-09-30 14:50:59 -07:00
|
|
|
scripts/Makefile
|
2004-05-15 03:32:24 -07:00
|
|
|
misc/Makefile
|
2007-02-24 10:46:22 -08:00
|
|
|
misc/e16.desktop
|
|
|
|
misc/e16-gnome.desktop
|
|
|
|
misc/e16-kde.desktop
|
1999-12-06 09:00:42 -08:00
|
|
|
po/Makefile.in
|
2006-04-17 08:55:24 -07:00
|
|
|
e16.spec
|
1999-10-21 06:17:09 -07:00
|
|
|
])
|
2005-02-22 14:54:47 -08:00
|
|
|
|
|
|
|
if test "x$have_good_imlib2" != "xyes"; then
|
|
|
|
echo "***************************************************************"
|
|
|
|
echo "*** WARNING: imlib2 >= 1.2.0 was not detected ***"
|
|
|
|
echo "*** WARNING: If you indeed do not have this, expect trouble ***"
|
|
|
|
echo "***************************************************************"
|
|
|
|
fi
|
2005-06-06 10:58:46 -07:00
|
|
|
|
2006-03-29 08:22:20 -08:00
|
|
|
echo
|
|
|
|
echo "------------------------------------------------------------------------"
|
|
|
|
echo "$PACKAGE Version $VERSION"
|
|
|
|
echo "------------------------------------------------------------------------"
|
|
|
|
echo
|
|
|
|
echo "Configuration summary"
|
|
|
|
echo
|
|
|
|
echo "Support for"
|
|
|
|
echo " Localisation ................. $USE_NLS"
|
|
|
|
echo " Sound ........................ $enable_sound"
|
|
|
|
echo " Old GNOME hints .............. $enable_hints_gnome"
|
2006-12-09 09:27:31 -08:00
|
|
|
echo " Session management ........... $enable_sm"
|
2006-03-29 08:22:20 -08:00
|
|
|
echo " Zoom ......................... $enable_zoom"
|
2006-10-22 07:09:50 -07:00
|
|
|
echo " Xft .......................... $enable_xft"
|
2006-03-29 08:22:20 -08:00
|
|
|
echo " Xinerama ..................... $enable_xinerama"
|
|
|
|
echo " RandR ........................ $enable_xrandr"
|
2006-10-28 07:53:16 -07:00
|
|
|
echo " Sync ......................... $enable_xsync"
|
2006-03-29 08:22:20 -08:00
|
|
|
echo " Composite .................... $enable_composite"
|
2006-09-10 11:43:20 -07:00
|
|
|
echo " Window mode helper library ... $enable_roothacklib"
|
2006-03-29 08:22:20 -08:00
|
|
|
echo
|
|
|
|
echo "Experimental options - DO NOT USE unless you know what you are doing"
|
|
|
|
echo " Compile with ecore/ecore_x ... $enable_ecore"
|
2007-02-24 18:27:41 -08:00
|
|
|
echo " GLX .......................... $enable_glx"
|
2006-03-29 08:22:20 -08:00
|
|
|
echo " ScreenSaver .................. $enable_xscrnsaver"
|
|
|
|
echo
|
2006-12-24 02:21:52 -08:00
|
|
|
echo "Installation path .............. $prefix"
|
2006-03-29 08:22:20 -08:00
|
|
|
echo
|
|
|
|
echo "Compilation .................... make"
|
|
|
|
echo "Installation ................... make install"
|
|
|
|
echo
|
|
|
|
|
2005-06-06 10:58:46 -07:00
|
|
|
echo "***************************************************************"
|
|
|
|
echo "*** NOTE: If this is your first trip with version 0.16.8 ***"
|
2005-09-19 09:00:38 -07:00
|
|
|
echo "*** NOTE: you may want to take a look in docs/README-0.16.8 ***"
|
2005-06-06 10:58:46 -07:00
|
|
|
echo "***************************************************************"
|