File: configure.in

package info (click to toggle)
libcdk5 5.0.20060507-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,556 kB
  • ctags: 2,808
  • sloc: ansic: 31,202; sh: 4,391; makefile: 661; sed: 43; cpp: 42
file content (27 lines) | stat: -rw-r--r-- 460 bytes parent folder | download | duplicates (6)
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
dnl
dnl Process this file with autoconf to produce a configure script.
dnl
AC_INIT(CDKDemo)

dnl
dnl Checks for programs.
dnl
AC_PROG_CC

dnl
dnl Put -Wall on compile line if we are using gcc or g++
dnl
if test "$ac_cv_prog_CC" = "gcc"; then
   CFLAGS="$CFLAGS -Wall"
fi
if test "$ac_cv_prog_CC" = "g++"; then
   CFLAGS="$CFLAGS -Wall"
fi

dnl
dnl Checks for libraries.
dnl
dnl  -lncurses -lm -lcdk -L..
AC_CHECK_LIB(ncurses, start_color)

AC_OUTPUT(Makefile)