File: configure.ac

package info (click to toggle)
xloadimage 4.1-27
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,880 kB
  • sloc: ansic: 36,063; makefile: 306; asm: 284; sh: 144
file content (32 lines) | stat: -rw-r--r-- 809 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
dnl Process this file with autoconf to produce a configure script.
AC_INIT
AC_CONFIG_SRCDIR([xloadimage.c])
AC_CONFIG_HEADERS([config.h])

dnl Checks for programs.
AC_PROG_CC

dnl Checks for header files.
AC_PATH_XTRA
AC_CHECK_HEADERS(malloc.h strings.h sys/time.h unistd.h)

dnl Checks for libraries.
dnl Replace `main' with a function in -lm:
AC_CHECK_LIB(m, main)
dnl Replace `main' with a function in -lz:
AC_CHECK_LIB(z, main)
dnl Replace `main' with a function in -lpng:
AC_CHECK_LIB(png, main)
dnl Replace `main' with a function in -ljpeg:
AC_CHECK_LIB(jpeg, main)
dnl Replace `main' with a function in -ltiff:
AC_CHECK_LIB(tiff, main)


dnl Checks for typedefs, structures, and compiler characteristics.

dnl Checks for library functions.
AC_CHECK_FUNCS(select)

AC_CONFIG_FILES([Makefile])
AC_OUTPUT