summaryrefslogtreecommitdiffstats
path: root/configure.in
blob: f5196f27c92e45ba751b4065ce6e5cf5b29d9665 (plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
#------------------------------------------------------------------
# configure.in for the KVIrc IRC client
# Szymon Stefanek (07-04-2000)
#------------------------------------------------------------------

AC_INIT(README)

AC_SS_HEADER([Trying to find out where I am])

AC_CONFIG_AUX_DIR(admin)

AC_CANONICAL_SYSTEM

AC_SS_HEADER([Initializing automake])

AC_PREREQ(2.52)

AM_INIT_AUTOMAKE(kvirc,3.4.0)

AM_MAINTAINER_MODE

AC_PREFIX_DEFAULT(/usr/local)
AM_CONFIG_HEADER(src/config.h)

#------------------------------------------------------------------
# HERE starts your real configure script
#------------------------------------------------------------------

AC_SS_INIT_VARIABLES

AC_SS_HEADER([Checking the compilation mode])

AC_SS_CXXFLAGS

AC_SS_HEADER([Checking the C++ environment])

AC_PROG_CC
AC_AIX
AC_MINIX
AC_EXEEXT
AC_LANG_CPLUSPLUS
AC_PROG_CXX

AC_SS_HEADER([Initializing libtool])

AM_DISABLE_STATIC
AC_LIBTOOL_DLOPEN
KVIRC_PROG_LIBTOOL

AC_SS_HEADER([Checking system properties])

AC_SS_HEADER_CHECKS
AC_SS_FUNCTION_CHECKS

AC_SS_CHECK_IFADDR_STUFF
AC_SS_CHECK_DYNAMIC_LABELS
AC_SS_CHECK_BIG_ENDIAN
AC_SS_MISC_OPTIONS

AC_CHECK_SIZEOF(short int)
AC_CHECK_SIZEOF(unsigned short int)
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(unsigned int)
AC_CHECK_SIZEOF(long int)
AC_CHECK_SIZEOF(unsigned long int)
AC_CHECK_SIZEOF(long long int)
AC_CHECK_SIZEOF(unsigned long long int)
AC_CHECK_SIZEOF(void *)

#AC_SS_CHECK_KVISOCKLEN_T
#AC_SS_CHECK_BOOL
#AC_SS_LIBRARY_CHECKS
#AC_SS_FIND_JPEG

AC_SS_HEADER([Looking for required libraries])

AC_SS_CHECK_DL
AC_SS_CHECK_THREAD_STUFF

AC_SS_HEADER([Looking for X])

AC_SS_FIND_X
AC_SS_CHECK_XSS
AC_SS_HEADER([Looking for Qt])

SS_QT3_MAJOR_VERSION_REQUIRED="3"
SS_QT3_MINOR_VERSION_REQUIRED="0"
SS_QT3_PATCH_LEVEL_REQUIRED="0"
SS_QT3_GENERAL_FILE_TO_SEARCH="include/qinputdialog.h"
SS_QT3_INCLUDE_FILE_TO_SEARCH="qiconview.h"

SS_TQT3_GENERAL_FILE_TO_SEARCH="include/ntqinputdialog.h"
SS_TQT3_INCLUDE_FILE_TO_SEARCH="ntqiconview.h"

SS_QT4_MAJOR_VERSION_REQUIRED="4"
SS_QT4_MINOR_VERSION_REQUIRED="0"
SS_QT4_PATCH_LEVEL_REQUIRED="0"
SS_QT4_GENERAL_FILE_TO_SEARCH="include/QtCore/QtPlugin"
SS_QT4_INCLUDE_FILE_TO_SEARCH="QtCore/QtPlugin"


AC_SS_FIND_QT

AC_SS_HEADER([Checking KDE])

SS_KDE_GENERAL_FILE_TO_SEARCH="include/twin.h"
SS_KDE_INCLUDE_FILE_TO_SEARCH="twin.h"

AC_SS_FIND_KDE

AC_SS_HEADER([Checking additional compilation options])
AC_SS_CHECK_OPENSSL
AC_SS_CHECK_ESD
AC_SS_CHECK_ARTS
AC_SS_CHECK_ZLIB
AC_SS_CHECK_AUDIOFILE
AC_SS_CHECK_OTHER_LIBS
AC_SS_CHECK_PERL
AC_SS_HEADER([Working out the final configuration])

AC_SS_FINAL_CONFIG

AC_SS_HEADER([Creating Makefiles])

AC_OUTPUT( \
	Makefile \
	admin/Makefile \
	admin/libtool/Makefile \
	data/Makefile \
	data/applnk/Makefile \
	data/config/Makefile \
	data/defscript/Makefile \
	data/deftheme/Makefile \
	data/deftheme/silverirc/Makefile \
	data/doctemplates/Makefile \
	data/helppics/Makefile \
	data/icons/Makefile \
	data/icons/16x16/Makefile \
	data/icons/32x32/Makefile \
	data/icons/48x48/Makefile \
	data/icons/64x64/Makefile \
	data/icons/128x128/Makefile \
	data/icons/scalable/Makefile \
	data/man/Makefile \
	data/mimelnk/Makefile \
	data/msgcolors/Makefile \
	data/pics/Makefile \
	data/pics/coresmall/Makefile \
	data/protocols/Makefile \
	data/resources/Makefile \
	data/resources_mac/Makefile \
	doc/Makefile \
	doc/scriptexamples/Makefile \
	doc/scriptexamples/antiidle/Makefile \
	doc/scriptexamples/minesweeper/Makefile \
	doc/scriptexamples/mp3share/Makefile \
	doc/scriptexamples/playing/Makefile \
	doc/scriptexamples/runmenu/Makefile \
	doc/scriptexamples/simplehttp/Makefile \
	doc/scriptexamples/tutorial/Makefile \
	po/Makefile \
	po/kvirc/Makefile \
	po/modules/Makefile \
	po/modules/about/Makefile \
	po/modules/dcc/Makefile \
	po/modules/editor/Makefile \
	po/modules/filetransferwindow/Makefile \
	po/modules/logview/Makefile \
	po/modules/mediaplayer/Makefile \
	po/modules/notifier/Makefile \
	po/modules/options/Makefile \
	po/modules/perl/Makefile \
	po/modules/perlcore/Makefile \
	po/modules/sharedfileswindow/Makefile \
	po/modules/torrent/Makefile \
	po/modules/theme/Makefile \
	scripts/Makefile \
	scripts/browser/Makefile \
	scripts/config/Makefile \
	scripts/config/kvirc-config \
	scripts/helpsearch/Makefile \
	src/Makefile \
	src/kvilib/Makefile \
	src/kvilib/build/Makefile \
	src/kvilib/config/Makefile \
	src/kvilib/core/Makefile \
	src/kvilib/ext/Makefile \
	src/kvilib/file/Makefile \
	src/kvilib/include/Makefile \
	src/kvilib/irc/Makefile \
	src/kvilib/net/Makefile \
	src/kvilib/system/Makefile \
	src/kvilib/tal/Makefile \
	src/kvirc/Makefile \
	src/kvirc/build/Makefile \
	src/kvirc/include/Makefile \
	src/kvirc/kernel/Makefile \
	src/kvirc/kvs/Makefile \
	src/kvirc/module/Makefile \
	src/kvirc/sparser/Makefile \
	src/kvirc/ui/Makefile \
	src/modules/Makefile \
	src/modules/about/Makefile \
	src/modules/action/Makefile \
	src/modules/actioneditor/Makefile \
	src/modules/addon/Makefile \
	src/modules/addon/pics/Makefile \
	src/modules/aliaseditor/Makefile \
	src/modules/avatar/Makefile \
	src/modules/chan/Makefile \
	src/modules/channelsjoin/Makefile \
	src/modules/clock/Makefile \
	src/modules/codetester/Makefile \
	src/modules/config/Makefile \
	src/modules/context/Makefile \
	src/modules/dialog/Makefile \
	src/modules/dcc/Makefile \
	src/modules/dockwidget/Makefile \
	src/modules/editor/Makefile \
	src/modules/eventeditor/Makefile \
	src/modules/file/Makefile \
	src/modules/filetransferwindow/Makefile \
	src/modules/filetransferwindow/caps/Makefile \
	src/modules/help/Makefile \
	src/modules/http/Makefile \
	src/modules/ident/Makefile \
	src/modules/iograph/Makefile \
	src/modules/lamerizer/Makefile \
	src/modules/links/Makefile \
	src/modules/list/Makefile \
	src/modules/log/Makefile \
	src/modules/logview/Makefile \
	src/modules/logview/caps/Makefile \
	src/modules/mask/Makefile \
	src/modules/math/Makefile \
	src/modules/mediaplayer/Makefile \
	src/modules/mircimport/Makefile \
	src/modules/mircimport/caps/Makefile \
	src/modules/mircimport/pics/Makefile \
	src/modules/my/Makefile \
	src/modules/notifier/Makefile \
	src/modules/notifier/pics/Makefile \
	src/modules/objects/Makefile \
	src/modules/options/Makefile \
	src/modules/perl/Makefile \
	src/modules/perlcore/Makefile \
	src/modules/popupeditor/Makefile \
	src/modules/raweditor/Makefile \
	src/modules/regchan/Makefile \
	src/modules/reguser/Makefile \
	src/modules/rijndael/Makefile \
	src/modules/rijndael/caps/Makefile \
	src/modules/setup/Makefile \
	src/modules/sharedfile/Makefile \
	src/modules/sharedfileswindow/Makefile \
	src/modules/sharedfileswindow/caps/Makefile \
	src/modules/snd/Makefile \
	src/modules/socketspy/Makefile \
	src/modules/spaste/Makefile \
	src/modules/str/Makefile \
	src/modules/system/Makefile \
	src/modules/term/Makefile \
	src/modules/texticons/Makefile \
	src/modules/theme/Makefile \
	src/modules/tip/Makefile \
	src/modules/tmphighlight/Makefile \
	src/modules/toolbar/Makefile \
	src/modules/toolbareditor/Makefile \
	src/modules/torrent/Makefile \
	src/modules/url/Makefile \
	src/modules/url/caps/Makefile \
	src/modules/window/Makefile \
)