/ [swis] / trunk / configure.ac
To checkout: svn checkout http://svn.gnu.org.ua/sources/swis/trunk/configure.ac
Puszcza

Contents of /trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations)
Tue Oct 2 13:30:11 2007 UTC (13 years, 8 months ago) by gray
File size: 1783 byte(s)
Initial import
1 # This file is part of SWIS
2 # Copyright (C) 2007 Sergey Poznyakoff
3 #
4 # SWIS is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3, or (at your option)
7 # any later version.
8 #
9 # SWIS is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with SWIS. If not, see <http://www.gnu.org/licenses/>.
16
17 AC_PREREQ(2.59)
18 AC_INIT([swis], 0.1, [gray@gnu.org.ua])
19 AC_CONFIG_SRCDIR([src/swis.h])
20 AC_CONFIG_AUX_DIR([build-aux])
21 AC_CONFIG_HEADER([config.h])
22 AM_INIT_AUTOMAKE
23
24 # Checks for programs.
25 AC_PROG_CC
26 gl_EARLY
27 AC_PROG_LEX
28 AC_PROG_YACC
29 AC_PROG_RANLIB
30
31 # Checks for libraries.
32
33 # Checks for header files.
34 AC_HEADER_STDC
35 AC_HEADER_SYS_WAIT
36 AC_CHECK_HEADERS([stdlib.h string.h sys/file.h unistd.h sys/sendfile.h])
37
38 # Checks for typedefs, structures, and compiler characteristics.
39 AC_C_CONST
40 AC_TYPE_SIGNAL
41 AC_TYPE_UID_T
42 AC_TYPE_PID_T
43 AC_TYPE_SIZE_T
44 AC_HEADER_STDBOOL
45
46 # Checks for library functions.
47 gl_INIT
48 AC_FUNC_FORK
49 AC_FUNC_MALLOC
50 AC_FUNC_MEMCMP
51 AC_FUNC_STAT
52 AC_FUNC_VPRINTF
53 AC_CHECK_FUNCS([memset strchr strdup strerror strrchr setegid setregid setresgid seteuid setreuid vsyslog sysconf getdtablesize])
54
55 AH_BOTTOM([
56 #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
57 # define __attribute__(x)
58 #endif
59
60 #ifndef GSC_PRINTFLIKE
61 # define GSC_PRINTFLIKE(fmt,narg) __attribute__ ((__format__ (__printf__, fmt, narg)))
62 #endif
63 ])
64
65 AC_CONFIG_FILES([Makefile
66 gnu/Makefile
67 src/Makefile])
68
69 AC_OUTPUT

Send suggestions and bug reports to Sergey Poznyakoff
ViewVC Help
Powered by ViewVC 1.1.20