-
Notifications
You must be signed in to change notification settings - Fork 9
/
configure.ac
50 lines (43 loc) · 1.59 KB
/
configure.ac
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
#
# Color Bandwidth Meter (CBM) - display in real time the network traffic speed
#
# Copyright 2005-2006 Aaron Isotton <[email protected]>
# Copyright 2019 Joao Eriberto Mota Filho <[email protected]>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; version 2
# of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
AC_PREREQ([2.69])
AC_INIT([cbm],[0.3.2],[https://github.com/resurrecting-open-source-projects/cbm/issues])
AM_INIT_AUTOMAKE(foreign)
AC_CONFIG_SRCDIR(src/cbm.cpp)
AC_CONFIG_HEADERS([src/config.h])
# Checks for programs.
AC_PROG_CC
AC_PROG_CXX
if test "${GXX}" = ""; then
AC_MSG_ERROR([ERROR: we need a C++ compiler, like g++ or other])
fi
LT_INIT
# Check for host platform
AC_CANONICAL_HOST
# Checks for libraries.
# Checks for header files.
AC_CHECK_HEADER(curses.h,[],[ AC_MSG_ERROR(curses.h not found or too old.) ], [])
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
#
AC_CONFIG_MACRO_DIRS([m4])
AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile src/widgets/Makefile])
AC_OUTPUT