1 AC_INIT(util-linux-ng, 2.14, 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=42
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
26 # Check whether exec_prefix=/usr:
27 case $exec_prefix:$prefix in
28 NONE:NONE | NONE:/usr | /usr:*)
29 AC_MSG_NOTICE([Default --exec-prefix detected.])
31 '${exec_prefix}/bin') bindir=/bin
32 AC_MSG_NOTICE([ --bindir defaults to /bin]) ;;
35 '${exec_prefix}/sbin') sbindir=/sbin
36 AC_MSG_NOTICE([ --sbindir defaults to /sbin]) ;;
39 '${exec_prefix}/lib') libdir=/lib
40 AC_MSG_NOTICE([ --libdir defaults to /lib]) ;;
60 AM_CONDITIONAL([LINUX], test "x$linux_os" = xyes)
62 AC_PATH_PROG(PERL, perl)
63 AC_PATH_PROG(BLKID, blkid, [], [$PATH:/sbin])
64 AC_PATH_PROG(VOLID, vol_id, [], [$PATH:/lib/udev])
68 AC_CHECK_HEADERS([linux/compiler.h linux/blkpg.h linux/major.h], [], [], [
69 #ifdef HAVE_LINUX_COMPILER_H
70 #include <linux/compiler.h>
99 AC_CHECK_HEADERS([linux/raw.h],
100 [AM_CONDITIONAL([HAVE_RAW], [true])],
101 [AM_CONDITIONAL([HAVE_RAW], [false])])
107 get_current_dir_name \
121 dnl Static compilation
122 m4_define([UTIL_STATIC_PROGRAMS], [losetup, mount, umount, fdisk, sfdisk])
124 AC_ARG_ENABLE([static-programs],
125 [AS_HELP_STRING([--enable-static-programs=LIST],
126 [link static the programs in LIST (comma-separated,
127 supported for ]m4_defn([UTIL_STATIC_PROGRAMS])[)])])
129 case $enable_static_programs in
130 yes) enable_static_programs=m4_quote(UTIL_STATIC_PROGRAMS) ;;
131 no) enable_static_programs= ;;
134 dnl Set all the individual AM_CONDITIONALs
135 m4_foreach([UTIL_PRG], m4_defn([UTIL_STATIC_PROGRAMS]), [
136 case ,$enable_static_programs, in
137 *,UTIL_PRG,*) static_[]UTIL_PRG=yes ;;
139 AM_CONDITIONAL([HAVE_STATIC_]m4_toupper(UTIL_PRG),
140 [test "x$static_[]UTIL_PRG" = xyes])
143 dnl UTIL_CHECK_LIB(LIBRARY, FUNCTION, [VARSUFFIX = $1]))
144 dnl The VARSUFFIX is optional and overrides the default behaviour. For example:
145 dnl UTIL_CHECK_LIB(yyy, func, xxx) generates have_xxx and HAVE_LIBXXX
146 dnl UTIL_CHECK_LIB(yyy, func) generates have_yyy and HAVE_LIBYYY
147 dnl ---------------------------------
148 AC_DEFUN([UTIL_CHECK_LIB], [
149 m4_define([suffix], m4_default([$3],$1))
152 [AC_CHECK_LIB([$1], [$2], [AC_DEFINE(AS_TR_CPP([HAVE_LIB]suffix), 1)], [[have_]suffix=no])],
153 [AC_CHECK_LIB([$1], [$2], [], [[have_]suffix=no])])
154 AM_CONDITIONAL(AS_TR_CPP([HAVE_]suffix), [test [$have_]suffix = yes])
157 UTIL_CHECK_LIB(uuid, uuid_is_null)
158 if test "x$have_uuid" = xno; then
159 AC_MSG_WARN([uuid library is not found; mkswap(8) will not generate UUIDs])
162 UTIL_CHECK_LIB(util, openpty)
163 UTIL_CHECK_LIB(termcap, tgetnum)
166 AC_ARG_WITH([fsprobe],
167 [AS_HELP_STRING([--with-fsprobe], [library to guess filesystems (builtin|blkid|volume_id), default is blkid])],
168 [], [with_fsprobe=blkid]
172 have_blkid_evaluate=no
176 if test "x$with_fsprobe" = xblkid; then
177 PKG_CHECK_MODULES(BLKID, blkid, [have_blkid=yes], [])
178 AC_CHECK_LIB(blkid, blkid_evaluate_spec, [have_blkid_evaluate=yes], [])
179 elif test "x$with_fsprobe" = xvolume_id; then
180 PKG_CHECK_MODULES(VOLUME_ID, volume_id, [have_volume_id=yes], [])
181 elif test "x$with_fsprobe" = xbuiltin; then
184 have_blkid_evaluate=yes
185 AC_SUBST(BLKID_VERSION_MAJOR)
186 AC_SUBST(BLKID_VERSION_MINOR)
187 AC_SUBST(BLKID_VERSION_RELEASE)
188 AC_SUBST(BLKID_VERSION)
189 AC_SUBST(BLKID_VERSION_INFO)
190 AC_DEFINE_UNQUOTED(BLKID_VERSION, "$BLKID_VERSION", [libblkid version string])
191 AC_DEFINE_UNQUOTED(BLKID_DATE, "$BLKID_DATE", [libblkid date string])
194 if test "x$have_blkid" = xyes; then
195 AC_DEFINE(HAVE_LIBBLKID, 1, [Define to 1 if you have the -lblkid.])
196 if test "x$have_blkid_evaluate" = xyes; then
197 AC_DEFINE(HAVE_BLKID_EVALUATE_SPEC, 1, [Define to 1 if you have the blkid_evaluate_spec().])
201 AM_CONDITIONAL(HAVE_BLKID, test "x$have_blkid" = xyes)
202 AM_CONDITIONAL(HAVE_VOLUME_ID, test "x$have_volume_id" = xyes)
203 AM_CONDITIONAL(BUILD_LIBBLKID, test "x$build_libblkid" = xyes)
206 AC_ARG_ENABLE([mount],
207 AS_HELP_STRING([--disable-mount], [do not build mount utilities]),
208 [], enable_mount=check
211 if test "${enable_mount}" = "no"; then
213 elif test "x$linux_os" = xyes; then
214 if test "x$have_blkid" = xno && test "x$have_volume_id" = xno; then
215 AC_MSG_ERROR([blkid or volume_id is needed to build util-linux-ng mount utilities])
218 AC_MSG_WARN([non-linux system; do not build mount utilities])
221 AM_CONDITIONAL(BUILD_MOUNT, test "x$build_mount" = xyes)
224 AC_ARG_ENABLE([fsck],
225 AS_HELP_STRING([--enable-fsck], [do build fsck]),
228 if test "x$enable_fsck" = xyes; then
229 if test "x$have_blkid" = xno && test "x$have_volume_id" = xno; then
230 AC_MSG_ERROR([libblkid or libvolume_id is needed to build util-linux-ng fsck])
233 AM_CONDITIONAL(BUILD_FSCK, test "x$enable_fsck" = xyes)
236 dnl UTIL_PKG_STATIC(VARIABLE, MODULES)
237 dnl ----------------------------------
238 AC_DEFUN([UTIL_PKG_STATIC], [
239 if AC_RUN_LOG([pkg-config --exists --print-errors "$2"]); then
240 $1=`pkg-config --libs --static "$2"`
242 AC_MSG_ERROR([pkg-config description of $2, needed for static build, is not available])
246 # These default values should work in most cases:
247 : ${BLKID_LIBS='-lblkid -luuid'}
248 : ${VOLUME_ID_LIBS='-lvolume_id'}
250 # ... but for static build, we need to consult pkg-config:
251 if test -n "$enable_static_programs"; then
252 case $with_fsprobe in
253 blkid) UTIL_PKG_STATIC([BLKID_LIBS_STATIC], [blkid]) ;;
254 volume_id) UTIL_PKG_STATIC([VOLUME_ID_LIBS_STATIC], [libvolume_id]) ;;
258 AC_ARG_VAR([BLKID_LIBS_STATIC], [-l options for linking statically with blkid])
259 AC_ARG_VAR([VOLUME_ID_LIBS_STATIC], [-l options for linking statically with volume_id])
262 AM_GNU_GETTEXT_VERSION([0.14.1])
263 AM_GNU_GETTEXT([external])
264 if test -d "$srcdir/po"
266 ALL_LINGUAS=`cd $srcdir/po > /dev/null && echo *.po | sed 's/\.po//g'`
268 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"
271 AC_ARG_WITH([ncurses],
272 AS_HELP_STRING([--with-ncurses], [build with non-wide ncurses, default is wide version
273 (--without-ncurses disables all ncurses(w) support)]),
274 [], with_ncurses=auto
276 AM_CONDITIONAL(HAVE_NCURSES, false)
278 if test "x$with_ncurses" != xno; then
280 AC_CHECK_HEADERS([ncurses.h ncurses/ncurses.h], [
281 if test "x$with_ncurses" = xauto; then
282 UTIL_CHECK_LIB(ncursesw, initscr, ncurses)
283 if test "x$have_ncurses" = xyes; then
284 NCURSES_LIBS="-lncursesw"
287 if test "x$have_ncurses" = xno; then
288 UTIL_CHECK_LIB(ncurses, initscr)
289 if test "x$have_ncurses" = xyes; then
290 NCURSES_LIBS="-lncurses"
294 if test "x$have_ncurses" = xno; then
295 AC_MSG_ERROR([ncurses or ncursesw selected, but library not found (--without-ncurses to disable)])
298 AC_SUBST([NCURSES_LIBS])
302 AS_HELP_STRING([--with-slang], [compile cfdisk with slang]),
307 AC_CHECK_LIB(tinfo, tgetent, [have_tinfo=yes])
308 AM_CONDITIONAL(HAVE_TINFO, test "x$have_tinfo" = xyes)
311 if test "x$with_slang" = xyes; then
312 AC_CHECK_HEADERS([slcurses.h slang/slcurses.h], [use_slang=yes])
313 if test "x$use_slang" = xno; then
314 AC_MSG_ERROR([slang selected but slcurses.h not found])
317 AM_CONDITIONAL(USE_SLANG, test "x$use_slang" = xyes)
320 AC_LINK_IFELSE([AC_LANG_PROGRAM([[
321 #define _XOPEN_SOURCE
324 char *c = crypt("abc","pw");
327 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
328 #define _XOPEN_SOURCE
331 char *c = crypt("abc","pw");
333 AC_DEFINE(NEED_LIBCRYPT, 1, [Do we need -lcrypt?])
336 AC_MSG_ERROR([crypt() is not available])
340 AM_CONDITIONAL(NEED_LIBCRYPT, test "x$need_libcrypt" = xyes)
342 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
347 [AC_DEFINE(HAVE___PROGNAME, 1, Do we have __progname?)
351 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
359 if (w == WEOF) exit(1);
363 [AC_DEFINE(HAVE_WIDECHAR,1,Do we have wide character support?)
367 dnl UTIL_CHECK_SYSCALL(SYSCALL, FALLBACK, ...)
368 dnl Only specify FALLBACK if the SYSCALL
369 dnl you're checking for is a "newish" one
370 dnl -------------------------------------
371 AC_DEFUN([UTIL_CHECK_SYSCALL], [
372 dnl This macro uses host_cpu.
373 AC_REQUIRE([AC_CANONICAL_HOST])
374 AC_CACHE_CHECK([for syscall $1],
375 [util_cv_syscall_$1],
376 [_UTIL_SYSCALL_CHECK_DECL([SYS_$1],
378 [dnl Our libc failed use, so see if we can get the kernel
379 dnl headers to play ball ...
380 _UTIL_SYSCALL_CHECK_DECL([_NR_$1],
384 if test "x$linux_os" = xyes; then
386 _UTIL_CHECK_SYSCALL_FALLBACK(m4_shift($@))
391 util_cv_syscall_$1=$syscall
393 AM_CONDITIONAL([HAVE_]m4_toupper($1), [test "x$util_cv_syscall_$1" != xno])
394 case $util_cv_syscall_$1 in #(
395 no) AC_MSG_WARN([Unable to detect syscall $1.]) ;;
397 *) AC_DEFINE_UNQUOTED([SYS_$1], [$util_cv_syscall_$1],
398 [Fallback syscall number for $1]) ;;
402 dnl _UTIL_SYSCALL_CHECK_DECL(SYMBOL, ACTION-IF-FOUND, ACTION-IF-NOT-FOUND)
403 dnl Check if SYMBOL is declared, using the headers needed for syscall checks.
404 dnl -------------------------------------
405 m4_define([_UTIL_SYSCALL_CHECK_DECL],
406 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
407 #include <sys/syscall.h>
409 ]], [[int test = $1;]])],
413 dnl _UTIL_CHECK_SYSCALL_FALLBACK(PATTERN, VALUE, ...)
414 dnl Helper macro to create the body for the above `case'.
415 dnl -------------------------------------
416 m4_define([_UTIL_CHECK_SYSCALL_FALLBACK],
419 $1) syscall="$2" ;;dnl
420 _UTIL_CHECK_SYSCALL_FALLBACK(m4_shiftn(2, $@))])dnl
424 UTIL_CHECK_SYSCALL([pivot_root])
425 UTIL_CHECK_SYSCALL([sched_getaffinity])
426 UTIL_CHECK_SYSCALL([ioprio_set],
435 UTIL_CHECK_SYSCALL([ioprio_get],
446 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
451 struct tm *tm = localtime(0);
452 if (a == -1) /* false */
453 sleep(tm->tm_gmtoff);
455 [AC_DEFINE(HAVE_TM_GMTOFF,1,[Does struct tm have a field tm_gmtoff?])
458 AC_CHECK_MEMBERS([struct termios.c_line],,,
459 [[#include <termios.h>]])
470 ADDR_LIMIT_3GB], [], [], [#include <linux/personality.h>])
472 AC_CHECK_HEADERS([sys/swap.h])
474 AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
476 #ifdef HAVE_SYS_SWAP_H
477 # include <sys/swap.h>
481 [[swapon("/dev/null", 0);]])],
482 [AC_DEFINE(SWAPON_HAS_TWO_ARGS, 1, [Is swapon() declared with two parameters?])
484 [AC_MSG_NOTICE([Your libc thinks that swapon has 1 arg only.])
488 dnl UTIL_SET_ARCH(ARCHNAME, PATTERN)
489 dnl ---------------------------------
490 AC_DEFUN([UTIL_SET_ARCH], [
495 AM_CONDITIONAL(AS_TR_CPP(ARCH_$1), [test "x$cpu_$1" = xtrue])
498 UTIL_SET_ARCH(I86, i?86-*)
499 UTIL_SET_ARCH(86_64, x86_64*)
500 UTIL_SET_ARCH(IA64, ia64*)
501 UTIL_SET_ARCH(S390, s390*)
502 UTIL_SET_ARCH(SPARC, sparc*)
503 UTIL_SET_ARCH(PPC, ppc*|powerpc*)
504 UTIL_SET_ARCH(M68K, m68*)
505 UTIL_SET_ARCH(MIPS, mips*)
506 UTIL_SET_ARCH(HPPA, hppa*)
508 AC_ARG_ENABLE([arch],
509 AS_HELP_STRING([--enable-arch], [do build arch]),
512 AM_CONDITIONAL(BUILD_ARCH, test "x$enable_arch" = xyes)
514 AC_ARG_ENABLE([agetty],
515 AS_HELP_STRING([--disable-agetty], [do not build agetty]),
516 [], enable_agetty=yes
518 AM_CONDITIONAL(BUILD_AGETTY, test "x$enable_agetty" = xyes)
520 AC_ARG_ENABLE([cramfs],
521 AS_HELP_STRING([--disable-cramfs], [do not build fsck.cramfs, mkfs.cramfs]),
522 [], enable_cramfs=check
525 if test "x$enable_cramfs" = xno; then
529 dnl Trick: leave the third parameter empty to get the default action.
530 AC_CHECK_LIB(z, crc32, [], build_cramfs=no)
531 case $enable_cramfs:$build_cramfs in
532 yes:no) AC_MSG_ERROR([cramfs selected but libz not found]);;
535 AM_CONDITIONAL(BUILD_CRAMFS, test "x$build_cramfs" = xyes)
538 AC_ARG_ENABLE([elvtune],
539 AS_HELP_STRING([--enable-elvtune], [build elvtune (only works with 2.2 and 2.4 kernels)]),
540 [], enable_elvtune=no
542 AM_CONDITIONAL(BUILD_ELVTUNE, test "x$enable_elvtune" = xyes)
545 AC_ARG_ENABLE([init],
546 AS_HELP_STRING([--enable-init], [build simpleinit, shutdown, initctl]),
549 AM_CONDITIONAL(BUILD_INIT, test "x$enable_init" = xyes)
552 AC_ARG_ENABLE([kill],
553 AS_HELP_STRING([--enable-kill], [build kill]),
556 AM_CONDITIONAL(BUILD_KILL, test "x$enable_kill" = xyes)
559 AC_ARG_ENABLE([last],
560 AS_HELP_STRING([--enable-last], [build last]),
563 AM_CONDITIONAL(BUILD_LAST, test "x$enable_last" = xyes)
566 AC_ARG_ENABLE([mesg],
567 AS_HELP_STRING([--enable-mesg], [build mesg]),
570 AM_CONDITIONAL(BUILD_MESG, test "x$enable_mesg" = xyes)
573 AC_ARG_ENABLE([partx],
574 AS_HELP_STRING([--enable-partx], [build addpart, delpart, partx]),
577 AM_CONDITIONAL(BUILD_PARTX, test "x$enable_partx" = xyes)
581 AS_HELP_STRING([--enable-raw], [build raw]),
584 AM_CONDITIONAL(BUILD_RAW, test "x$enable_raw" = xyes)
587 AC_ARG_ENABLE([rdev],
588 AS_HELP_STRING([--enable-rdev], [build rdev on i386]),
591 AM_CONDITIONAL(BUILD_RDEV, test "x$enable_rdev" = xyes)
594 AC_ARG_ENABLE([rename],
595 AS_HELP_STRING([--disable-rename], [do not build rename]),
596 [], enable_rename=yes
598 AM_CONDITIONAL(BUILD_RENAME, test "x$enable_rename" = xyes)
601 AC_ARG_ENABLE([reset],
602 AS_HELP_STRING([--enable-reset], [build reset]),
605 AM_CONDITIONAL(BUILD_RESET, test "x$enable_reset" = xyes)
608 AC_ARG_ENABLE([login-utils],
609 AS_HELP_STRING([--enable-login-utils], [build chfn, chsh, login, newgrp, vipw]),
610 [], enable_login_utils=no
612 AM_CONDITIONAL(BUILD_LOGIN_UTILS, test "x$enable_login_utils" = xyes)
615 [AS_HELP_STRING([--without-pam], [compile login-utils without PAM support])])
617 AM_CONDITIONAL(HAVE_PAM, false)
618 if test "x$enable_login_utils" = xyes && test "x$with_pam" != xno; then
619 AC_CHECK_HEADERS([security/pam_misc.h],
620 [AM_CONDITIONAL(HAVE_PAM, true)],
621 [if test "x$with_pam" = xyes; then
622 AC_MSG_ERROR([PAM selected but security/pam_misc.h not found])
627 AC_ARG_WITH([selinux],
628 AS_HELP_STRING([--with-selinux], [compile with SELinux support]),
632 if test "x$with_selinux" = xno; then
633 AM_CONDITIONAL(HAVE_SELINUX, false)
635 UTIL_CHECK_LIB(selinux, getprevcon)
636 case "$with_selinux:$have_selinux" in
637 yes:no) AC_MSG_ERROR([SELinux selected but libselinux not found]);;
641 if test "x$have_selinux" = xyes; then
642 SELINUX_LIBS="-lselinux -lsepol"
643 SELINUX_LIBS_STATIC="-lselinux -lsepol"
645 AC_SUBST([SELINUX_LIBS])
646 AC_SUBST([SELINUX_LIBS_STATIC])
649 AS_HELP_STRING([--with-audit], [compile with audit support]),
653 if test "x$with_audit" = xno; then
654 AM_CONDITIONAL(HAVE_AUDIT, false)
656 UTIL_CHECK_LIB(audit, audit_log_user_message)
657 case "$with_audit:$have_audit" in
659 AC_MSG_ERROR([Audit selected but libaudit not found (or doesn't support audit_log_user_message())])
664 AC_ARG_ENABLE([schedutils],
665 AS_HELP_STRING([--disable-schedutils], [do not build chrt, ionice, teskset]),
666 [], enable_schedutils=yes
668 AM_CONDITIONAL(BUILD_SCHEDUTILS, test "x$enable_schedutils" = xyes)
671 AC_ARG_ENABLE([wall],
672 AS_HELP_STRING([--disable-wall], [do not build wall]),
675 AM_CONDITIONAL(BUILD_WALL, test "x$enable_wall" = xyes)
678 AC_ARG_ENABLE([write],
679 AS_HELP_STRING([--enable-write], [build write]),
682 AM_CONDITIONAL(BUILD_WRITE, test "x$enable_write" = xyes)
685 AC_ARG_ENABLE([chsh-only-listed],
686 AS_HELP_STRING([--disable-chsh-only-listed], [chsh: allow shells not in /etc/shells]),
687 [], enable_chsh_only_listed=yes
690 if test "x$enable_chsh_only_listed" = xyes; then
691 AC_DEFINE(ONLY_LISTED_SHELLS, 1, [Should chsh allow only shells in /etc/shells?])
695 AC_ARG_ENABLE([login-chown-vcs],
696 AS_HELP_STRING([--enable-login-chown-vcs], [let login chown /dev/vcsN]),
697 [], enable_login_chown_vcs=no
700 if test "x$enable_login_chown_vcs" = xyes; then
701 AC_DEFINE(LOGIN_CHOWN_VCS, 1, [Should login chown /dev/vcsN?])
705 AC_ARG_ENABLE([login-stat-mail],
706 AS_HELP_STRING([--enable-login-stat-mail], [let login stat() the mailbox]),
707 [], enable_login_stat_mail=no
710 if test "x$enable_login_stat_mail" = xyes; then
711 AC_DEFINE(LOGIN_STAT_MAIL, 1, [Should login stat() the mailbox?])
715 AC_ARG_ENABLE([pg-bell],
716 AS_HELP_STRING([--disable-pg-bell], [let pg not ring the bell on invalid keys]),
717 [], enable_pg_bell=yes
720 if test "x$enable_pg_bell" = xyes; then
721 AC_DEFINE(PG_BELL, 1, [Should pg ring the bell on invalid keys?])
725 AC_ARG_ENABLE([require-password],
726 AS_HELP_STRING([--disable-require-password], [do not require the user to enter the password in chfn and chsh]),
727 [], enable_require_password=yes
730 if test "x$enable_require_password" = xyes; then
731 AC_DEFINE(REQUIRE_PASSWORD, 1, [Should chfn and chsh require the user to enter the password?])
735 AC_ARG_ENABLE([use-tty-group],
736 AS_HELP_STRING([--disable-use-tty-group], [do not install wall and write setgid tty]),
737 [], enable_use_tty_group=yes
739 AM_CONDITIONAL(USE_TTY_GROUP, test "x$enable_use_tty_group" = xyes)
741 if test "x$enable_use_tty_group" = xyes; then
742 AC_DEFINE(USE_TTY_GROUP, 1, [Should wall and write be installed setgid tty?])
745 AC_ARG_ENABLE([makeinstall-chown],
746 AS_HELP_STRING([--disable-makeinstall-chown], [do not do chown-like operations during "make install"]),
747 [], enable_makeinstall_chown=yes
749 AM_CONDITIONAL(MAKEINSTALL_DO_CHOWN, test "x$enable_makeinstall_chown" = xyes)
752 AC_ARG_VAR([SUID_CFLAGS],
753 [CFLAGS used for binaries which are usually with the suid bit])
754 AC_ARG_VAR([SUID_LDFLAGS],
755 [LDFLAGS used for binaries which are usually with the suid bit])
760 AC_CONFIG_HEADERS(config.h)
774 libs/blkid/bin/Makefile
775 libs/blkid/src/Makefile
776 libs/blkid/src/probers/Makefile
786 tests/helpers/Makefile
788 misc-utils/chkdupexe:misc-utils/chkdupexe.pl