File: configure.in

package info (click to toggle)
acm 5.0-27
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 8,364 kB
  • ctags: 4,791
  • sloc: ansic: 42,445; makefile: 705; cpp: 293; perl: 280; sh: 198
file content (27 lines) | stat: -rw-r--r-- 674 bytes parent folder | download | duplicates (9)
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 Process this file with autoconf to produce a configure script.
AC_INIT(gedit.c)

dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PATH_X

test "$x_includes" != "NONE" -a "$x_includes" != "" && CFLAGS="$CFLAGS -I${x_includes}"
test "$x_libraries" != "NONE" -a "$x_libraries" != "" && LIBS="$LIBS -L${x_libraries}"

LIBS="$LIBS -lXt -lXext -lX11"

dnl Checks for libraries.
AC_CHECK_LIB(Xp, XpSetAttributes)
AC_CHECK_LIB(Xm, XmCreateBulletinBoard)

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

dnl Checks for typedefs, structures, and compiler characteristics.

dnl Checks for library functions.
AC_CHECK_FUNCS(strdup)

AC_OUTPUT(Makefile)