File: configure.in

package info (click to toggle)
hfsutils 3.1-3
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 1,408 kB
  • ctags: 1,340
  • sloc: ansic: 12,976; tcl: 1,894; makefile: 591; sh: 152; perl: 29
file content (45 lines) | stat: -rw-r--r-- 779 bytes parent folder | download | duplicates (2)
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
dnl -*- shell-script -*-
dnl Process this file with autoconf to produce a configure script.
dnl
dnl $Id: configure.in,v 1.3 1997/08/26 20:57:26 rob Exp $

AC_INIT(librsrc.h)
AC_CONFIG_HEADER(config.h)

AC_ARG_ENABLE(debug,
    [  --enable-debug          enable diagnostic debugging support])

if test "x$enable_debug" = xyes
then
    AC_DEFINE(DEBUG)
fi

dnl Checks for programs.

AC_PROG_MAKE_SET
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_RANLIB

AC_PROG_GCC_TRADITIONAL

dnl Checks for header files.

AC_HEADER_STDC
AC_CHECK_HEADERS(unistd.h fcntl.h)

dnl Checks for typedefs, structures, and compiler characteristics.

AC_TYPE_SIZE_T
AC_STRUCT_TM

AC_C_CONST

dnl Checks for library functions.

AC_SUBST(LIBOBJS)
AC_CHECK_FUNCS(mktime)

dnl Create output files.

AC_OUTPUT(Makefile)