File: configure.in

package info (click to toggle)
imvirt 0.9.6-13
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,364 kB
  • sloc: perl: 2,778; sh: 802; ansic: 316; makefile: 61
file content (54 lines) | stat: -rw-r--r-- 1,050 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
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_REVISION($Revision$)

AC_PREREQ(2.61)
AC_INIT(imvirt, 0.9.6, liske@ibh.de)
AM_INIT_AUTOMAKE
AC_CANONICAL_HOST
AC_CONFIG_SRCDIR([helper/detect.c])
AC_CONFIG_HEADER([helper/config.h])

# Checks for programs.
AC_PROG_CC

# Checks for libraries.

# Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS([stdint.h stdlib.h string.h unistd.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_PID_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T

# Checks for library functions.
AC_FUNC_FORK
AC_TYPE_SIGNAL

# Check architecture
AC_MSG_CHECKING(x86 platform)
case $host_cpu in
    x86_64) x86arch=true ;;
    i686) x86arch=true ;;
    *) x86arch=false ;;
esac
AC_MSG_RESULT($x86arch)
AM_CONDITIONAL([X86ARCH], [test x$x86arch = xtrue ])

MYDIR=$libexecdir
AC_SUBST(MYDIR)

AC_CONFIG_FILES([
Makefile
dist/Makefile
helper/Makefile
man/Makefile
imvirt.spec
perl/lib/ImVirt.pm
])

AC_OUTPUT