File: configure.in

package info (click to toggle)
lmemory 0.6c-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,272 kB
  • sloc: sh: 4,797; ansic: 2,504; makefile: 37
file content (49 lines) | stat: -rw-r--r-- 952 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
dnl Process this file with autoconf to produce a configure script.
AC_INIT(lmem_window.c)

VERSION=\"0.6\"
PACKAGE=lmemory

AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)

dnl AM_ACLOCAL_INCLUDE(macros)

dnl Initialize libtool
AM_PROG_LIBTOOL

dnl Specify a configuration file
AM_CONFIG_HEADER(config.h)

dnl Enable maintainer mode
AM_MAINTAINER_MODE

dnl Checks for programs.
AC_ISC_POSIX
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_STDC_HEADERS
AC_ARG_PROGRAM

PKG_CHECK_MODULES([GTK], [gtk+-3.0 >= 3.0.0])
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)

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

dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_HEADER_TIME
AC_TYPE_UID_T

dnl Find the X11 include and library directories
AC_PATH_X
AC_PATH_XTRA
 
dnl Checks for library functions.
AC_CHECK_FUNCS(gethostname gettimeofday mkdir socket strerror strtol vsnprintf)

AC_OUTPUT(Makefile)