1998-02-10 21:22:12 +00:00
|
|
|
AC_INIT(desktop-properties)
|
|
|
|
|
|
|
|
AM_CONFIG_HEADER(config.h)
|
1998-09-23 05:29:43 +00:00
|
|
|
AM_INIT_AUTOMAKE(gnome-core, 0.30)
|
1998-02-10 21:22:12 +00:00
|
|
|
|
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
|
1998-02-12 00:11:49 +00:00
|
|
|
AM_ACLOCAL_INCLUDE(macros)
|
|
|
|
|
1998-02-25 13:54:11 +00:00
|
|
|
dnl
|
|
|
|
dnl let applications configure for gnome
|
|
|
|
dnl
|
|
|
|
gnome_cv_use_gnome=yes
|
|
|
|
|
1998-02-11 01:39:34 +00:00
|
|
|
GNOME_INIT
|
1998-02-10 21:22:12 +00:00
|
|
|
|
|
|
|
AC_ISC_POSIX
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_STDC_HEADERS
|
|
|
|
AC_ARG_PROGRAM
|
|
|
|
AM_PROG_LIBTOOL
|
|
|
|
AC_PROG_CXX
|
1998-04-26 15:16:43 +00:00
|
|
|
AM_PROG_LEX
|
|
|
|
AC_PROG_YACC
|
1998-02-10 21:22:12 +00:00
|
|
|
|
1998-09-07 00:45:02 +00:00
|
|
|
GNOME_COMPILE_WARNINGS
|
|
|
|
|
1998-02-14 06:06:56 +00:00
|
|
|
GNOME_X_CHECKS
|
1998-08-27 19:53:02 +00:00
|
|
|
GNOME_GHTTP_CHECK
|
|
|
|
|
1998-05-30 16:23:22 +00:00
|
|
|
dnl utility conditional
|
|
|
|
AM_CONDITIONAL(FALSE, test "x" = "y")
|
|
|
|
|
1998-11-25 22:45:06 +00:00
|
|
|
dnl ## all 'es_??' are only needed for format numbers different of 'es'
|
1998-12-06 16:23:22 +00:00
|
|
|
ALL_LINGUAS="ca cs da de es es_DO es_GT es_HN es_MX es_PA es_PE es_SV fi fr ga it ja ko no pt sv ru pl hu"
|
1998-02-10 21:22:12 +00:00
|
|
|
AM_GNU_GETTEXT
|
|
|
|
|
|
|
|
AC_SUBST(CFLAGS)
|
|
|
|
AC_SUBST(CPPFLAGS)
|
|
|
|
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)
|
|
|
|
|
1998-02-10 21:22:12 +00:00
|
|
|
dnl properties-keyboard
|
|
|
|
AC_CHECK_HEADERS(X11/extensions/xf86misc.h, XF86MISC_LIBS="-lXxf86misc")
|
|
|
|
AC_SUBST(XF86MISC_LIBS)
|
|
|
|
|
1998-06-10 15:48:25 +00:00
|
|
|
for dir in `(IFS=:; for i in $PATH; do echo $i ; done)` ; do
|
1998-07-19 05:29:43 +00:00
|
|
|
if test -f $dir/orbit-idl ; then
|
|
|
|
orbit_prefix=`echo $dir | sed 's%/bin$%%' |sed 's%/bin/$%%'`
|
1998-07-13 17:30:57 +00:00
|
|
|
break
|
1998-06-10 15:48:25 +00:00
|
|
|
fi
|
|
|
|
done
|
1998-10-20 16:34:25 +00:00
|
|
|
|
1998-07-19 05:29:43 +00:00
|
|
|
ORB_LIBS="$ORBIT_LIBS"
|
|
|
|
ORB_CFLAGS="$ORBIT_CFLAGS"
|
1998-06-10 15:48:25 +00:00
|
|
|
|
1998-07-19 05:29:43 +00:00
|
|
|
AC_SUBST(ORB_LIBS)
|
|
|
|
AC_SUBST(ORB_CFLAGS)
|
1998-06-10 15:48:25 +00:00
|
|
|
|
1998-02-26 19:45:07 +00:00
|
|
|
dnl gnome-session
|
1998-02-26 21:14:55 +00:00
|
|
|
dnl $GNOME_HAVE_SM comes from GNOME_X_CHECKS
|
1998-03-02 22:35:56 +00:00
|
|
|
AM_CONDITIONAL(SESSION, test "$GNOME_HAVE_SM" = true)
|
1998-04-26 22:33:49 +00:00
|
|
|
AC_ARG_WITH(window-manager,
|
|
|
|
[ --with-window-manager=NAME
|
|
|
|
Specify default window manager],[
|
1998-07-22 01:02:45 +00:00
|
|
|
WINDOW_MANAGER="$with_window_manager"], [
|
|
|
|
dnl icewm is the default because it supports session management
|
|
|
|
dnl and other Gnome requirements.
|
|
|
|
WINDOW_MANAGER=icewm])
|
|
|
|
AC_SUBST(WINDOW_MANAGER)
|
1998-04-26 22:33:49 +00:00
|
|
|
|
1998-08-23 14:33:48 +00:00
|
|
|
dnl Check for libgtop
|
1998-09-29 22:55:47 +00:00
|
|
|
GNOME_LIBGTOP_HOOK(,applets_libgtop=yes)
|
|
|
|
|
|
|
|
if test x$applets_libgtop != xyes; then
|
|
|
|
AC_MSG_WARN([*** \`cpuload' applet will not be built ***])
|
|
|
|
AC_MSG_WARN([*** \`cpumemusage' applet will not be built ***])
|
|
|
|
AC_MSG_WARN([*** \`diskusage' applet will not be built ***])
|
|
|
|
AC_MSG_WARN([*** \`multiload' applet will not be built ***])
|
1998-11-22 19:52:44 +00:00
|
|
|
AC_MSG_WARN([*** \`netload' applet will not be built ***])
|
1998-09-29 22:55:47 +00:00
|
|
|
fi
|
1998-08-23 14:33:48 +00:00
|
|
|
|
1998-08-27 19:53:02 +00:00
|
|
|
dnl Check for ghttp library
|
|
|
|
AM_CONDITIONAL(HAVE_LIBGHTTP, test -n "$GHTTP_LIB")
|
|
|
|
AC_SUBST(GHTTP_LIB)
|
1998-09-27 21:04:54 +00:00
|
|
|
if test -z "$GHTTP_LIB"; then
|
|
|
|
AC_MSG_WARN([*** \`bussign' applet will not be built ***])
|
|
|
|
fi
|
1998-08-27 19:53:02 +00:00
|
|
|
|
1998-02-10 21:22:12 +00:00
|
|
|
dnl panel/cdplayer
|
|
|
|
AC_CANONICAL_HOST
|
|
|
|
case "$host" in
|
|
|
|
*linux*) CDROM_HOST=linux;;
|
|
|
|
*solaris*) CDROM_HOST=solaris;;
|
|
|
|
esac
|
1998-08-02 23:22:03 +00:00
|
|
|
AM_CONDITIONAL(APPLET_CDPLAYER, test -n "$CDROM_HOST")
|
1998-02-10 21:22:12 +00:00
|
|
|
AC_SUBST(CDROM_HOST)
|
1998-09-27 21:04:54 +00:00
|
|
|
if test -z "$CDROM_HOST"; then
|
|
|
|
AC_MSG_WARN([*** \`cdplayer' applet will not be built ***])
|
|
|
|
fi
|
1998-02-10 21:22:12 +00:00
|
|
|
|
1998-04-27 03:15:44 +00:00
|
|
|
dnl panel/mixer
|
1998-08-02 23:22:03 +00:00
|
|
|
P_MIXER=
|
|
|
|
AC_CHECK_HEADERS(linux/soundcard.h,[P_MIXER=mixer],[
|
|
|
|
AC_CHECK_HEADERS(machine/soundcard.h, [P_MIXER=mixer])])
|
|
|
|
AM_CONDITIONAL(APPLET_MIXER, test "$P_MIXER" = "mixer")
|
1998-09-27 21:04:54 +00:00
|
|
|
if test "$P_MIXER" != "mixer"; then
|
|
|
|
AC_MSG_WARN([*** \`mixer' applet will not be built ***])
|
|
|
|
fi
|
1998-05-26 11:44:30 +00:00
|
|
|
|
|
|
|
dnl panel/modemlights
|
1998-08-02 23:22:03 +00:00
|
|
|
P_MODEMLIGHTS=
|
|
|
|
AC_CHECK_HEADERS(net/ppp_defs.h,[P_MODEMLIGHTS=modemlights])
|
|
|
|
AM_CONDITIONAL(APPLET_MODEMLIGHTS, test "$P_MODEMLIGHTS" = "modemlights")
|
1998-09-27 21:04:54 +00:00
|
|
|
if test "$P_MODEMLIGHTS" != "modemlights"; then
|
|
|
|
AC_MSG_WARN([*** \`modemlights' applet will not be built ***])
|
|
|
|
fi
|
1998-09-23 12:26:21 +00:00
|
|
|
|
1998-12-08 16:00:21 +00:00
|
|
|
if test "$WINDOW_MANAGER" == "Xfvwm2"
|
1998-09-23 12:26:21 +00:00
|
|
|
then
|
1998-12-08 16:00:21 +00:00
|
|
|
FVWM_PAGER=yes
|
|
|
|
AM_CONDITIONAL(APPLET_FVWM_PAGER, test ! -z "$FVWM_PAGER")
|
1998-09-23 12:26:21 +00:00
|
|
|
fi
|
|
|
|
|
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)
|
|
|
|
|
1998-03-13 07:31:35 +00:00
|
|
|
dnl help-browser
|
|
|
|
dnl I found `inet_aton' in -lresolv on solaris
|
|
|
|
oLIBS="$LIBS"
|
|
|
|
RES_LIBS=
|
|
|
|
# the following two are covered by X11 too. If inet_aton is found in
|
|
|
|
# plain libc, -lsocket or -lnsl, RES_LIBS will be empty.
|
|
|
|
AC_CHECK_FUNC(connect,,[AC_CHECK_LIB(socket,connect)])
|
|
|
|
AC_CHECK_FUNC(gethostbyname,,[AC_CHECK_LIB(nsl,gethostbyname)])
|
|
|
|
AC_CHECK_FUNC(inet_aton,,[AC_CHECK_LIB(resolv,inet_aton,RES_LIBS="-lresolv")])
|
|
|
|
AC_SUBST(RES_LIBS)
|
|
|
|
LIBS="$oLIBS"
|
|
|
|
|
1998-05-16 01:11:49 +00:00
|
|
|
dnl AC_CONFIG_SUBDIRS(gemvt)
|
1998-02-25 13:54:11 +00:00
|
|
|
|
1998-02-10 21:22:12 +00:00
|
|
|
AC_OUTPUT([
|
|
|
|
Makefile
|
|
|
|
po/Makefile.in
|
1998-02-14 06:06:56 +00:00
|
|
|
macros/Makefile
|
1998-02-10 21:22:12 +00:00
|
|
|
panel/Makefile
|
1998-03-18 07:33:16 +00:00
|
|
|
applets/Makefile
|
1998-03-18 09:11:57 +00:00
|
|
|
applets/applet-dirs/Makefile
|
1998-08-24 22:40:28 +00:00
|
|
|
applets/asclock/Makefile
|
1998-05-23 23:35:35 +00:00
|
|
|
applets/gen_util/Makefile
|
1998-03-18 07:33:16 +00:00
|
|
|
applets/batmon/Makefile
|
1998-05-14 01:50:43 +00:00
|
|
|
applets/bussign/Makefile
|
1998-03-18 07:33:16 +00:00
|
|
|
applets/cdplayer/Makefile
|
1998-04-27 03:15:44 +00:00
|
|
|
applets/mixer/Makefile
|
1998-05-17 17:46:48 +00:00
|
|
|
applets/modemlights/Makefile
|
1998-08-23 14:33:48 +00:00
|
|
|
applets/multiload/Makefile
|
1998-04-21 07:00:51 +00:00
|
|
|
applets/cpuload/Makefile
|
1998-05-08 06:21:35 +00:00
|
|
|
applets/netload/Makefile
|
1998-04-22 15:29:31 +00:00
|
|
|
applets/cpumemusage/Makefile
|
1998-05-08 03:09:49 +00:00
|
|
|
applets/fish/Makefile
|
1998-08-21 04:26:44 +00:00
|
|
|
applets/gkb/Makefile
|
1998-05-22 22:35:15 +00:00
|
|
|
applets/diskusage/Makefile
|
1998-05-24 20:20:36 +00:00
|
|
|
applets/icewm-pager/Makefile
|
1998-10-08 21:02:40 +00:00
|
|
|
applets/gnome-pager/Makefile
|
1998-10-29 00:49:12 +00:00
|
|
|
applets/esd-manager/Makefile
|
1998-05-25 20:20:40 +00:00
|
|
|
applets/drivemount/Makefile
|
|
|
|
applets/clockmail/Makefile
|
1998-05-30 02:47:48 +00:00
|
|
|
applets/webcontrol/Makefile
|
1998-05-27 17:55:37 +00:00
|
|
|
applets/dialer/Makefile
|
1998-07-09 00:09:34 +00:00
|
|
|
applets/fifteen/Makefile
|
1998-07-13 08:09:18 +00:00
|
|
|
applets/battery/Makefile
|
1998-09-11 20:41:12 +00:00
|
|
|
applets/charpick/Makefile
|
1998-08-19 09:48:43 +00:00
|
|
|
applets/winlist/Makefile
|
1998-09-23 12:26:21 +00:00
|
|
|
applets/fvwm-pager/Makefile
|
1998-09-28 16:37:50 +00:00
|
|
|
applets/slashapp/Makefile
|
1998-11-29 23:23:59 +00:00
|
|
|
applets/gticker/Makefile
|
1998-05-05 07:21:09 +00:00
|
|
|
core-docs/Makefile
|
1998-02-10 21:22:12 +00:00
|
|
|
desktop-links/Makefile
|
1998-02-11 05:22:02 +00:00
|
|
|
desktop-properties/Makefile
|
1998-04-28 06:09:42 +00:00
|
|
|
gnome-terminal/Makefile
|
1998-02-13 23:35:03 +00:00
|
|
|
help-browser/Makefile
|
1998-02-20 20:51:18 +00:00
|
|
|
help-browser/gnome-man2html/Makefile
|
1998-02-23 19:05:48 +00:00
|
|
|
help-browser/gnome-info2html/Makefile
|
1998-06-12 01:40:26 +00:00
|
|
|
gmenu/Makefile
|
1998-08-11 03:18:37 +00:00
|
|
|
control-center/Makefile
|
1998-08-25 22:14:30 +00:00
|
|
|
capplets/Makefile
|
|
|
|
capplets/mouse-properties/Makefile
|
1998-09-21 23:32:58 +00:00
|
|
|
capplets/keyboard-properties/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
|
1998-09-23 21:35:52 +00:00
|
|
|
capplets/screensaver-properties/Makefile
|
|
|
|
capplets/screensaver-properties/screensaver-desktops/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-10-08 21:02:40 +00:00
|
|
|
capplets/e-conf/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
|
1998-09-23 05:29:43 +00:00
|
|
|
idl/Makefile
|
1998-02-10 21:22:12 +00:00
|
|
|
pixmaps/Makefile
|
|
|
|
gsm/Makefile
|
1998-07-17 00:21:06 +00:00
|
|
|
smproxy/Makefile
|
1998-12-02 18:18:48 +00:00
|
|
|
intl/Makefile])
|