]> arthur.barton.de Git - ngircd-alex.git/blob - configure.in
a84198ec7a1cbc3d32c9323118e905d86e8822a6
[ngircd-alex.git] / configure.in
1 #
2 # ngIRCd -- The Next Generation IRC Daemon
3 # Copyright (c)2001 by Alexander Barton (alex@barton.de)
4 #
5 # Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen
6 # der GNU General Public License (GPL), wie von der Free Software Foundation
7 # herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2
8 # der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version.
9 # Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
10 # der an comBase beteiligten Autoren finden Sie in der Datei AUTHORS.
11 #
12 # $Id: configure.in,v 1.2 2001/12/11 22:04:21 alex Exp $
13 #
14 # $Log: configure.in,v $
15 # Revision 1.2  2001/12/11 22:04:21  alex
16 # - Test auf stdint.h (HAVE_STDINT_H) hinzugefuegt.
17 #
18 # Revision 1.1.1.1  2001/12/11 21:53:04  alex
19 # Imported sources to CVS.
20 #
21
22 # -- Initialisierung --
23
24 AC_INIT
25 AC_CONFIG_SRCDIR(src/ngircd/ngircd.c)
26 AM_INIT_AUTOMAKE(ngircd,0.0.1-pre)
27 AM_CONFIG_HEADER(src/config.h)
28
29 # -- Variablen --
30
31 CFLAGS="$CFLAGS -I/usr/local/include"
32 LDFLAGS="$LDFLAGS -L/usr/local/lib"
33
34 # -- C Compiler --
35
36 AC_PROG_CC
37 AC_LANG_C
38
39 # -- Hilfsprogramme --
40
41 AC_PROG_MAKE_SET
42 AC_PROG_RANLIB
43
44 # -- Header --
45
46 AC_HEADER_STDC
47
48 AC_CHECK_HEADER(portab.h,,AC_MSG_ERROR([Alex \"portability headers\" (portab.h an friends) not found!]))
49 AC_CHECK_HEADER(imp.h,,AC_MSG_ERROR([Alex \"portability headers\" (portab.h an friends) not found!]))
50 AC_CHECK_HEADER(exp.h,,AC_MSG_ERROR([Alex \"portability headers\" (portab.h an friends) not found!]))
51
52 AC_CHECK_HEADERS([netinet/in.h sys/socket.h],,[required C headers missing!])
53
54 AC_CHECK_HEADERS([stdint.h])
55
56 # -- Datentypen --
57
58 # -- Funktionen --
59
60 AC_CHECK_FUNCS([socket],,[required functions missing!])
61
62 # -- Libraries --
63
64 # -- Konfigurationsoptionen --
65
66 # -- Ausgabe --
67
68 AC_OUTPUT([Makefile src/Makefile src/ngircd/Makefile])
69
70 # -eof-