File: configure.in

package info (click to toggle)
pngtools 0.4-1.3
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 1,044 kB
  • ctags: 48
  • sloc: ansic: 726; sh: 659; makefile: 8
file content (37 lines) | stat: -rw-r--r-- 840 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
dnl Process this file with autoconf to produce a configure script.
AC_INIT(pnginfo.c)
AC_CONFIG_AUX_DIR(config)
AC_REVISION
AM_INIT_AUTOMAKE(pngtools, 0.2)
AM_MAINTAINER_MODE

dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL

dnl Checks for libraries.
dnl The syntax is library name, function, action if found, action if not found
dnl We just use the default if found action which adds -l<lib> to the LIBS var
dnl and #defined HAVE_LIB<lib>


dnl -lm:
AC_CHECK_LIB(m, atan)

dnl -lpng:
AC_CHECK_LIB(png, png_get_libpng_ver)

dnl STDC checks for stdlib.h stdarg.h string.h and float.h
AC_HEADER_STDC
AC_CHECK_HEADERS(stdio.h)

dnl Headers for libraries
AC_CHECK_HEADERS(png.h)

dnl Checks for typedefs, structures, and compiler characteristics.

dnl Checks for library functions.
AC_FUNC_VPRINTF
dnl AC_FUNC_SNPRINTF

AC_OUTPUT(Makefile)