File: configure.in

package info (click to toggle)
mscompress 0.3-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 244 kB
  • ctags: 40
  • sloc: sh: 1,802; ansic: 605; makefile: 84
file content (31 lines) | stat: -rw-r--r-- 635 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
dnl Process this file with autoconf to produce a configure script.
AC_INIT(version.c)

AC_CANONICAL_HOST
OS_TYPE="$host"
AC_SUBST(OS_TYPE)

VERSION=`sed -e 's/^.*"\(.*\)";$/\1/' version.c`
echo "Package: mscompress-$VERSION"
AC_SUBST(VERSION)

AC_DEFINE_UNQUOTED(BUILDHOST,"`hostname`")

dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL

AC_CONFIG_HEADER(config.h:config.h.in)

dnl Checks for libraries.

dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h unistd.h getopt.h)
AC_C_BIGENDIAN

dnl Checks for typedefs, structures, and compiler characteristics.

dnl Checks for library functions.

AC_OUTPUT(Makefile)