File: configure.in

package info (click to toggle)
netspeed 0.15.2-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,976 kB
  • ctags: 158
  • sloc: sh: 8,981; xml: 1,732; ansic: 1,566; makefile: 145
file content (67 lines) | stat: -rw-r--r-- 1,528 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
AC_PREREQ(2.52)

AC_INIT(netspeed_applet, 0.15.2, http://www.wh-hms.uni-ulm.de/~mfcn/netspeed)
AC_CONFIG_SRCDIR(src/netspeed.c)
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)

AM_MAINTAINER_MODE
AM_CONFIG_HEADER(config.h)
AC_CONFIG_MACRO_DIR([m4])
IT_PROG_INTLTOOL([0.35.0])

AM_PROG_LIBTOOL
AC_ISC_POSIX
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_MAKE_SET

AM_GLIB_GNU_GETTEXT
GETTEXT_PACKAGE=netspeed_applet
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", GETTEXT_PACKAGE)

PKG_CHECK_MODULES(NETSPEED, libpanelapplet-2.0 libgtop-2.0 >= 2.14.2)

AC_SUBST(NETSPEED_APPLET_CFLAGS)
AC_SUBST(NETSPEED_APPLET_LIBS)

GNOME_DOC_INIT

ac_have_iwevgenie=no
AC_MSG_CHECKING([for wireless-tools >= 28pre9])
AC_COMPILE_IFELSE([
		#include <iwlib.h>
                #ifndef IWEVGENIE
                #error "not found"
                #endif],
               ac_have_iwevgenie=yes
)
AC_MSG_RESULT([$ac_have_iwevgenie])
if test "$ac_have_iwevgenie" = yes; then
        AC_DEFINE(HAVE_IW, 1, [Defined if you have wirelesstools])
	IWLIB=-liw
	AC_SUBST(IWLIB)
fi

AC_OUTPUT([
netspeed_applet.spec
Makefile
icons/Makefile
icons/16x16/Makefile
icons/16x16/apps/Makefile
icons/16x16/devices/Makefile
icons/22x22/Makefile
icons/22x22/apps/Makefile
icons/24x24/Makefile
icons/24x24/apps/Makefile
icons/24x24/status/Makefile
icons/32x32/Makefile
icons/32x32/apps/Makefile
icons/48x48/Makefile
icons/48x48/apps/Makefile
icons/scalable/Makefile
icons/scalable/apps/Makefile
src/Makefile
po/Makefile.in
help/Makefile
])