2000-08-11 19:17:30 +00:00
|
|
|
AC_INIT(new-control-center)
|
1998-02-10 21:22:12 +00:00
|
|
|
|
|
|
|
AM_CONFIG_HEADER(config.h)
|
2000-08-11 19:17:30 +00:00
|
|
|
AM_INIT_AUTOMAKE(control-center, 1.3.0)
|
1998-02-10 21:22:12 +00:00
|
|
|
|
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
|
1998-02-25 13:54:11 +00:00
|
|
|
dnl
|
|
|
|
dnl let applications configure for gnome
|
|
|
|
dnl
|
|
|
|
gnome_cv_use_gnome=yes
|
|
|
|
|
1998-02-10 21:22:12 +00:00
|
|
|
|
2000-08-11 19:17:30 +00:00
|
|
|
AM_ACLOCAL_INCLUDE(macros)
|
|
|
|
GNOME_INIT
|
|
|
|
GNOME_COMPILE_WARNINGS
|
|
|
|
|
1998-02-10 21:22:12 +00:00
|
|
|
AC_ISC_POSIX
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_STDC_HEADERS
|
|
|
|
AC_ARG_PROGRAM
|
|
|
|
AM_PROG_LIBTOOL
|
1998-04-26 15:16:43 +00:00
|
|
|
AM_PROG_LEX
|
|
|
|
AC_PROG_YACC
|
1998-02-10 21:22:12 +00:00
|
|
|
|
1998-05-30 16:23:22 +00:00
|
|
|
dnl utility conditional
|
|
|
|
AM_CONDITIONAL(FALSE, test "x" = "y")
|
|
|
|
|
2000-06-23 20:17:59 +00:00
|
|
|
ALL_LINGUAS="ca cs da de el en_GB es et fi fr ga gl hr hu it ja ko lt nl no pl pt pt_BR ro ru sl sv tr uk zh_CN.GB2312 zh_TW.Big5"
|
1999-01-17 11:32:50 +00:00
|
|
|
AM_GNOME_GETTEXT
|
1998-02-10 21:22:12 +00:00
|
|
|
|
2000-08-11 19:17:30 +00:00
|
|
|
GNOME_XML_CHECK
|
|
|
|
XML_CFLAGS=`gnome-config --cflags xml`
|
|
|
|
AC_SUBST(XML_CFLAGS)
|
|
|
|
|
|
|
|
AM_PATH_LIBGLADE(,,"gnome")
|
|
|
|
|
1998-02-10 21:22:12 +00:00
|
|
|
AC_SUBST(CFLAGS)
|
|
|
|
AC_SUBST(LDFLAGS)
|
|
|
|
|
1998-02-11 22:22:32 +00:00
|
|
|
AC_CHECK_HEADERS(dlfcn.h dl.h)
|
|
|
|
AC_CHECK_LIB(dl, dlopen, DL_LIB="-ldl",[
|
|
|
|
AC_CHECK_LIB(dld, shl_load, DL_LIB="-ldld",[
|
|
|
|
AC_CHECK_FUNCS(dlopen, DL_LIB="",
|
|
|
|
AC_MSG_ERROR(Dynamic linking is not available on this platform. Some
|
|
|
|
apps, like panel, will not run properly.))
|
|
|
|
])])
|
|
|
|
AC_SUBST(DL_LIB)
|
|
|
|
|
1999-02-22 22:44:02 +00:00
|
|
|
AC_CHECK_FUNCS(usleep)
|
|
|
|
|
1998-12-08 20:47:55 +00:00
|
|
|
dnl keyboard-properties-capplet
|
1998-02-10 21:22:12 +00:00
|
|
|
AC_CHECK_HEADERS(X11/extensions/xf86misc.h, XF86MISC_LIBS="-lXxf86misc")
|
|
|
|
AC_SUBST(XF86MISC_LIBS)
|
|
|
|
|
2000-02-06 21:39:48 +00:00
|
|
|
AM_PATH_LIBGLADE(,AC_MSG_ERROR([You must have LibGlade installed.]), gnome)
|
|
|
|
|
1998-10-29 01:00:18 +00:00
|
|
|
dnl esd-manager
|
1998-11-05 00:56:59 +00:00
|
|
|
have_libesd=no
|
|
|
|
AM_PATH_ESD(,have_libesd=yes,
|
|
|
|
[AC_MSG_WARN([*** \`esd-manager' will not be built ***])])
|
|
|
|
AM_CONDITIONAL(HAVE_LIBESD, test yes = $have_libesd)
|
1999-02-08 21:41:06 +00:00
|
|
|
if test "$have_libesd" = yes; then
|
|
|
|
AC_DEFINE(HAVE_ESD)
|
|
|
|
AC_DEFINE(HAVE_LIBESD)
|
|
|
|
fi
|
1998-11-05 00:56:59 +00:00
|
|
|
|
1999-02-16 21:45:12 +00:00
|
|
|
dnl session-properties
|
|
|
|
AM_CONDITIONAL(SESSION, test "$GNOME_HAVE_SM" = true)
|
|
|
|
|
1999-01-12 23:58:19 +00:00
|
|
|
AM_PATH_IMLIB(1.8.2, , [
|
|
|
|
echo "ERROR: Needs a system with Imlib 1.8.2 or higher"
|
|
|
|
echo "You can obtain it from:"
|
|
|
|
echo "ftp://ftp.enlightenment.org/pub/enlightenment/"
|
|
|
|
echo "ftp://www.rasterman.com/pub/enlightenment/"
|
|
|
|
echo "ftp://ftp.labs.redhat.com/pub/imlib/"
|
|
|
|
AC_MSG_ERROR([Fatal Error: no Imlib detected.])])
|
|
|
|
|
1998-02-10 21:22:12 +00:00
|
|
|
AC_OUTPUT([
|
1999-02-21 18:21:06 +00:00
|
|
|
control-center.spec
|
1998-02-10 21:22:12 +00:00
|
|
|
Makefile
|
|
|
|
po/Makefile.in
|
2000-08-11 19:17:30 +00:00
|
|
|
new-control-center/Makefile
|
|
|
|
libcapplet/Makefile
|
1998-08-25 22:14:30 +00:00
|
|
|
capplets/Makefile
|
|
|
|
capplets/mouse-properties/Makefile
|
1999-03-11 03:11:12 +00:00
|
|
|
capplets/mime-type/Makefile
|
1998-08-25 22:14:30 +00:00
|
|
|
capplets/desktop-links/Makefile
|
1998-09-29 21:53:56 +00:00
|
|
|
capplets/background-properties/Makefile
|
2000-08-14 14:56:27 +00:00
|
|
|
capplets/keyboard-properties/Makefile
|
2000-08-11 19:17:30 +00:00
|
|
|
capplets/new-screensaver-properties/Makefile
|
|
|
|
capplets/new-screensaver-properties/screensavers/Makefile
|
1999-02-16 21:45:12 +00:00
|
|
|
capplets/session-properties/Makefile
|
1998-10-07 22:15:49 +00:00
|
|
|
capplets/sound-properties/Makefile
|
1998-12-01 23:34:58 +00:00
|
|
|
capplets/bell-properties/Makefile
|
1998-11-06 22:16:04 +00:00
|
|
|
capplets/theme-switcher/Makefile
|
1998-12-02 08:19:06 +00:00
|
|
|
capplets/ui-properties/Makefile
|
1998-12-08 02:26:12 +00:00
|
|
|
capplets/url-properties/Makefile
|
1999-02-01 20:49:11 +00:00
|
|
|
capplets/gnome-edit-properties/Makefile
|
1999-02-24 22:59:12 +00:00
|
|
|
capplets/wm-properties/Makefile
|
|
|
|
capplets/wm-properties/wm-desktops/Makefile
|
1998-09-23 05:29:43 +00:00
|
|
|
idl/Makefile
|
1998-12-02 18:18:48 +00:00
|
|
|
intl/Makefile])
|
1998-12-08 20:47:55 +00:00
|
|
|
|