]>
Commit | Line | Data |
---|---|---|
1227625a SP |
1 | AC_INIT(dump/dump.h) |
2 | ||
3 | MCONFIG=./MCONFIG | |
4 | AC_SUBST_FILE(MCONFIG) | |
5 | ||
6 | AC_CONFIG_HEADER(config.h) | |
7 | ||
8 | dnl | |
9 | dnl Check for programs | |
10 | dnl | |
11 | AC_PROG_MAKE_SET | |
12 | AC_PROG_LN_S | |
13 | AC_PATH_PROG(CP, cp, cp) | |
14 | AC_PATH_PROG(MV, mv, mv) | |
15 | AC_PATH_PROG(RM, rm, rm) | |
16 | AC_CHECK_TOOL(AR, ar, ar) | |
17 | AC_CHECK_TOOL(RANLIB, ranlib, :) | |
18 | AC_CHECK_TOOL(PATCH, patch, :) | |
19 | AC_PROG_CC | |
20 | AC_PROG_INSTALL | |
21 | ||
1227625a SP |
22 | dnl |
23 | dnl Handle --enable-debug | |
24 | dnl | |
25 | AC_ARG_ENABLE([debug], | |
1daf06b9 | 26 | [ --enable-debug include debugging code (default is NO)], |
1227625a SP |
27 | if test "$enableval" = "no" |
28 | then | |
29 | DUMPDEBUG="" | |
30 | RESTOREDEBUG="" | |
1daf06b9 | 31 | echo "Not including debugging code" |
1227625a SP |
32 | else |
33 | DUMPDEBUG="-DFDEBUG -DTDEBUG -DWRITEDEBUG -DDIRDEBUG" | |
34 | RESTOREDEBUG="-DDIRDEBUG" | |
1daf06b9 | 35 | echo "Including debugging code" |
1227625a SP |
36 | fi, |
37 | DUMPDEBUG="" | |
38 | RESTOREDEBUG="" | |
1daf06b9 | 39 | echo "Not including debugging code by default" |
1227625a SP |
40 | ) |
41 | AC_SUBST(DUMPDEBUG) | |
42 | AC_SUBST(RESTOREDEBUG) | |
43 | ||
44 | dnl | |
45 | dnl Handle --enable-static | |
46 | dnl | |
47 | AC_ARG_ENABLE([static], | |
1daf06b9 | 48 | [ --enable-static link dump and restore statically (default is NO)], |
1227625a SP |
49 | if test "$enableval" = "no" |
50 | then | |
51 | STATIC="" | |
1daf06b9 | 52 | echo "Linking dump and restore dynamically" |
1227625a SP |
53 | else |
54 | STATIC="-static" | |
1daf06b9 | 55 | echo "Linking dump and restore statically" |
1227625a SP |
56 | fi |
57 | , | |
58 | STATIC="" | |
59 | echo "Linking dump and restore dynamically by default" | |
60 | ) | |
61 | AC_SUBST(STATIC) | |
62 | ||
63 | dnl | |
64 | dnl Handle --enable-rmt | |
65 | dnl | |
66 | AC_ARG_ENABLE([rmt], | |
1daf06b9 | 67 | [ --enable-rmt compile and install rmt (default is YES)], |
1227625a SP |
68 | if test "$enableval" = "no" |
69 | then | |
70 | RMTDIR="" | |
71 | RMTMAKEFILE="" | |
1daf06b9 | 72 | echo "Not compiling rmt" |
1227625a SP |
73 | else |
74 | RMTDIR="rmt" | |
75 | RMTMAKEFILE="rmt/Makefile" | |
1daf06b9 | 76 | echo "Compiling rmt" |
1227625a SP |
77 | fi |
78 | , | |
1daf06b9 SP |
79 | RMTDIR="rmt" |
80 | RMTMAKEFILE="rmt/Makefile" | |
81 | echo "Compiling rmt by default" | |
1227625a SP |
82 | ) |
83 | AC_SUBST(RMTDIR) | |
84 | ||
cdfe1392 SP |
85 | dnl |
86 | dnl Handle --enable-ermt | |
87 | dnl | |
88 | AC_ARG_ENABLE([ermt], | |
89 | [ --enable-ermt compile ermt, an encrypting version of rmt (default is NO)], | |
90 | if test "$enableval" = "no" | |
91 | then | |
92 | ERMT="" | |
93 | CRYPTO="" | |
94 | echo "Not compiling ermt" | |
95 | else | |
96 | if test "$RMTDIR" = "" | |
97 | then | |
98 | AC_MSG_ERROR(ermt requires --enable-rmt) | |
99 | fi | |
100 | ERMT="ermt" | |
101 | CRYPTO="-lcrypto" | |
102 | echo "Compiling ermt" | |
103 | fi | |
104 | , | |
105 | ERMT="" | |
106 | CRYPTO="" | |
107 | echo "Not compiling ermt by default" | |
108 | ) | |
109 | AC_SUBST(ERMT) | |
110 | AC_SUBST(CRYPTO) | |
111 | ||
2ed89fda SP |
112 | dnl |
113 | dnl Handle --enable-kerberos | |
114 | dnl | |
115 | AC_ARG_ENABLE([kerberos], | |
1daf06b9 | 116 | [ --enable-kerberos compile kerberos extensions (default is NO)], |
2ed89fda SP |
117 | if test "$enableval" = "yes" |
118 | then | |
119 | OPTDEFS="-DKERBEROS" | |
1daf06b9 | 120 | echo "Compiling kerberos extensions" |
2ed89fda SP |
121 | else |
122 | OPTDEFS="" | |
1daf06b9 | 123 | echo "Not compiling kerberos extensions" |
2ed89fda SP |
124 | fi |
125 | , | |
126 | OPTDEFS="" | |
127 | echo "Not compiling kerberos extensions by default" | |
128 | ) | |
129 | AC_SUBST(OPTDEFS) | |
130 | ||
c38e5b6a SP |
131 | dnl |
132 | dnl Handle --enable-readline | |
133 | dnl | |
134 | AC_ARG_ENABLE([readline], | |
1daf06b9 | 135 | [ --enable-readline enable readline support in restore (default is YES)], |
c38e5b6a SP |
136 | if test "$enableval" = "no" |
137 | then | |
138 | READLINE="" | |
1daf06b9 | 139 | echo "Not including readline support" |
c38e5b6a | 140 | else |
5e04cc92 | 141 | READLINE="-lreadline -ltermcap" |
c38e5b6a | 142 | AC_DEFINE(HAVE_READLINE) |
1daf06b9 | 143 | echo "Including readline support" |
c38e5b6a SP |
144 | fi |
145 | , | |
1daf06b9 SP |
146 | READLINE="-lreadline -ltermcap" |
147 | AC_DEFINE(HAVE_READLINE) | |
148 | echo "Including readline support by default" | |
c38e5b6a SP |
149 | ) |
150 | AC_SUBST(READLINE) | |
151 | ||
d8574d45 SP |
152 | dnl |
153 | dnl Handle --enable-oldsylefscript | |
154 | dnl | |
155 | AC_ARG_ENABLE([oldstylefscript], | |
1daf06b9 | 156 | [ --enable-oldstylefscript enable old style F script (no arguments) (default is NO)], |
d8574d45 SP |
157 | if test "$enableval" = "yes" |
158 | then | |
159 | AC_DEFINE(OLD_STYLE_FSCRIPT) | |
1daf06b9 SP |
160 | echo "Using old style F script" |
161 | else | |
162 | echo "Using new style F script" | |
d8574d45 SP |
163 | fi |
164 | , | |
1daf06b9 | 165 | echo "Using new style F script by default" |
d8574d45 SP |
166 | ) |
167 | ||
d6967896 SP |
168 | dnl |
169 | dnl Handle --enable-largefile | |
170 | dnl | |
171 | AC_ARG_ENABLE([largefile], | |
1daf06b9 | 172 | [ --enable-largefile enable Large File System support (default is YES)], |
d6967896 SP |
173 | if test "$enableval" = "yes" |
174 | then | |
95c74f38 | 175 | AC_DEFINE(USE_LFS) |
1daf06b9 SP |
176 | echo "Enabling Large File System support" |
177 | else | |
178 | echo "Not enabling Large File System support" | |
d6967896 SP |
179 | fi |
180 | , | |
1daf06b9 SP |
181 | AC_DEFINE(USE_LFS) |
182 | echo "Enabling Large File System support by default" | |
d6967896 SP |
183 | ) |
184 | ||
35b24fb7 SP |
185 | dnl |
186 | dnl Handle --enable-qfa | |
187 | dnl | |
188 | AC_ARG_ENABLE([qfa], | |
1daf06b9 | 189 | [ --enable-qfa enable Quick File Access support (default is YES)], |
35b24fb7 SP |
190 | if test "$enableval" = "yes" |
191 | then | |
192 | AC_DEFINE(USE_QFA) | |
1daf06b9 SP |
193 | echo "Enabling Quick File Access support" |
194 | else | |
195 | echo "Not enabling Quick File Access support" | |
35b24fb7 SP |
196 | fi |
197 | , | |
1daf06b9 SP |
198 | AC_DEFINE(USE_QFA) |
199 | echo "Enabling Quick File Access support by default" | |
35b24fb7 SP |
200 | ) |
201 | ||
202 | dnl | |
203 | dnl Handle --enable-qfadebug | |
204 | dnl | |
205 | AC_ARG_ENABLE([qfadebug], | |
1daf06b9 | 206 | [ --enable-qfadebug include Quick File Access debugging code (default is NO)], |
35b24fb7 SP |
207 | if test "$enableval" = "yes" |
208 | then | |
209 | AC_DEFINE(DEBUG_QFA) | |
1daf06b9 SP |
210 | echo "Including Quick File Access debugging code" |
211 | else | |
212 | echo "Not including Quick File Access debugging code" | |
35b24fb7 SP |
213 | fi |
214 | , | |
1daf06b9 | 215 | echo "Not including Quick File Access debugging code by default" |
35b24fb7 SP |
216 | ) |
217 | ||
1227625a SP |
218 | dnl |
219 | dnl set $(CC) from --with-cc=value | |
220 | dnl | |
221 | AC_ARG_WITH([cc], | |
d8574d45 | 222 | [ --with-cc=COMPILER select compiler to use], |
1227625a SP |
223 | AC_MSG_RESULT(CC=$withval) |
224 | CC=$withval, | |
225 | if test -z "$CC" ; then CC=cc; fi | |
226 | [AC_MSG_RESULT(CC defaults to $CC)])dnl | |
227 | export CC | |
228 | AC_SUBST([CC]) | |
229 | ||
230 | dnl | |
231 | dnl set $(LD) from --with-linker=value | |
232 | dnl | |
233 | AC_ARG_WITH([linker], | |
d8574d45 | 234 | [ --with-linker=LINKER select linker to use], |
1227625a SP |
235 | AC_MSG_RESULT(LD=$withval) |
236 | LD=$withval, | |
237 | if test -z "$LD" ; then LD=$CC; fi | |
238 | [AC_MSG_RESULT(LD defaults to $LD)])dnl | |
239 | export LD | |
240 | AC_SUBST([LD]) | |
241 | ||
242 | dnl | |
243 | dnl set $(CCOPTS) from --with-ccopts=value | |
244 | dnl | |
245 | AC_ARG_WITH([ccopts], | |
d8574d45 | 246 | [ --with-ccopts=CCOPTS select compiler command line options], |
1227625a SP |
247 | AC_MSG_RESULT(CCOPTS is $withval) |
248 | CCOPTS=$withval | |
249 | CFLAGS="$CFLAGS $withval", | |
250 | CCOPTS=)dnl | |
251 | AC_SUBST(CCOPTS) | |
252 | ||
253 | dnl | |
254 | dnl set $(LDFLAGS) from --with-ldopts=value | |
255 | dnl | |
256 | AC_ARG_WITH([ldopts], | |
d8574d45 | 257 | [ --with-ldopts=LDOPTS select linker command line options], |
1227625a | 258 | AC_MSG_RESULT(LDFLAGS is $withval) |
e95b2aff SP |
259 | LDOPTS=$withval |
260 | LDFLAGS="$LDFLAGS $withval", | |
261 | LDOPTS=)dnl | |
262 | AC_SUBST(LDOPTS) | |
1227625a SP |
263 | |
264 | dnl | |
265 | dnl set $(BINOWNER) from --with-binowner | |
266 | dnl | |
267 | AC_ARG_WITH([binowner], | |
d8574d45 | 268 | [ --with-binowner=USER select owner for binaries], |
1227625a SP |
269 | AC_MSG_RESULT(BINOWNER is $withval) |
270 | BINOWNER=$withval, | |
271 | BINOWNER=root | |
272 | echo "BINOWNER defaults to $BINOWNER" | |
273 | )dnl | |
274 | AC_SUBST(BINOWNER) | |
275 | ||
276 | dnl | |
277 | dnl set $(BINGRP) from --with-bingrp | |
278 | dnl | |
279 | AC_ARG_WITH([bingrp], | |
d8574d45 | 280 | [ --with-bingrp=GROUP select group for binaries], |
1227625a SP |
281 | AC_MSG_RESULT(BINGRP is $withval) |
282 | BINGRP=$withval, | |
283 | BINGRP=tty | |
284 | echo "BINGRP defaults to $BINGRP" | |
285 | )dnl | |
286 | AC_SUBST(BINGRP) | |
287 | ||
288 | dnl | |
289 | dnl set $(BINMODE) from --with-binmode | |
290 | dnl | |
291 | AC_ARG_WITH([binmode], | |
d8574d45 | 292 | [ --with-binmode=MODE select mode for binaries], |
1227625a SP |
293 | AC_MSG_RESULT(BINMODE is $withval) |
294 | BINMODE=$withval, | |
882090d1 | 295 | BINMODE=0755 |
1227625a SP |
296 | echo "BINMODE defaults to $BINMODE" |
297 | )dnl | |
298 | AC_SUBST(BINMODE) | |
299 | ||
300 | dnl | |
301 | dnl set $(MANOWNER) from --with-manowner | |
302 | dnl | |
303 | AC_ARG_WITH([manowner], | |
d8574d45 | 304 | [ --with-manowner=USER select owner for manual pages], |
1227625a SP |
305 | AC_MSG_RESULT(MANOWNER is $withval) |
306 | MANOWNER=$withval, | |
307 | MANOWNER=man | |
308 | echo "MANOWNER defaults to $MANOWNER" | |
309 | )dnl | |
310 | AC_SUBST(MANOWNER) | |
311 | ||
312 | dnl | |
313 | dnl set $(MANGRP) from --with-mangrp | |
314 | dnl | |
315 | AC_ARG_WITH([mangrp], | |
d8574d45 | 316 | [ --with-mangrp=GROUP select group for manual pages], |
1227625a SP |
317 | AC_MSG_RESULT(MANGRP is $withval) |
318 | MANGRP=$withval, | |
319 | MANGRP=tty | |
320 | echo "MANGRP defaults to $MANGRP" | |
321 | )dnl | |
322 | AC_SUBST(MANGRP) | |
323 | ||
324 | dnl | |
325 | dnl set $(MANMODE) from --with-manmode | |
326 | dnl | |
327 | AC_ARG_WITH([manmode], | |
d8574d45 | 328 | [ --with-manmode=MODE select mode for manual pages], |
1227625a SP |
329 | AC_MSG_RESULT(MANMODE is $withval) |
330 | MANMODE=$withval, | |
882090d1 | 331 | MANMODE=0644 |
1227625a SP |
332 | echo "MANMODE defaults to $MANMODE" |
333 | )dnl | |
334 | AC_SUBST(MANMODE) | |
335 | ||
8d4197bb SP |
336 | dnl |
337 | dnl set $(DUMPDATESPATH) from --with-dumpdatespath | |
338 | dnl | |
339 | AC_ARG_WITH([dumpdatespath], | |
d8574d45 | 340 | [ --with-dumpdatespath=PATH select path for dumpdates file], |
8d4197bb SP |
341 | AC_MSG_RESULT(DUMPDATESPATH is $withval) |
342 | DUMPDATESPATH=$withval, | |
60d46c35 | 343 | DUMPDATESPATH="${sysconfdir}/dumpdates" |
8d4197bb SP |
344 | echo "DUMPDATESPATH defaults to $DUMPDATESPATH" |
345 | )dnl | |
346 | AC_SUBST(DUMPDATESPATH) | |
347 | ||
1227625a SP |
348 | dnl |
349 | dnl Check for Ext2fs headers and libraries | |
350 | dnl | |
d3e542e7 | 351 | AC_CHECK_HEADER(ext2fs/ext2fs.h, [ext2fs_h=yes], [ext2fs_h=no], [-]) |
1227625a SP |
352 | AC_CHECK_LIB(ext2fs, ext2fs_open, [ext2fs_lib=yes], [ext2fs_lib=no], [-lcom_err]) |
353 | if test "$ext2fs_h" = no -o "$ext2fs_lib" = no; then | |
d3393043 | 354 | AC_MSG_ERROR(You need to install the Ext2fs libraries from the E2fsprogs distribution first - hint: make install-libs) |
1227625a SP |
355 | fi |
356 | ||
e4a8bde4 SP |
357 | dnl |
358 | dnl Try to use ext2_fs.h header from libext2fs instead of from the kernel | |
359 | dnl | |
d3e542e7 | 360 | AC_CHECK_HEADERS(ext2fs/ext2_fs.h, [], [], [-]) |
e4a8bde4 | 361 | |
a4f547cd SP |
362 | dnl |
363 | dnl Check for ext2_ino_t type | |
364 | dnl | |
7422942f | 365 | AC_MSG_CHECKING(for ext2_ino_t type in libext2fs headers) |
a4f547cd | 366 | AC_TRY_COMPILE([#include <stdio.h> |
e4a8bde4 SP |
367 | #ifdef HAVE_EXT2FS_EXT2_FS_H |
368 | #include <ext2fs/ext2_fs.h> | |
369 | #else | |
a4f547cd | 370 | #include <linux/ext2_fs.h> |
e4a8bde4 SP |
371 | #endif |
372 | #include <ext2fs/ext2fs.h>], | |
a4f547cd | 373 | [ext2_ino_t ino = 0;], |
7422942f | 374 | [AC_DEFINE(HAVE_EXT2_INO_T) AC_MSG_RESULT(yes)], |
a4f547cd SP |
375 | AC_MSG_RESULT(no)) |
376 | ||
377 | dnl | |
378 | dnl Check for s_journal_inum field in ext2_super_block struct | |
379 | dnl | |
380 | AC_MSG_CHECKING(for s_journal_inum field in ext2_super_block struct) | |
381 | AC_TRY_COMPILE([#include <stdio.h> | |
e4a8bde4 SP |
382 | #ifdef HAVE_EXT2FS_EXT2_FS_H |
383 | #include <ext2fs/ext2_fs.h> | |
384 | #else | |
a4f547cd | 385 | #include <linux/ext2_fs.h> |
e4a8bde4 | 386 | #endif |
a4f547cd SP |
387 | #include <ext2fs/ext2fs.h>], |
388 | [struct ext2_super_block es; es.s_journal_inum = 0;], | |
7422942f | 389 | [AC_DEFINE(HAVE_EXT2_JOURNAL_INUM) AC_MSG_RESULT(yes)], |
a4f547cd SP |
390 | AC_MSG_RESULT(no)) |
391 | ||
3e815572 SP |
392 | dnl |
393 | dnl Check for termcap libraries | |
394 | dnl | |
395 | AC_CHECK_LIB(termcap, tgetent, [termcap_lib=yes], [termcap_lib=no]) | |
396 | if test "$termcap_lib" = no; then | |
397 | if test "$READLINE" = "-lreadline -ltermcap"; then | |
e68dc63e | 398 | AC_MSG_ERROR(You need to install the GNU termcap library or configure without --enable-readline) |
3e815572 SP |
399 | fi |
400 | fi | |
401 | ||
c38e5b6a SP |
402 | dnl |
403 | dnl Check for readline headers and libraries | |
404 | dnl | |
d3e542e7 | 405 | AC_CHECK_HEADER(readline/readline.h, [readline_h=yes], [readline_h=no], [-]) |
3e815572 | 406 | AC_CHECK_LIB(readline, readline, [readline_lib=yes], [readline_lib=no], "-ltermcap") |
c38e5b6a | 407 | if test "$readline_h" = no -o "$readline_lib" = no; then |
3e815572 | 408 | if test "$READLINE" = "-lreadline -ltermcap"; then |
e68dc63e | 409 | AC_MSG_ERROR(You need to install the GNU readline library or configure without --enable-readline) |
c38e5b6a SP |
410 | fi |
411 | fi | |
412 | ||
bcecd677 SP |
413 | dnl |
414 | dnl Check for rl_completion_matches | |
415 | dnl | |
416 | AC_CHECK_LIB(readline, rl_completion_matches, [rlcm=yes], [rlcm=no], "-ltermcap") | |
417 | if test "$rlcm" = yes; then | |
418 | AC_DEFINE(HAVE_READLINE_RLCM) | |
419 | fi | |
420 | ||
421 | dnl | |
422 | dnl Check for rl_completion_append_character | |
423 | dnl | |
424 | AC_CHECK_LIB(readline, rl_completion_append_character, [rcac=yes], [rcac=no], "-ltermcap") | |
425 | if test "$rcac" = yes; then | |
426 | AC_DEFINE(HAVE_READLINE_CAC) | |
427 | fi | |
428 | ||
4d5ed2f3 SP |
429 | dnl |
430 | dnl Check for zlib headers and libraries | |
431 | dnl | |
d3e542e7 | 432 | AC_CHECK_HEADER(zlib.h, [zlib_h=yes], [zlib_h=no], [-]) |
4d5ed2f3 SP |
433 | AC_CHECK_LIB(z, compress2, [zlib_lib=yes], [zlib_lib=no]) |
434 | if test "$zlib_h" = yes -a "$zlib_lib" = yes; then | |
435 | ZLIB="-lz" | |
436 | AC_DEFINE(HAVE_ZLIB) | |
437 | else | |
438 | ZLIB="" | |
439 | fi | |
440 | AC_SUBST(ZLIB) | |
441 | ||
88ef261e SP |
442 | dnl |
443 | dnl Check for bzlib headers and libraries | |
444 | dnl | |
d3e542e7 | 445 | AC_CHECK_HEADER(bzlib.h, [bzlib_h=yes], [bzlib_h=no], [-]) |
88ef261e SP |
446 | AC_CHECK_LIB(bz2, BZ2_bzBuffToBuffCompress, [bzlib_lib=yes], [bzlib_lib=no]) |
447 | if test "$bzlib_h" = yes -a "$bzlib_lib" = yes; then | |
448 | BZLIB="-lbz2" | |
449 | AC_DEFINE(HAVE_BZLIB) | |
450 | else | |
451 | BZLIB="" | |
452 | fi | |
453 | AC_SUBST(BZLIB) | |
454 | ||
1227625a SP |
455 | dnl |
456 | dnl Check for library functions | |
457 | dnl | |
5c1faba5 SP |
458 | AC_CHECK_FUNCS(err errx verr verrx vwarn vwarnx warn warnx realpath lchown) |
459 | AC_CHECK_FUNC(glob) | |
460 | ||
461 | dnl | |
462 | dnl Check for GLOB_ALTDIRFUNC | |
463 | dnl | |
a4f547cd | 464 | AC_MSG_CHECKING(for extended glob routines) |
5c1faba5 SP |
465 | if test "$ac_cv_func_glob" = "yes"; then |
466 | AC_EGREP_CPP(yes, | |
467 | [ | |
468 | # include <glob.h> | |
469 | # ifdef GLOB_ALTDIRFUNC | |
470 | yes | |
471 | # endif | |
a4f547cd SP |
472 | ], |
473 | [ | |
474 | AC_DEFINE(HAVE_GLOB) | |
475 | AC_MSG_RESULT(yes) | |
476 | ], | |
477 | [ | |
478 | AC_MSG_RESULT(no) | |
479 | echo "Your system does not support extended glob, will use the internal routines" | |
480 | ]) | |
5c1faba5 | 481 | fi |
1227625a | 482 | |
18282881 SP |
483 | dnl |
484 | dnl Check for OpenSSL, for ermt | |
485 | dnl | |
486 | if test "$ERMT" != ""; then | |
487 | AC_CHECK_HEADER(openssl/evp.h, [evp_h=yes], [evp_h=no]) | |
488 | AC_CHECK_LIB(crypto, EVP_CIPHER_CTX_set_padding, [crypto_lib=yes], [crypto_lib=no]) | |
489 | if test "$evp_h" = no -o "$crypto_lib" = no; then | |
490 | AC_MSG_ERROR(You need to install the OpenSSL library (version 0.9.7a or later), or configure without --enable-ermt) | |
491 | fi | |
492 | fi | |
493 | ||
1227625a SP |
494 | dnl |
495 | dnl Check for types | |
496 | dnl | |
1a886de8 SP |
497 | AC_CHECK_TYPE(quad_t, int64_t) |
498 | AC_CHECK_TYPE(u_quad_t, uint64_t) | |
1227625a SP |
499 | |
500 | dnl | |
501 | dnl Compute top_buildir | |
502 | dnl | |
503 | top_builddir=`cd .; pwd` | |
504 | AC_SUBST(top_builddir) | |
505 | ||
506 | dnl | |
507 | dnl Create directories | |
508 | dnl | |
509 | test -d compat || mkdir compat | |
510 | test -d compat/lib || mkdir compat/lib | |
511 | ||
512 | dnl | |
513 | dnl Output files | |
514 | dnl | |
8d4197bb | 515 | AC_OUTPUT(MCONFIG Makefile common/Makefile compat/include/Makefile compat/lib/Makefile dump/Makefile restore/Makefile $RMTMAKEFILE) |