2003-08-14 02:14:27 +08:00
|
|
|
dnl configure.ac
|
|
|
|
dnl
|
|
|
|
dnl xfce4-netload-plugin - Netload plugin for xfce4-panel
|
|
|
|
dnl
|
|
|
|
dnl 2003 Benedikt Meurer <benedikt.meurer@unix-ag.uni-siegen.de>
|
|
|
|
dnl
|
|
|
|
|
|
|
|
AC_INIT([panel-plugin/netload.c])
|
|
|
|
|
|
|
|
AM_CONFIG_HEADER([config.h])
|
|
|
|
|
2003-08-27 04:34:46 +08:00
|
|
|
AM_INIT_AUTOMAKE([xfce4-netload-plugin], [0.2.0pre3])
|
2003-08-14 02:14:27 +08:00
|
|
|
|
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
|
|
|
|
dnl Check for basic programs
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
|
|
|
|
dnl Check for standard header files
|
|
|
|
AC_HEADER_STDC
|
|
|
|
|
2003-08-18 02:58:26 +08:00
|
|
|
dnl Substitute in Makefiles
|
|
|
|
AC_SUBST(OS)
|
|
|
|
|
2003-08-25 04:07:08 +08:00
|
|
|
AC_CHECK_FUNCS([gethostname])
|
|
|
|
AC_CHECK_FUNCS([memset])
|
|
|
|
AC_CHECK_FUNCS([socket])
|
|
|
|
AC_CHECK_FUNCS([strstr])
|
|
|
|
AC_CHECK_FUNCS([malloc])
|
|
|
|
AC_CHECK_FUNCS([bzero])
|
|
|
|
AC_CHECK_HEADERS([arpa/inet.h])
|
|
|
|
AC_CHECK_HEADERS([netinet/in.h])
|
|
|
|
AC_CHECK_HEADERS([stdlib.h])
|
|
|
|
AC_CHECK_HEADERS([string.h])
|
|
|
|
AC_CHECK_HEADERS([sys/ioctl.h])
|
|
|
|
AC_CHECK_HEADERS([sys/param.h])
|
|
|
|
AC_CHECK_HEADERS([sys/socket.h])
|
|
|
|
AC_CHECK_HEADERS([sys/time.h])
|
|
|
|
AC_CHECK_HEADERS([unistd.h])
|
|
|
|
AC_HEADER_SYS_WAIT
|
|
|
|
AC_PROG_GCC_TRADITIONAL
|
|
|
|
AC_TYPE_SIZE_T
|
|
|
|
|
|
|
|
AC_CHECK_LIB(kstat, kstat_open, SOLLIBS="-lkstat -lsocket", SOLLIBS="")
|
|
|
|
AC_SUBST(SOLLIBS)
|
|
|
|
|
2003-08-18 02:58:26 +08:00
|
|
|
dnl Check for i18n support
|
|
|
|
BM_I18N([xfce4-netload], [de lt ca])
|
|
|
|
|
|
|
|
dnl configure the panel plugin
|
|
|
|
XFCE_PANEL_PLUGIN([XFCE4_PANEL], [3.99.2])
|
|
|
|
|
2003-08-14 02:14:27 +08:00
|
|
|
dnl Check for debugging support
|
|
|
|
BM_DEBUG_SUPPORT
|
|
|
|
|
|
|
|
AC_OUTPUT([
|
|
|
|
Makefile
|
|
|
|
panel-plugin/Makefile
|
|
|
|
po/Makefile.in
|
|
|
|
])
|
|
|
|
|
|
|
|
|
|
|
|
|