File: configure.in

package info (click to toggle)
menu 2.1.5-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,476 kB
  • ctags: 1,251
  • sloc: cpp: 6,222; ansic: 2,306; sh: 453; makefile: 296; sed: 93
file content (40 lines) | stat: -rw-r--r-- 905 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
33
34
35
36
37
38
39
40
dnl Process this file with autoconf to produce a configure script.
AC_INIT(update-menus/update-menus.cc)

AC_ISC_POSIX

AM_INIT_AUTOMAKE(menu,[`sed -n '1s/dpkg (\([0-9.]\+\)).*/\1/p' ${srcdir}/debian/changelog`])
#AM_INIT_AUTOMAKE(menu,2.0.1)

dnl Checks for programs.
dnl AM_PROG_LIBTOOL
AC_PROG_CC
AC_PROG_CXX

AC_PROG_INSTALL

dnl Checks for libraries.

dnl Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(fcntl.h sys/file.h syslog.h unistd.h)

dnl gettext

ALL_LINGUAS="en eo"
AM_GNU_GETTEXT
#AC_OUTPUT_COMMANDS([sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile])


dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_OFF_T

dnl Checks for library functions.
AC_TYPE_SIGNAL
AC_CHECK_FUNCS(mkdir strdup strerror)

AC_OUTPUT(po/Makefile.in intl/Makefile update-menus/Makefile install-menu/Makefile Makefile)