/[vps]/baselayout-vserver/trunk/src/core/configure.ac
Gentoo

Contents of /baselayout-vserver/trunk/src/core/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log


Revision 127 - (show annotations) (download)
Fri Dec 2 10:56:06 2005 UTC (12 years, 9 months ago) by phreak
File size: 1396 byte(s)
Import the latest baselayout changes. Merging revision 1658.
1 AC_PREREQ([2.59])
2 AC_INIT([rcscript-core], [0.1], [base-system@gentoo.org])
3 AM_INIT_AUTOMAKE
4 AC_CONFIG_HEADER([config.h])
5
6 dnl Checks for programs.
7 AC_PROG_CC
8 AC_ISC_POSIX
9 AC_PROG_INSTALL
10 AC_PROG_MAKE_SET
11 AC_PROG_AWK
12
13 AC_ENABLE_SHARED
14 AC_DISABLE_STATIC
15 dnl Next four lines is a hack to prevent libtool checking for CXX/F77
16 m4_undefine([AC_PROG_CXX])
17 m4_defun([AC_PROG_CXX],[])
18 m4_undefine([AC_PROG_F77])
19 m4_defun([AC_PROG_F77],[])
20 AC_PROG_LIBTOOL
21
22 AC_PREFIX_DEFAULT([])
23
24 dnl Checks for libraries.
25 dnl Checks for header files.
26 AC_FUNC_ALLOCA
27 AC_HEADER_STDC
28
29 dnl Checks for typedefs, structures, and compiler characteristics.
30 AC_C_CONST
31 AC_TYPE_UID_T
32 AC_TYPE_MODE_T
33 AC_TYPE_SIZE_T
34
35 dnl Checks for library functions.
36 AC_FUNC_FORK
37 AC_FUNC_LSTAT
38 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
39 AC_FUNC_MALLOC
40 AC_FUNC_REALLOC
41 AC_TYPE_SIGNAL
42 AC_FUNC_STAT
43
44 dnl check if we have 32bit or 64bit output
45 AC_ARG_ENABLE([debug],
46 AS_HELP_STRING([--enable-debug],
47 [enable debugging - very verbose (default=disabled)]),
48 [enable_debug="$enableval"],
49 [enable_debug="no"]
50 )
51
52 if test x"$enable_debug" != xno ; then
53 CFLAGS="$CFLAGS -ggdb -DRC_DEBUG"
54 fi
55
56 RCSCRIPTS_DEFINES='-DETCDIR="\"$(sysconfdir)\"" -DLIBDIR="\"$(libdir)\"" -DBINDIR="\"$(bindir)\"" -DSBINDIR="\"$(sbindir)\""'
57 AC_SUBST([RCSCRIPTS_DEFINES])
58
59 AC_OUTPUT([
60 Makefile
61 scripts/Makefile
62 data/Makefile
63 librcscripts/Makefile
64 src/Makefile
65 tests/Makefile
66 ])

  ViewVC Help
Powered by ViewVC 1.1.20