File: configure.in

package info (click to toggle)
cgdb 0.6.6-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 4,052 kB
  • sloc: ansic: 19,106; sh: 4,798; exp: 1,019; lex: 392; yacc: 255; makefile: 246; php: 28; cpp: 10
file content (26 lines) | stat: -rw-r--r-- 697 bytes parent folder | download | duplicates (3)
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
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.5)
AC_INIT(gdbmi, 0.1)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE

dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL

AC_PROG_RANLIB
AM_PROG_LEX
AC_PROG_YACC

dnl Checks for header files.
AC_HEADER_STDC

dnl determine other headers for tgdb, Error if they do not exist
AC_CHECK_HEADERS([stdio.h],,[AC_MSG_ERROR([libgdbmi requires stdio.h to build.])])
AC_CHECK_HEADERS([stdlib.h],,[AC_MSG_ERROR([libgdbmi requires stdlib.h to build.])])
AC_CHECK_HEADERS([string.h],,[AC_MSG_ERROR([libgdbmi requires string.h to build.])])

dnl Checks for library functions.
AC_PROG_GCC_TRADITIONAL

AC_OUTPUT(Makefile src/Makefile)