1 AC_INIT(util-linux-ng, 2.15-rc1, kzak@redhat.com)
5 AC_CONFIG_AUX_DIR(config)
6 AC_CONFIG_MACRO_DIR([m4])
8 AM_INIT_AUTOMAKE([check-news -Wall foreign 1.9 dist-bzip2])
10 AC_CONFIG_SRCDIR(mount/mount.c)
12 AC_PREFIX_DEFAULT([/usr])
14 dnl blkid version definition (the library SONAME is
15 dnl "libblkid.so.$BLKID_VERSION_MAJOR", see blkid/Makefile.am)
16 dnl ----------------------------------------------------------
18 BLKID_VERSION_MINOR=99
19 BLKID_VERSION_RELEASE=0
20 BLKID_DATE="10-Feb-2009"
22 BLKID_VERSION=$BLKID_VERSION_MAJOR.$BLKID_VERSION_MINOR.$BLKID_VERSION_RELEASE
23 BLKID_VERSION_INFO=`expr $BLKID_VERSION_MAJOR + $BLKID_VERSION_MINOR`:$BLKID_VERSION_RELEASE:$BLKID_VERSION_MINOR
25 # Check whether exec_prefix=/usr:
26 case $exec_prefix:$prefix in
27 NONE:NONE | NONE:/usr | /usr:*)
28 AC_MSG_NOTICE([Default --exec-prefix detected.])
30 '${exec_prefix}/bin') bindir=/bin
31 AC_MSG_NOTICE([ --bindir defaults to /bin]) ;;
34 '${exec_prefix}/sbin') sbindir=/sbin
35 AC_MSG_NOTICE([ --sbindir defaults to /sbin]) ;;
38 '${exec_prefix}/lib') libdir=/lib
39 AC_MSG_NOTICE([ --libdir defaults to /lib]) ;;
45 *lib64) libdirname=lib64 ;;
48 AC_SUBST([libdirname])
66 AM_CONDITIONAL([LINUX], test "x$linux_os" = xyes)
68 AC_PATH_PROG(PERL, perl)
69 AC_PATH_PROG(BLKID, blkid, [], [$PATH:/sbin])
70 AC_PATH_PROG(VOLID, vol_id, [], [$PATH:/lib/udev])
74 AC_CHECK_HEADERS([linux/compiler.h linux/blkpg.h linux/major.h], [], [], [
75 #ifdef HAVE_LINUX_COMPILER_H
76 #include <linux/compiler.h>
105 AC_CHECK_HEADERS([linux/raw.h],
106 [AM_CONDITIONAL([HAVE_RAW], [true])],
107 [AM_CONDITIONAL([HAVE_RAW], [false])])
113 get_current_dir_name \
127 dnl Static compilation
128 m4_define([UTIL_STATIC_PROGRAMS], [losetup, mount, umount, fdisk, sfdisk, blkid])
130 AC_ARG_ENABLE([static-programs],
131 [AS_HELP_STRING([--enable-static-programs=LIST],
132 [link static the programs in LIST (comma-separated,
133 supported for ]m4_defn([UTIL_STATIC_PROGRAMS])[)])])
135 case $enable_static_programs in
136 yes) enable_static_programs=m4_quote(UTIL_STATIC_PROGRAMS) ;;
137 no) enable_static_programs= ;;
140 dnl Set all the individual AM_CONDITIONALs
141 m4_foreach([UTIL_PRG], m4_defn([UTIL_STATIC_PROGRAMS]), [
142 case ,$enable_static_programs, in
143 *,UTIL_PRG,*) static_[]UTIL_PRG=yes ;;
145 AM_CONDITIONAL([HAVE_STATIC_]m4_toupper(UTIL_PRG),
146 [test "x$static_[]UTIL_PRG" = xyes])
149 dnl UTIL_CHECK_LIB(LIBRARY, FUNCTION, [VARSUFFIX = $1]))
150 dnl The VARSUFFIX is optional and overrides the default behaviour. For example:
151 dnl UTIL_CHECK_LIB(yyy, func, xxx) generates have_xxx and HAVE_LIBXXX
152 dnl UTIL_CHECK_LIB(yyy, func) generates have_yyy and HAVE_LIBYYY
153 dnl ---------------------------------
154 AC_DEFUN([UTIL_CHECK_LIB], [
155 m4_define([suffix], m4_default([$3],$1))
158 [AC_CHECK_LIB([$1], [$2], [AC_DEFINE(AS_TR_CPP([HAVE_LIB]suffix), 1)], [[have_]suffix=no])],
159 [AC_CHECK_LIB([$1], [$2], [], [[have_]suffix=no])])
160 AM_CONDITIONAL(AS_TR_CPP([HAVE_]suffix), [test [$have_]suffix = yes])
163 UTIL_CHECK_LIB(uuid, uuid_is_null)
164 if test "x$have_uuid" = xno; then
165 AC_MSG_WARN([uuid library is not found; mkswap(8) will not generate UUIDs])
168 UTIL_CHECK_LIB(util, openpty)
169 UTIL_CHECK_LIB(termcap, tgetnum)
172 AC_ARG_WITH([fsprobe],
173 [AS_HELP_STRING([--with-fsprobe=LIB], [library to guess filesystems, LIB should be builtin|blkid|volume_id, default is blkid])],
174 [], [with_fsprobe=blkid]
178 have_blkid_evaluate=no
182 if test "x$with_fsprobe" = xblkid; then
183 PKG_CHECK_MODULES(BLKID, blkid, [have_blkid=yes], [])
184 AC_CHECK_LIB(blkid, blkid_evaluate_spec, [have_blkid_evaluate=yes], [])
185 elif test "x$with_fsprobe" = xvolume_id; then
186 PKG_CHECK_MODULES(VOLUME_ID, volume_id, [have_volume_id=yes], [])
187 elif test "x$with_fsprobe" = xbuiltin; then
190 have_blkid_evaluate=yes
191 AC_SUBST(BLKID_VERSION_MAJOR)
192 AC_SUBST(BLKID_VERSION_MINOR)
193 AC_SUBST(BLKID_VERSION_RELEASE)
194 AC_SUBST(BLKID_VERSION)
195 AC_SUBST(BLKID_VERSION_INFO)
196 AC_DEFINE_UNQUOTED(BLKID_VERSION, "$BLKID_VERSION", [libblkid version string])
197 AC_DEFINE_UNQUOTED(BLKID_DATE, "$BLKID_DATE", [libblkid date string])
200 if test "x$have_blkid" = xyes; then
201 AC_DEFINE(HAVE_LIBBLKID, 1, [Define to 1 if you have the -lblkid.])
202 if test "x$have_blkid_evaluate" = xyes; then
203 AC_DEFINE(HAVE_BLKID_EVALUATE_SPEC, 1, [Define to 1 if you have the blkid_evaluate_spec().])
207 AM_CONDITIONAL(HAVE_BLKID, test "x$have_blkid" = xyes)
208 AM_CONDITIONAL(HAVE_VOLUME_ID, test "x$have_volume_id" = xyes)
209 AM_CONDITIONAL(BUILD_LIBBLKID, test "x$build_libblkid" = xyes)
212 AC_ARG_ENABLE([mount],
213 AS_HELP_STRING([--disable-mount], [do not build mount utilities]),
214 [], enable_mount=check
217 if test "${enable_mount}" = "no"; then
219 elif test "x$linux_os" = xyes; then
220 if test "x$have_blkid" = xno && test "x$have_volume_id" = xno; then
221 AC_MSG_ERROR([blkid or volume_id is needed to build util-linux-ng mount utilities])
224 AC_MSG_WARN([non-linux system; do not build mount utilities])
227 AM_CONDITIONAL(BUILD_MOUNT, test "x$build_mount" = xyes)
230 AC_ARG_ENABLE([fsck],
231 AS_HELP_STRING([--enable-fsck], [do build fsck]),
234 if test "x$enable_fsck" = xyes; then
235 if test "x$have_blkid" = xno && test "x$have_volume_id" = xno; then
236 AC_MSG_ERROR([libblkid or libvolume_id is needed to build util-linux-ng fsck])
239 AM_CONDITIONAL(BUILD_FSCK, test "x$enable_fsck" = xyes)
242 dnl UTIL_PKG_STATIC(VARIABLE, MODULES)
243 dnl ----------------------------------
244 AC_DEFUN([UTIL_PKG_STATIC], [
245 if AC_RUN_LOG([pkg-config --exists --print-errors "$2"]); then
246 $1=`pkg-config --libs --static "$2"`
248 AC_MSG_ERROR([pkg-config description of $2, needed for static build, is not available])
252 # These default values should work in most cases:
253 : ${BLKID_LIBS='-lblkid -luuid'}
254 : ${VOLUME_ID_LIBS='-lvolume_id'}
256 # ... but for static build, we need to consult pkg-config:
257 if test -n "$enable_static_programs"; then
258 case $with_fsprobe in
259 blkid) UTIL_PKG_STATIC([BLKID_LIBS_STATIC], [blkid]) ;;
260 volume_id) UTIL_PKG_STATIC([VOLUME_ID_LIBS_STATIC], [libvolume_id]) ;;
264 AC_ARG_VAR([BLKID_LIBS_STATIC], [-l options for linking statically with blkid])
265 AC_ARG_VAR([VOLUME_ID_LIBS_STATIC], [-l options for linking statically with volume_id])
268 AM_GNU_GETTEXT_VERSION([0.14.1])
269 AM_GNU_GETTEXT([external])
270 if test -d "$srcdir/po"
272 ALL_LINGUAS=`cd $srcdir/po > /dev/null && echo *.po | sed 's/\.po//g'`
274 ALL_LINGUAS="af am ar as be bg bn_IN bn ca cs cy da de el en_GB es et eu_ES fa fi fr gl gu he hi hr hu hy id is it ja ka kn ko ku lo lt lv mk ml mr ms my nb nl nn no nso or pa pl pt_BR pt ro ru si sk sl sq sr@Latn sr sv ta te th tr uk ur vi zh_CN zh_TW zu"
277 AC_ARG_WITH([ncurses],
278 AS_HELP_STRING([--with-ncurses], [build with non-wide ncurses, default is wide version
279 (--without-ncurses disables all ncurses(w) support)]),
280 [], with_ncurses=auto
282 AM_CONDITIONAL(HAVE_NCURSES, false)
284 if test "x$with_ncurses" != xno; then
286 AC_CHECK_HEADERS([ncurses.h ncurses/ncurses.h], [
287 if test "x$with_ncurses" = xauto; then
288 UTIL_CHECK_LIB(ncursesw, initscr, ncurses)
289 if test "x$have_ncurses" = xyes; then
290 NCURSES_LIBS="-lncursesw"
293 if test "x$have_ncurses" = xno; then
294 UTIL_CHECK_LIB(ncurses, initscr)
295 if test "x$have_ncurses" = xyes; then
296 NCURSES_LIBS="-lncurses"
300 if test "x$have_ncurses" = xno; then
301 AC_MSG_ERROR([ncurses or ncursesw selected, but library not found (--without-ncurses to disable)])
304 AC_SUBST([NCURSES_LIBS])
308 AS_HELP_STRING([--with-slang], [compile cfdisk with slang]),
313 AC_CHECK_LIB(tinfo, tgetent, [have_tinfo=yes])
314 AM_CONDITIONAL(HAVE_TINFO, test "x$have_tinfo" = xyes)
317 if test "x$with_slang" = xyes; then
318 AC_CHECK_HEADERS([slcurses.h slang/slcurses.h], [use_slang=yes])
319 if test "x$use_slang" = xno; then
320 AC_MSG_ERROR([slang selected but slcurses.h not found])
323 AM_CONDITIONAL(USE_SLANG, test "x$use_slang" = xyes)
326 AC_LINK_IFELSE([AC_LANG_PROGRAM([[
327 #define _XOPEN_SOURCE
330 char *c = crypt("abc","pw");
333 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
334 #define _XOPEN_SOURCE
337 char *c = crypt("abc","pw");
339 AC_DEFINE(NEED_LIBCRYPT, 1, [Do we need -lcrypt?])
342 AC_MSG_ERROR([crypt() is not available])
346 AM_CONDITIONAL(NEED_LIBCRYPT, test "x$need_libcrypt" = xyes)
348 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
353 [AC_DEFINE(HAVE___PROGNAME, 1, Do we have __progname?)
357 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
365 if (w == WEOF) exit(1);
369 [AC_DEFINE(HAVE_WIDECHAR,1,Do we have wide character support?)
373 dnl UTIL_CHECK_SYSCALL(SYSCALL, FALLBACK, ...)
374 dnl Only specify FALLBACK if the SYSCALL
375 dnl you're checking for is a "newish" one
376 dnl -------------------------------------
377 AC_DEFUN([UTIL_CHECK_SYSCALL], [
378 dnl This macro uses host_cpu.
379 AC_REQUIRE([AC_CANONICAL_HOST])
380 AC_CACHE_CHECK([for syscall $1],
381 [util_cv_syscall_$1],
382 [_UTIL_SYSCALL_CHECK_DECL([SYS_$1],
384 [dnl Our libc failed use, so see if we can get the kernel
385 dnl headers to play ball ...
386 _UTIL_SYSCALL_CHECK_DECL([_NR_$1],
390 if test "x$linux_os" = xyes; then
392 _UTIL_CHECK_SYSCALL_FALLBACK(m4_shift($@))
397 util_cv_syscall_$1=$syscall
399 AM_CONDITIONAL([HAVE_]m4_toupper($1), [test "x$util_cv_syscall_$1" != xno])
400 case $util_cv_syscall_$1 in #(
401 no) AC_MSG_WARN([Unable to detect syscall $1.]) ;;
403 *) AC_DEFINE_UNQUOTED([SYS_$1], [$util_cv_syscall_$1],
404 [Fallback syscall number for $1]) ;;
408 dnl _UTIL_SYSCALL_CHECK_DECL(SYMBOL, ACTION-IF-FOUND, ACTION-IF-NOT-FOUND)
409 dnl Check if SYMBOL is declared, using the headers needed for syscall checks.
410 dnl -------------------------------------
411 m4_define([_UTIL_SYSCALL_CHECK_DECL],
412 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
413 #include <sys/syscall.h>
415 ]], [[int test = $1;]])],
419 dnl _UTIL_CHECK_SYSCALL_FALLBACK(PATTERN, VALUE, ...)
420 dnl Helper macro to create the body for the above `case'.
421 dnl -------------------------------------
422 m4_define([_UTIL_CHECK_SYSCALL_FALLBACK],
425 $1) syscall="$2" ;;dnl
426 _UTIL_CHECK_SYSCALL_FALLBACK(m4_shiftn(2, $@))])dnl
430 UTIL_CHECK_SYSCALL([pivot_root])
431 UTIL_CHECK_SYSCALL([sched_getaffinity])
432 UTIL_CHECK_SYSCALL([ioprio_set],
441 UTIL_CHECK_SYSCALL([ioprio_get],
452 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
457 struct tm *tm = localtime(0);
458 if (a == -1) /* false */
459 sleep(tm->tm_gmtoff);
461 [AC_DEFINE(HAVE_TM_GMTOFF,1,[Does struct tm have a field tm_gmtoff?])
464 AC_CHECK_MEMBERS([struct termios.c_line],,,
465 [[#include <termios.h>]])
476 ADDR_LIMIT_3GB], [], [], [#include <linux/personality.h>])
478 AC_CHECK_HEADERS([sys/swap.h])
480 AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
482 #ifdef HAVE_SYS_SWAP_H
483 # include <sys/swap.h>
487 [[swapon("/dev/null", 0);]])],
488 [AC_DEFINE(SWAPON_HAS_TWO_ARGS, 1, [Is swapon() declared with two parameters?])
490 [AC_MSG_NOTICE([Your libc thinks that swapon has 1 arg only.])
494 dnl UTIL_SET_ARCH(ARCHNAME, PATTERN)
495 dnl ---------------------------------
496 AC_DEFUN([UTIL_SET_ARCH], [
501 AM_CONDITIONAL(AS_TR_CPP(ARCH_$1), [test "x$cpu_$1" = xtrue])
504 UTIL_SET_ARCH(I86, i?86-*)
505 UTIL_SET_ARCH(86_64, x86_64*)
506 UTIL_SET_ARCH(IA64, ia64*)
507 UTIL_SET_ARCH(S390, s390*)
508 UTIL_SET_ARCH(SPARC, sparc*)
509 UTIL_SET_ARCH(PPC, ppc*|powerpc*)
510 UTIL_SET_ARCH(M68K, m68*)
511 UTIL_SET_ARCH(MIPS, mips*)
512 UTIL_SET_ARCH(HPPA, hppa*)
514 AC_ARG_ENABLE([arch],
515 AS_HELP_STRING([--enable-arch], [do build arch]),
518 AM_CONDITIONAL(BUILD_ARCH, test "x$enable_arch" = xyes)
520 AC_ARG_ENABLE([agetty],
521 AS_HELP_STRING([--disable-agetty], [do not build agetty]),
522 [], enable_agetty=yes
524 AM_CONDITIONAL(BUILD_AGETTY, test "x$enable_agetty" = xyes)
526 AC_ARG_ENABLE([cramfs],
527 AS_HELP_STRING([--disable-cramfs], [do not build fsck.cramfs, mkfs.cramfs]),
528 [], enable_cramfs=check
531 if test "x$enable_cramfs" = xno; then
535 dnl Trick: leave the third parameter empty to get the default action.
536 AC_CHECK_LIB(z, crc32, [], build_cramfs=no)
537 case $enable_cramfs:$build_cramfs in
538 yes:no) AC_MSG_ERROR([cramfs selected but libz not found]);;
541 AM_CONDITIONAL(BUILD_CRAMFS, test "x$build_cramfs" = xyes)
544 AC_ARG_ENABLE([elvtune],
545 AS_HELP_STRING([--enable-elvtune], [build elvtune (only works with 2.2 and 2.4 kernels)]),
546 [], enable_elvtune=no
548 AM_CONDITIONAL(BUILD_ELVTUNE, test "x$enable_elvtune" = xyes)
551 AC_ARG_ENABLE([init],
552 AS_HELP_STRING([--enable-init], [build simpleinit, shutdown, initctl]),
555 AM_CONDITIONAL(BUILD_INIT, test "x$enable_init" = xyes)
558 AC_ARG_ENABLE([kill],
559 AS_HELP_STRING([--enable-kill], [build kill]),
562 AM_CONDITIONAL(BUILD_KILL, test "x$enable_kill" = xyes)
565 AC_ARG_ENABLE([last],
566 AS_HELP_STRING([--enable-last], [build last]),
569 AM_CONDITIONAL(BUILD_LAST, test "x$enable_last" = xyes)
572 AC_ARG_ENABLE([mesg],
573 AS_HELP_STRING([--enable-mesg], [build mesg]),
576 AM_CONDITIONAL(BUILD_MESG, test "x$enable_mesg" = xyes)
579 AC_ARG_ENABLE([partx],
580 AS_HELP_STRING([--enable-partx], [build addpart, delpart, partx]),
583 AM_CONDITIONAL(BUILD_PARTX, test "x$enable_partx" = xyes)
587 AS_HELP_STRING([--enable-raw], [build raw]),
590 AM_CONDITIONAL(BUILD_RAW, test "x$enable_raw" = xyes)
593 AC_ARG_ENABLE([rdev],
594 AS_HELP_STRING([--enable-rdev], [build rdev on i386]),
597 AM_CONDITIONAL(BUILD_RDEV, test "x$enable_rdev" = xyes)
600 AC_ARG_ENABLE([rename],
601 AS_HELP_STRING([--disable-rename], [do not build rename]),
602 [], enable_rename=yes
604 AM_CONDITIONAL(BUILD_RENAME, test "x$enable_rename" = xyes)
607 AC_ARG_ENABLE([reset],
608 AS_HELP_STRING([--enable-reset], [build reset]),
611 AM_CONDITIONAL(BUILD_RESET, test "x$enable_reset" = xyes)
614 AC_ARG_ENABLE([login-utils],
615 AS_HELP_STRING([--enable-login-utils], [build chfn, chsh, login, newgrp, vipw]),
616 [], enable_login_utils=no
618 AM_CONDITIONAL(BUILD_LOGIN_UTILS, test "x$enable_login_utils" = xyes)
621 [AS_HELP_STRING([--without-pam], [compile login-utils without PAM support])])
623 AM_CONDITIONAL(HAVE_PAM, false)
624 if test "x$enable_login_utils" = xyes && test "x$with_pam" != xno; then
625 AC_CHECK_HEADERS([security/pam_misc.h],
626 [AM_CONDITIONAL(HAVE_PAM, true)],
627 [if test "x$with_pam" = xyes; then
628 AC_MSG_ERROR([PAM selected but security/pam_misc.h not found])
633 AC_ARG_WITH([selinux],
634 AS_HELP_STRING([--with-selinux], [compile with SELinux support]),
638 if test "x$with_selinux" = xno; then
639 AM_CONDITIONAL(HAVE_SELINUX, false)
641 UTIL_CHECK_LIB(selinux, getprevcon)
642 case "$with_selinux:$have_selinux" in
643 yes:no) AC_MSG_ERROR([SELinux selected but libselinux not found]);;
647 if test "x$have_selinux" = xyes; then
648 SELINUX_LIBS="-lselinux -lsepol"
649 SELINUX_LIBS_STATIC="-lselinux -lsepol"
651 AC_SUBST([SELINUX_LIBS])
652 AC_SUBST([SELINUX_LIBS_STATIC])
655 AS_HELP_STRING([--with-audit], [compile with audit support]),
659 if test "x$with_audit" = xno; then
660 AM_CONDITIONAL(HAVE_AUDIT, false)
662 UTIL_CHECK_LIB(audit, audit_log_user_message)
663 case "$with_audit:$have_audit" in
665 AC_MSG_ERROR([Audit selected but libaudit not found (or doesn't support audit_log_user_message())])
670 AC_ARG_ENABLE([schedutils],
671 AS_HELP_STRING([--disable-schedutils], [do not build chrt, ionice, teskset]),
672 [], enable_schedutils=yes
674 AM_CONDITIONAL(BUILD_SCHEDUTILS, test "x$enable_schedutils" = xyes)
677 AC_ARG_ENABLE([wall],
678 AS_HELP_STRING([--disable-wall], [do not build wall]),
681 AM_CONDITIONAL(BUILD_WALL, test "x$enable_wall" = xyes)
684 AC_ARG_ENABLE([write],
685 AS_HELP_STRING([--enable-write], [build write]),
688 AM_CONDITIONAL(BUILD_WRITE, test "x$enable_write" = xyes)
691 AC_ARG_ENABLE([chsh-only-listed],
692 AS_HELP_STRING([--disable-chsh-only-listed], [chsh: allow shells not in /etc/shells]),
693 [], enable_chsh_only_listed=yes
696 if test "x$enable_chsh_only_listed" = xyes; then
697 AC_DEFINE(ONLY_LISTED_SHELLS, 1, [Should chsh allow only shells in /etc/shells?])
701 AC_ARG_ENABLE([login-chown-vcs],
702 AS_HELP_STRING([--enable-login-chown-vcs], [let login chown /dev/vcsN]),
703 [], enable_login_chown_vcs=no
706 if test "x$enable_login_chown_vcs" = xyes; then
707 AC_DEFINE(LOGIN_CHOWN_VCS, 1, [Should login chown /dev/vcsN?])
711 AC_ARG_ENABLE([login-stat-mail],
712 AS_HELP_STRING([--enable-login-stat-mail], [let login stat() the mailbox]),
713 [], enable_login_stat_mail=no
716 if test "x$enable_login_stat_mail" = xyes; then
717 AC_DEFINE(LOGIN_STAT_MAIL, 1, [Should login stat() the mailbox?])
721 AC_ARG_ENABLE([pg-bell],
722 AS_HELP_STRING([--disable-pg-bell], [let pg not ring the bell on invalid keys]),
723 [], enable_pg_bell=yes
726 if test "x$enable_pg_bell" = xyes; then
727 AC_DEFINE(PG_BELL, 1, [Should pg ring the bell on invalid keys?])
731 AC_ARG_ENABLE([require-password],
732 AS_HELP_STRING([--disable-require-password], [do not require the user to enter the password in chfn and chsh]),
733 [], enable_require_password=yes
736 if test "x$enable_require_password" = xyes; then
737 AC_DEFINE(REQUIRE_PASSWORD, 1, [Should chfn and chsh require the user to enter the password?])
741 AC_ARG_ENABLE([use-tty-group],
742 AS_HELP_STRING([--disable-use-tty-group], [do not install wall and write setgid tty]),
743 [], enable_use_tty_group=yes
745 AM_CONDITIONAL(USE_TTY_GROUP, test "x$enable_use_tty_group" = xyes)
747 if test "x$enable_use_tty_group" = xyes; then
748 AC_DEFINE(USE_TTY_GROUP, 1, [Should wall and write be installed setgid tty?])
751 AC_ARG_ENABLE([makeinstall-chown],
752 AS_HELP_STRING([--disable-makeinstall-chown], [do not do chown-like operations during "make install"]),
753 [], enable_makeinstall_chown=yes
755 AM_CONDITIONAL(MAKEINSTALL_DO_CHOWN, test "x$enable_makeinstall_chown" = xyes)
758 AC_ARG_VAR([SUID_CFLAGS],
759 [CFLAGS used for binaries which are usually with the suid bit])
760 AC_ARG_VAR([SUID_LDFLAGS],
761 [LDFLAGS used for binaries which are usually with the suid bit])
766 AC_CONFIG_HEADERS(config.h)
780 libs/blkid/bin/Makefile
781 libs/blkid/src/Makefile
782 libs/blkid/src/probers/Makefile
792 tests/helpers/Makefile
794 misc-utils/chkdupexe:misc-utils/chkdupexe.pl