File: configure.in

package info (click to toggle)
autoproject 0.20-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 864 kB
  • ctags: 428
  • sloc: sh: 2,949; ansic: 1,677; cpp: 199; makefile: 98
file content (44 lines) | stat: -rw-r--r-- 1,009 bytes parent folder | download | duplicates (8)
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
dnl Process this file with autoconf to produce a configure script.

AC_INIT(autoproject.in)

dnl Every other copy of the package version number gets its value from here
AM_INIT_AUTOMAKE(autoproject, 0.20)

AC_SUBST(VERSION)

ISODATE=`date +%Y-%m-%d`
AC_SUBST(ISODATE)

dnl Checks for programs.
AC_PROG_INSTALL
AC_PROG_CC
AC_PROG_AWK

dnl maybe bash is not in /bin on this system
AC_PATH_PROG(bash, bash, FAIL)
if test "$bash" = "FAIL"; then
    AC_MSG_ERROR(Cannot continue: bash not found)
fi

AC_PATH_PROG(autoconf, autoconf, FAIL)
if test "$autoconf" = "FAIL"; then
    AC_MSG_ERROR(Cannot continue: autoconf not found)
fi

AC_PATH_PROG(automake, automake, FAIL)
if test "$automake" = "FAIL"; then
    AC_MSG_ERROR(Cannot continue: automake not found)
fi

dnl Checks for libraries.

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

dnl Checks for typedefs, structures, and compiler characteristics.

dnl Checks for library functions.

AC_OUTPUT(Makefile autoproject.lsm autoproject)