File: configure.in

package info (click to toggle)
acpitool 0.5.1-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 900 kB
  • sloc: sh: 3,366; cpp: 2,506; makefile: 20
file content (37 lines) | stat: -rw-r--r-- 834 bytes parent folder | download | duplicates (5)
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
AC_PREREQ(2.61)
AC_INIT(src/acpitool.cpp)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(acpitool, 0.5.1)

AC_CANONICAL_HOST

# Checks for programs.
AC_PROG_CXX
AC_PROG_CC

AC_SUBST(CFLAGS)
AC_SUBST(CXXFLAGS)

# Checks for libraries.

# Checks for header files.
AC_HEADER_DIRENT
AC_CHECK_HEADERS([unistd.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST

# Checks for library functions.
AC_FUNC_CLOSEDIR_VOID
AC_CHECK_FUNCS([strdup memset strtol])

AC_PROG_INSTALL

AC_OUTPUT(Makefile src/Makefile man/Makefile)

echo
echo " +-----------------------------------------------------------------------------------+"
echo " | Run make && make install when the configure script has finished without problems. |"
echo " +-----------------------------------------------------------------------------------+"
echo