From 8cb83eee5a58b1fad74c34094ce3afb9e430b5a4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 04:42:50 +0200 Subject: Adding upstream version 2.33.1. Signed-off-by: Daniel Baumann --- .tarball-version | 1 + .version | 1 + ABOUT-NLS | 1282 + AUTHORS | 694 + COPYING | 339 + ChangeLog | 3 + Documentation/00-about-docs.txt | 7 + Documentation/PAM-configuration.txt | 31 + Documentation/TODO | 165 + Documentation/blkid.txt | 80 + Documentation/boilerplate.c | 110 + Documentation/cal.txt | 42 + Documentation/col.txt | 41 + Documentation/deprecated.txt | 117 + Documentation/example.files/filesystems | 7 + Documentation/example.files/fstab | 15 + Documentation/example.files/motd | 10 + Documentation/example.files/securetty | 5 + Documentation/example.files/shells | 4 + Documentation/example.files/udev-raw.rules | 7 + Documentation/getopt.txt | 31 + Documentation/getopt_changelog.txt | 38 + Documentation/howto-build-sys.txt | 95 + Documentation/howto-compilation.txt | 83 + Documentation/howto-contribute.txt | 241 + Documentation/howto-debug.txt | 74 + Documentation/howto-man-page.txt | 188 + Documentation/howto-pull-request.txt | 286 + Documentation/howto-tests.txt | 137 + Documentation/howto-usage-function.txt | 134 + Documentation/hwclock.txt | 3 + Documentation/licenses/COPYING.BSD-3-Clause | 25 + Documentation/licenses/COPYING.BSD-4-Clause-UC | 32 + Documentation/licenses/COPYING.GPL-2.0-or-later | 339 + Documentation/licenses/COPYING.ISC | 11 + Documentation/licenses/COPYING.LGPL-2.1-or-later | 502 + Documentation/modems-with-agetty.txt | 76 + Documentation/mount.txt | 17 + Documentation/parse-date.txt | 468 + Documentation/pg.txt | 13 + Documentation/poeigl.txt | 503 + Documentation/release-schedule.txt | 42 + Documentation/releases/v2.13-ReleaseNotes | 460 + Documentation/releases/v2.14-ReleaseNotes | 418 + Documentation/releases/v2.15-ReleaseNotes | 675 + Documentation/releases/v2.16-ReleaseNotes | 182 + Documentation/releases/v2.17-ReleaseNotes | 526 + Documentation/releases/v2.18-ReleaseNotes | 468 + Documentation/releases/v2.19-ReleaseNotes | 660 + Documentation/releases/v2.20-ReleaseNotes | 1061 + Documentation/releases/v2.21-ReleaseNotes | 979 + Documentation/releases/v2.22-ReleaseNotes | 1192 + Documentation/releases/v2.23-ReleaseNotes | 1172 + Documentation/releases/v2.24-ReleaseNotes | 924 + Documentation/releases/v2.25-ReleaseNotes | 1290 + Documentation/releases/v2.26-ReleaseNotes | 1042 + Documentation/releases/v2.27-ReleaseNotes | 765 + Documentation/releases/v2.28-ReleaseNotes | 725 + Documentation/releases/v2.29-ReleaseNotes | 587 + Documentation/releases/v2.30-ReleaseNotes | 758 + Documentation/releases/v2.31-ReleaseNotes | 671 + Documentation/releases/v2.32-ReleaseNotes | 492 + Documentation/releases/v2.33-ReleaseNotes | 614 + Documentation/releases/v2.33.1-ReleaseNotes | 51 + Documentation/rfkill.readme | 15 + Makefile.am | 234 + Makefile.in | 13079 +++++++ NEWS | 1823 + README | 135 + README.licensing | 22 + aclocal.m4 | 1811 + autogen.sh | 151 + bash-completion/Makemodule.am | 321 + bash-completion/addpart | 23 + bash-completion/blkdiscard | 35 + bash-completion/blkid | 98 + bash-completion/blkzone | 52 + bash-completion/blockdev | 44 + bash-completion/cal | 29 + bash-completion/cfdisk | 29 + bash-completion/chcpu | 59 + bash-completion/chfn | 22 + bash-completion/chmem | 30 + bash-completion/chrt | 52 + bash-completion/chsh | 26 + bash-completion/col | 27 + bash-completion/colcrt | 27 + bash-completion/colrm | 29 + bash-completion/column | 62 + bash-completion/ctrlaltdel | 17 + bash-completion/delpart | 24 + bash-completion/dmesg | 63 + bash-completion/eject | 64 + bash-completion/fallocate | 41 + bash-completion/fdformat | 29 + bash-completion/fdisk | 97 + bash-completion/fincore | 46 + bash-completion/findfs | 34 + bash-completion/findmnt | 144 + bash-completion/flock | 47 + bash-completion/fsck | 39 + bash-completion/fsck.cramfs | 33 + bash-completion/fsck.minix | 16 + bash-completion/fsfreeze | 24 + bash-completion/fstrim | 36 + bash-completion/getopt | 37 + bash-completion/hexdump | 53 + bash-completion/hwclock | 58 + bash-completion/ionice | 50 + bash-completion/ipcmk | 27 + bash-completion/ipcrm | 62 + bash-completion/ipcs | 33 + bash-completion/isosize | 27 + bash-completion/last | 53 + bash-completion/ldattach | 68 + bash-completion/logger | 78 + bash-completion/look | 35 + bash-completion/losetup | 79 + bash-completion/lsblk | 89 + bash-completion/lscpu | 52 + bash-completion/lsipc | 71 + bash-completion/lslocks | 50 + bash-completion/lslogins | 77 + bash-completion/lsmem | 53 + bash-completion/lsns | 57 + bash-completion/mcookie | 31 + bash-completion/mesg | 22 + bash-completion/mkfs | 27 + bash-completion/mkfs.bfs | 30 + bash-completion/mkfs.cramfs | 44 + bash-completion/mkfs.minix | 32 + bash-completion/mkswap | 40 + bash-completion/more | 30 + bash-completion/mount | 101 + bash-completion/mountpoint | 24 + bash-completion/namei | 24 + bash-completion/newgrp | 22 + bash-completion/nsenter | 63 + bash-completion/partx | 65 + bash-completion/pg | 33 + bash-completion/pivot_root | 21 + bash-completion/prlimit | 69 + bash-completion/raw | 23 + bash-completion/readprofile | 37 + bash-completion/rename | 34 + bash-completion/renice | 41 + bash-completion/resizepart | 27 + bash-completion/rev | 24 + bash-completion/rfkill | 48 + bash-completion/rtcwake | 59 + bash-completion/script | 45 + bash-completion/scriptreplay | 33 + bash-completion/setarch | 44 + bash-completion/setpriv | 125 + bash-completion/setsid | 23 + bash-completion/setterm | 127 + bash-completion/sfdisk | 96 + bash-completion/su | 48 + bash-completion/swaplabel | 32 + bash-completion/swapoff | 38 + bash-completion/swapon | 84 + bash-completion/taskset | 47 + bash-completion/tunelp | 51 + bash-completion/ul | 33 + bash-completion/umount | 57 + bash-completion/unshare | 45 + bash-completion/utmpdump | 24 + bash-completion/uuidd | 39 + bash-completion/uuidgen | 39 + bash-completion/uuidparse | 37 + bash-completion/wall | 32 + bash-completion/wdctl | 70 + bash-completion/whereis | 28 + bash-completion/wipefs | 60 + bash-completion/write | 24 + bash-completion/zramctl | 60 + config.h.in | 859 + config/ar-lib | 270 + config/compile | 348 + config/config.guess | 1476 + config/config.rpath | 690 + config/config.sub | 1836 + config/depcomp | 791 + config/gtk-doc.make | 247 + config/install-sh | 501 + config/ltmain.sh | 11149 ++++++ config/missing | 215 + config/py-compile | 170 + config/ylwrap | 247 + configure | 35296 +++++++++++++++++++ configure.ac | 2450 ++ disk-utils/Makemodule.am | 228 + disk-utils/addpart.8 | 40 + disk-utils/addpart.c | 67 + disk-utils/blockdev.8 | 91 + disk-utils/blockdev.c | 505 + disk-utils/cfdisk.8 | 204 + disk-utils/cfdisk.c | 2747 ++ disk-utils/cramfs.h | 114 + disk-utils/cramfs_common.c | 109 + disk-utils/delpart.8 | 27 + disk-utils/delpart.c | 66 + disk-utils/fdformat.8 | 74 + disk-utils/fdformat.c | 256 + disk-utils/fdisk-list.c | 536 + disk-utils/fdisk-list.h | 47 + disk-utils/fdisk-menu.c | 1102 + disk-utils/fdisk.8 | 371 + disk-utils/fdisk.c | 1097 + disk-utils/fdisk.h | 56 + disk-utils/fsck.8 | 418 + disk-utils/fsck.c | 1692 + disk-utils/fsck.cramfs.8 | 61 + disk-utils/fsck.cramfs.c | 714 + disk-utils/fsck.minix.8 | 168 + disk-utils/fsck.minix.c | 1438 + disk-utils/isosize.8 | 56 + disk-utils/isosize.c | 217 + disk-utils/minix_programs.h | 118 + disk-utils/mkfs.8 | 94 + disk-utils/mkfs.bfs.8 | 58 + disk-utils/mkfs.bfs.c | 307 + disk-utils/mkfs.c | 140 + disk-utils/mkfs.cramfs.8 | 90 + disk-utils/mkfs.cramfs.c | 926 + disk-utils/mkfs.minix.8 | 89 + disk-utils/mkfs.minix.c | 841 + disk-utils/mkswap.8 | 156 + disk-utils/mkswap.c | 544 + disk-utils/partx.8 | 195 + disk-utils/partx.c | 1071 + disk-utils/raw.8 | 99 + disk-utils/raw.c | 277 + disk-utils/resizepart.8 | 38 + disk-utils/resizepart.c | 119 + disk-utils/sfdisk.8 | 583 + disk-utils/sfdisk.c | 2226 ++ disk-utils/swaplabel.8 | 70 + disk-utils/swaplabel.c | 195 + include/Makemodule.am | 64 + include/all-io.h | 82 + include/bitops.h | 150 + include/blkdev.h | 150 + include/c.h | 410 + include/canonicalize.h | 32 + include/carefulputc.h | 153 + include/cctype.h | 325 + include/closestream.h | 73 + include/color-names.h | 44 + include/colors.h | 70 + include/cpuset.h | 99 + include/crc32.h | 12 + include/crc32c.h | 9 + include/debug.h | 181 + include/debugobj.h | 22 + include/env.h | 22 + include/exec_shell.h | 6 + include/exitcodes.h | 25 + include/fileutils.h | 60 + include/idcache.h | 28 + include/ismounted.h | 14 + include/linux_version.h | 14 + include/list.h | 340 + include/loopdev.h | 205 + include/mangle.h | 26 + include/match.h | 12 + include/mbsalign.h | 63 + include/mbsedit.h | 32 + include/md5.h | 24 + include/minix.h | 85 + include/monotonic.h | 10 + include/namespace.h | 47 + include/nls.h | 155 + include/optutils.h | 107 + include/pager.h | 9 + include/partx.h | 63 + include/path.h | 131 + include/pathnames.h | 199 + include/plymouth-ctrl.h | 65 + include/procutils.h | 34 + include/pt-bsd.h | 156 + include/pt-mbr-partnames.h | 109 + include/pt-mbr.h | 187 + include/pt-sgi.h | 110 + include/pt-sun.h | 90 + include/pwdutils.h | 11 + include/randutils.h | 17 + include/rpmatch.h | 13 + include/setproctitle.h | 7 + include/sha1.h | 27 + include/signames.h | 8 + include/statfs_magic.h | 100 + include/strutils.h | 258 + include/strv.h | 55 + include/swapheader.h | 23 + include/swapprober.h | 9 + include/sysfs.h | 109 + include/timer.h | 11 + include/timeutils.h | 96 + include/ttyutils.h | 204 + include/widechar.h | 47 + include/xalloc.h | 126 + lib/Makemodule.am | 175 + lib/blkdev.c | 400 + lib/canonicalize.c | 194 + lib/color-names.c | 58 + lib/colors.c | 898 + lib/cpuset.c | 397 + lib/crc32.c | 142 + lib/crc32c.c | 102 + lib/env.c | 109 + lib/exec_shell.c | 51 + lib/fileutils.c | 186 + lib/idcache.c | 113 + lib/ismounted.c | 395 + lib/langinfo.c | 121 + lib/linux_version.c | 71 + lib/loopdev.c | 1795 + lib/mangle.c | 168 + lib/match.c | 53 + lib/mbsalign.c | 576 + lib/mbsedit.c | 225 + lib/md5.c | 257 + lib/monotonic.c | 70 + lib/pager.c | 317 + lib/parse-date.c | 3369 ++ lib/parse-date.y | 1626 + lib/path.c | 1226 + lib/plymouth-ctrl.c | 144 + lib/procutils.c | 308 + lib/pwdutils.c | 96 + lib/randutils.c | 235 + lib/setproctitle.c | 75 + lib/sha1.c | 256 + lib/signames.c | 204 + lib/strutils.c | 1029 + lib/strv.c | 403 + lib/swapprober.c | 49 + lib/sysfs.c | 1099 + lib/terminal-colors.d.5 | 192 + lib/timer.c | 65 + lib/timeutils.c | 594 + lib/ttyutils.c | 143 + libblkid/COPYING | 8 + libblkid/Makemodule.am | 16 + libblkid/blkid.pc.in | 11 + libblkid/docs/Makefile.am | 95 + libblkid/docs/Makefile.in | 871 + libblkid/docs/libblkid-config.xml | 57 + libblkid/docs/libblkid-docs.xml | 74 + libblkid/docs/libblkid-sections.txt | 205 + libblkid/docs/version.xml | 1 + libblkid/docs/version.xml.in | 1 + libblkid/libblkid.3 | 79 + libblkid/samples/Makemodule.am | 22 + libblkid/samples/mkfs.c | 78 + libblkid/samples/partitions.c | 96 + libblkid/samples/superblocks.c | 67 + libblkid/samples/topology.c | 86 + libblkid/src/Makemodule.am | 241 + libblkid/src/blkid.h.in | 461 + libblkid/src/blkidP.h | 558 + libblkid/src/cache.c | 225 + libblkid/src/config.c | 198 + libblkid/src/dev.c | 279 + libblkid/src/devname.c | 706 + libblkid/src/devno.c | 374 + libblkid/src/encode.c | 357 + libblkid/src/evaluate.c | 323 + libblkid/src/getsize.c | 34 + libblkid/src/init.c | 67 + libblkid/src/libblkid.sym | 176 + libblkid/src/llseek.c | 147 + libblkid/src/partitions/aix.c | 57 + libblkid/src/partitions/aix.h | 7 + libblkid/src/partitions/atari.c | 276 + libblkid/src/partitions/bsd.c | 188 + libblkid/src/partitions/dos.c | 366 + libblkid/src/partitions/gpt.c | 474 + libblkid/src/partitions/mac.c | 191 + libblkid/src/partitions/minix.c | 102 + libblkid/src/partitions/partitions.c | 1522 + libblkid/src/partitions/partitions.h | 74 + libblkid/src/partitions/sgi.c | 87 + libblkid/src/partitions/solaris_x86.c | 154 + libblkid/src/partitions/sun.c | 125 + libblkid/src/partitions/ultrix.c | 99 + libblkid/src/partitions/unixware.c | 197 + libblkid/src/probe.c | 2023 ++ libblkid/src/read.c | 468 + libblkid/src/resolve.c | 129 + libblkid/src/save.c | 242 + libblkid/src/superblocks/adaptec_raid.c | 116 + libblkid/src/superblocks/apfs.c | 81 + libblkid/src/superblocks/bcache.c | 118 + libblkid/src/superblocks/befs.c | 540 + libblkid/src/superblocks/bfs.c | 23 + libblkid/src/superblocks/bitlocker.c | 191 + libblkid/src/superblocks/btrfs.c | 93 + libblkid/src/superblocks/cramfs.c | 62 + libblkid/src/superblocks/ddf_raid.c | 141 + libblkid/src/superblocks/drbd.c | 117 + libblkid/src/superblocks/drbdmanage.c | 87 + libblkid/src/superblocks/drbdproxy_datalog.c | 55 + libblkid/src/superblocks/exfat.c | 153 + libblkid/src/superblocks/exfs.c | 187 + libblkid/src/superblocks/ext.c | 365 + libblkid/src/superblocks/f2fs.c | 99 + libblkid/src/superblocks/gfs.c | 131 + libblkid/src/superblocks/hfs.c | 335 + libblkid/src/superblocks/highpoint_raid.c | 87 + libblkid/src/superblocks/hpfs.c | 122 + libblkid/src/superblocks/iso9660.c | 273 + libblkid/src/superblocks/isw_raid.c | 67 + libblkid/src/superblocks/jfs.c | 71 + libblkid/src/superblocks/jmicron_raid.c | 65 + libblkid/src/superblocks/linux_raid.c | 267 + libblkid/src/superblocks/lsi_raid.c | 60 + libblkid/src/superblocks/luks.c | 134 + libblkid/src/superblocks/lvm.c | 264 + libblkid/src/superblocks/minix.c | 181 + libblkid/src/superblocks/mpool.c | 62 + libblkid/src/superblocks/netware.c | 97 + libblkid/src/superblocks/nilfs.c | 171 + libblkid/src/superblocks/ntfs.c | 226 + libblkid/src/superblocks/nvidia_raid.c | 64 + libblkid/src/superblocks/ocfs.c | 213 + libblkid/src/superblocks/promise_raid.c | 77 + libblkid/src/superblocks/refs.c | 26 + libblkid/src/superblocks/reiserfs.c | 128 + libblkid/src/superblocks/romfs.c | 51 + libblkid/src/superblocks/silicon_raid.c | 130 + libblkid/src/superblocks/squashfs.c | 101 + libblkid/src/superblocks/stratis.c | 105 + libblkid/src/superblocks/superblocks.c | 870 + libblkid/src/superblocks/superblocks.h | 112 + libblkid/src/superblocks/swap.c | 178 + libblkid/src/superblocks/sysv.c | 154 + libblkid/src/superblocks/ubi.c | 51 + libblkid/src/superblocks/ubifs.c | 121 + libblkid/src/superblocks/udf.c | 488 + libblkid/src/superblocks/ufs.c | 258 + libblkid/src/superblocks/vdo.c | 48 + libblkid/src/superblocks/vfat.c | 464 + libblkid/src/superblocks/via_raid.c | 91 + libblkid/src/superblocks/vmfs.c | 101 + libblkid/src/superblocks/vxfs.c | 41 + libblkid/src/superblocks/xfs.c | 284 + libblkid/src/superblocks/zfs.c | 286 + libblkid/src/tag.c | 466 + libblkid/src/topology/dm.c | 136 + libblkid/src/topology/evms.c | 77 + libblkid/src/topology/ioctl.c | 74 + libblkid/src/topology/lvm.c | 147 + libblkid/src/topology/md.c | 154 + libblkid/src/topology/sysfs.c | 123 + libblkid/src/topology/topology.c | 360 + libblkid/src/topology/topology.h | 24 + libblkid/src/verify.c | 224 + libblkid/src/version.c | 62 + libfdisk/COPYING | 8 + libfdisk/Makemodule.am | 15 + libfdisk/docs/Makefile.am | 93 + libfdisk/docs/Makefile.in | 868 + libfdisk/docs/libfdisk-docs.xml | 82 + libfdisk/docs/libfdisk-sections.txt | 390 + libfdisk/docs/version.xml | 1 + libfdisk/docs/version.xml.in | 1 + libfdisk/fdisk.pc.in | 11 + libfdisk/samples/Makemodule.am | 16 + libfdisk/samples/mkpart-fullspec.c | 192 + libfdisk/samples/mkpart.c | 205 + libfdisk/src/Makemodule.am | 128 + libfdisk/src/alignment.c | 715 + libfdisk/src/ask.c | 1073 + libfdisk/src/bsd.c | 1056 + libfdisk/src/context.c | 1444 + libfdisk/src/dos.c | 2530 ++ libfdisk/src/fdiskP.h | 520 + libfdisk/src/field.c | 88 + libfdisk/src/gpt.c | 3224 ++ libfdisk/src/init.c | 61 + libfdisk/src/item.c | 252 + libfdisk/src/iter.c | 82 + libfdisk/src/label.c | 706 + libfdisk/src/libfdisk.h.in | 842 + libfdisk/src/libfdisk.sym | 305 + libfdisk/src/partition.c | 1506 + libfdisk/src/parttype.c | 404 + libfdisk/src/script.c | 1667 + libfdisk/src/sgi.c | 1204 + libfdisk/src/sun.c | 1182 + libfdisk/src/table.c | 787 + libfdisk/src/test.c | 59 + libfdisk/src/utils.c | 213 + libfdisk/src/version.c | 125 + libfdisk/src/wipe.c | 209 + libmount/COPYING | 8 + libmount/Makemodule.am | 15 + libmount/docs/Makefile.am | 93 + libmount/docs/Makefile.in | 868 + libmount/docs/libmount-docs.xml | 79 + libmount/docs/libmount-sections.txt | 432 + libmount/docs/version.xml | 1 + libmount/docs/version.xml.in | 1 + libmount/mount.pc.in | 22 + libmount/python/Makemodule.am | 35 + libmount/python/__init__.py | 2 + libmount/python/context.c | 1228 + libmount/python/fs.c | 877 + libmount/python/pylibmount.c | 303 + libmount/python/pylibmount.h | 131 + libmount/python/tab.c | 781 + libmount/python/test_mount_context.py | 173 + libmount/python/test_mount_tab.py | 164 + libmount/python/test_mount_tab_update.py | 59 + libmount/src/Makemodule.am | 166 + libmount/src/btrfs.c | 175 + libmount/src/cache.c | 839 + libmount/src/context.c | 3162 ++ libmount/src/context_loopdev.c | 446 + libmount/src/context_mount.c | 1748 + libmount/src/context_umount.c | 1209 + libmount/src/fs.c | 1602 + libmount/src/init.c | 105 + libmount/src/iter.c | 78 + libmount/src/libmount.h.in | 988 + libmount/src/libmount.sym | 343 + libmount/src/lock.c | 721 + libmount/src/monitor.c | 978 + libmount/src/mountP.h | 461 + libmount/src/optmap.c | 255 + libmount/src/optstr.c | 1440 + libmount/src/tab.c | 2003 ++ libmount/src/tab_diff.c | 377 + libmount/src/tab_parse.c | 1217 + libmount/src/tab_update.c | 1065 + libmount/src/test.c | 65 + libmount/src/utils.c | 1315 + libmount/src/version.c | 151 + libsmartcols/COPYING | 8 + libsmartcols/Makemodule.am | 15 + libsmartcols/docs/Makefile.am | 93 + libsmartcols/docs/Makefile.in | 868 + libsmartcols/docs/libsmartcols-docs.xml | 72 + libsmartcols/docs/libsmartcols-sections.txt | 191 + libsmartcols/docs/version.xml | 1 + libsmartcols/docs/version.xml.in | 1 + libsmartcols/samples/Makemodule.am | 39 + libsmartcols/samples/continuous.c | 138 + libsmartcols/samples/fromfile.c | 344 + libsmartcols/samples/maxout.c | 56 + libsmartcols/samples/title.c | 135 + libsmartcols/samples/tree.c | 249 + libsmartcols/samples/wrap.c | 111 + libsmartcols/smartcols.pc.in | 10 + libsmartcols/src/Makemodule.am | 58 + libsmartcols/src/cell.c | 257 + libsmartcols/src/column.c | 559 + libsmartcols/src/init.c | 61 + libsmartcols/src/iter.c | 74 + libsmartcols/src/libsmartcols.h.in | 321 + libsmartcols/src/libsmartcols.sym | 184 + libsmartcols/src/line.c | 517 + libsmartcols/src/smartcolsP.h | 216 + libsmartcols/src/symbols.c | 173 + libsmartcols/src/table.c | 1542 + libsmartcols/src/table_print.c | 1748 + libsmartcols/src/version.c | 62 + libuuid/COPYING | 5 + libuuid/Makemodule.am | 10 + libuuid/man/Makemodule.am | 14 + libuuid/man/uuid.3 | 66 + libuuid/man/uuid_clear.3 | 62 + libuuid/man/uuid_compare.3 | 68 + libuuid/man/uuid_copy.3 | 64 + libuuid/man/uuid_generate.3 | 137 + libuuid/man/uuid_generate_random.3 | 1 + libuuid/man/uuid_generate_time.3 | 1 + libuuid/man/uuid_generate_time_safe.3 | 1 + libuuid/man/uuid_is_null.3 | 64 + libuuid/man/uuid_parse.3 | 74 + libuuid/man/uuid_time.3 | 78 + libuuid/man/uuid_unparse.3 | 81 + libuuid/src/Makemodule.am | 67 + libuuid/src/clear.c | 43 + libuuid/src/compare.c | 55 + libuuid/src/copy.c | 45 + libuuid/src/gen_uuid.c | 608 + libuuid/src/isnull.c | 48 + libuuid/src/libuuid.sym | 57 + libuuid/src/pack.c | 69 + libuuid/src/parse.c | 79 + libuuid/src/predefined.c | 80 + libuuid/src/test_uuid.c | 120 + libuuid/src/unpack.c | 63 + libuuid/src/unparse.c | 76 + libuuid/src/uuid.h | 121 + libuuid/src/uuidP.h | 90 + libuuid/src/uuid_time.c | 171 + libuuid/src/uuidd.h | 54 + libuuid/uuid.pc.in | 11 + login-utils/Makemodule.am | 247 + login-utils/auth.c | 65 + login-utils/auth.h | 13 + login-utils/ch-common.c | 34 + login-utils/ch-common.h | 6 + login-utils/chfn.1 | 108 + login-utils/chfn.c | 492 + login-utils/chsh.1 | 65 + login-utils/chsh.c | 365 + login-utils/islocal.c | 112 + login-utils/islocal.h | 1 + login-utils/last.1 | 198 + login-utils/last.c | 1032 + login-utils/lastb.1 | 1 + login-utils/libuser.c | 72 + login-utils/libuser.h | 14 + login-utils/login.1 | 350 + login-utils/login.c | 1386 + login-utils/logindefs.c | 437 + login-utils/logindefs.h | 14 + login-utils/lslogins.1 | 152 + login-utils/lslogins.c | 1595 + login-utils/newgrp.1 | 34 + login-utils/newgrp.c | 240 + login-utils/nologin.8 | 52 + login-utils/nologin.c | 89 + login-utils/runuser.1 | 254 + login-utils/runuser.c | 7 + login-utils/selinux_utils.c | 29 + login-utils/selinux_utils.h | 7 + login-utils/setpwnam.c | 218 + login-utils/setpwnam.h | 33 + login-utils/su-common.c | 1520 + login-utils/su-common.h | 11 + login-utils/su.1 | 294 + login-utils/su.c | 8 + login-utils/sulogin-consoles.c | 828 + login-utils/sulogin-consoles.h | 54 + login-utils/sulogin.8 | 95 + login-utils/sulogin.c | 1110 + login-utils/utmpdump.1 | 93 + login-utils/utmpdump.c | 397 + login-utils/vigr.8 | 1 + login-utils/vipw.8 | 89 + login-utils/vipw.c | 373 + m4/ax_check_vscript.m4 | 142 + m4/compiler.m4 | 40 + m4/gettext.m4 | 401 + m4/gtk-doc.m4 | 39 + m4/iconv.m4 | 268 + m4/intlmacosx.m4 | 56 + m4/lib-ld.m4 | 119 + m4/lib-link.m4 | 777 + m4/lib-prefix.m4 | 224 + m4/libtool.m4 | 8372 +++++ m4/ltoptions.m4 | 437 + m4/ltsugar.m4 | 124 + m4/ltversion.m4 | 23 + m4/lt~obsolete.m4 | 99 + m4/nls.m4 | 32 + m4/po.m4 | 453 + m4/progtest.m4 | 91 + m4/tls.m4 | 111 + m4/ul.m4 | 527 + misc-utils/Makemodule.am | 217 + misc-utils/blkid.8 | 332 + misc-utils/blkid.c | 947 + misc-utils/cal.1 | 231 + misc-utils/cal.c | 1128 + misc-utils/fincore.1 | 62 + misc-utils/fincore.c | 417 + misc-utils/findfs.8 | 84 + misc-utils/findfs.c | 80 + misc-utils/findmnt-verify.c | 519 + misc-utils/findmnt.8 | 308 + misc-utils/findmnt.c | 1723 + misc-utils/findmnt.h | 41 + misc-utils/getopt-parse.bash | 75 + misc-utils/getopt-parse.tcsh | 77 + misc-utils/getopt.1 | 462 + misc-utils/getopt.c | 472 + misc-utils/kill.1 | 179 + misc-utils/kill.c | 392 + misc-utils/logger.1 | 358 + misc-utils/logger.c | 1294 + misc-utils/look.1 | 123 + misc-utils/look.c | 376 + misc-utils/lsblk-mnt.c | 127 + misc-utils/lsblk-properties.c | 188 + misc-utils/lsblk.8 | 190 + misc-utils/lsblk.c | 1820 + misc-utils/lsblk.h | 112 + misc-utils/lslocks.8 | 108 + misc-utils/lslocks.c | 662 + misc-utils/mcookie.1 | 69 + misc-utils/mcookie.c | 196 + misc-utils/namei.1 | 80 + misc-utils/namei.c | 451 + misc-utils/rename.1 | 123 + misc-utils/rename.c | 313 + misc-utils/test_uuidd.c | 344 + misc-utils/uuidd.8 | 94 + misc-utils/uuidd.8.in | 94 + misc-utils/uuidd.c | 712 + misc-utils/uuidd.rc.in | 62 + misc-utils/uuidd.service.in | 13 + misc-utils/uuidd.socket.in | 8 + misc-utils/uuidgen.1 | 102 + misc-utils/uuidgen.c | 209 + misc-utils/uuidparse.1 | 78 + misc-utils/uuidparse.c | 349 + misc-utils/whereis.1 | 172 + misc-utils/whereis.c | 650 + misc-utils/wipefs.8 | 136 + misc-utils/wipefs.c | 830 + po/Makefile.in.in | 454 + po/Makevars | 44 + po/POTFILES.in | 430 + po/Rules-quot | 47 + po/boldquot.sed | 10 + po/ca.gmo | Bin 0 -> 37034 bytes po/ca.po | 26538 ++++++++++++++ po/cs.gmo | Bin 0 -> 463762 bytes po/cs.po | 27236 ++++++++++++++ po/da.gmo | Bin 0 -> 393658 bytes po/da.po | 20592 +++++++++++ po/de.gmo | Bin 0 -> 395996 bytes po/de.po | 21222 +++++++++++ po/en@boldquot.header | 25 + po/en@quot.header | 22 + po/es.gmo | Bin 0 -> 469426 bytes po/es.po | 21790 ++++++++++++ po/et.gmo | Bin 0 -> 21582 bytes po/et.po | 24572 +++++++++++++ po/eu.gmo | Bin 0 -> 20434 bytes po/eu.po | 23354 ++++++++++++ po/fi.gmo | Bin 0 -> 89362 bytes po/fi.po | 26275 ++++++++++++++ po/fr.gmo | Bin 0 -> 475745 bytes po/fr.po | 20526 +++++++++++ po/gl.gmo | Bin 0 -> 16761 bytes po/gl.po | 21593 ++++++++++++ po/hr.gmo | Bin 0 -> 25173 bytes po/hr.po | 20167 +++++++++++ po/hu.gmo | Bin 0 -> 44504 bytes po/hu.po | 26066 ++++++++++++++ po/id.gmo | Bin 0 -> 48560 bytes po/id.po | 26921 ++++++++++++++ po/insert-header.sin | 23 + po/it.gmo | Bin 0 -> 33108 bytes po/it.po | 26266 ++++++++++++++ po/ja.gmo | Bin 0 -> 392245 bytes po/ja.po | 23586 +++++++++++++ po/nl.gmo | Bin 0 -> 349549 bytes po/nl.po | 25773 ++++++++++++++ po/pl.gmo | Bin 0 -> 458912 bytes po/pl.po | 19822 +++++++++++ po/pt_BR.gmo | Bin 0 -> 458904 bytes po/pt_BR.po | 25840 ++++++++++++++ po/quot.sed | 6 + po/remove-potcdate.sin | 19 + po/ru.gmo | Bin 0 -> 210355 bytes po/ru.po | 20798 +++++++++++ po/sl.gmo | Bin 0 -> 34938 bytes po/sl.po | 26390 ++++++++++++++ po/stamp-po | 1 + po/sv.gmo | Bin 0 -> 442973 bytes po/sv.po | 24157 +++++++++++++ po/tr.gmo | Bin 0 -> 375674 bytes po/tr.po | 24177 +++++++++++++ po/uk.gmo | Bin 0 -> 592776 bytes po/uk.po | 19868 +++++++++++ po/update-potfiles | 41 + po/util-linux.pot | 19485 ++++++++++ po/vi.gmo | Bin 0 -> 346134 bytes po/vi.po | 26934 ++++++++++++++ po/zh_CN.gmo | Bin 0 -> 346810 bytes po/zh_CN.po | 23925 +++++++++++++ po/zh_TW.gmo | Bin 0 -> 52794 bytes po/zh_TW.po | 27780 +++++++++++++++ schedutils/Makemodule.am | 20 + schedutils/chrt.1 | 173 + schedutils/chrt.c | 560 + schedutils/ionice.1 | 142 + schedutils/ionice.c | 267 + schedutils/taskset.1 | 136 + schedutils/taskset.c | 252 + sys-utils/Makemodule.am | 470 + sys-utils/adjtime_config.5 | 64 + sys-utils/blkdiscard.8 | 85 + sys-utils/blkdiscard.c | 254 + sys-utils/blkzone.8 | 109 + sys-utils/blkzone.c | 416 + sys-utils/chcpu.8 | 106 + sys-utils/chcpu.c | 389 + sys-utils/chmem.8 | 114 + sys-utils/chmem.c | 453 + sys-utils/choom.1 | 82 + sys-utils/choom.c | 159 + sys-utils/ctrlaltdel.8 | 58 + sys-utils/ctrlaltdel.c | 114 + sys-utils/dmesg.1 | 256 + sys-utils/dmesg.c | 1547 + sys-utils/eject.1 | 187 + sys-utils/eject.c | 1044 + sys-utils/fallocate.1 | 191 + sys-utils/fallocate.c | 412 + sys-utils/flock.1 | 197 + sys-utils/flock.c | 380 + sys-utils/fsfreeze.8 | 89 + sys-utils/fsfreeze.c | 152 + sys-utils/fstab.5 | 248 + sys-utils/fstrim.8 | 131 + sys-utils/fstrim.c | 417 + sys-utils/fstrim.service.in | 7 + sys-utils/fstrim.timer | 11 + sys-utils/hwclock-cmos.c | 420 + sys-utils/hwclock-rtc.c | 448 + sys-utils/hwclock.8 | 998 + sys-utils/hwclock.8.in | 998 + sys-utils/hwclock.c | 1551 + sys-utils/hwclock.h | 80 + sys-utils/ipcmk.1 | 54 + sys-utils/ipcmk.c | 163 + sys-utils/ipcrm.1 | 117 + sys-utils/ipcrm.c | 423 + sys-utils/ipcs.1 | 116 + sys-utils/ipcs.c | 668 + sys-utils/ipcutils.c | 533 + sys-utils/ipcutils.h | 187 + sys-utils/ldattach.8 | 155 + sys-utils/ldattach.c | 489 + sys-utils/losetup.8 | 208 + sys-utils/losetup.c | 917 + sys-utils/lscpu-arm.c | 252 + sys-utils/lscpu-dmi.c | 305 + sys-utils/lscpu.1 | 184 + sys-utils/lscpu.c | 2134 ++ sys-utils/lscpu.h | 194 + sys-utils/lsipc.1 | 139 + sys-utils/lsipc.c | 1338 + sys-utils/lsmem.1 | 99 + sys-utils/lsmem.c | 747 + sys-utils/lsns.8 | 93 + sys-utils/lsns.c | 1100 + sys-utils/mount.8 | 2589 ++ sys-utils/mount.c | 918 + sys-utils/mountpoint.1 | 58 + sys-utils/mountpoint.c | 203 + sys-utils/nsenter.1 | 269 + sys-utils/nsenter.c | 484 + sys-utils/pivot_root.8 | 75 + sys-utils/pivot_root.c | 80 + sys-utils/prlimit.1 | 120 + sys-utils/prlimit.c | 646 + sys-utils/readprofile.8 | 153 + sys-utils/readprofile.c | 407 + sys-utils/renice.1 | 119 + sys-utils/renice.c | 196 + sys-utils/rfkill.8 | 120 + sys-utils/rfkill.c | 751 + sys-utils/rtcwake.8 | 189 + sys-utils/rtcwake.8.in | 189 + sys-utils/rtcwake.c | 655 + sys-utils/setarch.8 | 143 + sys-utils/setarch.c | 446 + sys-utils/setpriv.1 | 222 + sys-utils/setpriv.c | 1096 + sys-utils/setsid.1 | 42 + sys-utils/setsid.c | 123 + sys-utils/swapoff.8 | 1 + sys-utils/swapoff.c | 253 + sys-utils/swapon-common.c | 117 + sys-utils/swapon-common.h | 25 + sys-utils/swapon.8 | 256 + sys-utils/swapon.c | 1017 + sys-utils/switch_root.8 | 61 + sys-utils/switch_root.c | 263 + sys-utils/tunelp.8 | 122 + sys-utils/tunelp.c | 321 + sys-utils/umount.8 | 267 + sys-utils/umount.c | 610 + sys-utils/unshare.1 | 266 + sys-utils/unshare.c | 484 + sys-utils/wdctl.8 | 70 + sys-utils/wdctl.c | 618 + sys-utils/zramctl.8 | 131 + sys-utils/zramctl.c | 765 + term-utils/Makemodule.am | 101 + term-utils/agetty.8 | 504 + term-utils/agetty.c | 2880 ++ term-utils/mesg.1 | 118 + term-utils/mesg.c | 173 + term-utils/script.1 | 205 + term-utils/script.c | 895 + term-utils/scriptreplay.1 | 111 + term-utils/scriptreplay.c | 236 + term-utils/setterm.1 | 287 + term-utils/setterm.c | 1184 + term-utils/ttymsg.c | 190 + term-utils/ttymsg.h | 2 + term-utils/wall.1 | 103 + term-utils/wall.c | 448 + term-utils/write.1 | 101 + term-utils/write.c | 368 + tests/Makemodule.am | 24 + tests/commands.sh | 106 + tests/expected/bitops/swapbytes | 21 + tests/expected/blkdiscard/offsets | 70 + tests/expected/blkid/dm-err | 4 + tests/expected/blkid/low-probe-adaptec-raid | 3 + tests/expected/blkid/low-probe-bcache-B | 4 + tests/expected/blkid/low-probe-bcache-C | 4 + tests/expected/blkid/low-probe-befs | 7 + tests/expected/blkid/low-probe-bfs | 2 + tests/expected/blkid/low-probe-cramfs | 4 + tests/expected/blkid/low-probe-ddf-raid | 5 + .../blkid/low-probe-drbdmanage-control-volume | 5 + tests/expected/blkid/low-probe-exfat | 7 + tests/expected/blkid/low-probe-ext2 | 7 + tests/expected/blkid/low-probe-ext3 | 8 + tests/expected/blkid/low-probe-f2fs | 7 + tests/expected/blkid/low-probe-fat | 10 + tests/expected/blkid/low-probe-fat16_noheads | 8 + tests/expected/blkid/low-probe-fat32_cp850_O_tilde | 9 + tests/expected/blkid/low-probe-fat32_label_64MB | 7 + .../expected/blkid/low-probe-fat32_mkdosfs_label1 | 9 + ...w-probe-fat32_mkdosfs_label1_dosfslabel_NO_NAME | 7 + ...low-probe-fat32_mkdosfs_label1_dosfslabel_empty | 5 + ...ow-probe-fat32_mkdosfs_label1_dosfslabel_label2 | 9 + .../low-probe-fat32_mkdosfs_label1_mlabel_NO_NAME | 7 + .../low-probe-fat32_mkdosfs_label1_mlabel_erase | 5 + .../blkid/low-probe-fat32_mkdosfs_label1_xp_erase | 7 + .../blkid/low-probe-fat32_mkdosfs_label1_xp_label2 | 9 + tests/expected/blkid/low-probe-fat32_mkdosfs_none | 5 + ...low-probe-fat32_mkdosfs_none_dosfslabel_NO_NAME | 5 + .../low-probe-fat32_mkdosfs_none_dosfslabel_label1 | 7 + ...-fat32_mkdosfs_none_dosfslabel_label1_xp_label2 | 9 + .../blkid/low-probe-fat32_mkdosfs_none_xp_label1 | 7 + ...-fat32_mkdosfs_none_xp_label1_dosfslabel_label2 | 9 + tests/expected/blkid/low-probe-fat32_xp_label1 | 7 + tests/expected/blkid/low-probe-fat32_xp_none | 5 + .../low-probe-fat32_xp_none_dosfslabel_label1 | 7 + .../blkid/low-probe-fat32_xp_none_mlabel_label1 | 9 + tests/expected/blkid/low-probe-gfs2 | 5 + tests/expected/blkid/low-probe-hfs | 4 + tests/expected/blkid/low-probe-hfsplus | 4 + tests/expected/blkid/low-probe-hpfs | 7 + tests/expected/blkid/low-probe-hpt37x-raid | 2 + tests/expected/blkid/low-probe-hpt45x-raid | 2 + tests/expected/blkid/low-probe-iso | 8 + tests/expected/blkid/low-probe-iso-joliet | 9 + tests/expected/blkid/low-probe-iso-rr-joliet | 9 + tests/expected/blkid/low-probe-isw-raid | 3 + tests/expected/blkid/low-probe-jbd | 6 + tests/expected/blkid/low-probe-jfs | 6 + tests/expected/blkid/low-probe-jmicron-raid | 3 + tests/expected/blkid/low-probe-lsi-raid | 2 + tests/expected/blkid/low-probe-luks1 | 5 + tests/expected/blkid/low-probe-luks2 | 8 + tests/expected/blkid/low-probe-lvm2 | 5 + tests/expected/blkid/low-probe-mdraid | 5 + tests/expected/blkid/low-probe-minix-BE | 3 + tests/expected/blkid/low-probe-minix-LE | 3 + tests/expected/blkid/low-probe-mpool | 6 + tests/expected/blkid/low-probe-netware | 5 + tests/expected/blkid/low-probe-nilfs2 | 7 + tests/expected/blkid/low-probe-ntfs | 6 + tests/expected/blkid/low-probe-nvidia-raid | 3 + tests/expected/blkid/low-probe-ocfs2 | 7 + tests/expected/blkid/low-probe-promise-raid | 2 + tests/expected/blkid/low-probe-reiser3 | 7 + tests/expected/blkid/low-probe-reiser4 | 7 + tests/expected/blkid/low-probe-romfs | 4 + tests/expected/blkid/low-probe-silicon-raid | 3 + tests/expected/blkid/low-probe-small-fat32 | 9 + tests/expected/blkid/low-probe-swap0 | 3 + tests/expected/blkid/low-probe-swap1 | 7 + tests/expected/blkid/low-probe-tuxonice | 5 + tests/expected/blkid/low-probe-ubi | 5 + tests/expected/blkid/low-probe-ubifs | 5 + tests/expected/blkid/low-probe-udf | 10 + tests/expected/blkid/low-probe-udf-bdr-2.60-nero | 10 + .../blkid/low-probe-udf-cd-mkudfiso-20100208 | 7 + tests/expected/blkid/low-probe-udf-cd-nero-6 | 10 + .../blkid/low-probe-udf-hdd-mkudffs-1.0.0-1 | 10 + .../blkid/low-probe-udf-hdd-mkudffs-1.0.0-2 | 10 + .../expected/blkid/low-probe-udf-hdd-mkudffs-1.3-1 | 10 + .../expected/blkid/low-probe-udf-hdd-mkudffs-1.3-2 | 10 + .../expected/blkid/low-probe-udf-hdd-mkudffs-1.3-3 | 10 + .../expected/blkid/low-probe-udf-hdd-mkudffs-1.3-4 | 10 + .../expected/blkid/low-probe-udf-hdd-mkudffs-1.3-5 | 10 + .../expected/blkid/low-probe-udf-hdd-mkudffs-1.3-6 | 10 + .../expected/blkid/low-probe-udf-hdd-mkudffs-1.3-7 | 10 + .../expected/blkid/low-probe-udf-hdd-mkudffs-1.3-8 | 10 + .../blkid/low-probe-udf-hdd-udfclient-0.7.5 | 10 + .../blkid/low-probe-udf-hdd-udfclient-0.7.7 | 10 + tests/expected/blkid/low-probe-udf-hdd-win7 | 10 + tests/expected/blkid/low-probe-ufs | 5 + tests/expected/blkid/low-probe-vdo | 4 + tests/expected/blkid/low-probe-via-raid | 3 + tests/expected/blkid/low-probe-vmfs | 7 + tests/expected/blkid/low-probe-vmfs_volume | 7 + tests/expected/blkid/low-probe-xfs | 6 + tests/expected/blkid/low-probe-xfs-log | 3 + tests/expected/blkid/low-probe-zfs | 9 + tests/expected/blkid/lowprobe-pt-atari-icd | 8 + tests/expected/blkid/lowprobe-pt-atari-xgm | 8 + tests/expected/blkid/lowprobe-pt-bsd | 4 + tests/expected/blkid/lowprobe-pt-dos+bsd | 6 + tests/expected/blkid/lowprobe-pt-gpt | 7 + tests/expected/blkid/lowprobe-pt-sgi | 6 + tests/expected/blkid/lowprobe-pt-sun | 4 + tests/expected/blkid/mbr-wholedisk-fake-vfat | 2 + tests/expected/blkid/md-raid0-whole | 52 + tests/expected/blkid/md-raid1-part | 67 + tests/expected/blkid/md-raid1-whole | 52 + tests/expected/build-sys/config-all | 119 + tests/expected/build-sys/config-all-devel | 115 + tests/expected/build-sys/config-all-non-nls | 119 + tests/expected/build-sys/config-audit | 113 + tests/expected/build-sys/config-chfnsh-libuser | 113 + tests/expected/build-sys/config-chfnsh-no-password | 113 + tests/expected/build-sys/config-chfnsh-pam | 113 + tests/expected/build-sys/config-core | 113 + tests/expected/build-sys/config-devel | 119 + tests/expected/build-sys/config-devel-new-mount | 122 + tests/expected/build-sys/config-devel-non-docs | 119 + tests/expected/build-sys/config-disable-all | 0 tests/expected/build-sys/config-enable-schedutils | 3 + tests/expected/build-sys/config-non-libblkid | 90 + tests/expected/build-sys/config-non-libmount | 99 + tests/expected/build-sys/config-non-libs | 70 + tests/expected/build-sys/config-non-libsmartcols | 86 + tests/expected/build-sys/config-non-libuuid | 105 + tests/expected/build-sys/config-non-nls | 113 + tests/expected/build-sys/config-non-widechar | 0 tests/expected/build-sys/config-selinux | 113 + tests/expected/build-sys/config-slang | 113 + tests/expected/build-sys/config-static | 121 + tests/expected/cal/bigyear-1m-month | 9 + tests/expected/cal/bigyear-1m-year | 9 + tests/expected/cal/bigyear-1mj-month | 9 + tests/expected/cal/bigyear-1mj-year | 9 + tests/expected/cal/bigyear-1mjw-month | 9 + tests/expected/cal/bigyear-1mjw-year | 9 + tests/expected/cal/bigyear-1mw-month | 9 + tests/expected/cal/bigyear-1mw-year | 9 + tests/expected/cal/bigyear-1s-month | 9 + tests/expected/cal/bigyear-1s-year | 9 + tests/expected/cal/bigyear-1sj-month | 9 + tests/expected/cal/bigyear-1sj-year | 9 + tests/expected/cal/bigyear-1sjw-month | 9 + tests/expected/cal/bigyear-1sjw-year | 9 + tests/expected/cal/bigyear-1sw-month | 9 + tests/expected/cal/bigyear-1sw-year | 9 + tests/expected/cal/bigyear-3m-month | 9 + tests/expected/cal/bigyear-3mj-month | 9 + tests/expected/cal/bigyear-3mjw-month | 9 + tests/expected/cal/bigyear-3mw-month | 9 + tests/expected/cal/bigyear-3s-month | 9 + tests/expected/cal/bigyear-3sj-month | 9 + tests/expected/cal/bigyear-3sjw-month | 9 + tests/expected/cal/bigyear-3sw-month | 9 + tests/expected/cal/color | 55 + tests/expected/cal/colorw | 55 + tests/expected/cal/jan1753-3w | 9 + tests/expected/cal/jan1753-m3w | 9 + tests/expected/cal/month-1m | 9 + tests/expected/cal/month-1mj | 9 + tests/expected/cal/month-1mjw | 9 + tests/expected/cal/month-1mw | 9 + tests/expected/cal/month-1s | 9 + tests/expected/cal/month-1sj | 9 + tests/expected/cal/month-1sjw | 9 + tests/expected/cal/month-1sw | 9 + tests/expected/cal/month-3m | 9 + tests/expected/cal/month-3mj | 9 + tests/expected/cal/month-3mjw | 9 + tests/expected/cal/month-3mw | 9 + tests/expected/cal/month-3s | 9 + tests/expected/cal/month-3sj | 9 + tests/expected/cal/month-3sjw | 9 + tests/expected/cal/month-3sw | 9 + tests/expected/cal/month-Sn201 | 537 + tests/expected/cal/month-Sn21 | 57 + tests/expected/cal/month-Sn3 | 9 + tests/expected/cal/month-Sn51 | 137 + tests/expected/cal/sep1752-1m-month | 9 + tests/expected/cal/sep1752-1m-year | 9 + tests/expected/cal/sep1752-1mj-month | 9 + tests/expected/cal/sep1752-1mj-year | 9 + tests/expected/cal/sep1752-1mjw-month | 9 + tests/expected/cal/sep1752-1mjw-year | 9 + tests/expected/cal/sep1752-1mw-month | 9 + tests/expected/cal/sep1752-1mw-year | 9 + tests/expected/cal/sep1752-1s-month | 9 + tests/expected/cal/sep1752-1s-year | 9 + tests/expected/cal/sep1752-1sj-month | 9 + tests/expected/cal/sep1752-1sj-year | 9 + tests/expected/cal/sep1752-1sjw-month | 9 + tests/expected/cal/sep1752-1sjw-year | 9 + tests/expected/cal/sep1752-1sw-month | 9 + tests/expected/cal/sep1752-1sw-year | 9 + tests/expected/cal/sep1752-3m-month | 9 + tests/expected/cal/sep1752-3mj-month | 9 + tests/expected/cal/sep1752-3mjw-month | 9 + tests/expected/cal/sep1752-3mw-month | 9 + tests/expected/cal/sep1752-3s-month | 9 + tests/expected/cal/sep1752-3sj-month | 9 + tests/expected/cal/sep1752-3sjw-month | 9 + tests/expected/cal/sep1752-3sw-month | 9 + tests/expected/cal/sep1752-week-iso | 9 + tests/expected/cal/weekarg-1m-week53 | 9 + tests/expected/cal/weekarg-1m-week53-color | 9 + tests/expected/cal/weekarg-1mj-week53 | 9 + tests/expected/cal/weekarg-1mj-week53-color | 9 + tests/expected/cal/weekarg-3m-week40 | 9 + tests/expected/cal/weekarg-3m-week40-color | 9 + tests/expected/cal/weekarg-3m-week52-color | 9 + tests/expected/cal/weekarg-3m-week53-color | 9 + tests/expected/cal/weekarg-3mj-week40 | 9 + tests/expected/cal/weekarg-3mj-week40-color | 9 + tests/expected/cal/weekarg-3s-week40 | 9 + tests/expected/cal/weekarg-3s-week54-color | 9 + tests/expected/cal/weekarg-3sj-week40 | 9 + tests/expected/cal/weekarg-m-week40 | 9 + tests/expected/cal/weekarg-mj-week40 | 9 + tests/expected/cal/weekarg-s-week40 | 9 + tests/expected/cal/weekarg-sj-week40 | 9 + tests/expected/cal/weeknum | 0 tests/expected/cal/weeknum-3mjw | 57 + tests/expected/cal/weeknum-3mw | 57 + tests/expected/cal/weeknum-3sjw | 57 + tests/expected/cal/weeknum-3sw | 57 + tests/expected/cal/weeknum-ymjw | 239 + tests/expected/cal/weeknum-ymw | 239 + tests/expected/cal/weeknum-ysjw | 239 + tests/expected/cal/weeknum-ysw | 239 + tests/expected/cal/year-ym | 35 + tests/expected/cal/year-ymj | 35 + tests/expected/cal/year-ymjw | 35 + tests/expected/cal/year-ymw | 35 + tests/expected/cal/year-ys | 35 + tests/expected/cal/year-ysj | 35 + tests/expected/cal/year-ysjw | 35 + tests/expected/cal/year-ysw | 35 + tests/expected/col/multibyte | 1 + tests/expected/colcrt/functional-half-lines | 89 + tests/expected/colcrt/functional-no-options | 74 + tests/expected/colcrt/functional-no-underlining | 44 + tests/expected/colcrt/functional-short-options | 89 + tests/expected/colcrt/regressions-crash1 | 2 + tests/expected/colcrt/regressions-crash2 | 10 + tests/expected/colcrt/regressions-hang1 | 3 + tests/expected/colrm/rm2-2 | 3 + tests/expected/column/columnate | 0 tests/expected/column/columnate-fill-cols-250 | 1 + tests/expected/column/columnate-fill-cols-50 | 5 + tests/expected/column/columnate-fill-cols-80 | 3 + tests/expected/column/columnate-fill-rows-250 | 1 + tests/expected/column/columnate-fill-rows-50 | 5 + tests/expected/column/columnate-fill-rows-80 | 3 + tests/expected/column/invalid-multibyte | 1 + tests/expected/column/multi-file | 10 + tests/expected/column/separator_table | 10 + tests/expected/column/table | 0 tests/expected/column/table-default | 6 + tests/expected/column/table-empty-column | 1 + tests/expected/column/table-empty-lines | 6 + tests/expected/column/table-headers | 42 + tests/expected/column/table-hide | 41 + tests/expected/column/table-input-separator | 6 + tests/expected/column/table-input-separator-space | 6 + tests/expected/column/table-long | 41 + tests/expected/column/table-noempty-lines | 4 + tests/expected/column/table-order | 42 + tests/expected/column/table-output-separator | 6 + tests/expected/column/table-right | 42 + tests/expected/column/table-tree | 42 + tests/expected/column/table-truncate | 42 + tests/expected/column/table-wrap | 56 + tests/expected/cramfs/doubles | 3 + tests/expected/cramfs/fsck-bad-header-nopad-4K-be | 29 + tests/expected/cramfs/fsck-bad-header-nopad-4K-le | 29 + tests/expected/cramfs/fsck-bad-header-pad-4K-be | 29 + tests/expected/cramfs/fsck-bad-header-pad-4K-le | 29 + tests/expected/cramfs/fsck-bad-header-pad-64K-be | 29 + tests/expected/cramfs/fsck-bad-header-pad-64K-le | 29 + tests/expected/cramfs/fsck-endianness | 8 + tests/expected/cramfs/mkfs | 4124 +++ tests/expected/cramfs/mkfs-endianness | 80 + tests/expected/dmesg/colors | 105 + tests/expected/dmesg/console-levels | 104 + tests/expected/dmesg/decode | 105 + tests/expected/dmesg/delta | 105 + tests/expected/dmesg/facilities | 96 + tests/expected/dmesg/indentation | 35 + tests/expected/eject/umount-by-disk | 1 + tests/expected/eject/umount-by-disk-mounted | 1 + .../eject/umount-by-disk-mounted-partition | 2 + tests/expected/eject/umount-by-partition | 2 + tests/expected/eject/umount-by-partition-mounted | 2 + tests/expected/fdisk/align-512-4K | 79 + tests/expected/fdisk/align-512-4K-63 | 80 + tests/expected/fdisk/align-512-4K-md | 79 + tests/expected/fdisk/align-512-512 | 67 + tests/expected/fdisk/align-512-512-topology | 79 + tests/expected/fdisk/bsd_0_64.BE | 213 + tests/expected/fdisk/bsd_0_64.LE | 213 + tests/expected/fdisk/bsd_0_64_alpha.LE | 217 + tests/expected/fdisk/bsd_1_0.BE | 213 + tests/expected/fdisk/bsd_1_0.LE | 213 + tests/expected/fdisk/gpt | 138 + tests/expected/fdisk/gpt-resize | 54 + tests/expected/fdisk/id | 5 + tests/expected/fdisk/id.sparc | 3 + tests/expected/fdisk/mbr-dos-mode | 189 + tests/expected/fdisk/mbr-nondos-mode | 203 + tests/expected/fdisk/mbr-nondos-mode.sparc | 189 + tests/expected/fdisk/mbr-sort | 75 + tests/expected/fdisk/oddinput | 11 + tests/expected/fdisk/oddinput.toosmall | 1 + tests/expected/fdisk/sunlabel | 80 + tests/expected/fincore/count.4096 | 55 + tests/expected/fincore/count.65536 | 55 + tests/expected/fincore/count.nosize | 55 + tests/expected/findmnt/filter-options | 32 + tests/expected/findmnt/filter-options-name | 7 + tests/expected/findmnt/filter-options-nameval | 3 + .../expected/findmnt/filter-options-nameval-multi | 3 + tests/expected/findmnt/filter-options-nameval-neg | 34 + tests/expected/findmnt/filter-options-neg | 5 + tests/expected/findmnt/filter-options-no | 5 + tests/expected/findmnt/filter-options-no-multi | 3 + tests/expected/findmnt/filter-types | 4 + tests/expected/findmnt/filter-types-multi | 5 + tests/expected/findmnt/filter-types-neg | 32 + tests/expected/findmnt/outputs-default | 35 + tests/expected/findmnt/outputs-force-tree | 35 + tests/expected/findmnt/outputs-kernel | 35 + tests/expected/findmnt/outputs-messy-mountinfo | 31 + tests/expected/findmnt/outputs-submounts | 17 + tests/expected/findmnt/target-non-root | 1 + tests/expected/findmnt/target-root | 3 + tests/expected/fsck/ismounted | 1 + tests/expected/getopt/basic | 9 + .../getopt/options-alternative_option_clash | 2 + .../getopt/options-alternative_option_long | 2 + .../getopt/options-alternative_option_short | 2 + tests/expected/getopt/options-compatible | 5 + tests/expected/getopt/options-csh | 2 + .../expected/getopt/options-invalid_getopt_option | 3 + tests/expected/getopt/options-invocation_model_one | 2 + .../getopt/options-invocation_model_three_as_one | 2 + .../getopt/options-invocation_model_two_as_one | 2 + .../getopt/options-invocation_without_parameters | 3 + .../getopt/options-long_option_ambiguous_1 | 3 + tests/expected/getopt/options-longopts | 2 + tests/expected/getopt/options-name_option_long | 4 + tests/expected/getopt/options-name_option_short | 4 + tests/expected/getopt/options-no-arguments | 3 + tests/expected/getopt/options-non-option | 4 + tests/expected/getopt/options-posix_correctly | 4 + tests/expected/getopt/options-quiet_option_long | 2 + tests/expected/getopt/options-quiet_option_short | 2 + .../getopt/options-quiet_output_option_long | 5 + .../getopt/options-quiet_output_option_short | 5 + .../getopt/options-same_long_short_options | 2 + tests/expected/getopt/options-sh | 2 + .../getopt/options-test_for_enhanced_getopt | 1 + tests/expected/getopt/options-unknown_options | 4 + tests/expected/getopt/options-unquoted_option_bash | 5 + tests/expected/getopt/options-unquoted_option_tcsh | 5 + tests/expected/getopt/options-weird_quoting_bash | 5 + tests/expected/getopt/options-weird_quoting_tcsh | 2 + tests/expected/hexdump/format-strings-1b_char | 41 + tests/expected/hexdump/format-strings-1b_octal | 41 + tests/expected/hexdump/format-strings-2b_dec | 41 + tests/expected/hexdump/format-strings-2b_dec.BE | 41 + tests/expected/hexdump/format-strings-2b_hex | 41 + tests/expected/hexdump/format-strings-2b_hex.BE | 41 + tests/expected/hexdump/format-strings-2b_octal | 41 + tests/expected/hexdump/format-strings-2b_octal.BE | 41 + tests/expected/hexdump/format-strings-canon | 41 + tests/expected/hexdump/format-strings-empty-format | 1 + .../hexdump/format-strings-empty-format.BE | 1 + tests/expected/hexdump/highlighting-1b_char-1 | 41 + tests/expected/hexdump/highlighting-1b_char-2 | 41 + tests/expected/hexdump/highlighting-1b_char-3 | 41 + tests/expected/hexdump/highlighting-1b_octal-1 | 41 + tests/expected/hexdump/highlighting-1b_octal-2 | 41 + tests/expected/hexdump/highlighting-1b_octal-2.BE | 41 + tests/expected/hexdump/highlighting-1b_octal-3 | 41 + tests/expected/hexdump/highlighting-1b_octal-4 | 41 + tests/expected/hexdump/highlighting-1b_octal-4.BE | 41 + tests/expected/hexdump/highlighting-1b_octal-5 | 41 + tests/expected/hexdump/highlighting-1b_octal-5.BE | 41 + tests/expected/hexdump/highlighting-1b_octal-6 | 41 + tests/expected/hexdump/highlighting-1b_octal-7 | 41 + tests/expected/hexdump/highlighting-1b_octal-7.BE | 41 + tests/expected/hexdump/highlighting-1b_octal-8 | 41 + tests/expected/hexdump/highlighting-1b_octal-8.BE | 41 + tests/expected/hexdump/highlighting-1b_octal-9 | 41 + tests/expected/hexdump/highlighting-1b_octal-9.BE | 41 + tests/expected/hexdump/highlighting-2b_dec-1 | 41 + tests/expected/hexdump/highlighting-2b_dec-1.BE | 41 + tests/expected/hexdump/highlighting-2b_dec-2 | 41 + tests/expected/hexdump/highlighting-2b_dec-2.BE | 41 + tests/expected/hexdump/highlighting-2b_dec-3 | 41 + tests/expected/hexdump/highlighting-2b_dec-3.BE | 41 + tests/expected/hexdump/highlighting-2b_dec-4 | 41 + tests/expected/hexdump/highlighting-2b_dec-4.BE | 41 + tests/expected/hexdump/highlighting-2b_dec-5 | 41 + tests/expected/hexdump/highlighting-2b_dec-5.BE | 41 + tests/expected/hexdump/highlighting-2b_dec-6 | 1 + tests/expected/hexdump/highlighting-2b_dec-7 | 1 + tests/expected/hexdump/highlighting-2b_dec-8 | 41 + tests/expected/hexdump/highlighting-2b_dec-8.BE | 41 + tests/expected/hexdump/highlighting-4b_dec-1 | 21 + tests/expected/hexdump/highlighting-4b_dec-1.BE | 21 + tests/expected/hexdump/highlighting-4b_dec-2 | 21 + tests/expected/hexdump/highlighting-4b_dec-2.BE | 21 + tests/expected/hexdump/highlighting-4b_dec-3 | 2 + tests/expected/hexdump/highlighting-4b_dec-3.BE | 2 + tests/expected/hexdump/highlighting-4b_dec-4 | 2 + tests/expected/hexdump/highlighting-4b_dec-4.BE | 2 + tests/expected/hexdump/highlighting-4b_dec-5 | 1 + tests/expected/hexdump/highlighting-4b_dec-6 | 2 + tests/expected/hexdump/highlighting-4b_dec-6.BE | 2 + tests/expected/hexdump/highlighting-4b_dec-7 | 2 + tests/expected/hexdump/highlighting-4b_dec-7.BE | 2 + tests/expected/hexdump/highlighting-canon-1 | 41 + tests/expected/hexdump/highlighting-canon-1.BE | 41 + tests/expected/hexdump/highlighting-canon-2 | 41 + tests/expected/ipcs/headers | 64 + tests/expected/ipcs/limits | 7 + tests/expected/ipcs/limits2 | 4 + tests/expected/ipcs/mk-rm-msg | 3 + tests/expected/ipcs/mk-rm-sem | 4 + tests/expected/ipcs/mk-rm-shm | 4 + tests/expected/isosize/print-size-default_output | 1 + tests/expected/isosize/print-size-divisor_output | 1 + tests/expected/isosize/print-size-sector_output | 1 + tests/expected/kill/all_processes | 5 + tests/expected/kill/name_to_number | 1 + tests/expected/kill/options | 1 + tests/expected/kill/print_pid | 1 + tests/expected/kill/queue | 1 + tests/expected/libfdisk/gpt-all-defaults | 24 + tests/expected/libfdisk/gpt-all-defaults-with-typo | 24 + tests/expected/libfdisk/gpt-getattr | 2 + tests/expected/libfdisk/gpt-setattr | 2 + tests/expected/libfdisk/mkpart | 0 tests/expected/libfdisk/mkpart-full | 0 tests/expected/libfdisk/mkpart-full-gpt | 30 + .../expected/libfdisk/mkpart-full-gpt-err-overlap | 14 + tests/expected/libfdisk/mkpart-full-gpt-nopartno | 30 + tests/expected/libfdisk/mkpart-full-gpt-partno-gap | 30 + tests/expected/libfdisk/mkpart-full-gpt-space-gap | 24 + .../expected/libfdisk/mkpart-full-mbr-err-logical | 18 + .../expected/libfdisk/mkpart-full-mbr-err-nospace | 12 + .../expected/libfdisk/mkpart-full-mbr-err-primary | 12 + tests/expected/libfdisk/mkpart-full-mbr-logical | 33 + tests/expected/libfdisk/mkpart-full-mbr-nopartno | 33 + tests/expected/libfdisk/mkpart-full-mbr-partno-gap | 26 + tests/expected/libfdisk/mkpart-full-mbr-primary | 21 + .../libfdisk/mkpart-full-mbr-primary-nopartno | 21 + tests/expected/libfdisk/mkpart-full-mbr-space-gap | 18 + tests/expected/libfdisk/mkpart-gpt | 23 + tests/expected/libfdisk/mkpart-mbr | 17 + tests/expected/libfdisk/mkpart-mbr-logic | 26 + tests/expected/libfdisk/mkpart-mbr-nopartno | 26 + tests/expected/libmount/context | 5 + tests/expected/libmount/context-X-mount.mkdir | 1 + tests/expected/libmount/context-mount-by-devname | 1 + tests/expected/libmount/context-mount-by-label | 1 + tests/expected/libmount/context-mount-by-uuid | 2 + tests/expected/libmount/context-mount-flags | 5 + tests/expected/libmount/context-mount-loopdev | 2 + tests/expected/libmount/context-py | 5 + .../expected/libmount/context-py-mount-by-devname | 1 + tests/expected/libmount/context-py-mount-by-label | 1 + tests/expected/libmount/context-py-mount-by-uuid | 2 + tests/expected/libmount/context-py-mount-flags | 5 + tests/expected/libmount/context-py-mount-loopdev | 2 + .../expected/libmount/context-py-umount-by-devname | 1 + .../libmount/context-py-umount-by-mountpoint | 1 + tests/expected/libmount/context-py-x-mount.mkdir | 1 + tests/expected/libmount/context-umount-by-devname | 1 + .../expected/libmount/context-umount-by-mountpoint | 1 + tests/expected/libmount/context-utab | 4 + .../libmount/context-utab-mount-by-devname | 1 + tests/expected/libmount/context-utab-mount-uhelper | 1 + .../libmount/context-utab-mount-uhelper-subvol | 1 + tests/expected/libmount/context-utab-py | 4 + .../libmount/context-utab-py-mount-by-devname | 1 + .../libmount/context-utab-py-mount-uhelper | 1 + .../libmount/context-utab-py-mount-uhelper-subvol | 1 + tests/expected/libmount/context-utab-py-umount | 1 + .../libmount/context-utab-py-umount-by-devname | 1 + .../libmount/context-utab-py-umount-subvol | 1 + tests/expected/libmount/context-utab-umount | 1 + .../libmount/context-utab-umount-by-devname | 1 + tests/expected/libmount/context-utab-umount-subvol | 1 + tests/expected/libmount/context-x-mount.mkdir | 1 + tests/expected/libmount/debug-set-from-code | 1 + tests/expected/libmount/debug-set-from-env-int | 1 + tests/expected/libmount/debug-set-from-env-str | 1 + tests/expected/libmount/lock | 1 + tests/expected/libmount/loop | 1 + tests/expected/libmount/loop-conflict | 2 + tests/expected/libmount/loop-dev-loop | 1 + tests/expected/libmount/loop-file | 1 + tests/expected/libmount/loop-file-o-loop | 1 + tests/expected/libmount/loop-o-loop-val | 1 + tests/expected/libmount/loop-o-loop-val-conflict | 2 + .../expected/libmount/loop-o-loop-val-initialized | 2 + tests/expected/libmount/loop-overlay | 7 + tests/expected/libmount/loop-reuse | 1 + tests/expected/libmount/optstr-append | 1 + tests/expected/libmount/optstr-append-empty-value | 1 + tests/expected/libmount/optstr-append-value | 1 + tests/expected/libmount/optstr-apply-linux | 2 + tests/expected/libmount/optstr-apply-user | 2 + tests/expected/libmount/optstr-deduplicate | 1 + tests/expected/libmount/optstr-deduplicate-empty | 1 + tests/expected/libmount/optstr-fix | 2 + tests/expected/libmount/optstr-flags | 2 + tests/expected/libmount/optstr-get | 1 + tests/expected/libmount/optstr-get-value | 1 + tests/expected/libmount/optstr-prepend | 1 + tests/expected/libmount/optstr-prepend-empty-value | 1 + tests/expected/libmount/optstr-prepend-value | 1 + tests/expected/libmount/optstr-remove | 1 + tests/expected/libmount/optstr-remove-empty-value | 1 + tests/expected/libmount/optstr-remove-quoted | 1 + tests/expected/libmount/optstr-remove-value | 1 + tests/expected/libmount/optstr-set-empty | 1 + tests/expected/libmount/optstr-set-large | 1 + tests/expected/libmount/optstr-set-new | 1 + tests/expected/libmount/optstr-set-new-empty | 1 + tests/expected/libmount/optstr-set-new-end | 1 + tests/expected/libmount/optstr-set-new-end-empty | 1 + tests/expected/libmount/optstr-set-remove | 1 + tests/expected/libmount/optstr-set-small | 1 + tests/expected/libmount/optstr-split | 3 + tests/expected/libmount/tabdiff-mount | 2 + tests/expected/libmount/tabdiff-move | 2 + tests/expected/libmount/tabdiff-remount | 3 + tests/expected/libmount/tabdiff-umount | 2 + tests/expected/libmount/tabfiles-copy | 18 + tests/expected/libmount/tabfiles-find-pair | 6 + tests/expected/libmount/tabfiles-find-source | 8 + tests/expected/libmount/tabfiles-find-target | 6 + tests/expected/libmount/tabfiles-find-target2 | 5 + tests/expected/libmount/tabfiles-find-target3 | 5 + tests/expected/libmount/tabfiles-parse-fstab | 65 + .../expected/libmount/tabfiles-parse-fstab-broken | 63 + tests/expected/libmount/tabfiles-parse-fstab-full | 83 + tests/expected/libmount/tabfiles-parse-mountinfo | 363 + .../libmount/tabfiles-parse-mountinfo-nosrc | 78 + tests/expected/libmount/tabfiles-parse-mtab | 75 + tests/expected/libmount/tabfiles-parse-swaps | 22 + tests/expected/libmount/tabfiles-py-copy | 18 + tests/expected/libmount/tabfiles-py-find-pair | 6 + tests/expected/libmount/tabfiles-py-find-source | 8 + tests/expected/libmount/tabfiles-py-find-target | 6 + tests/expected/libmount/tabfiles-py-find-target2 | 5 + tests/expected/libmount/tabfiles-py-find-target3 | 5 + tests/expected/libmount/tabfiles-py-parse-fstab | 65 + .../libmount/tabfiles-py-parse-fstab-broken | 63 + .../expected/libmount/tabfiles-py-parse-fstab-full | 83 + .../expected/libmount/tabfiles-py-parse-mountinfo | 363 + tests/expected/libmount/tabfiles-py-parse-mtab | 75 + tests/expected/libmount/tabfiles-tags-fstab-dev | 5 + .../libmount/tabfiles-tags-fstab-dev2label | 5 + tests/expected/libmount/tabfiles-tags-fstab-label | 5 + .../libmount/tabfiles-tags-fstab-label2dev | 5 + .../libmount/tabfiles-tags-fstab-label2uuid | 5 + tests/expected/libmount/tabfiles-tags-fstab-uuid | 5 + tests/expected/libmount/tabfiles-tags-py-fstab-dev | 5 + .../libmount/tabfiles-tags-py-fstab-dev2label | 5 + .../expected/libmount/tabfiles-tags-py-fstab-label | 5 + .../libmount/tabfiles-tags-py-fstab-label2dev | 5 + .../libmount/tabfiles-tags-py-fstab-label2uuid | 5 + .../expected/libmount/tabfiles-tags-py-fstab-uuid | 5 + tests/expected/libmount/update-fstab-add | 3 + tests/expected/libmount/update-fstab-replace | 24 + tests/expected/libmount/update-mtab-mount | 5 + tests/expected/libmount/update-mtab-move | 5 + tests/expected/libmount/update-mtab-remount | 5 + tests/expected/libmount/update-mtab-umount | 2 + tests/expected/libmount/update-py-fstab-replace | 24 + tests/expected/libmount/update-utab-mount | 3 + tests/expected/libmount/update-utab-move | 3 + tests/expected/libmount/update-utab-remount | 3 + tests/expected/libmount/update-utab-umount | 1 + tests/expected/libmount/utils-ends-with | 1 + tests/expected/libmount/utils-kernel-cmdline | 5 + tests/expected/libmount/utils-match-fstype | 1 + tests/expected/libmount/utils-match-fstype-neg | 1 + tests/expected/libmount/utils-match-fstype-neg2 | 1 + tests/expected/libmount/utils-match-options | 1 + tests/expected/libmount/utils-match-options-list | 1 + tests/expected/libmount/utils-match-options-neg | 1 + .../expected/libmount/utils-match-options-neg-list | 1 + .../libmount/utils-match-options-neg-list2 | 1 + tests/expected/libmount/utils-mountpoint | 1 + tests/expected/libmount/utils-mountpoint-root | 1 + tests/expected/libmount/utils-mountpoint-subdir | 1 + tests/expected/libmount/utils-starts-with | 1 + tests/expected/libsmartcols/fromfile | 1 + .../libsmartcols/fromfile-column-separator | 11 + tests/expected/libsmartcols/fromfile-export | 10 + tests/expected/libsmartcols/fromfile-hidden | 11 + tests/expected/libsmartcols/fromfile-noextremes | 12 + tests/expected/libsmartcols/fromfile-raw | 11 + tests/expected/libsmartcols/fromfile-right | 11 + tests/expected/libsmartcols/fromfile-right-maxout | 11 + tests/expected/libsmartcols/fromfile-strictwidth | 11 + tests/expected/libsmartcols/fromfile-tree | 11 + tests/expected/libsmartcols/fromfile-tree-end | 11 + tests/expected/libsmartcols/fromfile-tree-json | 29 + tests/expected/libsmartcols/fromfile-tree-middle | 11 + tests/expected/libsmartcols/fromfile-trunc | 11 + tests/expected/libsmartcols/fromfile-wrap | 17 + tests/expected/libsmartcols/fromfile-wrap-tree | 18 + tests/expected/libsmartcols/fromfile-wrapnl | 19 + tests/expected/libsmartcols/fromfile-wrapnl-tree | 19 + tests/expected/libsmartcols/title | 16 + tests/expected/logger/errors-check_socket | 41 + tests/expected/logger/errors-id_with_space | 10 + tests/expected/logger/errors-invalid_prio | 2 + tests/expected/logger/errors-invalid_socket | 2 + tests/expected/logger/errors-kern_priority | 2 + tests/expected/logger/errors-kern_priority_numeric | 2 + tests/expected/logger/errors-multi-line | 4 + tests/expected/logger/errors-rfc5424_exceed_size | 2 + .../logger/errors-rfc5424_msgid_with_space | 2 + tests/expected/logger/errors-tag_with_space | 4 + tests/expected/logger/errors-tcp | 2 + tests/expected/logger/formats-check_socket | 1 + tests/expected/logger/formats-octet_counting | 2 + tests/expected/logger/formats-priorities | 304 + tests/expected/logger/formats-rfc3164 | 2 + tests/expected/logger/formats-rfc5424_msgid | 2 + tests/expected/logger/formats-rfc5424_nohost | 2 + tests/expected/logger/formats-rfc5424_notime | 2 + tests/expected/logger/formats-rfc5424_simple | 2 + tests/expected/logger/input_empty_line | 3 + tests/expected/logger/input_prio_prefix | 1 + tests/expected/logger/input_simple | 1 + tests/expected/logger/journald | 3 + tests/expected/logger/options-check_socket | 1 + .../expected/logger/options-input_file_empty_line | 4 + .../expected/logger/options-input_file_prio_prefix | 2 + tests/expected/logger/options-input_file_simple | 2 + .../expected/logger/options-input_file_skip_empty | 3 + tests/expected/logger/options-log_pid | 2 + tests/expected/logger/options-log_pid_define | 2 + tests/expected/logger/options-log_pid_long | 2 + tests/expected/logger/options-log_pid_no_arg | 2 + tests/expected/logger/options-simple | 2 + tests/expected/login/islocal | 13 + tests/expected/login/logindefs | 14 + tests/expected/look/separator | 1 + tests/expected/losetup/losetup-blkdev-offset | 3 + tests/expected/losetup/losetup-blkdev-section | 3 + tests/expected/losetup/losetup-blkdev-show | 3 + tests/expected/losetup/losetup-blkdev-sizelimit | 3 + tests/expected/losetup/losetup-file-offset | 3 + tests/expected/losetup/losetup-file-section | 3 + tests/expected/losetup/losetup-file-secton | 3 + tests/expected/losetup/losetup-file-show | 3 + tests/expected/losetup/losetup-file-sizelimit | 3 + tests/expected/losetup/losetup-loop | 1 + tests/expected/losetup/losetup-loop-find-conflict | 3 + .../losetup-loop-find-conflict-no-sizelimit | 3 + .../losetup/losetup-loop-find-conflict-readonly | 3 + tests/expected/losetup/losetup-loop-find-no-re-use | 2 + .../losetup/losetup-loop-find-ok-no-sizelimit | 2 + .../losetup/losetup-loop-find-race-condition | 2 + tests/expected/losetup/losetup-loop-find-re-use | 2 + tests/expected/losetup/losetup-loop-plain-conflict | 2 + tests/expected/losetup/losetup-loop-plain-re-use | 2 + tests/expected/losetup/losetup-loop-plain-readonly | 2 + tests/expected/lsblk/lsblk-simple-lvm-basic | 22 + tests/expected/lsblk/lsblk-simple-lvm-discard | 22 + tests/expected/lsblk/lsblk-simple-lvm-rw | 22 + tests/expected/lsblk/lsblk-simple-lvm-state | 22 + tests/expected/lsblk/lsblk-simple-lvm-topo | 22 + tests/expected/lsblk/lsblk-simple-lvm-vendor | 22 + tests/expected/lsblk/lsblk-simple-lvm-zone | 22 + tests/expected/lsblk/lsblk-simple-nvme-basic | 14 + tests/expected/lsblk/lsblk-simple-nvme-discard | 14 + tests/expected/lsblk/lsblk-simple-nvme-rw | 14 + tests/expected/lsblk/lsblk-simple-nvme-state | 14 + tests/expected/lsblk/lsblk-simple-nvme-topo | 14 + tests/expected/lsblk/lsblk-simple-nvme-vendor | 14 + tests/expected/lsblk/lsblk-simple-nvme-zone | 14 + tests/expected/lscpu/lscpu-armv7 | 27 + tests/expected/lscpu/lscpu-ppc-qemu | 22 + tests/expected/lscpu/lscpu-ppc64-POWER7 | 53 + tests/expected/lscpu/lscpu-ppc64-POWER7-64cpu | 152 + tests/expected/lscpu/lscpu-s390-kvm | 31 + tests/expected/lscpu/lscpu-s390-lpar | 60 + tests/expected/lscpu/lscpu-s390-lpar-drawer | 52 + tests/expected/lscpu/lscpu-s390-zvm | 33 + tests/expected/lscpu/lscpu-sparc64 | 30 + tests/expected/lscpu/lscpu-vbox-win | 38 + tests/expected/lscpu/lscpu-x86_64-64cpu | 164 + tests/expected/lscpu/lscpu-x86_64-dell_e4310 | 42 + tests/expected/lsmem/lsmem-s390-zvm-6g | 148 + tests/expected/lsmem/lsmem-x86_64-16g | 349 + tests/expected/lsns/netnsid | 1 + tests/expected/lsns/nsfs | 1 + tests/expected/md5/md5 | 7 + tests/expected/minix/fsck | 370 + tests/expected/minix/fsck-images-auto-fix | 57 + tests/expected/minix/fsck-images-badblocks | 35 + tests/expected/minix/fsck-images-badblocks.BE | 35 + tests/expected/minix/fsck-images-broken-root | 7 + tests/expected/minix/fsck-images-bug.773892 | 1 + tests/expected/minix/fsck-images-check-blocks | 29 + tests/expected/minix/fsck-images-check-blocks.BE | 29 + tests/expected/minix/fsck-images-v1c14 | 28 + tests/expected/minix/fsck-images-v1c14.BE | 28 + tests/expected/minix/fsck-images-v1c30 | 29 + tests/expected/minix/fsck-images-v1c30.BE | 29 + tests/expected/minix/fsck-images-v2c14 | 29 + tests/expected/minix/fsck-images-v2c14.BE | 29 + tests/expected/minix/fsck-images-v2c30 | 30 + tests/expected/minix/fsck-images-v2c30.BE | 30 + tests/expected/minix/fsck-images-v3c60 | 31 + tests/expected/minix/fsck-images-v3c60.BE | 31 + tests/expected/minix/mkfs-v1c14 | 9 + tests/expected/minix/mkfs-v1c30 | 9 + tests/expected/minix/mkfs-v2c14 | 9 + tests/expected/minix/mkfs-v2c30 | 9 + tests/expected/minix/mkfs-v2i65535 | 9 + tests/expected/minix/mkfs-v3c60 | 9 + tests/expected/misc/fallocate | 1 + tests/expected/misc/flock | 3 + tests/expected/misc/flock-exclusive | 1 + tests/expected/misc/flock-no-fork | 1 + tests/expected/misc/flock-non-block | 1 + tests/expected/misc/flock-shared | 2 + tests/expected/misc/flock-time-check | 1 + tests/expected/misc/flock-timeout | 2 + tests/expected/misc/ionice | 9 + tests/expected/misc/line | 25 + tests/expected/misc/mbsencode-invalid-ascii | 10 + tests/expected/misc/mbsencode-invalid-utf8 | 10 + tests/expected/misc/mbsencode-safe-ascii | 10 + tests/expected/misc/mbsencode-safe-utf8 | 10 + tests/expected/misc/mcookie | 1 + tests/expected/misc/rev | 4 + tests/expected/misc/setarch-options | 23 + tests/expected/misc/setarch-uname26 | 6 + tests/expected/misc/setarch-uname26-version | 1 + tests/expected/misc/setsid | 1 + tests/expected/misc/strtosize | 30 + tests/expected/misc/swaplabel | 7 + tests/expected/misc/ul | 3 + tests/expected/misc/whereis | 1 + tests/expected/more/regexp | 4 + tests/expected/more/squeeze | 3 + tests/expected/mount/devname | 1 + tests/expected/mount/fslists | 1 + tests/expected/mount/fslists-more-types | 1 + tests/expected/mount/fslists-more-types-fstab | 1 + tests/expected/mount/fslists-one-type | 1 + tests/expected/mount/fslists-type-pattern | 1 + tests/expected/mount/fslists-type-pattern-neg | 1 + tests/expected/mount/fstab-broken | 1 + tests/expected/mount/fstab-broken-mount | 1 + tests/expected/mount/fstab-broken-mount-all | 1 + tests/expected/mount/fstab-btrfs-auto | 1 + tests/expected/mount/fstab-btrfs-btrfs | 1 + tests/expected/mount/fstab-devname | 1 + tests/expected/mount/fstab-devname2label | 1 + tests/expected/mount/fstab-devname2uuid | 1 + tests/expected/mount/fstab-label | 1 + tests/expected/mount/fstab-label2devname | 1 + tests/expected/mount/fstab-label2uuid | 1 + tests/expected/mount/fstab-loop | 1 + tests/expected/mount/fstab-none | 1 + tests/expected/mount/fstab-symlink | 1 + tests/expected/mount/fstab-uuid | 1 + tests/expected/mount/fstab-uuid2devname | 1 + tests/expected/mount/fstab-uuid2label | 1 + tests/expected/mount/label | 1 + tests/expected/mount/move | 1 + tests/expected/mount/regfile | 1 + tests/expected/mount/remount | 1 + tests/expected/mount/rlimit | 1 + tests/expected/mount/rlimit-mount | 1 + tests/expected/mount/rlimit-umount | 1 + tests/expected/mount/shared-subtree | 1 + tests/expected/mount/shared-subtree-bind-shared | 1 + tests/expected/mount/shared-subtree-make-private | 1 + tests/expected/mount/shared-subtree-make-shared | 1 + .../expected/mount/shared-subtree-make-unbindable | 1 + tests/expected/mount/shared-subtree-mount-private | 1 + .../expected/mount/shared-subtree-mount-private-ro | 2 + tests/expected/mount/special | 1 + tests/expected/mount/umount-alltargets | 6 + .../mount/umount-alltargets-all-targets-dev | 3 + .../mount/umount-alltargets-all-targets-mnt | 3 + .../mount/umount-alltargets-all-targets-recursive | 3 + tests/expected/mount/umount-recursive | 14 + tests/expected/mount/uuid | 1 + tests/expected/namei/logic | 8 + tests/expected/partx/partx-add-all | 1 + tests/expected/partx/partx-add-existing | 1 + tests/expected/partx/partx-addpart | 1 + tests/expected/partx/partx-change-by-range | 2 + tests/expected/partx/partx-delete-all | 1 + tests/expected/partx/partx-delete-non-existent | 1 + tests/expected/partx/partx-delete-one | 1 + tests/expected/partx/partx-delpart | 1 + tests/expected/partx/partx-detect-parts | 5 + tests/expected/partx/partx-image-atari-icd | 7 + tests/expected/partx/partx-image-atari-xgm | 7 + tests/expected/partx/partx-image-bsd | 3 + tests/expected/partx/partx-image-dos+bsd | 5 + tests/expected/partx/partx-image-gpt | 6 + tests/expected/partx/partx-image-sgi | 5 + tests/expected/partx/partx-image-sun | 3 + tests/expected/partx/partx-update-one | 1 + tests/expected/paths/built-in | 21 + tests/expected/rename/basic | 4 + tests/expected/rename/exit_codes | 7 + tests/expected/rename/overwrite | 1 + tests/expected/rename/subdir | 29 + tests/expected/rename/symlink | 3 + tests/expected/schedutils/chrt | 0 tests/expected/schedutils/chrt-batch | 2 + tests/expected/schedutils/chrt-deadline | 9 + tests/expected/schedutils/chrt-fifo | 4 + tests/expected/schedutils/chrt-idle | 2 + .../schedutils/chrt-non-root-batch-vs-nice | 3 + tests/expected/schedutils/chrt-other | 2 + tests/expected/schedutils/chrt-rr | 4 + tests/expected/schedutils/cpuset | 24 + tests/expected/script/buffering-race | 3 + tests/expected/script/options-append | 8 + tests/expected/script/options-force | 14 + tests/expected/script/options-quiet | 8 + tests/expected/script/options-return | 16 + tests/expected/script/options-size | 9 + tests/expected/script/race | 1 + tests/expected/script/replay | 9 + tests/expected/sfdisk/dos-activate | 20 + tests/expected/sfdisk/dos-dump-gaps | 27 + tests/expected/sfdisk/dos-dump-old | 26 + tests/expected/sfdisk/dos-explicit-size | 43 + tests/expected/sfdisk/dos-read-dump | 37 + tests/expected/sfdisk/dos-read-dump-case | 24 + tests/expected/sfdisk/dos-reduce-empty-extended | 26 + tests/expected/sfdisk/dos-resize | 24 + tests/expected/sfdisk/dos-resize-empty-extended | 26 + tests/expected/sfdisk/dos-resize-extended | 34 + tests/expected/sfdisk/dos-resize-logical | 34 + tests/expected/sfdisk/dos-simple-commas | 32 + tests/expected/sfdisk/dos-simple-space | 26 + tests/expected/sfdisk/dos-write-dump | 11 + tests/expected/sfdisk/dos-write-json | 16 + tests/expected/sfdisk/gpt-all-defaults | 32 + tests/expected/sfdisk/gpt-attrs | 1110 + tests/expected/sfdisk/gpt-attrs-broken-guid | 2 + tests/expected/sfdisk/gpt-attrs-broken-nosep | 2 + tests/expected/sfdisk/gpt-attrs-guid | 1110 + tests/expected/sfdisk/gpt-attrs-space | 1110 + tests/expected/sfdisk/gpt-attrs-unsupported | 2 + tests/expected/sfdisk/gpt-attrs-with-typo | 1110 + tests/expected/sfdisk/gpt-label | 6 + tests/expected/sfdisk/gpt-list-pmbr | 11 + tests/expected/sfdisk/gpt-read-dump | 44 + tests/expected/sfdisk/gpt-reorder | 50 + tests/expected/sfdisk/gpt-resize | 24 + tests/expected/sfdisk/gpt-type | 5 + tests/expected/sfdisk/gpt-uuid | 1 + tests/expected/sfdisk/gpt-write-dump | 11 + tests/expected/sfdisk/gpt-write-json | 16 + tests/expected/sfdisk/movedata-down | 28 + tests/expected/sfdisk/movedata-non-overlay | 28 + tests/expected/sfdisk/movedata-up | 28 + .../expected/sfdisk/resize-dos-0-move-up-absolute | 26 + .../sfdisk/resize-dos-1-move-down-absolute | 26 + tests/expected/sfdisk/resize-dos-10-down-enlarge | 26 + .../sfdisk/resize-dos-11-absolute-move-resize | 26 + tests/expected/sfdisk/resize-dos-12-reduce-midle | 30 + tests/expected/sfdisk/resize-dos-13-max-last | 30 + .../expected/sfdisk/resize-dos-2-move-up-relative | 26 + .../sfdisk/resize-dos-3-move-down-relative | 26 + .../expected/sfdisk/resize-dos-4-enlarge-absolute | 26 + tests/expected/sfdisk/resize-dos-5-reduce-absolute | 26 + .../expected/sfdisk/resize-dos-6-enlarge-relative | 26 + tests/expected/sfdisk/resize-dos-7-reduce-relative | 26 + tests/expected/sfdisk/resize-dos-8-enlarge-all | 26 + tests/expected/sfdisk/resize-dos-9-up-preduce | 26 + tests/expected/sfdisk/resize-dos-unsorted | 74 + .../expected/sfdisk/resize-gpt-0-move-up-absolute | 26 + .../sfdisk/resize-gpt-1-move-down-absolute | 26 + tests/expected/sfdisk/resize-gpt-10-down-enlarge | 26 + .../sfdisk/resize-gpt-11-absolute-move-resize | 26 + tests/expected/sfdisk/resize-gpt-12-reduce-midle | 30 + tests/expected/sfdisk/resize-gpt-13-max-last | 30 + .../expected/sfdisk/resize-gpt-2-move-up-relative | 26 + .../sfdisk/resize-gpt-3-move-down-relative | 26 + .../expected/sfdisk/resize-gpt-4-enlarge-absolute | 26 + tests/expected/sfdisk/resize-gpt-5-reduce-absolute | 26 + .../expected/sfdisk/resize-gpt-6-enlarge-relative | 26 + tests/expected/sfdisk/resize-gpt-7-reduce-relative | 26 + tests/expected/sfdisk/resize-gpt-8-enlarge-all | 26 + tests/expected/sfdisk/resize-gpt-9-up-preduce | 26 + tests/expected/sfdisk/script-broken-1 | 16 + tests/expected/sfdisk/script-broken-2 | 16 + tests/expected/sfdisk/script-broken-3 | 16 + tests/expected/sfdisk/script-broken-4 | 16 + tests/expected/sfdisk/script-broken-5 | 16 + tests/expected/sfdisk/script-quotes | 44 + tests/expected/sfdisk/script-separator | 44 + tests/expected/sfdisk/script-type-and-id | 44 + tests/expected/sfdisk/wipe-fs-to-dos | 30 + tests/expected/sfdisk/wipe-gpt-to-dos | 51 + tests/expected/sfdisk/wipe-gpt-to-dos-auto | 58 + tests/expected/sfdisk/wipe-partition | 60 + tests/expected/sha1/sha1 | 7 + tests/expected/swapon/devname | 1 + tests/expected/swapon/fixpgsz | 1 + tests/expected/swapon/fixsig | 1 + tests/expected/swapon/label | 1 + tests/expected/swapon/uuid | 1 + tests/expected/tailf/simple | 2 + tests/expected/utmp/last-dns | 12 + tests/expected/utmp/last-ipv6-dns | 12 + tests/expected/utmp/last-ipv6-nodns | 8 + tests/expected/utmp/last-nodns | 124 + tests/expected/utmp/utmpdump-circle | 1 + tests/expected/utmp/utmpdump-subsecond | 4 + tests/expected/utmp/utmpdump-tobin | 1 + tests/expected/utmp/utmpdump-tobin-ipv6 | 1 + tests/expected/utmp/utmpdump-totxt | 10 + tests/expected/utmp/utmpdump-totxt-ipv6 | 2 + tests/expected/uuid/namespace | 7 + tests/expected/uuid/oids | 4 + tests/expected/uuid/uuid_parser | 15 + tests/expected/uuid/uuidd | 11 + tests/expected/uuid/uuidgen | 8 + tests/expected/uuid/uuidparse | 31 + tests/expected/wipefs/wipefs | 1 + tests/functions.sh | 949 + tests/helpers/Makemodule.am | 30 + tests/helpers/test_byteswap.c | 114 + tests/helpers/test_mbsencode.c | 52 + tests/helpers/test_md5.c | 29 + tests/helpers/test_pathnames.c | 86 + tests/helpers/test_sha1.c | 29 + tests/helpers/test_sigreceive.c | 181 + tests/helpers/test_sysinfo.c | 129 + tests/helpers/test_tiocsti.c | 27 + tests/helpers/test_uuid_namespace.c | 37 + tests/run.sh | 222 + tests/ts/bitops/swapbytes | 29 + tests/ts/blkdiscard/offsets | 101 + tests/ts/blkid/dm-err | 45 + tests/ts/blkid/images-fs/adaptec-raid.img.xz | Bin 0 -> 672 bytes tests/ts/blkid/images-fs/bcache-B.img.xz | Bin 0 -> 180 bytes tests/ts/blkid/images-fs/bcache-C.img.xz | Bin 0 -> 9976 bytes tests/ts/blkid/images-fs/befs.img.xz | Bin 0 -> 28584 bytes tests/ts/blkid/images-fs/bfs.img.xz | Bin 0 -> 492 bytes tests/ts/blkid/images-fs/cramfs.img.xz | Bin 0 -> 144 bytes tests/ts/blkid/images-fs/ddf-raid.img.xz | Bin 0 -> 8140 bytes .../images-fs/drbdmanage-control-volume.img.xz | Bin 0 -> 2520 bytes tests/ts/blkid/images-fs/exfat.img.xz | Bin 0 -> 4620 bytes tests/ts/blkid/images-fs/ext2.img.xz | Bin 0 -> 384 bytes tests/ts/blkid/images-fs/ext3.img.xz | Bin 0 -> 1612 bytes tests/ts/blkid/images-fs/f2fs.img.xz | Bin 0 -> 22188 bytes tests/ts/blkid/images-fs/fat.img.xz | Bin 0 -> 488 bytes tests/ts/blkid/images-fs/fat16_noheads.img.xz | Bin 0 -> 16300 bytes .../ts/blkid/images-fs/fat32_cp850_O_tilde.img.xz | Bin 0 -> 5400 bytes tests/ts/blkid/images-fs/fat32_label_64MB.img.xz | Bin 0 -> 10428 bytes .../ts/blkid/images-fs/fat32_mkdosfs_label1.img.xz | Bin 0 -> 5400 bytes .../fat32_mkdosfs_label1_dosfslabel_NO_NAME.img.xz | Bin 0 -> 5404 bytes .../fat32_mkdosfs_label1_dosfslabel_empty.img.xz | Bin 0 -> 5396 bytes .../fat32_mkdosfs_label1_dosfslabel_label2.img.xz | Bin 0 -> 5400 bytes .../fat32_mkdosfs_label1_mlabel_NO_NAME.img.xz | Bin 0 -> 5412 bytes .../fat32_mkdosfs_label1_mlabel_erase.img.xz | Bin 0 -> 5412 bytes .../images-fs/fat32_mkdosfs_label1_xp_erase.img.xz | Bin 0 -> 5400 bytes .../fat32_mkdosfs_label1_xp_label2.img.xz | Bin 0 -> 5404 bytes tests/ts/blkid/images-fs/fat32_mkdosfs_none.img.xz | Bin 0 -> 5376 bytes .../fat32_mkdosfs_none_dosfslabel_NO_NAME.img.xz | Bin 0 -> 5384 bytes .../fat32_mkdosfs_none_dosfslabel_label1.img.xz | Bin 0 -> 5380 bytes ...mkdosfs_none_dosfslabel_label1_xp_label2.img.xz | Bin 0 -> 5404 bytes .../images-fs/fat32_mkdosfs_none_xp_label1.img.xz | Bin 0 -> 5400 bytes ...mkdosfs_none_xp_label1_dosfslabel_label2.img.xz | Bin 0 -> 5396 bytes tests/ts/blkid/images-fs/fat32_xp_label1.img.xz | Bin 0 -> 5936 bytes tests/ts/blkid/images-fs/fat32_xp_none.img.xz | Bin 0 -> 5908 bytes .../fat32_xp_none_dosfslabel_label1.img.xz | Bin 0 -> 5908 bytes .../images-fs/fat32_xp_none_mlabel_label1.img.xz | Bin 0 -> 5660 bytes tests/ts/blkid/images-fs/gfs2.img.xz | Bin 0 -> 5092 bytes tests/ts/blkid/images-fs/hfs.img.xz | Bin 0 -> 1876 bytes tests/ts/blkid/images-fs/hfsplus.img.xz | Bin 0 -> 1940 bytes tests/ts/blkid/images-fs/hpfs.img.xz | Bin 0 -> 2172 bytes tests/ts/blkid/images-fs/hpt37x-raid.img.xz | Bin 0 -> 400 bytes tests/ts/blkid/images-fs/hpt45x-raid.img.xz | Bin 0 -> 424 bytes tests/ts/blkid/images-fs/iso-joliet.img.xz | Bin 0 -> 21884 bytes tests/ts/blkid/images-fs/iso-rr-joliet.img.xz | Bin 0 -> 22144 bytes tests/ts/blkid/images-fs/iso.img.xz | Bin 0 -> 21656 bytes tests/ts/blkid/images-fs/isw-raid.img.xz | Bin 0 -> 528 bytes tests/ts/blkid/images-fs/jbd.img.xz | Bin 0 -> 688 bytes tests/ts/blkid/images-fs/jfs.img.xz | Bin 0 -> 4768 bytes tests/ts/blkid/images-fs/jmicron-raid.img.xz | Bin 0 -> 480 bytes tests/ts/blkid/images-fs/lsi-raid.img.xz | Bin 0 -> 436 bytes tests/ts/blkid/images-fs/luks1.img.xz | Bin 0 -> 300 bytes tests/ts/blkid/images-fs/luks2.img.xz | Bin 0 -> 276 bytes tests/ts/blkid/images-fs/lvm2.img.xz | Bin 0 -> 512 bytes tests/ts/blkid/images-fs/mdraid.img.xz | Bin 0 -> 1752 bytes tests/ts/blkid/images-fs/minix-BE.img.xz | Bin 0 -> 220 bytes tests/ts/blkid/images-fs/minix-LE.img.xz | Bin 0 -> 224 bytes tests/ts/blkid/images-fs/mpool.img.xz | Bin 0 -> 544 bytes tests/ts/blkid/images-fs/netware.img.xz | Bin 0 -> 244 bytes tests/ts/blkid/images-fs/nilfs2.img.xz | Bin 0 -> 25072 bytes tests/ts/blkid/images-fs/ntfs.img.xz | Bin 0 -> 89576 bytes tests/ts/blkid/images-fs/nvidia-raid.img.xz | Bin 0 -> 572 bytes tests/ts/blkid/images-fs/ocfs2.img.xz | Bin 0 -> 18644 bytes tests/ts/blkid/images-fs/promise-raid.img.xz | Bin 0 -> 740 bytes tests/ts/blkid/images-fs/reiser3.img.xz | Bin 0 -> 936 bytes tests/ts/blkid/images-fs/reiser4.img.xz | Bin 0 -> 904 bytes tests/ts/blkid/images-fs/romfs.img.xz | Bin 0 -> 384 bytes tests/ts/blkid/images-fs/silicon-raid.img.xz | Bin 0 -> 588 bytes tests/ts/blkid/images-fs/small-fat32.img.xz | Bin 0 -> 576 bytes tests/ts/blkid/images-fs/swap0.img.xz | Bin 0 -> 496 bytes tests/ts/blkid/images-fs/swap1.img.xz | Bin 0 -> 524 bytes tests/ts/blkid/images-fs/tuxonice.img.xz | Bin 0 -> 37032 bytes tests/ts/blkid/images-fs/ubi.img.xz | Bin 0 -> 380 bytes tests/ts/blkid/images-fs/ubifs.img.xz | Bin 0 -> 1128 bytes tests/ts/blkid/images-fs/udf-bdr-2.60-nero.img.xz | Bin 0 -> 1956 bytes .../images-fs/udf-cd-mkudfiso-20100208.img.xz | Bin 0 -> 756 bytes tests/ts/blkid/images-fs/udf-cd-nero-6.img.xz | Bin 0 -> 2168 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.0.0-1.img.xz | Bin 0 -> 2728 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.0.0-2.img.xz | Bin 0 -> 2772 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.3-1.img.xz | Bin 0 -> 2364 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.3-2.img.xz | Bin 0 -> 2380 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.3-3.img.xz | Bin 0 -> 2376 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.3-4.img.xz | Bin 0 -> 2380 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.3-5.img.xz | Bin 0 -> 2396 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.3-6.img.xz | Bin 0 -> 2360 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.3-7.img.xz | Bin 0 -> 2720 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.3-8.img.xz | Bin 0 -> 2328 bytes .../blkid/images-fs/udf-hdd-udfclient-0.7.5.img.xz | Bin 0 -> 2292 bytes .../blkid/images-fs/udf-hdd-udfclient-0.7.7.img.xz | Bin 0 -> 2296 bytes tests/ts/blkid/images-fs/udf-hdd-win7.img.xz | Bin 0 -> 2624 bytes tests/ts/blkid/images-fs/udf.img.xz | Bin 0 -> 1884 bytes tests/ts/blkid/images-fs/ufs.img.xz | Bin 0 -> 1296 bytes tests/ts/blkid/images-fs/vdo.img.xz | Bin 0 -> 140 bytes tests/ts/blkid/images-fs/via-raid.img.xz | Bin 0 -> 528 bytes tests/ts/blkid/images-fs/vmfs.img.xz | Bin 0 -> 512 bytes tests/ts/blkid/images-fs/vmfs_volume.img.xz | Bin 0 -> 680 bytes tests/ts/blkid/images-fs/xfs-log.img.xz | Bin 0 -> 1720 bytes tests/ts/blkid/images-fs/xfs.img.xz | Bin 0 -> 2892 bytes tests/ts/blkid/images-fs/zfs.img.xz | Bin 0 -> 19904 bytes tests/ts/blkid/images-pt/atari-icd.img.xz | Bin 0 -> 1920 bytes tests/ts/blkid/images-pt/atari-xgm.img.xz | Bin 0 -> 1920 bytes tests/ts/blkid/images-pt/bsd.img.xz | Bin 0 -> 840 bytes tests/ts/blkid/images-pt/dos+bsd.img.xz | Bin 0 -> 2620 bytes tests/ts/blkid/images-pt/gpt.img.xz | Bin 0 -> 2140 bytes tests/ts/blkid/images-pt/sgi.img.xz | Bin 0 -> 1724 bytes tests/ts/blkid/images-pt/sun.img.xz | Bin 0 -> 1748 bytes tests/ts/blkid/low-probe | 44 + tests/ts/blkid/lowprobe-pt | 44 + tests/ts/blkid/mbr-wholedisk | 42 + tests/ts/blkid/mbr-wholedisk-vfat.img | Bin 0 -> 512 bytes tests/ts/blkid/md-raid0-whole | 89 + tests/ts/blkid/md-raid1-part | 95 + tests/ts/blkid/md-raid1-whole | 93 + tests/ts/build-sys/config | 70 + tests/ts/cal/bigyear | 83 + tests/ts/cal/color | 76 + tests/ts/cal/colorw | 76 + tests/ts/cal/jan1753 | 45 + tests/ts/cal/month | 72 + tests/ts/cal/sep1752 | 86 + tests/ts/cal/weekarg | 98 + tests/ts/cal/weeknum | 57 + tests/ts/cal/year | 54 + tests/ts/col/multibyte | 29 + tests/ts/col/multibyte.data | 1 + tests/ts/colcrt/crash1 | Bin 0 -> 314 bytes tests/ts/colcrt/crash2 | Bin 0 -> 776 bytes tests/ts/colcrt/functional | 50 + tests/ts/colcrt/hang1 | 1 + tests/ts/colcrt/nasty-input | Bin 0 -> 545 bytes tests/ts/colcrt/regressions | 36 + tests/ts/colcrt/underlines | 23 + tests/ts/colrm/rm2-2 | 28 + tests/ts/column/columnate | 53 + tests/ts/column/files/fivecols | 10 + tests/ts/column/files/mountinfo | 41 + tests/ts/column/files/onecolumn | 9 + tests/ts/column/files/table | 6 + tests/ts/column/files/table-empty-lines | 6 + tests/ts/column/files/table-sep | 6 + tests/ts/column/files/table-sep-space | 6 + tests/ts/column/invalid-multibyte | 30 + tests/ts/column/multi-file | 34 + tests/ts/column/table | 119 + tests/ts/cramfs/cramfs-big.img | Bin 0 -> 4096 bytes tests/ts/cramfs/cramfs-little.img | Bin 0 -> 4096 bytes tests/ts/cramfs/doubles | 55 + tests/ts/cramfs/fsck-bad-header | 102 + tests/ts/cramfs/fsck-endianness | 58 + tests/ts/cramfs/mkfs | 115 + tests/ts/cramfs/mkfs-endianness | 59 + tests/ts/dmesg/colors | 28 + tests/ts/dmesg/console-levels | 30 + tests/ts/dmesg/decode | 28 + tests/ts/dmesg/delta | 28 + tests/ts/dmesg/facilities | 30 + tests/ts/dmesg/indentation | 40 + tests/ts/dmesg/input | 105 + tests/ts/dmesg/newlines | 5 + tests/ts/eject/umount | 112 + tests/ts/fdisk/align-512-4K | 78 + tests/ts/fdisk/align-512-4K-63 | 79 + tests/ts/fdisk/align-512-4K-md | 100 + tests/ts/fdisk/align-512-512 | 72 + tests/ts/fdisk/align-512-512-topology | 78 + tests/ts/fdisk/bsd | 141 + tests/ts/fdisk/gpt | 96 + tests/ts/fdisk/gpt-resize | 63 + tests/ts/fdisk/id | 52 + tests/ts/fdisk/mbr-dos-mode | 134 + tests/ts/fdisk/mbr-nondos-mode | 154 + tests/ts/fdisk/mbr-sort | 79 + tests/ts/fdisk/oddinput | 47 + tests/ts/fdisk/sunlabel | 92 + tests/ts/fincore/count | 231 + tests/ts/findmnt/files/mountinfo | 33 + tests/ts/findmnt/files/mountinfo-messy | 29 + tests/ts/findmnt/files/mountinfo-nonroot | 32 + tests/ts/findmnt/filter | 79 + tests/ts/findmnt/outputs | 49 + tests/ts/findmnt/target | 35 + tests/ts/fsck/ismounted | 48 + tests/ts/getopt/basic | 49 + tests/ts/getopt/options | 231 + tests/ts/hexdump/files/ascii.in | Bin 0 -> 640 bytes tests/ts/hexdump/format-strings | 68 + tests/ts/hexdump/highlighting | 266 + tests/ts/hwclock/systohc | 96 + tests/ts/ipcs/functions.sh | 111 + tests/ts/ipcs/headers | 60 + tests/ts/ipcs/limits | 53 + tests/ts/ipcs/limits2 | 36 + tests/ts/ipcs/mk-rm-msg | 42 + tests/ts/ipcs/mk-rm-sem | 42 + tests/ts/ipcs/mk-rm-shm | 42 + tests/ts/isosize/print-size | 37 + tests/ts/isosize/sample.iso.gz | Bin 0 -> 632 bytes tests/ts/kill/all_processes | 60 + tests/ts/kill/kill_functions.sh | 29 + tests/ts/kill/name_to_number | 67 + tests/ts/kill/options | 63 + tests/ts/kill/print_pid | 58 + tests/ts/kill/queue | 53 + tests/ts/libfdisk/gpt | 65 + tests/ts/libfdisk/mkpart | 66 + tests/ts/libfdisk/mkpart-full | 227 + tests/ts/libmount/context | 174 + tests/ts/libmount/context-py | 161 + tests/ts/libmount/context-utab | 132 + tests/ts/libmount/context-utab-py | 133 + tests/ts/libmount/debug | 30 + tests/ts/libmount/files/fstab | 14 + tests/ts/libmount/files/fstab.broken | 14 + tests/ts/libmount/files/fstab.comment | 22 + tests/ts/libmount/files/kernel_cmdline | 1 + tests/ts/libmount/files/mountinfo | 33 + tests/ts/libmount/files/mountinfo_mv | 32 + tests/ts/libmount/files/mountinfo_nosrc | 7 + tests/ts/libmount/files/mountinfo_re | 32 + tests/ts/libmount/files/mountinfo_u | 31 + tests/ts/libmount/files/mtab | 12 + tests/ts/libmount/files/swaps | 4 + tests/ts/libmount/lock | 41 + tests/ts/libmount/loop | 142 + tests/ts/libmount/loop-overlay | 65 + tests/ts/libmount/optstr | 123 + tests/ts/libmount/tabdiff | 31 + tests/ts/libmount/tabfiles | 80 + tests/ts/libmount/tabfiles-py | 75 + tests/ts/libmount/tabfiles-tags | 86 + tests/ts/libmount/tabfiles-tags-py | 90 + tests/ts/libmount/update | 112 + tests/ts/libmount/update-py | 32 + tests/ts/libmount/utils | 84 + tests/ts/libsmartcols/files/col-hidden | 3 + tests/ts/libsmartcols/files/col-id | 3 + tests/ts/libsmartcols/files/col-name | 3 + tests/ts/libsmartcols/files/col-noextremes | 3 + tests/ts/libsmartcols/files/col-number | 3 + tests/ts/libsmartcols/files/col-parent | 3 + tests/ts/libsmartcols/files/col-strict | 3 + tests/ts/libsmartcols/files/col-string | 3 + tests/ts/libsmartcols/files/col-tree | 3 + tests/ts/libsmartcols/files/col-trunc | 3 + tests/ts/libsmartcols/files/col-wrap | 3 + tests/ts/libsmartcols/files/col-wrapnl | 3 + tests/ts/libsmartcols/files/data-id | 10 + tests/ts/libsmartcols/files/data-number | 10 + tests/ts/libsmartcols/files/data-number-tiny | 10 + tests/ts/libsmartcols/files/data-parent | 10 + tests/ts/libsmartcols/files/data-string | 10 + tests/ts/libsmartcols/files/data-string-extreme | 10 + tests/ts/libsmartcols/files/data-string-long | 10 + tests/ts/libsmartcols/files/data-string-nl | 10 + tests/ts/libsmartcols/fromfile | 240 + tests/ts/libsmartcols/title | 28 + tests/ts/logger/errors | 114 + tests/ts/logger/formats | 85 + tests/ts/logger/journald | 35 + tests/ts/logger/options | 82 + tests/ts/login/islocal | 29 + tests/ts/login/islocal.data | 10 + tests/ts/login/logindefs | 26 + tests/ts/login/logindefs.data | 16 + tests/ts/look/separator | 41 + tests/ts/look/words | 3 + tests/ts/losetup/losetup | 86 + tests/ts/losetup/losetup-blkdev | 81 + tests/ts/losetup/losetup-loop | 247 + tests/ts/losetup/losetup_functions.sh | 7 + tests/ts/lsblk/README | 19 + tests/ts/lsblk/dumps/simple-lvm.tar.xz | Bin 0 -> 14216 bytes tests/ts/lsblk/dumps/simple-nvme.tar.xz | Bin 0 -> 10292 bytes tests/ts/lsblk/lsblk | 56 + tests/ts/lsblk/mk-input.sh | 109 + tests/ts/lscpu/dumps/armv7.tar.gz | Bin 0 -> 3163 bytes tests/ts/lscpu/dumps/ppc-qemu.tar.gz | Bin 0 -> 2014 bytes tests/ts/lscpu/dumps/ppc64-POWER7-64cpu.tar.gz | Bin 0 -> 56867 bytes tests/ts/lscpu/dumps/ppc64-POWER7.tar.gz | Bin 0 -> 14350 bytes tests/ts/lscpu/dumps/s390-kvm.tar.gz | Bin 0 -> 2275 bytes tests/ts/lscpu/dumps/s390-lpar-drawer.tar.gz | Bin 0 -> 18131 bytes tests/ts/lscpu/dumps/s390-lpar.tar.gz | Bin 0 -> 6611 bytes tests/ts/lscpu/dumps/s390-zvm.tar.gz | Bin 0 -> 2582 bytes tests/ts/lscpu/dumps/sparc64.tar.gz | Bin 0 -> 2756 bytes tests/ts/lscpu/dumps/vbox-win.tar.gz | Bin 0 -> 15769 bytes tests/ts/lscpu/dumps/x86_64-64cpu.tar.gz | Bin 0 -> 153140 bytes tests/ts/lscpu/dumps/x86_64-dell_e4310.tar.gz | Bin 0 -> 12933 bytes tests/ts/lscpu/lscpu | 59 + tests/ts/lscpu/mk-input.sh | 43 + tests/ts/lsmem/dumps/s390-zvm-6g.tar.bz2 | Bin 0 -> 2459 bytes tests/ts/lsmem/dumps/x86_64-16g.tar.bz2 | Bin 0 -> 8660 bytes tests/ts/lsmem/lsmem | 60 + tests/ts/lsmem/mk-input.sh | 22 + tests/ts/lsns/netnsid | 96 + tests/ts/lsns/nsfs | 94 + tests/ts/md5/data | 7 + tests/ts/md5/md5 | 31 + tests/ts/minix/broken-root | Bin 0 -> 5120 bytes tests/ts/minix/debian.bug.773892 | Bin 0 -> 16384 bytes tests/ts/minix/fsck | 56 + tests/ts/minix/fsck-images | 90 + tests/ts/minix/mkfs | 57 + tests/ts/misc/fallocate | 39 + tests/ts/misc/flock | 106 + tests/ts/misc/ionice | 30 + tests/ts/misc/line | 58 + tests/ts/misc/mbsencode | 83 + tests/ts/misc/mcookie | 28 + tests/ts/misc/rev | 31 + tests/ts/misc/setarch | 91 + tests/ts/misc/setsid | 25 + tests/ts/misc/strtosize | 60 + tests/ts/misc/swaplabel | 65 + tests/ts/misc/ul | 26 + tests/ts/misc/whereis | 30 + tests/ts/more/regexp | 27 + tests/ts/more/squeeze | 26 + tests/ts/mount/devname | 61 + tests/ts/mount/fslists | 90 + tests/ts/mount/fstab-broken | 80 + tests/ts/mount/fstab-btrfs | 141 + tests/ts/mount/fstab-devname | 54 + tests/ts/mount/fstab-devname2label | 52 + tests/ts/mount/fstab-devname2uuid | 50 + tests/ts/mount/fstab-label | 63 + tests/ts/mount/fstab-label2devname | 58 + tests/ts/mount/fstab-label2uuid | 60 + tests/ts/mount/fstab-loop | 56 + tests/ts/mount/fstab-none | 37 + tests/ts/mount/fstab-symlink | 71 + tests/ts/mount/fstab-uuid | 61 + tests/ts/mount/fstab-uuid2devname | 56 + tests/ts/mount/fstab-uuid2label | 59 + tests/ts/mount/label | 55 + tests/ts/mount/move | 89 + tests/ts/mount/regfile | 41 + tests/ts/mount/remount | 62 + tests/ts/mount/rlimit | 93 + tests/ts/mount/shared-subtree | 87 + tests/ts/mount/special | 43 + tests/ts/mount/umount-alltargets | 124 + tests/ts/mount/umount-recursive | 96 + tests/ts/mount/uuid | 52 + tests/ts/namei/logic | 35 + tests/ts/partx/partx | 173 + tests/ts/partx/partx-image | 43 + tests/ts/paths/built-in | 32 + tests/ts/rename/basic | 41 + tests/ts/rename/exit_codes | 41 + tests/ts/rename/overwrite | 31 + tests/ts/rename/subdir | 68 + tests/ts/rename/symlink | 41 + tests/ts/schedutils/chrt | 110 + tests/ts/schedutils/chrt-non-root | 61 + tests/ts/schedutils/cpuset | 59 + tests/ts/script/buffering-race | 26 + tests/ts/script/options | 66 + tests/ts/script/race | 48 + tests/ts/script/replay | 38 + tests/ts/sfdisk/dos | 235 + tests/ts/sfdisk/files/dump-gaps | 7 + tests/ts/sfdisk/files/dump-old | 7 + tests/ts/sfdisk/gpt | 206 + tests/ts/sfdisk/movedata | 75 + tests/ts/sfdisk/resize | 154 + tests/ts/sfdisk/script | 158 + tests/ts/sfdisk/wipe | 104 + tests/ts/sha1/data | 7 + tests/ts/sha1/sha1 | 31 + tests/ts/swapon/devname | 50 + tests/ts/swapon/fixpgsz | 49 + tests/ts/swapon/fixsig | 53 + tests/ts/swapon/label | 52 + tests/ts/swapon/uuid | 50 + tests/ts/utmp/last | 93 + tests/ts/utmp/last-ipv6 | 66 + tests/ts/utmp/subsec | 3 + tests/ts/utmp/txt-a | 19 + tests/ts/utmp/txt-a-old | 19 + tests/ts/utmp/txt-b | 10 + tests/ts/utmp/txt-b-old | 10 + tests/ts/utmp/txt-ipv6 | 2 + tests/ts/utmp/txt-ipv6-old | 2 + tests/ts/utmp/utmp_functions.sh | 18 + tests/ts/utmp/utmpdump-circle | 48 + tests/ts/utmp/utmpdump-subsecond | 32 + tests/ts/utmp/utmpdump-tobin | 32 + tests/ts/utmp/utmpdump-tobin-ipv6 | 32 + tests/ts/utmp/utmpdump-totxt | 28 + tests/ts/utmp/utmpdump-totxt-ipv6 | 28 + tests/ts/utmp/wtmp-a.BE | Bin 0 -> 7296 bytes tests/ts/utmp/wtmp-a.LE | Bin 0 -> 7296 bytes tests/ts/utmp/wtmp-b.BE | Bin 0 -> 3840 bytes tests/ts/utmp/wtmp-b.LE | Bin 0 -> 3840 bytes tests/ts/utmp/wtmp-ipv6.BE | Bin 0 -> 768 bytes tests/ts/utmp/wtmp-ipv6.LE | Bin 0 -> 768 bytes tests/ts/uuid/namespace | 29 + tests/ts/uuid/oids | 33 + tests/ts/uuid/uuid_parser | 26 + tests/ts/uuid/uuidd | 58 + tests/ts/uuid/uuidgen | 45 + tests/ts/uuid/uuidparse | 61 + tests/ts/wipefs/wipefs | 33 + text-utils/Makemodule.am | 98 + text-utils/col.1 | 158 + text-utils/col.c | 600 + text-utils/colcrt.1 | 105 + text-utils/colcrt.c | 294 + text-utils/colrm.1 | 75 + text-utils/colrm.c | 194 + text-utils/column.1 | 180 + text-utils/column.c | 855 + text-utils/hexdump-conv.c | 111 + text-utils/hexdump-display.c | 455 + text-utils/hexdump-parse.c | 645 + text-utils/hexdump.1 | 379 + text-utils/hexdump.c | 251 + text-utils/hexdump.h | 108 + text-utils/line.1 | 17 + text-utils/line.c | 84 + text-utils/more.1 | 246 + text-utils/more.c | 2100 ++ text-utils/pg.1 | 238 + text-utils/pg.c | 1691 + text-utils/rev.1 | 59 + text-utils/rev.c | 183 + text-utils/ul.1 | 113 + text-utils/ul.c | 653 + tools/Makemodule.am | 10 + tools/checkcompletion.sh | 45 + tools/checkconfig.sh | 64 + tools/checkdecl.sh | 21 + tools/checkincludes.pl | 24 + tools/checkmans.sh | 187 + tools/checkusage.sh | 159 + tools/checkxalloc.sh | 23 + tools/git-version-gen | 160 + 2305 files changed, 1020085 insertions(+) create mode 100644 .tarball-version create mode 100644 .version create mode 100644 ABOUT-NLS create mode 100644 AUTHORS create mode 100644 COPYING create mode 100644 ChangeLog create mode 100644 Documentation/00-about-docs.txt create mode 100644 Documentation/PAM-configuration.txt create mode 100644 Documentation/TODO create mode 100644 Documentation/blkid.txt create mode 100644 Documentation/boilerplate.c create mode 100644 Documentation/cal.txt create mode 100644 Documentation/col.txt create mode 100644 Documentation/deprecated.txt create mode 100644 Documentation/example.files/filesystems create mode 100644 Documentation/example.files/fstab create mode 100644 Documentation/example.files/motd create mode 100644 Documentation/example.files/securetty create mode 100644 Documentation/example.files/shells create mode 100644 Documentation/example.files/udev-raw.rules create mode 100644 Documentation/getopt.txt create mode 100644 Documentation/getopt_changelog.txt create mode 100644 Documentation/howto-build-sys.txt create mode 100644 Documentation/howto-compilation.txt create mode 100644 Documentation/howto-contribute.txt create mode 100644 Documentation/howto-debug.txt create mode 100644 Documentation/howto-man-page.txt create mode 100644 Documentation/howto-pull-request.txt create mode 100644 Documentation/howto-tests.txt create mode 100644 Documentation/howto-usage-function.txt create mode 100644 Documentation/hwclock.txt create mode 100644 Documentation/licenses/COPYING.BSD-3-Clause create mode 100644 Documentation/licenses/COPYING.BSD-4-Clause-UC create mode 100644 Documentation/licenses/COPYING.GPL-2.0-or-later create mode 100644 Documentation/licenses/COPYING.ISC create mode 100644 Documentation/licenses/COPYING.LGPL-2.1-or-later create mode 100644 Documentation/modems-with-agetty.txt create mode 100644 Documentation/mount.txt create mode 100644 Documentation/parse-date.txt create mode 100644 Documentation/pg.txt create mode 100644 Documentation/poeigl.txt create mode 100644 Documentation/release-schedule.txt create mode 100644 Documentation/releases/v2.13-ReleaseNotes create mode 100644 Documentation/releases/v2.14-ReleaseNotes create mode 100644 Documentation/releases/v2.15-ReleaseNotes create mode 100644 Documentation/releases/v2.16-ReleaseNotes create mode 100644 Documentation/releases/v2.17-ReleaseNotes create mode 100644 Documentation/releases/v2.18-ReleaseNotes create mode 100644 Documentation/releases/v2.19-ReleaseNotes create mode 100644 Documentation/releases/v2.20-ReleaseNotes create mode 100644 Documentation/releases/v2.21-ReleaseNotes create mode 100644 Documentation/releases/v2.22-ReleaseNotes create mode 100644 Documentation/releases/v2.23-ReleaseNotes create mode 100644 Documentation/releases/v2.24-ReleaseNotes create mode 100644 Documentation/releases/v2.25-ReleaseNotes create mode 100644 Documentation/releases/v2.26-ReleaseNotes create mode 100644 Documentation/releases/v2.27-ReleaseNotes create mode 100644 Documentation/releases/v2.28-ReleaseNotes create mode 100644 Documentation/releases/v2.29-ReleaseNotes create mode 100644 Documentation/releases/v2.30-ReleaseNotes create mode 100644 Documentation/releases/v2.31-ReleaseNotes create mode 100644 Documentation/releases/v2.32-ReleaseNotes create mode 100644 Documentation/releases/v2.33-ReleaseNotes create mode 100644 Documentation/releases/v2.33.1-ReleaseNotes create mode 100644 Documentation/rfkill.readme create mode 100644 Makefile.am create mode 100644 Makefile.in create mode 100644 NEWS create mode 100644 README create mode 100644 README.licensing create mode 100644 aclocal.m4 create mode 100755 autogen.sh create mode 100644 bash-completion/Makemodule.am create mode 100644 bash-completion/addpart create mode 100644 bash-completion/blkdiscard create mode 100644 bash-completion/blkid create mode 100755 bash-completion/blkzone create mode 100644 bash-completion/blockdev create mode 100644 bash-completion/cal create mode 100644 bash-completion/cfdisk create mode 100644 bash-completion/chcpu create mode 100644 bash-completion/chfn create mode 100644 bash-completion/chmem create mode 100644 bash-completion/chrt create mode 100644 bash-completion/chsh create mode 100644 bash-completion/col create mode 100644 bash-completion/colcrt create mode 100644 bash-completion/colrm create mode 100644 bash-completion/column create mode 100644 bash-completion/ctrlaltdel create mode 100644 bash-completion/delpart create mode 100644 bash-completion/dmesg create mode 100644 bash-completion/eject create mode 100644 bash-completion/fallocate create mode 100644 bash-completion/fdformat create mode 100644 bash-completion/fdisk create mode 100644 bash-completion/fincore create mode 100644 bash-completion/findfs create mode 100644 bash-completion/findmnt create mode 100644 bash-completion/flock create mode 100644 bash-completion/fsck create mode 100644 bash-completion/fsck.cramfs create mode 100644 bash-completion/fsck.minix create mode 100644 bash-completion/fsfreeze create mode 100644 bash-completion/fstrim create mode 100644 bash-completion/getopt create mode 100644 bash-completion/hexdump create mode 100644 bash-completion/hwclock create mode 100644 bash-completion/ionice create mode 100644 bash-completion/ipcmk create mode 100644 bash-completion/ipcrm create mode 100644 bash-completion/ipcs create mode 100644 bash-completion/isosize create mode 100644 bash-completion/last create mode 100644 bash-completion/ldattach create mode 100644 bash-completion/logger create mode 100644 bash-completion/look create mode 100644 bash-completion/losetup create mode 100644 bash-completion/lsblk create mode 100644 bash-completion/lscpu create mode 100644 bash-completion/lsipc create mode 100644 bash-completion/lslocks create mode 100755 bash-completion/lslogins create mode 100644 bash-completion/lsmem create mode 100644 bash-completion/lsns create mode 100644 bash-completion/mcookie create mode 100644 bash-completion/mesg create mode 100644 bash-completion/mkfs create mode 100644 bash-completion/mkfs.bfs create mode 100644 bash-completion/mkfs.cramfs create mode 100644 bash-completion/mkfs.minix create mode 100644 bash-completion/mkswap create mode 100644 bash-completion/more create mode 100644 bash-completion/mount create mode 100644 bash-completion/mountpoint create mode 100644 bash-completion/namei create mode 100644 bash-completion/newgrp create mode 100644 bash-completion/nsenter create mode 100644 bash-completion/partx create mode 100644 bash-completion/pg create mode 100644 bash-completion/pivot_root create mode 100644 bash-completion/prlimit create mode 100644 bash-completion/raw create mode 100644 bash-completion/readprofile create mode 100644 bash-completion/rename create mode 100644 bash-completion/renice create mode 100644 bash-completion/resizepart create mode 100644 bash-completion/rev create mode 100644 bash-completion/rfkill create mode 100644 bash-completion/rtcwake create mode 100644 bash-completion/script create mode 100644 bash-completion/scriptreplay create mode 100644 bash-completion/setarch create mode 100644 bash-completion/setpriv create mode 100644 bash-completion/setsid create mode 100644 bash-completion/setterm create mode 100644 bash-completion/sfdisk create mode 100644 bash-completion/su create mode 100644 bash-completion/swaplabel create mode 100644 bash-completion/swapoff create mode 100644 bash-completion/swapon create mode 100644 bash-completion/taskset create mode 100644 bash-completion/tunelp create mode 100644 bash-completion/ul create mode 100644 bash-completion/umount create mode 100644 bash-completion/unshare create mode 100644 bash-completion/utmpdump create mode 100644 bash-completion/uuidd create mode 100644 bash-completion/uuidgen create mode 100644 bash-completion/uuidparse create mode 100644 bash-completion/wall create mode 100644 bash-completion/wdctl create mode 100644 bash-completion/whereis create mode 100644 bash-completion/wipefs create mode 100644 bash-completion/write create mode 100644 bash-completion/zramctl create mode 100644 config.h.in create mode 100755 config/ar-lib create mode 100755 config/compile create mode 100755 config/config.guess create mode 100755 config/config.rpath create mode 100755 config/config.sub create mode 100755 config/depcomp create mode 100644 config/gtk-doc.make create mode 100755 config/install-sh create mode 100644 config/ltmain.sh create mode 100755 config/missing create mode 100755 config/py-compile create mode 100755 config/ylwrap create mode 100755 configure create mode 100644 configure.ac create mode 100644 disk-utils/Makemodule.am create mode 100644 disk-utils/addpart.8 create mode 100644 disk-utils/addpart.c create mode 100644 disk-utils/blockdev.8 create mode 100644 disk-utils/blockdev.c create mode 100644 disk-utils/cfdisk.8 create mode 100644 disk-utils/cfdisk.c create mode 100644 disk-utils/cramfs.h create mode 100644 disk-utils/cramfs_common.c create mode 100644 disk-utils/delpart.8 create mode 100644 disk-utils/delpart.c create mode 100644 disk-utils/fdformat.8 create mode 100644 disk-utils/fdformat.c create mode 100644 disk-utils/fdisk-list.c create mode 100644 disk-utils/fdisk-list.h create mode 100644 disk-utils/fdisk-menu.c create mode 100644 disk-utils/fdisk.8 create mode 100644 disk-utils/fdisk.c create mode 100644 disk-utils/fdisk.h create mode 100644 disk-utils/fsck.8 create mode 100644 disk-utils/fsck.c create mode 100644 disk-utils/fsck.cramfs.8 create mode 100644 disk-utils/fsck.cramfs.c create mode 100644 disk-utils/fsck.minix.8 create mode 100644 disk-utils/fsck.minix.c create mode 100644 disk-utils/isosize.8 create mode 100644 disk-utils/isosize.c create mode 100644 disk-utils/minix_programs.h create mode 100644 disk-utils/mkfs.8 create mode 100644 disk-utils/mkfs.bfs.8 create mode 100644 disk-utils/mkfs.bfs.c create mode 100644 disk-utils/mkfs.c create mode 100644 disk-utils/mkfs.cramfs.8 create mode 100644 disk-utils/mkfs.cramfs.c create mode 100644 disk-utils/mkfs.minix.8 create mode 100644 disk-utils/mkfs.minix.c create mode 100644 disk-utils/mkswap.8 create mode 100644 disk-utils/mkswap.c create mode 100644 disk-utils/partx.8 create mode 100644 disk-utils/partx.c create mode 100644 disk-utils/raw.8 create mode 100644 disk-utils/raw.c create mode 100644 disk-utils/resizepart.8 create mode 100644 disk-utils/resizepart.c create mode 100644 disk-utils/sfdisk.8 create mode 100644 disk-utils/sfdisk.c create mode 100644 disk-utils/swaplabel.8 create mode 100644 disk-utils/swaplabel.c create mode 100644 include/Makemodule.am create mode 100644 include/all-io.h create mode 100644 include/bitops.h create mode 100644 include/blkdev.h create mode 100644 include/c.h create mode 100644 include/canonicalize.h create mode 100644 include/carefulputc.h create mode 100644 include/cctype.h create mode 100644 include/closestream.h create mode 100644 include/color-names.h create mode 100644 include/colors.h create mode 100644 include/cpuset.h create mode 100644 include/crc32.h create mode 100644 include/crc32c.h create mode 100644 include/debug.h create mode 100644 include/debugobj.h create mode 100644 include/env.h create mode 100644 include/exec_shell.h create mode 100644 include/exitcodes.h create mode 100644 include/fileutils.h create mode 100644 include/idcache.h create mode 100644 include/ismounted.h create mode 100644 include/linux_version.h create mode 100644 include/list.h create mode 100644 include/loopdev.h create mode 100644 include/mangle.h create mode 100644 include/match.h create mode 100644 include/mbsalign.h create mode 100644 include/mbsedit.h create mode 100644 include/md5.h create mode 100644 include/minix.h create mode 100644 include/monotonic.h create mode 100644 include/namespace.h create mode 100644 include/nls.h create mode 100644 include/optutils.h create mode 100644 include/pager.h create mode 100644 include/partx.h create mode 100644 include/path.h create mode 100644 include/pathnames.h create mode 100644 include/plymouth-ctrl.h create mode 100644 include/procutils.h create mode 100644 include/pt-bsd.h create mode 100644 include/pt-mbr-partnames.h create mode 100644 include/pt-mbr.h create mode 100644 include/pt-sgi.h create mode 100644 include/pt-sun.h create mode 100644 include/pwdutils.h create mode 100644 include/randutils.h create mode 100644 include/rpmatch.h create mode 100644 include/setproctitle.h create mode 100644 include/sha1.h create mode 100644 include/signames.h create mode 100644 include/statfs_magic.h create mode 100644 include/strutils.h create mode 100644 include/strv.h create mode 100644 include/swapheader.h create mode 100644 include/swapprober.h create mode 100644 include/sysfs.h create mode 100644 include/timer.h create mode 100644 include/timeutils.h create mode 100644 include/ttyutils.h create mode 100644 include/widechar.h create mode 100644 include/xalloc.h create mode 100644 lib/Makemodule.am create mode 100644 lib/blkdev.c create mode 100644 lib/canonicalize.c create mode 100644 lib/color-names.c create mode 100644 lib/colors.c create mode 100644 lib/cpuset.c create mode 100644 lib/crc32.c create mode 100644 lib/crc32c.c create mode 100644 lib/env.c create mode 100644 lib/exec_shell.c create mode 100644 lib/fileutils.c create mode 100644 lib/idcache.c create mode 100644 lib/ismounted.c create mode 100644 lib/langinfo.c create mode 100644 lib/linux_version.c create mode 100644 lib/loopdev.c create mode 100644 lib/mangle.c create mode 100644 lib/match.c create mode 100644 lib/mbsalign.c create mode 100644 lib/mbsedit.c create mode 100644 lib/md5.c create mode 100644 lib/monotonic.c create mode 100644 lib/pager.c create mode 100644 lib/parse-date.c create mode 100644 lib/parse-date.y create mode 100644 lib/path.c create mode 100644 lib/plymouth-ctrl.c create mode 100644 lib/procutils.c create mode 100644 lib/pwdutils.c create mode 100644 lib/randutils.c create mode 100644 lib/setproctitle.c create mode 100644 lib/sha1.c create mode 100644 lib/signames.c create mode 100644 lib/strutils.c create mode 100644 lib/strv.c create mode 100644 lib/swapprober.c create mode 100644 lib/sysfs.c create mode 100644 lib/terminal-colors.d.5 create mode 100644 lib/timer.c create mode 100644 lib/timeutils.c create mode 100644 lib/ttyutils.c create mode 100644 libblkid/COPYING create mode 100644 libblkid/Makemodule.am create mode 100644 libblkid/blkid.pc.in create mode 100644 libblkid/docs/Makefile.am create mode 100644 libblkid/docs/Makefile.in create mode 100644 libblkid/docs/libblkid-config.xml create mode 100644 libblkid/docs/libblkid-docs.xml create mode 100644 libblkid/docs/libblkid-sections.txt create mode 100644 libblkid/docs/version.xml create mode 100644 libblkid/docs/version.xml.in create mode 100644 libblkid/libblkid.3 create mode 100644 libblkid/samples/Makemodule.am create mode 100644 libblkid/samples/mkfs.c create mode 100644 libblkid/samples/partitions.c create mode 100644 libblkid/samples/superblocks.c create mode 100644 libblkid/samples/topology.c create mode 100644 libblkid/src/Makemodule.am create mode 100644 libblkid/src/blkid.h.in create mode 100644 libblkid/src/blkidP.h create mode 100644 libblkid/src/cache.c create mode 100644 libblkid/src/config.c create mode 100644 libblkid/src/dev.c create mode 100644 libblkid/src/devname.c create mode 100644 libblkid/src/devno.c create mode 100644 libblkid/src/encode.c create mode 100644 libblkid/src/evaluate.c create mode 100644 libblkid/src/getsize.c create mode 100644 libblkid/src/init.c create mode 100644 libblkid/src/libblkid.sym create mode 100644 libblkid/src/llseek.c create mode 100644 libblkid/src/partitions/aix.c create mode 100644 libblkid/src/partitions/aix.h create mode 100644 libblkid/src/partitions/atari.c create mode 100644 libblkid/src/partitions/bsd.c create mode 100644 libblkid/src/partitions/dos.c create mode 100644 libblkid/src/partitions/gpt.c create mode 100644 libblkid/src/partitions/mac.c create mode 100644 libblkid/src/partitions/minix.c create mode 100644 libblkid/src/partitions/partitions.c create mode 100644 libblkid/src/partitions/partitions.h create mode 100644 libblkid/src/partitions/sgi.c create mode 100644 libblkid/src/partitions/solaris_x86.c create mode 100644 libblkid/src/partitions/sun.c create mode 100644 libblkid/src/partitions/ultrix.c create mode 100644 libblkid/src/partitions/unixware.c create mode 100644 libblkid/src/probe.c create mode 100644 libblkid/src/read.c create mode 100644 libblkid/src/resolve.c create mode 100644 libblkid/src/save.c create mode 100644 libblkid/src/superblocks/adaptec_raid.c create mode 100644 libblkid/src/superblocks/apfs.c create mode 100644 libblkid/src/superblocks/bcache.c create mode 100644 libblkid/src/superblocks/befs.c create mode 100644 libblkid/src/superblocks/bfs.c create mode 100644 libblkid/src/superblocks/bitlocker.c create mode 100644 libblkid/src/superblocks/btrfs.c create mode 100644 libblkid/src/superblocks/cramfs.c create mode 100644 libblkid/src/superblocks/ddf_raid.c create mode 100644 libblkid/src/superblocks/drbd.c create mode 100644 libblkid/src/superblocks/drbdmanage.c create mode 100644 libblkid/src/superblocks/drbdproxy_datalog.c create mode 100644 libblkid/src/superblocks/exfat.c create mode 100644 libblkid/src/superblocks/exfs.c create mode 100644 libblkid/src/superblocks/ext.c create mode 100644 libblkid/src/superblocks/f2fs.c create mode 100644 libblkid/src/superblocks/gfs.c create mode 100644 libblkid/src/superblocks/hfs.c create mode 100644 libblkid/src/superblocks/highpoint_raid.c create mode 100644 libblkid/src/superblocks/hpfs.c create mode 100644 libblkid/src/superblocks/iso9660.c create mode 100644 libblkid/src/superblocks/isw_raid.c create mode 100644 libblkid/src/superblocks/jfs.c create mode 100644 libblkid/src/superblocks/jmicron_raid.c create mode 100644 libblkid/src/superblocks/linux_raid.c create mode 100644 libblkid/src/superblocks/lsi_raid.c create mode 100644 libblkid/src/superblocks/luks.c create mode 100644 libblkid/src/superblocks/lvm.c create mode 100644 libblkid/src/superblocks/minix.c create mode 100644 libblkid/src/superblocks/mpool.c create mode 100644 libblkid/src/superblocks/netware.c create mode 100644 libblkid/src/superblocks/nilfs.c create mode 100644 libblkid/src/superblocks/ntfs.c create mode 100644 libblkid/src/superblocks/nvidia_raid.c create mode 100644 libblkid/src/superblocks/ocfs.c create mode 100644 libblkid/src/superblocks/promise_raid.c create mode 100644 libblkid/src/superblocks/refs.c create mode 100644 libblkid/src/superblocks/reiserfs.c create mode 100644 libblkid/src/superblocks/romfs.c create mode 100644 libblkid/src/superblocks/silicon_raid.c create mode 100644 libblkid/src/superblocks/squashfs.c create mode 100644 libblkid/src/superblocks/stratis.c create mode 100644 libblkid/src/superblocks/superblocks.c create mode 100644 libblkid/src/superblocks/superblocks.h create mode 100644 libblkid/src/superblocks/swap.c create mode 100644 libblkid/src/superblocks/sysv.c create mode 100644 libblkid/src/superblocks/ubi.c create mode 100644 libblkid/src/superblocks/ubifs.c create mode 100644 libblkid/src/superblocks/udf.c create mode 100644 libblkid/src/superblocks/ufs.c create mode 100644 libblkid/src/superblocks/vdo.c create mode 100644 libblkid/src/superblocks/vfat.c create mode 100644 libblkid/src/superblocks/via_raid.c create mode 100644 libblkid/src/superblocks/vmfs.c create mode 100644 libblkid/src/superblocks/vxfs.c create mode 100644 libblkid/src/superblocks/xfs.c create mode 100644 libblkid/src/superblocks/zfs.c create mode 100644 libblkid/src/tag.c create mode 100644 libblkid/src/topology/dm.c create mode 100644 libblkid/src/topology/evms.c create mode 100644 libblkid/src/topology/ioctl.c create mode 100644 libblkid/src/topology/lvm.c create mode 100644 libblkid/src/topology/md.c create mode 100644 libblkid/src/topology/sysfs.c create mode 100644 libblkid/src/topology/topology.c create mode 100644 libblkid/src/topology/topology.h create mode 100644 libblkid/src/verify.c create mode 100644 libblkid/src/version.c create mode 100644 libfdisk/COPYING create mode 100644 libfdisk/Makemodule.am create mode 100644 libfdisk/docs/Makefile.am create mode 100644 libfdisk/docs/Makefile.in create mode 100644 libfdisk/docs/libfdisk-docs.xml create mode 100644 libfdisk/docs/libfdisk-sections.txt create mode 100644 libfdisk/docs/version.xml create mode 100644 libfdisk/docs/version.xml.in create mode 100644 libfdisk/fdisk.pc.in create mode 100644 libfdisk/samples/Makemodule.am create mode 100644 libfdisk/samples/mkpart-fullspec.c create mode 100644 libfdisk/samples/mkpart.c create mode 100644 libfdisk/src/Makemodule.am create mode 100644 libfdisk/src/alignment.c create mode 100644 libfdisk/src/ask.c create mode 100644 libfdisk/src/bsd.c create mode 100644 libfdisk/src/context.c create mode 100644 libfdisk/src/dos.c create mode 100644 libfdisk/src/fdiskP.h create mode 100644 libfdisk/src/field.c create mode 100644 libfdisk/src/gpt.c create mode 100644 libfdisk/src/init.c create mode 100644 libfdisk/src/item.c create mode 100644 libfdisk/src/iter.c create mode 100644 libfdisk/src/label.c create mode 100644 libfdisk/src/libfdisk.h.in create mode 100644 libfdisk/src/libfdisk.sym create mode 100644 libfdisk/src/partition.c create mode 100644 libfdisk/src/parttype.c create mode 100644 libfdisk/src/script.c create mode 100644 libfdisk/src/sgi.c create mode 100644 libfdisk/src/sun.c create mode 100644 libfdisk/src/table.c create mode 100644 libfdisk/src/test.c create mode 100644 libfdisk/src/utils.c create mode 100644 libfdisk/src/version.c create mode 100644 libfdisk/src/wipe.c create mode 100644 libmount/COPYING create mode 100644 libmount/Makemodule.am create mode 100644 libmount/docs/Makefile.am create mode 100644 libmount/docs/Makefile.in create mode 100644 libmount/docs/libmount-docs.xml create mode 100644 libmount/docs/libmount-sections.txt create mode 100644 libmount/docs/version.xml create mode 100644 libmount/docs/version.xml.in create mode 100644 libmount/mount.pc.in create mode 100644 libmount/python/Makemodule.am create mode 100644 libmount/python/__init__.py create mode 100644 libmount/python/context.c create mode 100644 libmount/python/fs.c create mode 100644 libmount/python/pylibmount.c create mode 100644 libmount/python/pylibmount.h create mode 100644 libmount/python/tab.c create mode 100755 libmount/python/test_mount_context.py create mode 100755 libmount/python/test_mount_tab.py create mode 100755 libmount/python/test_mount_tab_update.py create mode 100644 libmount/src/Makemodule.am create mode 100644 libmount/src/btrfs.c create mode 100644 libmount/src/cache.c create mode 100644 libmount/src/context.c create mode 100644 libmount/src/context_loopdev.c create mode 100644 libmount/src/context_mount.c create mode 100644 libmount/src/context_umount.c create mode 100644 libmount/src/fs.c create mode 100644 libmount/src/init.c create mode 100644 libmount/src/iter.c create mode 100644 libmount/src/libmount.h.in create mode 100644 libmount/src/libmount.sym create mode 100644 libmount/src/lock.c create mode 100644 libmount/src/monitor.c create mode 100644 libmount/src/mountP.h create mode 100644 libmount/src/optmap.c create mode 100644 libmount/src/optstr.c create mode 100644 libmount/src/tab.c create mode 100644 libmount/src/tab_diff.c create mode 100644 libmount/src/tab_parse.c create mode 100644 libmount/src/tab_update.c create mode 100644 libmount/src/test.c create mode 100644 libmount/src/utils.c create mode 100644 libmount/src/version.c create mode 100644 libsmartcols/COPYING create mode 100644 libsmartcols/Makemodule.am create mode 100644 libsmartcols/docs/Makefile.am create mode 100644 libsmartcols/docs/Makefile.in create mode 100644 libsmartcols/docs/libsmartcols-docs.xml create mode 100644 libsmartcols/docs/libsmartcols-sections.txt create mode 100644 libsmartcols/docs/version.xml create mode 100644 libsmartcols/docs/version.xml.in create mode 100644 libsmartcols/samples/Makemodule.am create mode 100644 libsmartcols/samples/continuous.c create mode 100644 libsmartcols/samples/fromfile.c create mode 100644 libsmartcols/samples/maxout.c create mode 100644 libsmartcols/samples/title.c create mode 100644 libsmartcols/samples/tree.c create mode 100644 libsmartcols/samples/wrap.c create mode 100644 libsmartcols/smartcols.pc.in create mode 100644 libsmartcols/src/Makemodule.am create mode 100644 libsmartcols/src/cell.c create mode 100644 libsmartcols/src/column.c create mode 100644 libsmartcols/src/init.c create mode 100644 libsmartcols/src/iter.c create mode 100644 libsmartcols/src/libsmartcols.h.in create mode 100644 libsmartcols/src/libsmartcols.sym create mode 100644 libsmartcols/src/line.c create mode 100644 libsmartcols/src/smartcolsP.h create mode 100644 libsmartcols/src/symbols.c create mode 100644 libsmartcols/src/table.c create mode 100644 libsmartcols/src/table_print.c create mode 100644 libsmartcols/src/version.c create mode 100644 libuuid/COPYING create mode 100644 libuuid/Makemodule.am create mode 100644 libuuid/man/Makemodule.am create mode 100644 libuuid/man/uuid.3 create mode 100644 libuuid/man/uuid_clear.3 create mode 100644 libuuid/man/uuid_compare.3 create mode 100644 libuuid/man/uuid_copy.3 create mode 100644 libuuid/man/uuid_generate.3 create mode 100644 libuuid/man/uuid_generate_random.3 create mode 100644 libuuid/man/uuid_generate_time.3 create mode 100644 libuuid/man/uuid_generate_time_safe.3 create mode 100644 libuuid/man/uuid_is_null.3 create mode 100644 libuuid/man/uuid_parse.3 create mode 100644 libuuid/man/uuid_time.3 create mode 100644 libuuid/man/uuid_unparse.3 create mode 100644 libuuid/src/Makemodule.am create mode 100644 libuuid/src/clear.c create mode 100644 libuuid/src/compare.c create mode 100644 libuuid/src/copy.c create mode 100644 libuuid/src/gen_uuid.c create mode 100644 libuuid/src/isnull.c create mode 100644 libuuid/src/libuuid.sym create mode 100644 libuuid/src/pack.c create mode 100644 libuuid/src/parse.c create mode 100644 libuuid/src/predefined.c create mode 100644 libuuid/src/test_uuid.c create mode 100644 libuuid/src/unpack.c create mode 100644 libuuid/src/unparse.c create mode 100644 libuuid/src/uuid.h create mode 100644 libuuid/src/uuidP.h create mode 100644 libuuid/src/uuid_time.c create mode 100644 libuuid/src/uuidd.h create mode 100644 libuuid/uuid.pc.in create mode 100644 login-utils/Makemodule.am create mode 100644 login-utils/auth.c create mode 100644 login-utils/auth.h create mode 100644 login-utils/ch-common.c create mode 100644 login-utils/ch-common.h create mode 100644 login-utils/chfn.1 create mode 100644 login-utils/chfn.c create mode 100644 login-utils/chsh.1 create mode 100644 login-utils/chsh.c create mode 100644 login-utils/islocal.c create mode 100644 login-utils/islocal.h create mode 100644 login-utils/last.1 create mode 100644 login-utils/last.c create mode 100644 login-utils/lastb.1 create mode 100644 login-utils/libuser.c create mode 100644 login-utils/libuser.h create mode 100644 login-utils/login.1 create mode 100644 login-utils/login.c create mode 100644 login-utils/logindefs.c create mode 100644 login-utils/logindefs.h create mode 100644 login-utils/lslogins.1 create mode 100644 login-utils/lslogins.c create mode 100644 login-utils/newgrp.1 create mode 100644 login-utils/newgrp.c create mode 100644 login-utils/nologin.8 create mode 100644 login-utils/nologin.c create mode 100644 login-utils/runuser.1 create mode 100644 login-utils/runuser.c create mode 100644 login-utils/selinux_utils.c create mode 100644 login-utils/selinux_utils.h create mode 100644 login-utils/setpwnam.c create mode 100644 login-utils/setpwnam.h create mode 100644 login-utils/su-common.c create mode 100644 login-utils/su-common.h create mode 100644 login-utils/su.1 create mode 100644 login-utils/su.c create mode 100644 login-utils/sulogin-consoles.c create mode 100644 login-utils/sulogin-consoles.h create mode 100644 login-utils/sulogin.8 create mode 100644 login-utils/sulogin.c create mode 100644 login-utils/utmpdump.1 create mode 100644 login-utils/utmpdump.c create mode 100644 login-utils/vigr.8 create mode 100644 login-utils/vipw.8 create mode 100644 login-utils/vipw.c create mode 100644 m4/ax_check_vscript.m4 create mode 100644 m4/compiler.m4 create mode 100644 m4/gettext.m4 create mode 100644 m4/gtk-doc.m4 create mode 100644 m4/iconv.m4 create mode 100644 m4/intlmacosx.m4 create mode 100644 m4/lib-ld.m4 create mode 100644 m4/lib-link.m4 create mode 100644 m4/lib-prefix.m4 create mode 100644 m4/libtool.m4 create mode 100644 m4/ltoptions.m4 create mode 100644 m4/ltsugar.m4 create mode 100644 m4/ltversion.m4 create mode 100644 m4/lt~obsolete.m4 create mode 100644 m4/nls.m4 create mode 100644 m4/po.m4 create mode 100644 m4/progtest.m4 create mode 100644 m4/tls.m4 create mode 100644 m4/ul.m4 create mode 100644 misc-utils/Makemodule.am create mode 100644 misc-utils/blkid.8 create mode 100644 misc-utils/blkid.c create mode 100644 misc-utils/cal.1 create mode 100644 misc-utils/cal.c create mode 100644 misc-utils/fincore.1 create mode 100644 misc-utils/fincore.c create mode 100644 misc-utils/findfs.8 create mode 100644 misc-utils/findfs.c create mode 100644 misc-utils/findmnt-verify.c create mode 100644 misc-utils/findmnt.8 create mode 100644 misc-utils/findmnt.c create mode 100644 misc-utils/findmnt.h create mode 100644 misc-utils/getopt-parse.bash create mode 100644 misc-utils/getopt-parse.tcsh create mode 100644 misc-utils/getopt.1 create mode 100644 misc-utils/getopt.c create mode 100644 misc-utils/kill.1 create mode 100644 misc-utils/kill.c create mode 100644 misc-utils/logger.1 create mode 100644 misc-utils/logger.c create mode 100644 misc-utils/look.1 create mode 100644 misc-utils/look.c create mode 100644 misc-utils/lsblk-mnt.c create mode 100644 misc-utils/lsblk-properties.c create mode 100644 misc-utils/lsblk.8 create mode 100644 misc-utils/lsblk.c create mode 100644 misc-utils/lsblk.h create mode 100644 misc-utils/lslocks.8 create mode 100644 misc-utils/lslocks.c create mode 100644 misc-utils/mcookie.1 create mode 100644 misc-utils/mcookie.c create mode 100644 misc-utils/namei.1 create mode 100644 misc-utils/namei.c create mode 100644 misc-utils/rename.1 create mode 100644 misc-utils/rename.c create mode 100644 misc-utils/test_uuidd.c create mode 100644 misc-utils/uuidd.8 create mode 100644 misc-utils/uuidd.8.in create mode 100644 misc-utils/uuidd.c create mode 100644 misc-utils/uuidd.rc.in create mode 100644 misc-utils/uuidd.service.in create mode 100644 misc-utils/uuidd.socket.in create mode 100644 misc-utils/uuidgen.1 create mode 100644 misc-utils/uuidgen.c create mode 100644 misc-utils/uuidparse.1 create mode 100644 misc-utils/uuidparse.c create mode 100644 misc-utils/whereis.1 create mode 100644 misc-utils/whereis.c create mode 100644 misc-utils/wipefs.8 create mode 100644 misc-utils/wipefs.c create mode 100644 po/Makefile.in.in create mode 100644 po/Makevars create mode 100644 po/POTFILES.in create mode 100644 po/Rules-quot create mode 100644 po/boldquot.sed create mode 100644 po/ca.gmo create mode 100644 po/ca.po create mode 100644 po/cs.gmo create mode 100644 po/cs.po create mode 100644 po/da.gmo create mode 100644 po/da.po create mode 100644 po/de.gmo create mode 100644 po/de.po create mode 100644 po/en@boldquot.header create mode 100644 po/en@quot.header create mode 100644 po/es.gmo create mode 100644 po/es.po create mode 100644 po/et.gmo create mode 100644 po/et.po create mode 100644 po/eu.gmo create mode 100644 po/eu.po create mode 100644 po/fi.gmo create mode 100644 po/fi.po create mode 100644 po/fr.gmo create mode 100644 po/fr.po create mode 100644 po/gl.gmo create mode 100644 po/gl.po create mode 100644 po/hr.gmo create mode 100644 po/hr.po create mode 100644 po/hu.gmo create mode 100644 po/hu.po create mode 100644 po/id.gmo create mode 100644 po/id.po create mode 100644 po/insert-header.sin create mode 100644 po/it.gmo create mode 100644 po/it.po create mode 100644 po/ja.gmo create mode 100644 po/ja.po create mode 100644 po/nl.gmo create mode 100644 po/nl.po create mode 100644 po/pl.gmo create mode 100644 po/pl.po create mode 100644 po/pt_BR.gmo create mode 100644 po/pt_BR.po create mode 100644 po/quot.sed create mode 100644 po/remove-potcdate.sin create mode 100644 po/ru.gmo create mode 100644 po/ru.po create mode 100644 po/sl.gmo create mode 100644 po/sl.po create mode 100644 po/stamp-po create mode 100644 po/sv.gmo create mode 100644 po/sv.po create mode 100644 po/tr.gmo create mode 100644 po/tr.po create mode 100644 po/uk.gmo create mode 100644 po/uk.po create mode 100755 po/update-potfiles create mode 100644 po/util-linux.pot create mode 100644 po/vi.gmo create mode 100644 po/vi.po create mode 100644 po/zh_CN.gmo create mode 100644 po/zh_CN.po create mode 100644 po/zh_TW.gmo create mode 100644 po/zh_TW.po create mode 100644 schedutils/Makemodule.am create mode 100644 schedutils/chrt.1 create mode 100644 schedutils/chrt.c create mode 100644 schedutils/ionice.1 create mode 100644 schedutils/ionice.c create mode 100644 schedutils/taskset.1 create mode 100644 schedutils/taskset.c create mode 100644 sys-utils/Makemodule.am create mode 100644 sys-utils/adjtime_config.5 create mode 100644 sys-utils/blkdiscard.8 create mode 100644 sys-utils/blkdiscard.c create mode 100644 sys-utils/blkzone.8 create mode 100644 sys-utils/blkzone.c create mode 100644 sys-utils/chcpu.8 create mode 100644 sys-utils/chcpu.c create mode 100644 sys-utils/chmem.8 create mode 100644 sys-utils/chmem.c create mode 100644 sys-utils/choom.1 create mode 100644 sys-utils/choom.c create mode 100644 sys-utils/ctrlaltdel.8 create mode 100644 sys-utils/ctrlaltdel.c create mode 100644 sys-utils/dmesg.1 create mode 100644 sys-utils/dmesg.c create mode 100644 sys-utils/eject.1 create mode 100644 sys-utils/eject.c create mode 100644 sys-utils/fallocate.1 create mode 100644 sys-utils/fallocate.c create mode 100644 sys-utils/flock.1 create mode 100644 sys-utils/flock.c create mode 100644 sys-utils/fsfreeze.8 create mode 100644 sys-utils/fsfreeze.c create mode 100644 sys-utils/fstab.5 create mode 100644 sys-utils/fstrim.8 create mode 100644 sys-utils/fstrim.c create mode 100644 sys-utils/fstrim.service.in create mode 100644 sys-utils/fstrim.timer create mode 100644 sys-utils/hwclock-cmos.c create mode 100644 sys-utils/hwclock-rtc.c create mode 100644 sys-utils/hwclock.8 create mode 100644 sys-utils/hwclock.8.in create mode 100644 sys-utils/hwclock.c create mode 100644 sys-utils/hwclock.h create mode 100644 sys-utils/ipcmk.1 create mode 100644 sys-utils/ipcmk.c create mode 100644 sys-utils/ipcrm.1 create mode 100644 sys-utils/ipcrm.c create mode 100644 sys-utils/ipcs.1 create mode 100644 sys-utils/ipcs.c create mode 100644 sys-utils/ipcutils.c create mode 100644 sys-utils/ipcutils.h create mode 100644 sys-utils/ldattach.8 create mode 100644 sys-utils/ldattach.c create mode 100644 sys-utils/losetup.8 create mode 100644 sys-utils/losetup.c create mode 100644 sys-utils/lscpu-arm.c create mode 100644 sys-utils/lscpu-dmi.c create mode 100644 sys-utils/lscpu.1 create mode 100644 sys-utils/lscpu.c create mode 100644 sys-utils/lscpu.h create mode 100644 sys-utils/lsipc.1 create mode 100644 sys-utils/lsipc.c create mode 100644 sys-utils/lsmem.1 create mode 100644 sys-utils/lsmem.c create mode 100644 sys-utils/lsns.8 create mode 100644 sys-utils/lsns.c create mode 100644 sys-utils/mount.8 create mode 100644 sys-utils/mount.c create mode 100644 sys-utils/mountpoint.1 create mode 100644 sys-utils/mountpoint.c create mode 100644 sys-utils/nsenter.1 create mode 100644 sys-utils/nsenter.c create mode 100644 sys-utils/pivot_root.8 create mode 100644 sys-utils/pivot_root.c create mode 100644 sys-utils/prlimit.1 create mode 100644 sys-utils/prlimit.c create mode 100644 sys-utils/readprofile.8 create mode 100644 sys-utils/readprofile.c create mode 100644 sys-utils/renice.1 create mode 100644 sys-utils/renice.c create mode 100644 sys-utils/rfkill.8 create mode 100644 sys-utils/rfkill.c create mode 100644 sys-utils/rtcwake.8 create mode 100644 sys-utils/rtcwake.8.in create mode 100644 sys-utils/rtcwake.c create mode 100644 sys-utils/setarch.8 create mode 100644 sys-utils/setarch.c create mode 100644 sys-utils/setpriv.1 create mode 100644 sys-utils/setpriv.c create mode 100644 sys-utils/setsid.1 create mode 100644 sys-utils/setsid.c create mode 100644 sys-utils/swapoff.8 create mode 100644 sys-utils/swapoff.c create mode 100644 sys-utils/swapon-common.c create mode 100644 sys-utils/swapon-common.h create mode 100644 sys-utils/swapon.8 create mode 100644 sys-utils/swapon.c create mode 100644 sys-utils/switch_root.8 create mode 100644 sys-utils/switch_root.c create mode 100644 sys-utils/tunelp.8 create mode 100644 sys-utils/tunelp.c create mode 100644 sys-utils/umount.8 create mode 100644 sys-utils/umount.c create mode 100644 sys-utils/unshare.1 create mode 100644 sys-utils/unshare.c create mode 100644 sys-utils/wdctl.8 create mode 100644 sys-utils/wdctl.c create mode 100644 sys-utils/zramctl.8 create mode 100644 sys-utils/zramctl.c create mode 100644 term-utils/Makemodule.am create mode 100644 term-utils/agetty.8 create mode 100644 term-utils/agetty.c create mode 100644 term-utils/mesg.1 create mode 100644 term-utils/mesg.c create mode 100644 term-utils/script.1 create mode 100644 term-utils/script.c create mode 100644 term-utils/scriptreplay.1 create mode 100644 term-utils/scriptreplay.c create mode 100644 term-utils/setterm.1 create mode 100644 term-utils/setterm.c create mode 100644 term-utils/ttymsg.c create mode 100644 term-utils/ttymsg.h create mode 100644 term-utils/wall.1 create mode 100644 term-utils/wall.c create mode 100644 term-utils/write.1 create mode 100644 term-utils/write.c create mode 100644 tests/Makemodule.am create mode 100644 tests/commands.sh create mode 100644 tests/expected/bitops/swapbytes create mode 100644 tests/expected/blkdiscard/offsets create mode 100644 tests/expected/blkid/dm-err create mode 100644 tests/expected/blkid/low-probe-adaptec-raid create mode 100644 tests/expected/blkid/low-probe-bcache-B create mode 100644 tests/expected/blkid/low-probe-bcache-C create mode 100644 tests/expected/blkid/low-probe-befs create mode 100644 tests/expected/blkid/low-probe-bfs create mode 100644 tests/expected/blkid/low-probe-cramfs create mode 100644 tests/expected/blkid/low-probe-ddf-raid create mode 100644 tests/expected/blkid/low-probe-drbdmanage-control-volume create mode 100644 tests/expected/blkid/low-probe-exfat create mode 100644 tests/expected/blkid/low-probe-ext2 create mode 100644 tests/expected/blkid/low-probe-ext3 create mode 100644 tests/expected/blkid/low-probe-f2fs create mode 100644 tests/expected/blkid/low-probe-fat create mode 100644 tests/expected/blkid/low-probe-fat16_noheads create mode 100644 tests/expected/blkid/low-probe-fat32_cp850_O_tilde create mode 100644 tests/expected/blkid/low-probe-fat32_label_64MB create mode 100644 tests/expected/blkid/low-probe-fat32_mkdosfs_label1 create mode 100644 tests/expected/blkid/low-probe-fat32_mkdosfs_label1_dosfslabel_NO_NAME create mode 100644 tests/expected/blkid/low-probe-fat32_mkdosfs_label1_dosfslabel_empty create mode 100644 tests/expected/blkid/low-probe-fat32_mkdosfs_label1_dosfslabel_label2 create mode 100644 tests/expected/blkid/low-probe-fat32_mkdosfs_label1_mlabel_NO_NAME create mode 100644 tests/expected/blkid/low-probe-fat32_mkdosfs_label1_mlabel_erase create mode 100644 tests/expected/blkid/low-probe-fat32_mkdosfs_label1_xp_erase create mode 100644 tests/expected/blkid/low-probe-fat32_mkdosfs_label1_xp_label2 create mode 100644 tests/expected/blkid/low-probe-fat32_mkdosfs_none create mode 100644 tests/expected/blkid/low-probe-fat32_mkdosfs_none_dosfslabel_NO_NAME create mode 100644 tests/expected/blkid/low-probe-fat32_mkdosfs_none_dosfslabel_label1 create mode 100644 tests/expected/blkid/low-probe-fat32_mkdosfs_none_dosfslabel_label1_xp_label2 create mode 100644 tests/expected/blkid/low-probe-fat32_mkdosfs_none_xp_label1 create mode 100644 tests/expected/blkid/low-probe-fat32_mkdosfs_none_xp_label1_dosfslabel_label2 create mode 100644 tests/expected/blkid/low-probe-fat32_xp_label1 create mode 100644 tests/expected/blkid/low-probe-fat32_xp_none create mode 100644 tests/expected/blkid/low-probe-fat32_xp_none_dosfslabel_label1 create mode 100644 tests/expected/blkid/low-probe-fat32_xp_none_mlabel_label1 create mode 100644 tests/expected/blkid/low-probe-gfs2 create mode 100644 tests/expected/blkid/low-probe-hfs create mode 100644 tests/expected/blkid/low-probe-hfsplus create mode 100644 tests/expected/blkid/low-probe-hpfs create mode 100644 tests/expected/blkid/low-probe-hpt37x-raid create mode 100644 tests/expected/blkid/low-probe-hpt45x-raid create mode 100644 tests/expected/blkid/low-probe-iso create mode 100644 tests/expected/blkid/low-probe-iso-joliet create mode 100644 tests/expected/blkid/low-probe-iso-rr-joliet create mode 100644 tests/expected/blkid/low-probe-isw-raid create mode 100644 tests/expected/blkid/low-probe-jbd create mode 100644 tests/expected/blkid/low-probe-jfs create mode 100644 tests/expected/blkid/low-probe-jmicron-raid create mode 100644 tests/expected/blkid/low-probe-lsi-raid create mode 100644 tests/expected/blkid/low-probe-luks1 create mode 100644 tests/expected/blkid/low-probe-luks2 create mode 100644 tests/expected/blkid/low-probe-lvm2 create mode 100644 tests/expected/blkid/low-probe-mdraid create mode 100644 tests/expected/blkid/low-probe-minix-BE create mode 100644 tests/expected/blkid/low-probe-minix-LE create mode 100644 tests/expected/blkid/low-probe-mpool create mode 100644 tests/expected/blkid/low-probe-netware create mode 100644 tests/expected/blkid/low-probe-nilfs2 create mode 100644 tests/expected/blkid/low-probe-ntfs create mode 100644 tests/expected/blkid/low-probe-nvidia-raid create mode 100644 tests/expected/blkid/low-probe-ocfs2 create mode 100644 tests/expected/blkid/low-probe-promise-raid create mode 100644 tests/expected/blkid/low-probe-reiser3 create mode 100644 tests/expected/blkid/low-probe-reiser4 create mode 100644 tests/expected/blkid/low-probe-romfs create mode 100644 tests/expected/blkid/low-probe-silicon-raid create mode 100644 tests/expected/blkid/low-probe-small-fat32 create mode 100644 tests/expected/blkid/low-probe-swap0 create mode 100644 tests/expected/blkid/low-probe-swap1 create mode 100644 tests/expected/blkid/low-probe-tuxonice create mode 100644 tests/expected/blkid/low-probe-ubi create mode 100644 tests/expected/blkid/low-probe-ubifs create mode 100644 tests/expected/blkid/low-probe-udf create mode 100644 tests/expected/blkid/low-probe-udf-bdr-2.60-nero create mode 100644 tests/expected/blkid/low-probe-udf-cd-mkudfiso-20100208 create mode 100644 tests/expected/blkid/low-probe-udf-cd-nero-6 create mode 100644 tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.0.0-1 create mode 100644 tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.0.0-2 create mode 100644 tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-1 create mode 100644 tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-2 create mode 100644 tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-3 create mode 100644 tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-4 create mode 100644 tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-5 create mode 100644 tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-6 create mode 100644 tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-7 create mode 100644 tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-8 create mode 100644 tests/expected/blkid/low-probe-udf-hdd-udfclient-0.7.5 create mode 100644 tests/expected/blkid/low-probe-udf-hdd-udfclient-0.7.7 create mode 100644 tests/expected/blkid/low-probe-udf-hdd-win7 create mode 100644 tests/expected/blkid/low-probe-ufs create mode 100644 tests/expected/blkid/low-probe-vdo create mode 100644 tests/expected/blkid/low-probe-via-raid create mode 100644 tests/expected/blkid/low-probe-vmfs create mode 100644 tests/expected/blkid/low-probe-vmfs_volume create mode 100644 tests/expected/blkid/low-probe-xfs create mode 100644 tests/expected/blkid/low-probe-xfs-log create mode 100644 tests/expected/blkid/low-probe-zfs create mode 100644 tests/expected/blkid/lowprobe-pt-atari-icd create mode 100644 tests/expected/blkid/lowprobe-pt-atari-xgm create mode 100644 tests/expected/blkid/lowprobe-pt-bsd create mode 100644 tests/expected/blkid/lowprobe-pt-dos+bsd create mode 100644 tests/expected/blkid/lowprobe-pt-gpt create mode 100644 tests/expected/blkid/lowprobe-pt-sgi create mode 100644 tests/expected/blkid/lowprobe-pt-sun create mode 100644 tests/expected/blkid/mbr-wholedisk-fake-vfat create mode 100644 tests/expected/blkid/md-raid0-whole create mode 100644 tests/expected/blkid/md-raid1-part create mode 100644 tests/expected/blkid/md-raid1-whole create mode 100644 tests/expected/build-sys/config-all create mode 100644 tests/expected/build-sys/config-all-devel create mode 100644 tests/expected/build-sys/config-all-non-nls create mode 100644 tests/expected/build-sys/config-audit create mode 100644 tests/expected/build-sys/config-chfnsh-libuser create mode 100644 tests/expected/build-sys/config-chfnsh-no-password create mode 100644 tests/expected/build-sys/config-chfnsh-pam create mode 100644 tests/expected/build-sys/config-core create mode 100644 tests/expected/build-sys/config-devel create mode 100644 tests/expected/build-sys/config-devel-new-mount create mode 100644 tests/expected/build-sys/config-devel-non-docs create mode 100644 tests/expected/build-sys/config-disable-all create mode 100644 tests/expected/build-sys/config-enable-schedutils create mode 100644 tests/expected/build-sys/config-non-libblkid create mode 100644 tests/expected/build-sys/config-non-libmount create mode 100644 tests/expected/build-sys/config-non-libs create mode 100644 tests/expected/build-sys/config-non-libsmartcols create mode 100644 tests/expected/build-sys/config-non-libuuid create mode 100644 tests/expected/build-sys/config-non-nls create mode 100644 tests/expected/build-sys/config-non-widechar create mode 100644 tests/expected/build-sys/config-selinux create mode 100644 tests/expected/build-sys/config-slang create mode 100644 tests/expected/build-sys/config-static create mode 100644 tests/expected/cal/bigyear-1m-month create mode 100644 tests/expected/cal/bigyear-1m-year create mode 100644 tests/expected/cal/bigyear-1mj-month create mode 100644 tests/expected/cal/bigyear-1mj-year create mode 100644 tests/expected/cal/bigyear-1mjw-month create mode 100644 tests/expected/cal/bigyear-1mjw-year create mode 100644 tests/expected/cal/bigyear-1mw-month create mode 100644 tests/expected/cal/bigyear-1mw-year create mode 100644 tests/expected/cal/bigyear-1s-month create mode 100644 tests/expected/cal/bigyear-1s-year create mode 100644 tests/expected/cal/bigyear-1sj-month create mode 100644 tests/expected/cal/bigyear-1sj-year create mode 100644 tests/expected/cal/bigyear-1sjw-month create mode 100644 tests/expected/cal/bigyear-1sjw-year create mode 100644 tests/expected/cal/bigyear-1sw-month create mode 100644 tests/expected/cal/bigyear-1sw-year create mode 100644 tests/expected/cal/bigyear-3m-month create mode 100644 tests/expected/cal/bigyear-3mj-month create mode 100644 tests/expected/cal/bigyear-3mjw-month create mode 100644 tests/expected/cal/bigyear-3mw-month create mode 100644 tests/expected/cal/bigyear-3s-month create mode 100644 tests/expected/cal/bigyear-3sj-month create mode 100644 tests/expected/cal/bigyear-3sjw-month create mode 100644 tests/expected/cal/bigyear-3sw-month create mode 100644 tests/expected/cal/color create mode 100644 tests/expected/cal/colorw create mode 100644 tests/expected/cal/jan1753-3w create mode 100644 tests/expected/cal/jan1753-m3w create mode 100644 tests/expected/cal/month-1m create mode 100644 tests/expected/cal/month-1mj create mode 100644 tests/expected/cal/month-1mjw create mode 100644 tests/expected/cal/month-1mw create mode 100644 tests/expected/cal/month-1s create mode 100644 tests/expected/cal/month-1sj create mode 100644 tests/expected/cal/month-1sjw create mode 100644 tests/expected/cal/month-1sw create mode 100644 tests/expected/cal/month-3m create mode 100644 tests/expected/cal/month-3mj create mode 100644 tests/expected/cal/month-3mjw create mode 100644 tests/expected/cal/month-3mw create mode 100644 tests/expected/cal/month-3s create mode 100644 tests/expected/cal/month-3sj create mode 100644 tests/expected/cal/month-3sjw create mode 100644 tests/expected/cal/month-3sw create mode 100644 tests/expected/cal/month-Sn201 create mode 100644 tests/expected/cal/month-Sn21 create mode 100644 tests/expected/cal/month-Sn3 create mode 100644 tests/expected/cal/month-Sn51 create mode 100644 tests/expected/cal/sep1752-1m-month create mode 100644 tests/expected/cal/sep1752-1m-year create mode 100644 tests/expected/cal/sep1752-1mj-month create mode 100644 tests/expected/cal/sep1752-1mj-year create mode 100644 tests/expected/cal/sep1752-1mjw-month create mode 100644 tests/expected/cal/sep1752-1mjw-year create mode 100644 tests/expected/cal/sep1752-1mw-month create mode 100644 tests/expected/cal/sep1752-1mw-year create mode 100644 tests/expected/cal/sep1752-1s-month create mode 100644 tests/expected/cal/sep1752-1s-year create mode 100644 tests/expected/cal/sep1752-1sj-month create mode 100644 tests/expected/cal/sep1752-1sj-year create mode 100644 tests/expected/cal/sep1752-1sjw-month create mode 100644 tests/expected/cal/sep1752-1sjw-year create mode 100644 tests/expected/cal/sep1752-1sw-month create mode 100644 tests/expected/cal/sep1752-1sw-year create mode 100644 tests/expected/cal/sep1752-3m-month create mode 100644 tests/expected/cal/sep1752-3mj-month create mode 100644 tests/expected/cal/sep1752-3mjw-month create mode 100644 tests/expected/cal/sep1752-3mw-month create mode 100644 tests/expected/cal/sep1752-3s-month create mode 100644 tests/expected/cal/sep1752-3sj-month create mode 100644 tests/expected/cal/sep1752-3sjw-month create mode 100644 tests/expected/cal/sep1752-3sw-month create mode 100644 tests/expected/cal/sep1752-week-iso create mode 100644 tests/expected/cal/weekarg-1m-week53 create mode 100644 tests/expected/cal/weekarg-1m-week53-color create mode 100644 tests/expected/cal/weekarg-1mj-week53 create mode 100644 tests/expected/cal/weekarg-1mj-week53-color create mode 100644 tests/expected/cal/weekarg-3m-week40 create mode 100644 tests/expected/cal/weekarg-3m-week40-color create mode 100644 tests/expected/cal/weekarg-3m-week52-color create mode 100644 tests/expected/cal/weekarg-3m-week53-color create mode 100644 tests/expected/cal/weekarg-3mj-week40 create mode 100644 tests/expected/cal/weekarg-3mj-week40-color create mode 100644 tests/expected/cal/weekarg-3s-week40 create mode 100644 tests/expected/cal/weekarg-3s-week54-color create mode 100644 tests/expected/cal/weekarg-3sj-week40 create mode 100644 tests/expected/cal/weekarg-m-week40 create mode 100644 tests/expected/cal/weekarg-mj-week40 create mode 100644 tests/expected/cal/weekarg-s-week40 create mode 100644 tests/expected/cal/weekarg-sj-week40 create mode 100644 tests/expected/cal/weeknum create mode 100644 tests/expected/cal/weeknum-3mjw create mode 100644 tests/expected/cal/weeknum-3mw create mode 100644 tests/expected/cal/weeknum-3sjw create mode 100644 tests/expected/cal/weeknum-3sw create mode 100644 tests/expected/cal/weeknum-ymjw create mode 100644 tests/expected/cal/weeknum-ymw create mode 100644 tests/expected/cal/weeknum-ysjw create mode 100644 tests/expected/cal/weeknum-ysw create mode 100644 tests/expected/cal/year-ym create mode 100644 tests/expected/cal/year-ymj create mode 100644 tests/expected/cal/year-ymjw create mode 100644 tests/expected/cal/year-ymw create mode 100644 tests/expected/cal/year-ys create mode 100644 tests/expected/cal/year-ysj create mode 100644 tests/expected/cal/year-ysjw create mode 100644 tests/expected/cal/year-ysw create mode 100644 tests/expected/col/multibyte create mode 100644 tests/expected/colcrt/functional-half-lines create mode 100644 tests/expected/colcrt/functional-no-options create mode 100644 tests/expected/colcrt/functional-no-underlining create mode 100644 tests/expected/colcrt/functional-short-options create mode 100644 tests/expected/colcrt/regressions-crash1 create mode 100644 tests/expected/colcrt/regressions-crash2 create mode 100644 tests/expected/colcrt/regressions-hang1 create mode 100644 tests/expected/colrm/rm2-2 create mode 100644 tests/expected/column/columnate create mode 100644 tests/expected/column/columnate-fill-cols-250 create mode 100644 tests/expected/column/columnate-fill-cols-50 create mode 100644 tests/expected/column/columnate-fill-cols-80 create mode 100644 tests/expected/column/columnate-fill-rows-250 create mode 100644 tests/expected/column/columnate-fill-rows-50 create mode 100644 tests/expected/column/columnate-fill-rows-80 create mode 100644 tests/expected/column/invalid-multibyte create mode 100644 tests/expected/column/multi-file create mode 100644 tests/expected/column/separator_table create mode 100644 tests/expected/column/table create mode 100644 tests/expected/column/table-default create mode 100644 tests/expected/column/table-empty-column create mode 100644 tests/expected/column/table-empty-lines create mode 100644 tests/expected/column/table-headers create mode 100644 tests/expected/column/table-hide create mode 100644 tests/expected/column/table-input-separator create mode 100644 tests/expected/column/table-input-separator-space create mode 100644 tests/expected/column/table-long create mode 100644 tests/expected/column/table-noempty-lines create mode 100644 tests/expected/column/table-order create mode 100644 tests/expected/column/table-output-separator create mode 100644 tests/expected/column/table-right create mode 100644 tests/expected/column/table-tree create mode 100644 tests/expected/column/table-truncate create mode 100644 tests/expected/column/table-wrap create mode 100644 tests/expected/cramfs/doubles create mode 100644 tests/expected/cramfs/fsck-bad-header-nopad-4K-be create mode 100644 tests/expected/cramfs/fsck-bad-header-nopad-4K-le create mode 100644 tests/expected/cramfs/fsck-bad-header-pad-4K-be create mode 100644 tests/expected/cramfs/fsck-bad-header-pad-4K-le create mode 100644 tests/expected/cramfs/fsck-bad-header-pad-64K-be create mode 100644 tests/expected/cramfs/fsck-bad-header-pad-64K-le create mode 100644 tests/expected/cramfs/fsck-endianness create mode 100644 tests/expected/cramfs/mkfs create mode 100644 tests/expected/cramfs/mkfs-endianness create mode 100644 tests/expected/dmesg/colors create mode 100644 tests/expected/dmesg/console-levels create mode 100644 tests/expected/dmesg/decode create mode 100644 tests/expected/dmesg/delta create mode 100644 tests/expected/dmesg/facilities create mode 100644 tests/expected/dmesg/indentation create mode 100644 tests/expected/eject/umount-by-disk create mode 100644 tests/expected/eject/umount-by-disk-mounted create mode 100644 tests/expected/eject/umount-by-disk-mounted-partition create mode 100644 tests/expected/eject/umount-by-partition create mode 100644 tests/expected/eject/umount-by-partition-mounted create mode 100644 tests/expected/fdisk/align-512-4K create mode 100644 tests/expected/fdisk/align-512-4K-63 create mode 100644 tests/expected/fdisk/align-512-4K-md create mode 100644 tests/expected/fdisk/align-512-512 create mode 100644 tests/expected/fdisk/align-512-512-topology create mode 100644 tests/expected/fdisk/bsd_0_64.BE create mode 100644 tests/expected/fdisk/bsd_0_64.LE create mode 100644 tests/expected/fdisk/bsd_0_64_alpha.LE create mode 100644 tests/expected/fdisk/bsd_1_0.BE create mode 100644 tests/expected/fdisk/bsd_1_0.LE create mode 100644 tests/expected/fdisk/gpt create mode 100644 tests/expected/fdisk/gpt-resize create mode 100644 tests/expected/fdisk/id create mode 100644 tests/expected/fdisk/id.sparc create mode 100644 tests/expected/fdisk/mbr-dos-mode create mode 100644 tests/expected/fdisk/mbr-nondos-mode create mode 100644 tests/expected/fdisk/mbr-nondos-mode.sparc create mode 100644 tests/expected/fdisk/mbr-sort create mode 100644 tests/expected/fdisk/oddinput create mode 100644 tests/expected/fdisk/oddinput.toosmall create mode 100644 tests/expected/fdisk/sunlabel create mode 100644 tests/expected/fincore/count.4096 create mode 100644 tests/expected/fincore/count.65536 create mode 100644 tests/expected/fincore/count.nosize create mode 100644 tests/expected/findmnt/filter-options create mode 100644 tests/expected/findmnt/filter-options-name create mode 100644 tests/expected/findmnt/filter-options-nameval create mode 100644 tests/expected/findmnt/filter-options-nameval-multi create mode 100644 tests/expected/findmnt/filter-options-nameval-neg create mode 100644 tests/expected/findmnt/filter-options-neg create mode 100644 tests/expected/findmnt/filter-options-no create mode 100644 tests/expected/findmnt/filter-options-no-multi create mode 100644 tests/expected/findmnt/filter-types create mode 100644 tests/expected/findmnt/filter-types-multi create mode 100644 tests/expected/findmnt/filter-types-neg create mode 100644 tests/expected/findmnt/outputs-default create mode 100644 tests/expected/findmnt/outputs-force-tree create mode 100644 tests/expected/findmnt/outputs-kernel create mode 100644 tests/expected/findmnt/outputs-messy-mountinfo create mode 100644 tests/expected/findmnt/outputs-submounts create mode 100644 tests/expected/findmnt/target-non-root create mode 100644 tests/expected/findmnt/target-root create mode 100644 tests/expected/fsck/ismounted create mode 100644 tests/expected/getopt/basic create mode 100644 tests/expected/getopt/options-alternative_option_clash create mode 100644 tests/expected/getopt/options-alternative_option_long create mode 100644 tests/expected/getopt/options-alternative_option_short create mode 100644 tests/expected/getopt/options-compatible create mode 100644 tests/expected/getopt/options-csh create mode 100644 tests/expected/getopt/options-invalid_getopt_option create mode 100644 tests/expected/getopt/options-invocation_model_one create mode 100644 tests/expected/getopt/options-invocation_model_three_as_one create mode 100644 tests/expected/getopt/options-invocation_model_two_as_one create mode 100644 tests/expected/getopt/options-invocation_without_parameters create mode 100644 tests/expected/getopt/options-long_option_ambiguous_1 create mode 100644 tests/expected/getopt/options-longopts create mode 100644 tests/expected/getopt/options-name_option_long create mode 100644 tests/expected/getopt/options-name_option_short create mode 100644 tests/expected/getopt/options-no-arguments create mode 100644 tests/expected/getopt/options-non-option create mode 100644 tests/expected/getopt/options-posix_correctly create mode 100644 tests/expected/getopt/options-quiet_option_long create mode 100644 tests/expected/getopt/options-quiet_option_short create mode 100644 tests/expected/getopt/options-quiet_output_option_long create mode 100644 tests/expected/getopt/options-quiet_output_option_short create mode 100644 tests/expected/getopt/options-same_long_short_options create mode 100644 tests/expected/getopt/options-sh create mode 100644 tests/expected/getopt/options-test_for_enhanced_getopt create mode 100644 tests/expected/getopt/options-unknown_options create mode 100644 tests/expected/getopt/options-unquoted_option_bash create mode 100644 tests/expected/getopt/options-unquoted_option_tcsh create mode 100644 tests/expected/getopt/options-weird_quoting_bash create mode 100644 tests/expected/getopt/options-weird_quoting_tcsh create mode 100644 tests/expected/hexdump/format-strings-1b_char create mode 100644 tests/expected/hexdump/format-strings-1b_octal create mode 100644 tests/expected/hexdump/format-strings-2b_dec create mode 100644 tests/expected/hexdump/format-strings-2b_dec.BE create mode 100644 tests/expected/hexdump/format-strings-2b_hex create mode 100644 tests/expected/hexdump/format-strings-2b_hex.BE create mode 100644 tests/expected/hexdump/format-strings-2b_octal create mode 100644 tests/expected/hexdump/format-strings-2b_octal.BE create mode 100644 tests/expected/hexdump/format-strings-canon create mode 100644 tests/expected/hexdump/format-strings-empty-format create mode 100644 tests/expected/hexdump/format-strings-empty-format.BE create mode 100644 tests/expected/hexdump/highlighting-1b_char-1 create mode 100644 tests/expected/hexdump/highlighting-1b_char-2 create mode 100644 tests/expected/hexdump/highlighting-1b_char-3 create mode 100644 tests/expected/hexdump/highlighting-1b_octal-1 create mode 100644 tests/expected/hexdump/highlighting-1b_octal-2 create mode 100644 tests/expected/hexdump/highlighting-1b_octal-2.BE create mode 100644 tests/expected/hexdump/highlighting-1b_octal-3 create mode 100644 tests/expected/hexdump/highlighting-1b_octal-4 create mode 100644 tests/expected/hexdump/highlighting-1b_octal-4.BE create mode 100644 tests/expected/hexdump/highlighting-1b_octal-5 create mode 100644 tests/expected/hexdump/highlighting-1b_octal-5.BE create mode 100644 tests/expected/hexdump/highlighting-1b_octal-6 create mode 100644 tests/expected/hexdump/highlighting-1b_octal-7 create mode 100644 tests/expected/hexdump/highlighting-1b_octal-7.BE create mode 100644 tests/expected/hexdump/highlighting-1b_octal-8 create mode 100644 tests/expected/hexdump/highlighting-1b_octal-8.BE create mode 100644 tests/expected/hexdump/highlighting-1b_octal-9 create mode 100644 tests/expected/hexdump/highlighting-1b_octal-9.BE create mode 100644 tests/expected/hexdump/highlighting-2b_dec-1 create mode 100644 tests/expected/hexdump/highlighting-2b_dec-1.BE create mode 100644 tests/expected/hexdump/highlighting-2b_dec-2 create mode 100644 tests/expected/hexdump/highlighting-2b_dec-2.BE create mode 100644 tests/expected/hexdump/highlighting-2b_dec-3 create mode 100644 tests/expected/hexdump/highlighting-2b_dec-3.BE create mode 100644 tests/expected/hexdump/highlighting-2b_dec-4 create mode 100644 tests/expected/hexdump/highlighting-2b_dec-4.BE create mode 100644 tests/expected/hexdump/highlighting-2b_dec-5 create mode 100644 tests/expected/hexdump/highlighting-2b_dec-5.BE create mode 100644 tests/expected/hexdump/highlighting-2b_dec-6 create mode 100644 tests/expected/hexdump/highlighting-2b_dec-7 create mode 100644 tests/expected/hexdump/highlighting-2b_dec-8 create mode 100644 tests/expected/hexdump/highlighting-2b_dec-8.BE create mode 100644 tests/expected/hexdump/highlighting-4b_dec-1 create mode 100644 tests/expected/hexdump/highlighting-4b_dec-1.BE create mode 100644 tests/expected/hexdump/highlighting-4b_dec-2 create mode 100644 tests/expected/hexdump/highlighting-4b_dec-2.BE create mode 100644 tests/expected/hexdump/highlighting-4b_dec-3 create mode 100644 tests/expected/hexdump/highlighting-4b_dec-3.BE create mode 100644 tests/expected/hexdump/highlighting-4b_dec-4 create mode 100644 tests/expected/hexdump/highlighting-4b_dec-4.BE create mode 100644 tests/expected/hexdump/highlighting-4b_dec-5 create mode 100644 tests/expected/hexdump/highlighting-4b_dec-6 create mode 100644 tests/expected/hexdump/highlighting-4b_dec-6.BE create mode 100644 tests/expected/hexdump/highlighting-4b_dec-7 create mode 100644 tests/expected/hexdump/highlighting-4b_dec-7.BE create mode 100644 tests/expected/hexdump/highlighting-canon-1 create mode 100644 tests/expected/hexdump/highlighting-canon-1.BE create mode 100644 tests/expected/hexdump/highlighting-canon-2 create mode 100644 tests/expected/ipcs/headers create mode 100644 tests/expected/ipcs/limits create mode 100644 tests/expected/ipcs/limits2 create mode 100644 tests/expected/ipcs/mk-rm-msg create mode 100644 tests/expected/ipcs/mk-rm-sem create mode 100644 tests/expected/ipcs/mk-rm-shm create mode 100644 tests/expected/isosize/print-size-default_output create mode 100644 tests/expected/isosize/print-size-divisor_output create mode 100644 tests/expected/isosize/print-size-sector_output create mode 100644 tests/expected/kill/all_processes create mode 100644 tests/expected/kill/name_to_number create mode 100644 tests/expected/kill/options create mode 100644 tests/expected/kill/print_pid create mode 100644 tests/expected/kill/queue create mode 100644 tests/expected/libfdisk/gpt-all-defaults create mode 100644 tests/expected/libfdisk/gpt-all-defaults-with-typo create mode 100644 tests/expected/libfdisk/gpt-getattr create mode 100644 tests/expected/libfdisk/gpt-setattr create mode 100644 tests/expected/libfdisk/mkpart create mode 100644 tests/expected/libfdisk/mkpart-full create mode 100644 tests/expected/libfdisk/mkpart-full-gpt create mode 100644 tests/expected/libfdisk/mkpart-full-gpt-err-overlap create mode 100644 tests/expected/libfdisk/mkpart-full-gpt-nopartno create mode 100644 tests/expected/libfdisk/mkpart-full-gpt-partno-gap create mode 100644 tests/expected/libfdisk/mkpart-full-gpt-space-gap create mode 100644 tests/expected/libfdisk/mkpart-full-mbr-err-logical create mode 100644 tests/expected/libfdisk/mkpart-full-mbr-err-nospace create mode 100644 tests/expected/libfdisk/mkpart-full-mbr-err-primary create mode 100644 tests/expected/libfdisk/mkpart-full-mbr-logical create mode 100644 tests/expected/libfdisk/mkpart-full-mbr-nopartno create mode 100644 tests/expected/libfdisk/mkpart-full-mbr-partno-gap create mode 100644 tests/expected/libfdisk/mkpart-full-mbr-primary create mode 100644 tests/expected/libfdisk/mkpart-full-mbr-primary-nopartno create mode 100644 tests/expected/libfdisk/mkpart-full-mbr-space-gap create mode 100644 tests/expected/libfdisk/mkpart-gpt create mode 100644 tests/expected/libfdisk/mkpart-mbr create mode 100644 tests/expected/libfdisk/mkpart-mbr-logic create mode 100644 tests/expected/libfdisk/mkpart-mbr-nopartno create mode 100644 tests/expected/libmount/context create mode 100644 tests/expected/libmount/context-X-mount.mkdir create mode 100644 tests/expected/libmount/context-mount-by-devname create mode 100644 tests/expected/libmount/context-mount-by-label create mode 100644 tests/expected/libmount/context-mount-by-uuid create mode 100644 tests/expected/libmount/context-mount-flags create mode 100644 tests/expected/libmount/context-mount-loopdev create mode 100644 tests/expected/libmount/context-py create mode 100644 tests/expected/libmount/context-py-mount-by-devname create mode 100644 tests/expected/libmount/context-py-mount-by-label create mode 100644 tests/expected/libmount/context-py-mount-by-uuid create mode 100644 tests/expected/libmount/context-py-mount-flags create mode 100644 tests/expected/libmount/context-py-mount-loopdev create mode 100644 tests/expected/libmount/context-py-umount-by-devname create mode 100644 tests/expected/libmount/context-py-umount-by-mountpoint create mode 100644 tests/expected/libmount/context-py-x-mount.mkdir create mode 100644 tests/expected/libmount/context-umount-by-devname create mode 100644 tests/expected/libmount/context-umount-by-mountpoint create mode 100644 tests/expected/libmount/context-utab create mode 100644 tests/expected/libmount/context-utab-mount-by-devname create mode 100644 tests/expected/libmount/context-utab-mount-uhelper create mode 100644 tests/expected/libmount/context-utab-mount-uhelper-subvol create mode 100644 tests/expected/libmount/context-utab-py create mode 100644 tests/expected/libmount/context-utab-py-mount-by-devname create mode 100644 tests/expected/libmount/context-utab-py-mount-uhelper create mode 100644 tests/expected/libmount/context-utab-py-mount-uhelper-subvol create mode 100644 tests/expected/libmount/context-utab-py-umount create mode 100644 tests/expected/libmount/context-utab-py-umount-by-devname create mode 100644 tests/expected/libmount/context-utab-py-umount-subvol create mode 100644 tests/expected/libmount/context-utab-umount create mode 100644 tests/expected/libmount/context-utab-umount-by-devname create mode 100644 tests/expected/libmount/context-utab-umount-subvol create mode 100644 tests/expected/libmount/context-x-mount.mkdir create mode 100644 tests/expected/libmount/debug-set-from-code create mode 100644 tests/expected/libmount/debug-set-from-env-int create mode 100644 tests/expected/libmount/debug-set-from-env-str create mode 100644 tests/expected/libmount/lock create mode 100644 tests/expected/libmount/loop create mode 100644 tests/expected/libmount/loop-conflict create mode 100644 tests/expected/libmount/loop-dev-loop create mode 100644 tests/expected/libmount/loop-file create mode 100644 tests/expected/libmount/loop-file-o-loop create mode 100644 tests/expected/libmount/loop-o-loop-val create mode 100644 tests/expected/libmount/loop-o-loop-val-conflict create mode 100644 tests/expected/libmount/loop-o-loop-val-initialized create mode 100644 tests/expected/libmount/loop-overlay create mode 100644 tests/expected/libmount/loop-reuse create mode 100644 tests/expected/libmount/optstr-append create mode 100644 tests/expected/libmount/optstr-append-empty-value create mode 100644 tests/expected/libmount/optstr-append-value create mode 100644 tests/expected/libmount/optstr-apply-linux create mode 100644 tests/expected/libmount/optstr-apply-user create mode 100644 tests/expected/libmount/optstr-deduplicate create mode 100644 tests/expected/libmount/optstr-deduplicate-empty create mode 100644 tests/expected/libmount/optstr-fix create mode 100644 tests/expected/libmount/optstr-flags create mode 100644 tests/expected/libmount/optstr-get create mode 100644 tests/expected/libmount/optstr-get-value create mode 100644 tests/expected/libmount/optstr-prepend create mode 100644 tests/expected/libmount/optstr-prepend-empty-value create mode 100644 tests/expected/libmount/optstr-prepend-value create mode 100644 tests/expected/libmount/optstr-remove create mode 100644 tests/expected/libmount/optstr-remove-empty-value create mode 100644 tests/expected/libmount/optstr-remove-quoted create mode 100644 tests/expected/libmount/optstr-remove-value create mode 100644 tests/expected/libmount/optstr-set-empty create mode 100644 tests/expected/libmount/optstr-set-large create mode 100644 tests/expected/libmount/optstr-set-new create mode 100644 tests/expected/libmount/optstr-set-new-empty create mode 100644 tests/expected/libmount/optstr-set-new-end create mode 100644 tests/expected/libmount/optstr-set-new-end-empty create mode 100644 tests/expected/libmount/optstr-set-remove create mode 100644 tests/expected/libmount/optstr-set-small create mode 100644 tests/expected/libmount/optstr-split create mode 100644 tests/expected/libmount/tabdiff-mount create mode 100644 tests/expected/libmount/tabdiff-move create mode 100644 tests/expected/libmount/tabdiff-remount create mode 100644 tests/expected/libmount/tabdiff-umount create mode 100644 tests/expected/libmount/tabfiles-copy create mode 100644 tests/expected/libmount/tabfiles-find-pair create mode 100644 tests/expected/libmount/tabfiles-find-source create mode 100644 tests/expected/libmount/tabfiles-find-target create mode 100644 tests/expected/libmount/tabfiles-find-target2 create mode 100644 tests/expected/libmount/tabfiles-find-target3 create mode 100644 tests/expected/libmount/tabfiles-parse-fstab create mode 100644 tests/expected/libmount/tabfiles-parse-fstab-broken create mode 100644 tests/expected/libmount/tabfiles-parse-fstab-full create mode 100644 tests/expected/libmount/tabfiles-parse-mountinfo create mode 100644 tests/expected/libmount/tabfiles-parse-mountinfo-nosrc create mode 100644 tests/expected/libmount/tabfiles-parse-mtab create mode 100644 tests/expected/libmount/tabfiles-parse-swaps create mode 100644 tests/expected/libmount/tabfiles-py-copy create mode 100644 tests/expected/libmount/tabfiles-py-find-pair create mode 100644 tests/expected/libmount/tabfiles-py-find-source create mode 100644 tests/expected/libmount/tabfiles-py-find-target create mode 100644 tests/expected/libmount/tabfiles-py-find-target2 create mode 100644 tests/expected/libmount/tabfiles-py-find-target3 create mode 100644 tests/expected/libmount/tabfiles-py-parse-fstab create mode 100644 tests/expected/libmount/tabfiles-py-parse-fstab-broken create mode 100644 tests/expected/libmount/tabfiles-py-parse-fstab-full create mode 100644 tests/expected/libmount/tabfiles-py-parse-mountinfo create mode 100644 tests/expected/libmount/tabfiles-py-parse-mtab create mode 100644 tests/expected/libmount/tabfiles-tags-fstab-dev create mode 100644 tests/expected/libmount/tabfiles-tags-fstab-dev2label create mode 100644 tests/expected/libmount/tabfiles-tags-fstab-label create mode 100644 tests/expected/libmount/tabfiles-tags-fstab-label2dev create mode 100644 tests/expected/libmount/tabfiles-tags-fstab-label2uuid create mode 100644 tests/expected/libmount/tabfiles-tags-fstab-uuid create mode 100644 tests/expected/libmount/tabfiles-tags-py-fstab-dev create mode 100644 tests/expected/libmount/tabfiles-tags-py-fstab-dev2label create mode 100644 tests/expected/libmount/tabfiles-tags-py-fstab-label create mode 100644 tests/expected/libmount/tabfiles-tags-py-fstab-label2dev create mode 100644 tests/expected/libmount/tabfiles-tags-py-fstab-label2uuid create mode 100644 tests/expected/libmount/tabfiles-tags-py-fstab-uuid create mode 100644 tests/expected/libmount/update-fstab-add create mode 100644 tests/expected/libmount/update-fstab-replace create mode 100644 tests/expected/libmount/update-mtab-mount create mode 100644 tests/expected/libmount/update-mtab-move create mode 100644 tests/expected/libmount/update-mtab-remount create mode 100644 tests/expected/libmount/update-mtab-umount create mode 100644 tests/expected/libmount/update-py-fstab-replace create mode 100644 tests/expected/libmount/update-utab-mount create mode 100644 tests/expected/libmount/update-utab-move create mode 100644 tests/expected/libmount/update-utab-remount create mode 100644 tests/expected/libmount/update-utab-umount create mode 100644 tests/expected/libmount/utils-ends-with create mode 100644 tests/expected/libmount/utils-kernel-cmdline create mode 100644 tests/expected/libmount/utils-match-fstype create mode 100644 tests/expected/libmount/utils-match-fstype-neg create mode 100644 tests/expected/libmount/utils-match-fstype-neg2 create mode 100644 tests/expected/libmount/utils-match-options create mode 100644 tests/expected/libmount/utils-match-options-list create mode 100644 tests/expected/libmount/utils-match-options-neg create mode 100644 tests/expected/libmount/utils-match-options-neg-list create mode 100644 tests/expected/libmount/utils-match-options-neg-list2 create mode 100644 tests/expected/libmount/utils-mountpoint create mode 100644 tests/expected/libmount/utils-mountpoint-root create mode 100644 tests/expected/libmount/utils-mountpoint-subdir create mode 100644 tests/expected/libmount/utils-starts-with create mode 100644 tests/expected/libsmartcols/fromfile create mode 100644 tests/expected/libsmartcols/fromfile-column-separator create mode 100644 tests/expected/libsmartcols/fromfile-export create mode 100644 tests/expected/libsmartcols/fromfile-hidden create mode 100644 tests/expected/libsmartcols/fromfile-noextremes create mode 100644 tests/expected/libsmartcols/fromfile-raw create mode 100644 tests/expected/libsmartcols/fromfile-right create mode 100644 tests/expected/libsmartcols/fromfile-right-maxout create mode 100644 tests/expected/libsmartcols/fromfile-strictwidth create mode 100644 tests/expected/libsmartcols/fromfile-tree create mode 100644 tests/expected/libsmartcols/fromfile-tree-end create mode 100644 tests/expected/libsmartcols/fromfile-tree-json create mode 100644 tests/expected/libsmartcols/fromfile-tree-middle create mode 100644 tests/expected/libsmartcols/fromfile-trunc create mode 100644 tests/expected/libsmartcols/fromfile-wrap create mode 100644 tests/expected/libsmartcols/fromfile-wrap-tree create mode 100644 tests/expected/libsmartcols/fromfile-wrapnl create mode 100644 tests/expected/libsmartcols/fromfile-wrapnl-tree create mode 100644 tests/expected/libsmartcols/title create mode 100644 tests/expected/logger/errors-check_socket create mode 100644 tests/expected/logger/errors-id_with_space create mode 100644 tests/expected/logger/errors-invalid_prio create mode 100644 tests/expected/logger/errors-invalid_socket create mode 100644 tests/expected/logger/errors-kern_priority create mode 100644 tests/expected/logger/errors-kern_priority_numeric create mode 100644 tests/expected/logger/errors-multi-line create mode 100644 tests/expected/logger/errors-rfc5424_exceed_size create mode 100644 tests/expected/logger/errors-rfc5424_msgid_with_space create mode 100644 tests/expected/logger/errors-tag_with_space create mode 100644 tests/expected/logger/errors-tcp create mode 100644 tests/expected/logger/formats-check_socket create mode 100644 tests/expected/logger/formats-octet_counting create mode 100644 tests/expected/logger/formats-priorities create mode 100644 tests/expected/logger/formats-rfc3164 create mode 100644 tests/expected/logger/formats-rfc5424_msgid create mode 100644 tests/expected/logger/formats-rfc5424_nohost create mode 100644 tests/expected/logger/formats-rfc5424_notime create mode 100644 tests/expected/logger/formats-rfc5424_simple create mode 100644 tests/expected/logger/input_empty_line create mode 100644 tests/expected/logger/input_prio_prefix create mode 100644 tests/expected/logger/input_simple create mode 100644 tests/expected/logger/journald create mode 100644 tests/expected/logger/options-check_socket create mode 100644 tests/expected/logger/options-input_file_empty_line create mode 100644 tests/expected/logger/options-input_file_prio_prefix create mode 100644 tests/expected/logger/options-input_file_simple create mode 100644 tests/expected/logger/options-input_file_skip_empty create mode 100644 tests/expected/logger/options-log_pid create mode 100644 tests/expected/logger/options-log_pid_define create mode 100644 tests/expected/logger/options-log_pid_long create mode 100644 tests/expected/logger/options-log_pid_no_arg create mode 100644 tests/expected/logger/options-simple create mode 100644 tests/expected/login/islocal create mode 100644 tests/expected/login/logindefs create mode 100644 tests/expected/look/separator create mode 100644 tests/expected/losetup/losetup-blkdev-offset create mode 100644 tests/expected/losetup/losetup-blkdev-section create mode 100644 tests/expected/losetup/losetup-blkdev-show create mode 100644 tests/expected/losetup/losetup-blkdev-sizelimit create mode 100644 tests/expected/losetup/losetup-file-offset create mode 100644 tests/expected/losetup/losetup-file-section create mode 100644 tests/expected/losetup/losetup-file-secton create mode 100644 tests/expected/losetup/losetup-file-show create mode 100644 tests/expected/losetup/losetup-file-sizelimit create mode 100644 tests/expected/losetup/losetup-loop create mode 100644 tests/expected/losetup/losetup-loop-find-conflict create mode 100644 tests/expected/losetup/losetup-loop-find-conflict-no-sizelimit create mode 100644 tests/expected/losetup/losetup-loop-find-conflict-readonly create mode 100644 tests/expected/losetup/losetup-loop-find-no-re-use create mode 100644 tests/expected/losetup/losetup-loop-find-ok-no-sizelimit create mode 100644 tests/expected/losetup/losetup-loop-find-race-condition create mode 100644 tests/expected/losetup/losetup-loop-find-re-use create mode 100644 tests/expected/losetup/losetup-loop-plain-conflict create mode 100644 tests/expected/losetup/losetup-loop-plain-re-use create mode 100644 tests/expected/losetup/losetup-loop-plain-readonly create mode 100644 tests/expected/lsblk/lsblk-simple-lvm-basic create mode 100644 tests/expected/lsblk/lsblk-simple-lvm-discard create mode 100644 tests/expected/lsblk/lsblk-simple-lvm-rw create mode 100644 tests/expected/lsblk/lsblk-simple-lvm-state create mode 100644 tests/expected/lsblk/lsblk-simple-lvm-topo create mode 100644 tests/expected/lsblk/lsblk-simple-lvm-vendor create mode 100644 tests/expected/lsblk/lsblk-simple-lvm-zone create mode 100644 tests/expected/lsblk/lsblk-simple-nvme-basic create mode 100644 tests/expected/lsblk/lsblk-simple-nvme-discard create mode 100644 tests/expected/lsblk/lsblk-simple-nvme-rw create mode 100644 tests/expected/lsblk/lsblk-simple-nvme-state create mode 100644 tests/expected/lsblk/lsblk-simple-nvme-topo create mode 100644 tests/expected/lsblk/lsblk-simple-nvme-vendor create mode 100644 tests/expected/lsblk/lsblk-simple-nvme-zone create mode 100644 tests/expected/lscpu/lscpu-armv7 create mode 100644 tests/expected/lscpu/lscpu-ppc-qemu create mode 100644 tests/expected/lscpu/lscpu-ppc64-POWER7 create mode 100644 tests/expected/lscpu/lscpu-ppc64-POWER7-64cpu create mode 100644 tests/expected/lscpu/lscpu-s390-kvm create mode 100644 tests/expected/lscpu/lscpu-s390-lpar create mode 100644 tests/expected/lscpu/lscpu-s390-lpar-drawer create mode 100644 tests/expected/lscpu/lscpu-s390-zvm create mode 100644 tests/expected/lscpu/lscpu-sparc64 create mode 100644 tests/expected/lscpu/lscpu-vbox-win create mode 100644 tests/expected/lscpu/lscpu-x86_64-64cpu create mode 100644 tests/expected/lscpu/lscpu-x86_64-dell_e4310 create mode 100644 tests/expected/lsmem/lsmem-s390-zvm-6g create mode 100644 tests/expected/lsmem/lsmem-x86_64-16g create mode 100644 tests/expected/lsns/netnsid create mode 100644 tests/expected/lsns/nsfs create mode 100644 tests/expected/md5/md5 create mode 100644 tests/expected/minix/fsck create mode 100644 tests/expected/minix/fsck-images-auto-fix create mode 100644 tests/expected/minix/fsck-images-badblocks create mode 100644 tests/expected/minix/fsck-images-badblocks.BE create mode 100644 tests/expected/minix/fsck-images-broken-root create mode 100644 tests/expected/minix/fsck-images-bug.773892 create mode 100644 tests/expected/minix/fsck-images-check-blocks create mode 100644 tests/expected/minix/fsck-images-check-blocks.BE create mode 100644 tests/expected/minix/fsck-images-v1c14 create mode 100644 tests/expected/minix/fsck-images-v1c14.BE create mode 100644 tests/expected/minix/fsck-images-v1c30 create mode 100644 tests/expected/minix/fsck-images-v1c30.BE create mode 100644 tests/expected/minix/fsck-images-v2c14 create mode 100644 tests/expected/minix/fsck-images-v2c14.BE create mode 100644 tests/expected/minix/fsck-images-v2c30 create mode 100644 tests/expected/minix/fsck-images-v2c30.BE create mode 100644 tests/expected/minix/fsck-images-v3c60 create mode 100644 tests/expected/minix/fsck-images-v3c60.BE create mode 100644 tests/expected/minix/mkfs-v1c14 create mode 100644 tests/expected/minix/mkfs-v1c30 create mode 100644 tests/expected/minix/mkfs-v2c14 create mode 100644 tests/expected/minix/mkfs-v2c30 create mode 100644 tests/expected/minix/mkfs-v2i65535 create mode 100644 tests/expected/minix/mkfs-v3c60 create mode 100644 tests/expected/misc/fallocate create mode 100644 tests/expected/misc/flock create mode 100644 tests/expected/misc/flock-exclusive create mode 100644 tests/expected/misc/flock-no-fork create mode 100644 tests/expected/misc/flock-non-block create mode 100644 tests/expected/misc/flock-shared create mode 100644 tests/expected/misc/flock-time-check create mode 100644 tests/expected/misc/flock-timeout create mode 100644 tests/expected/misc/ionice create mode 100644 tests/expected/misc/line create mode 100644 tests/expected/misc/mbsencode-invalid-ascii create mode 100644 tests/expected/misc/mbsencode-invalid-utf8 create mode 100644 tests/expected/misc/mbsencode-safe-ascii create mode 100644 tests/expected/misc/mbsencode-safe-utf8 create mode 100644 tests/expected/misc/mcookie create mode 100644 tests/expected/misc/rev create mode 100644 tests/expected/misc/setarch-options create mode 100644 tests/expected/misc/setarch-uname26 create mode 100644 tests/expected/misc/setarch-uname26-version create mode 100644 tests/expected/misc/setsid create mode 100644 tests/expected/misc/strtosize create mode 100644 tests/expected/misc/swaplabel create mode 100644 tests/expected/misc/ul create mode 100644 tests/expected/misc/whereis create mode 100644 tests/expected/more/regexp create mode 100644 tests/expected/more/squeeze create mode 100644 tests/expected/mount/devname create mode 100644 tests/expected/mount/fslists create mode 100644 tests/expected/mount/fslists-more-types create mode 100644 tests/expected/mount/fslists-more-types-fstab create mode 100644 tests/expected/mount/fslists-one-type create mode 100644 tests/expected/mount/fslists-type-pattern create mode 100644 tests/expected/mount/fslists-type-pattern-neg create mode 100644 tests/expected/mount/fstab-broken create mode 100644 tests/expected/mount/fstab-broken-mount create mode 100644 tests/expected/mount/fstab-broken-mount-all create mode 100644 tests/expected/mount/fstab-btrfs-auto create mode 100644 tests/expected/mount/fstab-btrfs-btrfs create mode 100644 tests/expected/mount/fstab-devname create mode 100644 tests/expected/mount/fstab-devname2label create mode 100644 tests/expected/mount/fstab-devname2uuid create mode 100644 tests/expected/mount/fstab-label create mode 100644 tests/expected/mount/fstab-label2devname create mode 100644 tests/expected/mount/fstab-label2uuid create mode 100644 tests/expected/mount/fstab-loop create mode 100644 tests/expected/mount/fstab-none create mode 100644 tests/expected/mount/fstab-symlink create mode 100644 tests/expected/mount/fstab-uuid create mode 100644 tests/expected/mount/fstab-uuid2devname create mode 100644 tests/expected/mount/fstab-uuid2label create mode 100644 tests/expected/mount/label create mode 100644 tests/expected/mount/move create mode 100644 tests/expected/mount/regfile create mode 100644 tests/expected/mount/remount create mode 100644 tests/expected/mount/rlimit create mode 100644 tests/expected/mount/rlimit-mount create mode 100644 tests/expected/mount/rlimit-umount create mode 100644 tests/expected/mount/shared-subtree create mode 100644 tests/expected/mount/shared-subtree-bind-shared create mode 100644 tests/expected/mount/shared-subtree-make-private create mode 100644 tests/expected/mount/shared-subtree-make-shared create mode 100644 tests/expected/mount/shared-subtree-make-unbindable create mode 100644 tests/expected/mount/shared-subtree-mount-private create mode 100644 tests/expected/mount/shared-subtree-mount-private-ro create mode 100644 tests/expected/mount/special create mode 100644 tests/expected/mount/umount-alltargets create mode 100644 tests/expected/mount/umount-alltargets-all-targets-dev create mode 100644 tests/expected/mount/umount-alltargets-all-targets-mnt create mode 100644 tests/expected/mount/umount-alltargets-all-targets-recursive create mode 100644 tests/expected/mount/umount-recursive create mode 100644 tests/expected/mount/uuid create mode 100644 tests/expected/namei/logic create mode 100644 tests/expected/partx/partx-add-all create mode 100644 tests/expected/partx/partx-add-existing create mode 100644 tests/expected/partx/partx-addpart create mode 100644 tests/expected/partx/partx-change-by-range create mode 100644 tests/expected/partx/partx-delete-all create mode 100644 tests/expected/partx/partx-delete-non-existent create mode 100644 tests/expected/partx/partx-delete-one create mode 100644 tests/expected/partx/partx-delpart create mode 100644 tests/expected/partx/partx-detect-parts create mode 100644 tests/expected/partx/partx-image-atari-icd create mode 100644 tests/expected/partx/partx-image-atari-xgm create mode 100644 tests/expected/partx/partx-image-bsd create mode 100644 tests/expected/partx/partx-image-dos+bsd create mode 100644 tests/expected/partx/partx-image-gpt create mode 100644 tests/expected/partx/partx-image-sgi create mode 100644 tests/expected/partx/partx-image-sun create mode 100644 tests/expected/partx/partx-update-one create mode 100644 tests/expected/paths/built-in create mode 100644 tests/expected/rename/basic create mode 100644 tests/expected/rename/exit_codes create mode 100644 tests/expected/rename/overwrite create mode 100644 tests/expected/rename/subdir create mode 100644 tests/expected/rename/symlink create mode 100644 tests/expected/schedutils/chrt create mode 100644 tests/expected/schedutils/chrt-batch create mode 100644 tests/expected/schedutils/chrt-deadline create mode 100644 tests/expected/schedutils/chrt-fifo create mode 100644 tests/expected/schedutils/chrt-idle create mode 100644 tests/expected/schedutils/chrt-non-root-batch-vs-nice create mode 100644 tests/expected/schedutils/chrt-other create mode 100644 tests/expected/schedutils/chrt-rr create mode 100644 tests/expected/schedutils/cpuset create mode 100644 tests/expected/script/buffering-race create mode 100644 tests/expected/script/options-append create mode 100644 tests/expected/script/options-force create mode 100644 tests/expected/script/options-quiet create mode 100644 tests/expected/script/options-return create mode 100644 tests/expected/script/options-size create mode 100644 tests/expected/script/race create mode 100644 tests/expected/script/replay create mode 100644 tests/expected/sfdisk/dos-activate create mode 100644 tests/expected/sfdisk/dos-dump-gaps create mode 100644 tests/expected/sfdisk/dos-dump-old create mode 100644 tests/expected/sfdisk/dos-explicit-size create mode 100644 tests/expected/sfdisk/dos-read-dump create mode 100644 tests/expected/sfdisk/dos-read-dump-case create mode 100644 tests/expected/sfdisk/dos-reduce-empty-extended create mode 100644 tests/expected/sfdisk/dos-resize create mode 100644 tests/expected/sfdisk/dos-resize-empty-extended create mode 100644 tests/expected/sfdisk/dos-resize-extended create mode 100644 tests/expected/sfdisk/dos-resize-logical create mode 100644 tests/expected/sfdisk/dos-simple-commas create mode 100644 tests/expected/sfdisk/dos-simple-space create mode 100644 tests/expected/sfdisk/dos-write-dump create mode 100644 tests/expected/sfdisk/dos-write-json create mode 100644 tests/expected/sfdisk/gpt-all-defaults create mode 100644 tests/expected/sfdisk/gpt-attrs create mode 100644 tests/expected/sfdisk/gpt-attrs-broken-guid create mode 100644 tests/expected/sfdisk/gpt-attrs-broken-nosep create mode 100644 tests/expected/sfdisk/gpt-attrs-guid create mode 100644 tests/expected/sfdisk/gpt-attrs-space create mode 100644 tests/expected/sfdisk/gpt-attrs-unsupported create mode 100644 tests/expected/sfdisk/gpt-attrs-with-typo create mode 100644 tests/expected/sfdisk/gpt-label create mode 100644 tests/expected/sfdisk/gpt-list-pmbr create mode 100644 tests/expected/sfdisk/gpt-read-dump create mode 100644 tests/expected/sfdisk/gpt-reorder create mode 100644 tests/expected/sfdisk/gpt-resize create mode 100644 tests/expected/sfdisk/gpt-type create mode 100644 tests/expected/sfdisk/gpt-uuid create mode 100644 tests/expected/sfdisk/gpt-write-dump create mode 100644 tests/expected/sfdisk/gpt-write-json create mode 100644 tests/expected/sfdisk/movedata-down create mode 100644 tests/expected/sfdisk/movedata-non-overlay create mode 100644 tests/expected/sfdisk/movedata-up create mode 100644 tests/expected/sfdisk/resize-dos-0-move-up-absolute create mode 100644 tests/expected/sfdisk/resize-dos-1-move-down-absolute create mode 100644 tests/expected/sfdisk/resize-dos-10-down-enlarge create mode 100644 tests/expected/sfdisk/resize-dos-11-absolute-move-resize create mode 100644 tests/expected/sfdisk/resize-dos-12-reduce-midle create mode 100644 tests/expected/sfdisk/resize-dos-13-max-last create mode 100644 tests/expected/sfdisk/resize-dos-2-move-up-relative create mode 100644 tests/expected/sfdisk/resize-dos-3-move-down-relative create mode 100644 tests/expected/sfdisk/resize-dos-4-enlarge-absolute create mode 100644 tests/expected/sfdisk/resize-dos-5-reduce-absolute create mode 100644 tests/expected/sfdisk/resize-dos-6-enlarge-relative create mode 100644 tests/expected/sfdisk/resize-dos-7-reduce-relative create mode 100644 tests/expected/sfdisk/resize-dos-8-enlarge-all create mode 100644 tests/expected/sfdisk/resize-dos-9-up-preduce create mode 100644 tests/expected/sfdisk/resize-dos-unsorted create mode 100644 tests/expected/sfdisk/resize-gpt-0-move-up-absolute create mode 100644 tests/expected/sfdisk/resize-gpt-1-move-down-absolute create mode 100644 tests/expected/sfdisk/resize-gpt-10-down-enlarge create mode 100644 tests/expected/sfdisk/resize-gpt-11-absolute-move-resize create mode 100644 tests/expected/sfdisk/resize-gpt-12-reduce-midle create mode 100644 tests/expected/sfdisk/resize-gpt-13-max-last create mode 100644 tests/expected/sfdisk/resize-gpt-2-move-up-relative create mode 100644 tests/expected/sfdisk/resize-gpt-3-move-down-relative create mode 100644 tests/expected/sfdisk/resize-gpt-4-enlarge-absolute create mode 100644 tests/expected/sfdisk/resize-gpt-5-reduce-absolute create mode 100644 tests/expected/sfdisk/resize-gpt-6-enlarge-relative create mode 100644 tests/expected/sfdisk/resize-gpt-7-reduce-relative create mode 100644 tests/expected/sfdisk/resize-gpt-8-enlarge-all create mode 100644 tests/expected/sfdisk/resize-gpt-9-up-preduce create mode 100644 tests/expected/sfdisk/script-broken-1 create mode 100644 tests/expected/sfdisk/script-broken-2 create mode 100644 tests/expected/sfdisk/script-broken-3 create mode 100644 tests/expected/sfdisk/script-broken-4 create mode 100644 tests/expected/sfdisk/script-broken-5 create mode 100644 tests/expected/sfdisk/script-quotes create mode 100644 tests/expected/sfdisk/script-separator create mode 100644 tests/expected/sfdisk/script-type-and-id create mode 100644 tests/expected/sfdisk/wipe-fs-to-dos create mode 100644 tests/expected/sfdisk/wipe-gpt-to-dos create mode 100644 tests/expected/sfdisk/wipe-gpt-to-dos-auto create mode 100644 tests/expected/sfdisk/wipe-partition create mode 100644 tests/expected/sha1/sha1 create mode 100644 tests/expected/swapon/devname create mode 100644 tests/expected/swapon/fixpgsz create mode 100644 tests/expected/swapon/fixsig create mode 100644 tests/expected/swapon/label create mode 100644 tests/expected/swapon/uuid create mode 100644 tests/expected/tailf/simple create mode 100644 tests/expected/utmp/last-dns create mode 100644 tests/expected/utmp/last-ipv6-dns create mode 100644 tests/expected/utmp/last-ipv6-nodns create mode 100644 tests/expected/utmp/last-nodns create mode 100644 tests/expected/utmp/utmpdump-circle create mode 100644 tests/expected/utmp/utmpdump-subsecond create mode 100644 tests/expected/utmp/utmpdump-tobin create mode 100644 tests/expected/utmp/utmpdump-tobin-ipv6 create mode 100644 tests/expected/utmp/utmpdump-totxt create mode 100644 tests/expected/utmp/utmpdump-totxt-ipv6 create mode 100644 tests/expected/uuid/namespace create mode 100644 tests/expected/uuid/oids create mode 100644 tests/expected/uuid/uuid_parser create mode 100644 tests/expected/uuid/uuidd create mode 100644 tests/expected/uuid/uuidgen create mode 100644 tests/expected/uuid/uuidparse create mode 100644 tests/expected/wipefs/wipefs create mode 100644 tests/functions.sh create mode 100644 tests/helpers/Makemodule.am create mode 100644 tests/helpers/test_byteswap.c create mode 100644 tests/helpers/test_mbsencode.c create mode 100644 tests/helpers/test_md5.c create mode 100644 tests/helpers/test_pathnames.c create mode 100644 tests/helpers/test_sha1.c create mode 100644 tests/helpers/test_sigreceive.c create mode 100644 tests/helpers/test_sysinfo.c create mode 100644 tests/helpers/test_tiocsti.c create mode 100644 tests/helpers/test_uuid_namespace.c create mode 100755 tests/run.sh create mode 100755 tests/ts/bitops/swapbytes create mode 100755 tests/ts/blkdiscard/offsets create mode 100755 tests/ts/blkid/dm-err create mode 100644 tests/ts/blkid/images-fs/adaptec-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/bcache-B.img.xz create mode 100644 tests/ts/blkid/images-fs/bcache-C.img.xz create mode 100644 tests/ts/blkid/images-fs/befs.img.xz create mode 100644 tests/ts/blkid/images-fs/bfs.img.xz create mode 100644 tests/ts/blkid/images-fs/cramfs.img.xz create mode 100644 tests/ts/blkid/images-fs/ddf-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/drbdmanage-control-volume.img.xz create mode 100644 tests/ts/blkid/images-fs/exfat.img.xz create mode 100644 tests/ts/blkid/images-fs/ext2.img.xz create mode 100644 tests/ts/blkid/images-fs/ext3.img.xz create mode 100644 tests/ts/blkid/images-fs/f2fs.img.xz create mode 100644 tests/ts/blkid/images-fs/fat.img.xz create mode 100644 tests/ts/blkid/images-fs/fat16_noheads.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_cp850_O_tilde.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_label_64MB.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_label1.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_label1_dosfslabel_NO_NAME.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_label1_dosfslabel_empty.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_label1_dosfslabel_label2.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_label1_mlabel_NO_NAME.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_label1_mlabel_erase.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_label1_xp_erase.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_label1_xp_label2.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_none.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_none_dosfslabel_NO_NAME.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_none_dosfslabel_label1.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_none_dosfslabel_label1_xp_label2.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_none_xp_label1.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_none_xp_label1_dosfslabel_label2.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_xp_label1.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_xp_none.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_xp_none_dosfslabel_label1.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_xp_none_mlabel_label1.img.xz create mode 100644 tests/ts/blkid/images-fs/gfs2.img.xz create mode 100644 tests/ts/blkid/images-fs/hfs.img.xz create mode 100644 tests/ts/blkid/images-fs/hfsplus.img.xz create mode 100644 tests/ts/blkid/images-fs/hpfs.img.xz create mode 100644 tests/ts/blkid/images-fs/hpt37x-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/hpt45x-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/iso-joliet.img.xz create mode 100644 tests/ts/blkid/images-fs/iso-rr-joliet.img.xz create mode 100644 tests/ts/blkid/images-fs/iso.img.xz create mode 100644 tests/ts/blkid/images-fs/isw-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/jbd.img.xz create mode 100644 tests/ts/blkid/images-fs/jfs.img.xz create mode 100644 tests/ts/blkid/images-fs/jmicron-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/lsi-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/luks1.img.xz create mode 100644 tests/ts/blkid/images-fs/luks2.img.xz create mode 100644 tests/ts/blkid/images-fs/lvm2.img.xz create mode 100644 tests/ts/blkid/images-fs/mdraid.img.xz create mode 100644 tests/ts/blkid/images-fs/minix-BE.img.xz create mode 100644 tests/ts/blkid/images-fs/minix-LE.img.xz create mode 100644 tests/ts/blkid/images-fs/mpool.img.xz create mode 100644 tests/ts/blkid/images-fs/netware.img.xz create mode 100644 tests/ts/blkid/images-fs/nilfs2.img.xz create mode 100644 tests/ts/blkid/images-fs/ntfs.img.xz create mode 100644 tests/ts/blkid/images-fs/nvidia-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/ocfs2.img.xz create mode 100644 tests/ts/blkid/images-fs/promise-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/reiser3.img.xz create mode 100644 tests/ts/blkid/images-fs/reiser4.img.xz create mode 100644 tests/ts/blkid/images-fs/romfs.img.xz create mode 100644 tests/ts/blkid/images-fs/silicon-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/small-fat32.img.xz create mode 100644 tests/ts/blkid/images-fs/swap0.img.xz create mode 100644 tests/ts/blkid/images-fs/swap1.img.xz create mode 100644 tests/ts/blkid/images-fs/tuxonice.img.xz create mode 100644 tests/ts/blkid/images-fs/ubi.img.xz create mode 100644 tests/ts/blkid/images-fs/ubifs.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-bdr-2.60-nero.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-cd-mkudfiso-20100208.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-cd-nero-6.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.0.0-1.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.0.0-2.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-1.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-2.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-3.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-4.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-5.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-6.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-7.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-8.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-udfclient-0.7.5.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-udfclient-0.7.7.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-win7.img.xz create mode 100644 tests/ts/blkid/images-fs/udf.img.xz create mode 100644 tests/ts/blkid/images-fs/ufs.img.xz create mode 100644 tests/ts/blkid/images-fs/vdo.img.xz create mode 100644 tests/ts/blkid/images-fs/via-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/vmfs.img.xz create mode 100644 tests/ts/blkid/images-fs/vmfs_volume.img.xz create mode 100644 tests/ts/blkid/images-fs/xfs-log.img.xz create mode 100644 tests/ts/blkid/images-fs/xfs.img.xz create mode 100644 tests/ts/blkid/images-fs/zfs.img.xz create mode 100644 tests/ts/blkid/images-pt/atari-icd.img.xz create mode 100644 tests/ts/blkid/images-pt/atari-xgm.img.xz create mode 100644 tests/ts/blkid/images-pt/bsd.img.xz create mode 100644 tests/ts/blkid/images-pt/dos+bsd.img.xz create mode 100644 tests/ts/blkid/images-pt/gpt.img.xz create mode 100644 tests/ts/blkid/images-pt/sgi.img.xz create mode 100644 tests/ts/blkid/images-pt/sun.img.xz create mode 100755 tests/ts/blkid/low-probe create mode 100755 tests/ts/blkid/lowprobe-pt create mode 100755 tests/ts/blkid/mbr-wholedisk create mode 100644 tests/ts/blkid/mbr-wholedisk-vfat.img create mode 100755 tests/ts/blkid/md-raid0-whole create mode 100755 tests/ts/blkid/md-raid1-part create mode 100755 tests/ts/blkid/md-raid1-whole create mode 100755 tests/ts/build-sys/config create mode 100755 tests/ts/cal/bigyear create mode 100755 tests/ts/cal/color create mode 100755 tests/ts/cal/colorw create mode 100755 tests/ts/cal/jan1753 create mode 100755 tests/ts/cal/month create mode 100755 tests/ts/cal/sep1752 create mode 100755 tests/ts/cal/weekarg create mode 100755 tests/ts/cal/weeknum create mode 100755 tests/ts/cal/year create mode 100755 tests/ts/col/multibyte create mode 100644 tests/ts/col/multibyte.data create mode 100644 tests/ts/colcrt/crash1 create mode 100644 tests/ts/colcrt/crash2 create mode 100755 tests/ts/colcrt/functional create mode 100644 tests/ts/colcrt/hang1 create mode 100644 tests/ts/colcrt/nasty-input create mode 100755 tests/ts/colcrt/regressions create mode 100644 tests/ts/colcrt/underlines create mode 100755 tests/ts/colrm/rm2-2 create mode 100755 tests/ts/column/columnate create mode 100644 tests/ts/column/files/fivecols create mode 100644 tests/ts/column/files/mountinfo create mode 100644 tests/ts/column/files/onecolumn create mode 100644 tests/ts/column/files/table create mode 100644 tests/ts/column/files/table-empty-lines create mode 100644 tests/ts/column/files/table-sep create mode 100644 tests/ts/column/files/table-sep-space create mode 100755 tests/ts/column/invalid-multibyte create mode 100755 tests/ts/column/multi-file create mode 100755 tests/ts/column/table create mode 100644 tests/ts/cramfs/cramfs-big.img create mode 100644 tests/ts/cramfs/cramfs-little.img create mode 100755 tests/ts/cramfs/doubles create mode 100755 tests/ts/cramfs/fsck-bad-header create mode 100755 tests/ts/cramfs/fsck-endianness create mode 100755 tests/ts/cramfs/mkfs create mode 100755 tests/ts/cramfs/mkfs-endianness create mode 100755 tests/ts/dmesg/colors create mode 100755 tests/ts/dmesg/console-levels create mode 100755 tests/ts/dmesg/decode create mode 100755 tests/ts/dmesg/delta create mode 100755 tests/ts/dmesg/facilities create mode 100755 tests/ts/dmesg/indentation create mode 100644 tests/ts/dmesg/input create mode 100644 tests/ts/dmesg/newlines create mode 100755 tests/ts/eject/umount create mode 100755 tests/ts/fdisk/align-512-4K create mode 100755 tests/ts/fdisk/align-512-4K-63 create mode 100755 tests/ts/fdisk/align-512-4K-md create mode 100755 tests/ts/fdisk/align-512-512 create mode 100755 tests/ts/fdisk/align-512-512-topology create mode 100755 tests/ts/fdisk/bsd create mode 100755 tests/ts/fdisk/gpt create mode 100755 tests/ts/fdisk/gpt-resize create mode 100755 tests/ts/fdisk/id create mode 100755 tests/ts/fdisk/mbr-dos-mode create mode 100755 tests/ts/fdisk/mbr-nondos-mode create mode 100755 tests/ts/fdisk/mbr-sort create mode 100755 tests/ts/fdisk/oddinput create mode 100755 tests/ts/fdisk/sunlabel create mode 100755 tests/ts/fincore/count create mode 100644 tests/ts/findmnt/files/mountinfo create mode 100644 tests/ts/findmnt/files/mountinfo-messy create mode 100644 tests/ts/findmnt/files/mountinfo-nonroot create mode 100755 tests/ts/findmnt/filter create mode 100755 tests/ts/findmnt/outputs create mode 100755 tests/ts/findmnt/target create mode 100755 tests/ts/fsck/ismounted create mode 100755 tests/ts/getopt/basic create mode 100755 tests/ts/getopt/options create mode 100644 tests/ts/hexdump/files/ascii.in create mode 100755 tests/ts/hexdump/format-strings create mode 100755 tests/ts/hexdump/highlighting create mode 100755 tests/ts/hwclock/systohc create mode 100644 tests/ts/ipcs/functions.sh create mode 100755 tests/ts/ipcs/headers create mode 100755 tests/ts/ipcs/limits create mode 100755 tests/ts/ipcs/limits2 create mode 100755 tests/ts/ipcs/mk-rm-msg create mode 100755 tests/ts/ipcs/mk-rm-sem create mode 100755 tests/ts/ipcs/mk-rm-shm create mode 100755 tests/ts/isosize/print-size create mode 100644 tests/ts/isosize/sample.iso.gz create mode 100755 tests/ts/kill/all_processes create mode 100644 tests/ts/kill/kill_functions.sh create mode 100755 tests/ts/kill/name_to_number create mode 100755 tests/ts/kill/options create mode 100755 tests/ts/kill/print_pid create mode 100755 tests/ts/kill/queue create mode 100755 tests/ts/libfdisk/gpt create mode 100755 tests/ts/libfdisk/mkpart create mode 100755 tests/ts/libfdisk/mkpart-full create mode 100755 tests/ts/libmount/context create mode 100755 tests/ts/libmount/context-py create mode 100755 tests/ts/libmount/context-utab create mode 100755 tests/ts/libmount/context-utab-py create mode 100755 tests/ts/libmount/debug create mode 100644 tests/ts/libmount/files/fstab create mode 100644 tests/ts/libmount/files/fstab.broken create mode 100644 tests/ts/libmount/files/fstab.comment create mode 100644 tests/ts/libmount/files/kernel_cmdline create mode 100644 tests/ts/libmount/files/mountinfo create mode 100644 tests/ts/libmount/files/mountinfo_mv create mode 100644 tests/ts/libmount/files/mountinfo_nosrc create mode 100644 tests/ts/libmount/files/mountinfo_re create mode 100644 tests/ts/libmount/files/mountinfo_u create mode 100644 tests/ts/libmount/files/mtab create mode 100644 tests/ts/libmount/files/swaps create mode 100755 tests/ts/libmount/lock create mode 100755 tests/ts/libmount/loop create mode 100755 tests/ts/libmount/loop-overlay create mode 100755 tests/ts/libmount/optstr create mode 100755 tests/ts/libmount/tabdiff create mode 100755 tests/ts/libmount/tabfiles create mode 100755 tests/ts/libmount/tabfiles-py create mode 100755 tests/ts/libmount/tabfiles-tags create mode 100755 tests/ts/libmount/tabfiles-tags-py create mode 100755 tests/ts/libmount/update create mode 100755 tests/ts/libmount/update-py create mode 100755 tests/ts/libmount/utils create mode 100644 tests/ts/libsmartcols/files/col-hidden create mode 100644 tests/ts/libsmartcols/files/col-id create mode 100644 tests/ts/libsmartcols/files/col-name create mode 100644 tests/ts/libsmartcols/files/col-noextremes create mode 100644 tests/ts/libsmartcols/files/col-number create mode 100644 tests/ts/libsmartcols/files/col-parent create mode 100644 tests/ts/libsmartcols/files/col-strict create mode 100644 tests/ts/libsmartcols/files/col-string create mode 100644 tests/ts/libsmartcols/files/col-tree create mode 100644 tests/ts/libsmartcols/files/col-trunc create mode 100644 tests/ts/libsmartcols/files/col-wrap create mode 100644 tests/ts/libsmartcols/files/col-wrapnl create mode 100644 tests/ts/libsmartcols/files/data-id create mode 100644 tests/ts/libsmartcols/files/data-number create mode 100644 tests/ts/libsmartcols/files/data-number-tiny create mode 100644 tests/ts/libsmartcols/files/data-parent create mode 100644 tests/ts/libsmartcols/files/data-string create mode 100644 tests/ts/libsmartcols/files/data-string-extreme create mode 100644 tests/ts/libsmartcols/files/data-string-long create mode 100644 tests/ts/libsmartcols/files/data-string-nl create mode 100755 tests/ts/libsmartcols/fromfile create mode 100755 tests/ts/libsmartcols/title create mode 100755 tests/ts/logger/errors create mode 100755 tests/ts/logger/formats create mode 100755 tests/ts/logger/journald create mode 100755 tests/ts/logger/options create mode 100755 tests/ts/login/islocal create mode 100644 tests/ts/login/islocal.data create mode 100755 tests/ts/login/logindefs create mode 100644 tests/ts/login/logindefs.data create mode 100755 tests/ts/look/separator create mode 100644 tests/ts/look/words create mode 100755 tests/ts/losetup/losetup create mode 100755 tests/ts/losetup/losetup-blkdev create mode 100755 tests/ts/losetup/losetup-loop create mode 100644 tests/ts/losetup/losetup_functions.sh create mode 100644 tests/ts/lsblk/README create mode 100644 tests/ts/lsblk/dumps/simple-lvm.tar.xz create mode 100644 tests/ts/lsblk/dumps/simple-nvme.tar.xz create mode 100755 tests/ts/lsblk/lsblk create mode 100644 tests/ts/lsblk/mk-input.sh create mode 100644 tests/ts/lscpu/dumps/armv7.tar.gz create mode 100644 tests/ts/lscpu/dumps/ppc-qemu.tar.gz create mode 100644 tests/ts/lscpu/dumps/ppc64-POWER7-64cpu.tar.gz create mode 100644 tests/ts/lscpu/dumps/ppc64-POWER7.tar.gz create mode 100644 tests/ts/lscpu/dumps/s390-kvm.tar.gz create mode 100644 tests/ts/lscpu/dumps/s390-lpar-drawer.tar.gz create mode 100644 tests/ts/lscpu/dumps/s390-lpar.tar.gz create mode 100644 tests/ts/lscpu/dumps/s390-zvm.tar.gz create mode 100644 tests/ts/lscpu/dumps/sparc64.tar.gz create mode 100644 tests/ts/lscpu/dumps/vbox-win.tar.gz create mode 100644 tests/ts/lscpu/dumps/x86_64-64cpu.tar.gz create mode 100644 tests/ts/lscpu/dumps/x86_64-dell_e4310.tar.gz create mode 100755 tests/ts/lscpu/lscpu create mode 100644 tests/ts/lscpu/mk-input.sh create mode 100644 tests/ts/lsmem/dumps/s390-zvm-6g.tar.bz2 create mode 100644 tests/ts/lsmem/dumps/x86_64-16g.tar.bz2 create mode 100755 tests/ts/lsmem/lsmem create mode 100755 tests/ts/lsmem/mk-input.sh create mode 100755 tests/ts/lsns/netnsid create mode 100755 tests/ts/lsns/nsfs create mode 100644 tests/ts/md5/data create mode 100755 tests/ts/md5/md5 create mode 100644 tests/ts/minix/broken-root create mode 100644 tests/ts/minix/debian.bug.773892 create mode 100755 tests/ts/minix/fsck create mode 100755 tests/ts/minix/fsck-images create mode 100755 tests/ts/minix/mkfs create mode 100755 tests/ts/misc/fallocate create mode 100755 tests/ts/misc/flock create mode 100755 tests/ts/misc/ionice create mode 100755 tests/ts/misc/line create mode 100755 tests/ts/misc/mbsencode create mode 100755 tests/ts/misc/mcookie create mode 100755 tests/ts/misc/rev create mode 100755 tests/ts/misc/setarch create mode 100755 tests/ts/misc/setsid create mode 100755 tests/ts/misc/strtosize create mode 100755 tests/ts/misc/swaplabel create mode 100755 tests/ts/misc/ul create mode 100755 tests/ts/misc/whereis create mode 100755 tests/ts/more/regexp create mode 100755 tests/ts/more/squeeze create mode 100755 tests/ts/mount/devname create mode 100755 tests/ts/mount/fslists create mode 100755 tests/ts/mount/fstab-broken create mode 100755 tests/ts/mount/fstab-btrfs create mode 100755 tests/ts/mount/fstab-devname create mode 100755 tests/ts/mount/fstab-devname2label create mode 100755 tests/ts/mount/fstab-devname2uuid create mode 100755 tests/ts/mount/fstab-label create mode 100755 tests/ts/mount/fstab-label2devname create mode 100755 tests/ts/mount/fstab-label2uuid create mode 100755 tests/ts/mount/fstab-loop create mode 100755 tests/ts/mount/fstab-none create mode 100755 tests/ts/mount/fstab-symlink create mode 100755 tests/ts/mount/fstab-uuid create mode 100755 tests/ts/mount/fstab-uuid2devname create mode 100755 tests/ts/mount/fstab-uuid2label create mode 100755 tests/ts/mount/label create mode 100755 tests/ts/mount/move create mode 100755 tests/ts/mount/regfile create mode 100755 tests/ts/mount/remount create mode 100755 tests/ts/mount/rlimit create mode 100755 tests/ts/mount/shared-subtree create mode 100755 tests/ts/mount/special create mode 100755 tests/ts/mount/umount-alltargets create mode 100755 tests/ts/mount/umount-recursive create mode 100755 tests/ts/mount/uuid create mode 100755 tests/ts/namei/logic create mode 100755 tests/ts/partx/partx create mode 100755 tests/ts/partx/partx-image create mode 100755 tests/ts/paths/built-in create mode 100755 tests/ts/rename/basic create mode 100755 tests/ts/rename/exit_codes create mode 100755 tests/ts/rename/overwrite create mode 100755 tests/ts/rename/subdir create mode 100755 tests/ts/rename/symlink create mode 100755 tests/ts/schedutils/chrt create mode 100755 tests/ts/schedutils/chrt-non-root create mode 100755 tests/ts/schedutils/cpuset create mode 100755 tests/ts/script/buffering-race create mode 100755 tests/ts/script/options create mode 100755 tests/ts/script/race create mode 100755 tests/ts/script/replay create mode 100755 tests/ts/sfdisk/dos create mode 100644 tests/ts/sfdisk/files/dump-gaps create mode 100644 tests/ts/sfdisk/files/dump-old create mode 100755 tests/ts/sfdisk/gpt create mode 100755 tests/ts/sfdisk/movedata create mode 100755 tests/ts/sfdisk/resize create mode 100755 tests/ts/sfdisk/script create mode 100755 tests/ts/sfdisk/wipe create mode 100644 tests/ts/sha1/data create mode 100755 tests/ts/sha1/sha1 create mode 100755 tests/ts/swapon/devname create mode 100755 tests/ts/swapon/fixpgsz create mode 100755 tests/ts/swapon/fixsig create mode 100755 tests/ts/swapon/label create mode 100755 tests/ts/swapon/uuid create mode 100755 tests/ts/utmp/last create mode 100755 tests/ts/utmp/last-ipv6 create mode 100644 tests/ts/utmp/subsec create mode 100644 tests/ts/utmp/txt-a create mode 100644 tests/ts/utmp/txt-a-old create mode 100644 tests/ts/utmp/txt-b create mode 100644 tests/ts/utmp/txt-b-old create mode 100644 tests/ts/utmp/txt-ipv6 create mode 100644 tests/ts/utmp/txt-ipv6-old create mode 100644 tests/ts/utmp/utmp_functions.sh create mode 100755 tests/ts/utmp/utmpdump-circle create mode 100755 tests/ts/utmp/utmpdump-subsecond create mode 100755 tests/ts/utmp/utmpdump-tobin create mode 100755 tests/ts/utmp/utmpdump-tobin-ipv6 create mode 100755 tests/ts/utmp/utmpdump-totxt create mode 100755 tests/ts/utmp/utmpdump-totxt-ipv6 create mode 100644 tests/ts/utmp/wtmp-a.BE create mode 100644 tests/ts/utmp/wtmp-a.LE create mode 100644 tests/ts/utmp/wtmp-b.BE create mode 100644 tests/ts/utmp/wtmp-b.LE create mode 100644 tests/ts/utmp/wtmp-ipv6.BE create mode 100644 tests/ts/utmp/wtmp-ipv6.LE create mode 100755 tests/ts/uuid/namespace create mode 100755 tests/ts/uuid/oids create mode 100755 tests/ts/uuid/uuid_parser create mode 100755 tests/ts/uuid/uuidd create mode 100755 tests/ts/uuid/uuidgen create mode 100755 tests/ts/uuid/uuidparse create mode 100755 tests/ts/wipefs/wipefs create mode 100644 text-utils/Makemodule.am create mode 100644 text-utils/col.1 create mode 100644 text-utils/col.c create mode 100644 text-utils/colcrt.1 create mode 100644 text-utils/colcrt.c create mode 100644 text-utils/colrm.1 create mode 100644 text-utils/colrm.c create mode 100644 text-utils/column.1 create mode 100644 text-utils/column.c create mode 100644 text-utils/hexdump-conv.c create mode 100644 text-utils/hexdump-display.c create mode 100644 text-utils/hexdump-parse.c create mode 100644 text-utils/hexdump.1 create mode 100644 text-utils/hexdump.c create mode 100644 text-utils/hexdump.h create mode 100644 text-utils/line.1 create mode 100644 text-utils/line.c create mode 100644 text-utils/more.1 create mode 100644 text-utils/more.c create mode 100644 text-utils/pg.1 create mode 100644 text-utils/pg.c create mode 100644 text-utils/rev.1 create mode 100644 text-utils/rev.c create mode 100644 text-utils/ul.1 create mode 100644 text-utils/ul.c create mode 100644 tools/Makemodule.am create mode 100755 tools/checkcompletion.sh create mode 100755 tools/checkconfig.sh create mode 100755 tools/checkdecl.sh create mode 100755 tools/checkincludes.pl create mode 100755 tools/checkmans.sh create mode 100755 tools/checkusage.sh create mode 100755 tools/checkxalloc.sh create mode 100755 tools/git-version-gen diff --git a/.tarball-version b/.tarball-version new file mode 100644 index 0000000..ba13d3c --- /dev/null +++ b/.tarball-version @@ -0,0 +1 @@ +2.33.1 diff --git a/.version b/.version new file mode 100644 index 0000000..ba13d3c --- /dev/null +++ b/.version @@ -0,0 +1 @@ +2.33.1 diff --git a/ABOUT-NLS b/ABOUT-NLS new file mode 100644 index 0000000..b1de1b6 --- /dev/null +++ b/ABOUT-NLS @@ -0,0 +1,1282 @@ +1 Notes on the Free Translation Project +*************************************** + +Free software is going international! The Free Translation Project is +a way to get maintainers of free software, translators, and users all +together, so that free software will gradually become able to speak many +languages. A few packages already provide translations for their +messages. + + If you found this `ABOUT-NLS' file inside a distribution, you may +assume that the distributed package does use GNU `gettext' internally, +itself available at your nearest GNU archive site. But you do _not_ +need to install GNU `gettext' prior to configuring, installing or using +this package with messages translated. + + Installers will find here some useful hints. These notes also +explain how users should proceed for getting the programs to use the +available translations. They tell how people wanting to contribute and +work on translations can contact the appropriate team. + +1.1 INSTALL Matters +=================== + +Some packages are "localizable" when properly installed; the programs +they contain can be made to speak your own native language. Most such +packages use GNU `gettext'. Other packages have their own ways to +internationalization, predating GNU `gettext'. + + By default, this package will be installed to allow translation of +messages. It will automatically detect whether the system already +provides the GNU `gettext' functions. Installers may use special +options at configuration time for changing the default behaviour. The +command: + + ./configure --disable-nls + +will _totally_ disable translation of messages. + + When you already have GNU `gettext' installed on your system and run +configure without an option for your new package, `configure' will +probably detect the previously built and installed `libintl' library +and will decide to use it. If not, you may have to to use the +`--with-libintl-prefix' option to tell `configure' where to look for it. + + Internationalized packages usually have many `po/LL.po' files, where +LL gives an ISO 639 two-letter code identifying the language. Unless +translations have been forbidden at `configure' time by using the +`--disable-nls' switch, all available translations are installed +together with the package. However, the environment variable `LINGUAS' +may be set, prior to configuration, to limit the installed set. +`LINGUAS' should then contain a space separated list of two-letter +codes, stating which languages are allowed. + +1.2 Using This Package +====================== + +As a user, if your language has been installed for this package, you +only have to set the `LANG' environment variable to the appropriate +`LL_CC' combination. If you happen to have the `LC_ALL' or some other +`LC_xxx' environment variables set, you should unset them before +setting `LANG', otherwise the setting of `LANG' will not have the +desired effect. Here `LL' is an ISO 639 two-letter language code, and +`CC' is an ISO 3166 two-letter country code. For example, let's +suppose that you speak German and live in Germany. At the shell +prompt, merely execute `setenv LANG de_DE' (in `csh'), +`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). +This can be done from your `.login' or `.profile' file, once and for +all. + + You might think that the country code specification is redundant. +But in fact, some languages have dialects in different countries. For +example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The +country code serves to distinguish the dialects. + + The locale naming convention of `LL_CC', with `LL' denoting the +language and `CC' denoting the country, is the one use on systems based +on GNU libc. On other systems, some variations of this scheme are +used, such as `LL' or `LL_CC.ENCODING'. You can get the list of +locales supported by your system for your language by running the +command `locale -a | grep '^LL''. + + Not all programs have translations for all languages. By default, an +English message is shown in place of a nonexistent translation. If you +understand other languages, you can set up a priority list of languages. +This is done through a different environment variable, called +`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' +for the purpose of message handling, but you still need to have `LANG' +set to the primary language; this is required by other parts of the +system libraries. For example, some Swedish users who would rather +read translations in German than English for when Swedish is not +available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. + + Special advice for Norwegian users: The language code for Norwegian +bokma*l changed from `no' to `nb' recently (in 2003). During the +transition period, while some message catalogs for this language are +installed under `nb' and some older ones under `no', it's recommended +for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and +older translations are used. + + In the `LANGUAGE' environment variable, but not in the `LANG' +environment variable, `LL_CC' combinations can be abbreviated as `LL' +to denote the language's main dialect. For example, `de' is equivalent +to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' +(Portuguese as spoken in Portugal) in this context. + +1.3 Translating Teams +===================== + +For the Free Translation Project to be a success, we need interested +people who like their own language and write it well, and who are also +able to synergize with other translators speaking the same language. +Each translation team has its own mailing list. The up-to-date list of +teams can be found at the Free Translation Project's homepage, +`http://translationproject.org/', in the "Teams" area. + + If you'd like to volunteer to _work_ at translating messages, you +should become a member of the translating team for your own language. +The subscribing address is _not_ the same as the list itself, it has +`-request' appended. For example, speakers of Swedish can send a +message to `sv-request@li.org', having this message body: + + subscribe + + Keep in mind that team members are expected to participate +_actively_ in translations, or at solving translational difficulties, +rather than merely lurking around. If your team does not exist yet and +you want to start one, or if you are unsure about what to do or how to +get started, please write to `coordinator@translationproject.org' to +reach the coordinator for all translator teams. + + The English team is special. It works at improving and uniformizing +the terminology in use. Proven linguistic skills are praised more than +programming skills, here. + +1.4 Available Packages +====================== + +Languages are not equally supported in all packages. The following +matrix shows the current state of internationalization, as of June +2010. The matrix shows, in regard of each package, for which languages +PO files have been submitted to translation coordination, with a +translation percentage of at least 50%. + + Ready PO files af am an ar as ast az be be@latin bg bn_IN bs ca + +--------------------------------------------------+ + a2ps | [] [] | + aegis | | + ant-phone | | + anubis | | + aspell | [] [] | + bash | | + bfd | | + bibshelf | [] | + binutils | | + bison | | + bison-runtime | [] | + bluez-pin | [] [] | + bombono-dvd | | + buzztard | | + cflow | | + clisp | | + coreutils | [] [] | + cpio | | + cppi | | + cpplib | [] | + cryptsetup | | + dfarc | | + dialog | [] [] | + dico | | + diffutils | [] | + dink | | + doodle | | + e2fsprogs | [] | + enscript | [] | + exif | | + fetchmail | [] | + findutils | [] | + flex | [] | + freedink | | + gas | | + gawk | [] [] | + gcal | [] | + gcc | | + gettext-examples | [] [] [] [] | + gettext-runtime | [] [] | + gettext-tools | [] [] | + gip | [] | + gjay | | + gliv | [] | + glunarclock | [] [] | + gnubiff | | + gnucash | [] | + gnuedu | | + gnulib | | + gnunet | | + gnunet-gtk | | + gnutls | | + gold | | + gpe-aerial | | + gpe-beam | | + gpe-bluetooth | | + gpe-calendar | | + gpe-clock | [] | + gpe-conf | | + gpe-contacts | | + gpe-edit | | + gpe-filemanager | | + gpe-go | | + gpe-login | | + gpe-ownerinfo | [] | + gpe-package | | + gpe-sketchbook | | + gpe-su | [] | + gpe-taskmanager | [] | + gpe-timesheet | [] | + gpe-today | [] | + gpe-todo | | + gphoto2 | | + gprof | [] | + gpsdrive | | + gramadoir | | + grep | | + grub | [] [] | + gsasl | | + gss | | + gst-plugins-bad | [] | + gst-plugins-base | [] | + gst-plugins-good | [] | + gst-plugins-ugly | [] | + gstreamer | [] [] [] | + gtick | | + gtkam | [] | + gtkorphan | [] | + gtkspell | [] [] [] | + gutenprint | | + hello | [] | + help2man | | + hylafax | | + idutils | | + indent | [] [] | + iso_15924 | | + iso_3166 | [] [] [] [] [] [] [] | + iso_3166_2 | | + iso_4217 | | + iso_639 | [] [] [] [] | + iso_639_3 | | + jwhois | | + kbd | | + keytouch | [] | + keytouch-editor | | + keytouch-keyboa... | [] | + klavaro | [] | + latrine | | + ld | [] | + leafpad | [] [] | + libc | [] [] | + libexif | () | + libextractor | | + libgnutls | | + libgpewidget | | + libgpg-error | | + libgphoto2 | | + libgphoto2_port | | + libgsasl | | + libiconv | [] | + libidn | | + lifelines | | + liferea | [] [] | + lilypond | | + linkdr | [] | + lordsawar | | + lprng | | + lynx | [] | + m4 | | + mailfromd | | + mailutils | | + make | | + man-db | | + man-db-manpages | | + minicom | | + mkisofs | | + myserver | | + nano | [] [] | + opcodes | | + parted | | + pies | | + popt | | + psmisc | | + pspp | [] | + pwdutils | | + radius | [] | + recode | [] [] | + rosegarden | | + rpm | | + rush | | + sarg | | + screem | | + scrollkeeper | [] [] [] | + sed | [] [] | + sharutils | [] [] | + shishi | | + skencil | | + solfege | | + solfege-manual | | + soundtracker | | + sp | | + sysstat | | + tar | [] | + texinfo | | + tin | | + unicode-han-tra... | | + unicode-transla... | | + util-linux-ng | [] | + vice | | + vmm | | + vorbis-tools | | + wastesedge | | + wdiff | | + wget | [] [] | + wyslij-po | | + xchat | [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] | + +--------------------------------------------------+ + af am an ar as ast az be be@latin bg bn_IN bs ca + 6 0 1 2 3 19 1 10 3 28 3 1 38 + + crh cs da de el en en_GB en_ZA eo es et eu fa + +-------------------------------------------------+ + a2ps | [] [] [] [] [] [] [] | + aegis | [] [] [] | + ant-phone | [] () | + anubis | [] [] | + aspell | [] [] [] [] [] | + bash | [] [] [] | + bfd | [] | + bibshelf | [] [] [] | + binutils | [] | + bison | [] [] | + bison-runtime | [] [] [] [] | + bluez-pin | [] [] [] [] [] [] | + bombono-dvd | [] | + buzztard | [] [] [] | + cflow | [] [] | + clisp | [] [] [] [] | + coreutils | [] [] [] [] | + cpio | | + cppi | | + cpplib | [] [] [] | + cryptsetup | [] | + dfarc | [] [] [] | + dialog | [] [] [] [] [] | + dico | | + diffutils | [] [] [] [] [] [] | + dink | [] [] [] | + doodle | [] | + e2fsprogs | [] [] [] | + enscript | [] [] [] | + exif | () [] [] | + fetchmail | [] [] () [] [] [] | + findutils | [] [] [] | + flex | [] [] | + freedink | [] [] [] | + gas | [] | + gawk | [] [] [] | + gcal | [] | + gcc | [] [] | + gettext-examples | [] [] [] [] | + gettext-runtime | [] [] [] [] | + gettext-tools | [] [] [] | + gip | [] [] [] [] | + gjay | [] | + gliv | [] [] [] | + glunarclock | [] [] | + gnubiff | () | + gnucash | [] () () () () | + gnuedu | [] [] | + gnulib | [] [] | + gnunet | | + gnunet-gtk | [] | + gnutls | [] [] | + gold | [] | + gpe-aerial | [] [] [] [] | + gpe-beam | [] [] [] [] | + gpe-bluetooth | [] [] | + gpe-calendar | [] | + gpe-clock | [] [] [] [] | + gpe-conf | [] [] [] | + gpe-contacts | [] [] [] | + gpe-edit | [] [] | + gpe-filemanager | [] [] [] | + gpe-go | [] [] [] [] | + gpe-login | [] [] | + gpe-ownerinfo | [] [] [] [] | + gpe-package | [] [] [] | + gpe-sketchbook | [] [] [] [] | + gpe-su | [] [] [] [] | + gpe-taskmanager | [] [] [] [] | + gpe-timesheet | [] [] [] [] | + gpe-today | [] [] [] [] | + gpe-todo | [] [] [] | + gphoto2 | [] [] () [] [] [] | + gprof | [] [] [] | + gpsdrive | [] [] [] | + gramadoir | [] [] [] | + grep | [] | + grub | [] [] | + gsasl | [] | + gss | | + gst-plugins-bad | [] [] [] [] [] | + gst-plugins-base | [] [] [] [] [] | + gst-plugins-good | [] [] [] [] [] [] | + gst-plugins-ugly | [] [] [] [] [] [] | + gstreamer | [] [] [] [] [] | + gtick | [] () [] | + gtkam | [] [] () [] [] | + gtkorphan | [] [] [] [] | + gtkspell | [] [] [] [] [] [] [] | + gutenprint | [] [] [] | + hello | [] [] [] [] | + help2man | [] | + hylafax | [] [] | + idutils | [] [] | + indent | [] [] [] [] [] [] [] | + iso_15924 | [] () [] [] | + iso_3166 | [] [] [] [] () [] [] [] () | + iso_3166_2 | () | + iso_4217 | [] [] [] () [] [] | + iso_639 | [] [] [] [] () [] [] | + iso_639_3 | [] | + jwhois | [] | + kbd | [] [] [] [] [] | + keytouch | [] [] | + keytouch-editor | [] [] | + keytouch-keyboa... | [] | + klavaro | [] [] [] [] | + latrine | [] () | + ld | [] [] | + leafpad | [] [] [] [] [] [] | + libc | [] [] [] [] | + libexif | [] [] () | + libextractor | | + libgnutls | [] | + libgpewidget | [] [] | + libgpg-error | [] [] | + libgphoto2 | [] () | + libgphoto2_port | [] () [] | + libgsasl | | + libiconv | [] [] [] [] [] | + libidn | [] [] [] | + lifelines | [] () | + liferea | [] [] [] [] [] | + lilypond | [] [] [] | + linkdr | [] [] [] | + lordsawar | [] | + lprng | | + lynx | [] [] [] [] | + m4 | [] [] [] [] | + mailfromd | | + mailutils | [] | + make | [] [] [] | + man-db | | + man-db-manpages | | + minicom | [] [] [] [] | + mkisofs | | + myserver | | + nano | [] [] [] | + opcodes | [] [] | + parted | [] [] | + pies | | + popt | [] [] [] [] [] | + psmisc | [] [] [] | + pspp | [] | + pwdutils | [] | + radius | [] | + recode | [] [] [] [] [] [] | + rosegarden | () () () | + rpm | [] [] [] | + rush | | + sarg | | + screem | | + scrollkeeper | [] [] [] [] [] | + sed | [] [] [] [] [] [] | + sharutils | [] [] [] [] | + shishi | | + skencil | [] () [] | + solfege | [] [] [] | + solfege-manual | [] [] | + soundtracker | [] [] [] | + sp | [] | + sysstat | [] [] [] | + tar | [] [] [] [] | + texinfo | [] [] [] | + tin | [] [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux-ng | [] [] [] [] | + vice | () () | + vmm | [] | + vorbis-tools | [] [] | + wastesedge | [] | + wdiff | [] [] | + wget | [] [] [] | + wyslij-po | | + xchat | [] [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] [] [] [] | + +-------------------------------------------------+ + crh cs da de el en en_GB en_ZA eo es et eu fa + 5 64 105 117 18 1 8 0 28 89 18 19 0 + + fi fr ga gl gu he hi hr hu hy id is it ja ka kn + +----------------------------------------------------+ + a2ps | [] [] [] [] | + aegis | [] [] | + ant-phone | [] [] | + anubis | [] [] [] [] | + aspell | [] [] [] [] | + bash | [] [] [] [] | + bfd | [] [] [] | + bibshelf | [] [] [] [] [] | + binutils | [] [] [] | + bison | [] [] [] [] | + bison-runtime | [] [] [] [] [] [] | + bluez-pin | [] [] [] [] [] [] [] [] | + bombono-dvd | [] | + buzztard | [] | + cflow | [] [] [] | + clisp | [] | + coreutils | [] [] [] [] [] | + cpio | [] [] [] [] | + cppi | [] [] | + cpplib | [] [] [] | + cryptsetup | [] [] [] | + dfarc | [] [] [] | + dialog | [] [] [] [] [] [] [] | + dico | | + diffutils | [] [] [] [] [] [] [] [] [] | + dink | [] | + doodle | [] [] | + e2fsprogs | [] [] | + enscript | [] [] [] [] | + exif | [] [] [] [] [] [] | + fetchmail | [] [] [] [] | + findutils | [] [] [] [] [] [] | + flex | [] [] [] | + freedink | [] [] [] | + gas | [] [] | + gawk | [] [] [] [] () [] | + gcal | [] | + gcc | [] | + gettext-examples | [] [] [] [] [] [] [] | + gettext-runtime | [] [] [] [] [] [] | + gettext-tools | [] [] [] [] | + gip | [] [] [] [] [] [] | + gjay | [] | + gliv | [] () | + glunarclock | [] [] [] [] | + gnubiff | () [] () | + gnucash | () () () () () [] | + gnuedu | [] [] | + gnulib | [] [] [] [] [] [] | + gnunet | | + gnunet-gtk | [] | + gnutls | [] [] | + gold | [] [] | + gpe-aerial | [] [] [] | + gpe-beam | [] [] [] [] | + gpe-bluetooth | [] [] [] [] | + gpe-calendar | [] [] | + gpe-clock | [] [] [] [] [] | + gpe-conf | [] [] [] [] | + gpe-contacts | [] [] [] [] | + gpe-edit | [] [] [] | + gpe-filemanager | [] [] [] [] | + gpe-go | [] [] [] [] [] | + gpe-login | [] [] [] | + gpe-ownerinfo | [] [] [] [] [] | + gpe-package | [] [] [] | + gpe-sketchbook | [] [] [] [] | + gpe-su | [] [] [] [] [] [] | + gpe-taskmanager | [] [] [] [] [] | + gpe-timesheet | [] [] [] [] [] | + gpe-today | [] [] [] [] [] [] [] | + gpe-todo | [] [] [] | + gphoto2 | [] [] [] [] [] [] | + gprof | [] [] [] [] | + gpsdrive | [] [] [] | + gramadoir | [] [] [] | + grep | [] [] | + grub | [] [] [] [] | + gsasl | [] [] [] [] [] | + gss | [] [] [] [] [] | + gst-plugins-bad | [] [] [] [] [] [] | + gst-plugins-base | [] [] [] [] [] [] | + gst-plugins-good | [] [] [] [] [] [] | + gst-plugins-ugly | [] [] [] [] [] [] | + gstreamer | [] [] [] [] [] | + gtick | [] [] [] [] [] | + gtkam | [] [] [] [] [] | + gtkorphan | [] [] [] | + gtkspell | [] [] [] [] [] [] [] [] [] | + gutenprint | [] [] [] [] | + hello | [] [] [] | + help2man | [] [] | + hylafax | [] | + idutils | [] [] [] [] [] [] | + indent | [] [] [] [] [] [] [] [] | + iso_15924 | [] () [] [] | + iso_3166 | [] () [] [] [] [] [] [] [] [] [] [] | + iso_3166_2 | () [] [] [] | + iso_4217 | [] () [] [] [] [] | + iso_639 | [] () [] [] [] [] [] [] [] | + iso_639_3 | () [] [] | + jwhois | [] [] [] [] [] | + kbd | [] [] | + keytouch | [] [] [] [] [] [] | + keytouch-editor | [] [] [] [] [] | + keytouch-keyboa... | [] [] [] [] [] | + klavaro | [] [] | + latrine | [] [] [] | + ld | [] [] [] [] | + leafpad | [] [] [] [] [] [] [] () | + libc | [] [] [] [] [] | + libexif | [] | + libextractor | | + libgnutls | [] [] | + libgpewidget | [] [] [] [] | + libgpg-error | [] [] | + libgphoto2 | [] [] [] | + libgphoto2_port | [] [] [] | + libgsasl | [] [] [] [] [] | + libiconv | [] [] [] [] [] [] | + libidn | [] [] [] [] | + lifelines | () | + liferea | [] [] [] [] | + lilypond | [] [] | + linkdr | [] [] [] [] [] | + lordsawar | | + lprng | [] | + lynx | [] [] [] [] [] | + m4 | [] [] [] [] [] [] | + mailfromd | | + mailutils | [] [] | + make | [] [] [] [] [] [] [] [] [] | + man-db | [] [] | + man-db-manpages | [] | + minicom | [] [] [] [] [] | + mkisofs | [] [] [] [] | + myserver | | + nano | [] [] [] [] [] [] | + opcodes | [] [] [] [] | + parted | [] [] [] [] | + pies | | + popt | [] [] [] [] [] [] [] [] [] | + psmisc | [] [] [] | + pspp | | + pwdutils | [] [] | + radius | [] [] | + recode | [] [] [] [] [] [] [] [] | + rosegarden | () () () () () | + rpm | [] [] | + rush | | + sarg | [] | + screem | [] [] | + scrollkeeper | [] [] [] [] | + sed | [] [] [] [] [] [] [] [] | + sharutils | [] [] [] [] [] [] [] | + shishi | [] | + skencil | [] | + solfege | [] [] [] [] | + solfege-manual | [] [] | + soundtracker | [] [] | + sp | [] () | + sysstat | [] [] [] [] [] | + tar | [] [] [] [] [] [] [] | + texinfo | [] [] [] [] | + tin | [] | + unicode-han-tra... | | + unicode-transla... | [] [] | + util-linux-ng | [] [] [] [] [] [] | + vice | () () () | + vmm | [] | + vorbis-tools | [] | + wastesedge | () () | + wdiff | [] | + wget | [] [] [] [] [] [] [] [] | + wyslij-po | [] [] [] | + xchat | [] [] [] [] [] [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] [] [] | + +----------------------------------------------------+ + fi fr ga gl gu he hi hr hu hy id is it ja ka kn + 105 121 53 20 4 8 3 5 53 2 120 5 84 67 0 4 + + ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne + +-----------------------------------------------+ + a2ps | [] | + aegis | | + ant-phone | | + anubis | [] [] | + aspell | [] | + bash | | + bfd | | + bibshelf | [] [] | + binutils | | + bison | [] | + bison-runtime | [] [] [] [] [] | + bluez-pin | [] [] [] [] [] | + bombono-dvd | | + buzztard | | + cflow | | + clisp | | + coreutils | [] | + cpio | | + cppi | | + cpplib | | + cryptsetup | | + dfarc | [] | + dialog | [] [] [] [] [] | + dico | | + diffutils | [] [] | + dink | | + doodle | | + e2fsprogs | | + enscript | | + exif | [] | + fetchmail | | + findutils | | + flex | | + freedink | [] | + gas | | + gawk | | + gcal | | + gcc | | + gettext-examples | [] [] [] [] | + gettext-runtime | [] | + gettext-tools | [] | + gip | [] [] | + gjay | | + gliv | | + glunarclock | [] | + gnubiff | | + gnucash | () () () () | + gnuedu | | + gnulib | | + gnunet | | + gnunet-gtk | | + gnutls | [] | + gold | | + gpe-aerial | [] | + gpe-beam | [] | + gpe-bluetooth | [] [] | + gpe-calendar | [] | + gpe-clock | [] [] [] [] [] | + gpe-conf | [] [] | + gpe-contacts | [] [] | + gpe-edit | [] | + gpe-filemanager | [] [] | + gpe-go | [] [] [] | + gpe-login | [] | + gpe-ownerinfo | [] [] | + gpe-package | [] [] | + gpe-sketchbook | [] [] | + gpe-su | [] [] [] [] [] [] | + gpe-taskmanager | [] [] [] [] [] [] | + gpe-timesheet | [] [] | + gpe-today | [] [] [] [] | + gpe-todo | [] [] | + gphoto2 | | + gprof | [] | + gpsdrive | | + gramadoir | | + grep | | + grub | | + gsasl | | + gss | | + gst-plugins-bad | [] [] [] [] | + gst-plugins-base | [] [] | + gst-plugins-good | [] [] | + gst-plugins-ugly | [] [] [] [] [] | + gstreamer | | + gtick | | + gtkam | [] | + gtkorphan | [] [] | + gtkspell | [] [] [] [] [] [] [] | + gutenprint | | + hello | [] [] [] | + help2man | | + hylafax | | + idutils | | + indent | | + iso_15924 | [] [] | + iso_3166 | [] [] () [] [] [] [] [] | + iso_3166_2 | | + iso_4217 | [] [] | + iso_639 | [] [] | + iso_639_3 | [] | + jwhois | [] | + kbd | | + keytouch | [] | + keytouch-editor | [] | + keytouch-keyboa... | [] | + klavaro | [] | + latrine | [] | + ld | | + leafpad | [] [] [] | + libc | [] | + libexif | | + libextractor | | + libgnutls | [] | + libgpewidget | [] [] | + libgpg-error | | + libgphoto2 | | + libgphoto2_port | | + libgsasl | | + libiconv | | + libidn | | + lifelines | | + liferea | | + lilypond | | + linkdr | | + lordsawar | | + lprng | | + lynx | | + m4 | | + mailfromd | | + mailutils | | + make | [] | + man-db | | + man-db-manpages | | + minicom | [] | + mkisofs | | + myserver | | + nano | [] [] | + opcodes | | + parted | | + pies | | + popt | [] [] [] | + psmisc | | + pspp | | + pwdutils | | + radius | | + recode | | + rosegarden | | + rpm | | + rush | | + sarg | | + screem | | + scrollkeeper | [] [] | + sed | | + sharutils | | + shishi | | + skencil | | + solfege | [] | + solfege-manual | | + soundtracker | | + sp | | + sysstat | [] | + tar | [] | + texinfo | [] | + tin | | + unicode-han-tra... | | + unicode-transla... | | + util-linux-ng | | + vice | | + vmm | | + vorbis-tools | | + wastesedge | | + wdiff | | + wget | [] | + wyslij-po | | + xchat | [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] | + +-----------------------------------------------+ + ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne + 20 5 10 1 13 48 4 2 2 4 24 10 20 3 1 + + nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr + +---------------------------------------------------+ + a2ps | [] [] [] [] [] [] [] [] | + aegis | [] [] [] | + ant-phone | [] [] | + anubis | [] [] [] | + aspell | [] [] [] [] [] | + bash | [] [] | + bfd | [] | + bibshelf | [] [] | + binutils | [] [] | + bison | [] [] [] | + bison-runtime | [] [] [] [] [] [] [] | + bluez-pin | [] [] [] [] [] [] [] [] | + bombono-dvd | [] () | + buzztard | [] [] | + cflow | [] | + clisp | [] [] | + coreutils | [] [] [] [] [] [] | + cpio | [] [] [] | + cppi | [] | + cpplib | [] | + cryptsetup | [] | + dfarc | [] | + dialog | [] [] [] [] | + dico | [] | + diffutils | [] [] [] [] [] [] | + dink | () | + doodle | [] [] | + e2fsprogs | [] [] | + enscript | [] [] [] [] [] | + exif | [] [] [] () [] | + fetchmail | [] [] [] [] | + findutils | [] [] [] [] [] | + flex | [] [] [] [] [] | + freedink | [] [] | + gas | | + gawk | [] [] [] [] | + gcal | | + gcc | [] | + gettext-examples | [] [] [] [] [] [] [] [] | + gettext-runtime | [] [] [] [] [] [] [] [] [] | + gettext-tools | [] [] [] [] [] [] | + gip | [] [] [] [] [] | + gjay | | + gliv | [] [] [] [] [] [] | + glunarclock | [] [] [] [] [] | + gnubiff | [] () | + gnucash | [] () () () | + gnuedu | [] | + gnulib | [] [] [] [] | + gnunet | | + gnunet-gtk | | + gnutls | [] [] | + gold | | + gpe-aerial | [] [] [] [] [] [] [] | + gpe-beam | [] [] [] [] [] [] [] | + gpe-bluetooth | [] [] | + gpe-calendar | [] [] [] [] | + gpe-clock | [] [] [] [] [] [] [] [] | + gpe-conf | [] [] [] [] [] [] [] | + gpe-contacts | [] [] [] [] [] | + gpe-edit | [] [] [] | + gpe-filemanager | [] [] [] | + gpe-go | [] [] [] [] [] [] [] [] | + gpe-login | [] [] | + gpe-ownerinfo | [] [] [] [] [] [] [] [] | + gpe-package | [] [] | + gpe-sketchbook | [] [] [] [] [] [] [] | + gpe-su | [] [] [] [] [] [] [] [] | + gpe-taskmanager | [] [] [] [] [] [] [] [] | + gpe-timesheet | [] [] [] [] [] [] [] [] | + gpe-today | [] [] [] [] [] [] [] [] | + gpe-todo | [] [] [] [] [] | + gphoto2 | [] [] [] [] [] [] [] [] | + gprof | [] [] [] | + gpsdrive | [] [] | + gramadoir | [] [] | + grep | [] [] [] [] | + grub | [] [] [] | + gsasl | [] [] [] [] | + gss | [] [] [] | + gst-plugins-bad | [] [] [] [] [] [] | + gst-plugins-base | [] [] [] [] [] | + gst-plugins-good | [] [] [] [] [] | + gst-plugins-ugly | [] [] [] [] [] [] | + gstreamer | [] [] [] [] [] | + gtick | [] [] [] | + gtkam | [] [] [] [] [] [] | + gtkorphan | [] | + gtkspell | [] [] [] [] [] [] [] [] [] [] | + gutenprint | [] [] | + hello | [] [] [] [] | + help2man | [] [] | + hylafax | [] | + idutils | [] [] [] [] [] | + indent | [] [] [] [] [] [] [] | + iso_15924 | [] [] [] [] | + iso_3166 | [] [] [] [] [] () [] [] [] [] [] [] [] [] | + iso_3166_2 | [] [] [] | + iso_4217 | [] [] [] [] [] [] [] [] | + iso_639 | [] [] [] [] [] [] [] [] [] | + iso_639_3 | [] [] | + jwhois | [] [] [] [] | + kbd | [] [] [] | + keytouch | [] [] [] | + keytouch-editor | [] [] [] | + keytouch-keyboa... | [] [] [] | + klavaro | [] [] | + latrine | [] [] | + ld | | + leafpad | [] [] [] [] [] [] [] [] [] | + libc | [] [] [] [] | + libexif | [] [] () [] | + libextractor | | + libgnutls | [] [] | + libgpewidget | [] [] [] | + libgpg-error | [] [] | + libgphoto2 | [] [] | + libgphoto2_port | [] [] [] [] [] | + libgsasl | [] [] [] [] [] | + libiconv | [] [] [] [] [] | + libidn | [] [] | + lifelines | [] [] | + liferea | [] [] [] [] [] () () [] | + lilypond | [] | + linkdr | [] [] [] | + lordsawar | | + lprng | [] | + lynx | [] [] [] | + m4 | [] [] [] [] [] | + mailfromd | [] | + mailutils | [] | + make | [] [] [] [] | + man-db | [] [] [] | + man-db-manpages | [] [] [] | + minicom | [] [] [] [] | + mkisofs | [] [] [] | + myserver | | + nano | [] [] [] [] | + opcodes | [] [] | + parted | [] [] [] [] | + pies | [] | + popt | [] [] [] [] | + psmisc | [] [] [] | + pspp | [] [] | + pwdutils | [] | + radius | [] [] [] | + recode | [] [] [] [] [] [] [] [] | + rosegarden | () () | + rpm | [] [] [] | + rush | [] [] | + sarg | | + screem | | + scrollkeeper | [] [] [] [] [] [] [] [] | + sed | [] [] [] [] [] [] [] [] [] | + sharutils | [] [] [] [] | + shishi | [] | + skencil | [] [] | + solfege | [] [] [] [] | + solfege-manual | [] [] [] | + soundtracker | [] | + sp | | + sysstat | [] [] [] [] | + tar | [] [] [] [] | + texinfo | [] [] [] [] | + tin | [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux-ng | [] [] [] [] [] | + vice | [] | + vmm | [] | + vorbis-tools | [] [] | + wastesedge | [] | + wdiff | [] [] | + wget | [] [] [] [] [] [] [] | + wyslij-po | [] [] [] | + xchat | [] [] [] [] [] [] [] [] [] | + xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] [] | + xkeyboard-config | [] [] [] | + +---------------------------------------------------+ + nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr + 135 10 4 7 105 1 29 62 47 91 3 54 46 9 37 + + sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW + +---------------------------------------------------+ + a2ps | [] [] [] [] [] | 27 + aegis | [] | 9 + ant-phone | [] [] [] [] | 9 + anubis | [] [] [] [] | 15 + aspell | [] [] [] | 20 + bash | [] [] [] | 12 + bfd | [] | 6 + bibshelf | [] [] [] | 16 + binutils | [] [] | 8 + bison | [] [] | 12 + bison-runtime | [] [] [] [] [] [] | 29 + bluez-pin | [] [] [] [] [] [] [] [] | 37 + bombono-dvd | [] | 4 + buzztard | [] | 7 + cflow | [] [] [] | 9 + clisp | | 10 + coreutils | [] [] [] [] | 22 + cpio | [] [] [] [] [] [] | 13 + cppi | [] [] | 5 + cpplib | [] [] [] [] [] [] | 14 + cryptsetup | [] [] | 7 + dfarc | [] | 9 + dialog | [] [] [] [] [] [] [] | 30 + dico | [] | 2 + diffutils | [] [] [] [] [] [] | 30 + dink | | 4 + doodle | [] [] | 7 + e2fsprogs | [] [] [] | 11 + enscript | [] [] [] [] | 17 + exif | [] [] [] | 16 + fetchmail | [] [] [] | 17 + findutils | [] [] [] [] [] | 20 + flex | [] [] [] [] | 15 + freedink | [] | 10 + gas | [] | 4 + gawk | [] [] [] [] | 18 + gcal | [] [] | 5 + gcc | [] [] [] | 7 + gettext-examples | [] [] [] [] [] [] [] | 34 + gettext-runtime | [] [] [] [] [] [] [] | 29 + gettext-tools | [] [] [] [] [] [] | 22 + gip | [] [] [] [] | 22 + gjay | [] | 3 + gliv | [] [] [] | 14 + glunarclock | [] [] [] [] [] | 19 + gnubiff | [] [] | 4 + gnucash | () [] () [] () | 10 + gnuedu | [] [] | 7 + gnulib | [] [] [] [] | 16 + gnunet | [] | 1 + gnunet-gtk | [] [] [] | 5 + gnutls | [] [] [] | 10 + gold | [] | 4 + gpe-aerial | [] [] [] | 18 + gpe-beam | [] [] [] | 19 + gpe-bluetooth | [] [] [] | 13 + gpe-calendar | [] [] [] [] | 12 + gpe-clock | [] [] [] [] [] | 28 + gpe-conf | [] [] [] [] | 20 + gpe-contacts | [] [] [] | 17 + gpe-edit | [] [] [] | 12 + gpe-filemanager | [] [] [] [] | 16 + gpe-go | [] [] [] [] [] | 25 + gpe-login | [] [] [] | 11 + gpe-ownerinfo | [] [] [] [] [] | 25 + gpe-package | [] [] [] | 13 + gpe-sketchbook | [] [] [] | 20 + gpe-su | [] [] [] [] [] | 30 + gpe-taskmanager | [] [] [] [] [] | 29 + gpe-timesheet | [] [] [] [] [] | 25 + gpe-today | [] [] [] [] [] [] | 30 + gpe-todo | [] [] [] [] | 17 + gphoto2 | [] [] [] [] [] | 24 + gprof | [] [] [] | 15 + gpsdrive | [] [] [] | 11 + gramadoir | [] [] [] | 11 + grep | [] [] [] | 10 + grub | [] [] [] | 14 + gsasl | [] [] [] [] | 14 + gss | [] [] [] | 11 + gst-plugins-bad | [] [] [] [] | 26 + gst-plugins-base | [] [] [] [] [] | 24 + gst-plugins-good | [] [] [] [] | 24 + gst-plugins-ugly | [] [] [] [] [] | 29 + gstreamer | [] [] [] [] | 22 + gtick | [] [] [] | 13 + gtkam | [] [] [] | 20 + gtkorphan | [] [] [] | 14 + gtkspell | [] [] [] [] [] [] [] [] [] | 45 + gutenprint | [] | 10 + hello | [] [] [] [] [] [] | 21 + help2man | [] [] | 7 + hylafax | [] | 5 + idutils | [] [] [] [] | 17 + indent | [] [] [] [] [] [] | 30 + iso_15924 | () [] () [] [] | 16 + iso_3166 | [] [] () [] [] () [] [] [] () | 53 + iso_3166_2 | () [] () [] | 9 + iso_4217 | [] () [] [] () [] [] | 26 + iso_639 | [] [] [] () [] () [] [] [] [] | 38 + iso_639_3 | [] () | 8 + jwhois | [] [] [] [] [] | 16 + kbd | [] [] [] [] [] | 15 + keytouch | [] [] [] | 16 + keytouch-editor | [] [] [] | 14 + keytouch-keyboa... | [] [] [] | 14 + klavaro | [] | 11 + latrine | [] [] [] | 10 + ld | [] [] [] [] | 11 + leafpad | [] [] [] [] [] [] | 33 + libc | [] [] [] [] [] | 21 + libexif | [] () | 7 + libextractor | [] | 1 + libgnutls | [] [] [] | 9 + libgpewidget | [] [] [] | 14 + libgpg-error | [] [] [] | 9 + libgphoto2 | [] [] | 8 + libgphoto2_port | [] [] [] [] | 14 + libgsasl | [] [] [] | 13 + libiconv | [] [] [] [] | 21 + libidn | () [] [] | 11 + lifelines | [] | 4 + liferea | [] [] [] | 21 + lilypond | [] | 7 + linkdr | [] [] [] [] [] | 17 + lordsawar | | 1 + lprng | [] | 3 + lynx | [] [] [] [] | 17 + m4 | [] [] [] [] | 19 + mailfromd | [] [] | 3 + mailutils | [] | 5 + make | [] [] [] [] | 21 + man-db | [] [] [] | 8 + man-db-manpages | | 4 + minicom | [] [] | 16 + mkisofs | [] [] | 9 + myserver | | 0 + nano | [] [] [] [] | 21 + opcodes | [] [] [] | 11 + parted | [] [] [] [] [] | 15 + pies | [] [] | 3 + popt | [] [] [] [] [] [] | 27 + psmisc | [] [] | 11 + pspp | | 4 + pwdutils | [] [] | 6 + radius | [] [] | 9 + recode | [] [] [] [] | 28 + rosegarden | () | 0 + rpm | [] [] [] | 11 + rush | [] [] | 4 + sarg | | 1 + screem | [] | 3 + scrollkeeper | [] [] [] [] [] | 27 + sed | [] [] [] [] [] | 30 + sharutils | [] [] [] [] [] | 22 + shishi | [] | 3 + skencil | [] [] | 7 + solfege | [] [] [] [] | 16 + solfege-manual | [] | 8 + soundtracker | [] [] [] | 9 + sp | [] | 3 + sysstat | [] [] | 15 + tar | [] [] [] [] [] [] | 23 + texinfo | [] [] [] [] [] | 17 + tin | | 4 + unicode-han-tra... | | 0 + unicode-transla... | | 2 + util-linux-ng | [] [] [] [] | 20 + vice | () () | 1 + vmm | [] | 4 + vorbis-tools | [] | 6 + wastesedge | | 2 + wdiff | [] [] | 7 + wget | [] [] [] [] [] | 26 + wyslij-po | [] [] | 8 + xchat | [] [] [] [] [] [] | 36 + xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] | 63 + xkeyboard-config | [] [] [] | 22 + +---------------------------------------------------+ + 85 teams sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW + 178 domains 119 1 3 3 0 10 65 51 155 17 98 7 41 2618 + + Some counters in the preceding matrix are higher than the number of +visible blocks let us expect. This is because a few extra PO files are +used for implementing regional variants of languages, or language +dialects. + + For a PO file in the matrix above to be effective, the package to +which it applies should also have been internationalized and +distributed as such by its maintainer. There might be an observable +lag between the mere existence a PO file and its wide availability in a +distribution. + + If June 2010 seems to be old, you may fetch a more recent copy of +this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date +matrix with full percentage details can be found at +`http://translationproject.org/extra/matrix.html'. + +1.5 Using `gettext' in new packages +=================================== + +If you are writing a freely available program and want to +internationalize it you are welcome to use GNU `gettext' in your +package. Of course you have to respect the GNU Library General Public +License which covers the use of the GNU `gettext' library. This means +in particular that even non-free programs can use `libintl' as a shared +library, whereas only free software can use `libintl' as a static +library or use modified versions of `libintl'. + + Once the sources are changed appropriately and the setup can handle +the use of `gettext' the only thing missing are the translations. The +Free Translation Project is also available for packages which are not +developed inside the GNU project. Therefore the information given above +applies also for every other Free Software Project. Contact +`coordinator@translationproject.org' to make the `.pot' files available +to the translation teams. + diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..16bc345 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,694 @@ + + util-linux + +MAINTAINER: + + Karel Zak + + +PAST MAINTAINERS: + + Adrian Bunk + Andries E. Brouwer + + +AUTHORS (merged projects & commands): + + blkdiscard: Lukas Czerner + blkzone: Shaun Tancheff + Damien Le Moal + fallocate: Eric Sandeen + Karel Zak + Matěj Cepl + fincore: Masatake YAMATO + findmnt: Karel Zak + flock: H. Peter Anvin + fsck: [merged from e2fsprogs] + Theodore Ts'o + fstrim: Lukas Czerner + fsfreeze: Hajime Taira + getopt: Frodo Looijaard + hwclock: Bryan Henderson + ipcmk: Hayden James + last/lastb: [merged from sysvinit] + Miquel van Smoorenburg + ldattach: Tilman Schmidt + libblkid: [merged from e2fsprogs] + Theodore Ts'o + libmount: Karel Zak + libuuid: Theodore Ts'o + lscpu: Cai Qian + lsblk: Milan Broz + Karel Zak + lsipc: Ondrej Oprala + Karel Zak + lslocks: Davidlohr Bueso + lslogins: Ondrej Oprala + lsmem/chmem: Heiko Carstens + mountpoint: Karel Zak + nsenter: Eric W. Biederman + prlimit: Davidlohr Bueso + runuser: [derived from coreutils su(1)] + Karel Zak + resizepart: Vivek Goyal + rfkill: Johannes Berg + Marcel Holtmann + Tim Gardner + rtcwake: David Brownell + Bernhard Walle + schedutils: Robert Love + setarch: Elliot Lee + Jindrich Novy + setpriv: Andy Lutomirski + simpleinit: Richard Gooch + su: [merged from coreutils] + Free Software Foundation, Inc. + SUSE Linux Products GmbH + sulogin: [merged from sysvinit] + Miquel van Smoorenburg + switch_root: Peter Jones + Jeremy Katz + unshare: Mikhail Gusarov + utmpdump: [merged from sysvinit] + Danek Duvall + Miquel van Smoorenburg + wipefs: Karel Zak + swaplabel: Jason Borden + Karel Zak + zramctl: Timofey Titovets + Karel Zak + + +CONTRIBUTORS: + + Aaron Lu + A. Bram Neijt + A. Costa + Adam Jackson + Adrian Knoth + Ævar Arnfjörð Bjarmason + ahmogit + Alain Guibert + Alan Curry + Alan Jenkins + Alan Wendt + Alban Crequy + Alden Tondettar + Alejandro Martinez Ruiz + Alexander F Rødseth + Alexander Kuleshov + Alexander Shishkin + Alexander Troosh + Alexandre Peixoto Ferreira + Alex Bligh + Alexey Galakhov + Alexey Gladkov + Alexey Obitotskiy + Alex Ivanov + Allon Mureinik + Alon Bar-Lev + Alvaro M. Echevarria + Américo Wang + Andrea Galbusera + Andreas Bießmann + Andreas Dilger + Andreas Henriksson + Andreas Schwab + Andreas Vogel + Andre Wild + Andrew McGill + Andrew Nayenko + Andrew Vagin + Andrew Wilcox + Andrii Bordunov + Andrzej Krzysztofowicz + Andy Grover + Andy Lutomirski + Aner Perez + Anna Jonna Ármannsdóttir + Anthony Rumble + Anton Blanchard + Antonio Ceballos Roa + Antonio Ospite + Anton V. Boyarshinov + Ard Biesheuvel + Arif E. Nugroho + Arkadiusz Miśkiewicz + Arnaud Mouiche + Arun Persaud + Attila Áfra + Aurelien Aptel + Aurelien Jarno + Awal Garg + Balint Cristian + Bastian Friedrich + Ben Hutchings + Benjamin Robin + Benjamin Romer + Benno Schulenberg + Bernardo Innocenti + Bernhard Voelker + Bernhard Walle + Bert van Hall + Bill Pemberton + Bill Pemberton + Bill Reynolds + Bjarni Ingi Gislason + Björn Jacke + Bjørn Mork + Bob Proulx + Boris Egorov + Borut Mrak + Brad Forschinger + Bryn M. Reeves + B Watson + Cai Qian + Carlo Caione + Carlos Maiolino + Carlos Santos + Casper Ti. Vector + Chandan B Rajenda + chas williams - CONTRACTOR + Chen Qi + Chow Loong Jin + Chris Frost + Chris MacGregor + Chris Metcalf + Chris Morin + Christian Hesse + Christian von Roques + Christian Wiese + Christophe Blaess + Christoph Egger + Christopher James Halse Rogers + Christoph Hellwig + Christoph Junghans + Christoph Lameter + Chris Webb + Claus Hindsgaul + Cliff Wickman + Clytie Siddall + coastal-hiker + Cody Maloney + Colin Watson + Cong Wang + Corentin Chary + Cristian Rodríguez + Csaba Kos + Daisuke Yamashita + Damien Le Moal + Daniel Drake + Daniel Kahn Gillmor + Daniel Mierswa + Daniel Nylander + Daniel Quinlan + Daniel Shahaf + Daniel Stodden + Daniel Thumim + Daniel Trebbien + Darren Salt + Dave Reisner + David Brownell + David Holland + Davidlohr Bueso + David Miller + David Prévot + David Shea + David Woodhouse + Deiz + Denis Chaplygin + Denis ChengRq + Dennis Gilmore + Dennis H Jensen + Dennis Jensen + Diego Elio 'Flameeyes' Pettenò + Dima Kogan + Dirk Mueller + Dmitry V. Levin + Dong Hao + Dongli Zhang + Dongsu Park + Douglas E. Quale + Doug Quale + Dov Grobgeld + Ed Carp + Elan Ruusamäe + Eric Rannaud + Eric Rasmussen + Eric Sandeen + Eric S. Raymond + Eric W. Biederman + Erik Troan + Eryu Guan + Eugene Yunak + Evgeniy Yakushev + Fabian Frederick + Fabian Groffen + Federico Simoncelli + Filipe Brandenburger + Flávio Leitner + Florentin Duneau + Florian Zumbiehl + Forest Bond + Francesco Cosoleto + Franco Fichtner + François Revol + Fran Diéguez + Frank Mayhar + Frank Schaefer + Frédéric Bothamy + Frederick Grose + Frédéric Marchal + Frederik "Freso" S. Olesen + Fred Mora + fREW Schmidt + Fridolin Pokorny + Gabor Kelemen + Gabriel Barazer + Gabriel Burt + Gabriel de Perthuis + Gabriele Giacone <1o5g4r8o@gmail.com> + Gabriel M. Schuyler + Georg Schiesser + Gerald Schaefer + Gerhard Schneider + Gerrit Renker + Giacomo + Gilles Espinasse + Giulio Orsero + Giuseppe Scrivano + Gleb Fotengauer-Malinovskiy + Goffredo Baroncelli + Grady Martin + G.raud Meyer + Guan Xin + Gui Hecheng + Guillem Jover + Gunnar Ritter + Gustavo Zacarias + Hajime Taira + Hamish Coleman + Hannes Reinecke + Harald Hoyer + Harry Mallon + Hayden James + Heiko Carstens + Helge Deller + Helmut Grohne + Hendrik Lönngren + Henne Vogelsang + H.J. Lu + H. Peter Anvin + HUANG Wei + Hugh Dickins + Humberto Zuazaga + Huschaam Hussain + Hushan Jia + Ian Wienand + Igor Bazhitov + Igor Gnatenko + ihno + Ilias Mamedov + Imre Kaloz + Ingo Brückl + Isaac Dunham + Ivan Delalande + Jaakko Hyvätti + Jakob Unterwurzacher + Jakub Bogusz + Jakub Wilk + James Bottomley + James Buren + James Clarke + James Hunt + James Le Cuirot + James Sanford + James Youngman + Jan Engelhardt + Jan Kara + Jan Sarenik + Jan (yac) Matějka + Jan "Yenya" Kasprzak + Jari Aalto + Jaromir Capik + Jason Borden + Jason Vas Dias + Jean-Loup 'clippix' Bogalho + Jean-Philippe ROMAIN + Jeff Mahoney + Jens Kristian Søgaard + Jeremy Fitzhardinge + Jeremy Huntwork + Jeroen Oortwijn + Jesper Dahl Nyerup + Jesse Thilo + Jim Meyering + Jim Patterson + Jindrich Makovicka + Jiro SEKIBA + Joe Hansen + Johannes Berg + John Groves + John Keeping + John Lindgren + John Paul Morrison + John W Higgins + John W. Linville + Jonathan Liu + Jon Grant + Jon Ringle + Jörg Jenderek + Joseph Parmelee + Josep Puigdemont + Josh Triplett + Joshua Hudson + Joshua Watt + Josiah Worcester + Juha Laiho + Jun Hamano + Justin B Rye + J William Piggott + KaiGai Kohei + Kalev Soikonen + Kaligule + Kay Sievers + Kees Cook + Ken Kopin + Kent Overstreet + Kenyon Ralph + kernc + Kevin E. Martin + kevin.granade@gmail.com + Kevin Locke + Kirill Elagin + Kir Kolyshkin + Kunihiko IMAI + KyleMahlkuch + Lada Trimasova + LaMont Jones + Lars Wirzenius + Lauri Nurmi + Lawrence Rust + Lennart Poettering + Liam Ryan + Libor Bukata + Linus Torvalds + Li Zefan + Lubomir Kundrak + Lubomir Rintel + Luca Ceresoli + Luciano Chavez + Ludwig Nussel + Luiz Angelo Daros de Luca + Lukas Czerner + Makoto Kato + Mamatha Inamdar + Mantas Mikulėnas + Marc-Antoine Perennou + Marcel Holtmann + Marcin Juszkiewicz + Marco Colombo + Marco d'Itri + Marek Michalkiewicz + Marek Otahal + Marek Polacek + Mario Blättermann + Mark McLoughlin + Mark Sheppard + Mark Tinguely + Markus Rinne + Martin K. Petersen + Martin Schlemmer + Martin Schulze + Martin Steigerwald + Masanari Iida + Masatake YAMATO + Masato Suzuki + Matthew Garrett + Matthias Gerstner + Matthias König + Matti Niemenmaa + Maurizio Lombardi + maximilian attems + Maxim Levitsky + Maxim V. Dziumanenko + Max Klinger + Meelis Roos + Mesutcan Kurt + Michael Bunk + Michael Forney + Michael Glad + Michael Kerrisk + Michael Marineau + Michael Piefel + Michał Bartoszkiewicz + Michal Humpula + Michal Luscon + Michal Schmidt + Michal Suchanek + Michel Robitaille + Mike Frysinger + Mike Hommey + Mikel Olasagasti Uranga + Mike Place + Mikhail Gusarov + Mikhail Vorobyov + Miklos Szeredi + Milan Bouchet-Valat + Milan Broz + Ming Lei + Miquel van Smoorenburg + Mitchum DSouza + Moritz Muehlenhoff + M.S.Colclough + Namhyung Kim + Natanael Copa + Nate Clark + Nathan Rossi + NeilBrown + Neil Horman + nick black + Nick Holloway + Nicolai Langfeldt + Nicolas Boichat + Nicolas Provost + Niklas Hambüchen + Nik Nyby + Nikolay Sivov + Nilgün Belma Bugüner + Noel Cragg + Norbert Buchmuller + OGAWA Hirofumi + Oliver Falk + Olivier Blin + Olivier Mengué + Ondrej Oprala + Osamu Aoki + osexp2000 + Pádraig Brady + Pali Rohár + Pascal Terjan + Patrice Dumas + Patrick Plagwitz + Patrick Steinhardt + Paul Asmuth + Paul Eggert + Paul Fox + Paulius Zaleckas + Paul Menzel + Paul M + Pavel Butsykin + Pavel Maryanov + pcpa + Pedro Miguel Carvalho + Pedro Ribeiro + peppe + Peter Breitenlohner + Peter Cordes + Peter De Wachter + Peter Hoeg + Peter Jones + Peter Orbaek + Peter Rajnoha + Peter Tobias + Peter Tyser + Peter Volkov + Petr Písař + Petr Uzel + Petr Vorel + Phan Vinh Thinh + Philipp Marek + Philip Prindeville + Philipp Thomas + Phillip Susi + Phil Ruffwind + Pierre Hauweele + Pietro Castelli + Po-Yu Chuang + Prarit Bhargava + Rafael Aquini + Rafael Ferreira + Rafael Fontenelle + Rafael Fontenelle + Rafal Luzynski + Rafał Miłecki + Raghavendra D Prabhu + Rainer Gerhards + Rajeev V. Pillai + Ram Pai + Randolph Bentson + Randy Dunlap + Raphael S. Carvalho + Rasmus Villemoes + Raul Gutierrez Segales + Ray Wang + Richard Fuchs + Richard Tollerton + Richard Weinberger + Richard W.M. Jones + Richard Yann + Richard Yao + Rickard Faith + Rick Sladkey + Riku Voipio + Rik van Riel + Robert Förster + Robert Millan + Robert Schiele + Roddy Shuler + Rodrigo Campos + Rodrigo Stulzer Lopes + Rolf Fokkens + Romain Bouvier + Romain Naour + Ronny Chevalier + Ron Sommeling + Ross Biro + Rostislav Skudnov + Roy Peled + Ruediger Meier + Rui Zhao (renyuneyun) + Sami Kerola + Sami Liedes + Sam Morris + Samuel Ortiz + Samuel Thibault + Sam Varshavchik + Sander van Malssen + Santiago Vila Doncel + Sascha Sommer + Sassan Panahinejad + Scott James Remnant + Scott Moser + Scott Telford + Sebastian Andrzej Siewior + Sebastian Krahmer + Sebastian Rasmussen + Sebastian Schrader + Sébastien Helleu + Serge Hallyn + Sergei Antonov + Sergey Gusarov + Seth Girvan + Sevan Janiyan + sgargel + Shachar Shemesh + Shaun Tancheff + Simon Mihevc + sluidfoe + Søren Holm + s.p@orbitalfox.com + Stanislav Brabec + Stefan Krah + Stef Walter + Stepan Kasal + Stéphane Aulery + Stephan Maka + Stephan Müller + Stephen Gallimore + Stephen Hemminger + Stephen Tweedie + Steve Grubb + Steve Kenton + Steven Honeyman + Steven J. Magnani + Steven S. Dick + Steven Smith + Steve Philp + Stewart Smith + Sukadev Bhattiprolu + Sven Eckelmann + Sven Jost + Sweet Tea Dorminy + taiyu + Takeshi Hamasaki + Terry Burton + Theodore Ts'o + Thierry Reding + Thierry Vignaud + Thomas Bächler + Thomas Deutschmann + Thomas Fehr + Thomas Petazzoni + Thomas Schwinge + Thorsten Glaser + Thorsten Wilmer + Tilman Schmidt + Tim Gardner + Timo Juhani Lindfors + Timo Warns + Tim Waugh + Tobias Klauser + Tobias Stoeckmann + Tomas Winkler + Tom Gundersen + Tomislav Krznar + Tommi Kyntola + Tommy Thorn + Tom Prince + Tony Asleson + Torsten Hilbrich + Toshi Kani + Trần Ngọc Quân + Vaclav Dolezal + Valerie Aurora + Vasant Hegde + Victor Dodon + Ville Skyttä + Vincent Deffontaines + Vinnie Magro + Vitezslav Cizek + Vladimir Brednikov + Vladimir 'φ-coder/phcoder' Serbinenko + Volker Kuhlmann + Volker Schatz + Vratislav Podzimek + Waldemar Brodkorb + WANG Chao + Wanlong Gao + Wayne Pollock + Wayne R. Roth + Wei-Lun Chao + Werner Almesberger + Werner Fink + Wieland Hoffmann + William Pitcock + Will Johansson + Wolfgang Richter + W. Trevor King + WUEBBELS, Josef + Wylmer Wang + W.Z. Venema + Yann Droneaud + YmrDtnJu + Yoshihiro Takahashi + Yuri Chornoivan + Yuriy M. Kaminskiy + Yuriy Nazarov + Yu Zhiguo + Zachary Catlin + Zac Medico + Zbigniew Jędrzejewski-Szmek + Zdenek Behan + Zeeshan Ali (Khattak) + Zhi Li diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..d159169 --- /dev/null +++ b/COPYING @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..5effa8d --- /dev/null +++ b/ChangeLog @@ -0,0 +1,3 @@ +See version control history. + +http://git.kernel.org/?p=utils/util-linux/util-linux.git;a=log;h=2.33.1 diff --git a/Documentation/00-about-docs.txt b/Documentation/00-about-docs.txt new file mode 100644 index 0000000..b95ae44 --- /dev/null +++ b/Documentation/00-about-docs.txt @@ -0,0 +1,7 @@ +What is here +------------ + +The util-linux contains supplementary textual material, such as +readme files, release notes, licenses and so on. Common to these +files is that they contain information for contributors but +should not end up to end user installation. diff --git a/Documentation/PAM-configuration.txt b/Documentation/PAM-configuration.txt new file mode 100644 index 0000000..046a177 --- /dev/null +++ b/Documentation/PAM-configuration.txt @@ -0,0 +1,31 @@ + + PAM configuration is very distribution specific. This is reason why upstream + util-linux package does not install any PAM config files. + + + Expected PAM config files: + + login(1): + /etc/pam.d/remote - for -h command line option + /etc/pam.d/login - regular login + + + su(1): + /etc/pam.d/su-l - for --login command line option + /etc/pam.d/su - regular su + + + runuser(1): + /etc/pam.d/runuser-l - for --login command line option + /etc/pam.d/runuser - regular su + + Note that runuser requires only "session" setting (and for example + "auth sufficient pam_rootok.so" dummy line). + + + chfn(1): + /etc/pam.d/chfn + + + chsh(1): + /etc/pam.d/chsh diff --git a/Documentation/TODO b/Documentation/TODO new file mode 100644 index 0000000..86ee25a --- /dev/null +++ b/Documentation/TODO @@ -0,0 +1,165 @@ + + Note that items with (!) have high priority. + +cal +--- + - add option to print calendar in vertical way + https://github.com/karelzak/util-linux/issues/604 + - support another --reforms, see for example freebsd version + https://github.com/freebsd/freebsd/blob/master/usr.bin/ncal/ncal.c#L72 + +script +------ + - introduce a new timing file format to record information about multiple + streams (stdout, stdin) and events (signals) + + - add support for stdin loggin -- separated log file with raw input and timing + records in the timing file + + - for example timing file format: + + [ | ...] + + O 0.001296 256 + S 0.001297 SIGWINCH: columns=50, lines=20 + I 0.000010 10 + + O - output, S - signal, I - input + + +lscpu +----- + - read cpuid and uname information from file if --sysroot is specified, then + we can prepare regression tests completely independent on hw and architecture. + +lsblk +----- + - re-write the way how lsblk internally holds info about devices. Now we + compose only output (by libsmartcols). It would be better to have in memory + complete tree of the devices and generate the output from this tree. It will + make code more readable and allow to generate output in more ways -- for + example for RAIDs (https://github.com/karelzak/util-linux/issues/616) + + - currently it does not show mountpoint for all devices in btrfs RAID. It's because + /proc/#/mountinfo contains reference to the one device only. Maybe we can add some + btrfs specific code to provide a better output for FS based stacks. Not sure. + https://bugzilla.redhat.com/show_bug.cgi?id=1084453 + + - think about free/used space columns; the problem is that such info is about FS + and it may be confusing for end-users when FS to DEV mapping is not 1:1 (RAIDs, btrfs, + ...) + +nsenter(1) +---------- + - read the default UID and GID from the target process. + http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/9553/focus=9585 + +hwlock +------ + - use /var/lib/hwclock/drift to store hw-clock drift numbers. + - use /etc/adjtime as read-only for UTC/LOCAL information only + - the /var/lib/hwclock/drift should be implemented backwardly compatible, + it means use the file only if exists, otherwise follow /etc/adjtime + +bash completion +--------------- +- Optional argument handling requires user to press backspace to get + argument completion. +- Comma separated value, e.g., --output 'value1,value2', are not + completed for users. + +libmount (mount/umount) +----------------------- + + - remount all filesystems given their type, for example: + mount -a -t tmpfs -o remount + It should be probably enough to add remount_all() to mount(8) in way we + already have mount_all(). https://github.com/karelzak/util-linux/issues/589 + + - add --onlyonce to force mount(8) to check if mountpoint is already used. Now + "already mounted" detection is used for --all only. The problem is if you + call "mount " more than once for in fstab defined tmpfs (or network + filesystem etc.). In this case kernel does not return EBUSY, but a new instance + of the FS is created. https://github.com/karelzak/util-linux/issues/448 + (... just idea, maybe wrong idea) + + - support CAP_SYS_ADMIN; for mount(2) syscall the CAP_SYS_ADMIN is good + enough. Unfortunately, mount(8) does more things like check for filesystem + type (but it's usually done by udev, so root perms are unnecessary), create + loop devices, write to /run/mount/utab or /etc/mtab, etc. + + It would be nice to improve libmount to check for CAP_SYS_ADMIN if suid not + set and allow to use it for simple tasks where no another operation is + necessary. + +partx +----- + + - support mapping by device-mapper if argv[0] is "kpartx" or --dm option is used. + + +getopt +------ + It would be great if getopt could optionally ignore unknown options. + Currently, it outputs -- for every option it doesn't recognize but leaving the + option as it is could beneficial wrapper scripts which could then pass the + options they don't recognize as they are to the command they are wrapping. + https://github.com/karelzak/util-linux/issues/701 + +docs +---- + + - (!) use something better than gtk-doc for libmount and libblkid (doxyden?) + + - (!) add API documentation to libuuid + + +login-utils: +----------- + + - consolidate newgrp(1) + * we have "su --group/--supp-group" to switch between groups, newgrp(1) in + util-linux and shadow-utils (and sg(1) alias in shadow-utils) + * the unique functionality provided by newgpr(1) is support for group + passwords [/etc/gshadow] -- do we really need this functionality? + * maybe we can mark group-passwords as deprecated, and replace sg(1) and + newgpr(1) with su(1) code. The another way is to ask for group password in + su --group too. + * note that shadow-utils newgpr(1) provides support for syslog and audit log. + + +libblkid +-------- + + - (!) add support for BitLocker Drive Encryption + https://github.com/karelzak/util-linux/issues/617 + https://github.com/libyal/libbde/blob/master/documentation/BitLocker%20Drive%20Encryption%20(BDE)%20format.asciidoc + + - (!) add support for dasd PT (used for example on s390) + +libfdisk +-------- + + - add support for Apple Partition Map (see libblkid/src/partitions/mac.c) + http://en.wikipedia.org/wiki/Apple_Partition_Map + + +misc +---- + + - add mllockall() and SCHED_FIFO to hwclock, + see http://lkml.org/lkml/2008/10/12/132 + + +--------------- +exotic requests +--------------- + + - add SELinux security contexts support to the 'ipcs' utility + http://bugzilla.redhat.com/show_bug.cgi?id=225342 + + Would be great to list the current system IPC Objects with their respective + security labels (where allowed) with something like 'ipcs -Z' - following the + way other tools reports those. + + diff --git a/Documentation/blkid.txt b/Documentation/blkid.txt new file mode 100644 index 0000000..8448c05 --- /dev/null +++ b/Documentation/blkid.txt @@ -0,0 +1,80 @@ +libblkid - a library to handle device identification and token extraction + +Basic usage is as follows - there are two normal usage patterns: + +For cases where a program wants information about multiple devices, or +expects to be doing multiple token searches, the program should +directly initialize cache file via (second parameter is cache +filename, NULL = default): + + blkid_cache cache = NULL; + if (blkid_get_cache(&cache, NULL) < 0) + /* error reading the cache file, not really fatal */ + +Note that if no cache file exists, an empty cache struct is still +allocated. Usage of libblkid functions will use the cache to avoid +needless device scans. + +The model of the blkid cache is that each device has a number of +attributes that can be associated with it. Currently the attributes +which are supported (and set) by blkid are: + + TYPE filesystem type + UUID filesystem uuid + LABEL filesystem label + + +How to use libblkid? Normally, you either want to find a device with +a specific NAME=value token, or you want to output token(s) from a +device. To find a device that matches a following attribute, you +simply call the blkid_get_devname() function: + + if ((devname = blkid_get_devname(cache, attribute_name, value))) { + /* do something with devname */ + string_free(devname); + } + +The cache parameter is optional; if it is NULL, then the blkid library +will load the default blkid.tab cache file, and then release the cache +before function call returns. The return value is an allocated string +which holds the resulting device name (if it is found). If the value +is NULL, then attribute_name is parsed as if it were +"="; if it cannot be so parsed, then the +original attribute_name is returned in a copied allocated string. +This is a convenience to allow user programs to want to translate user +input, whether it is of the form: "/dev/hda1", "LABEL=root", +"UUID=082D-26E3", and get back a device name that it can use. + +Alternatively, of course, the programmer can pass an attribute name of +"LABEL", and value of "root", if that is more convenient. + +Another common usage is to retrieve the value of a specific attribute +for a particular device. This can be used to determine the filesystem +type, or label, or uuid for a particular device: + + if ((value = blkid_get_tag_value(cache, attribute_name, devname))) { + /* do something with value */ + string_free(value); + } + +If a program needs to call multiple blkid functions, then passing in a +cache value of NULL is not recommended, since the blkid.tab file +will be repeatedly parsed over and over again, with memory allocated +and deallocated. To initialize the blkid cache, blkid_get_cache() +function is used: + + if (blkid_get_cache(&cache, NULL) < 0) + goto errout; + +The second parameter of blkid_get_cache (if non-zero) is the alternate filename +of the blkid cache file (see blkid man page for more information about the +default cache file location). + +Normally, programs should just pass in NULL. + +If you have called blkid_get_cache(), you should call blkid_put_cache() +when you are done using the blkid library functions. This will save the +cache to the blkid.tab file, if you have write access to the file. It +will also free all associated devices and tags: + + blkid_put_cache(cache); diff --git a/Documentation/boilerplate.c b/Documentation/boilerplate.c new file mode 100644 index 0000000..a92f7f0 --- /dev/null +++ b/Documentation/boilerplate.c @@ -0,0 +1,110 @@ +/* Please use this file as a template when introducing new command to + * util-linux package. + * -- remove above */ +/* + * fixme-command-name - purpose of it + * + * Copyright (c) 20nn Example Commercial, Inc + * Written by Your Name + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it would be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#include +#include +#include + +#include "c.h" +#include "closestream.h" +#include "nls.h" + +/* + * FIXME: remove this comment. + * Other usage() constants that are not demonstrated below: + * USAGE_FUNCTIONS USAGE_COMMANDS USAGE_COLUMNS + */ +static void __attribute__((__noreturn__)) usage(void) +{ + fputs(USAGE_HEADER, stdout); + printf(_(" %s [options] file...\n"), program_invocation_short_name); + + fputs(USAGE_SEPARATOR, stdout); + puts(_("Short program description.")); + + fputs(USAGE_OPTIONS, stdout); + puts(_(" -n, --no-argument option does not use argument")); + puts(_(" --optional[=] option argument is optional")); + puts(_(" -r, --required option requires an argument")); + puts(_(" -z no long option")); + puts(_(" --xyzzy a long option only")); + puts(_(" -e, --extremely-long-long-option\n" + " use next line for description when needed")); + puts(_(" -l, --long-explanation an example of very verbose, and chatty option\n" + " description on two, or multiple lines, where the\n" + " consecutive lines are intended by two spaces")); + puts(_(" -f, --foobar next option description resets indent")); + fputs(USAGE_SEPARATOR, stdout); + printf(USAGE_HELP_OPTIONS(25)); /* char offset to align option descriptions */ + printf(USAGE_MAN_TAIL("fixme-command-name(1)")); + exit(EXIT_SUCCESS); +} + +int main(int argc, char **argv) +{ + int c; + + enum { + OPT_XYZZY = CHAR_MAX + 1, + OPT_OPTIONAL /* see howto-man-page.txt about short option */ + }; + static const struct option longopts[] = { + { "no-argument", no_argument, NULL, 'n' }, + { "optional", optional_argument, NULL, OPT_OPTIONAL }, + { "required", required_argument, NULL, 'r' }, + { "extremely-long-long-option", no_argument, NULL, 'e' }, + { "xyzzy", no_argument, NULL, OPT_XYZZY }, + { "long-explanation", no_argument, NULL, 'l' }, + { "foobar", no_argument, NULL, 'f' }, + { "version", no_argument, NULL, 'V' }, + { "help", no_argument, NULL, 'h' }, + { NULL, 0, NULL, 0 } + }; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + while ((c = getopt_long(argc, argv, "nr:zelfVh", longopts, NULL)) != -1) + switch (c) { + case 'n': + case OPT_OPTIONAL: + case 'r': + case 'z': + case OPT_XYZZY: + case 'e': + case 'l': + case 'f': + break; + case 'V': + printf(UTIL_LINUX_VERSION); + return EXIT_SUCCESS; + case 'h': + usage(); + default: + errtryhelp(EXIT_FAILURE); + } + + return EXIT_SUCCESS; +} diff --git a/Documentation/cal.txt b/Documentation/cal.txt new file mode 100644 index 0000000..638ac9d --- /dev/null +++ b/Documentation/cal.txt @@ -0,0 +1,42 @@ +The cal(1) date routines were written from scratch, basically from first +principles. The algorithm for calculating the day of week from any +Gregorian date was "reverse engineered". This was necessary as most of +the documented algorithms have to do with date calculations for other +calendars (e.g. julian) and are only accurate when converted to gregorian +within a narrow range of dates. + +1 Jan 1 is a Saturday because that's what cal says and I couldn't change +that even if I was dumb enough to try. From this we can easily calculate +the day of week for any date. The algorithm for a zero based day of week: + + calculate the number of days in all prior years (year-1)*365 + add the number of leap years (days?) since year 1 + (not including this year as that is covered later) + add the day number within the year + this compensates for the non-inclusive leap year + calculation + if the day in question occurs before the gregorian reformation + (3 sep 1752 for our purposes), then simply return + (value so far - 1 + SATURDAY's value of 6) modulo 7. + if the day in question occurs during the reformation (3 sep 1752 + to 13 sep 1752 inclusive) return THURSDAY. This is my + idea of what happened then. It does not matter much as + this program never tries to find day of week for any day + that is not the first of a month. + otherwise, after the reformation, use the same formula as the + days before with the additional step of subtracting the + number of days (11) that were adjusted out of the calendar + just before taking the modulo. + +It must be noted that the number of leap years calculation is sensitive +to the date for which the leap year is being calculated. A year that occurs +before the reformation is determined to be a leap year if its modulo of +4 equals zero. But after the reformation, a year is only a leap year if +its modulo of 4 equals zero and its modulo of 100 does not. Of course, +there is an exception for these century years. If the modulo of 400 equals +zero, then the year is a leap year anyway. This is, in fact, what the +gregorian reformation was all about (a bit of error in the old algorithm +that caused the calendar to be inaccurate.) + +Once we have the day in year for the first of the month in question, the +rest is trivial. diff --git a/Documentation/col.txt b/Documentation/col.txt new file mode 100644 index 0000000..1098b44 --- /dev/null +++ b/Documentation/col.txt @@ -0,0 +1,41 @@ +# @(#)README 5.1 (Berkeley) 5/22/90 + +col - filter out reverse line feeds. + +In the 32V source code to col(1) the default behavior was to NOT compress +spaces into tabs. There was a -h option which caused it to compress spaces +into tabs. There was no -x flag. + +The 32V documentation, however, was consistent with the SVID (actually, V7 +at the time) and documented a -x flag (as defined above) while making no +mention of a -h flag. Just before 4.3BSD went out, CSRG updated the manual +page to reflect the way the code worked. Suspecting that this was probably +the wrong way to go, this version adopts the SVID defaults, and no longer +documents the -h option. + +The S5 -p flag is not supported because it isn't clear what it does (looks +like a kludge introduced for a particular printer). + +Known differences between AT&T's col and this one (# is delimiter): + Input AT&T col this col + #\nabc\E7def\n# # def\nabc\r# # def\nabc\n# + #a# ## #a\n# + - last line always ends with at least one \n (or \E9) + #1234567 8\n# #1234567\t8\n# #1234567 8\n# + - single space not expanded to tab + -f #a\E8b\n# #ab\n# # b\E9\ra\n# + - can back up past first line (as far as you want) so you + *can* have a super script on the first line + #\E9_\ba\E8\nb\n# #\n_\bb\ba\n# #\n_\ba\bb\n# + - always print last character written to a position, + AT&T col claims to do this but doesn't. + +If a character is to be placed on a line that has been flushed, a warning +is produced (the AT&T col is silent). The -l flag (not in AT&T col) can +be used to increase the number of lines buffered to avoid the problem. + +General algorithm: a limited number of lines are buffered in a linked +list. When a printable character is read, it is put in the buffer of +the current line along with the column it's supposed to be in. When +a line is flushed, the characters in the line are sorted according to +column and then printed. diff --git a/Documentation/deprecated.txt b/Documentation/deprecated.txt new file mode 100644 index 0000000..d31ac51 --- /dev/null +++ b/Documentation/deprecated.txt @@ -0,0 +1,117 @@ +The following is a list of commands or features that are deprecated. All +deprecated utils are in maintenance mode and we keep them in source tree for +backward compatibility only. + +what: hwclock --debug +why: renamed to --verbose, and may be repurposed later. +since: v2.32 + +-------------------------- + +what: hwclock -v for version +why: renamed to -V +since: v2.20 (was repurposed to verbose in v2.32) + +-------------------------- + +what: column --columns +why: renamed to --output-width +since: v2.30 + +-------------------------- + +what: sfdisk --show-size +why: this does not belong to fdisk, use "blockdev --getsz" + +-------------------------- + +what: sfdisk --Linux +why: unnecessary option, only Linux (non-DOS mode) is supported + +-------------------------- + +what: sfdisk --unit +why: unnecessary option, only 'S'ector unit is supported + +-------------------------- + +what: sfdisk --show-pt-geometry +why: equal to --show-geometry for a long time + +-------------------------- + +what: "swapon --summary" output format +why: does not provide control on output data formatting. The recommended solution + is to use --show= in all scripts. + +-------------------------- + +What: mkfs +Why: use filesystem specific mkfs.. + +-------------------------- + +What: fdisk -s +Why: this does not belong to fdisk, use "blockdev --getsz" + +-------------------------- + +What: 'udev' and 'list' blkid(8) output formats +Why: udevd links libblkid directly; the 'list' is unnecessary, use lsblk(8) + +-------------------------- + +What: line(1) command +Why: use the read(1) command + +-------------------------- + +What: pg(1) command +Why: use less(1) or more(1) + +-------------------------- + +What: CHS stuff in fdisk (except SUN where are partitions addresses by cylinders only) +Why: use addressing by sectors, CHS does not work with modern disks, + confusing for users... + +-------------------------- + +What: losetup -s +Why: the option -s is in collision with the Loop-AES losetup dialect that is used + in some distributions. Use the long version (--show) only. + +-------------------------- + +What: losetup output format without --list + + deprecated format" + + # losetup -a + /dev/loop0: []: (/home/fs-images/swap.img) + /dev/loop1: []: (/home/fs-images/disk.img), offset 100 + + new format: + + # losetup + NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE + /dev/loop0 0 0 0 0 /home/fs-images/swap.img + /dev/loop1 0 100 0 0 /home/fs-images/disk.img + +-------------------------- + +What: tunelp +Why: parallel port printers are probably almost extinct devices + +---------------------------- + +The Single UNIX(TM) Specification, Version 2 +Copyright (C) 1997 The Open Group + + Legacy utilities which are part util-linux package are: + + col + line + pg + + http://pubs.opengroup.org/onlinepubs/7908799/xcu/intro.html#tag_001_003_003 diff --git a/Documentation/example.files/filesystems b/Documentation/example.files/filesystems new file mode 100644 index 0000000..cd56ee7 --- /dev/null +++ b/Documentation/example.files/filesystems @@ -0,0 +1,7 @@ +ext4 +ext3 +vfat +hfs +hfsplus +iso9660 +btrfs diff --git a/Documentation/example.files/fstab b/Documentation/example.files/fstab new file mode 100644 index 0000000..8cffa64 --- /dev/null +++ b/Documentation/example.files/fstab @@ -0,0 +1,15 @@ +# /etc/fstab +# static file system information +# +# This file is not used by the kernel, but rather by mount(8) and umount(8) +# (and some day fsck(8)). Comment lines have "#" in the first column. +# +# For more information see fstab(5) man page. +# +# device directory type options freq pass +UUID=2cda1e08-1f22-490b-9101-c93d511bc9c9 / ext4 defaults 1 1 +UUID=805e7418-fc20-4dcf-830c-729781e58d1a /boot ext4 defaults 1 2 +proc /proc proc defaults 0 0 +sysfs /sys sysfs defaults 0 0 +tmpfs /dev/shm tmpfs defaults 0 0 +devpts /dev/pts devpts gid=5,mode=620 0 0 diff --git a/Documentation/example.files/motd b/Documentation/example.files/motd new file mode 100644 index 0000000..842a6f3 --- /dev/null +++ b/Documentation/example.files/motd @@ -0,0 +1,10 @@ + + |^^^^^^| + | | _____________________ + | | / \ + | (o)(o) | | + @ _) | BOGUS man!! | + | ,___| ,,| | + | / ..'' | | + /____\ \_____________________/ + diff --git a/Documentation/example.files/securetty b/Documentation/example.files/securetty new file mode 100644 index 0000000..d874765 --- /dev/null +++ b/Documentation/example.files/securetty @@ -0,0 +1,5 @@ +tty1 +tty2 +tty3 +tty4 +ttyS1 diff --git a/Documentation/example.files/shells b/Documentation/example.files/shells new file mode 100644 index 0000000..14b99f1 --- /dev/null +++ b/Documentation/example.files/shells @@ -0,0 +1,4 @@ +/bin/sh +/bin/bash +/bin/csh +/bin/tcsh diff --git a/Documentation/example.files/udev-raw.rules b/Documentation/example.files/udev-raw.rules new file mode 100644 index 0000000..3f0e8cb --- /dev/null +++ b/Documentation/example.files/udev-raw.rules @@ -0,0 +1,7 @@ +# Enter raw device bindings here. +# +# An example would be: +# ACTION=="add", KERNEL=="sda", RUN+="/bin/raw /dev/raw/raw1 %N" +# to bind /dev/raw/raw1 to /dev/sda, or +# ACTION=="add", ENV{MAJOR}=="8", ENV{MINOR}=="1", RUN+="/bin/raw /dev/raw/raw2 %M %m" +# to bind /dev/raw/raw2 to the device with major 8, minor 1. diff --git a/Documentation/getopt.txt b/Documentation/getopt.txt new file mode 100644 index 0000000..e6764fe --- /dev/null +++ b/Documentation/getopt.txt @@ -0,0 +1,31 @@ +This package contains a reimplementation of getopt(1). + +PREFACE + +Getopt(1) is a program to help shell scripts parse command-line parameters. + +HIGHLIGHTS + +It can do anything that the GNU getopt(3) routines can do. + +It can cope with spaces and shell metacharacters within arguments. + +It can parse long parameters. + +It can shuffle parameters, so you can mix options and other parameters on +the command-line. + +It can be easily identified as an enhanced getopt(1) from within shell scripts. + +It can report parse errors as coming from the shell script. + +It is fully compatible with other getopt(1) implementations. + +COPYING + +This program comes under the GNU general public license version 2. See the +file COPYING included in this package. Note that though you may freely +copy it, it is copyright (c) 1997-2005 by Frodo Looijaard +. +Files in the gnu directory are from glibc-2.0.4: copyright (C) 1987, 88, +89, 90, 91, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc. diff --git a/Documentation/getopt_changelog.txt b/Documentation/getopt_changelog.txt new file mode 100644 index 0000000..0c114b4 --- /dev/null +++ b/Documentation/getopt_changelog.txt @@ -0,0 +1,38 @@ +20051107: Bumped up version number to 1.1.4 +20051107: Makefile: package target +20051107: Changed email and website to current ones +20051107: Fixed a few typos in the manpage (sync with util-linux (2.12r) +20030123: Bumped up version number to 1.1.3 +20030123: Changed WITH_GETTEXT option to WITHOUT_GETTEXT +20030123: Renamed example programs to have the string getopt- prepended +20030123: Manpage: all minus signs are now escaped +20030123: Sync with util-linux (2.11y) +20010329: Bumped up version number to 1.1.2 +20010329: Sync with util-linux +20010311: Bumped up version number to 1.1.1 +20010311: Fixed stupid compilation error if NLS not selected +20000630: Bumped up version number to 1.1.0 +20000630: Ported the Native Language Support patches from util-linux + They are written by Arkadiusz Miśkiewicz +20000627: Bumped up version number to 1.0.6 +20000627: A few manpage tweaks +20000616: Introduced DESTDIR and directory creation in the Makefile. +19990716: Bumped up version number to 1.0.5 +19990622: Made -u work +19990101: Bumped up version number to 1.0.4 (aka. 1.0.3a in util-linux) +19990101: Very small fix in main() +19990101: Updated util-linux Makefile +19980628: Bumped up version number to 1.0.3 +19980628: Removed remaining incompatibility with tcsh-6.02 from parse.tcsh +980626: Added separate Makefile for util-linux +19980625: Removed several bugs from parse.tcsh, partly thanks to Volker Kuhlmann + (v.kuhlmann@elec.canterbury.ac.nz). +19980612: Removed reference to getopt in util-linux +19980611: Bumped up version number to 1.0.2 +19980611: Fixed --version bug (was not available, though documented!) +19980611: Removed compiler warnings. +19980603: Bumped up version number to 1.0.1 +19980603: Fixed sizeof() bug (should be strlen) in getopt.c, thanks to + Bob Proulx (rwp@hprwp.fc.hp.com). +19980505: Changed date field in LSM to proper syntax +19980505: Released version 1.0 diff --git a/Documentation/howto-build-sys.txt b/Documentation/howto-build-sys.txt new file mode 100644 index 0000000..46d2793 --- /dev/null +++ b/Documentation/howto-build-sys.txt @@ -0,0 +1,95 @@ +util-linux build system +======================= + + - the build system is non-recursive, individual subdirectories use + Makemodule.am files. These files are merged together by automake + into one global Makefile in the top-level directory + + - all final build results (binaries, libtool scripts) are stored in top-level + source directory + + - all Makemodule.am files have to be designed as top-level makefiles, it + means with full paths (e.g. foo_SOURCES = subdir/foo.c) + + - always use '+=' operator for global variables (e.g. bin_PROGRAMS += foo) + + - use libcommon.la (without path!) for lib/ stuff (e.g. foo_LDADD = libcommon.la) + + - for libblkid, libuuid and libmount use lib.la in _LDADD and + -I$(ul_lib_incdir) in _CFLAGS, for example + + foo_LDADD = libmount.la + foo_CFLAGS = -I$(ul_libmount_incdir) + + - always use suffixes for hooks, for example + + install-exec-hook-foo: + ln -sf foo foooo + + INSTALL_EXEC_HOOKS += install-exec-hook-foo + + + - all util-linux specific autoconf macros use UL_ prefix + + - utils in Makefile.am files are enabled/disabled according to BUILD_ + conditions (AM_CONDITIONAL), for example: + + if BUILD_HWCLOCK + ... + endif + + - "if BUILD_" blocks are never nested within another "if BUILD_", + all dependencies have to be resolved in configure.ac (see UL_REQUIRES_BUILD()) + + - all BUILD_ in configure.am are always based on build_ variables, + for example: + + AM_CONDITIONAL([BUILD_HWCLOCK], test "x$build_hwclock" = xyes) + + the $build_ should be available in whole configure script + + - AC_ARG_ENABLE() status is always stored in $enable_ variable, possible + setting: + + "check" - util/feature is optional, if any subcomponent (function, lib, + ...) is missing a warning is printed and the util/feature is + disabled + + "yes" - util/feature is required, if any subcomponent (function, lib, + ...) is missing an error is printed and ./configure aborted + + "no" - the util/feature is unwanted + + The default status is always defined by UL_DEFAULT_ENABLE() and it might be + globally modified by $ul_default_estate (see AC_ARG_ENABLE([all-programs])). + + - it's possible to disable all programs, but enable just one (or more) + explicitly specified, for example: + + ./configure --disable-all-programs --enable-hwclock + + - some basic scenarios for the ./configure script are defined in the + tools/config-gen.d/ directory. If you want to use these predefined scenarios + then call + + ./tools/config-gen [ ...] + + for example + + ./tools/config-gen all selinux + + will build all utils with enabled selinux support. You can also define some + CFLAGS, for example: + + CFLAGS=$(rpm --eval '%optflags') ./tools/config-gen all + + will use the default distro flags. + + WARNING: config-gen is not designed for end-user or downstream distributions! + It's for development purpose only. All end-users and downstream have + to use standard ./configure script only. + + - the tools/config-gen script is also used for build system regression tests, + the test is not enabled by default, you have to use + + tests/run.sh build-sys --force diff --git a/Documentation/howto-compilation.txt b/Documentation/howto-compilation.txt new file mode 100644 index 0000000..5ae3310 --- /dev/null +++ b/Documentation/howto-compilation.txt @@ -0,0 +1,83 @@ +The common case + + ./autogen.sh && ./configure && make + + If something fails read the last lines. Typical reason to + fail is a missing dependency, such as libtool or gettext. + +Autotools + + `./autogen.sh' generates all files needed to compile + and install the code (run it after checkout from git) + + `make distclean' removes all unnecessary files, but the + code can still be recompiled with "./configure; make" + + `make dist-gzip' (or -bzip2) creates a tarball that can + be configured and compiled without running `./autogen.sh' + +Compiling + + Use SUID_CFLAGS and SUID_LDFLAGS when you want to define + special compiler options for typical suid programs, for + example: + + ./configure SUID_CFLAGS="-fpie" SUID_LDFLAGS="-pie" + + The SUID_* feature is currently supported for chfn, chsh, + newgrp, su, write, mount, and umount. + + Use DAEMON_CFLAGS and DAEMON_LDFLAGS when you want to define + special compiler options for daemons; supported for uuidd. + + Use SOLIB_CFLAGS and SOLIB_LDFLAGS when you want to define + special compiler options for shared libraries; supported for + libmount, libblkid and libuuid. + + FIXME: add notes about klib and uClib. + + +Compile certain portion + + See ./configure --help and use --disable-* and --enable-* options. + + It's also possible to disable all the programs and enable only wanted. + For example: + + ./configure --disable-all-programs --enable-fallocate + + Note that the configure script tracks dependencies between libs and + tools. Always see warning messages and follow error messages if any + dependence is necessary. For example to compile mount(8) you need also + libmount, libblkid and libuuid: + + ./configure --disable-all-programs --enable-mount --enable-libmount \ + --enable-libblkid --enable-libuuid + + +Static linking + + Use --enable-static-programs[=LIST] configure option when + you want to use statically linked programs. + + Note, mount(8) uses get{pw,gr}nam() and getpwuid() + functions for translation from username and groupname to + UID and GID. These functions could be implemented by + dynamically loaded independent modules (NSS) in your libc + (e.g. glibc). These modules are not statically linked to + mount(8) and mount.static is still using dlopen() like + dynamically linked version. + + The translation won't work in environment where NSS + modules are not installed. + + For example normal system (NSS modules are available): + + # ./mount.static -v -f -n -ouid=kzak /mnt/foo + LABEL=/mnt/foo on /mnt/foo type vfat (rw,uid=500) + ^^^^^^^ + and without NSS modules: + + # chroot . ./mount.static -v -f -n -ouid=kzak /mnt/win + LABEL=/mnt/win on /mnt/win type vfat (rw,uid=kzak) + ^^^^^^^^ diff --git a/Documentation/howto-contribute.txt b/Documentation/howto-contribute.txt new file mode 100644 index 0000000..206ff58 --- /dev/null +++ b/Documentation/howto-contribute.txt @@ -0,0 +1,241 @@ +CONTENTS + Sending Patches + Patching Process + Email Format + Coding Style + Options + Various Notes + Standards Compliance + +Sending Patches + + * send your patches to the mailing list. + See ../README. + + * email is accepted as an inline patch with, or without, a git pull + request. Pull request emails need to include the patch set for review + purposes. See howto-pull-request.txt and ../README for git repository + instructions. + + * email attachments are difficult to review and not recommended. + Hint: use git send-email. + + * one patch per email. + See Email Format. + + * many small patches are preferred over a single large patch. Split + patch sets based upon logical functionality. For example: #endif mark + ups, compiler warnings, and exit code fixes should all be individual + small patches. + + * don't include generated (autotools) files in your patches. + Hint: use 'git clean -Xd'. + + * neutrality: the files in util-linux should be distribution-neutral. + Packages like RPMs, DEBs, and the rest, are not provided. They should + be available from the distribution. + +Repositories & Branches + + * Primary repository is on kernel.org: + git clone git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git + + We use this repository for master and stable branches only. + + * Backup repository at github.com: + git clone git://github.com/karelzak/util-linux.git + + We use this repository to backup kernel.org and for pull requests, + issues tracking and topic branches. The master and stable branches are + always pushed to the both repositories in the same time. + + It's recommended to use github.com for development. + + * Branches: + + master - development for the next release + next - optionally used when master branch is frozen due to -rcN releases + topic/* - long time development + stable/* - stable maintenance releases + +Patching Process + + * announce it on the mailing list when you are going to work with some + particular piece of code for a long time. This helps others to avoid + massive merge conflicts. Small or quick work, does not need to be + announced. + + * make sure that after applying your patch the file(s) will compile + without errors. + + * test that the previously existing program behavior is not altered. If + the patch intentionally alters the behavior explain what changed, and + the reason for it, in the changelog/commit message. + + * only submit changes that you believe are ready to merge. To post a + patch for peer review only, state it clearly in the email and use + the Subject: [PATCH RFC] ... + + * incorporate reviewer comments in the patches. Resubmitting without + changes is neither recommended nor polite. + + * resubmission can be partial or complete. If only a few alterations are + needed then resubmit those particular patches. When comments cause a + greater effect then resubmit the entire patch set. + + * When resubmitting use the email Subject: [PATCH v2] ... + Hint: use the --subject-prefix='PATCH v2' option with 'git format-patch' + + * using a git repository for (re)submissions can make life easier. + See howto-pull-request.txt and ../README. + + * all patch submissions are either commented, rejected, or accepted. + If the maintainer rejects a patch set it is pointless to resubmit it. + +Email Format + + * Subject: [PATCH] subsystem: description. + + * Start the message body with an explanation of the patch, that is, a + changelog/commit entry. + + * if someone else wrote the patch, they should be credited (and + blamed) for it. To communicate this, add a line like: + + From: John Doe + + * add a Signed-off-by line. + Hint: use git commit -s + + The sign-off is a simple line at the end of the explanation for the + patch; which certifies that you wrote it or otherwise have the + right to pass it on as an open-source patch. The rules are pretty + simple; if you can certify the following: + + By making a contribution to this project, I certify that: + + (a) The contribution was created in whole or in part by me and I + have the right to submit it under the open source license + indicated in the file; or + + (b) The contribution is based upon previous work that, to the best + of my knowledge, is covered under an appropriate open source + license and I have the right under that license to submit that + work with modifications, whether created in whole or in part + by me, under the same open source license (unless I am + permitted to submit under a different license), as indicated + in the file; or + + (c) The contribution was provided directly to me by some other + person who certified (a), (b) or (c) and I have not modified + it. + + (d) I understand and agree that this project and the contribution + are public and that a record of the contribution (including + all personal information I submit with it, including my + sign-off) is maintained indefinitely and may be redistributed + consistent with this project or the open source license(s) + involved. + + Then you just add a line like: + + Signed-off-by: Random J Developer + + Use your real name (sorry, no pseudonyms or anonymous contributions.) + + * Next a single line beginning with three hyphen-minus characters (---) + and nothing else. + + * Followed by the unified diff patch. + + Note: the mailing list will reject certain content. See ../README. + +Coding Style + + * the preferred coding style is based on the linux kernel coding-style. + Available here: + + http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/Documentation/process/coding-style.rst + + * use 'FIXME:' with a good description, if you want to inform others + that something is not quite right, and you are unwilling to fix the + issue in the submitted change. + + * do not use `else' after non-returning functions. For + example: + + if (this) + err(EXIT_FAIL, "this failed"); + else + err(EXIT_FAIL, "that failed"); + + Is wrong and should be written: + + if (this) + err(EXIT_FAIL, "this failed"); + err(EXIT_FAIL, "that failed"); + + * when you use 'if' short-shorthand make sure it does not wrap into + multiple lines. In case the shorthand does not look good on one line + use the normal "if () else" syntax. + +Options + + * The rule of thumb for options is that once they exist, you may not + change them, nor change how they work, nor remove them. + + * The following options are well-known, and should not be used for any + other purpose: + + -h, --help display usage and exit + -V, --version display version and exit + + * Some commands use peculiar options and arguments. These will continue + to be supported, but anything like them will not be accepted as new + additions. A short list of examples: + + Characters other than '-' to start an option. See '+' in 'more'. + + Using a number as an option. See '-' in 'more'. + + Long options that start with a single '-'. See 'setterm'. + + '-?' is not a synonym for '--help', but is an unknown option + resulting in a suggestion to try --help due to a getopt failure. + +Various Notes + + * util-linux does not use kernel headers for file system super + blocks structures. + + * patches relying on kernel features that are not in Linus Torvalds's + tree are not accepted. + +Standards Compliance + + Some of the commands maintained in this package have Open Group + requirements. These commands are: + + cal + col + ipcrm + ipcs + kill + line + logger + mesg + more + newgrp + pg + renice + + If you change these tools please make sure it does not create a conflict + with the latest standard. For example, it is not recommended to add + short command line options before they are part of the standard. + Introducing new long options is acceptable. + + The Single UNIX(TM) Specification, Version 2 + Copyright (C) 1997 The Open Group + + http://pubs.opengroup.org/onlinepubs/7908799/xcuix.html + diff --git a/Documentation/howto-debug.txt b/Documentation/howto-debug.txt new file mode 100644 index 0000000..6936eb5 --- /dev/null +++ b/Documentation/howto-debug.txt @@ -0,0 +1,74 @@ +Debugging util-linux programs +============================= + +How to deal libtool +------------------- + +There are considerations to be made when profiling or debugging some programs +found in the util-linux package. Because wrapper scripts are used for the +binaries to make sure all library dependencies are met, you cannot use tools +such as gdb or valgrind directly with them. + +Let's take for example the mount command: + + $> cd /path/to/util-linux + $> file mount/mount + mount/mount: Bourne-Again shell script text executable + +The binary itself is located in the mount/.libs/ directory: + + $> file mount/.libs/mount + mount/.libs/mount: ELF 64-bit LSB executable, x86-64, version 1 \ + (SYSV), dynamically linked (uses shared libs) [...] + +When this command is run, there's a library dependency error: + + $> mount/.libs/mount + mount/.libs/mount: /lib/libblkid.so.1: version `BLKID_2.20' not found \ + (required by mount/.libs/mount) + +To overcome this we need set the LD_LIBRARY_PATH variable to read the path of +the shared lib found in the sources, and not system-wide: + + $> export LD_LIBRARY_PATH=$PWD/libblkid/src/.libs/:$LD_LIBRARY_PATH + +Now external debugging tools can be run on the binary. + +Happy hacking! +Davidlohr Bueso, August 2011 + + +The libmount & libblkid +----------------------- + +Both of the libraries can be debugged by setting an environment variable +consisting of a number. The number will be used as a bit mask, so the more 1 the +higher the debugging level. Search for `DEBUG' from files + + libblkid/src/blkidP.h + libmount/src/mountP.h + +to see what the different bits mean. At the time of writing this the following +enabled full debug. + + export LIBBLKID_DEBUG=all + export LIBMOUNT_DEBUG=all + export LIBFDISK_DEBUG=all + export LIBSMARTCOLS_DEBUG=all + +The libblkid reads by default /etc/blkid.conf which can be overridden by the +environment variable BLKID_CONF. See manual libblkid/libblkid.3 for details +about the configuration file. + +Block device information is normally kept in a cache file (see blkid man page +for more information about the cache file location) that can be overridden by +the environment variable BLKID_FILE. + +To libmount uses three paths, which can be overridden by using environment +variables. Notice that these environment variables are ignored for non-root +users. + + env variable if not set defaults to + LIBMOUNT_FSTAB /etc/fstab + LIBMOUNT_MTAB /etc/mtab + LIBMOUNT_UTAB /run/mount/utab or /dev/.mount/utab diff --git a/Documentation/howto-man-page.txt b/Documentation/howto-man-page.txt new file mode 100644 index 0000000..55734af --- /dev/null +++ b/Documentation/howto-man-page.txt @@ -0,0 +1,188 @@ +.\" This is a util-linux manual page example in troff format. +.\" +.\" The .TH macro expects the following arguments: +.\" title section date footer header +.\" The title is usually the command name. +.\" The section must match the filename extension. +.\" The date is the month and year when the last update happened. +.\" The footer is fixed to "util-linux". +.\" The header is a textual description of the section: +.\" 1 "User Commands" +.\" 2 "System calls" +.\" 3 "Programmer's Manual" +.\" 4 "Special Files" +.\" 5 "File Formats" +.\" 6 "Games" +.\" 7 "Miscellanea" +.\" 8 "System Administration" +.\" +.\" Please read `man 7 groff_man' to see how to use the various macros. +.\" +.TH EXAMPLE "1" "April 2016" "util-linux" "User Commands" +.SH NAME +example \- a util-linux man-page howto +.SH SYNOPSIS +.B example +[options] +.I argument +.SH DESCRIPTION +Each manual page needs some sort of description of the command. +Write such here. +.SH OPTIONS +.TP +\fB\-n\fR, \fB\-\-no\-argument\fR +This option does not use an argument. +.TP +\fB\-\-optional\fR[\fI=argument\fR] +Tell in this description that the +.I argument +is optional, and what happens when it is or is not given. Notice that the word +.I argument +is not abbreviated as is customary in the usage text. For example, when the +usage text uses the argument +.IR num , +the manual page should say +.IR number . +.IP +Notice that after release v2.28 it was decided that introducing new options +taking optional arguments should be limited to long-only options. This is +done primarily to avoid problematic behaviour of short options. Imagine for +example normal option +.B \-n +and optional option +.BR \-o . +One will expect +.B command \ \-no +and +.B command \ \-on +to be the same, but in fact the former is two separate options while the +later will use +.B n +as option argument of +.BR -o . +So it is best to avoid short forms of optional options altogether. +.TP +\fB\-r\fR, \fB\-\-required\fR \fIargument\fR +Tell in this description that the +.I argument +is required. +.TP +\fB\-V\fR, \fB\-\-version\fR +Display version information and exit. +.TP +\fB\-h\fR, \fB\-\-help\fR +Display help text and exit. +.SH NOTES +Tell details that users might need to know. For example, kernel feature or +version requirements. +.PP +The man-page source lines should not exceed 80 characters in length. +.PP +Do not leave empty lines in the groff input. If you need a break or a new +paragraph, use the appropriate groff macros. See +.BR groff_man (7) +how to use man page macros. +.PP +The use cases of +.I italic +(which is underlined on a terminal) and +.B bold +are not strictly defined. The main convention is that +.I symbolic arguments +use italic, and +.B commands +and +.B literal arguments +use bold, and +.I other highlights +use +.B either +one. +.\" +.\" The manual page comments are undervalued way of adding clarifications +.\" quite not belong to the manual, questions, TODO items etc. Feel free +.\" to use them. +.\" +.PP +When in the source a new sentence begins somewhere midline, it should use a +double space before its initial letter. This is done because \fBgroff\fR +uses a double space after a sentence when this sentence ends at the end of +an input line and the next sentence begins on the next line. +Unless a double space is used before other sentence starts as well, the +spacing style will be inconsistent. +.SH ENVIRONMENT +Tell which environment variables affect, and how, the execution of the command. +.TP +.B EXAMPLE_PATH +Configuration file path. Notice that well-known environment variables, such as +.BR HOME , +do not need explanation. +.SH FILES +Tell which file(s) the command uses. +.TP +.B $EXAMPLE_PATH +.TQ +.B $HOME/.example.conf +.TQ +.B /etc/example.conf +What are these files, in which order are they read, and will the evaluation +end or continue if one of them is found. +In case the explanation is not simple, write a separate "Special Files" +manual page that tells about syntax, meaning of key-value settings, etc. +This "Special Files" manual page then needs to be referred in the +.B SEE ALSO +section. +.TP +.B /var/log/example.log +Another file. +.SH EXAMPLES +Write typical and/or clever use examples here. The below examples are stupid, +and you should never write them in a real man page. +.TP +.B example -h +Output help screen. +.TP +.B example -V +Output version information. +.SH "EXIT STATUS" +This section can be left out if the command has only two return values, +.B 0 +for success and +.B 1 +for failure. Use of +.B sysexits.h +return values must be mentioned, but does not need to be explained. +.PP +.RS +.PD 0 +.TP +.B 0 +success +.TP +.B 1 +failure +.TP +.B 2 +tell why this could happen +.TP +.B 3 +etc +.PD +.RE +.SH AUTHORS +.MT rjh@\:example.org +Random J. Hacker +.ME +.br +.MT fred@\:example.com +Fred Foobar +.ME +.SH "SEE ALSO" +.BR groff_man (7), +.BR foo (1), +.BR bar (8) +.SH AVAILABILITY +The example command is part of the util-linux package and is available from +.UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/ +Linux Kernel Archive +.UE . diff --git a/Documentation/howto-pull-request.txt b/Documentation/howto-pull-request.txt new file mode 100644 index 0000000..7cae722 --- /dev/null +++ b/Documentation/howto-pull-request.txt @@ -0,0 +1,286 @@ +Introduction +------------ + +These instructions are wrote to contributors who tend to send lots of +changes. The basics from howto-contribute.txt file are assumed to be +read and understood by the time this file becomes useful. + + +Setup +----- + +1. Find a git server that can be reached from anywhere in internet +anonymously. Github is for example a popular choice. + +2. Create your own util-linux contributor repository, and push a upstream +clone to there. + +3. In these instructions the upstream remote repository is called +'origin' and the 'yourgit' is the contributor repo. + +cd ~/projects +git clone git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git +cd util-linux +git remote add yourgit git@github.com:yourlogin/util-linux.git +git push yourgit + + +Branches +-------- + +1. Use the name of the subsystem, such as blkid, libmount, misc-utils, +that is the common thing for changes in the change set. + +2. If the changes do not have anything in common use some random name, +such as YYYY-MM-DD of the first patch in the branch. Name of the branch +does not really matter that much, with one exception. + +3. Do not use 'master' branch to your contributions. The 'master' branch +is needed to stay up to date with upstream. + +4. When done push your branch to your remote git server. + +git checkout master +git branch textual +# spent here most of the effort +git push yourbranch textual:textual + +5. Do not worry if you used stupid-and-wrong branch name, it can be fixed +before submission. + +git branch -m stupid-and-wrong brilliant +git push yourgit brilliant:brilliant :stupid-and-wrong + + +Stay up to date +--------------- + +1. Ensure you have the latest from all remote repositories. + +2. Merge upstream 'master' branch if needed to your local 'master'. + +3. Rebase your working contribution branches. + +4. Push the changes to 'yourgit'. + +git fetch --all +git log --graph --decorate --pretty=oneline --abbrev-commit --all + +5. If you notice upstream has changed while you were busy with your +changes rebase on top of the master, but before that: + +6. Push a backup of your branch 'textual' to 'yourgit', then + +git checkout master +git merge origin/master +git checkout textual +git rebase master + +If rebase reports conflicts fix the conflicts. In case the rebase +conflict is difficult to fix rebase --abort is good option, or recover +from 'yourgit', either way there is some serious re-work ahead with the +change set. + +7. Assuming rebase went fine push the latest to 'yourgit'. + +git push yourgit master:master +git push yourgit --force textual:textual + +The contributor branch tends to need --force every now and then, don't be +afraid using it. + +8. Push error with master branch + +If 'master' needs --force then something is really messed up. In that +case it is probably the wise to abandon(*) local clone, and start all +over from cloning upstream again. Once the upstream is cloned add again +'yourgit' remote and + +git push --mirror yourgit + +But be WARNED. The --mirror will nuke all of your stuff had in +'yourgit', that can cause data loss. (*)So don't remove the local clone, +just move the directory to broken repos area. + + +Sending pull request +-------------------- + +1. When you are happy with your changes sleep over night. This is not a +speed competition, and for some reason looking the changes the next day +often makes one to realize how things could be improved. The best this +way you avoid changing the changes (that is always confusing). + +2. Check the next day the changes compile without errors or warnings, and +that regression tests run fine. + +make clean && +make -j3 && +make check + +Notice that regression tests will not cover all possible cases, so you +most likely need to use the commands, features, and fixes you did +manually. + +3. If you need to change something. + +git rebase -i master +# change something +git push -f yourgit textual:textual + +4. Assuming the changes look good send them to mail list. Yes, the all +of them! Sending pull request with github is not visible for project +contributors, and they will not have change to review your changes. + +Sending only the pull request, i.e., not each patch, to mail-list is also +bad. Nothing is as good as seeing the changes as they are, and being +able to find them from with your favourite web search engine from +mail-list archive. Obviously the pull request content does not get +indexed, and that is why it is worse. + +git format-patch --cover-letter master..textual +git request-pull upstream/master git://github.com/yourlogin/util-linux.git textual > tempfile + +Take from the 'tempfile' the header: + +---------------------------------------------------------------- +The following changes since commit 17bf9c1c39b4f35163ec5c443b8bbd5857386ddd: + + ipcrm: fix usage (2015-01-06 11:55:21 +0100) + +are available in the git repository at: + + git://github.com/yourlogin/util-linux.git textual +---------------------------------------------------------------- + +and copy paste it to 0000-cover-letter.patch file somewhere near 'BLURB +HERE'. Rest of the 'request-pull' output should be ignored. + +In same go fix the Subject: line to have reasonable description, for +example + +Subject: [PATCH 00/15] pull: various textual improvements + + +Feedback and resubmissions +-------------------------- + +1. Since you sent each patch to mail-list you can see which ones got to +be responded. In case the feedback will result in changes to the +submission then rebase, perform the changes, and push again to your +remote. + +# you probably should use 'Stay up to date' instructions now +git checkout textual +git rebase master -i +# edit something +git add files +git commit --amend +# Add 'Reviewed-by:', 'Tested-by:', 'Signed-off-by:', 'Reference:', and +# other lines near signoff when needed. Attributing the reviewers is a +# virtue, try to do it. +git rebase --continue +git push -f yourgit textual:textual + +2. Send a message to mail-list that the submitted change has changed, and +that the new version can be found from + +https://github.com/yourlogin/util-linux/commit/0123456789abcdef0123456789abcdef01234567 + +3. There is no need to update the pull request cover letter. The project +maintainer has done enough of this stuff to know what to do. + + +Repository maintenance +---------------------- + +1. When your remote branch is merged, or you got final reject, it is time +to clean it up. + +git branch textual -d +git push yourgit :textual + +2. If you have other contributor repositories configured you may also +want to clean up the branches the others are done with. + +for I in $(git remote); do + echo "pruning: $I" + git remote prune $I +done + +3. When all of your contributions are processed you should tidy up the +git's guts. + +git reflog expire --all +git gc --aggressive --prune=now + +Warning. That tidying is not good idea while you are actively working +with the change set. You never know when you need to recover something +from reflog, so keep that option available until you know the reflog is +not needed. + + +More branches, on top of branches, on top of ... +------------------------------------------------ + +Here is a one way of laying out multiple branches. + +git log --graph --decorate --pretty=oneline --abbrev-commit --all +* 13bfff3 (HEAD, docs-update) docs: small improvements to howto-contribute.txt +* 5435d28 (sami/more, more) more: do not call fileno() for std{in,out,err} streams +* 3e1ac04 more: remove unnecessary braces +* c19f31c more: check open(3) return value +* 651ec1b more: move skipping forewards to a function from command() +* bf0c2a7 more: move skipping backwards to a function from command() +* 53a438d more: move editor execution to a function from command() +* b11628b more: move runtime usage output away from command() +* 6cab04e more: avoid long else segment in prbuf() +* a2d9fbb more: remove 'register' keywords +* c6b2d29 more: remove pointless functions +* b41fe34 more: remove function like preprocessor defines +* 1aaa1ce more: use paths.h to find bourne shell and vi editor +* 016a019 more: return is statement, not a function +* ff7019a more: remove dead code and useless comments +* 1705c76 more: add struct more_control and remove global variables +* 3ad4868 more: reorder includes, declarations, and global variables +* 7220e9d more: remove function declarations - BRANCH STATUS: WORK IN PROGRESS +* 04b9544 (sami/script) script: add noreturn function attributes +* e7b8d50 script: use gettime_monotonic() to get timing file timestamps +* 11289d2 script: use correct input type, move comment, and so on +* 524e3e7 script: replace strftime() workaround with CFLAGS = -Wno-format-y2k +* 0465e7f script: move do_io() content to small functions +* 751edca script: add 'Script started' line always to capture file +* f831657 script: remove io vs signal race +* eefc1b7 script: merge doinput() and output() functions to do_io() +* 9eba044 script: use poll() rather than select() +* a6f04ef script: use signalfd() to catch signals +* 4a86d9c script: add struct script_control and remove global variables +* d1cf19c script: remove function prototypes +* 6a7dce9 (sami/2015wk00) fsck.minix: fix segmentation fault +* 5e3bcf7 lslocks: fix type warning +* 3904423 maint: fix shadow declarations +* 17bf9c1 (upstream/master, sami/master, kzgh/master, master) ipcrm: fix usage +[...] + +The above gives a hint to maintainer what is the preferred merge order. +The branches '2015wk00' and 'script' are ready to be merged, and they +were sent to mail-list. + +The 'more' branch was not submitted at the time of writing this text. +Mark-up the branch is not ready is clearly marked in the commit subject, +that will need some rebaseing to before submission. + +Good order of the branches is; + +1. First the minor & safe changes. +2. Then the ready but less certain stuff. +3. Followed by work-in-progress. + +If you go down this route you will get used to typing a lot of + +git rebase previous-branch +git push -f yourgit branch:branch + +Alternatively rebase each branch on top of origin/master, which is not +quite as good. How do you ensure your own changes are not in conflict +with each other? And there is no hint of preferred merging order. diff --git a/Documentation/howto-tests.txt b/Documentation/howto-tests.txt new file mode 100644 index 0000000..71c7f85 --- /dev/null +++ b/Documentation/howto-tests.txt @@ -0,0 +1,137 @@ + + util-linux regression tests + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + It's expected that for each invasive change or important bugfix you will + include a test to your patch. + + Compile tests & run basic tests: + + $ make check + + Note that the configure option --disable-static disables many of libmount and + libblkid unit tests. + + Run all tests including tests that require root permissions: + + # cd tests + # ./run.sh [--verbose] [--memcheck] + + Alternatively using sudo and make: + + $ make check TS_COMMAND="true" + $ sudo -E make check TS_OPTS="--parallel=1" + + note that as root you have to manually remove output and diff directories + + # rm -rf output diff + + or run 'make clean' as root. + + + Run subset of tests: + + $ ./run.sh + + for example: + + $ ./run.sh blkid + $ ./run.sh libmount + + The tests is possible to exclude by ./run.sh --exclude= where the + is blank separated test names in format "testdir/testname", for example: + + $ ./run.sh --exclude="mount/move" + + The --exclude is evaluated by the ./run.sh script only. See below + + TS_OPT_testdir_[testscript_]fake= + + environment variable which provides more powerful functionality to skip tests. + + + *** WARNING for root users *** + + The tests touch your /etc/fstab, initialize loop devices or scsi_debug devices + if executed with root permissions. + + Please, be careful and use these tests only for development and never on + production system. + + +environment variables +--------------------- + +TS_COMMAND + + Evaluated by "make check" to override the default command (run.sh). + Example: + - build all test dependencies, but skip the actual test + $ make check TS_COMMAND="true" + +TS_OPTS + + Evaluated by "make check" to pass options.to run.sh (see ./run.sh --help). + Examples: + - run utmp tests only + $ make check TS_OPTS="--parallel=1 utmp" + +TS_OPT_testdir_[testscript_]fake="" + + Evaluated by any test script to skip certain tests. + Examples: + - skip all the tests within "fdisk" test-directory: + $ make check TS_OPT_fdisk_fake="yes" + + - skip only "fdisk/bsd" test: + $ make check TS_OPT_fdisk_bsd_fake="yes" + + - skip all "fdisk" tests except fdisk/bsd: + $ make check TS_OPT_fdisk_fake="yes" TS_OPT_fdisk_bsd_fake="no" + +TS_OPT_testdir_[testscript_]known_fail="" + + Similar usage like TS_OPT_*_fake above. "known_fail" means that the given + test will run but (negative) results will be ignored. The build log and test + diffs will still remind you about the issue. + +TS_OPT_testdir_[testscript_]verbose="" + + Set verbosity for certain tests. Similar usage like TS_OPT_*_fake above. + +TS_OPT_testdir_[testscript_]memcheck="" + + Run certain tests with valgrind. Similar usage like TS_OPT_*_fake above. + + +External services +----------------- + +Travis CI - automatically executed for all github commits. + + URL: https://travis-ci.org/karelzak/util-linux/ + + See .travis.yml for more details. + + We require "sudo" to install additional stuff and to run the tests with + UID=0, it means that tests are executed on travis "legacy infrastructure". + + +Drone.io - automatically executed for all github commits. + + URL: https://drone.io/github.com/karelzak/util-linux + + The drone.io does not use any in-tree config file (like travis-ci), the + currently used configuration (maintained by Drone.io web UI): + + MAKE_CHECK="root" + MAKE_CHECK_OPTS="--skip-loopdevs --exclude=mount/move" + source ./.travis-functions.sh + travis_install_script || exit + travis_before_script || exit + ret=0 + travis_script || ret=$? + travis_after_script + exit $ret + + yes, it shares the setup functions with travis-ci. diff --git a/Documentation/howto-usage-function.txt b/Documentation/howto-usage-function.txt new file mode 100644 index 0000000..c108bfc --- /dev/null +++ b/Documentation/howto-usage-function.txt @@ -0,0 +1,134 @@ + +Example file +------------ + +Refer to the ./boilerplate.c example file while reading this howto. + + +How a usage text is supposed to look +------------------------------------ + +The usage() output format is: Usage section, command description one-liner, +Options section (see below), special sections like 'Available columns', and +the last line is either the man page reference or an empty line. The output +begins with, and each of the above are separated by, one empty line. + +The Usage section contains the synopsis line that describes how to compose +the command. Sometimes you may need multiple synopsis lines (see below). + +Only the synopsis and option lines are indented. Indent is one space (0x40). +Option lines do not use line-ending punctuation. Other sentences do. + +Notations: diamond brackets are used to mark an argument to be filled in; +square brackets are used to mark anything that is optional, such as optional +command arguments, or optional option arguments. In the later case the '=' +character is required in between the option and argument with no whitespace; +three consecutive dots means the unlimited repetition of the preceding. + +The short option is always written first, followed by the long option. They +are separated with a comma and one space. Lonely short or long options do +not affect their alignment. That is, they must be in their respective column. + +Below, in between the snips, is an example of what the usage output should +look like. + +-- snip + +Usage: + program [options] [...] + +Short program description, ideally one line only. + +Options: + -n, --no-argument option does not use argument + --optional[=] option argument is optional + -r, --required option requires an argument + -z no long option + --xyzzy a long option only + -e, --extremely-long-long-option + use next line for description when needed + -l, --long-explanation an example of very verbose, and chatty option + description on two, or multiple lines, where the + continuation lines are indented by two spaces + -f, --foobar next option description resets indent + + -h, --help display this help and exit + -V, --version output version information and exit + +For more details see program(1). +-- snip + + +Option descriptions +------------------- + +This information also applies to other option-like arguments. That is, +arguments starting with '-'. Such as: functions, commands, and so forth. + +An option description should not exceed the width of 80 characters. If +you need a longer description, use multiple lines and indentation. + +The description text begins from the point of the longest option plus two +spaces. If adding a new option would necessitate a re-indentation of the +descriptions, it either has to be done, or the new option should begin its +description on the next line. Usually the later is better. + +An argument is preferably worded appropriately. For example, if an option +expects a number as argument, '' is a suitable argument indicator. + +The order of the options has no special meaning, with the exception of +--help and --version which are expected to be last ones in the list. + + +Usage function +-------------- + +The usage() function will never return. It must only be called by -h/--help. +All other cases use errtryhelp(EXIT_FAILURE). + +Section headers, man page, version, help, and other components of usage() +have string constants defined in 'include/c.h' which must be used. See the +example file listed at the top of this document. The help and version options +are combined into a single macro which takes an argument for the column that +their descriptions will begin on: USAGE_HELP_OPTIONS(). This allows +them to align properly with the other options. + +In the code, all option strings must start at the same position. +See here what this means: + + printf(out, _(" -x[=] default foo is %s"), x); + puts( _(" -y some text"), out); + +Be nice to translators. One gettext entry should be one option, no more, +no less. For example: + + puts(_(" --you-there be nice\n"), out); + puts(_(" -2 translators\n"), out); + puts(_(" -t, --hey are doing a job that we probably cannot," + " or how is your klingon?\n"), out); + +When existing usage output is changed, and it happens to be one big text, +split it into chunks the size of one option. The extra work this will entail +for translators will pay off later; the next string change will not force a +search of the long fuzzy text for what was changed, where, how, and whether +it was the only change. + + +Synopsis +-------- + +You may need to use multiple synopsis lines to show that a command does +fundamentally different things depending on the options and/or arguments. +For example, ionice either changes the priority of a running command, or +executes a program with a defined priority. Therefore it is reasonable +to have two synopsis lines: + + ionice [options] -p ... + ionice [options] [ ...] + +Note that the synopsis is not meant to be a repetition of the options +section. The fundamental difference in execution is a bit difficult to +define. The command author, package maintainer or patch submitter will +usually know when it should be done that way. + + diff --git a/Documentation/hwclock.txt b/Documentation/hwclock.txt new file mode 100644 index 0000000..e767623 --- /dev/null +++ b/Documentation/hwclock.txt @@ -0,0 +1,3 @@ +Hwclock is a program that runs under Linux and sets and queries the +Hardware Clock, which is often called the Real Time Clock, RTC, or +CMOS clock. diff --git a/Documentation/licenses/COPYING.BSD-3-Clause b/Documentation/licenses/COPYING.BSD-3-Clause new file mode 100644 index 0000000..2f17068 --- /dev/null +++ b/Documentation/licenses/COPYING.BSD-3-Clause @@ -0,0 +1,25 @@ +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, and the entire permission notice in its entirety, + including the disclaimer of warranties. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF +WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. diff --git a/Documentation/licenses/COPYING.BSD-4-Clause-UC b/Documentation/licenses/COPYING.BSD-4-Clause-UC new file mode 100644 index 0000000..9abbf24 --- /dev/null +++ b/Documentation/licenses/COPYING.BSD-4-Clause-UC @@ -0,0 +1,32 @@ +/* + * Copyright (c) 1989 The Regents of the University of California. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ diff --git a/Documentation/licenses/COPYING.GPL-2.0-or-later b/Documentation/licenses/COPYING.GPL-2.0-or-later new file mode 100644 index 0000000..d159169 --- /dev/null +++ b/Documentation/licenses/COPYING.GPL-2.0-or-later @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/Documentation/licenses/COPYING.ISC b/Documentation/licenses/COPYING.ISC new file mode 100644 index 0000000..8351a30 --- /dev/null +++ b/Documentation/licenses/COPYING.ISC @@ -0,0 +1,11 @@ +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/Documentation/licenses/COPYING.LGPL-2.1-or-later b/Documentation/licenses/COPYING.LGPL-2.1-or-later new file mode 100644 index 0000000..4362b49 --- /dev/null +++ b/Documentation/licenses/COPYING.LGPL-2.1-or-later @@ -0,0 +1,502 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! diff --git a/Documentation/modems-with-agetty.txt b/Documentation/modems-with-agetty.txt new file mode 100644 index 0000000..44a611e --- /dev/null +++ b/Documentation/modems-with-agetty.txt @@ -0,0 +1,76 @@ +25/10/95 Peter Orbaek + +Some notes for using agetty with modems + +Using a comms program to initialize the modem +--------------------------------------------- + +* Use kermit or minicom to initialize the modem to + + - be entirely quiet. + - don't do local echo in command mode. + - turn on DCD (carrier detect) only when there is a connection going. + - enable auto-answer. + - keep a constant computer/modem bitrate at all times. + - optionally save this setup as the modem startup configuration. + +* Run agetty on the appropriate ttySn port with the arguments: + * -w to wait for a CR or LF before writing the /etc/issue message + * computer/modem bitrate + * the tty name. + +Example from my modem setup, an old 2400 bps SupraModem using Hayes standard +AT commands. + +Initialize modem using kermit with the commands + + AT E0 Q1 &D2 &C1 S0=1 &W0 + +to + - turn off local echo from modem when in command mode (E0). + - disable all result codes from modem (Q1). + - make an on/off transition on the DTR line make the modem + disconnect and go into command mode (&D2). + - make the computer/modem DCD line track the modem/modem + carrier detect signal, i.e. no connection means no + carrier detect signal to the computer (&C1). + - enable auto-answer after the first ring (S0=1). + - store the configuration as the start configuration (&W0). + +The commands on your modem to achieve the same setup may vary, especially +the &D2 and &C1 commands may not be entirely standard. + +Exit kermit/minicom. + +Put the command + + /sbin/agetty -w 2400 ttyS1 + +in the command field of the appropriate line in /etc/inittab to start +agetty on /dev/ttyS1 with a 2400 bps speed between modem and computer. + +Initializing the modem with agetty +---------------------------------- + +Use the agetty -I command line option to specify a modem init string, like +for the same setup as above, use the following agetty command in your +/etc/inittab. + + /sbin/agetty -w -I 'ATE0Q1&D2&C1S0=1\015' 2400 ttyS1 + +The final \015 is an octal coding of the carriage return character +ending the command string. + +If you're using simpleinit (part of this package) instead of the SYSV +compatible init (you're most likely using the SYSV one!) then you must +remove the single quotes from the command line above. + +Note that the &W0 command was not used here since the modem will be +initialized each time agetty starts. + +With a V.34 (28.8 kbps) modem try starting with a command like: + + /sbin/agetty -w -I 'ATE0Q1&D2&C1S0=1\015' 115200 ttyS1 + +Note that agetty supports the higher (>9600 bps) serial speeds +directly, there's no need to use setserial to use the higher speeds. diff --git a/Documentation/mount.txt b/Documentation/mount.txt new file mode 100644 index 0000000..f75a6e2 --- /dev/null +++ b/Documentation/mount.txt @@ -0,0 +1,17 @@ +mount/umount for Linux 0.97.3 and later. +Authors: +Doug Quale , +H.J. Lu , +Rick Sladkey , +Stephen Tweedie . +Andries Brouwer +Adrian Bunk + +Presently in util-linux maintained by Karel Zak . + +== Notes to developers == + + The final solution will be libmount/mount.c as the + mount(8) command implementation. So, let's keep the + current mount/* code in maintenance mode and don't try to + rewrite it :-) diff --git a/Documentation/parse-date.txt b/Documentation/parse-date.txt new file mode 100644 index 0000000..b23abe7 --- /dev/null +++ b/Documentation/parse-date.txt @@ -0,0 +1,468 @@ + +NAME + parse_date - parses a date string into a timespec struct. + +SYNOPSIS + #include "timeutils.h" + + int parse_date(struct timespec *result, char const *p, + struct timespec const *now) + + LDADD libcommon.la + +DESCRIPTION + Parse a date/time string, storing the resulting time value into *result. + The string itself is pointed to by *p. Return 1 if successful. + *p can be an incomplete or relative time specification; if so, use + *now as the basis for the returned time. + + +This function is based upon gnulib's parse-datetime.y-dd7a871. + +Below is a plain text version of the gnulib parse-datetime.texi-dd7a871 manual +describing the input strings that are recognized. + +Any future modifications to the util-linux parser that affect input strings +should be noted below. + + +1 Date input formats +******************** + +First, a quote: + + Our units of temporal measurement, from seconds on up to months, + are so complicated, asymmetrical and disjunctive so as to make + coherent mental reckoning in time all but impossible. Indeed, had + some tyrannical god contrived to enslave our minds to time, to + make it all but impossible for us to escape subjection to sodden + routines and unpleasant surprises, he could hardly have done + better than handing down our present system. It is like a set of + trapezoidal building blocks, with no vertical or horizontal + surfaces, like a language in which the simplest thought demands + ornate constructions, useless particles and lengthy + circumlocutions. Unlike the more successful patterns of language + and science, which enable us to face experience boldly or at least + level-headedly, our system of temporal calculation silently and + persistently encourages our terror of time. + + ... It is as though architects had to measure length in feet, + width in meters and height in ells; as though basic instruction + manuals demanded a knowledge of five different languages. It is + no wonder then that we often look into our own immediate past or + future, last Tuesday or a week from Sunday, with feelings of + helpless confusion. ... + + --Robert Grudin, `Time and the Art of Living'. + + This section describes the textual date representations that GNU +programs accept. These are the strings you, as a user, can supply as +arguments to the various programs. The C interface (via the +`parse_datetime' function) is not described here. + +1.1 General date syntax +======================= + +A "date" is a string, possibly empty, containing many items separated +by whitespace. The whitespace may be omitted when no ambiguity arises. +The empty string means the beginning of today (i.e., midnight). Order +of the items is immaterial. A date string may contain many flavors of +items: + + * calendar date items + + * time of day items + + * time zone items + + * combined date and time of day items + + * day of the week items + + * relative items + + * pure numbers. + +We describe each of these item types in turn, below. + + A few ordinal numbers may be written out in words in some contexts. +This is most useful for specifying day of the week items or relative +items (see below). Among the most commonly used ordinal numbers, the +word `last' stands for -1, `this' stands for 0, and `first' and `next' +both stand for 1. Because the word `second' stands for the unit of +time there is no way to write the ordinal number 2, but for convenience +`third' stands for 3, `fourth' for 4, `fifth' for 5, `sixth' for 6, +`seventh' for 7, `eighth' for 8, `ninth' for 9, `tenth' for 10, +`eleventh' for 11 and `twelfth' for 12. + + When a month is written this way, it is still considered to be +written numerically, instead of being "spelled in full"; this changes +the allowed strings. + + In the current implementation, only English is supported for words +and abbreviations like `AM', `DST', `EST', `first', `January', +`Sunday', `tomorrow', and `year'. + + The output of the `date' command is not always acceptable as a date +string, not only because of the language problem, but also because +there is no standard meaning for time zone items like `IST'. When using +`date' to generate a date string intended to be parsed later, specify a +date format that is independent of language and that does not use time +zone items other than `UTC' and `Z'. Here are some ways to do this: + + $ LC_ALL=C TZ=UTC0 date + Mon Mar 1 00:21:42 UTC 2004 + $ TZ=UTC0 date +'%Y-%m-%d %H:%M:%SZ' + 2004-03-01 00:21:42Z + $ date --rfc-3339=ns # --rfc-3339 is a GNU extension. + 2004-02-29 16:21:42.692722128-08:00 + $ date --rfc-2822 # a GNU extension + Sun, 29 Feb 2004 16:21:42 -0800 + $ date +'%Y-%m-%d %H:%M:%S %z' # %z is a GNU extension. + 2004-02-29 16:21:42 -0800 + $ date +'@%s.%N' # %s and %N are GNU extensions. + @1078100502.692722128 + + Alphabetic case is completely ignored in dates. Comments may be +introduced between round parentheses, as long as included parentheses +are properly nested. Hyphens not followed by a digit are currently +ignored. Leading zeros on numbers are ignored. + + Invalid dates like `2005-02-29' or times like `24:00' are rejected. +In the typical case of a host that does not support leap seconds, a +time like `23:59:60' is rejected even if it corresponds to a valid leap +second. + +1.2 Calendar date items +======================= + +A "calendar date item" specifies a day of the year. It is specified +differently, depending on whether the month is specified numerically or +literally. All these strings specify the same calendar date: + + 1972-09-24 # ISO 8601. + 72-9-24 # Assume 19xx for 69 through 99, + # 20xx for 00 through 68. + 72-09-24 # Leading zeros are ignored. + 9/24/72 # Common U.S. writing. + 24 September 1972 + 24 Sept 72 # September has a special abbreviation. + 24 Sep 72 # Three-letter abbreviations always allowed. + Sep 24, 1972 + 24-sep-72 + 24sep72 + + The year can also be omitted. In this case, the last specified year +is used, or the current year if none. For example: + + 9/24 + sep 24 + + Here are the rules. + + For numeric months, the ISO 8601 format `YEAR-MONTH-DAY' is allowed, +where YEAR is any positive number, MONTH is a number between 01 and 12, +and DAY is a number between 01 and 31. A leading zero must be present +if a number is less than ten. If YEAR is 68 or smaller, then 2000 is +added to it; otherwise, if YEAR is less than 100, then 1900 is added to +it. The construct `MONTH/DAY/YEAR', popular in the United States, is +accepted. Also `MONTH/DAY', omitting the year. + + Literal months may be spelled out in full: `January', `February', +`March', `April', `May', `June', `July', `August', `September', +`October', `November' or `December'. Literal months may be abbreviated +to their first three letters, possibly followed by an abbreviating dot. +It is also permitted to write `Sept' instead of `September'. + + When months are written literally, the calendar date may be given as +any of the following: + + DAY MONTH YEAR + DAY MONTH + MONTH DAY YEAR + DAY-MONTH-YEAR + + Or, omitting the year: + + MONTH DAY + +1.3 Time of day items +===================== + +A "time of day item" in date strings specifies the time on a given day. +Here are some examples, all of which represent the same time: + + 20:02:00.000000 + 20:02 + 8:02pm + 20:02-0500 # In EST (U.S. Eastern Standard Time). + + More generally, the time of day may be given as +`HOUR:MINUTE:SECOND', where HOUR is a number between 0 and 23, MINUTE +is a number between 0 and 59, and SECOND is a number between 0 and 59 +possibly followed by `.' or `,' and a fraction containing one or more +digits. Alternatively, `:SECOND' can be omitted, in which case it is +taken to be zero. On the rare hosts that support leap seconds, SECOND +may be 60. + + If the time is followed by `am' or `pm' (or `a.m.' or `p.m.'), HOUR +is restricted to run from 1 to 12, and `:MINUTE' may be omitted (taken +to be zero). `am' indicates the first half of the day, `pm' indicates +the second half of the day. In this notation, 12 is the predecessor of +1: midnight is `12am' while noon is `12pm'. (This is the zero-oriented +interpretation of `12am' and `12pm', as opposed to the old tradition +derived from Latin which uses `12m' for noon and `12pm' for midnight.) + + The time may alternatively be followed by a time zone correction, +expressed as `SHHMM', where S is `+' or `-', HH is a number of zone +hours and MM is a number of zone minutes. The zone minutes term, MM, +may be omitted, in which case the one- or two-digit correction is +interpreted as a number of hours. You can also separate HH from MM +with a colon. When a time zone correction is given this way, it forces +interpretation of the time relative to Coordinated Universal Time +(UTC), overriding any previous specification for the time zone or the +local time zone. For example, `+0530' and `+05:30' both stand for the +time zone 5.5 hours ahead of UTC (e.g., India). This is the best way to +specify a time zone correction by fractional parts of an hour. The +maximum zone correction is 24 hours. + + Either `am'/`pm' or a time zone correction may be specified, but not +both. + +1.4 Time zone items +=================== + +A "time zone item" specifies an international time zone, indicated by a +small set of letters, e.g., `UTC' or `Z' for Coordinated Universal +Time. Any included periods are ignored. By following a +non-daylight-saving time zone by the string `DST' in a separate word +(that is, separated by some white space), the corresponding daylight +saving time zone may be specified. Alternatively, a +non-daylight-saving time zone can be followed by a time zone +correction, to add the two values. This is normally done only for +`UTC'; for example, `UTC+05:30' is equivalent to `+05:30'. + + Time zone items other than `UTC' and `Z' are obsolescent and are not +recommended, because they are ambiguous; for example, `EST' has a +different meaning in Australia than in the United States. Instead, +it's better to use unambiguous numeric time zone corrections like +`-0500', as described in the previous section. + + If neither a time zone item nor a time zone correction is supplied, +timestamps are interpreted using the rules of the default time zone +(*note Specifying time zone rules::). + +1.5 Combined date and time of day items +======================================= + +The ISO 8601 date and time of day extended format consists of an ISO +8601 date, a `T' character separator, and an ISO 8601 time of day. +This format is also recognized if the `T' is replaced by a space. + + In this format, the time of day should use 24-hour notation. +Fractional seconds are allowed, with either comma or period preceding +the fraction. ISO 8601 fractional minutes and hours are not supported. +Typically, hosts support nanosecond timestamp resolution; excess +precision is silently discarded. + + Here are some examples: + + 2012-09-24T20:02:00.052-05:00 + 2012-12-31T23:59:59,999999999+11:00 + 1970-01-01 00:00Z + +1.6 Day of week items +===================== + +The explicit mention of a day of the week will forward the date (only +if necessary) to reach that day of the week in the future. + + Days of the week may be spelled out in full: `Sunday', `Monday', +`Tuesday', `Wednesday', `Thursday', `Friday' or `Saturday'. Days may +be abbreviated to their first three letters, optionally followed by a +period. The special abbreviations `Tues' for `Tuesday', `Wednes' for +`Wednesday' and `Thur' or `Thurs' for `Thursday' are also allowed. + + A number may precede a day of the week item to move forward +supplementary weeks. It is best used in expression like `third +monday'. In this context, `last DAY' or `next DAY' is also acceptable; +they move one week before or after the day that DAY by itself would +represent. + + A comma following a day of the week item is ignored. + +1.7 Relative items in date strings +================================== + +"Relative items" adjust a date (or the current date if none) forward or +backward. The effects of relative items accumulate. Here are some +examples: + + 1 year + 1 year ago + 3 years + 2 days + + The unit of time displacement may be selected by the string `year' +or `month' for moving by whole years or months. These are fuzzy units, +as years and months are not all of equal duration. More precise units +are `fortnight' which is worth 14 days, `week' worth 7 days, `day' +worth 24 hours, `hour' worth 60 minutes, `minute' or `min' worth 60 +seconds, and `second' or `sec' worth one second. An `s' suffix on +these units is accepted and ignored. + + The unit of time may be preceded by a multiplier, given as an +optionally signed number. Unsigned numbers are taken as positively +signed. No number at all implies 1 for a multiplier. Following a +relative item by the string `ago' is equivalent to preceding the unit +by a multiplier with value -1. + + The string `tomorrow' is worth one day in the future (equivalent to +`day'), the string `yesterday' is worth one day in the past (equivalent +to `day ago'). + + The strings `now' or `today' are relative items corresponding to +zero-valued time displacement, these strings come from the fact a +zero-valued time displacement represents the current time when not +otherwise changed by previous items. They may be used to stress other +items, like in `12:00 today'. The string `this' also has the meaning +of a zero-valued time displacement, but is preferred in date strings +like `this thursday'. + + When a relative item causes the resulting date to cross a boundary +where the clocks were adjusted, typically for daylight saving time, the +resulting date and time are adjusted accordingly. + + The fuzz in units can cause problems with relative items. For +example, `2003-07-31 -1 month' might evaluate to 2003-07-01, because +2003-06-31 is an invalid date. To determine the previous month more +reliably, you can ask for the month before the 15th of the current +month. For example: + + $ date -R + Thu, 31 Jul 2003 13:02:39 -0700 + $ date --date='-1 month' +'Last month was %B?' + Last month was July? + $ date --date="$(date +%Y-%m-15) -1 month" +'Last month was %B!' + Last month was June! + + Also, take care when manipulating dates around clock changes such as +daylight saving leaps. In a few cases these have added or subtracted +as much as 24 hours from the clock, so it is often wise to adopt +universal time by setting the `TZ' environment variable to `UTC0' +before embarking on calendrical calculations. + +1.8 Pure numbers in date strings +================================ + +The precise interpretation of a pure decimal number depends on the +context in the date string. + + If the decimal number is of the form YYYYMMDD and no other calendar +date item (*note Calendar date items::) appears before it in the date +string, then YYYY is read as the year, MM as the month number and DD as +the day of the month, for the specified calendar date. + + If the decimal number is of the form HHMM and no other time of day +item appears before it in the date string, then HH is read as the hour +of the day and MM as the minute of the hour, for the specified time of +day. MM can also be omitted. + + If both a calendar date and a time of day appear to the left of a +number in the date string, but no relative item, then the number +overrides the year. + +1.9 Seconds since the Epoch +=========================== + +If you precede a number with `@', it represents an internal timestamp +as a count of seconds. The number can contain an internal decimal +point (either `.' or `,'); any excess precision not supported by the +internal representation is truncated toward minus infinity. Such a +number cannot be combined with any other date item, as it specifies a +complete timestamp. + + Internally, computer times are represented as a count of seconds +since an epoch--a well-defined point of time. On GNU and POSIX +systems, the epoch is 1970-01-01 00:00:00 UTC, so `@0' represents this +time, `@1' represents 1970-01-01 00:00:01 UTC, and so forth. GNU and +most other POSIX-compliant systems support such times as an extension +to POSIX, using negative counts, so that `@-1' represents 1969-12-31 +23:59:59 UTC. + + Traditional Unix systems count seconds with 32-bit two's-complement +integers and can represent times from 1901-12-13 20:45:52 through +2038-01-19 03:14:07 UTC. More modern systems use 64-bit counts of +seconds with nanosecond subcounts, and can represent all the times in +the known lifetime of the universe to a resolution of 1 nanosecond. + + On most hosts, these counts ignore the presence of leap seconds. +For example, on most hosts `@915148799' represents 1998-12-31 23:59:59 +UTC, `@915148800' represents 1999-01-01 00:00:00 UTC, and there is no +way to represent the intervening leap second 1998-12-31 23:59:60 UTC. + +1.10 Specifying time zone rules +=============================== + +Normally, dates are interpreted using the rules of the current time +zone, which in turn are specified by the `TZ' environment variable, or +by a system default if `TZ' is not set. To specify a different set of +default time zone rules that apply just to one date, start the date +with a string of the form `TZ="RULE"'. The two quote characters (`"') +must be present in the date, and any quotes or backslashes within RULE +must be escaped by a backslash. + + For example, with the GNU `date' command you can answer the question +"What time is it in New York when a Paris clock shows 6:30am on October +31, 2004?" by using a date beginning with `TZ="Europe/Paris"' as shown +in the following shell transcript: + + $ export TZ="America/New_York" + $ date --date='TZ="Europe/Paris" 2004-10-31 06:30' + Sun Oct 31 01:30:00 EDT 2004 + + In this example, the `--date' operand begins with its own `TZ' +setting, so the rest of that operand is processed according to +`Europe/Paris' rules, treating the string `2004-10-31 06:30' as if it +were in Paris. However, since the output of the `date' command is +processed according to the overall time zone rules, it uses New York +time. (Paris was normally six hours ahead of New York in 2004, but +this example refers to a brief Halloween period when the gap was five +hours.) + + A `TZ' value is a rule that typically names a location in the `tz' +database (http://www.twinsun.com/tz/tz-link.htm). A recent catalog of +location names appears in the TWiki Date and Time Gateway +(http://twiki.org/cgi-bin/xtra/tzdate). A few non-GNU hosts require a +colon before a location name in a `TZ' setting, e.g., +`TZ=":America/New_York"'. + + The `tz' database includes a wide variety of locations ranging from +`Arctic/Longyearbyen' to `Antarctica/South_Pole', but if you are at sea +and have your own private time zone, or if you are using a non-GNU host +that does not support the `tz' database, you may need to use a POSIX +rule instead. Simple POSIX rules like `UTC0' specify a time zone +without daylight saving time; other rules can specify simple daylight +saving regimes. *Note Specifying the Time Zone with `TZ': (libc)TZ +Variable. + +1.11 Authors of `parse_datetime' +================================ + +`parse_datetime' started life as `getdate', as originally implemented +by Steven M. Bellovin () while at the University +of North Carolina at Chapel Hill. The code was later tweaked by a +couple of people on Usenet, then completely overhauled by Rich $alz +() and Jim Berets () in August, 1990. +Various revisions for the GNU system were made by David MacKenzie, Jim +Meyering, Paul Eggert and others, including renaming it to `get_date' to +avoid a conflict with the alternative Posix function `getdate', and a +later rename to `parse_datetime'. The Posix function `getdate' can +parse more locale-specific dates using `strptime', but relies on an +environment variable and external file, and lacks the thread-safety of +`parse_datetime'. + + This chapter was originally produced by François Pinard +() from the `parse_datetime.y' source code, +and then edited by K. Berry (). + diff --git a/Documentation/pg.txt b/Documentation/pg.txt new file mode 100644 index 0000000..7a974cb --- /dev/null +++ b/Documentation/pg.txt @@ -0,0 +1,13 @@ +README for the "pg" utility for Linux. + +The "pg" utility is the historic System V equivalent to BSD's "more". This +is a free clone of it, and it is intended to conform to the SVID 4 as well +as the SUSv2 specification of this command. + +Contrasting to the System V implementation, this one filters backspace +formatting sequences while searching, so you can comfortably search in nroff +output like manual pages. + +Gunnar Ritter +Freiburg i. Br. +Germany diff --git a/Documentation/poeigl.txt b/Documentation/poeigl.txt new file mode 100644 index 0000000..9f14d3f --- /dev/null +++ b/Documentation/poeigl.txt @@ -0,0 +1,503 @@ +README for init/getty/login, by poe@daimi.aau.dk + +This package contains simpleinit, agetty, and login programs for Linux. +Additional utilities included are: hostname, who, write, wall, users +domainname, hostid, cage and mesg. + +Most of this software has been contributed by others, I basically just +ported the things to Linux. + +Version 1.49 (20-Jun-97) + Small patches for new util-linux distribution and glibc compat. + PAM support in login.c by Erik Troan. + +Version 1.48 (6-Jun-97) + Now changes mode and owner of /dev/vcs devices for console logins. + After idea by Andries Brouwer. + +Version 1.47 (2-Apr-97) + Got new version of hostid.c and hostid.1 from + Sander van Malssen . + Removed premature endutent() call in login.c, simpleinit.c and + agetty.c to be compatible with the changed semantics of gnu libc2. + Fix by Jesse Thilo . + +Version 1.46 (28-Jan-97) + Several security fixes for login by David Holland (buffer overruns) + + Fixed write.c, to handle a terminating period correctly. + Re-indented login.c, it was getting too messy. + +Version 1.45a (16-Dec-96) + Better support in login for shadow passwords. Compile with + -DSHADOW_PWD if you have . This is on by default. + By Marek Michalkiewicz . + Changed the wtmp locking scheme in login.c,agetty.c,simpleinit.c + to flock() /etc/wtmplock instead of the wtmp file directly. + This avoids a denial of service attack. + Some support for the RB-1 Cryptocard token for challenge/response + authentication. This needs a DES library, either Eric Young's + libdes, or the Koontz implementation, see cryptocard.c. + Initial support patch by Randolph Bentson, + + Changed getpass() to use fputs() instead of fprintf(). + +Version 1.44 (13-Nov-96): + Made isapty() in checktty.c more resilient to 2.0 systems + that haven't re-MAKEDEV'ed their pty devices. + +Version 1.43 (8-Nov-96): + Fix to checktty.c: PTY's are numbered differently after 1.3, + blush! Fix by Gerhard Schneider + +Version 1.42c (6-Nov-96): + Small fix by Gabriel M. Schuyler , to get + better syslog messages (1 LOGIN FAILURE instead of 2 LOGIN FAILURES). + Patch butchered by me. + +Version 1.42b (30-Sep-96): + Got patch for checktty.c from Christoph Lameter + so it doesn't traverse the groupfile + "manually" but uses the getgroups() call, this is more efficient + with large groupfiles and NIS/YP. + +Version 1.42a (24-Sep-96): + Added extra syslog() call to login.c to log all good logins. + Patch from Steve Philp. + +Version 1.41 (20-Jul-96): + Added security fix to checktty.c by JDS to clear certain lists. + Patches butchered and ANSI'fied by me. + Added -n option to agetty to avoid the login prompt. + +Version 1.40a (29-Dec-95): + Added -f option to agetty. Patches from Eric Rasmussen + , but somewhat butchered by me. + +Version 1.39 (25-Oct-95): + Lots of testing and bugfixes in agetty. Now the modem init stuff + should finally work (for me). Also wrote modem.agetty as an example + on how to use agetty with a modem. + Agetty now also supports baud rates of 38400, 57600, 115200 and + 230400 bps. + +Version 1.37 (15-Sep-95): + Added -I and -w options to agetty.c for those that + use agetty with modems. + +Version 1.36 (25-Aug-95): + Enhanced /etc/usertty features with group support. Moved this part + of login.c to checktty.c. One can now define classes of hosts and + ttys and do access checking based on unix-group membership. See + login.1. Also time ranges for logins can be specified, for example + writing the line + + joe [mon:tue:wed:thu:fri:8-16]@barracuda [mon:tue:wed:thu:fri:0-7:17-23]@joes.pc.at.home [sat:sun:0-23]@joes.pc.at.home + + says that during working hours, Joe may rlogin from the host + barracuda, whereas outside working hours and in weekends Joe may + rlogin from his networked PC at home. + + login.c: failures was not properly initialized, it now is. Also + made sure ALL failures are really logged to syslog. + +Version 1.35 (7-Aug-95): + login.c: Much improved features for the usertty file, allows + access control based on both hostnames/addresses and line. See the + about.usertty file and the man-page. + + Fixed agetty so it doesn't fiddle with the ut_id field in the + utmp record, this should prevent growing utmps on systems with + more than 10 login lines. Fix suggested and checked by Alan Wendt + in his agetty.1.9.1a. + + Agetty now installs as agetty again, not as getty. + Updated man-page for login(1) to document /etc/usertty changes. + + This has been tested on Linux 1.2.5 with GCC 2.5.8 and libc 4.5.26. + +Version 1.33a (20-Jun-95): + rchatfie@cavern.nmsu.edu ("rc.") suggested that I should remove + the #ifndef linux around the special logging of dial-up + logins. This is now done, so each login via a serial port + generates a separate DIALUP syslog entry. + +Version 1.33 (5-Jun-95): + Patch by Ron Sommeling and + jlaiho@ichaos.nullnet.fi (Juha Laiho) for agetty.c, used + to return a pointer to an automatic variable in get_logname(). + Many patches from or via Rickard Faith , fixing + man-pages etc, now defaults to using /var/log/wtmp and /var/run/utmp + according to the new FSSTND. + + Fix in login.c for CPU eating bug when a remote telnet client dies + while logging in. + + This is for Linux 1.2, GCC 2.6.2 or later. + +Version 1.32b (12-Mar-95): + Login now sets the tty group to "tty" instead of "other". Depending + on compile-time define USE_TTY_GROUP the tty mode is set to 0620 or + 0600 instead of 0622. All as per suggestion by Rik Faith and the + linux-security list. + Write/wall now strips control chars except BEL (\007). Again after + suggestion by Rik Faith. + +Version 1.32a + Urgent security patch from Alvaro M. Echevarria incorporated into + login.c. This is really needed on machines running YP until + the libraries are fixed. + +Version 1.32 + Login now logs the ip-address of the connecting host to utmp as it + should. + +Version 1.31b (2-Feb-95): + Daniel Quinlan and Ross Biro + suggested a patch to login.c that allows for + shell scripts in the shell field of /etc/passwd, so one can now + have (as a line in /etc/passwd): + bye::1000:1000:Outlogger:/bin:echo Bye + Logging in as "bye" with no password simply echoes Bye on the screen. + This has applications for pppd/slip. + +Version 1.31a (28-Oct-94): + Scott Telford provided a patch for simpleinit, so executing reboot + from singleuser mode won't partially execute /etc/rc before + the reboot. + +Version 1.30 (17-Sep-94): + tobias@server.et-inf.fho-emden.de (Peter Tobias) has made a more + advanced hostname command that understands some options such as + -f for FQDN etc. I'll not duplicate his work. Use his hostname + package if you wish. + + svm@kozmix.xs4all.nl (Sander van Malssen) provided more features + for the /etc/issue file in agetty. \U and \u now expand to the + number of current users. + + It is now possible to state the value of TERM on the agetty command + line. This was also provided by Sander. + + This has been built under Linux 1.1.42 with gcc 2.5.8 and libc 4.5.26. + +Version 1.29 (18-Aug-94): + Finally got around to making a real version after the numerous + alpha versions of 1.28. Scott Telford provided + a patch for write(1) to make it look more like BSD write. + + Fixed login so that the .hushlogin feature works even with real + protective users mounted via NFS (ie. where root can't access + the user's .hushlogin file). + + Cleaned up the code to make -Wall bearable. + +Version 1.28c (21-Jul-94): + Rik Faith reminded me that agetty should use the syslog + facility. It now does. + +Version 1.28b (30-May-94): + On suggestion from Jeremy Fitzhardinge + I added -- as option delimiter on args passed from agetty to + login. Fixes -froot hole for other login programs. The login + program in this package never had that hole. + +Version 1.28a (16-May-94): + bill@goshawk.lanl.gov provided a couple of patches, one fixing + terminal setup in agetty, and reboot is now supposed to be + in /sbin according to FSSTND. + +Version 1.27 (10-May-94): + Changed login.c, so all bad login attempts are logged, and added + usertty security feature. See about.usertty for an explanation. + There's no longer a limit of 20 chars in the TERM environment + variable. Suggested by Nicolai Langfeldt + + Added #ifdef HAVE_QUOTA around quota checks. Enable them if + you have quota stuff in your libraries and kernel. + Also re-enabled set/getpriority() calls as we now have them, + and have had for a long time... + + Now wtmp is locked and unlocked around writes to avoid mangling. + Due to Jaakko Hyv{tti . + + Wrt. agetty: A \o in /etc/issue now inserts the domainname, as + set by domainname(1). Sander van Malssen provided this. + This is being used under Linux 1.1.9 + + Beefed up the agetty.8 man-page to describe the /etc/issue + options. Added man-pages for wall, cage, who. + +Version 1.26 alpha (25-Apr-94): + Added patch from Bill Reynolds to + simpleinit, so it will drop into single user if /etc/rc + fails, eg. from fsck. + +Version 1.25 (9-Feb-94): + Agetty should now work with the Linux 0.99pl15a kernel. + ECHOCTL and ECHOPRT are no longer set in the termios struct. + Also made agetty accept both "tty baudrate" and "baudrate tty" + arguments. + +Version 1.24 (23-Jan-94): changes since 1.22 + Christian von Roques provided a patch + that cleans up the handling of the -L option on agetty. + Rik Faith enhanced several man-pages... + +Version 1.23 (11-Dec-93): changes since 1.21 + Mitchum DSouza provided the hostid(1) code. It needs libc 4.4.4 or + later and a Linux 0.99.14 kernel or later. It can set and print + the world unique hostid of the machine. This may be used in + connection with commercial software licenses. God forbid! + I added the -v option, and munged the code a bit, so don't blame + Mitch if you don't like it. + + I made the "cage" program. Using this as a shell in the passwd + file, enables one to let users log into a chroot'ed environment. + For those that have modem logins and are concerned about security. + Read the source for further info. + + "who am i" now works. + + The login program works with Yellow Pages (aka NIS) simply by + linking with an appropriate library containing a proper version + of getpwnam() and friends. + +Version 1.21 (30-Oct-93): changes since 1.20 + In simpleinit.c: The boottime wtmp record is now written *after* + /etc/rc is run, to put a correct timestamp on it. + Daniel Thumim suggested this fix. + + The source and Makefile is prepared for optional installation of + binaries in /sbin instead of /etc, and logfiles in /usr/adm instead + of /etc. See and change the Makefile to suit your preferences. + Rik Faith and Stephen Tweedie inspired this change. + +Version 1.20 (30-Jul-93): changes since 1.17: + Versions 1.18 and 1.19 were never made publicly available. + Agetty now supports a -L switch that makes it force the CLOCAL flag. + This is useful if you have a local terminal attached with a partly + wired serial cable that does not pass on the Carrier Detect signal. + + There's a domainname program like the hostname program; contributed + by Lars Wirzenius. + + Simpleinit will now write a REBOOT record to wtmp on boot up. Time- + zone support is now optional in simpleinit. Both of these patches + were made by Scott Telford . + + This is for Linux 0.99.11 or later. + +Version 1.17 (19-May-93): changes since 1.16: + Login, simpleinit and write should now work with shadow passwords + too. See the Makefile. Thanks to Anders Buch who let me have an + account on his SLS based Linux box on the Internet, so I could test + this. I should also thank jmorriso@rflab.ee.ubc.ca (John Paul Morrison) + who sent me the shadow patch to login.c + +Version 1.16 (24-Apr-93): changes since 1.15a: + Simpleinit now clears the utmp entry associated with the pid's that + it reaps if there is one. A few are still using simpleinit and this + was a popular demand. It also appends an entry to wtmp + +Version 1.15a (15-Mar-93): changes since 1.13a: + junio@shadow.twinsun.com (Jun Hamano) sent me a one-line fix + for occasional mangled issue-output from agetty. + +Version 1.13a (2-Mar-93): changes since 1.12a: + With the new LILO (0.9), there are more than one possible arg + to init, so Werner Almesberger + suggested that a loop over argv[] was made in boot_single() in + simpleinit.c + +Version 1.12a (24-Feb-93): changes since 1.11: + This is for Linux 0.99.6 or later. Built with gcc 2.3.3 and libc4.2 + jrs@world.std.com (Rick Sladkey) told me that the setenv("TZ",..) + in login.c did more harm than good, so I commented it out. + +Version 1.11a (16-Feb-93): changes since 1.9a: + This is for Linux 0.99.5 or later. + Anthony Rumble made me avare that + the patches for vhangup() from Steven S. Dick didn't quite work, + so I changed it. + + Linus Torvalds provided another patch relating to vhangup, since + in newer Linuxen vhangup() doesn't really close all files, so we + can't just open the tty's again. + +Version 1.9a (18-Jan-93): changes since 1.8a: + Rick Faith sent me man-pages for most of the utilities in this + package. They are now included. + + Steven S. Dick sent me a patch for login.c + so DTR won't drop during vhangup() on a modemline. + + This is completely untested!! I haven't even had the time to + compile it yet. + +Version 1.8a (13-Dec-92): changes since 1.7: + This is for Linux 0.98.6 or later. Compiles with gcc2.2.2d7 and libc4.1 + + Bettered write/wall after fix from I forget who. Now wall can have + commandline args. + + Fixed bug in who.c + + Patched simpleinit.c with patch from Ed Carp, so it sets the timezone + from /etc/TZ. Should probably by be /etc/timezone. + + Sander Van Malssen provided a patch + for getty, so it can understand certain escapecodes in /etc/issue. + + I hacked up a very simple substitute for a syslog() call, to try out + the logging. If you have a real syslog() and syslogd then use that! + + The special vhangup.c file is out, it's in the official libc by now. + (and even in the libc that I have :-) + + who, and write are now deprecated, get the better ones from one of + the GNU packages, shellutils I think. + + Some people think that the simple init provided in this package is too + spartan, if you think the same, then get the SYSV compatible init + from Miquel van Smoorenburg + Simpleinit will probably be deprecated in the future. + +Version 1.7: 26-Oct-92 changes since 1.6: + This is for Linux 0.97PL4 or later. + + Thanks to Werner Almesberger, init now has support for a + singleuser mode. + + Login now supports the -h option, used in connection + with TCP/IP. (rlogin/telnet) + + Getty writes an entry to /etc/wtmp when started, so last won't report + "still logged in" for tty's that have not been logged into since + the last user of that tty logged out. This patch was inspired by + Mitchum DSouza. To gain the full benefit of this, get the newest + last from the admutils-1.4.tar.Z package or later. + +Version 1.6 (29-Aug-92): changes since 1.5: + This is for Linux 0.97P1+ or later. + + Login now uses the newly implemented vhangup() sys-call, to prevent + snooping on the tty. + An alternative getpass() function is now provided with login, because + I was told that the old one in libc didn't work with telnet and + or rlogin. I don't have a network or a kernel with TCP/IP so I haven't + tested the new one with telnet, but it is derived from BSD sources + that are supposed to work with networking. + +Version 1.5 (12-Aug-92): changes since 1.4 + This is for Linux 0.97 or later, and has been built with gcc2.2.2 + + This release just puts in a few bugfixes in login.c and simpleinit.c + +Version 1.4 (4-Jul-92): changes since 1.3: + This is for Linux 0.96b, and has been built and tested with gcc 2.2.2. + + Init now handles the SIGINT signal. When init gets a SIGINT it will + call /usr/bin/reboot and thereby gently reboot the machine. This + makes sense because after Linux 0.96B-PL1 the key-combination + Ctrl-Alt-Del may send a SIGINT to init instead of booting the + machine the hard way without syncing or anything. + + You may want to get the admutils-1.1 package which includes a program + that will instruct the kernel to use the "gentle-reboot" procedure. + +Version 1.3 (14-Jun-92): changes since 1.2: + This is for Linux 0.96A. + + The ioctl(TIOCSWINSZ) has been removed from login.c because it now + works :-). + + login.c now supports a lastlog database. + + Several programs and pieces of source that were included in the 1.2 + package has been *removed* as they are incorporated into the new + libc. Other omitted parts such as last(1) has been replaced by + better versions, and can be found in the admutils package. + + Agetty is now called getty and will be placed in /etc. + + A few changes has been made to make it possible to compile the + stuff with GCC 2.x. + +Version 1.2 (28-Feb-92): changes since 1.1: + This is for Linux 0.12. + + A couple of problems with simpleinit.c has been solved, thanks to + Humberto Zuazaga. So now init groks comments in /etc/inittab, and + handles the HUP and TSTP signals properly. + + I added two small scripts to the distribution: users and mesg. + + TERM is now carried through from /etc/inittab all the way to the + shell. Console tty's are special-cased, so the termcap entry in + /etc/inittab is overridden by the setting given at boot-time. + This requires a different patch to the kernel than that distributed + with version 1.1 + + Login no more sends superfluous chars from a password to the + shell. It also properly prints a NL after the password. + + Agetty didn't set the erase character properly, it does now. + + A few extra defines has been added to utmp.h + + Several netters helped discover the bugs in 1.1. Thanks to them + all. + +Version 1.1 (released 19-Feb-92): Changes since 1.0: + A bug in simpleinit.c has been fixed, thanks to Pietro Castelli. + The definition of the ut_line field has been changed to track the + USG standard more closely, we now strip "/dev/" off the front. + Thanks to: Douglas E. Quale and Stephen Gallimore. + + I have added a getlogin.c library routine, and a write(1) command. + I removed the qpl-init stuff. If people want to use it, they should + get it from the source. I don't want to hack on it anymore. + + A couple of people reported problems with getty having problems + with serial terminals. That was correct. I borrowed a null-modem + from Tommy Thorn, and now the problems should be fixed. It seems + that there is kept a lot of garbage in the serial buffers, flush + them and it works like a charm. Getty does an ioctl(0, TCFLSH, 2) + for this. + + The write.c code now doubles as code for a wall(1) program. + +Description of the various files: + +login.c The login program. This is a portation of BSD login, first + to HP-UX 8.0 by Michael Glad (glad@daimi.aau.dk), and + to Linux (initially to 0.12) by me. + +agetty.c The getty program. From comp.sources.misc, by W.Z. Venema. + Hacked a bit by me. + +write.c A write(1) command, used to pass messages between users + at different terminals. This code doubles as code for + a wall(1) command. Make a symlink: /usr/bin/wall -> + /usr/bin/write for this. + +mesg A tiny shellscript, so you can avoid that other people write + to your shell. + +pathnames.h: + Header. + +Getty will print the contents of /etc/issue if it's present before asking +for username. Login will print the contents of /etc/motd after successful +login. Login doesn't print /etc/motd, and doesn't check for mail if +~/.hushlogin is present and world readable. + +If /etc/nologin is present then login will print its contents and disallow +any logins except root. +It might be a good idea to have a "rm -f /etc/nologin" line in one's +/etc/rc file. + +If /etc/securetty is present it defines which tty's that root can login on. + + - Peter (poe@daimi.aau.dk) diff --git a/Documentation/release-schedule.txt b/Documentation/release-schedule.txt new file mode 100644 index 0000000..0e12694 --- /dev/null +++ b/Documentation/release-schedule.txt @@ -0,0 +1,42 @@ +Release schedule +---------------- + +The util-linux package uses the .. version +numbering scheme. Since the major version is pretty much fixed, any +release means an increment of the minor number. The minor version is +incremented roughly twice per year. The easiest way to estimate when +the next version will appear, is to look at the time stamp of the last +release. + +Before each release there are a few release candidates, which will be +collectively tested. During the test period changes to the code base +are restricted. Usually there are two release candidates. + + what length what will be accepted into upstream + --------------------------------------------------------- + rc1 1-2 weeks bug fixes only + rc2 1-2 weeks translations, fatal/trivial bug fixes + +The period between a release and the next release candidate can be considered +as the merge window. + +The release tarball is generated by "make distcheck" command. + +Release criteria +---------------- + +For all releases it is required that: + + - make checkincludes passes + - make checkconfig passes + - make distcheck passes + - cd tests && ./run.sh passes + - an out-of-tree build works + (cd .. && mkdir build && cd build && ../util-linux/configure && make) + + - ideally: a build with uClibc works, and --with-slang works + +See also +-------- + +../README diff --git a/Documentation/releases/v2.13-ReleaseNotes b/Documentation/releases/v2.13-ReleaseNotes new file mode 100644 index 0000000..3a9e6ef --- /dev/null +++ b/Documentation/releases/v2.13-ReleaseNotes @@ -0,0 +1,460 @@ + +Util-linux-ng 2.13 Release Notes (28-Aug-2007) +=============================================== + +Release highlights: +------------------ + + mount(8) doesn't include NFS client code anymore. Don't forget to + install nfs-utils 1.1.0 or newer with /sbin/[u]mount.{nfs,nfs4}. + + mount(8) doesn't include filesystem detection code anymore. You + have to compile --with-fsprobe={blkid,volume_id}, and libblkid + (e2fsprogs) or libvolume_id (udev >= v110) is required. + + mount(8) supports new relatime, context, fscontext, and defcontext + mount options. + + losetup(8) supports command line option "-a" to list all used loop + devices, '-s' to print a device name if "-f" and a file argument + are present, and "-r" to create a read-only loop device. + + fdisk(8) Sun label support has been improved. fdisk(8) is also able + to warn about detected GPT (fdisk doesn't support GPT). + + taskset(1) is independent on hardcoded NR_CPUS. chrt(1) supports + SCHED_BATCH scheduling policy. + + The package build system is now based on autotools. The build system + supports separate CFLAGS and LDFLAGS for suid programs (SUID_CFLAGS, + SUID_LDFLAGS). For more details see the README file + + hwclock(8) supports command line option --rtc= and /dev/rtc0 + device. --systohc functionality has been improved, and it doesn't cause + a 500ms inaccuracy each time it is used. + + Audit system support (--with-audit) has been added to hwclock(8) and + login(1). + + SELinux support (--with-selinux) has been added to mkswap(8) and + mount(8). + + setarch(8) upstream has been merged with util-linux-ng. + + rtcwake(8) command has been added to util-linux-ng. + + arch(1) is deprecated in favor of "uname -m" or arch(1) from coreutils + (>= 6.9+). The util-linux-ng package doesn't build arch by default, + you have to use the option --enable-arch. + + +Fixed security issues: +--------------------- + + CVE-2007-0822 - mount(8) allows local users to trigger a NULL + dereference and an application crash + CVE-2006-7108 - login(1) omits PAM account validation when auth is + skipped + + +Changelog: +--------- + + For more details see ChangeLog files at: + https://www.kernel.org/pub/linux/utils/util-linux/v2.13/ + + +agetty: + - 8 bit characters on the Linux console lead to input corruption [Samuel Thibault] + - add 'O' escape code to display domain name [Karel Zak] + - check gethostname() return value [Karel Zak] + - fix short malloc in initstring handling [LaMont Jones] +blockdev: + - add BLKFRAGET/BLKFRASET ioctls [Karel Zak] + - cleanup usage() and update man page [Karel Zak] + - fix "blockdev --getsz" for large devices [Karel Zak] + - use LU and LLU for BLKGETSIZE and BLKGETSIZE64 [Karel Zak] +build-sys: + - add ${AC,AP,AM,AH}_OPTS to autogen.sh [Karel Zak] + - add AC_GNU_SOURCE [Karel Zak] + - add Automake option dist-bzip2 [Stepan Kasal] + - add --disable-makeinstall-chown [Karel Zak] + - add missing files [Karel Zak] + - add SUID_CFLAGS [Karel Zak] + - add SUID_LDFLAGS [Stepan Kasal] + - add support for audit [Karel Zak] + - add warning when libuuid is not found [Karel Zak] + - amend .gitignore [Stepan Kasal] + - call automake after autoconf [Stepan Kasal] + - cleanup architecture conditionals [Karel Zak] + - cleanup sys-utils/ rdev symlinks [Karel Zak] + - configure.am selinux support cleanup [Karel Zak] + - declare SUID_CFLAGS and SUID_LDFLAGS as precious [Stepan Kasal] + - do not build convenience libraries in lib/ [Stepan Kasal] + - do not kick off AM_CFLAGS by SUID_CFLAGS [Stepan Kasal] + - do not play with DEFS, use AM_CPPFLAGS [Stepan Kasal] + - do not set with_foo twice [Stepan Kasal] + - do not use internal Autoconf variables [Stepan Kasal] + - do not use wildcards in EXTRA_DIST [Stepan Kasal] + - factor out common parts from mount/Makefile.am [Stepan Kasal] + - fix directories in EXTRA_DIST [Karel Zak] + - fix HAVE_NCURSES [Karel Zak] + - fix ifdef ENABLE_WIDECHAR usage [Karel Zak] + - fix linking when ncurses is built with --with-termlib=tinfo [Arkadiusz Miśkiewicz] + - fix README filenames and add missing files to EXTRA_DISTs [Karel Zak] + - fix the example configure call in README [Stepan Kasal] + - fix the final message of autogen.sh [Stepan Kasal] + - in configure.ac, change "po" -> "$srcdir/po" [Stepan Kasal] + - in the clean targets use "find ... | xargs rm -f" [Stepan Kasal] + - let configure instantiate the misc-utils/*.pl scripts [Stepan Kasal] + - make the getopt example directory relative to datadir [Stepan Kasal] + - merge adjacent AC_CONFIG_HEADERS and AC_CONFIG_FUNCS calls [Stepan Kasal] + - minor fixes in configure.in [Karel Zak] + - missing header when NLS is disabled [Gabriel Barazer] + - mount/Makefile.am tiny cleanup II [Stepan Kasal] + - mount/Makefile.am tiny cleanup [Stepan Kasal] + - move -D flags to *_CPPFLAGS [Stepan Kasal] + - move the optimization flags to AM_CFLAGS [Stepan Kasal] + - --prefix defaults to /usr [Stepan Kasal] + - release++ [Karel Zak] + - remove aclocal.m4 from SCM [Karel Zak] + - remove AC_PROG_RANLIB [Stepan Kasal] + - remove asm/page.h test [Karel Zak] + - remove config.h.in from VCS [Stepan Kasal] + - remove config/include-Makefile.am from EXTRA_DIST [Stepan Kasal] + - remove DEFAULT_INCLUDES workaround [Karel Zak] + - remove -fomit-frame-pointer [Karel Zak] + - remove generated autotools stuff from git [Karel Zak] + - remove libtool [Karel Zak] + - remove "make mrproper", git-clean is good enough [Karel Zak] + - remove po/Makevars.template from EXTRA_DIST [Stepan Kasal] + - remove swapargs.h, move the tests to main configure.ac [Stepan Kasal] + - rename to -ng, change maintainer name [Karel Zak] + - replace AC_TRY_* by AC_*_IFELSE [Stepan Kasal] + - s/AC_HELP_STRING/AS_HELP_STRING/ [Stepan Kasal] + - set DISTCHECK_CONFIGURE_FLAGS in top-level makefile [Stepan Kasal] + - simplify "clean" in tests/Makefile.am [Stepan Kasal] + - update po/POTFILES.in [Stepan Kasal] + - use dist_example_DATA [Stepan Kasal] + - use dist_noinst_DATA to work around the bug with dist_man_MANS [Stepan Kasal] + - use dist_noinst_HEADERS in include/Makefile.am [Stepan Kasal] + - use dist_usrbinexec_SCRIPTS in misc-utils/Makefile.am [Stepan Kasal] +cal: + - add test code [Karel Zak] + - fix a segfault and -3m highlighting [Karel Zak] + - ifdef cleanup, non-curses/tempcap code fixes [Karel Zak] + - widechar code cleanup [Karel Zak] +cfdisk: + - build-sys defines HAVE_RPMATCH, not HAVE_rpmatch [Karel Zak] + - fix stupid typo in GPT checker call [Karel Zak] +chsh: + - don't use empty shell field in /etc/passwd [Karel Zak] + - remove tailing wihit-spaces and use PATH_BSHELL [Karel Zak] +col: + - getwchar() errors shouldn't be hidden [Karel Zak] +cytune: + - make the oneliner more specific the cyclades hw in question [Justin B Rye] + - remove linux/tty.h inclusion [Karel Zak] +ddate: + - fix compiler warnings [Karel Zak] +disk-utils: + - fix libuuid usage in mkswap [Matthias Koenig] + - let mkfs tools open with O_EXCL [Matthias Koenig] +docs: + - add DEPRECATED to EXTRA_DIST [Karel Zak] + - add note about http //translationproject.org [Karel Zak] + - add rdev(8) between deprecated utils [Karel Zak] + - add README.licensing [Karel Zak] + - add release notes [Karel Zak] + - add the DEPRECATED file [Karel Zak] + - clean up TODO file and add a new resuest for 2.14 [Karel Zak] + - fix authorship of 8-bit cleanup agetty patch [Karel Zak] + - fix BSD licence name in README.licensing [Karel Zak] + - fix info about devel/master branchs [Karel Zak] + - fix URL and typos in README.devel [Karel Zak] + - remove deprecated section from README [Karel Zak] + - update release notes [Karel Zak] +fdisk: + - Makefile.am refactoring [Karel Zak] + - add GPT detection code [Karel Zak] + - add MAC label detection [Karel Zak] + - add support for udev persistent device names [Matthias Koenig] + - check returns in fdisk from partition changes [Mike Frysinger] + - cleanup full disk detection code [Karel Zak] + - cleanup partname.c [Karel Zak] + - do not complain about regular files [H. Peter Anvin] + - fix "differ in signedness" compiler warnings [Karel Zak] + - fix "type qualifiers ignored on function return type" [Karel Zak] + - many significant improvements and fixes to Sun label handling [David Miller] + - move duplicate stuff from fdisk*label.h to fdisk.h [Karel Zak] + - use unsigned long long instead int for sectors [Karel Zak] + - when generating a DOS disk label, give it an ID [H. Peter Anvin] +getopt: + - remove old unused files [Karel Zak] +hexdump: + - don't use memset with zero length [Karel Zak] +hwclock: + - add --rtc= option and support for /dev/rtc0 [Karel Zak] + - add support for audit system [Karel Zak] + - fix --systohc sets clock 0.5 seconds slow [Karel Zak] + - make ggc happy and check return values from fgets, read and write [Karel Zak] + - remove tailing white-spaces and clean up clock.h [Karel Zak] +ionice: + - clean up error handling [Matthias Koenig] + - cleanup usage for idle class [Matthias Koenig] + - fix ionice build on sparc [David Miller] + - prefer SYS_ioprio_{set,get} from glibc to hardcoded version [Karel Zak] +ipcs: + - add new tests for ipcs limits [Karel Zak] + - add regression test for output headers [Karel Zak] + - fix typo in Semaphore headers [Karel Zak] + - max total shared memory in kbytes instead pages [Karel Zak] +logger: + - use snprintf instead of sprintf in logger.c [LaMont Jones] +login: + - add audit support [Karel Zak] + - add IPv6 support [Karel Zak] + - add regression test for IP address checking code [Karel Zak] + - attempt to run if it has no read/write access to its terminal [Jason Vas Dias] + - close PAM session after failed pam_setcred [Steve Grubb] + - improve work with signals [Karel Zak] + - keep syslog useful for end of PAM session. [Karel Zak] + - login's timeout can fail [Jason Vas Dias] + - omits PAM account validation when auth is skipped (CVE-2006-7108) [Karel Zak] + - remove triiling white-spaces [Karel Zak] + - replace /usr/spool/mail with /var/spool/main in man page [Karel Zak] + - update 32bit utmp correctly on 64bit system [Karel Zak] +lomount.c: + - don't use mlockall if CRYPT_NONE [Masatake YAMATO] +look: + - fix problem with !isalnum() words [Karel Zak] + - man page clarification [Pádraig Brady] + - remove tailing white-spaces [Karel Zak] +losetup: + - add -a option to list all used loop devices [Karel Zak] + - add a new option -s [Karel Zak] + - add long options and fix man page [Karel Zak] + - add support read-only loops [Karel Zak] + - add to man page info about deprecated cryptoloop [Karel Zak] +man pages: + - add "AVAILABILITY" section [Karel Zak] + - cleanup of chrt.1 and taskset.1 [LaMont Jones] +mcookie: + - remove non-linux code [Karel Zak] +misc-util: + - new rtcwake command [Bernhard Walle] +misc-utils: + - add scriptreplay manpage [Matthias Koenig] + - remove old cal test [Karel Zak] +mkfs: + - remove nonsense from man page [Karel Zak] +mkfs.cramfs: + - cleanup HAVE_ macros usage [Karel Zak] + - fix a way how mkfs works with empty files [Karel Zak] + - remove hardcoded limit for directories [Karel Zak] +mkswap: + - add regression test [Karel Zak] + - automatically add selinux label to swapfile [Karel Zak] + - avoid mkswap usage on already mounted device [Karel Zak] + - default to V1 in any case [Matthias Koenig] + - fix signedness problems and remove obsolete code [Karel Zak] + - gcc happy unsigned long usage [Karel Zak] +more: + - fix file descriptor leak [Steve Grubb] + - fix underlining for multibyte chars [Karel Zak] +mount: + - add acl option documentation for ext3 and reiserfs [Matthias Koenig] + - add note about /etc/mtab unreliability to mount.8 [Karel Zak] + - add note about fcntl/ioctl unreliability on NFS to mount.8 [Karel Zak] + - add -s and -f and note to man page for external mount helpers [Karel Zak] + - add simple (printf-like) debug routine and --debug option [Karel Zak] + - add support for context, fscontext and defcontext selinux mount options [Karel Zak] + - add support for mixed usage of SPECes [Karel Zak] + - add support for mtab "uhelper" option [Karel Zak] + - avoid duplicate entries in mtab when mount -f [Karel Zak] + - avoid duplicates for root fs in mtab [Matthias Koenig] + - call /sbin/mount. also when mounting without "-t" [Karel Zak] + - clean up getfs* (fstab.c) interface [Karel Zak] + - clean up info about NFS in mount.8 [Karel Zak] + - doesn't rpc_pipefs and nfsd on umount -a [Karel Zak] + - do not treat arm/sparc specially. [Mike Frysinger] + - don't umount sysfs when running umount -a [Mike Frysinger] + - fix -f -o remount [Karel Zak] + - fix -fv so that it doesn't incorrectly spit out an error that nothing was done. [Mike Frysinger] + - fix has_* functions (CVE-2007-0822) [Karel Zak] + - fix incorrect behavior when more than one fs type is specified [Attila Áfra] + - fix list logic in update_mtab [Karel Zak] + - fix memory usage in update_mtab [Mike Frysinger] + - fix mtab_lock [Karel Zak] + - fix typo in error message [Karel Zak] + - free loop device on failure [Sascha Sommer] + - fsprobe add libvolume_id support [Karel Zak] + - fsprobe add libvolume_id support to configure.ac [Karel Zak] + - fsprobe make fsprobe_get_devname functions more generic [Karel Zak] + - fsprobe remove mount_guess_fstype.{c,h} [Karel Zak] + - fsprobe remove non-blkid code [Karel Zak] + - fsprobe rename files to fsprobe_* [Karel Zak] + - fsprobe rename the rest of API routines to fsprobe_* [Karel Zak] + - fsprobe use blkid cache only when really necessary [Karel Zak] + - getfs_* (fstab) interface has to work with canonicalize() [Karel Zak] + - kill mount_guess_rootdev [Stepan Kasal] + - loop device race condition [Matthias Koenig] + - mention hfsplus in mount manpage [LaMont Jones] + - needs to handle special mountprog even on guessed file systems. [Karel Zak] + - parse SPEC before search in fstab [Karel Zak] + - relative atime support [Valerie Henson] + - remove all NFS code [Karel Zak] + - remove nfsmount() from sundries.h [Karel Zak] + - rewrite getfs_by_specdir() without mem leaks [Karel Zak] + - shared-subtree support [Karel Zak] + - should set proper permissions on locktime [Flávio Leitner] + - update mtab correctly when mount --move [Karel Zak] + - update xfs mount options [Matthias Koenig] + - use encoded labels for volume_id [Kay Sievers] + - use growable string for options [Karel Zak] + - use loop= option when mounting by /sbin/mount. [Karel Zak] + - use realloc for xstrconcat functions [Karel Zak] + - use verbose mode instead debug mode [Karel Zak] +namei: + - fix logic and infinite loop of symlinks [Karel Zak] + - new regression test [Karel Zak] +newgrp: + - add support for /etc/gshadow [Karel Zak] + - check result from getgrnam() more carefully [Karel Zak] +partx: + - add man pages for addpart, delpart and partx [Karel Zak] +po: + - gettextizing some overlooked messages. [Benno Schulenberg] + - rename mount/mntent.c to mount/mount_mntent.c [Karel Zak] + - typo in french translation of mount error. [Mike Frysinger] + - update cs.po (from translationproject.org) [Petr Pisar] + - update de.po (from translationproject.org) [Michael Piefel] + - update nl.po (from translationproject.org) [Benno Schulenberg] + - update sv.po (from translationproject.org) [Daniel Nylander] + - update vi.po (from translationproject.org) [Phan Vinh Thinh] + - vipw doesn't use rpmatch, all translations have to use y/n [Karel Zak] +raw: + - add file with udev rule example [Karel Zak] + - don't accept raw0 as a target name [Karel Zak] + - move the raw command to /sbin [Karel Zak] + - update man page (about dd and O_DIRECT) [Karel Zak] +rdev: + - should be delivered on amd64 as well as i386. [LaMont Jones] +readprofile: + - fix on ppc64 [Matthias Koenig] +schedutils: + - add support for SCHED_BATCH [Karel Zak] + - define SCHED_BATCH when compile with old glibc [Karel Zak] + - fix chrt docs and pid=0 usage [Matthias Koenig] + - remove extra hyptens from man pages [Karel Zak] +script: + - fix race conditions [Karel Zak] + - improve quiet mode [Karel Zak] +setarch: + - add NLS support [Karel Zak] + - add --3gb option fot compatibility with Debian linux{32,64} command [Karel Zak, LaMont Jones] + - add __alpha__ support [Balint Cristian] + - add parisc/parisc64 support [LaMont Jones] + - add sparc32bash alias to keep compatibility with sparc32 [Dennis Gilmore] + - cleanup licensing note [Karel Zak] + - finish adding parisc support [Karel Zak, LaMont Jones] +sfdisk: + - fix "differ in signedness" compiler warnings [Karel Zak] + - fix "may be used uninitialized" compiler warnings [Karel Zak] + - setting default geometry values [Luciano Chavez] +swapoff: + - correctly handle UUID= and LABEL= identifiers [LaMont Jones] +swapon: + - cleanup PATH_ macros and tailing white-spaces [Karel Zak] + - cleanup fsprobe_*() usage [Karel Zak] + - does not correctly deal with symlinks [Marco d'Itri] + - fix swapon headers and syscalls [Mike Frysinger] + - simplify an #if [Stepan Kasal] +sys-utils: + - add arch(1) back to the official tree [Karel Zak] + - add note about obsolete ramsize option to rdev.8 [Karel Zak] + - added setarch command [Karel Zak] + - fix man page headers [Karel Zak] + - move some man pages from category 8 to 1 [Karel Zak] +taskset: + - check for existence of sched_getaffinity [Mike Frysinger] + - independent of hardcoded NR_CPUS max. [Cliff Wickman] +tests: + - add basic infrastructure for regression tests [Karel Zak] + - add cal -1 test [Karel Zak] + - add cal -3 test [Karel Zak] + - add cal -y test [Karel Zak] + - add expected outputs for cramfs [Karel Zak] + - add functions for label, uuid and fstype detection [Karel Zak] + - add hwclock systohc test [Karel Zak] + - add library for LD_PRELOAD to manipulate with time() in tests [Karel Zak] + - add license notices, change from gplv2-only to gplv2-or-later [Karel Zak] + - add lock_mtab() performance and reliability test [Karel Zak] + - add look test for words with separator [Karel Zak] + - add missing header [Matthias Koenig] + - add mkfs.cramfs tests [Karel Zak] + - add more variants to {mount,fstab}-by-{label,uuid,devname} [Karel Zak] + - add mount by devname from fstab [Karel Zak] + - add mount by devname test [Karel Zak] + - add mount by devname with label in fstab [Karel Zak] + - add mount by devname with uuid in fstab [Karel Zak] + - add mount by label from fstab test [Karel Zak] + - add mount by LABEL test [Karel Zak] + - add mount by label with devname in fstab [Karel Zak] + - add mount by label with uuid in fstab [Karel Zak] + - add mount by UUID from fstab test [Karel Zak] + - add mount by UUID test [Karel Zak] + - add mount by uuid with devname in fstab [Karel Zak] + - add mount by uuid with label in fstab [Karel Zak] + - add mount /dev/symlink test [Karel Zak] + - add mount --move test [Karel Zak] + - add mount -o remount test [Karel Zak] + - add return code [Karel Zak] + - add script(1) race condition test [Karel Zak] + - add simple helper that returns info about system [Karel Zak] + - add support for fstab modification [Karel Zak] + - add support for suid programs [Karel Zak] + - add swapon by devname test [Karel Zak] + - add swapon by UUID test [Karel Zak] + - add test for /sbin/mount. call [Karel Zak] + - add ts_log and --verbose support [Karel Zak] + - add ts_ok and ts_failed [Karel Zak] + - cleanup blkid cache after test device deinitialization [Karel Zak] + - code refactoring -- new ts_device_init function [Karel Zak] + - code refactoring -- new ts_skip_nonroot function [Karel Zak] + - code refactoring -- new ts_udev_loop_support function [Karel Zak] + - enable mtablock test when uid=0 only [Karel Zak] + - fix argv[] usage in mnt_test_sysinfo.c [Karel Zak] + - fix dependence on blkid [Karel Zak] + - fix Makefile.am (add missing tests) [Karel Zak] + - fix ts_fstab_add function [Karel Zak] + - fix ULONG_MAX usage on 32bit machines [Karel Zak] + - "if [...]" clean up [Karel Zak] + - make clean need to remove diffs and outputs [Karel Zak] + - pass all arguments to ts_init, add ts_has_option function [Karel Zak] + - refresh mtablock output in expected/ directory [Karel Zak] + - remove dependence on helpers/libpreload-time.so [Karel Zak] + - simplify devices usage [Karel Zak] + - use $AWK based on configure results [Karel Zak] + - use relative paths when sourcing files [Mike Frysinger] +text-utils: + - fix the more command compilation against termcap [Karel Zak] +tools: + - add codecheck-config that checks for {HAVE,ENABLE}_ orphans [Karel Zak] +vipw: + - fix permissions (600->400) for edited /etc/[g]shodow files [Karel Zak] +wall: + - fix O_NONBLOCK usage [Alan Curry] + - remove deprecated sigsetmask() from wall [Karel Zak] + - remove unwanted newlines from wall [Karel Zak] +whereis: + - add lib64 paths [Karel Zak] + +- Clean up pagesize/PAGE_SIZE usage. [Karel Zak] +- also search for __stext in readprofile [Mike Frysinger] +- check exit status of autotools [Mike Frysinger] +- clean up realpath.[ch] includes and macros [Karel Zak] +- execl() should be use NULL not 0 [Karel Zak] +- manpage typos [LaMont Jones] +- remove hardcoded package name from some utils [Karel Zak] + diff --git a/Documentation/releases/v2.14-ReleaseNotes b/Documentation/releases/v2.14-ReleaseNotes new file mode 100644 index 0000000..1ba5ce7 --- /dev/null +++ b/Documentation/releases/v2.14-ReleaseNotes @@ -0,0 +1,418 @@ + +Util-linux-ng 2.14 Release Notes (09-Jun-2008) +============================================== + +Release highlights +------------------ + + mount(8) supports new "nofail" mount option. + + mount(8) supports auto-destruction of loop devices. + + losetup(8) supports new command line option "-j" to show status of all + loop devices associated with given file. + + losetup(8) supports unlimited number of loop devices. + + losetup(8) supports new command line option "--sizelimit" to set data end. + + ldattach(8) command has been added to util-linux-ng. The ldattach + daemon opens the specified device file and attaches the line discipline + to it for processing of the sent and/or received data. + + setterm(8) supports new command line option "-blank [force|poke]" for + TIOCL_{BLANKED,BLANK}SCREEN. + + tailf(8) has been reimplemented to use inotify. + + tailf(8) supports new command line option "-n" to specifying output lines. + + mkswap(8) supports new command line option "-U" to set UUID explicitly. + + fdisk(8) has been fixed to calculate partition size in 2^N. + + cal(8) supports highlighting an arbitrary date. + + agetty(8) makes username-in-uppercase feature optional (off by default). + Users who use uppercase-only terminals need to use the option "-U" now. + + losetup(8), mount(8), umount(8), fdisk(8) and sfdisk(8) support static + linking when compiled with --enable-static-programs. + + hwclock(8) supports new command line option "adjfile" to override + the default /etc/adjtime. + + scriptreplay(1) command has been re-written from Perl to C. + + +Deprecated +---------- + + The losetup(8) '-s' option (introduced by util-linux-ng-2.13) is deprecated + now. This short form of the option '--show' could be in collision with + Loop-AES losetup implementation where the same option is used for the loop + sizelimit. + + +Fixed security issues +--------------------- + + CVE-2008-1926 - audit log injection via login + + The problem was originally reported for OpenSSH few months + ago (CVE-2007-3102). The login(1) is affected by the same + bug when built with the option "--with-audit". + + +Stable maintenance releases between v2.13 and v2.14 +--------------------------------------------------- + +util-linux-ng 2.13.1.1 [22-Apr-2008] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.13/v2.13.1.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.13/v2.13.1.1-ChangeLog + +util-linux-ng 2.13.1 [16-Jan-2008] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.13/v2.13.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.13/v2.13.1-ChangeLog + + +ChangeLog between v2.13 and v2.14 +--------------------------------- + + For more details see ChangeLog files at: + https://www.kernel.org/pub/linux/utils/util-linux/v2.14/ + +agetty: + - cleanup MAXHOSTNAMELEN [Karel Zak] + - make username-in-uppercase feature optional (off by default.) [Hamish Coleman] + - non-linux support (use pathnames.h) [Karel Zak] + - replace termio with termios interface [Samuel Thibault] + - ungettextize several debugging messages. [Benno Schulenberg] +blockdev: + - add --getsz to blockdev.8 [Karel Zak] + - add missing description about option --report in manpage [Li Zefan] + - fix opened file leaving unclosed [lizf] + - use lib/blkdev.c, fix --report [Karel Zak] +build-sys: + - add --enable-static-programs [Stepan Kasal, Karel Zak] + - add AC_CANONICAL_HOST [Miklos Szeredi] + - add VARSUFFIX to UTIL_CHECK_LIB [Karel Zak] + - add err.h check [Karel Zak] + - add support ionice for Super-H architecture [Karel Zak] + - add v2.14 to NEWS [Karel Zak] + - autogen.sh reports versions of autotools now [Karel Zak] + - build arch(1) during distcheck [Stepan Kasal] + - cleanup "x$foo" usage [Karel Zak] + - cleanup disk-utils/Makefile.am (use $utils_common) [Karel Zak] + - cleanup usage of linux/major.h [Samuel Thibault] + - disable syscall fallbacks for non-linux systems [Karel Zak] + - do not add -luuid to BLKID_LIBS [Stepan Kasal] + - fix missing deps for swapon [Matthias Koenig] + - ignore a bunch of generated files, mostly binaries [James Youngman] + - nls/locale handling in util-linux-ng general [Mike Frysinger] + - non-linux support [Samuel Thibault] + - release++ [Karel Zak] + - remove errs.h [Karel Zak] + - remove files that are no longer delivered from git [LaMont Jones] + - remove hardcoded _GNU_SOURCE [Karel Zak] + - remove unnecessary check-local target from login-utils/ [Karel Zak] + - set AC_PREREQ to 2.60, increment version to 2.14 [Karel Zak] + - simplify code around RDEV_LINKS and SETARCH_LINKS [Stepan Kasal] + - unify method for checking system calls and fallback handling [Mike Frysinger, Stepan Kasal] + - update .gitignore files [Karel Zak] + - use dist_man_MANS instead of man_MANS [Stepan Kasal] + - use ncursesw (wide version) when possibe [Karel Zak, Mike Frysinger] + - use pkg-config to find the libs for static build [Stepan Kasal] + - use portable $(VAR =) instead of gmake-specific $(addsuffix) [Stepan Kasal] +cal: + - add description about option -V to manpage [Li Zefan] + - add support for highlighting an arbitrary date [Pádraig Brady] + - avoid -Wformat warnings [Jim Meyering] + - fix weekday alignment for certain locales [Pádraig Brady] + - replace errs.h with libc err.h [Karel Zak] + - use HAVE_LIB{NCURSES,NCURSESW} instead HAVE_NCURSES [Karel Zak] +cfdisk: + - define portable {DEFAULT,ALTERNATE}_DEVICE [Samuel Thibault] + - display cylinders beyond 1024 [Peter Breitenlohner] + - slightly increase the size of menu buttons [Benno Schulenberg] + - translate partition-type names when they are printed. [Benno Schulenberg] +chfn: + - add pam_end() call and cleanup PAM code [Karel Zak] + - fix compiler warnings in selinux stuff [Karel Zak] +chfn, chsh, login: + - collapsing three similar messages into a single one [Benno Schulenberg] +chsh: + - should use pam_end function to terminate the PAM transaction [Yu Zhiguo, Karel Zak] +column: + - replace errs.h with libc err.h [Karel Zak] +ddate: + - 11th, 12th and 13th of month [Volker Schatz] +docs: + - add a note about minix v3 to TODO file [Karel Zak] + - add info about .bugfix releases and branches [Karel Zak] + - add note about incorrect tag 2.13.1 [Karel Zak] + - add note about losetup --sizelimit to ReleaseNotes [Karel Zak] + - add note about static linking [Karel Zak] + - add v2.14 ReleaseNotes [Karel Zak] + - cleanup DEPRECATED file [Karel Zak] + - cleanup README.devel, add note about coding style and Signed-off-by [Karel Zak] + - fix ChangeLog URL [Pascal Terjan] + - fix stable branche name in README.devel [Karel Zak] + - mark vipw(1) is deprecated in favor of vipw from shadow-utils [Karel Zak] + - refresh TODO list [Karel Zak] + - remove date from ReleasNotes [Karel Zak] + - tweak a few messages for clarity [Benno Schulenberg] + - update AUTHORS file [Karel Zak] + - update TODO file [Karel Zak] + - update v2.14 ReleaseNotes [Karel Zak] + - we already rewrote the scriptreplay script; remove that TODO entry [James Youngman] +elvtune: + - use get_linux_version() [Karel Zak] +fdformat: + - install to /usr/sbin instead to /usr/bin [Karel Zak] +fdisk: + - better fallback for get_random_id() [H. Peter Anvin] + - calculate +size{K,M,G} in 2^N [Karel Zak] + - cleanup BLK* ioctls usage [Karel Zak] + - doesn't recognize the VMware ESX partitions [Karel Zak] + - doing useless ioctl when editing an image [Pascal Terjan] + - fix building for AVR32 and CRIS [Imre Kaloz] + - fix typo [Karel Zak] + - message tweak [Karel Zak] + - non-linux support (MAXPATHLEN) [Karel Zak] + - non-linux support (use standard uintxy_t instead __uxy) [Samuel Thibault] + - use more readable "GPT" name rather than "EFI GPT" [Robert Millan] + - use swab macros from bitops.h [Karel Zak] +flock: + - typo in man page [A. Costa] +fsck.cramfs: + - clean up gcc warnings [Randy Dunlap] +fsck.minix: + - correct the error message given when we can't open the device [James Youngman] + - reset the terminal state if we are killed by a fatal signal [James Youngman] +getopt: + - fix path to examples in getopt.1 [Karel Zak] + - install example scripts as SCRIPTS, not DATA [Peter Breitenlohner] +hwclock: + - add --adjfile=path option [Karel Zak] + - check for ENODEV [David Woodhouse] + - do not create a zero adjfile [Alain Guibert] + - fix --rtc option [Matthias Koenig, Karel Zak] +include: + - provides everything [Samuel Thibault] + - add bitops.h with swab{16,32,64} macros [Karel Zak] + - add mount paths to pathnames.h [Karel Zak] + - cleanup pathnames.h [Karel Zak] +ionice: + - add a note about permissions to ionice.1 [Karel Zak] + - update man page to reflect IDLE class change in 2.6.25 [Karel Zak] +ipcs: + - add information about POSIX compatibility to ipcs.1 [Karel Zak] +kill: + - man page is missing a description of "kill -0" [Karel Zak] +ldattach: + - add NLS support [Karel Zak] + - new command [Tilman Schmidt] + - use glibc termios [Karel Zak] +lib: + - add blkdev.{c,h} [Stefan Krah, Karel Zak] + - add linux_version.{c,h} [Stefan Krah] +login: + - audit log injection attack via login [Steve Grubb] + - fix a small memory leak and remove unnecessary zeroing [Karel Zak] + - login segfaults on EOF (rh#298461) [Karel Zak] + - replace termio with termios interface [Samuel Thibault] + - rewrite is_local() to remove limits on line length [James Youngman] +login-utils: + - cleanup strlen() and fgets() usage [James Youngman] +losetup: + - add --associated option [Karel Zak] + - add --sizelimit option [Shachar Shemesh] + - canonicalize loopfile name [Karel Zak, Matthias Koenig] + - clean up gcc warnings [Randy Dunlap] + - fix errno usage [Karel Zak] + - fix typo in losetup.8 [Karel Zak] + - mark the option -s as deprecated [Karel Zak] + - remove duplicate xstrdup() and error() [Karel Zak] + - split help message into two smaller parts [Benno Schulenberg] + - support unlimited number of loops [Karel Zak] + - use standard uintxy_t types (struct loop_info64) [Samuel Thibault] +mesg: + - replace errs.h with libc err.h [Karel Zak] +mkfs.cramfs: + - clean up gcc warnings [Randy Dunlap, Karel Zak] + - remove unused header file [lizf] + - switch on localization. [Benno Schulenberg] +mkfs.minix: + - add sectorsize check [Matthias Koenig] + - clean up gcc warnings [Karel Zak] + - clean up gcc warnings [Randy Dunlap] + - device size cleanup [Matthias Koenig] +mkswap: + - BLKGETSIZE cleanup [Karel Zak] + - cleanup kB vs. KiB usage in error messages [Karel Zak] + - fix compiler warnings [Karel Zak] + - linux_version() code consolidation [Karel Zak] + - possible to crash with SELinux relabeling support [KaiGai Kohei] + - set UUID for swap space (add -U option) [Martin Schulze] + - set errno=0 in write_all() [Karel Zak] + - when writing the signature page, handle EINTR returns [Karel Zak] +more: + - cleanup gcc warnings [Randy Dunlap] + - non-linux support [Samuel Thibault] + - replace CBAUD with cfgetispeed() [Samuel Thibault] + - use HAVE_WIDECHAR instead ENABLE_WIDECHAR [Karel Zak] +mount: + - "can't create lock file" message sometimes means failure, sometimes not [Mark McLoughlin] + - "nofail" mount option [Matthias Koenig, Karel Zak] + - -L|-U segfault when label or uuid doesn't exist [Karel Zak] + - add more details to the --version output [Karel Zak] + - add support for sizelimit= mount option (for loop mounts) [Shachar Shemesh] + - allow auto-destruction of loop devices [Bernardo Innocenti] + - chain of symlinks to fstab causes use of pointer after free [Norbert Buchmuller] + - clean up gcc warnings (mount_mntent.c) [Randy Dunlap] + - clean up global variables [Karel Zak] + - cleanup "none" fstype usage [Karel Zak] + - cleanup KERNEL_VERSION, remove my_dev_t.h [Karel Zak] + - cleanup canonicalize() usage [Karel Zak] + - cleanup error() and die() [Karel Zak] + - cleanup usage of _PATH_* [Karel Zak] + - doesn't drop privileges properly when calling helpers [Ludwig Nussel] + - don't call canonicalize(SPEC) for cifs, smbfs and nfs [Karel Zak] + - don't canonicalize LABEL= or UUID= spec [Karel Zak] + - drop the part always true from a while condition [Pascal Terjan] + - fix a small typo in mount.8 [Christophe Blaess] + - fix fd leak [Matthias Koenig] + - fix typo in mount.8 [Karel Zak] + - hint about helper program if device doesn't exist [Karel Zak] + - improve chmod & chown usage and clean up gcc warnings (fstab.c) [Karel Zak] + - improve error message when helper program not present [LaMont Jones] + - prevent loop mounting the same file twice [Karel Zak, Matthias Koenig] + - remount doesn't care about loop= [Karel Zak] + - remove MS_{REPLACE,AFTER,BEFORE,OVER} [Karel Zak] + - remove built-in support for background mounts [Karel Zak] + - remove redundant fflush [Karel Zak] + - remove set_proc_name() [Karel Zak] + - remove useless if-before-my_free, define my_free as a macro [Karel Zak] + - use MNTTYPE_SWAP (from mntent.h) [Karel Zak] + - use atexit() rather than (*at_die)() [Karel Zak] + - use blkdev_get_size() [Karel Zak] + - use canonicalize in getfs_by_devname [Karel Zak] +namei: + - add to identify FIFO (named pipe) and update manpage [Li Zefan] + - cleanup tailing white-spaces [Karel Zak] + - non-linux support (get_current_dir_name() and PATH_MAX) [Karel Zak, Samuel Thibault] +partx: + - fix compiler warnings [Karel Zak] + - use swab macros from bitops.h [Karel Zak] +pg: + - fix segfault on search [Rajeev V. Pillai] +po: + - add eu.po (from translationproject.org) [Mikel Olasagasti] + - add pl.po (from translationproject.org) [Andrzej Krzysztofowicz] + - fix typo in de.po [Karel Zak] + - merge changes [Karel Zak] + - update POTFILES.in [Karel Zak] + - update ca.po (from translationproject.org) [Josep Puigdemont] + - update cs.po (from translationproject.org) [Petr Pisar] + - update da.po (from translationproject.org) [Claus Hindsgaul] + - update de.po (from translationproject.org) [Michael Piefel] + - update es.po (from translationproject.org) [Santiago Vila Doncel] + - update et.po (from translationproject.org) [Meelis Roos] + - update fi.po (from translationproject.org) [Lauri Nurmi] + - update fr.po (from translationproject.org) [Michel Robitaille] + - update hu.po (from translationproject.org) [Gabor Kelemen] + - update id.po (from translationproject.org) [Arif E. Nugroho] + - update it.po (from translationproject.org) [Marco Colombo] + - update ja.po (from translationproject.org) [Daisuke Yamashita] + - update nl.po (from translationproject.org) [Benno Schulenberg] + - update po files [Karel Zak] + - update pt_BR.po (from translationproject.org) [Rodrigo Stulzer Lopes] + - update ru.po (from translationproject.org) [Pavel Maryanov] + - update sl.po (from translationproject.org) [Simon Mihevc] + - update sv.po (from translationproject.org) [Daniel Nylander] + - update tr.po (from translationproject.org) [Nilgün Belma Bugüner] + - update uk.po (from translationproject.org) [Maxim V. Dziumanenko] + - update vi.po (from translationproject.org) [Clytie Siddall] +rename: + - add description about option -V to manpage [Li Zefan] + - remove useless variable [Li Zefan] +renice: + - detect errors in arguments, add -v, -h and long options [LaMont Jones, Karel Zak] +rev: + - use warn() in errs.h [Li Zefan] +rtcwake: + - fix UTC time usage [David Brownell] + - fix the default mode to "standby" [Paulius Zaleckas] + - fix typo [Karel Zak] + - fix typo SATE -> STATE [Mike Frysinger] + - fix verbose message [Karel Zak] + - include libgen.h for basename prototype [Mike Frysinger] + - misc cleanups [David Brownell] +script: + - cleanup gcc warnings [Randy Dunlap] + - cleanup includes [Samuel Thibault] + - dies on SIGWINCH [Karel Zak] + - read returns a size_t [James Youngman] +scriptreplay: + - gettextize a forgotten messages [Karel Zak] + - rewrite in C [Karel Zak, James Youngman] +setarch: + - add fallback for linux/personality [Karel Zak] + - add long options to setarch and update manpage [Karel Zak, Li Zefan] + - add missing alpha subarchs [Oliver Falk] + - adding groff symlinks to setarch manual page [Arkadiusz Miśkiewicz] + - fix compiler warning [LaMont Jones] + - generate groff links in a better way [Karel Zak] + - provide backwards compatibility [Dmitry V. Levin] + - tweak the help text, and gettextize a forgotten message [Benno Schulenberg] +setterm: + - add -blan [force|poke] options for TIOCL_{BLANKED,BLANK}SCREEN [Samuel Thibault, Karel Zak] + - dump by TIOCLINUX is deprecated since linux 1.1.92. [Karel Zak] + - opened file leaving unclosed [Karel Zak, lizf] + - remove unnecessaty ifndef TCGETS [Samuel Thibault] +sfdisk: + - allow partitioning drives of over 2^31 sectors. [Kunihiko IMAI] + - cleanup 83 gcc warnings [Randy Dunlap] + - opened files leaving unclosed [Karel Zak, Li Zefan] + - remove unnecessary linux/unistd.h [Samuel Thibault] + - use get_linux_version() [Karel Zak] +shutdown: + - use _PATH_MOUNTED instead of _PATH_MTAB [Stepan Kasal] +swapon: + - Reinitialize software suspend areas to avoid future corruption. [Kees Cook, Karel Zak] + - add sundries.h [Karel Zak] + - clean up gcc warnings [Randy Dunlap] + - cleanup usage output [Karel Zak] + - cleanup usage() [Karel Zak] + - fix swsuspend detection [Karel Zak] + - fix typo in usage() [Karel Zak] + - readjust the usage summaries [Benno Schulenberg] + - remove unnecessary myrealpath() call [Karel Zak] +sys-utils: + - correct setarch.8 manpage link creation [Frédéric Bothamy] +tailf: + - add option -n to specifying output lines [Li Zefan] + - clean up gcc warnings & fix use of errno [Karel Zak] + - inotify based reimplementation [Karel Zak] + - non-linux support [Samuel Thibault] + - opened file leaving unclosed [lizf] + - replace errs.h with libc err.h [Karel Zak] +tests: + - add "sort" to cramfs test [Karel Zak] + - add test for include/pathnames.h [Karel Zak] + - add ts-mount-noncanonical [Karel Zak] + - exactly define a time format in ls -l output [Karel Zak] + - fix blkid cache usage [Karel Zak] + - move test_bkdev to lib/ [Karel Zak] + - redirect libblkid cache to BLKID_FILE [Karel Zak] + - rename test_sysinfo, remove tailing white-spaces [Karel Zak] + - use losetup -s [Karel Zak] +umount: + - add hint about lsof & fuser [Karel Zak] + - don't print duplicate error messages [Karel Zak] + - use atexit() rather than (*at_die)() [Karel Zak] +wall: + - cleanup MAXHOSTNAMELEN [Karel Zak] diff --git a/Documentation/releases/v2.15-ReleaseNotes b/Documentation/releases/v2.15-ReleaseNotes new file mode 100644 index 0000000..4b12f72 --- /dev/null +++ b/Documentation/releases/v2.15-ReleaseNotes @@ -0,0 +1,675 @@ + +Util-linux-ng 2.15 Release Notes (05-May-2009) +============================================== + +Release highlights +------------------ + +mkswap(8): + - mkswap like many others mkfs-like utils ERASES THE FIRST BLOCKS on + the device to remove old on-disk filesystems. mkswap refuses to + erase the first block on a device with a disk label (SUN, BSD, ...) + or on whole disk (e.g. /dev/sda). + + - DOES NOT SUPPORT v0 SWAP SPACE any more. The kernel has not + supported v0 swap space format since 2.5.22. The new version v1 is + supported since 2.1.117. + +swapon(8): + - supports new command line option "-f/--fixpg" to reinitialize the + swap space with a wrong pagesize. As swap format depends on the pagesize + being used, it may happen that the pagesize of the swap space and the + current pagesize differ. + +login(1): + - requires /etc/pam.d/remote when compiled with PAM support and + executed with "-h " option. The "-h" option is used by other + servers (i.e., telnetd(8)) to pass the name of the remote host to login. + +cal(1): + - determines the first day of week from the locale. + +libblkid, blkid(8) and findfs(8): + The libblkid library has been moved from e2fsprogs to util-linux-ng. The + library has been extended and now includes: + + - low-level probing API that is useful for example for udev rules + (cmdline: blkid -p -o udev ) + + - very high-level API that provides portable interface for LABELs and + UUIDs evaluation on 2.4, 2.6 and udev-based system. It's recommended + to use "blkid -L|-U" in your scripts rather than directly read + /dev/disk/by-* symlinks. + + - the old ABI and API is backwardly compatible with the current version + from e2fsprogs. + + All utils (mount, swapon, fsck, ...) in the package is possible to link + against this new library, or the old version from e2fsprogs, or + libvolume_id from udev package. + + The default is still libblkid from e2fsprogs. The new library could be + enabled by "--with-fsprobe=builtin" configure option. + + The libvolume_id from udev and vol_id command is deprecated now. + +fsck(8): + - has been moved to from e2fsprogs to util-linux-ng. + +dmesg(1) + - supports new command line option "-r" to print the raw message buffer + (i.e. don’t strip the log level prefixes). + +flock(1): + - allows lock directory + +fsck.cramfs: + - automatically detects the image endianness, and can work on images of + either endianness. + +mkfs.cramfs: + - now accepts a new optional parameter (-N) that allows creating + the cramfs image in either endianness. + +renice(1): + - supports new command line option "-n" for compatibility with POSIX + +hwclock(8) + - supports new command line option "--systz" to reset the System Time + based on the current timezone. Since the system clock time is already + set from the hardware clock by the kernel (when compiled with + CONFIG_RTC_HCTOSYS), there's no particular need to read the hardware + clock again. + +ionice(1): + - supports new command line option "-t" option to ignore failure to set + requested priority. This might be of use in case something (selinux, + old kernel, etc.) does not allow the requested scheduling priority + to be set. + + - the command line option "-p" handles multiple PIDs now. + +losetup(8): + - detaches more devices by "-d [ ..]" + +ipcmk(1): + - this NEW COMMAND allows to create ad-hoc IPC resources. + +lscpu(1): + - this NEW COMMAND gathers CPU architecture information like number + of CPUs, threads, cores, sock, NUMA nodes, information about CPU + caches, information about hypervisor and virtualization support, + ..etc. and prints it in human-readable or parse-able format. + +namei(1): + - supports new command line options --owners, --long and --vertical + to print ls(1)-like output. + + +Stable maintenance releases between v2.14 and v2.15 +--------------------------------------------------- + +util-linux-ng 2.14.1 [10-Aug-2008] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.14/v2.14.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.14/v2.14.1-ChangeLog + +util-linux-ng 2.14.2 [09-Feb-2009] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.14/v2.14.2-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.14/v2.14.2-ChangeLog + + +ChangeLog between v2.14 and v2.15 +--------------------------------- + + For more details see ChangeLog files at: + https://www.kernel.org/pub/linux/utils/util-linux/v2.15/ + +addpart: + - 512-byte sectors in code, bytes in man-page [Karel Zak] +agetty: + - IUCLC and OLCUC are Linux extensions [Aurelien Jarno] + - check for termios.c_line struct member by autoconf [Karel Zak] + - sys/types.h and time.h are included more than once [Karel Zak] +blkid: + - Give a priority bonus to "leaf" devicemapper devices [Theodore Ts'o] + - LSI MegaRAID [Karel Zak] + - NVIDIA raid [Karel Zak] + - Optimize devicemapper support [Theodore Ts'o] + - Promise raid [Karel Zak] + - Refuse to create a device structure for a non-existent device [Theodore Ts'o] + - Unexport the private symbol blkid_devdirs [Theodore Ts'o] + - add to reiser [Karel Zak] + - add -L -U options (evaluation API) [root] + - add -p and low-probe mode to blkid binary [Karel Zak] + - add Christoph's note about libdisk to TODO [Karel Zak] + - add DDF raid [Karel Zak] + - add DEBUG_LOWPROBE, cleanup a little debug stuff [Karel Zak] + - add GFS and GFS2 [Karel Zak] + - add GFS2 UUID support [Karel Zak] + - add GFS2 reg. test [Karel Zak] + - add HFS and HFS+ [Karel Zak] + - add HPFS [Karel Zak] + - add HTFS [Karel Zak] + - add ISW raid [Karel Zak] + - add JMicron RAID [Karel Zak] + - add LUKS support [Karel Zak] + - add LVM2 support and a fix _sprintf_uuid() bug [Karel Zak] + - add Linux RAID [Karel Zak] + - add Silicon Image Medlay RAID [Karel Zak] + - add TODO file [Karel Zak] + - add TODO hint about DM devnames in sysfs [Karel Zak] + - add TODO hint about blkid_parse_tag_string() [Karel Zak] + - add TODO note about blkid_evaluate_spec_to_buffer() [Karel Zak] + - add UDF support [Karel Zak] + - add UFS [Karel Zak] + - add VFAT support [Karel Zak] + - add VIA RAID [Karel Zak] + - add ZSF support [Andreas Dilger] + - add ZSF test [Karel Zak] + - add __attribute__ ((format)) [Karel Zak] + - add a note to TODO list [Karel Zak] + - add adaptec raid [Karel Zak] + - add basic configure.ac stuff and blkid.pc [Karel Zak] + - add blkid_do_safeprobe() [Karel Zak] + - add blkid_evaluate_spec() [Karel Zak] + - add blkid_probe_get_sb() macro [Karel Zak] + - add btrfs support [Karel Zak] + - add cmdline interface for blkid_probe_filter_usage() [Karel Zak] + - add ddf raid regression test [Karel Zak] + - add ext{2,3,4,4devel} support [Karel Zak] + - add fallback to ext4 for 2.6.29+ kernels if ext2 is not present [Theodore Ts'o] + - add findfs(8) [Karel Zak] + - add highpoint{37x,45x} RAIDs [Karel Zak] + - add hpfs regression test [Karel Zak] + - add iso9600 [Karel Zak] + - add jfs [Karel Zak] + - add low level probing API [Karel Zak] + - add lvm1 [Karel Zak] + - add lvm2 reg.test [Karel Zak] + - add minix [Karel Zak] + - add missing blkidP.h to Makefile.am [Karel Zak] + - add missing hfs.c [Karel Zak] + - add netware (NSS) [Karel Zak] + - add netware regression test [Karel Zak] + - add new options to blkid.8 and help output [Karel Zak] + - add new requirements to TODO list [Karel Zak] + - add ocfs and oracleasm [Karel Zak] + - add ocfs2 version [Karel Zak] + - add proper copying info [Karel Zak] + - add reg.tests for HFS and HFS+ [Karel Zak] + - add romfs [Karel Zak] + - add squashfs [Karel Zak] + - add support for /etc/blkid.conf file [Karel Zak] + - add sysv and xenix [Karel Zak] + - add tst_types.c to Makefile.am [Karel Zak] + - add udev ID_FS_* output to blkid binary [Karel Zak] + - add udev string encoding routines [Karel Zak] + - add uuid and version support to gfs2 [Karel Zak] + - add version and probe FSInfo [Karel Zak] + - add version support to LVM2 [Karel Zak] + - add vol_id call to blkid regression test [Karel Zak] + - add vxfs [Karel Zak] + - add xfs [Karel Zak] + - blkdev size fallback [Karel Zak] + - blkid.static make target [Karel Zak] + - blkid_evaluate_spec() shouldn't ignore $BLKID_FILE [Karel Zak] + - check calloc() return value [Karel Zak] + - check idinfo[] index [Karel Zak] + - clean up man pages [Karel Zak] + - cleanup _LOGPROBE debug messages [Karel Zak] + - cleanup starts of probing files [Karel Zak] + - compile TEST_PROGRAMs [Karel Zak] + - correctly initialize magics[] arrays [Karel Zak] + - create basic directories [Karel Zak] + - don't dereference NULL upon slashless module dependency line [Jim Meyering] + - fix ..._strncpy_uuid [Karel Zak] + - fix a syntax nit [Karel Zak] + - fix blkid_do_probe() [Karel Zak] + - fix blkid_probe_sprintf_version() usage [Karel Zak] + - fix blkid_safe_string() [Karel Zak] + - fix exit codes in blkid(8) [Scott James Remnant] + - fix ext2 SEC_TYPE [Karel Zak] + - fix file descriptor leak when checking for a module [Karel Zak] + - fix gcc warning in blkid_get_cache_filename() [Karel Zak] + - fix hedeader in ntfs.c [Karel Zak] + - fix highpoint37x offset [Karel Zak] + - fix low-probe mode return codes [Karel Zak] + - fix non-udev low-probe mode output [Karel Zak] + - fix ocfs2 detection [Karel Zak] + - fix typo (syntax error) [Karel Zak] + - fix udev output [Karel Zak] + - fix xfs label [Karel Zak] + - hfs - do not set UUID for emtpy finder info [Kay Sievers] + - hfs - use proper native UUID format [Kay Sievers] + - improve ddf detection [Karel Zak] + - linux_raid - fix logic for volumes with size == 0 [Karel Zak] + - merge libblkid code from e2fsprogs/lib/blkid [Karel Zak] + - minor changes to library build system [Karel Zak] + - netware SB has to be packed [Karel Zak] + - optimize for string UUIDs [Karel Zak] + - re-order list of filesystems [Karel Zak] + - recognize ext3 with test_fs set as ext3 [Eric Sandeen] + - recognize ext4(dev) without journal [Eric Sandeen] + - refresh TODO file [Karel Zak] + - remove blkid_types.h [Karel Zak] + - remove unnecessary debug message [Karel Zak] + - remove unnecessary ifdef __cplusplus [Karel Zak] + - remove unused stuff from Makefile [Karel Zak] + - remove useless if-before-free tests [Jim Meyering] + - remove whole-disk entries from cache when partitions are found [Eric Sandeen] + - rename blkid_debug_init to blkid_init_debug [Karel Zak] + - rename blkid_evaluate_spec to blkid_evaluate_tag [Karel Zak] + - set size for non-blkdevs, add blkid_probe_strcpy_uuid() [Karel Zak] + - split SONAME and LIBBLKID_VERSION [Karel Zak] + - start to use ABI versioning [Karel Zak] + - support detection of multiple signatures [Karel Zak] + - support via raid version 2 [Sven Jost] + - update TODO [Karel Zak] + - update gitignore [Karel Zak] + - use "char **" rather than "unsigned char **" [Karel Zak] + - use /dev/mapper/ rather than /dev/dm- [Karel Zak] + - use /sys/block/dm-/dm/name [Karel Zak] + - use Requires.private and fix the include directory [Karel Zak] + - use blkid_probe_strcpy_uuid() for luks [Karel Zak] + - use posix uint32_t in ocfs superblock [Karel Zak] + - use posix uintXX_t in lvm code [Karel Zak] + - use sizeof() for hfs uuid [Karel Zak] + - vfat - fix declaration [Kay Sievers] +blkis: + - fix detection of ext4dev as ext4 [Eric Sandeen] +blockdev: + - add note that the StartSec is in 512-byte sectors [Karel Zak] + - fix possible buffer overflow [Karel Zak] +build-sys: + - add $usrlibexecdir and fix paths for [/usr]/lib64 [Karel Zak] + - add --disable-mount [Alon Bar-Lev] + - add --with=fsprobe=builtin [Karel Zak] + - add -luuid to BLKID_LIBS [Karel Zak] + - add fsck binary to .gitignore [Karel Zak] + - add missing AC_C_BIGENDIAN [Karel Zak] + - add missing files to include/Makefile.am [Karel Zak] + - add temporary libtool *.m4 stuff [Karel Zak] + - cleanup --with-fsprobe help string [Karel Zak] + - cleanup sys-utils/Makefile.am [Karel Zak] + - define libdir [Karel Zak] + - fix bugs detected by "make distcheck" [Karel Zak] + - libtoolize by libtool-2 [Karel Zak] + - libtoolize mount/Makefile.am [Karel Zak] + - move pivot_root(8) to sys-utils [Karel Zak] + - refresh generated libtool-2 stuff [Karel Zak] + - release++ (v2.15-rc1) [Karel Zak] + - release++ (v2.15-rc2) [Karel Zak] + - remove use of devmapper library [Karel Zak] + - tgets is not in ncurses but in tinfo [Arkadiusz Miśkiewicz] + - use pkg-config for blkid and volume_id [Karel Zak] +cal: + - determine the first day of week from the locale [Pádraig Brady] + - remove gcc-ism from nl_langinfo() call [Karel Zak] +cfdisk: + - accept yes/no as fallback [Matthias Koenig] + - fix "cannot seek on disk drive" bug [Karel Zak] +chfn: + - several strings without gettext calls [Karel Zak] +chrt: + - add NLS support, clean error messages and return codes [Karel Zak] + - add a comment about non POSIX 1003.1b attributes in chrt.1 [Aurelien Jarno] + - output buglet when reporting scheduling class [Karel Zak] + - support CFS SCHED_IDLE priority and document it [Martin Steigerwald] +disk-utils: + - clean up code, use blkdev_* functions [Samuel Thibault] + - include fcntl.h directly (mkfs.cramfs, raw) [maximilian attems] + - s/MOUNTED/_PATH_MOUNTED/ [maximilian attems] +dmesg: + - Add -r (raw) option. [Adam Jackson] + - nuke old glibc 5 support [maximilian attems] +docs: + - TODO: add request to use nl_langinfo() [Karel Zak] + - TODO update [Karel Zak] + - add a note about /proc/sys/kernel/random/uuid [Karel Zak] + - add a note about kpartx to TODO [Karel Zak] + - add entry about /proc/partitions parsing [Karel Zak] + - add feature-requests from RH bugzilla to TODO list [Karel Zak] + - add suggestion about TZ=UTC to TODO file [Karel Zak] + - fix typo, cal(8) --> cal(1) [Karel Zak] + - update AUTHORS file [Karel Zak] + - update TODO list [Karel Zak] + - update v2.15 ReleaseNotes [Karel Zak] +elvtune: + - add NLS support [Pedro Ribeiro] +fdisk: + - (and partx) remove BLKGETLASTSECT [Karel Zak] + - add 0xaf HFS / HFS partition type [Karel Zak] + - add some missing includes [Matthias Koenig] + - cannot create partition with starting beyond 1 TB [Karel Zak] + - cleanup _PATH_DEV_* macros [Karel Zak] + - doesn't handle large (4KiB) sectors properly [Eric Sandeen] + - don't check for GPT when asked for disk size only [Karel Zak] + - don't use get_linux_version() for non-linux [Samuel Thibault] + - exit(3) needs stdlib.h include [maximilian attems] + - fix man page typo [Karel Zak] + - fix max. ptname [Karel Zak] + - non-linux support (BLK* and HDIO_*) [Samuel Thibault] + - read /proc/partitions in more robust way [Karel Zak] + - remove obsolete information from man page [Karel Zak] + - remove unnecessary gettext call [Karel Zak] + - rename ENABLE_CMDTAGQ macro [Karel Zak] + - round reported sizes rather than truncate [Karel Zak] + - several strings without gettext calls [Pedro Ribeiro] + - suggest partprobe(8) and kpartx(8) when BLKRRPART failed [Vincent Deffontaines, Karel Zak] + - support "-b 4096" option [Karel Zak] + - support +cylinder notation [Karel Zak] + - use real sector size in verify() and warn_cylinders() [Karel Zak] + - warn users about 2.2TB dos partition limit [Karel Zak] +flock: + - Allow lock directory [Alexey Gladkov] + - add NLS support, remove tailing white-spaces [Karel Zak] + - fix printf format error in usage() [Karel Zak] + - segfaults when file name is not given [Karel Zak] +fsck: + - cosmetic changes (NLS, paths, ...) [Karel Zak] + - link with generic fsprobe wrapper [Karel Zak] + - move fsck from e2fsprogs to util-linux-ng [Karel Zak] + - remove  from warning message [Karel Zak] + - remove useless if-before-free tests [Karel Zak] +fsck.cramfs: + - add NLS support [Pedro Ribeiro] + - fix compiler warning [Karel Zak] + - segfault with INCLUDE_FS_TESTS and no -x option [Karel Zak] +fsck.minix: + - add regression test [Karel Zak] +getopt: + - remove unnecessary ifdefs [Karel Zak] + - remove useless if-before-free tests [Karel Zak] +hwclock: + - add --systz option to set system clock from itself [Scott James Remnant] + - always reads hardware clock [Karel Zak] + - cleanup help output and man page [Karel Zak] + - clock.h is included more than once [Karel Zak] + - delay loop in set_hardware_clock_exact [Kalev Soikonen] + - don't open /dev/rtc repeatedly [Karel Zak] + - omit warning about drift if --noadjfile given [Matthias Koenig] + - read_hardware_clock_rtc() need to return error codes [Karel Zak] + - remove "cli" and "sti" from i386 CMOS code [Karel Zak] + - remove x86_64-specific bogon [David Brownell] + - several strings without gettext calls [Pedro Ribeiro] + - unshadow a diagnostic printf [Kalev Soikonen] + - use carefully synchronize_to_clock_tick() return codes [Karel Zak] + - use time limit for synchronization busy wait [Karel Zak] +include: + - add missing files to Makefile.am [Karel Zak] + - bitops - explicitly include endian.h [Karel Zak] + - move swapheader.h to include [Matthias Koenig] + - swapheader.h is missing in Makefile.am [Karel Zak] + - use __BYTE_ORDER rather than AC specific WORDS_BIGENDIAN [Karel Zak] +ionice: + - Extend the man page to explain the "none" class and cpu-nice inheritance [Jakob Unterwurzacher] + - a little cleanup of "none" description [Karel Zak] + - add -t option [Lubomir Kundrak] + - add strtol() checks, cleanup usage text and man page [Karel Zak] + - change Jens Axboe's email [Karel Zak] + - cleanup error messages, add NLS support [Karel Zak] + - cleanup man page [Karel Zak] + - fix typo in manpage [Karel Zak] + - let -p handle multiple PIDs [Stephan Maka] +ipcmk: + - add NLS support [Karel Zak] + - fix error codes and error messages [Karel Zak] + - new command [Hayden James] +ipcs: + - adjust some field positions and widths for correct alignment [Benno Schulenberg] + - fix exit codes, remove tailing white-spaces [Karel Zak] + - ungettextize the spacing of the table headers [Benno Schulenberg] +ldattach: + - don't compile for non-linux systems [Samuel Thibault] +lib: + - add __BYTE_ORDER to md5.c [Karel Zak] + - add is_whole_disk() from fdisk code [Karel Zak] + - add pttype.c for PT types detection [Karel Zak] + - add test_ismounted for regression test [Karel Zak] + - blkdev.c clean up, non-linux support [Samuel Thibault] + - do not include in ismounted.c [Aurelien Jarno] + - fix fsprobe wrapper (const char * is nonsense) [Karel Zak] + - fsprobe - fix gcc warning [Karel Zak] + - gcc warning in fix fsprobe [Karel Zak] + - make open_device() optional in fsprobe.c [Karel Zak] + - pttype add BSD subpartitions support [Karel Zak] + - pttype fix DOS detection [Karel Zak] + - pttype - extend the API to work with file descriptors [Karel Zak] + - wholedisk - extend API, add test program [Karel Zak] + - pttype - fix typo [Karel Zak] +logger: + - several strings without gettext calls [Pedro Ribeiro] +login: + - cleanup includes [Karel Zak] + - fix compiler warning (int32 time() arg) [Karel Zak] + - fix warning "dereferencing type-punned pointer will break strict-aliasing rules" [Karel Zak] + - remove "switching users" nonsense from man page [Karel Zak] + - use "remote" as a PAM service name for "login -h" [Karel Zak] + - use open(2) rather then access(2) for $HOME/.hushlogin [Karel Zak] +login-utils: + - several strings without gettext calls [Pedro Ribeiro] +losetup: + - add warning about read-only mode [Karel Zak] + - clean up code around LO_FLAGS_AUTOCLEAR [Karel Zak] + - cleanup man page [Karel Zak] + - detach more devices by "-d [ ..]" [Karel Zak] + - looplist_* refactoring, remove scandir() [Karel Zak] + - missing EBUSY error hint message [Karel Zak] + - mount endless loop hang [Karel Zak] + - remove dependence on minor numbers [Karel Zak] + - several strings without gettext strings [Pedro Ribeiro] + - try to set up loop readonly if EACCES [Matthias Koenig] +lscpu: + - --sysroot option and stable cache output [Cai Qian] + - add Hypervisor detection [Karel Zak, Ky Srinivasan] + - new command [Cai Qian, Karel Zak] + - regression tests [Cai Qian] + - return EXIT_SUCCESS at the end [Matthias Koenig] +misc-utils: + - write include signal.h directly [maximilian attems] +mkfs.cramfs: + - add endianness support to cramfs tools [Roy Peled] + - lower memory requirements for layouts with duplicate files [Roy Peled] + - several strings without gettext calls [Pedro Ribeiro] +mkfs.minix: + - (and fsck) rename bitops.h [Karel Zak] + - add regression test [Karel Zak] + - fix size detection [Matthias Koenig] + - remove local implementation of {set,clr}bit [Karel Zak] +mkswap: + - clean up man page [Karel Zak] + - handle 2^32 pages [Hugh Dickins] + - non-linux support [Samuel Thibault] + - remove v0 swap space support [Karel Zak] + - zap bootbits [Karel Zak] +more: + - don't use a.out.h [Mike Frysinger] + - minor fixes to magic() [James Youngman] +mount: + - Add strictatime support [Matthew Garrett] + - add docs about utf8=0 for vfat [Karel Zak] + - add i_version support [Karel Zak] + - add info about /proc/mounts to mount.1 [Karel Zak] + - add info about semantics of read-only mount to mount.8 [Karel Zak] + - add info about tz=UTC option for FAT to mount.8 [Karel Zak] + - add norealtime to mount.8 [Karel Zak] + - add rootcontext= SELinux mount option [Karel Zak] + - add shortoptions for bind, move and rbind [maximilian attems] + - clean up SPEC canonicalization [Karel Zak] + - cleans up mount(8) troff markup [Sam Varshavchik] + - create separate section for fs-independent options in mount.8 [Karel Zak] + - document newinstance and ptmxmode options to devpts [Sukadev Bhattiprolu] + - finalize support of quoted LABELs/UUIDs [Karel Zak] + - fix gcc warning (variable used uninitialized) [Karel Zak] + - fix mount_static_LDADD [Karel Zak] + - fix typo [Guan Xin] + - fix typo [Karel Zak] + - fix typo in volume_id code [Karel Zak] + - generic blkid/volume_id wrapper, use blkid_evaluate_* [Karel Zak] + - inform about UID and eUID when verbose > 2 [Karel Zak] + - make file_t SELinux warning optional and shorter [Karel Zak] + - move realpath.c code to lib/ [Karel Zak] + - mtab created multiple times with -a option [Karel Zak] + - non-setuid (POSIX file capabilities) support [Karel Zak] + - remove link to namesys.com [Karel Zak] + - remove spurious newline from mount.8 [Mike Frysinger] + - remove useless if-before-free tests [Karel Zak] + - reorder list of options in mount.8 [Karel Zak] + - retry on ENOMEDIUM [Matthias Koenig] + - s/MOUNTED/_PATH_MOUNTED/ [maximilian attems] + - suggest to use blockdev --setro rather than losetup [Karel Zak] + - sundries.h add klibc support [maximilian attems] + - sync FAT info in mount.8 with Documentation/filesystems/vfat.txt [Karel Zak] + - sync tmpfs info in mount.8 with Documentation/filesystems/tmpfs.txt [Karel Zak] + - use subsections in mount.8 DESCRIPTION [Karel Zak] + - warn on "file_t" selinux context [Karel Zak] +namei: + - add --owners and --long options [Karel Zak] + - add --vertical option [Karel Zak] + - add missing options to namei.1 [Karel Zak] + - don't duplicate '/' directory [Karel Zak] + - fix buffer overflow [Karel Zak] + - new re-written version [Karel Zak] +partx: + - convert hard sector size to 512-byte sectors [Karel Zak] + - don't duplicate lib/blkdev.c code [Karel Zak] + - don't redeclare daddr_t [maximilian attems] + - use ioctls from lib/blkdev.c [Karel Zak] +pg: + - add gettext call for the help string [Karel Zak] + - several strings without gettext calls [Pedro Ribeiro] +pivot_root: + - clean up [Karel Zak] +po: + - add zh_CN.po (from translationproject.org) [Ray Wang] + - merge changes [Karel Zak] + - rewrite update-potfiles script [Karel Zak] + - update POTFILES.in [Karel Zak] + - update cs.po (from translationproject.org) [Petr Pisar] + - update fi.po (from translationproject.org) [Lauri Nurmi] + - update fr.po (from translationproject.org) [Nicolas Provost] + - update id.po (from translationproject.org) [Arif E. Nugroho] + - update ja.po (from translationproject.org) [Makoto Kato] + - update list of .c files [Karel Zak] + - update nl.po (from translationproject.org) [Benno Schulenberg] + - update vi.po (from translationproject.org) [Clytie Siddall] +raw: + - add NLS support [Pedro Ribeiro] + - default to /dev/raw/rawctl [Karel Zak] +rdev: + - cleanup includes [Karel Zak] +readprofile: + - several strings without gettext calls [Pedro Ribeiro] +renice: + - add -n option for compatibility with POSIX [Karel Zak] +rtcwake: + - add mising .RE to the man page [Karel Zak] + - cleanup return codes [Karel Zak] + - explain supported modes in rtcwake.8 [Karel Zak] + - prefer RTC_WKALM_SET over RTC_ALM_SET [Gabriel Burt] + - support not suspending [Marco d'Itri] +script: + - don't flush input when starting script [Andrew McGill] +scriptreplay: + - new implementation is out-of-sync [Karel Zak] +selinux: + - is_selinux_enabled() returns 0, 1 and -1 [Karel Zak] +setterm: + - fix -blank man page [Karel Zak] +sfdisk: + - fix Compilation Error [CAI Qian] + - fix possible buffer overflow [Karel Zak] + - print version should end with a newline [Denis ChengRq] +simmpleinit: + - fix gcc warning (buffer size in read()) [Karel Zak] +simpleinit: + - cleanup gettext calls, use snprintf() [Karel Zak] +swapon: + - -a has to complain, fix leaks [Karel Zak] + - add -f/--fixpgsz option [Karel Zak] + - add error messages for lseek and write [Karel Zak] + - add generic swap_get_header() [Karel Zak] + - add swap format detection and pagesize check [Matthias Koenig, Olaf Hering] + - cleanup man page [Karel Zak] + - do_swapon() refactoring (move stat() checks) [Karel Zak] + - do_swapon() refactoring (split into two functions) [Karel Zak] + - fix typo s/warn/warnx/ [Karel Zak] + - fix wording in man page [Karel Zak] + - rewrite SWSUSPEND signature rather than exec mkswap [Karel Zak] + - simplify spec to devname conversion [Karel Zak] + - use err.h stuff [Karel Zak] +tailf: + - unistd.h is included more than once [Karel Zak] +tests: + - add "byte-order" to helpers/test_sysinfo [Karel Zak] + - add ./run.sh [Karel Zak] + - add MD5 regression test [Karel Zak] + - add fsck ismounted reg.test [Karel Zak] + - add libblkid regression tests (images from e2fsprogs) [Karel Zak] + - add lscpu(1) test for fullvirt. Xen x86_64 [Karel Zak] + - add lscpu(1) test for paravirt. Xen i386 [Karel Zak] + - add md5 regression test [Karel Zak] + - add mk-lscpu-input.sh [Karel Zak] + - add support for subdirs to basic test functions [Karel Zak] + - add support for subtests [Karel Zak] + - add swabN() regression test [Karel Zak] + - check also for /dev/loop/X [Karel Zak] + - chmod -x ts/lscpu/mk-input.sh [Karel Zak] + - clean up the testing scripts [Américo Wang] + - cleanup lscpu reg.tests [Karel Zak] + - cleanup ts/bitops [Karel Zak] + - cleanup ts/cal scripts [Karel Zak] + - cleanup ts/col scripts [Karel Zak] + - cleanup ts/cramfs/fsck-endianness [Karel Zak] + - cleanup ts/cramfs/mkfs-endianness [Karel Zak] + - cleanup ts/hwclock [Karel Zak] + - cleanup ts/ipcs [Karel Zak] + - cleanup ts/login [Karel Zak] + - cleanup ts/look [Karel Zak] + - cleanup ts/md5 [Karel Zak] + - cleanup ts/minix [Karel Zak] + - cleanup ts/mount [Karel Zak] + - cleanup ts/namei [Karel Zak] + - cleanup ts/paths [Karel Zak] + - cleanup ts/script [Karel Zak] + - cleanup ts/swapon [Karel Zak] + - create expected/$(component)/$(testname) [Karel Zak] + - create subdirs for test scripts [Karel Zak] + - detect libvolume_id when mount(8) is compiled [Karel Zak] + - disable blkid tests when blkid(8) is not compiled [Karel Zak] + - disable suid mount test [Karel Zak] + - fix -regex in run.sh [Karel Zak] + - fix TS_* paths [Karel Zak] + - fix file name is too long (max 99) - gtar [Karel Zak] + - fix output string [Karel Zak] + - fix the final message for subtests [Karel Zak] + - fix typo in low-probe test [Karel Zak] + - fix typo in lscpu test [Karel Zak] + - move some generic stuff from ts_init() to a new ts_init_env() [Karel Zak] + - refresh Makefile.am (add missing lscpu tests) [Karel Zak] + - refresh and cleanup cramfs/mkfs [root] + - refresh cal(1) expected outputs [Karel Zak] + - refresh expected mount(8) outputs [Karel Zak] + - refresh ipcs expected outputs [Karel Zak] + - remove input directory [Karel Zak] + - remove obsolete stuff from Makefile.am [Karel Zak] + - remove unexpected exit from *_subtest functions [Karel Zak] + - remove useless return value checks in testing scripts [Américo Wang] + - update namei reg.test [Karel Zak] + - we needn't blkid.sh [Karel Zak] +tools: + - add checkconfig to top-level Makefile [Karel Zak] + - add checkincludes.pl (from linux kernel) [Karel Zak] + - rename codecheck-config to checkconfig.sh [Karel Zak] +umount: + - check for overlaid mounts [Guan Xin] + - cleanup gefs_by_specdir() [Karel Zak] + - improve "-d" option for autoclear loops [Karel Zak] + - no checking mount point removal [Guan Xin] +whereis: + - include dirent.h instead sys/dir.h [maximilian attems] +write: + - doesn't check for tty group [Karel Zak] + diff --git a/Documentation/releases/v2.16-ReleaseNotes b/Documentation/releases/v2.16-ReleaseNotes new file mode 100644 index 0000000..0cd2984 --- /dev/null +++ b/Documentation/releases/v2.16-ReleaseNotes @@ -0,0 +1,182 @@ + +Util-linux-ng 2.16 Release Notes (15-Jul-2009) +============================================== + +Release highlights +------------------ + +libuuid, uuidgen(1) and uuidd(8): + - the libuuid library has been moved from e2fsprogs to util-linux-ng + +switch_root: + - this NEW COMMAND allows to switch to another filesystem as the root + of the mount tree. + +mount, umount, fsck: + - DOES NOT SUPPORT linking against obsolete libvolume_id (from udev) + +libblkid: + - development files (.so, .a, ...) have been moved from /lib to /usr/lib. + + +Stable maintenance releases between v2.15 and v2.16 +--------------------------------------------------- + +util-linux-ng 2.15.1 [10-Jun-2009] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.15/v2.15.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.15/v2.15.1-ChangeLog + + +ChangeLog between v2.15 and v2.16 +--------------------------------- + + For more details see ChangeLog files at: + https://www.kernel.org/pub/linux/utils/util-linux/v2.16/ + + +build-sys: + - add --disable-libblkid, remove volume_id support [Karel Zak] + - add --disable-switch_root [Karel Zak] + - add --disable-tls [Karel Zak] + - add --disable-uuidd [Karel Zak] + - add UTIL_{SET,RESTORE}_FLAGS [Karel Zak] + - check for openat() and linux for switch_root [Karel Zak] + - cleanup libuuid stuff [Karel Zak] + - complete /libs to /shlibs rename [Karel Zak] + - enable fsck by default [Karel Zak] + - fix "make -C" bug [Karel Zak] + - fix --disable-uuidd [Karel Zak] + - fix blkid.h include for old e2fsprogs [Karel Zak] + - fix exec/data install hooks [Karel Zak] + - fix headers in mkswap and libblkid [Karel Zak] + - fix libuuid Makefile.am [Karel Zak] + - fix libuuid and libblkid version-info [Karel Zak] + - fix typo from 30688dde55f637c9b984809c685b61378b82805f [Robert Förster] + - improve $libdirname definition [Karel Zak] + - improve symlinks creation in shlibs/ [Karel Zak] + - release++ (v2.16-rc1) [Karel Zak] + - release++ (v2.16-rc2) [Karel Zak] + - rename /libs to /shlibs [Karel Zak] + - rename to _execdir [Karel Zak] + - reverse shlibs installation [Kay Sievers] +buildsys: + - move $usr{bin,sbin,lib}execdir definition to ./configure [Karel Zak] +cal: + - Highlight today even when month or year specified [Rajeev V. Pillai] + - uClibc has langinfo.h but not _NL_TIME_WEEK_1STDAY. [Tom Prince] +chrt: + - don't assume SCHED_BATCH and SCHED_IDLE exist [Aurelien Jarno] +docs: + - add missing commands/projects to AUTHORS file [Karel Zak] + - add v2.16 ReleaseNotes [Karel Zak] + - refresh TODO list [Karel Zak] + - remove example.files/rc[.local] [Karel Zak] + - remove obsolete information from fstab example [Karel Zak] + - update AUTHORS file [Karel Zak] + - update v2.16 ReleaseNotes [Karel Zak] + - update v2.16-ReleaseNotes [Karel Zak] +fdisk: + - (and cfdisk) fix to be consistent about maximum heads [Chris Webb] + - add simple test for doslabel stuff [Zdenek Behan] +hwclock: + - fix mismatched popen/fclose. [John Keeping] +include: + - clean up _PATH_DEV_* macros [Karel Zak] + - fix _PATH_DEV [Karel Zak] +ionice: + - Allow setting the none class [Jakob Unterwurzacher] +ldattach: + - add N_PPS support [Tilman Schmidt] +libblkid: + - add device-mapper snapshot cow device probe [Milan Broz] + - add install-hook for libuuid.[a,so] devel files [Karel Zak] + - add stdarg.h to blkidP.h [Karel Zak] + - blkid_do_safeprobe() has to be tolerant to RAIDs [Karel Zak] + - cleanup debug messages and return codes in blkid_do_probe() [Karel Zak] + - don't require udev symlinks verification for non-root users [Karel Zak] + - fix "hangs forever with partition type mdraid" [Karel Zak] + - fix #ifdefs readability [Karel Zak] + - fix $libdir in blkid.pc [Karel Zak] + - fix LVM1 probe [Milan Broz] + - fix reiserfs name [Karel Zak] + - make libuuid optional [Karel Zak] + - move to misc-utils/ directory [Karel Zak] + - update man page [Karel Zak] +libuuid: + - add --disable-libuuid and LIBUUID_VERSION [Karel Zak] + - add .gitignore [Karel Zak] + - add info about u-l-ng to man pages [Karel Zak] + - add install-hook for libuuid.[a,so] devel files [Karel Zak] + - Don't run uuidd if it would fail due to permission problems [Theodore Ts'o] + - fix $libdir in uuid.pc [Karel Zak] + - fix parallel building [Karel Zak] + - generate uuid_generate_{random,time}.3 man page links [Karel Zak] + - import UUID library from e2fsprogs [Karel Zak] + - Make sure fd's 0, 1, and 2 are valid before exec'ing uuidd [Theodore Ts'o] + - move clock state file from /var/lib to /var/run [Karel Zak] +libuuid, uuidd: + - Avoid infinite loop while reading from the socket fd [Theodore Ts'o] +losetup: + - add --set-capacity [Karel Zak] + - fix return codes of functions arounf is_associated() [Karel Zak] + - handle symlinks in /dev/loop/ [Mike Frysinger] + - suggest to use modprobe rather than insmod in losetup.8 [Karel Zak] +lscpu: + - fix cpuid code on x86/PIC [Mike Frysinger] +mount: + - (and fsck) remove libvolume_id support [Karel Zak] + - a little clean up info about loopdevs in man page [Karel Zak] + - add ext4 to mount.8 [Karel Zak] + - add ext4 to the list of filesystems in mount.8 [Karel Zak] + - add info about obsolete vfat options to mount.8 [Karel Zak] + - allow loop suid umount [Kay Sievers] + - cleanup notes about -l option in mount.8 [Karel Zak] + - fix undefined reference to `security_get_initial_context' [Karel Zak] + - move MS_{PROPAGATION,BIND,MOVE} detection [Karel Zak] + - use "none" fstype for MS_PROPAGATION mounts [Karel Zak] + - use TAG parsing function from libblkid [Karel Zak] + - when a remount to rw fails, quit and return an error [Valerie Aurora] +po: + - fix typo in French translation [Olivier Blin] + - merge changes [Karel Zak] + - refresh POTFILES.in [Karel Zak] + - update cs.po (from translationproject.org) [Petr Pisar] + - update fi.po (from translationproject.org) [Lauri Nurmi] + - update fr.po (from translationproject.org) [Nicolas Provost] + - update vi.po (from translationproject.org) [Clytie Siddall] +raw: + - Use the RAW_SETBIND ioctl without stat'ing the raw# file [Jeff Mahoney] + - undeprecate raw [Karel Zak] +switch_root: + - add man page [Karel Zak] + - add subroot support [Daniel Drake] + - clean up argv[] usage, add -h and -V [Karel Zak] + - do recursiveRemove after our root is moved to avoid races. [Peter Jones] + - fix coding style [Karel Zak] + - fork before cleaning up the filesystem. [Peter Jones] + - new command [Karel Zak] + - rewrite to use fstatat() and unlinkat() [Karel Zak] + - use err.h, clean up return codes [Karel Zak] + - use file descriptor instead of path for recursiveRemove() [Peter Jones] + - use snprintf() rather tan str{cpy,cat}() [Karel Zak] +tests: + - add functions for work withdisk images [Karel Zak] + - add mdraid libblkid test [Karel Zak] + - don't run some mount tests for non-root users [Karel Zak] + - fix 'delete extended partition' checksum [Karel Zak] + - fix reiserfs test [Karel Zak] + - fix script that creates lscpu dumps [Karel Zak] + - move lscpu /proc and /sys dumps to tarballs [Karel Zak] + - remove broken Xen dumps for lscpu [Karel Zak] +umount: + - clean up help output [Karel Zak] +uuidd: + - Avoid closing the server socket when calling create_daemon() [Theodore Ts'o] + - fix $PIDFILE in uuidd.rc [Karel Zak] + - init /var/run/uuidd, add option for on-demand mode to .rc file [Karel Zak] + - move uuidd files from /var/lib/libuuid to /var/run/uuidd [Karel Zak] + - move uuidd.rc to misc-utils directory [Karel Zak] + - new command (UUID daemon from e2fsprogs) [Karel Zak] +uuidgen: + - new command (from e2fsprogs) [Karel Zak] diff --git a/Documentation/releases/v2.17-ReleaseNotes b/Documentation/releases/v2.17-ReleaseNotes new file mode 100644 index 0000000..4988b4f --- /dev/null +++ b/Documentation/releases/v2.17-ReleaseNotes @@ -0,0 +1,526 @@ +Util-linux-ng 2.17 Release Notes (08-Jan-2010) +============================================== + +Release highlights +------------------ + +fallocate: + - this NEW COMMAND is a command line interface to fallocate + Linux syscall and allows to preallocate blocks to a file. + +unshare + - this NEW COMMAND is a command line interface to unshare Linux syscall + and allows to run program with some namespaces unshared from parent. + +wipefs + - this NEW COMMAND is based on libblkid and allows to remove filesystem + or RAID signatures from a device. + +libblkid: + - libblkid allows to gather information about block device topology, + currently supported methods are: + + * ioctl - supported since kernel 2.6.32 + * sysfs - supported since kernel 2.6.31 + * fallback for DM, MD, LVM and EVMS on old kernels (base on code + from xfsprogs/libdisk) + + The topology support is mostly designed for mkfs programs or partitioning + tools (already used in mkfs.xfs, mkex2fs, libparted and fdisk) + + - libblkid supports partition tables parsing (currently supported are + aix, bsd, dos, mac, gpt, minix, sgi, solaris, sun and unixware). This + functionality is designed for mkfs programs, DeviceKits, [k]partx or so. + + - libblkid API documentation is available at + http://ftp.kernel.org/pub/linux/utils/util-linux/libblkid-docs/ + +blockdev: + - supports all new topology ioctls + +fdisk: + - the fdisk command aligns newly created partitions to minimum_io_size + boundary ("minimum_io_size" is physical sector size or stripe chunk + size on RAIDs). + + - the fdisk command supports disks with alignment_offset now. + + +Stable maintenance releases between v2.16 and v2.17 +--------------------------------------------------- + +util-linux-ng 2.16.1 [07-Sep-2009] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.16/v2.16.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.16/v2.16.1-ChangeLog + +util-linux-ng 2.16.2 [30-Nov-2009] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.16/v2.16.2-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.16/v2.16.2-ChangeLog + + +ChangeLog between v2.16 and v2.17 +--------------------------------- + + For more details see ChangeLog files at: + https://www.kernel.org/pub/linux/utils/util-linux/v2.17/ + +addpart: + - addpart.8 formatting [Peter Breitenlohner] +blkid: + - add ID_FS_AMBIVALENT for udev output [Karel Zak] + - add pretty output, document -L incompatibility with e2fsprogs [Karel Zak] + - allow to use -s for low-level probing (-p mode) [Karel Zak] +blockdev: + - add support for uint and ushort ioctls [Karel Zak] + - add topology ioctls support [Karel Zak] + - blockdev.8 formatting [Peter Breitenlohner] + - fix topology ioctls [Karel Zak] + - refactoring (better commands definition) [Karel Zak] + - use c.h [Karel Zak] +build-sys: + - add --disable-makeinstall-setuid [Karel Zak] + - add HAVE_LIBBLKID_INTERNAL [Karel Zak] + - check for pkg-config before gtk-doc [Karel Zak] + - check for union semun instead of using _SEM_SEMUN_UNDEFINED [Guillem Jover] + - clean up gtk-doc stuff [Karel Zak] + - clean up gtk-doc usage [Karel Zak] + - cleanup --disable-{fallocate,pivot_root,unshare} [Karel Zak] + - cleanup AM_CFLAGS usage [Karel Zak] + - cleanup static building [Karel Zak] + - detect if const is available [Guillem Jover] + - detect if volatile is available [Guillem Jover] + - don't distribute generated *.pc files [Karel Zak] + - don't distribute generated blkid.h [Karel Zak] + - enable silent rules if automake >= 1.11 [Guillem Jover] + - fix (official) gtk-doc.make [Karel Zak] + - fix BUILD_PIVOT_ROOT condition [Karel Zak] + - fix blkid CFLAGS in fdisk/Makefile.am [Karel Zak] + - fix out-of-source build [Karel Zak] + - release++ (v2.17-rc1) [Karel Zak] + - release++ (v2.17-rc2) [Karel Zak] + - release++ (v2.17-rc3) [Karel Zak] + - remove LT_STATIC_LDFLAGS [Karel Zak] + - remove gtkdocize from autogen.sh [Karel Zak] + - remove obsolete --with-fsprobe from distcheck flags [Karel Zak] + - rewrite TLS detection [Karel Zak] +cal: + - cal.1 formatting [Peter Breitenlohner] + - fix (harmless) typo [Peter Breitenlohner] + - fix broken computation for Sep 1752 [Peter Breitenlohner] + - remove obsolete include [Guillem Jover] + - use c.h [Karel Zak] +cfdisk: + - cfdisk.8 formatting [Peter Breitenlohner] + - more key alternatives [Jan Sarenik] +chfn: + - chfn.1 formatting [Peter Breitenlohner] +chrt: + - use c.h [Karel Zak] +chsh: + - chsh.1 formatting [Peter Breitenlohner] +ctrlaltdel: + - ctrlaltdel.8 formatting [Peter Breitenlohner] +cytune: + - cytune.8 missing description of `-S', formatting [Peter Breitenlohner] +ddate: + - ddate.1 formatting [Peter Breitenlohner] +delpart: + - delpart.8 formatting [Peter Breitenlohner] +dmesg: + - add -r to help output [Karel Zak] + - dmesg.1 formatting [Peter Breitenlohner] + - fix typo in man page [Ken Kopin] +docs: + - README width and language correction [Jan Sarenik] + - add 'unshare' and 'wipefs' to AUTHORS [Karel Zak] + - add LGPLv2+ to list of licenses [Karel Zak] + - add ngettext() into TODO file [Karel Zak] + - add v2.17 ReleaseNotes [Karel Zak] + - update "The Perfect Patch" URL [Karel Zak] + - update AUTHORS file [Karel Zak] + - update TODO [Karel Zak] + - update TODO file [Karel Zak] + - update TODO list [Karel Zak] + - update v2.17 ReleaseNotes [Karel Zak] +elvtune: + - elvtune.8 formatting [Peter Breitenlohner] +fallocate: + - check for ERANGE errors [Karel Zak] + - new command [Karel Zak, Eric Sandeen] +fdformat: + - fdformat.8 formatting [Peter Breitenlohner] + - fix memory leak in verify_disk() [Cristian Rodríguez] +fdisk: + - add basic routines for LBA alignment [Karel Zak] + - add regression test listing empty/nonsense images [Zdenek Behan] + - align end of partition when defined by +size{K,M,G} [Karel Zak] + - check for partition boundary [Karel Zak] + - fdisk.8 formatting [Peter Breitenlohner] + - fix strict-aliasing bugs [Karel Zak] + - offer aligned first sector [Karel Zak] + - print info and recommendations about alignment [Karel Zak] + - read topology info from libblkid [Karel Zak] + - sgi label - remove duplicate swab16swab[16,32]() definitions [Karel Zak] + - sleep-after-sync and fsync usage [Karel Zak] + - use c.h [Karel Zak] + - use minimal_io_size for the first partition [Karel Zak] +findfs: + - fix typo in findfs.8 [Karel Zak] +flock: + - fix hang when parent ignores SIGCHLD [Mike Frysinger] +fsck: + - document fsck behavior wrt nofail option and fstype 'auto' [Ludwig Nussel] + - fsck.8 formatting [Peter Breitenlohner] + - honor nofail option in fsck [Ludwig Nussel] +fsck.minix: + - fix broken zone checking [Karel Zak] + - fix strict-aliasing bugs [Karel Zak] + - fsck.minix.8 formatting [Peter Breitenlohner] +fstab: + - fstab.5 formatting [Peter Breitenlohner] +getopt: + - getopt.1 formatting [Peter Breitenlohner] +hexdump: + - bug in hexdump when offset == file length [Américo Wang] + - hexdump.1 erroneous .Nm "" [Peter Breitenlohner] +hwclock: + - do not access hardware clock when using --systz [Scott James Remnant] + - hwclock.8 formatting [Peter Breitenlohner] + - set kernel timezone with --systz --utc [Scott James Remnant] + - use c.h [Karel Zak] + - use time limit for KDGHWCLK busy wait [Karel Zak] +include: + - add c.h with fundamental C definitions [Karel Zak] + - use c.h in canonicalize.h [Karel Zak] +initctl: + - fix strict-aliasing bugs [Karel Zak] + - initctl.8 formatting [Peter Breitenlohner] +ionice: + - add a note about none class and CFQ [Karel Zak] + - ionice.1 formatting [Peter Breitenlohner] +ipcmk: + - ipcmk.1 formatting [Peter Breitenlohner] +ipcrm: + - ipcrm.1 formatting [Peter Breitenlohner] +ipcs: + - ipcs.1 formatting [Peter Breitenlohner] + - use __GLIBC__ instead of obsolete __GNU_LIBRARY__ [Guillem Jover] +isosize: + - isosize.8 formatting [Peter Breitenlohner] +kill: + - kill.1 formatting [Peter Breitenlohner] + - use c.h [Karel Zak] +last: + - fix utmp.ut_time usage [Karel Zak] + - last.1 formatting [Peter Breitenlohner] +ldattach: + - ldattach.8 formatting [Peter Breitenlohner] + - use c.h [Karel Zak] +lib: + - add a generic crc32() [Karel Zak] + - bug (typo) in function MD5Final() [Karel Zak] + - fix file descriptor leak in is_mounted() [Theodore Ts'o] + - fix lib/Makefile.am (remove pttype.c) [Karel Zak] + - import whole ismounted.c code from e2fsprogs [Karel Zak] + - remove pttype.c [Karel Zak] +libblkid: + - DRBD support for blkid [Bastian Friedrich] + - add *.ko.gz support to modules.dep parser [Karel Zak] + - add AIX partitions support [Karel Zak] + - add BLKID_SUBLKS_* flags [Karel Zak] + - add BLKID_{VERSION,DATE} to blkid.h [Karel Zak] + - add BSD partitions support [Karel Zak] + - add DM topology support (for old kernels) [Karel Zak] + - add EFI GPT partitions support [Karel Zak] + - add EVMS topology support (for old kernels) [Karel Zak] + - add LVM topology support (for old kernels) [Karel Zak] + - add MAC partitions support [Karel Zak] + - add MD topology support (for old kernels) [Karel Zak] + - add MINIX partitions support [Karel Zak] + - add MS-DOS partitions support [Karel Zak] + - add SGI partitions support [Karel Zak] + - add SOLARIS-X86 partitions support [Karel Zak] + - add SUN partitions support [Karel Zak] + - add UBI volume support [Corentin Chary] + - add UBIFS support [Corentin Chary] + - add UNIXWARE partitions support [Karel Zak] + - add a probe for bfs [Christoph Hellwig] + - add blkid_devno_to_wholedisk() [Karel Zak] + - add blkid_driver_has_major() [Karel Zak] + - add blkid_new_probe_from_filename() [Karel Zak] + - add blkid_partition_get_type_string() [Karel Zak] + - add blkid_probe_get_{size,sectorsize,devno} [Karel Zak] + - add blkit_[un]ref() to TODO [Karel Zak] + - add chain structs [Karel Zak] + - add functions for chain tags [Karel Zak] + - add generic filter functions [Karel Zak] + - add generic function for binary data [Karel Zak] + - add missing comments [Karel Zak] + - add missing comments to probe.c [Karel Zak] + - add missing packed attributes [Karel Zak] + - add mkfs sample [Karel Zak] + - add note about UUID_SUB, increment number of superblock values [Karel Zak] + - add partitions filter routines [Karel Zak] + - add partitions parsing support [Karel Zak] + - add partitions sample [Karel Zak] + - add private blkid_topology_set_*() functions [Karel Zak] + - add samples/topology.c [Karel Zak] + - add sector size funcs to blkid.h.in [Karel Zak] + - add superblocks chain [Karel Zak] + - add superblocks filter functions [Karel Zak] + - add superblocks.c sample [Karel Zak] + - add support for SBMAGIC and SBMAGIC_OFFSET [Karel Zak] + - add support for VMFS (VMware File System) [Mike Hommey] + - add support for topology ioctls [Karel Zak] + - add test cases for VMFS [Mike Hommey] + - add topology support [Karel Zak] + - allow linking with uClibc [Daniel Mierswa] + - allow to change dimension of probing area [Karel Zak] + - allow to read in sectors [Karel Zak] + - allows more probing methods for topology chain [Karel Zak] + - announce Joliet extension [Maxim Levitsky] + - cleanup blkid_probe_set_device() [Karel Zak] + - cleanup topology fallback [Karel Zak] + - convert GPT partition LBA to 512-byte sectors [Karel Zak] + - cosmetic change in topology sample [Karel Zak] + - create a generic blkid_encode_to_utf8() [Karel Zak] + - create a generic blkid_unparse_uuid() [Karel Zak] + - does not return useless binary data [Karel Zak] + - don't return empty LABELs [Karel Zak] + - don't scan private /dev/.udev directory [Karel Zak] + - fix Adaptec RAID detection [Karel Zak] + - fix FALSE definition [Karel Zak] + - fix FAT super block definition [Lawrence Rust] + - fix NTFS non-ASCII labels [Karel Zak] + - fix UFS detection [Karel Zak] + - fix blkid_devno_to_wholedisk() [Karel Zak] + - fix blkid_do_probe() to work properly with chains [Karel Zak] + - fix blkid_fstatat() code [Karel Zak] + - fix blkid_probe_set_utf8label() call for Joliet [Karel Zak] + - fix buffer overflow in blkid_encode_string() [Florian Zumbiehl] + - fix cache->probe memory leak [Karel Zak] + - fix ext2 detection on systems with ext4 only [Karel Zak] + - fix gcc warning (warn_unused_result) [Karel Zak] + - fix highpoint37x detection [Karel Zak] + - fix non-magic FAT detection [Karel Zak] + - fix probing for binary interface [Karel Zak] + - fix segfault in blkid_do_probe() [Karel Zak] + - fix the default cache file path [Karel Zak] + - fix topology information values [Eric Sandeen] + - fix typo (swsupend -> swsuspend) [Karel Zak] + - fix typo s/Hihg/High/ [Jim Meyering] + - fix warning message in mkfs sample [Karel Zak] + - gtkdocize (API docs generated by gtk-docs) [Karel Zak] + - minor changes to dm topology code [Karel Zak] + - minor changes to samples [Karel Zak] + - minor fix in topology sample [Karel Zak] + - move FS/raid stuff to superblocks directory [Karel Zak] + - move blkid_known_fstype() to superblocks.c [Karel Zak] + - move filter macros to header file [Karel Zak] + - prefer ISO9660 PVD Label to Joliet Label [Karel Zak] + - properly reset position in probing chains [Karel Zak] + - refresh blkid.{h,sym} [Karel Zak] + - remove duplicate debug message [Karel Zak] + - remove superblock functions from probe.c [Karel Zak] + - rename highpoint RAIDs to hpt{37,45}x_raid_member [Karel Zak] + - return first detected crypto device [Scott James Remnant] + - topology - add logical and physical sector size [Karel Zak] + - topology - ignore non-blockdevs [Karel Zak] + - trim tailing whitespace from unicode LABELs [Karel Zak] + - update docs/.gitignore [Karel Zak] + - use BLKSSZGET for GPT sectors [Karel Zak] + - use blkid_new_probe_from_filename() in docs [Karel Zak] + - use c.h [Karel Zak] + - use c.h in samples [Karel Zak] + - use chains in blkid_do_{safe,full,}_probe() [Karel Zak] + - use chains in prober (de)initialization [Karel Zak] + - use fstatat(), improve readdir() usage [Karel Zak] + - use private {lookup,get}_value functions [Karel Zak] + - use superblock filter functions [Karel Zak] + - use superblocks.h [Karel Zak] + - use the new API in whole u-l-ng [Karel Zak] +libuuid: + - remove .UE macro from libuuid man pages. [Milan Broz] +line: + - remove deprecated #ident directive [Karel Zak] +losetup: + - losetup.8 formatting [Peter Breitenlohner] + - remove unused macro [Karel Zak] +lscpu: + - add {32,64}-bit CPU modes detection [Karel Zak] + - lscpu.1 formatting [Peter Breitenlohner] +mcookie: + - mcookie.1 formatting [Peter Breitenlohner] +mesg: + - mesg.1 formatting [Peter Breitenlohner] +mkfs: + - mkfs.8 incomplete sentence and formatting [Peter Breitenlohner] +mkfs.bfs: + - mkfs.bfs.8 formatting [Peter Breitenlohner] +mkfs.cramfs: + - fix gcc warning (incompatible pointer type) [Karel Zak] +mkfs.minix: + - fix strict-aliasing bugs [Karel Zak] + - mkfs.minix.8 formatting [Peter Breitenlohner] +mkswap: + - fix memory leaks, cleanup check_blocks() [Karel Zak] + - mkswap.8 formatting [Peter Breitenlohner] + - restore device argument in mkswap.8 synopsis [Peter Breitenlohner] + - unbreak -c ("check") option. [Peter De Wachter] + - use libblkid to detect PT [Karel Zak] +more: + - limited line buffer length results in corrupted UTF-8 text [Karel Zak] + - more.1 formatting [Peter Breitenlohner] +mount: + - add --no-canonicalize option [Karel Zak] + - add a note about /dev/disk/by-* to mount.8 [Karel Zak] + - add a note about bind-dir remounts [Karel Zak] + - add info about ext{3,4} barriers to mount.8 [Karel Zak] + - add long options to mount.8 [Karel Zak] + - add squashfs to mount.8 [Karel Zak] + - add ubifs to the mount.8 man page [Sebastian Andrzej Siewior] + - and libblkid covert /dev/dm-N to /dev/mapper/ [Karel Zak] + - better --move description [Karel Zak] + - check for unsuccessful read-only bind mounts [Karel Zak] + - disable --no-canonicalize for non-root users [Karel Zak] + - document changed semantics of tmpfs size option in mount.8 [kevin.granade@gmail.com] + - fix mount.8, xfs attr2 is enabled by default [Karel Zak] + - fix reference to samba-client in mount.8 [Karel Zak] + - fix typo in mount.8 [Karel Zak] + - mention mtab for single mount point mount in mount.8 [Peter Volkov] + - more explicitly explain 'strictatime' in mount.8 [Karel Zak] + - more verbose "mount only root can do that" message [Karel Zak] + - mount.8 formatting [Peter Breitenlohner] + - move info about devices to the top of mount.8 [Karel Zak] + - update list of pseudo filesystems [Karel Zak] +namei: + - better mount points detection [Karel Zak] + - fix alone symlink evaluation [Karel Zak] + - gater information about / (root) [Karel Zak] + - namei.1 formatting [Peter Breitenlohner] + - use c.h [Karel Zak] +newgrp: + - newgrp.1 formatting [Peter Breitenlohner] + - use c.h, remove tailing whitespace [Karel Zak] +partx: + - partx.8 formatting [Peter Breitenlohner] + - use c.h [Karel Zak] + - work properly with 512 sectors (dos PT) [Karel Zak] +pg: + - command enters infinite loop [Mike Frysinger] + - compiler warning with NLS disabled [Peter Breitenlohner] + - pg.1 formatting [Peter Breitenlohner] +pivot_root: + - pivot_root.8 formatting [Peter Breitenlohner] +po: + - fix grammar glitch in german translation [Hendrik Lönngren] + - fix msgid bugs [Karel Zak] + - merge changes [Karel Zak] + - update POTFILES.in [Karel Zak] + - update cs.po (from translationproject.org) [Petr Pisar] + - update eu.po (from translationproject.org) [Mikel Olasagasti Uranga] + - update eu.po (from translationproject.org) [Mikel Olasagasti] + - update fi.po (from translationproject.org) [Lauri Nurmi] + - update fr.po (from translationproject.org) [Nicolas Provost] + - update id.po (from translationproject.org) [Arif E. Nugroho] + - update ja.po (from translationproject.org) [Makoto Kato] + - update pl.po (from translationproject.org) [Jakub Bogusz] + - update po/POTFILES.in [Karel Zak] + - update vi.po (from translationproject.org) [Clytie Siddall] + - update zh_CN.po (from translationproject.org) [Ray Wang] +rdev: + - rdev.8 formatting [Peter Breitenlohner] +readprofile: + - readprofile.1 formatting [Peter Breitenlohner] +rename: + - rename.1 formatting [Peter Breitenlohner] +renice: + - renice.1 formatting [Peter Breitenlohner] +reset: + - reset.1 formatting [Peter Breitenlohner] +rtcwake: + - add S5 support [Karel Zak] + - ignore the tm_isdst field returned from the RTC [Paul Fox] + - rtcwake.8 formatting [Peter Breitenlohner] +scriptreplay: + - fix typo in error message [Karel Zak] + - scriptreplay.1 formatting [Peter Breitenlohner] +setarch: + - setarch.8 formatting [Peter Breitenlohner] +setsid: + - setsid.1 formatting [Peter Breitenlohner] +setterm: + - setterm.1 formatting [Peter Breitenlohner] + - use c.h, remove tailing whitespace [Karel Zak] +sfdisk: + - confused about disk size [Karel Zak] + - dump has to be $LANG insensitive [Karel Zak] + - sfdisk.8 formatting [Peter Breitenlohner] + - use c.h, remove obsolete #ifdefs [Karel Zak] +shutdown: + - shutdown.8 formatting [Peter Breitenlohner] +simpleinit: + - simpleinit.8 formatting [Peter Breitenlohner] +swapon: + - fix typo on swapon.8 manpage [Florentin Duneau] + - handle <=linux-2.6.19 bug in /proc/swaps [Mike Frysinger] + - more robust progname probing [Karel Zak] + - swapon.8 formatting [Peter Breitenlohner] +switch_root: + - add note about subroots to switch_root.8 [Karel Zak] + - remove TIOCSCTTY and setsid() [Karel Zak] + - switch_root.8 formatting [Peter Breitenlohner] +tailf: + - fix printf format [Mike Frysinger] + - report inotify_add_watch() problems [Karel Zak] +tests: + - add BFS libblkid regression test [Karel Zak] + - add NTFS blkid test [Karel Zak] + - add UBIFS test image to blkid test suite [Corentin Chary] + - add UFS test image for libblkid [Karel Zak] + - add VIA RAID test image for libblkid [Karel Zak] + - add adaptec RAID test [Karel Zak] + - add blkid regression tests for ISO9660 [Karel Zak] + - add hpt37x RAID test [Karel Zak] + - add hpt45x RAID test [Karel Zak] + - add isw RAID test [Karel Zak] + - add jmicron RAID test [Karel Zak] + - add lsi RAID test [Karel Zak] + - add nvidia RAID test [Karel Zak] + - add partitions probing test [Karel Zak] + - add promise RAID test [Karel Zak] + - add silicon RAID test [Karel Zak] + - fdisk doslabel test also checks changing partition type [Zdenek Behan] + - fdisk doslabel test also checks setting partition active [Zdenek Behan] + - refresh GPT regression test [Karel Zak] + - refresh lscpu tests [Karel Zak] + - remove vol_id from tests [Karel Zak] + - rename blkid/images to blkid/images-fs [Karel Zak] + - swapon workaround for libtool wrapper [Karel Zak] + - test for basic functionality of sun labels [Zdenek Behan] + - update fsck.ismounted test [Karel Zak] +tunelp: + - tunelp.8 formatting [Peter Breitenlohner] +ul: + - ul.1 erroneous .SH instead of .Sh [Peter Breitenlohner] +umount: + - add --no-canonicalize [Karel Zak] + - umount.8 command line for umount helpers, formatting [Peter Breitenlohner] +unshare: + - new command [Mikhail Gusarov] +uuidd: + - uuidd.8 formatting [Peter Breitenlohner] +uuidgen: + - uuidgen.1 formatting [Peter Breitenlohner] +vipw: + - vipw.8 remove erroneous empty line, formatting [Peter Breitenlohner] +whereis: + - whereis.1 formatting [Peter Breitenlohner] +wipefs: + - fix coding style [Karel Zak] + - new command [Karel Zak] + - remove obsolete comment [Karel Zak] +write: + - write.1 formatting [Peter Breitenlohner] diff --git a/Documentation/releases/v2.18-ReleaseNotes b/Documentation/releases/v2.18-ReleaseNotes new file mode 100644 index 0000000..f8a31d4 --- /dev/null +++ b/Documentation/releases/v2.18-ReleaseNotes @@ -0,0 +1,468 @@ +Util-linux-ng 2.18 Release Notes +================================ + +The util-linux-ng package does not contain rdev(8), ramsize(8), +vidmode(8) and rootflags(8) anymore. + +The fdisk(8) command does not use DOS-compatible mode and cylinders as display +units by default. The old deprecated DOS behavior could be enabled by 'c' and +'u' fdisk commands or from command line by '-c=dos -u=cylinders' options. + +Release highlights +------------------ + +libmount: + - this NEW LIBRARY is designed to be used in low-level utils like + mount(8) and /sbin/mount. helpers as well as in some other + projects. + + - the library API is still officially unstable. The library provides + fstab, mtab and mountinfo parser, routines for work with parsed + data and mount options, mtab locking, etc. The high-level API for + mount(2) is planned for the next major release. For more details see: + http://thread.gmane.org/gmane.linux.utilities.util-linux/3239 + + - the utils like mount(8) or umount(8) are not linked with the library + yet. This change is planned for util-linux-ng-2.19. + +findmnt(8): + - this NEW COMMAND is a command line interface to the libmount library + for work with mountinfo, fstab and mtab files + +fsfreeze(8): + - this NEW COMMAND is very simple wrapper around FIFREEZE/FITHAW ioctls + +swaplabel(8): + - this NEW COMMAND allows to change swaparea UUID and label + +blkid(8): + - supports new command line option "-i" to print I/O Limits + + - supports new command line option "-n" to restrict probing functions to + defined list of superblock types (names). + + - returns details from partition table (type, flags, uuid, ...) + +chrt(1): + - supports new command line option "-R/--reset-on-fork" to enable + SCHED_RESET_ON_FORK flag + +fdisk(8): + - supports new command line option "-c" to switch off DOS mode + - uses 1MiB offset for the first partition + (all these changes are already in the release 2.17.2) + +hwclock(8): + - supports new command line option "--predict" to predict what the RTC will + read at time given by the --date option based on the adjtime file. + +ldattach(8): + - supports new command line option "-i/--iflag" to sets the specified bits + in the c_iflag word of the serial line. + +fallocate(1), losetup(8) and mount(8): + - the options --offset, --length or --sizelimit support suffixes + (MiB, GiB, ...) and hex numbers + +umount(8): + - supports new command line option "--fake" to avoid umount(2) syscall + + +Stable maintenance releases between v2.17 and v2.18 +--------------------------------------------------- + +util-linux-ng 2.17.1 [22-Feb-2010] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.17/v2.17.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.17/v2.17.1-ChangeLog + +util-linux-ng 2.17.2 [22-Mar-2010] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.17/v2.17.2-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.17/v2.17.2-ChangeLog + + +Changes between v2.17 and v2.18 +------------------------------- + + For more details see ChangeLog files at: + https://www.kernel.org/pub/linux/utils/util-linux/v2.18/ + +addpart: + - use atoll() for parsing command line arguments [Thomas Fehr] +blkid: + - add \n to the "-o udev" output when probe more devices [Karel Zak] + - add 'export' output format [Karel Zak] + - add -i option to print I/O limits [Karel Zak] + - add -n option [Karel Zak] + - add newline when only one value is printed [Karel Zak] + - cleanup -u parsing [Karel Zak] + - cleanup man page [Karel Zak] + - encode PART_ENTRY_TYPE [Karel Zak] + - export ID_PART_ENTRY_* variables for udev [Karel Zak] + - fix #ifdef HAVE_TERMIO[S]_H [Karel Zak] + - fix blkid_probe_lookup_value() usage [Karel Zak] + - improve RAIDs and tiny devices probing [Karel Zak] + - probe for PT, don't probe for FS on small whole-disks [Karel Zak] + - remove _ENC from ID_PART_ENTRY_{NAME,TYPE} variables [Karel Zak] + - remove duplicate option from man page [Karel Zak] + - report open() errors in low-level probing [Karel Zak] + - support suffixes for -O and -S [Karel Zak] + - update man page/usage() [Karel Zak] +blockdev: + - reduce usage text width [Francesco Cosoleto] +build-sys: + - add missing tests for libuuid and libblkid [Karel Zak] + - cleanup lib{mount,blkid} building [Karel Zak] + - improved check for fallocate() [Yann Droneaud] + - minor changes for GNU/Hurd [Samuel Thibault] + - release++ (v2.18-rc1) [Karel Zak] + - release++ (v2.18-rc2) [Karel Zak] + - remove duplicate #includes [Karel Zak] + - replace ../ with $top_srcdir [Karel Zak] + - update include/Makefile.am [Karel Zak] + - use include/list.h [Karel Zak] +cal: + - factor out and update multibyte alignment code [Pádraig Brady] + - fix first day of the week calculation on BE systems [Karel Zak] + - remove unnecessary info from man page [Karel Zak] +cfdisk: + - fix warning implicit declaration of function ‘wcwidth’ [Karel Zak] + - set '[New]' as default item on menu for non allocated space instead of '[Help]'. [Francesco Cosoleto] + - set '[Quit]' as default menu item on first run instead of '[Bootable]'. [Francesco Cosoleto] + - support non-ascii characters in input [Karel Zak] + - use libblkid [Matthias König] +chrt: + - add --reset-on-fork [Karel Zak] + - add --verbose to man page, correct -V for --version, alphabetize [Benno Schulenberg] + - add support for SCHED_RESET_ON_FORK [Adrian Knoth] + - change two messages into four translatable sentences [Benno Schulenberg] + - slice help text into manageable chunks for translators [Benno Schulenberg] +docs: + - fix umount --fake note in ReleaseNotes [Karel Zak] + - update ReleaseNotes [Karel Zak] + - update AUTHORS file [Karel Zak] + - update TODO [Karel Zak] + - update TODO file [Karel Zak] + - update tests/README [Karel Zak] + - update v2.18 ReleaseNotes [Karel Zak] +fallocate: + - check for number of arguments [Karel Zak] + - support suffixes for --offset and --length [Karel Zak] +fdisk: + - add -c option (switch off DOS mode) [Karel Zak] + - cleanup alignment, default to 1MiB offset [Karel Zak] + - cleanup help, add -h option [Karel Zak] + - cleanup warnings [Karel Zak] + - correctly truncate and align translated partition names [Pádraig Brady] + - disable DOS mode and cylinders by default [Karel Zak] + - don't check alignment_offset against geometry [Karel Zak] + - don't include scsi.h [Karel Zak] + - don't use 1MiB grain on small devices [Karel Zak] + - extend -c and -u options to support old DOS stuff [Karel Zak] + - fallback for topology values [Karel Zak] + - fix 'p' output for sun label [Karel Zak] + - fix -b [Karel Zak] + - fix ALIGN_UP [Karel Zak] + - fix check_alignment() [Karel Zak] + - fix default first sector [Karel Zak] + - improve 'move begin of partition' command [Karel Zak] + - improve add partition dialog [Karel Zak] + - improve the description of -c and -u options on man page [Benno Schulenberg] + - remove erroneous argument from -u option in help text [Benno Schulenberg] + - replace bzero with memset [Jon Ringle] + - swap VTOC values for warning messages [Karel Zak] + - untangle the reporting of deprecated mode and unit [Benno Schulenberg] + - use "optimal I/O size" in warnings [Karel Zak] + - use 1MiB offset and grain always when possible [Karel Zak] + - use more elegant way to count and check alignment [Karel Zak] + - use optimal_io_size [Karel Zak] +findmnt: + - add man page [Karel Zak] + - add new command [Karel Zak] + - add tree support [Karel Zak] + - add {fs,vfs}-options columns [Karel Zak] + - don't swap source and target for tags [Karel Zak] + - minor coding style fixes [Karel Zak] + - move from /sbin to /bin [Karel Zak] + - rewrite to use lib/tt.c [Karel Zak] + - small change in usage() [Karel Zak] + - ungettextize the directions and fix spelling [Benno Schulenberg] +fsck: + - fix typo in fsck.8 [Francesco Cosoleto] +fsck/mkfs/mount: + - unify default search paths for helpers [Mike Frysinger] +fsfreeze: + - new command [Hajime Taira] +git: + - ignore index files generated by ctags and cscope [Petr Uzel] +hwclock: + - add --predict for predicting RTC reading at a given time [Timo Juhani Lindfors] +include: + - add min/max macros [Karel Zak] + - move shlibs/.../list.h to the include/ directory [Karel Zak] +ionice: + - fix typo [Pierre Hauweele] + - non-cryptic error message when ionice can't execvp [Ævar Arnfjörð Bjarmason] +ipcrm: + - remove redundant message in case of invalid option [Francesco Cosoleto] +ipcs: + - add missing "PIDs" to related shared memory header text [Francesco Cosoleto] + - advise translators a different output format [Francesco Cosoleto] + - get rid of colons from header strings for consistency [Francesco Cosoleto] + - reorganize help and usage texts [Francesco Cosoleto] +ldattach: + - add --iflag command line option [Tilman Schmidt] + - create a generic functions for name=value tables [Karel Zak] + - prints help to stdout [Karel Zak] +lib: + - add #ifndef around min() max() macros [Karel Zak] + - add fallback for libc (uClibc) without CPU_ALLOC [Karel Zak] + - add mangle.c for mtab (fstab or swaps) encoding [Karel Zak] + - add strtosize() function [Karel Zak] + - add tt.c (Tree and Table output) [Karel Zak] + - avoid compilation failure on rawhide [Jim Meyering] + - fix blkdev_find_size() [Karel Zak] + - remove unwanted debug messages [Karel Zak] + - tt.c don't print header for empty table [Karel Zak] + - tt.c - fix minimal width of column [Karel Zak] + - use fstat() as fallback in blkdev_get_size() [Karel Zak] +libblkid: + - Add initial support for BeFS detection [Jeroen Oortwijn] + - Add probing function for BeFS [Jeroen Oortwijn] + - add PART_ENTRY_{SCHEME,NUMBER} [Karel Zak] + - add blkid_openat(), cleanup blkid_fstatat() [Karel Zak] + - add blkid_partition_set_type() [Karel Zak] + - add blkid_partlist_get_table() [Karel Zak] + - add blkid_probe_all_removable() [Karel Zak] + - add blkid_probe_get_{offset,fd} functions [Karel Zak] + - add exFAT file system detection support [Andrew Nayenko] + - add generic functions for sysfs attributes [Karel Zak] + - add microsecond resolution for cache entries [Karel Zak] + - add minimal sizes for OCFS and GFS [Karel Zak] + - add mnt_iter_get_direction() [Karel Zak] + - add partial support for superblock binary API [Karel Zak] + - add paths and tags cache [Karel Zak] + - add sanity checks for FAT to DOS PT parser [Karel Zak] + - add support for PART_ENTRY_* values [Karel Zak] + - add support for partition flags/attributes [Karel Zak] + - add ultrix PT support [Karel Zak] + - avoid probing CDs for RAID [M.S.Colclough] + - call read() per FAT root dir entry [Karel Zak] + - cleanup fstat() usage [Karel Zak] + - cleanup some docs [Karel Zak] + - cleanup superblocks_safeprobe() [Karel Zak] + - cleanup usage of empty topology values [Karel Zak] + - disable read-ahead when probing device files [Linus Torvalds] + - don't call read() per FAT dir-entry on large disks [Karel Zak] + - don't gather PART_ENTRY_* values for binary interface [Karel Zak] + - don't probe for GPT and Unixware PT on floppies [Karel Zak] + - don't probe for nested PT on tiny disks (<=1.44MiB) [Karel Zak] + - don't return error on empty files [Karel Zak] + - don't use fstat() in blkid_get_dev_size() [Karel Zak] + - export functions to get whole-disk devno [Karel Zak] + - fix 'partno' usage [Karel Zak] + - fix LUKS version [Karel Zak] + - fix ZSF detection [Andreas Dilger] + - fix blkid_partlist_devno_to_partition() for extended partitions [Karel Zak] + - fix collision between RAID and PT probing [Karel Zak] + - fix display of device size [Karel Zak] + - fix infinite loop when probe chain bails out early [Colin Watson] + - fix readline usage [Karel Zak] + - fix segfault in drdb [Matthias König] + - fix some typos [Milan Broz] + - improbe DDF detection [Karel Zak] + - improve MD 0.90 detection [Karel Zak] + - improve MD 0.90.0 detection (use sb->size) [Karel Zak] + - improve MD 1.0 detection, add UUID_SUB [Karel Zak] + - improve Sun VTOC [Karel Zak] + - improve ZFS detection and add LABEL and UUID extraction [Andreas Dilger] + - minor fixes in befs.c [Karel Zak] + - more robust minix probing [Karel Zak] + - optimize UDF label reading [Karel Zak] + - prevent overflow in BeFS [Jeroen Oortwijn] + - probe for (non-linux) RAIDs on whole devices only [Karel Zak] + - read whole SB buffer (69kB) on large disks [Karel Zak] + - read() optimization for small devices [Karel Zak] + - remove "0x" prefix from DRBD UUID [Karel Zak] + - reset BLKID_TINY_DEV flag in blkid_probe_set_device [Pascal Terjan] + - reset superblocks result after error [Karel Zak] + - restrict RAID/FS proving for small devices (1.4MiB) [Karel Zak] + - rewrite blkid_probe_get_buffer() [Karel Zak] + - set correct offsets for TuxOnIce signature [Chow Loong Jin] + - set minimal size for jfs, reiser, swap and zfs [Karel Zak] + - support alignment_offset=-1 [Karel Zak] + - tiny change in debug output [Karel Zak] + - export magic strings from raids [Karel Zak] + - move getsize.c code to lib/ [Karel Zak] +libmount: + - add #warning libmount API is not stable yet! [Karel Zak] + - add basic dirs [Karel Zak] + - add basic utils [Karel Zak] + - add debug support [Karel Zak] + - add docs [Karel Zak] + - add fstab/mtab/mountinfo lookup routines [Karel Zak] + - add fstab/mtab/mountinfo parsing routines [Karel Zak] + - add list routines and generic iterator [Karel Zak] + - add mnt_cache_find_tag_value() [Karel Zak] + - add mnt_entry [Karel Zak] + - add mnt_match_{fstype,options} functions [Karel Zak] + - add mnt_optstr_* functions [Karel Zak] + - add mtab locking code [Karel Zak] + - add new debug messages [Karel Zak] + - add optls (options container) [Karel Zak] + - add support for userdata and work with VFS tree [Karel Zak] + - add test_version [Karel Zak] + - add version.c [Karel Zak] + - another Makefile.am fix [Karel Zak] + - cleanup cache flags and debug messages [Karel Zak] + - cleanup docs [Karel Zak] + - don't build tests by default [Karel Zak] + - export mnt_init_debug() [Karel Zak] + - fix Makefile.am [Karel Zak] + - fix mnt_fs_match_source() [Karel Zak] + - fix name of mnt_fs_get_*_optstr() [Karel Zak] + - fix some gtkdoc warnings [Karel Zak] + - merge vfs and fs options more carefully [Karel Zak] + - proper tests definition in Makefile.am [Karel Zak] + - read devno, ID and parent ID from /proc/self/mountinfo [Karel Zak] + - remove mnt_open_device() [Karel Zak] + - rename mnt_optls_iterate_options() [Karel Zak] + - update symbols table [Karel Zak] + - use mangle function from lib/ [Karel Zak] +logger: + - add note about 'kern' to the man page [Karel Zak] +login: + - check that after tty reopen we still work with a terminal [Karel Zak] + - don't link PAMed version with libcrypt [Karel Zak] + - use fd instead of pathname for update tty's owner and permissions [Yann Droneaud] +losetup: + - support suffixes and hex numbers for --offset and --sizelimit [Karel Zak] +lscpu: + - add CPU_EQUAL_S definition for old/obscure libc [Karel Zak] + - cleanup path_scanstr() [Karel Zak] + - cleanup used names [Karel Zak] + - fix CPU_EQUAL_S macro [Karel Zak] + - fix cpuid opcode detection [Henne Vogelsang] + - fix typo in lscpu.1 [Francesco Cosoleto] + - fix typo, "faild" to "failed" [Benno Schulenberg] + - gettextize "CPU(s)" [Francesco Cosoleto] + - improve --sysroot code [Karel Zak] + - replace LC_MESSAGES with LC_ALL in setlocate() [Francesco Cosoleto] + - use cpuset masks, read data for all CPUs [Karel Zak] +messages: + - gettextize a few skipped or forgotten ones [Benno Schulenberg] +mkswap: + - add a note that -p is uncecessary [Karel Zak] + - don't call blkdev_find_size() [Karel Zak] + - don't use too small user-specified page size [Karel Zak] + - fixed strtoll() usage [Yann Droneaud] + - more robust strtoull() usage [Karel Zak] + - move write_all() to include/writeall.h [Karel Zak] + - tweak the man page [Benno Schulenberg] + - use calloc(), remove obsolete v1 header usage [Karel Zak] + - zap bootbits on regular files [Karel Zak] +mount: + - add notes about -o remount,ro,bind to mount.8 [Karel Zak] + - advise users to use "modprobe", not "insmod" [Karel Zak] + - automatically detect and loop-mount regular files [Karel Zak] + - detect when kernel silently adds MS_RDONLY flag [Petr Uzel] + - don't create loopdev for MS_BIND [Karel Zak] + - fix coding style [Karel Zak] + - fix information about XFS log buffers in mount.8 [Christoph Hellwig] + - fix memory leak [Petr Uzel] + - fix typo in comment [Petr Uzel] + - fix typos in mount.8 [Petr Uzel] + - more explicitly explain fstab usage in mount.8 [Karel Zak] + - more robust offset= and sizelimit= parsing [Karel Zak] + - posix option of vfat is obsolete [Yoshihiro Takahashi] + - properly ignore comments in /etc/filesystems [Mike Frysinger] + - report ambivalent FS detection, improve brute force detection [Karel Zak] + - revert ugly ENOMEDIUM support [Karel Zak] + - support suffixes for offset= and sizelimit= [Karel Zak] + - update documentation about barrier mount options [Jan Kara] + - use %u for uid_t and gid_t [Karel Zak] + - use auto-loopdev for all known filesystems [Karel Zak] + - use unmangle/mangle() from lib [Karel Zak] + - warn users that mtab is read-only [Karel Zak] +namei: + - fix man page formatting [Vladimir Brednikov] +partx: + - do not add nonexistent partitions [Phillip Susi] + - fix infinite loop [Karel Zak] +po: + - merge changes [Karel Zak] + - update cs.po (from translationproject.org) [Petr Pisar] + - update es.po (from translationproject.org) [Santiago Vila Doncel] + - update eu.po (from translationproject.org) [Mikel Olasagasti Uranga] + - update id.po (from translationproject.org) [Arif E. Nugroho] + - update ja.po (from translationproject.org) [Makoto Kato] + - update list of files [Karel Zak] + - update nl.po (from translationproject.org) [Benno Schulenberg] + - update pl.po (from translationproject.org) [Jakub Bogusz] + - update vi.po (from translationproject.org) [Clytie Siddall] +rdev: + - remove this deprecated command [Karel Zak] +rtcwake: + - add --dry-run option [Karel Zak] + - add disable action for rtc alarm [Marek Otahal] + - add disable action to rtcwake man page [Marek Otahal] + - does miss the "off" option [Karel Zak] +script: + - optionally compile with libutempter to update utmp [Karel Zak] + - preserve child exit status [Karel Zak] +sfdisk: + - make sure writes make it to disk in write_partitions() [Bryn M. Reeves] +swaplabel: + - fix typo in man page [Karel Zak] + - new command [Jason Borden] +swapon: + - fix swapsize calculation [Karel Zak] + - move DELETED_SUFFIX to include/pathnames.h [Karel Zak] + - remove " (deleted)" from filenames from /proc/swaps [Karel Zak] + - use unmangle() for filenames from /proc/swaps [Karel Zak] +taskset: + - add NLS support, use err.h, cleanup [Karel Zak] + - move NR_CPUS determination to lib/cpuset.c [Karel Zak] + - move bitmap routines to lib/cpuset.c [Karel Zak] + - use libc based cpu_set_t [Karel Zak] +tests: + - add BeFS test image [Karel Zak] + - add blkid test for TuxOnIce [Karel Zak] + - add blkid tests for RAID1 [Karel Zak] + - add cpuset regression test [Karel Zak] + - add fdisk alignment tests [Karel Zak] + - add lscpu dump from Dell R710, 8-core Nehalem w/HT (RHEL 5.5) [Karel Zak] + - added tests against strtosize [Yann Droneaud] + - explicitly use --chunk and --metadata in MD test [Karel Zak] + - fix RAIDs tests [Karel Zak] + - fix and update old fdisk tests [Karel Zak] + - fix whitespaces [Karel Zak] + - mount cramfs read-only [Karel Zak] + - update FS test images [Karel Zak] + - update blkid test for raid1 [Karel Zak] + - update blkid/md-raid1-* tests [Karel Zak] + - update fdisk tests [Karel Zak] + - update ipcs/headers test [Francesco Cosoleto] + - update lscpu [Karel Zak] + - update lscpu test [Karel Zak] + - use POSIX locale [Yann Droneaud] +textual: + - fix typos [Karel Zak] + - fix typos, and rephrase some things for clarity [Benno Schulenberg] + - slightly improve two README files [Benno Schulenberg] +umount: + - add --fake option to umount(8) [Miklos Szeredi] + - do not sync() as the kernel does it by itself [Petr Uzel] +unshare: + - drop potential euid privileges before exec [Karel Zak] +uuidd: + - spell the plural of "UUID" consistently as "UUIDs" [Benno Schulenberg] +wipefs: + - cleanup usage() and man page [Karel Zak] + - fix license (GPL -> GPLv2+) [Karel Zak] + - fix mem usage [Karel Zak] + - fix memory leaks [Karel Zak] + - ignore devices with partition table [Karel Zak] + - print warning is PT detected [Karel Zak] + - support suffixes for --offset [Karel Zak] diff --git a/Documentation/releases/v2.19-ReleaseNotes b/Documentation/releases/v2.19-ReleaseNotes new file mode 100644 index 0000000..1d0c318 --- /dev/null +++ b/Documentation/releases/v2.19-ReleaseNotes @@ -0,0 +1,660 @@ +Util-linux 2.19 Release Notes (10-Feb-2011) +=========================================== + +The util-linux-ng project has been renamed back to util-linux. + +Release highlights +------------------ + +lsblk(8): + - this NEW COMMAND lists information about all or selected block devices in + tree-like format. + +partx(8): + - this command has been rewritten to use libblkid for partition tables + parsing. It supports aix, bsd, dos, gpt, mac, minix, sgi, solaris_x86, sun, + ultrix and unixware now. + + - supports new command line option "--show" to list partitions in new format + + - prints UUID and name for GPT and mac partitions + +findmnt(8): + - supports new command line option "--submounts" to list all submounts for + selected mountpoint(s) + +agetty(8): + - supports new command line options "-c" and "-s" to reuse already initialized + tty cflags and existing baud rate + +mount(8), umount(8): + - could be linked with libmount (--enable-libmount-mount) to manage userspace + mount options outside /etc/mtab on systems where the file is a symlink to + /proc/mounts. (EXPERIMENTAL) + +losetup(8), mount(8): + - uses /sys/dev/block//loop/backing_file rather than loopdev ioctls + (requires kernel >= 2.6.37) + +fsck(8): + - supports new command line option "-l" to lock whole-disk device by + exclusive flock(2). This option is recommended when more fsck(8) instances + are executed in the same time. + +rtcwake(8): + - supports new mode "show" to print the current RTC alarm time + +fstrim(8): + - this NEW COMMAND allows to discard unused blocks on a mounted filesystem + (wrapper for FITRIM ioctl) + +swapon(8): + - supports new options "discard" and "nofail" + +blkid(8): + - low-level probing (-p) returns "8" exit code for ambivalent probing results + +libmount: + - include file has been renamed from mount/mount.h to libmount/libmount.h + + +Changes between v2.18 and v2.19 +------------------------------- + + For more details see ChangeLog files at: + https://www.kernel.org/pub/linux/utils/util-linux/v2.19/ + +addpart: + - code consolidation [Karel Zak] +agetty: + - Use EXIT_* and add noreturn attribute [Marek Polacek] + - add -c to reuse cflags [Karel Zak] + - add -s to reuse existing baud rate [Karel Zak] + - fix -s option (baud rate setup) [Karel Zak] + - use ignore_result() or write(1, ...) [Karel Zak] + - use nl_langinfo() [Karel Zak] + - don't wipe CLOCAL flag [Karel Zak] +blkid: + - add new return code 8 for ambivalent low-level probing result [Karel Zak] + - add note about PART_ENTRY_ tags to blkid.8 [Karel Zak] + - don't print devname if nothing detected [Karel Zak] + - don't return PART_ENTRY_* if partition is empty [Karel Zak] + - dynamically allocate devicename array [Eric Sandeen] +blockdev: + - add BLKDISCARDZEROES [Karel Zak] + - fix typo in blockdev.8 [Karel Zak] + - sync man page with code [Karel Zak] +build-sys: + - add --enable-libmount-mount [Karel Zak] + - add mesg to .gitignore [Karel Zak] + - add missing header [Karel Zak] + - add rpmatch.h to Makefile.am [Karel Zak] + - check for loff_t, it may not exist [Fabian Groffen] + - check for paths.h [Fabian Groffen] + - cleanup autogen.sh [Karel Zak] + - drop shlibs/Makefile.am that only adds SUBDIRS [Diego Elio 'Flameeyes' Pettenò] + - drop the getsize test out of Makefile.am [Diego Elio 'Flameeyes' Pettenò] + - enable lsblk and libmount for Linux only [Karel Zak] + - explicitly check for slang.h [Karel Zak] + - fix lsblk building [Karel Zak] + - ignore generated ltmain.sh [Karel Zak] + - improve check for crypt [Fabian Groffen] + - link with socketlibs when necessary [Fabian Groffen] + - man aliases don't depend on original man page [Diego Elio 'Flameeyes' Pettenò] + - provide missing strnlen from strutils [Fabian Groffen] + - release++ (v2.19-rc1) [Karel Zak] + - release++ (v2.19-rc2) [Karel Zak] + - release++ (v2.19-rc3) [Karel Zak] + - remove generated po/POTFILES.in [Karel Zak] + - remove unnecessary header [Karel Zak] + - require automake 1.10 as gtk-doc requires it anyway [Diego Elio 'Flameeyes' Pettenò] + - shell syntax fix in autogen.sh [Sami Kerola] + - use WORDS_BIGENDIAN to determine platform byte-order [Fabian Groffen] + - use generated libtool-2 stuff [Karel Zak] + - use the silent-rules prefix when generating man pages. [Diego Elio 'Flameeyes' Pettenò] +cal: + - follow HAVE_LANGINFO [Karel Zak] + - use EXIT_* and program_invocation_short_name [Karel Zak] +cfdisk: + - close the program when terminal isn't present [Francesco Cosoleto] + - data type mismatch, and other, compiler warning fixes [Sami Kerola] + - don't use size of device based on cylinders [Karel Zak] + - fix --with-slang [Karel Zak] + - fix n+1 again [Karel Zak] + - fix n+1 bug in error message [Karel Zak] + - get_string not calculating correct limits [Karel Zak] + - search for ncursesw/ncurses.h [Mike Frysinger] +chfn: + - Use EXIT_* and err() [Marek Polacek] +chrt: + - Add noreturn attribute to show_usage() function [Marek Polacek] +chsh: + - don't suggest ypchsh [Karel Zak] + - use EXIT_* and err.h [Karel Zak] +col: + - use err.h and EXIT_* macros [Karel Zak] + - use xalloc for memory allocation [Davidlohr Bueso] +column: + - EOF handling bug [Sami Kerola] + - code readability improvements [Sami Kerola] + - data type mismatch compiler warning fixes [Sami Kerola] + - error messaging & exit codes [Sami Kerola] + - fix column.1 typo [Davidlohr Bueso] + - getopt_long and new help output [Sami Kerola] + - segfault on empty input [Karel Zak] + - update manual page to match column switches [Sami Kerola] +ctrlaltdel: + - use err() instead of fprintf() and exit() [Marek Polacek] +ddate: + - fix typo in ddate.1 [Davidlohr Bueso] + - revert man page typo [Karel Zak] +delpart: + - code consolidation [Karel Zak] +disk-utils: + - fix manpage typos [Davidlohr Bueso] +dmesg: + - fix memory leak in dmesg(1). [Davidlohr Bueso] + - use strtol_or_err instead of atoi [Davidlohr Bueso] +docs: + - add blkid --list-all to TODO [Karel Zak] + - add COPYING.lib* files [Karel Zak] + - add note about agetty to TODO [Karel Zak] + - add note about sfdisk to TODO [Karel Zak] + - add v2.19 ReleaseNotes [Karel Zak] + - correct spelling mistakes in DEPRECATED file [Jon Grant] + - fix typo [Davidlohr Bueso] + - fix typos in man pages [Karel Zak] + - make it easier to find mail list address [Alexander Shishkin] + - mark line(1) as deprecated [Karel Zak] + - remove ipc.texi (info with IPC API docs) [Karel Zak] + - update AUTHORS file [Karel Zak] + - update DEPRECATED file [Karel Zak] + - update ReleaseNotes [Karel Zak] + - update TODO file [Davidlohr Bueso] + - update TODO file [Karel Zak] + - update TODO [Karel Zak] + - update v2.19 ReleaseNotes [Karel Zak] + - use rpmatch() for sfdisk [Karel Zak] +fallocate: + - fix build failure with old linux headers [Mike Frysinger] + - fix typo [Karel Zak] +fdisk: + - add description for partition type 0x27 [Karel Zak] + - add exFAT to MBR partition type 0x7 [Jon Grant] + - don't keep internally device size in 512-byte sectors [Karel Zak] + - eliminate redundant call to open() [Markus Rinne] + - fix alignment check for non-512-byte logical sectors [Karel Zak] + - fix freespace boundaries calculation on SGI disklabel [Karel Zak] + - fix use of non portable type [François Revol] + - more meaningful error messages (use err.h) [Francesco Cosoleto] + - quit with a single CTRL-D, confirm if necessary [Francesco Cosoleto] + - re-print prompt after maybe_exit() [Karel Zak] + - replace fatal(usage) with a separate usage() function [Francesco Cosoleto] + - update MBR after ID change [Karel Zak] + - use canonicalized names for -l (and sfdisk -d) [Karel Zak] + - use xalloc lib [Francesco Cosoleto] +findmnt: + - add --submounts option [Karel Zak] + - add /etc/fstab.d support [Karel Zak] + - add MAJ MIN [Karel Zak] + - add support for fs-root (subvolumes and bind mounts) [Karel Zak] + - apply new changes from tt.c [Karel Zak] + - don't swap source and target if the source is a tag [Karel Zak] + - fix exit code [Karel Zak] + - fix manpage typos [Davidlohr Bueso] + - fix support for -a option [Milan Broz] + - follow HAVE_LANGINFO [Karel Zak] + - use new libmount functions [Karel Zak] + - use new tab parsing API [Karel Zak] +flock: + - fix file number in flock.1 man page [Patrice Dumas] + - properly report exec() errors [Karel Zak] + - use more useful example in flock.1 [Jakob Unterwurzacher] +fsck: + - add support for whole-disk locking (-l option) [Karel Zak] + - improve whole-disk check, detect stacked devices [Karel Zak] + - include c.h, fallback for PATH_MAX [Karel Zak] + - inform about nonexistent devices in verbose mode [Karel Zak] + - returns proper code on exec() error [Karel Zak] +fstrim: + - add new command [Lukas Czerner] + - fix typo [Karel Zak] +hexdump: + - remove od functionality in favor to GNU coreutils od [Sami Kerola] +hwclock: + - [m68k] unbreak FTBFS with recent (>= 2.4.18?) kernels [Thorsten Glaser] + - allow setting of RTC when it contains invalid data [Peter Tyser] +include: + - [c.h] add unused attribute to ignore_result() [Karel Zak] + - [c.h] fix __alloc_size__ test [Karel Zak] + - [c.h] add fallback for alloc_size attributes [Karel Zak] + - [c.h] move ignore_result() to gcc-only block [Karel Zak] + - [tt] enlarge output buffer [Karel Zak] + - [xalloc.h] include string.h [Marek Polacek] + - add fallback for rpmatch() [Francesco Cosoleto] + - cleanup blkdev.h [Karel Zak] + - emulate dirfd when necessary [Fabian Groffen] + - fix list.h ifdefs [Karel Zak] + - [xalloc] general purpose memory allocation handling wrappers [Davidlohr Bueso] +ipc: + - remove .info file [Karel Zak] +last: + - Use EXIT_* and err() [Marek Polacek] + - use xalloc lib [Davidlohr Bueso] +lib: + - [c] add ignore_result() [Karel Zak] + - [env] consolidate safe_getenv() usage [Karel Zak] + - [ismounted] don't wast time with mtab is /proc/mounts used [Karel Zak] + - [strutils] general purpose string handling functions [Davidlohr Bueso] + - [strutils] move strmode() from namei.c to strutils.c [Karel Zak] + - [tt] add TT_FL_RIGHT, add columns list parser [Karel Zak] + - [tt] fix alignment of the last tree child [Karel Zak] + - [xalloc] add xstrdup() [Karel Zak] + - [xalloc] don't use hardcoded return code [Karel Zak] + - add fallback for nl_langinfo() [Karel Zak] + - add test program to canonicalize.c [Karel Zak] + - add wrappers for "at" functions [Karel Zak] + - fix mange() and unmangle() to handle NULL [Karel Zak] + - fix syntax error in blkdev.c [Karel Zak] +lib/tt: + - fix langinfo build break [Davidlohr Bueso] +libblkid: + - 256MiB is min size of btrfs [Karel Zak] + - NTFS volume label not found [Karel Zak] + - add LINHIB0001 signature to swap prober [Karel Zak] + - add blkdev.h to blkidP.h [Karel Zak] + - add blkid_probe_get_sectors() [Davidlohr Bueso] + - add magic to vfat [Jeroen Oortwijn] + - add nilfs2 filesystem superblock probe [Jiro SEKIBA] + - add searching in attributes dir to BeFS [Jeroen Oortwijn] + - add signature to FAT32 fsinfo block [Jeroen Oortwijn] + - cache is incorrectly revalidated [Karel Zak] + - check for swap or DM cow on small devices [Karel Zak] + - conditionalise parts from blkid/topology for Linux [Fabian Groffen] + - consolidate magic strings detection code [Karel Zak] + - don't ignore zero for SBMAGIC_OFFSET [Karel Zak] + - don't probe directories [Karel Zak] + - fix MBR detection on iPod and cleanup vfat code [Karel Zak] + - fix endian conversion bug in NILFS [Karel Zak] + - fix memory leak [Igor Bazhitov] + - fix typo filesystem name nilfs to nilfs2 [Jiro SEKIBA] + - remove dead code section [Valerie Aurora] + - remove unnecessary __UCLIBC__ check [Mike Frysinger] + - remove unused variable [Karel Zak] + - set tolerant flag for HFS [Alexandre Peixoto Ferreira] + - support LIBBLKID_DEBUG= env. [Karel Zak] + - use PRId64 in PT parser [Karel Zak] + - wrong PT detection on RAID0 [Karel Zak] +libmount: + - _SC_GETPW_R_SIZE_MAX portability issue [Karel Zak] + - add /etc/fstab.d support [Karel Zak] + - add DBG() to optstr.c [Karel Zak] + - add FS detection [Karel Zak] + - add LIBMOUNT_{MTAB,FSTAB} [Karel Zak] + - add MNT_FS_SWAP flag [Karel Zak] + - add and copy FS internal flags [Karel Zak] + - add debug messages and fix typos in tab_update [Karel Zak] + - add first part of high-level API [Karel Zak] + - add functions for mount. helpers [Karel Zak] + - add functions get mtab/utab paths [Karel Zak] + - add low-level API for umount [Karel Zak] + - add mnt_context [Karel Zak] + - add mnt_context_get_{fstab,mtab}() [Karel Zak] + - add mnt_context_get_{source,target,fstype} [Karel Zak] + - add mnt_context_is_* functions [Karel Zak] + - add mnt_copy_fs() and mnt_fs_set_root() [Karel Zak] + - add mnt_fs_get_root() [Karel Zak] + - add mnt_fs_prepend_optstr() [Karel Zak] + - add mnt_get_writable_mtab_path() [Karel Zak] + - add mnt_optstr_fix_user [Karel Zak] + - add mnt_optstr_get_mountflags() [Karel Zak] + - add mnt_optstr_get_userspace_mountflags() [Karel Zak] + - add mnt_optstr_prepend_option() [Karel Zak] + - add mnt_split_optstr() [Karel Zak] + - add mnt_tab_find_pair() [Karel Zak] + - add mnt_tab_parse_mtab() [Karel Zak] + - add mnt_tab_parse_stream() [Karel Zak] + - add mnt_tab_set_parser_errcb() [Karel Zak] + - add mntent.h compatible stuff [Karel Zak] + - add mount(2) and /sbin/mount. support [Karel Zak] + - add mount(8) sample [Karel Zak] + - add mtab management to context API [Karel Zak] + - add new debug messages, fix umount return code [Karel Zak] + - add new psetudo filesystems [Karel Zak] + - add new pseudo filesystems [Karel Zak] + - add routines for uid=, git= and context= translation [Karel Zak] + - add support for mtab management [Karel Zak] + - add uhelper=, improve mnt_split_optstr() [Karel Zak] + - add umount(2) support [Karel Zak] + - add unit test for mnt_copy_fs() [Karel Zak] + - add unmangle/mangle() functions to API [Karel Zak] + - add utils for work with uid/gid [Karel Zak] + - add utils to get FS root/mountpoint [Karel Zak] + - add {start,end}swith() functions [Karel Zak] + - allow to overwrite mtab/fstab paths [Karel Zak] + - allows to swap source and target [Karel Zak] + - always store rw/ro flags to mtab [Karel Zak] + - better permissions and optstr evaliation [Karel Zak] + - better work with mtab options [Karel Zak] + - clean mnt_update_* target usage [Karel Zak] + - clean up lock.c [Karel Zak] + - clean up mnt_fs_set_optstr() [Karel Zak] + - clean up mount.sym file [Karel Zak] + - clean up mountflags usage [Karel Zak] + - cleanup API and docs [Karel Zak] + - cleanup API, remove typedef [Karel Zak] + - cleanup MS_RDONLY usageand mnt_update_* symbols [Karel Zak] + - cleanup context API [Karel Zak] + - cleanup debug flags [Karel Zak] + - cleanup fstab parser, improve mnt_tab errcb usage [Karel Zak] + - cleanup helper initialization API [Karel Zak] + - cleanup helpers support [Karel Zak] + - cleanup high-level mount API [Karel Zak] + - cleanup internal API [Karel Zak] + - cleanup lock API [Karel Zak] + - cleanup mangle() usage [Karel Zak] + - cleanup mount.h [Karel Zak] + - cleanup mount.sym [Karel Zak] + - cleanup return codes (cache.c) [Karel Zak] + - cleanup return codes (fs.c) [Karel Zak] + - cleanup return codes (iter.c) [Karel Zak] + - cleanup return codes (lock.c) [Karel Zak] + - cleanup return codes (optmap.c) [Karel Zak] + - cleanup return codes (optstr.c) [Karel Zak] + - cleanup return codes (tab.c) [Karel Zak] + - cleanup return codes (tab_parse.c) [Karel Zak] + - compile tests [Karel Zak] + - copy mount attrs from utab to context [Karel Zak] + - correctly use "none" values [Karel Zak] + - do not check for EAGAIN after flock() [Petr Uzel] + - don't compile tests by default [Karel Zak] + - don't export some cache.c files [Karel Zak] + - don't prepare update if syscall failed [Karel Zak] + - don't return old data from optls iterator [Karel Zak] + - don't store filename to mnt_tab [Karel Zak] + - don't use NULL pointer in mntenv [Karel Zak] + - extend mnt_update_* API [Karel Zak] + - fix Makefile and tests [Karel Zak] + - fix comment for mnt_unlock_file() [Karel Zak] + - fix context mount test [Karel Zak] + - fix datatype for mountflags [Karel Zak] + - fix debug message [Karel Zak] + - fix merge_optstr (do not truncate 3 trailing characters) [Petr Uzel] + - fix mnt_optstr_apply_flags() to work with optional variables [Karel Zak] + - fix mnt_optstr_remove_option_at() [Karel Zak] + - fix mount helpers call [Karel Zak] + - fix mount.h includes [Karel Zak] + - fix optstr test [Karel Zak] + - fix tab_update test program [Karel Zak] + - fix to work with btrfs subvolume user mounts [Karel Zak] + - fix user= usage [Karel Zak] + - fix utab file and dir modes, add new debug messages [Karel Zak] + - implement mnt_context_subst_optstr() [Karel Zak] + - improve an rename API for mtab management [Karel Zak] + - improve assert() and DBG() usage [Karel Zak] + - improve debugging, fix optstr prepend [Karel Zak] + - improve fstab/mtab options usage [Karel Zak] + - improve function for work with mtab paths [Karel Zak] + - improve mnt_get_fs_root() and mnt_get_mountpoint() [Karel Zak] + - improve parser return codes [Karel Zak] + - improve parsers return codes [Karel Zak] + - improve status check, minor cleanups [Karel Zak] + - minor cleanup in optstr.c [Karel Zak] + - minor fixes [Karel Zak] + - minor fixes in cache.c [Karel Zak] + - more robust flock() usage [Karel Zak] + - optimize blkid_devno_to_devname() [Karel Zak] + - properly canonicalize source and target [Karel Zak] + - remove fs and tab printf functions [Karel Zak] + - remove mnt_tab_strerr() [Karel Zak] + - remove unnecessary options container [Karel Zak] + - remove unused mnt_strconcat3() [Karel Zak] + - remove utab from API, update tests [Karel Zak] + - rename mount.h to libmount.h [Karel Zak] + - rename mount.sym -> libmount.sym [Karel Zak] + - rewrite DBG() macro [Karel Zak] + - rewrite mountinfo/fstab parsers to use sscanf() [Karel Zak] + - rewrite optstr translation [Karel Zak] + - rewrite update [Karel Zak] + - split context.c [Karel Zak] + - split mnt_context_do_mount() [Karel Zak] + - support /{proc,etc}/filesystems [Karel Zak] + - update mount.sym [Karel Zak] + - update mount.{h,sym} [Karel Zak] + - update mtab after mount(2) [Karel Zak] + - update tests [Karel Zak] + - use attribute __format__ for debug routines [Karel Zak] + - use better format for utab, improve bind mounts [Karel Zak] + - use mnt_fs for mtab API [Karel Zak] + - use separate buffer for userspace options, add mount attributes [Karel Zak] +libuuid: + - do not check for EAGAIN after flock() [Petr Uzel] + - fix locking of clock state counter file [Petr Uzel] +login: + - fix "ignoring return value" errors [Karel Zak] + - use EXIT_* and err.h, clean up return codes [Marek Polacek] + - use EXIT_* in checktty() [Karel Zak] + - use xalloc lib [Davidlohr Bueso] +look: + - fix conflict between locally defined err() and glibc's version [Davidlohr Bueso] + - fix memory leak in look(1) [Davidlohr Bueso] +losetup: + - do not distinguish between malloc and realloc [Tobias Klauser] + - remove unnecessary fstab.h include [Karel Zak] + - use /sys/dev/block/.../loop/backing_file [Karel Zak] + - use stdout and return 0 for --help [Karel Zak] +lsblk: + - add --nodeps [Karel Zak] + - add new utility [Milan Broz] + - rename "RA" column to "RE" [Karel Zak] + - small grammar touches to the man page [Benno Schulenberg] + - use "RM" for removable [Karel Zak] +lscpu: + - add -x and {On,Off}-line CPU(s) mask/list [Karel Zak] + - add byte order and bogoMIPS information [Davidlohr Bueso] + - add description of --sysroot option to man page, plus grammar touches [Benno Schulenberg] + - avoid len = 0 as a consequence of maxcpus = 0 [Gerrit Renker] + - cleanup usage() [Karel Zak] + - fix 64bit CPU detection [Karel Zak] + - really use 'mode' argument in path_fopen() [Petr Uzel] + - support offline CPUs [Karel Zak] + - support sysfs without cpu/online file [Karel Zak] + - update lscpu.1 to include new additions. [Davidlohr Bueso] + - use GPLv2+ [Karel Zak] +man: + - add russian translation of ddate.1 [Karel Zak] +mesg: + - Use EXIT_* and discard K&R style declaration. [Marek Polacek] + - change error exit code from 1 to >1 [Francesco Cosoleto] +misc-utils: + - use new xmalloc() wrapper [Davidlohr Bueso] +mkfs: + - add `mkfs.ext4` to section SEE ALSO of `mkfs.8`. [Paul Menzel] + - general cleanups [Davidlohr Bueso] +mkfs.cramfs: + - use symbolic exit codes [Sami Kerola] +more: + - use xalloc for memory allocation [Davidlohr Bueso] +mount: + - Add more pseudo filesystems. [Davidlohr Bueso] + - Don't call canonicalize_*(SPEC) for 9p [Sven Eckelmann] + - add info about type.subtype to /sbin/mount. API description [Karel Zak] + - add mnt_init_debug() [Karel Zak] + - add note about context= remount to mount.8 [Karel Zak] + - add note about subtypes to fstab.5 [Karel Zak] + - add rootcontext= for tmpfs on SELinux boxes [Karel Zak] + - avoid starting a man page line with a single quote [Chris Frost] + - be more explicit about --move in mount.8 [Karel Zak] + - better describe UUIDs usage in man pages [Karel Zak] + - canonicalize paths in HAVE_LIBMOUNT_MOUNT code [Karel Zak] + - clean up fstab.5 [Karel Zak] + - don't canonicalize "spec" with --no-canonicalize option [Miklos Szeredi] + - don't use auto-clear loopdev if mtab is available [Karel Zak] + - fix "mount -a" for auto-clear loopdevs and /proc/mounts [Karel Zak] + - fix atime description in mount.8 man page [Karel Zak] + - fix gcc warning [Karel Zak] + - fix mount.8, shortname=mixed is now default for vfat [Petr Uzel] + - fix parsing offset= followed by more options [Petr Uzel] + - fix reference to cifs-utils in mount.8 [Karel Zak] + - get most recently mounted fs from /etc/mtab. [Valerie Aurora] + - handle filesystems with subtype [Miklos Szeredi] + - ignore *context= options on remount [Karel Zak] + - improve verbose info [Karel Zak] + - mark die() as nonreturn [Karel Zak] + - read /sys for loopdev backing file [Karel Zak] + - read mtab by libmount [Karel Zak] + - remove warning about FS detection from mount.1 [Karel Zak] + - rewrite HAVE_LIBMOUNT_MOUNT code [Karel Zak] + - rewrite is_readonly() [Karel Zak] + - sanity check mount flags for MS_PROPAGATION [Karel Zak] + - update ext{3,4} options in mount.8 [Karel Zak] + - update relatime description in mount.8 [Karel Zak] + - use libmount for mtab/utab updates [Karel Zak] + - use utimensat(AT_FDCWD) rather than open()+futimens() [Karel Zak] + - use verbose info for HAVE_LIBMOUNT_MOUNT only [Karel Zak] +namei: + - fix memory leak in namei(1) [Davidlohr Bueso] + - parse all path arguments when an optarg path will fail [Sami Kerola] +newgrp: + - Use err() and EXIT_* [Marek Polacek] +partx: + - add mac partition table support [Davidlohr Bueso] + - add sun partition table support [Davidlohr Bueso] + - cleanup and add columns [Karel Zak] + - complete rewrite [Davidlohr Bueso, Karel Zak] + - fix authors section in man page [Davidlohr Bueso] + - fix typo in partx.8 [Davidlohr Bueso] + - integrate support for mac and sun partitions, based on kpartx. [Davidlohr Bueso] + - normalize the punctuation of man page, and improve grammar here and there [Benno Schulenberg] + - tiny change in usage() [Karel Zak] +pg: + - use xalloc for memory allocation [Davidlohr Bueso] +po: + - add gl.po (from translationproject.org) [Fran Diéguez] + - add zh_TW.po (from translationproject.org) [Wei-Lun Chao] + - fix note about license [Karel Zak] + - merge changes [Karel Zak] + - refresh gl and zh_TW [Karel Zak] + - update after rename [Karel Zak] + - update cs.po (from translationproject.org) [Petr Písař] + - update da.po (from translationproject.org) [Joe Hansen] + - update fr.po (from translationproject.org) [David Prévot] + - update fr.po (from translationproject.org) [Milan Bouchet-Valat] + - update hu.po (from translationproject.org) [Gabor Kelemen] + - update ja.po (from translationproject.org) [Makoto Kato] + - update nl.po (from translationproject.org) [Benno Schulenberg] + - update pl.po (from translationproject.org) [Jakub Bogusz] + - update vi.po (from translationproject.org) [Clytie Siddall] +portability: + - fix mntent.h and pty.h usage [François Revol] + - use standard constants [François Revol] +renice: + - improve messages specifying what ID is referring to [Francesco Cosoleto] + - make some functions static [Francesco Cosoleto] + - remove hardcoded program name using warn() and warnx() [Francesco Cosoleto] + - reverse %s position in error messages [Francesco Cosoleto] + - rewrite usage() [Karel Zak] + - update man page (nice rlimit was added to kernel) [Francesco Cosoleto] +rev: + - coding style, various fixes [Davidlohr Bueso] + - use xalloc for memory allocation [Davidlohr Bueso] +rtcwake: + - add 'show' mode for rtc alarm [Marek Otahal] + - use err.h routines [Karel Zak] +schedutils: + - fix typos [Davidlohr Bueso] + - remove unneeded header files [Davidlohr Bueso] +sfdisk: + - add option to use maximum partition size [Karel Zak] + - save errno before calling perror [Forest Bond] +shutdown: + - Use EXIT_* [Marek Polacek] +simpleinit: + - Use EXIT_* [Marek Polacek] + - move old init stuff to separate directory [Karel Zak] +swapon: + - Canonicalize swap device [Alexey Gladkov] + - Document btrfs limitation with swapfiles [Jeff Mahoney] + - add "discard" support [Hugh Dickins] + - add support for "nofail" fstab mount option [Karel Zak] + - better text for "discard", note about swapon in fstab.5 [Karel Zak] + - make needlessly global variables static [Tobias Klauser] + - use EXIT_SUCCESS constants [Davidlohr Bueso] + - warn if file owner is not root [Karel Zak] +swpaon: + - use canonicalized devnames on -s output [Karel Zak] +sys-utils: + - fix manpage typos [Davidlohr Bueso] + - make use xalloc wrappers [Davidlohr Bueso] +tailf: + - fixed timing issue that could cause duplicate data output [Dima Kogan] + - use xalloc for memory allocation [Davidlohr Bueso] +taskset: + - proper numbers parsing [Karel Zak] +tests: + - add regression tests [Davidlohr Bueso] + - add basic libmount tests for mounting [Karel Zak] + - add blkid test for partitioned RAID0 [Karel Zak] + - add libmount lock test [Karel Zak] + - add libmount mtab tests [Karel Zak] + - add libmount mtab update test [Karel Zak] + - add libmount optstr.c tests [Karel Zak] + - add libmount tab_parse.c tests [Karel Zak] + - add libmount tags tests [Karel Zak] + - add libmount utab tests [Karel Zak] + - add libmount utils.c tests [Karel Zak] + - add nilfs2 test for libblkid [Jiro SEKIBA] + - add quoted optstr [Karel Zak] + - add utab update tests [Karel Zak] + - check for mtab [Karel Zak] + - fix blkid MD test (missing tailing whitespaces) [Karel Zak] + - fix libmount test [Karel Zak] + - fix strtosize() test [Karel Zak] + - ignore device name used in some fdisk and blkid tests [Francesco Cosoleto] + - improve libmount context mount and umount test [Karel Zak] + - improve subtests initialization [Karel Zak] + - refresh libmount fstab parser tests [Karel Zak] + - skip non-compiled libmount tests [Karel Zak] + - truncate BeFS and tuxonice images [Karel Zak] + - update lscpu tests [Karel Zak] + - update lscpu tests on x86_64 [Karel Zak] + - update namei regression test [Karel Zak] + - use findmnt(8) for mount --move test [Karel Zak] + - use findmnt(8) for remount test [Karel Zak] + - use {src,build}dir variables for tests [Karel Zak] +ul: + - fix memory leak. [Davidlohr Bueso] + - use atexit() to deallocate buffer, print errors by err() [Karel Zak] + - use xalloc for memory allocation [Davidlohr Bueso] +umount: + - add HAVE_LIBMOUNT_MOUNT code [Karel Zak] + - call is_loop_autoclear() for all loopdevs [Karel Zak] + - umount -r segfault [Karel Zak] + - use strtosize() for offset= [Karel Zak] +unshare: + - fix SIGSEGV on invalid command line option [Alexey Gladkov] +uuidd: + - correctly report number of generated subsequent UUIDs [Petr Uzel] + - fix -n usage [Petr Uzel] + - fix uuidd -r -n 2 [Petr Uzel] + - increase connection backlog size to SOMAXCONN [Petr Uzel] + - mention -q in uuidd.8 [Petr Uzel] + - use UUIDD_OP_BULK_*_UUID named constants [Petr Uzel] + - use UUID_STR_LEN and UUID_LEN [Petr Uzel] + - use daemon(3) library function [Petr Uzel] + - use die() where possible [Petr Uzel] + - use write_all from include/writeall.h [Petr Uzel] +vipw: + - fix warn_unused_result gcc warning [Karel Zak] + - use EXIT_* and err() [Marek Polacek] +wall: + - Use EXIT_* and err() [Marek Polacek] + - add usage function [Davidlohr Bueso] + - document -n option [Davidlohr Bueso] + - fix coding style [Karel Zak] + - remove progname [Karel Zak] + - use xalloc lib [Davidlohr Bueso] +wipefs: + - fail if more device arguments specified [Milan Broz] + - use write_all from include/writeall.h [Petr Uzel] + diff --git a/Documentation/releases/v2.20-ReleaseNotes b/Documentation/releases/v2.20-ReleaseNotes new file mode 100644 index 0000000..549d89d --- /dev/null +++ b/Documentation/releases/v2.20-ReleaseNotes @@ -0,0 +1,1061 @@ +Util-linux 2.20 Release Notes +============================= + + The ddate(1) command is not built by default (see --enable-ddate). + +Release highlights +------------------ + +agetty(8): + - mingetty features have been merged to agetty + +chrt(1), taskset(1): + - supports new command line option "--all-tasks" to set or retrieve the + scheduling attributes of all the tasks (threads) for a given PID + +dmesg(1): + - supports new command line options: --clear, --console-on, --console-off, + --ctime, --decode, --facility=, --level=, --show-delta, + --notime, --kernel and --userspace + +fdisk(8): + - improved dialogs to be more user-friendly + +findmnt(8), partx(8), lsblk(8) + - support new command line option "--pairs" to enable key="value" + output format + +findmnt(8): + - supports new command line options "--poll" and "--timeout" to monitor + /proc/self/mountinfo changes + +ionice(1): + - supports human-readable scheduling class names, for example: + ionice -c best-effort $PID + +kill(1): + - supports new command line option "-q " to use sigqueue(2) + - supports real-time signals in formats RT, RTMIN+ and RTMAX- + +libmount: + - the API officially stable + +lsblk(8): + - supports new columns: + TYPE - device type + RQ-SIZE - queue request size + STATE - device state (e.g. running, suspended) + DALIGN - discard alignment offset + DISC-GRAN - discard granularity + DISC-MAX - discard max bytes + DISC-ZERO - discard zeroes data + - supports new command line option "-D" to print device discard topology + +lscpu(8): + - improved support for s390 boxes + +mkfs.minix: + - supports minix version 3 + +mountpoint(1): + - this NEW COMMAND is libmount based re-implementation of mountpoint(1) from + sysvinit suite + +setarch(8): + - supports new command line options "--uname-2.6" to enable UNAME26 + personality flag + +simpleinit: + - this set of deprecated utils has been REMOVED + +wall(1): + - support new command line option "--timeout" to specify write timeout to + terminals in seconds. + +It's not supported to link with external (e.g. from e2fsprogs) libblkis and +libuuid any more. + + +Stable maintenance releases between v2.19 and v2.20 +--------------------------------------------------- + +util-linux 2.19.1 [02-May-2011] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.19/v2.19.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.19/v2.19.1-ChangeLog + + +Changes between v2.19 and v2.20 +------------------------------- + + For more details see ChangeLog files at: + https://www.kernel.org/pub/linux/utils/util-linux/v2.20/ + +addpart: + - multiplication on 512 deleted [Anton V. Boyarshinov] +agetty: + - #endif comments [Sami Kerola] + - C.UTF-8 locale instead of en_US.UTF-8 [Samuel Thibault] + - Fix IUTF8 flag [Werner Fink] + - add an autologin feature [Werner Fink] + - better support of virtual console [Dr. Werner Fink] + - check virtual console for UTF-8 support [Werner Fink] + - clean up usage [Karel Zak] + - cleanup argv parsing, utmp update, use writeall(), etc. [Werner Fink] + - coding style - fix comments, remove tailing whitespace [Karel Zak] + - coding style - fix identation [Karel Zak] + - don't use xalloc.h stuff [Karel Zak] + - error message about required arguments [Sami Kerola] + - getopt case segment reordering [Sami Kerola] + - improve login(1) argv[] [Karel Zak] + - more code cleanup [Werner Fink] + - only enable F_UTF8 if kernel has already set IUTF8. [Samuel Thibault] + - proper session on the terminal line [Werner Fink] + - remove unnecessary options synonyms [Karel Zak] + - remove unnecessary space and "(void)" junk [Karel Zak] + - symbolic standard file descriptors [Sami Kerola] + - try next speed after CBREAK [Karel Zak] + - use a generic function for strings concatenation [Karel Zak] + - use long options [Sami Kerola] + - use program_invocation_short_name [Sami Kerola] + - use xalloc.h [Sami Kerola] + - further scrubbing [Sami Kerola] + - move issue path to pathnames.h [Sami Kerola] + - further mingetty features [Dr. Werner Fink] +blkdev: + - add blkdev_is_misaligned() [Davidlohr Bueso] +blkid: + - add -d option to print non-printable chars [Karel Zak] + - don't free() uninitialized variable [Karel Zak] + - don't ignore -i [Karel Zak] + - don't read past end of FAT32 cluster chain [John Lindgren] + - fix compiler warnings [-Wunused-parameter] [Karel Zak] + - fix double free [coverity scan] [Karel Zak] + - fix typo [Karel Zak] + - indent usage() [Karel Zak] + - list all known filesystems/RAIDs (add -k option) [Karel Zak] + - small fix for safe_print() [Sergey Gusarov] + - uniformize the synopsis, remove "the the" [Benno Schulenberg] +blockdev: + - add --help option [Sami Kerola] + - broken compiler warning circumvention removed [Sami Kerola] + - coding style fix [Sami Kerola] + - indent usage() [Karel Zak] + - remove progname [Sami Kerola] + - set options read only [Sami Kerola] + - type mismatch fix [Sami Kerola] + - use libc error facilities [Sami Kerola] + - use pathnames.h to find partitions [Sami Kerola] +build-sys: + - Enable automake's -Wno-portability option. [Sami Kerola] + - add --enable-ddate [Karel Zak] + - add required files to dist [Sami Kerola] + - add term-utils/ [Karel Zak] + - add term-utils/.gitignore [Karel Zak] + - add uuid_generate_time_safe.3 .gitignore [Karel Zak] + - clean up partx Makefile [Karel Zak] + - cleanup lib/ tests [Karel Zak] + - disable lib/ at.c tests building [Karel Zak] + - do not ignore datarootdir [Sami Kerola] + - don't build lsblk on Linux without openat() [Karel Zak] + - don't support external (e2fsprogs) libblkid [Karel Zak] + - don't support external (e2fsprogs) libuuid [Karel Zak] + - don't try to chgrp write or wall if they are not built [Marc-Antoine Perennou] + - don't use HAVE_LIBBLKID_INTERNAL macro [Karel Zak] + - enable mountpoint, add dependence on libmout [Karel Zak] + - fix 'make checkincludes' warnings [Karel Zak] + - fix configure.ac for uuidd [Karel Zak] + - fix distcheck for term-utils [Karel Zak] + - fix git-version-gen for -rc tags [Karel Zak] + - fix gtk-doc build [Karel Zak] + - fix gtk-doc distclean [Karel Zak] + - fix spaces versus tabs conflict [Marc-Antoine Perennou] + - fix unportable Makefile.am assignment [Sami Kerola] + - include rather than [Karel Zak] + - introduce AM_PROG_CC_C_O macro [Sami Kerola] + - move BUILD_SCHEDUTILS to top-level Makefile [Karel Zak] + - move agetty to term-utils [Karel Zak] + - move mesg to term-utils/ [Karel Zak] + - move reset to term-utils/ [Karel Zak] + - move script and scriptreplay to term-utils/ [Karel Zak] + - move setterm to term-utils/ [Karel Zak] + - move wall to term-utils/ [Karel Zak] + - move write to term-utils directory [Sami Kerola] + - non-linux fixup [Samuel Thibault] + - print helpful error when pkg.m4 is missing [Sami Kerola] + - provide alternatives for err, errx, warn and warnx [Fabian Groffen] + - release++ (v2.20-rc1) [Karel Zak] + - release++ (v2.20-rc2) [Karel Zak] + - remove and ignore generated files [Karel Zak] + - remove check-news [Karel Zak] + - remove unnecessary files from getopt [Sami Kerola] + - rename --enable-partx to --disable-partx [Karel Zak] + - stop building line(1) by default [Sami Kerola] + - use AC_LANG_SOURCE to suppress warnings [Sami Kerola] + - use AUTOMAKE_OPTIONS = gnu [Sami Kerola] + - use git-version-gen to distinct git and release versions [Sami Kerola] + - use gtkdoc without tmpl dir [Karel Zak] + - use silent rules got gtkdoc, fix dependencies [Karel Zak] + - use top-level directory for libblkid rather than shlibs/blkid [Karel Zak] + - use top-level directory for libmount rather than shlibs/mount [Karel Zak] + - use top-level directory for libuuid rather than shlibs/uuid [Karel Zak] +cal: + - argument checking, long options and argument checking [Sami Kerola] + - clean up few coding style issues [Sami Kerola] + - fix compiler warnings [Sami Kerola] + - fix manpage formatting [Petr Uzel] + - indent usage() [Karel Zak] + - fix typo ("fistt day") in help text, seize chance to improve it [Benno Schulenberg] +cfdisk: + - add home and end keys movements in partition list [Francesco Cosoleto] + - fix compilation with slang [Karel Zak] + - fix compiler warning [Karel Zak] + - fix compiler warnings [-Wunused-parameter] [Karel Zak] + - fix gcc warning (unused variable) [Karel Zak] + - move "No more partition" warning to draw_cursor() [Francesco Cosoleto] + - move keys related to the cursor of the partition list outside menuselect() [Francesco Cosoleto] + - remove unused vertical menu direction code [Francesco Cosoleto] + - use keypad() in menu selection function [Francesco Cosoleto] +checktty: + - Use NGROUPS_MAX instead of NGROUPS [Josiah Worcester] + - fix unused parameters [Sami Kerola] +chfn: + - fix compiler warnings [-Wsign-compare] [Karel Zak] +chrt: + - [selinux] fix compiler warnings [-Wsign-compare] [Karel Zak] + - add strings to use NLS [Sami Kerola] + - adjust style of man page, alphabetize option -p [Benno Schulenberg] + - allow to use --all-tasks when retrieve info [Karel Zak] + - chrt.1 fix grammar [Davidlohr Bueso] + - clarify use of -a option [Davidlohr Bueso] + - coding style fix [Sami Kerola] + - data type compiler warning fixed [Sami Kerola] + - make threads aware [Davidlohr Bueso] + - silently ignore -R if unsupported [Karel Zak] +chsh: + - fix compiler warnings [-Wsign-compare] [Karel Zak] + - fix gcc link() warn_unused_result warning [Karel Zak] + - fix small memory leak [Karel Zak] +col: + - check with strtol_or_err option argument [Sami Kerola] + - coding style changes [Sami Kerola] + - use long options [Sami Kerola] +colctr: + - use long options and clean coding style [Sami Kerola] +colrm: + - gotos, long options and argument checking [Sami Kerola] + - manual update [Sami Kerola] +column: + - fix problems with uninitialized variables [Karel Zak] + - use xalloc lib [Sami Kerola] + - add version printing [Sami Kerola] + - coding style fixes [Sami Kerola] + - free memory before exit [Sami Kerola] + - global variables removed [Sami Kerola] + - make table function clarification [Sami Kerola] + - replace emalloc with xcalloc [Sami Kerola] + - validate numeric user inputs [Sami Kerola] +cramfs: + - remove cramfs_common.h [Davidlohr Bueso] + - use stdint.h instead of u{8,16,32} [Sami Kerola] + - coding style [Sami Kerola] +cramfs_common: + - coding style [Sami Kerola] +cytune: + - fix compiler warnings [-Wsign-compare] [Karel Zak] + - remove unused variable [Karel Zak] +ddate: + - fix St. Tib's Day in other languages [Karel Zak] + - remove non-ascii chars from ddate [Karel Zak] + - use ARRAY_SIZE [Karel Zak] +dmesg: + - add --clear (SYSLOG_ACTION_CLEAR) [Karel Zak] + - add --console-on and --console-off [Karel Zak] + - add --ctime to print human readable timestamps [Karel Zak] + - add --decode to print readable facility and level [Karel Zak] + - add --facility option [Karel Zak] + - add --level= [Karel Zak] + - add --show-delta option [Karel Zak] + - add -t option to suppress timestamps [Karel Zak] + - add -u and -k options [Karel Zak] + - add long options, --help and --version [Karel Zak] + - allow to print time delta without timestamp [Karel Zak] + - avoid mess at the end of dmesg output [Petr Uzel] + - cleanup options and man page [Karel Zak] + - cleanup usage() [Karel Zak] + - consolidate level parsiig code [Karel Zak] + - don't print non-printable chars, parse records [Karel Zak] + - fix compiler warnings [-Wsign-compare] [Karel Zak] + - fix segfault [Marc-Antoine Perennou] + - fix typo in usage() [Karel Zak] + - mark some options mutually exclusive [Karel Zak] + - print_buffer() refactoring [Karel Zak] + - refactoring - cleanup get bufsize code [Karel Zak] + - refactoring - cleanup main() code [Karel Zak] + - refactoring - cleanup print buffer code [Karel Zak] + - refactoring - cleanup read buffer code [Karel Zak] + - reorder options, add comments [Karel Zak] + - use SYSLOG_ACTION_* macros rather than magic constatnts [Karel Zak] + - variables refactoring [Karel Zak] + - cleanups -- use err(), xalloc() [Marek Polacek] +docs: + - mention mkswap long options in man page [Sami Kerola] + - TODO update [Karel Zak] + - add 2.20 ReleaseNotes [Karel Zak] + - add Matej to AUTHORS [Karel Zak] + - add long options to fdformat.8 [Sami Kerola] + - add long options to mkfs.8 [Sami Kerola] + - add long options to mkfs.bfs.8 [Sami Kerola] + - agetty long options [Sami Kerola] + - agetty manual update [Sami Kerola] + - also uniformize headers and footers of troff-formatted man pages [Benno Schulenberg] + - col manual update [Sami Kerola] + - colcrt manual update [Sami Kerola] + - drop the pluralization item with ngettext() in TODO file [Benno Schulenberg] + - favour small patches [Sami Kerola] + - inform about cal long options [Sami Kerola] + - inform about mcookie long options [Sami Kerola] + - isosize.8 add long options [Sami Kerola] + - look.1 manual rewrote [Sami Kerola] + - mention long options in ionice.1 [Sami Kerola] + - mention long options in uuidd.8 manual page [Sami Kerola] + - remove README.namei [Sami Kerola] + - rename.1 verbose, long options and warning [Sami Kerola] + - scriptreplay add note about new options [Sami Kerola] + - scriptreplay mention basic long options [Sami Kerola] + - sfdisk manual update [Sami Kerola] + - tell mount/* is in maintenance mode [Sami Kerola] + - tweak the formatting and wording of several disk-utils man pages [Benno Schulenberg] + - tweak the formatting and wording of some text-utils man pages [Benno Schulenberg] + - un-deprecate kill(1) [Karel Zak] + - uniformize the header and footer lines in man pages [Benno Schulenberg] + - update AUTHORS file [Karel Zak] + - update DEPRECATED file [Karel Zak] + - update ReleaseNotes [Karel Zak] + - update ReleaseNotes fix typo in v2.20-ReleaseNotes [Bernhard Voelker] + - update TODO [Karel Zak] + - update TODO [Sami Kerola] + - update TODO file [Karel Zak] + - update TODO file [Sami Kerola] + - update example files [Karel Zak] + - update v2.20 ReleaseNotes [Karel Zak] + - uuidgen.1 mention long options [Sami Kerola] +elvtune, isosize: + - print usage text in case of invalid option [Francesco Cosoleto] + - remove redundant message in case of invalid option [Francesco Cosoleto] +fallocate: + - cleanup usage() [Karel Zak] +fdformat: + - cleanup error messages [Karel Zak] + - coding style [Sami Kerola] + - include-what-you-use header check [Sami Kerola] + - integer comparisons & unused parameter [Sami Kerola] + - use libc error printing facilities [Sami Kerola] + - use long options [Sami Kerola] + - use xalloc.h [Sami Kerola] +fdisk: + - accept digits-space-suffix format [Francesco Cosoleto] + - add a default response for the partition type dialog [Francesco Cosoleto] + - change primary or extended partition type dialog [Francesco Cosoleto] + - check index before access to array [coverity scan] [Karel Zak] + - fix "invalid partition number for type" error message [Francesco Cosoleto] + - fix compiler warnings [-Wunused-parameter -Wsign-compare] [Karel Zak] + - improve error message for missing extended partition [Francesco Cosoleto] + - more robust whole-disk detection [Karel Zak] + - print logical partition number while adding it [Francesco Cosoleto] + - quit from partition type dialog after invalid response [Francesco Cosoleto] + - use a single variable for the current disklabel [Francesco Cosoleto] +fdisk, display, hexdump.h: + - Use standard C types instead of u_int, u_char, u_long, etc. [Josiah Worcester] + - correct the grammar of an error message [Benno Schulenberg] +findmnt: + - (man page) short option for --timeout is not -t but -w [Benno Schulenberg] + - add --pairs to output in key="value" format [Karel Zak] + - add --poll and --timeout to the man page [Karel Zak] + - add --poll option [Karel Zak] + - add --timeout option [Karel Zak] + - add columns description to the --help output [Karel Zak] + - check mnt_tab_next_fs() return code [coverity scan] [Karel Zak] + - filter filesystems and actions for --poll [Karel Zak] + - fix compiler warnings [-Wunused-parameter] [Karel Zak] + - fix leak [Karel Zak] + - improve spelling, wording and order of help text [Benno Schulenberg] + - minor coding style changes [Karel Zak] + - print OLD-* columns only when necessary [Karel Zak] + - slice up the help text into manageable chunks [Benno Schulenberg] +flock: + - cleanup usage() [Karel Zak] + - fix example in man page [Karel Zak] +fsck: + - fix -C parsing [Karel Zak] + - fix clang compiler warning [Sami Kerola] + - in man page say that "options take arguments", not vice versa [Benno Schulenberg] + - in usage() unmark type as optional for the -t option [Benno Schulenberg] + - indent usage() [Karel Zak] + - use in usage() [Karel Zak] + - use same word category in message, and add translators comment [Benno Schulenberg] + - use xmalloc, warn & err and new usage [Sami Kerola] +fsck, checktty, flock: + - Use more portable includes. [Josiah Worcester] +fsck.cramfs: + - add missed strings to translation [Sami Kerola] + - coding style [Sami Kerola] + - retire die function [Sami Kerola] + - use xalloc.h [Sami Kerola] +fsck.minix: + - fix "array subscript is above array bounds" [Karel Zak] + - fix compiler warnings [-Wsign-compare] [Karel Zak] + - remove unused variables [Karel Zak] + - use common functionalitly [Davidlohr Bueso] + - use lib/ismounted.c [Karel Zak] +fsfreeze: + - cleanup usage() [Karel Zak] +fstrim: + - cast from __u64 to standard C types [Karel Zak] + - cleanup usage() [Karel Zak] + - correct mistaken grammar in one message [Benno Schulenberg] +fstrim, setarch: + - replace error() with err() [Francesco Cosoleto] +getopt: + - add static qualifiers [Olivier Mengué] + - do not bundle help text lines into a single unwieldy chunk [Benno Schulenberg] + - fix '--unqote' typo in usage text [Francesco Cosoleto] + - fix coding style [Sami Kerola] + - fix gcc warning [Karel Zak] + - indent usage() [Karel Zak] + - make user getopt_long parsing to use function pointer [Sami Kerola] + - options struct, usage and version outputs [Sami Kerola] + - remove unnecessary free() [Sami Kerola] + - use in usage() [Karel Zak] + - use xalloc.h [Sami Kerola] +hexdump: + - don't include err.h directly [Karel Zak] + - fix "beginnin" typo in usage message [Benno Schulenberg] + - fix segfault due to uninitialized memory [Petr Uzel] + - new usage(), xalloc and err.h stuff [Sami Kerola] +hwclock: + - Don't use asm/io.h if sys/io.h can't be found [Josiah Worcester] + - add variable initialization [Sami Kerola] + - build on non-Linux [Samuel Thibault] + - coding style clean up [Sami Kerola] + - fix compiler warnings [Sami Kerola] + - fix gcc warning (uninitialized variable) [Karel Zak] + - in man page move --date and --epoch from Functions to Options [Benno Schulenberg] + - include-what-you-use header check [Sami Kerola] + - indent usage() [Karel Zak] + - make RTC default to UTC time [Daniel Drake] + - move long options away from global scope [Sami Kerola] + - move path definitions to pathnames.h [Sami Kerola] + - remove clock-ppc.c [Sami Kerola] + - remove goto statement [Sami Kerola] + - remove misleading information [Sami Kerola] + - remove unused variables [Karel Zak] + - tiny change in comment [Karel Zak] + - use in usage() [Karel Zak] + - use libc error printing functions [Sami Kerola] + - validate numeric option arguments [Sami Kerola] + - when cutting up help texts anyway, do it into small chunks [Benno Schulenberg] +include: + - [at.h] include c.h for PATH_MAX [Karel Zak] + - [bitops.h] make return values consistent [Karel Zak] + - [c.h] add fallback for old libs without O_CLOEXEC [Karel Zak] + - [c.h] remove strings.h include dublicate [Sami Kerola] + - [c.h] typeof to __typeof__ fix [Sami Kerola] + - [c.h] Include stdlib.h unconditionaly [maximilian attems] + - [c.h] add definition wrappers for old libc versions [Davidlohr Bueso] + - [c.h] move up declaration of program_invocation_short_name before usage [maximilian attems] + - [nls.h] define a macro for handling plurals with ngettext() [Benno Schulenberg] + - [strutils.c] add list parsers [Karel Zak] + - [tt.c] always truncate if TT_FL_TRUNC [Karel Zak] + - [writeall] add fwrite_all() [Karel Zak] + - [xalloc.h] mention strdup in the file description [Petr Uzel] + - minix.h use data types from stdint.h [Sami Kerola] + - move disk-utils/mkfs.h -> include/exitcodes.h [Sami Kerola] + - move fsck return values to exitcodes.h [Sami Kerola] + - move minix.h to include directory [Sami Kerola] + - remove kernel headers from minix.h [Sami Kerola] +ionice: + - IOPRIO_PRIO_* macros [Karel Zak] + - add long options [Sami Kerola] + - adjust synopsis and wording and formatting on the man page [Benno Schulenberg] + - allow to use names for -c [Karel Zak] + - coding style fixes [Sami Kerola] + - fix -V output [Sami Kerola] + - fix -p [Karel Zak] + - fix compiler warnings [-Wsign-compare] [Karel Zak] + - improve command line interpretation [Karel Zak] + - make -t more tolerant [Karel Zak] + - slightly improve grammar, spacing and consistency of man page [Benno Schulenberg] +iosize: + - fix gcc warning [Karel Zak] +ipcmk: + - cleanup usage() [Karel Zak] +ipcs: + - fix compiler warnings [-Wsign-compare] [Karel Zak] + - fix typo [Karel Zak] + - really show all resources when -a and -i are combined [Jens Kristian Søgaard] + - use unsigned type for uid/gid [Karel Zak] +isosize: + - check user input to be numeric [Sami Kerola] + - fix coding style [Sami Kerola] + - improve style, grammar and spacing of man page [Benno Schulenberg] + - include-what-you-use header check [Sami Kerola] + - remove global variables [Sami Kerola] + - simplify some error messages [Francesco Cosoleto] + - use long options [Sami Kerola] + - use program_invocation_short_name [Francesco Cosoleto] +kill: + - add -q sigval to use sigqueue(2) [Karel Zak] + - add support for real-time signals [Karel Zak] + - fix compiler warnings [-Wsign-compare] [Karel Zak] + - translate "-l " to RT [Karel Zak] +last: + - fix compiler warnings [-Wsign-compare] [Karel Zak] +ldattach: + - cleanup usage() [Karel Zak] +lib: + - [at.c] add readlink_at(), fix semantic for absolute paths [Karel Zak] + - [at.c] fix compiler warnings [-Wunused-parameter] [Karel Zak] + - [blkdev.c] add blkdev_get_physector_size() [Davidlohr Bueso] + - [blkdev.c] more robust blkdev_is_misaligned() [Karel Zak] + - [blkdev.c] remove kernel version check from blkdev_get_sector_size() [Karel Zak] + - [cpuset.c] fix compiler warnings [-Wsign-compare] [Karel Zak] + - [fsprobe.c] fix blkid_evaluate_spec() call [Karel Zak] + - [fsprobe.c] remove obsolete [Karel Zak] + - [fsprobe.c] use internal libblkid only [Karel Zak] + - [linux_version.c] accommodate two-component linux version (e.g. 3.0) [Karel Zak] + - [linux_version.c] simplify version parsing [Karel Zak] + - [loopdev.c] add module for work loop devices [Karel Zak] + - [loopdev.c] cleanup flags usage [Karel Zak] + - [loopdev.c] correct qsort compare function [Karel Zak] + - [loopdev.c] correct trivial typo [Davidlohr Bueso] + - [mangle.c] fix compiler warnings [-Wsign-compare] [Karel Zak] + - [procutils.c] add missing files. Sorry. [Karel Zak] + - [procutils.c] general purpose procfs parsing functions [Davidlohr Bueso] + - [procutils.c] improve robustness [Karel Zak] + - [strutils.c] fix compiler warnings [-Wsign-compare] [Karel Zak] + - [strutils.c] more robust strtol checks [Karel Zak] + - [strutils] avoid integer overflow on large values [Dave Reisner] + - [sysfs.c] add sysfs_readlink and name/path functions [Karel Zak] + - [sysfs.c] fix compiler warnings [-Wsign-compare] [Karel Zak] + - [sysfs.c] fix double free [Karel Zak] + - [sysfs.c] make sysfs_read_* function more robust [Karel Zak] + - [tt.c] Fix mbs_width macro for systems without WIDECHAR [Josiah Worcester] + - [tt.c] clean up used types [Karel Zak] + - [tt.c] dereferencing data before a null check [coverity scan] [Karel Zak] + - [tt.c] support fixed width and multiple tt_print_table() calls [Karel Zak] + - [tt.c] support key="value" output format [Karel Zak] + - [tt.c] use mbs_truncate() from mbsalign.c [Karel Zak] + - add generic sysfs utils [Karel Zak] + - add strtoul_or_err() function [Sami Kerola] +libblkid: + - [partitions] fix compiler warnings [-Wunused-parameter -Wsign-compare] [Karel Zak] + - [superblocks] fix compiler warnings [-Wunused-parameter -Wsign-compare] [Karel Zak] + - [topology] fix compiler warnings [-Wunused-parameter -Wsign-compare] [Karel Zak] + - add ID_PART_ENTRY_{OFFSET,SIZE,DISK} [Karel Zak] + - add PART_ENTRY_* to docs [Karel Zak] + - add blkid_evaluate_spec() [Karel Zak] + - add debug message [Karel Zak] + - add docs for new PART_ENTRY_* values [Karel Zak] + - add some debug messages [Karel Zak] + - befs validate di_br_size !=0 and br_per_di_br != 0 [Timo Warns] + - cleanup flags [Karel Zak] + - cleanup prober initialization [Karel Zak] + - don't ignore swap UUID if only first byte is zero [Richard W.M. Jones] + - fix EFI GPT uuid byte order [Karel Zak] + - fix compiler warnings [-Wunused-parameter -Wsign-compare] [Karel Zak] + - fix gcc warnings [Karel Zak] + - fix typo in *_to_cpu() usage in raid detection [coverity scan] [Karel Zak] + - found whole-disk for partitions mapped by kpartx [Karel Zak] + - ignore hfsplus superblocks with blocksize < 512 [Karel Zak] + - improve blkid__scan_dir [Karel Zak] + - make whole disk probing more robust [Karel Zak] + - minor change in man page [Karel Zak] + - move MINIX_MAXPARTITIONS to minix.h [Sami Kerola] + - remove test for non-zero head count in FAT superblock probe. [Nick Holloway] + - try to detect if PT is newer than LVM [Karel Zak] + - update docs [Karel Zak] + - use 64bit offset in search_fat_label to avoid truncation [Jindrich Makovicka] + - use MINIX_BLOCK_SIZE from minix.h [Sami Kerola] + - use blkid_probe_get_buffer() more carefully [Karel Zak] + - use cached buffers for nested PT probing [Karel Zak] + - use partno for partitions mapped by DM [Karel Zak] + - use stuff from sysfs.h and at.h [Karel Zak] + - use superblock structure from minix.h [Sami Kerola] + - use sysfs_init() more carefully [Karel Zak] + - validate hfs blocksize != 0 [Timo Warns] + - vfat big endian fix [Jindrich Makovicka] +libmount: + - add MOUNT_2.20 version to the API [Karel Zak] + - add fallbacks for old systems without umount2() syscall [Karel Zak] + - add generic function to read table for context [Karel Zak] + - add mnt_reset_table() [Karel Zak] + - add mnt_tabdiff_* functions [Karel Zak] + - add mnt_table_is_mounted() [Karel Zak] + - add mount support for loopdevs [Karel Zak] + - add mountpoint(1) implementation to samples/ [Karel Zak] + - add phelper= support [Karel Zak] + - add support for mount -a [Karel Zak] + - add support for x-* mount comments [Karel Zak] + - allow to convert /dev/loopN to backing filename [Karel Zak] + - allow to set parser callback to context [Karel Zak] + - avoid redundant declaration of mnt_context_do_umount [Jan Engelhardt] + - better "user" evaluation [Karel Zak] + - block signals when update utab [Karel Zak] + - block signals when writing to mtab [Karel Zak] + - clean up cache.c [Karel Zak] + - clean up docs [Karel Zak] + - cleanup *_do_[u]mount() return codes and docs [Karel Zak] + - cleanup code for "none" source and fstype, fix mem leak [Karel Zak] + - cleanup docs [Karel Zak] + - cleanup return codes in mount sample [Karel Zak] + - cleanup umount code [Karel Zak] + - create a default lock for mtab update [Karel Zak] + - cut up mount's help text into manageable chunks [Benno Schulenberg] + - don't export functions for vfs/fs/userspace mount options [Karel Zak] + - fix compiler warnings [-Wunused-parameter -Wsign-compare] [Karel Zak] + - fix debug message [Karel Zak] + - fix fstype caching [Karel Zak] + - fix leak in sample program [Karel Zak] + - fix memory leak in cache [Karel Zak] + - fix mtab update for "none" source [Karel Zak] + - fix parsing of mountinfo from 2.6.39 [Karel Zak] + - fix some typos and copy&paste mistakes in comments [Petr Uzel] + - fix test [Karel Zak] + - fix undefined sources [Davidlohr Bueso] + - fix uninitialized variable in sample [Karel Zak] + - improve apply_fstab debugging [Karel Zak] + - keep code more readable for analyzers [coverity scan] [Karel Zak] + - merge mtab and utab locking code [Karel Zak] + - minor changes in sample program [Karel Zak] + - minor fix to mnt_tabdiff_* [Karel Zak] + - minor fixes [Karel Zak] + - more robust mtab and utab update (CVE-2011-1676, CVE-2011-1677) [Karel Zak] + - plug memory leak in sample program [Petr Uzel] + - remove 'seclabel' on remount, improve for 2.6.39 [Karel Zak] + - remove unnecessary includes, mask API as stable [Karel Zak] + - rename in cache.c [Karel Zak] + - rename mount option "quiet" to "silent" [Karel Zak] + - replace mkostmps() with more portable mkstemp() [Karel Zak] + - small lock code cleanup [Karel Zak] + - support /run/mount rather than /dev/.mount [Karel Zak] + - support NULL source path for mnt_table_find_* functions [Karel Zak] + - update list of pseudo-filesystems [Karel Zak] + - use chdir() and NOFOLLOW umount flag for umount operation [Karel Zak] + - use libmnt_lock for utab flock [Karel Zak] + - use mnt_table_get_fs_root() in utab code [Karel Zak] +libuuid: + - __uuid_generate_time() report if clock_seq is safe [Petr Uzel] + - do not use invalid file descriptor [Petr Uzel] + - fix test in get_clock() [Petr Uzel] + - get_clock() report if the clock_seq is safe [Petr Uzel] + - introduce uuid_generate_time_safe() [Petr Uzel] + - manpage spelling fixes [Petr Uzel] + - move __uuid function to UUIDD_PRIVATE in uuid.sym [Karel Zak] + - rename uuid__generate_* to __uuid_generate_* [Petr Uzel] + - update manpage, mention uuid_generate_time_safe [Petr Uzel] +logger: + - fix variable type compiler warning [Sami Kerola] + - improve descriptions on man page, sort the options, add -h and -V [Benno Schulenberg] + - improve, sort and slice up usage() help text [Benno Schulenberg] + - indent usage() [Karel Zak] + - mention long option in logger man page [Sami Kerola] + - support for logging to UDP socket / remote syslog server [WUEBBELS, Josef \(Extern\)] + - support long options [Sami Kerola] + - use libc error printing facilities [Sami Kerola] + - use simple apostrophe instead of multibyte char in logger.1 [Petr Uzel] +login: + - cleanup unused variables [Karel Zak] + - does not ignore setgid() return code for non-roots [Karel Zak] + - fix checktty test to compile with old glibc [Karel Zak] + - fix compiler warnings [-Wunused-parameter -Wsign-compare] [Karel Zak] + - fix typos in man page [Karel Zak] +login-utils: + - include fix [Sami Kerola] +look: + - add long options [Sami Kerola] + - adjust the formatting and some wording of the man page [Benno Schulenberg] + - cleanup usage() [Karel Zak] + - fix manpage formatting [Petr Uzel] +losetup: + - allow to use --verbose with --all [Karel Zak] + - cleanup usage() [Karel Zak] + - correct qsort compare function [Andreas Schwab] + - spelling fixes [Petr Uzel] +lsblk: + - add --pairs to output in key="value" format [Karel Zak] + - add TYPE column to lsblk output [Milan Broz] + - add note to the man page [Karel Zak] + - add queue request size attribute [Milan Broz] + - add state attribute [Milan Broz] + - add support for discard topology (-D option) [Martin K. Petersen] + - bitwise or TT_FL_ASCII with tt_flags instead of setting [Dave Reisner] + - correct mistaken word [Benno Schulenberg] + - fix compiler warnings [-Wsign-compare] [Karel Zak] + - fix readlink() usage [Karel Zak] + - fix strtoul() usage [coverity scan] [Karel Zak] + - ignore device if disappear while processing [Milan Broz] + - improve discard support [Martin K. Petersen] + - use generic sysfs functions [Karel Zak] + - use ssize_t for readlink() return code [Karel Zak] + - use sysfs_read_u64() rather than sysfs_strdup() + atol() [Karel Zak] +lscpu: + - add support for books [Heiko Carstens] + - cleanup usage() [Karel Zak] + - detect VMware hypervisor [Stephen Hemminger] + - detect sun4{u,v} in /proc/cpuinfo for sparc64 [Karel Zak] + - extend --parse functionality [Karel Zak] + - fix bogomips detection for s390 [Heiko Carstens] + - fix compiler warnings [-Wsign-compare] [Karel Zak] + - fix op-mode for /{sys,proc} dumps [Karel Zak] + - fix threads-per-core calculation [Karel Zak] + - use xalloc [Davidlohr Bueso] + - use xstrdup from xalloc.h [Petr Uzel] +mcookie: + - change coding style [Sami Kerola] + - cleanup usage() [Karel Zak] + - use warnx, long options and help screen [Sami Kerola] +md5: + - use symbolical digest length [Sami Kerola] +mesg: + - add \n to usage() output [Karel Zak] + - add long options to the man page [Sami Kerola] + - cleanup usage() [Karel Zak] + - man page clean wqup [Karel Zak] + - new --verbose option [Sami Kerola] + - use long options, also --help and --version added [Sami Kerola] +minix: + - add MINIX_ prefix to some global macros [Karel Zak] + - add common functionality [Davidlohr Bueso] + - add version 3 layout [Davidlohr Bueso] + - cleanup global variables and macros [Karel Zak] + - fix warning [Davidlohr Bueso] + - move globals and inline functions to minix_programs.h [Sami Kerola] + - remove fs state [Davidlohr Bueso] + - remove unnecessary initializations [Karel Zak] +misc: + - hurd build fixes [Samuel Thibault] + - use unsigned int for bit-fileds [Karel Zak] +misc-utils: + - remove misleading README files [Sami Kerola] +mkfs: + - add long options [Sami Kerola] + - coding style fixes [Sami Kerola] + - fix small formatting issues in man page [Benno Schulenberg] + - include-what-you-use header check [Sami Kerola] +mkfs.bfs: + - add long options [Sami Kerola] + - cleanu p --version output [Karel Zak] + - coding style fix [Sami Kerola] + - include-what-you-use header check [Sami Kerola] + - use err() instead of errx() [Karel Zak] + - use libc error facilities [Sami Kerola] + - use xstrdup from xalloc.h [Sami Kerola] + - validate numeric user inputs [Sami Kerola] +mkfs.cramfs: + - clearer error message, "cannot close" instead of "closing" [Benno Schulenberg] + - coding style [Sami Kerola] + - convert spaces to tabs [Sami Kerola] + - error printing fixes [Sami Kerola] + - few symbolic exit codes where missing [Sami Kerola] + - include-what-you-use header check [Sami Kerola] + - use program_invocation_short_name [Sami Kerola] + - use xalloc.h [Sami Kerola] + - validate numeric user inputs [Sami Kerola] +mkfs.minix: + - add fs version options [Davidlohr Bueso] + - add minix v3 support [Davidlohr Bueso] + - check for misalignment [Davidlohr Bueso] + - document -3 option [Davidlohr Bueso] + - fix compiler warnings [-Wsign-compare] [Karel Zak] + - fix write_all() usage [Karel Zak] + - general cleanups [Davidlohr Bueso] + - remove die() [Davidlohr Bueso] + - standardize superblock attribute settings [Davidlohr Bueso] + - use common functionality [Davidlohr Bueso] + - use inode wrappers [Davidlohr Bueso] +mkswap: + - Use c.h [maximilian attems] + - add alignment check [Davidlohr Bueso] + - coding style unification [Sami Kerola] + - fix compiler warning [Karel Zak] + - fix to compiler warnings [Sami Kerola] + - support long options and check user inputs [Sami Kerola] + - use EXIT_ values [Sami Kerola] + - use libc error messaging facilities [Sami Kerola] + - use xalloc [Sami Kerola] +more: + - new usage output, and some trivial fixes [Sami Kerola] +mount: + - -a segfaults when 4th field is omitted (mount options) [Karel Zak] + - add note about blank lines to fstab.5 [Karel Zak] + - add phelper= [Karel Zak] + - add ufstype=ufs2 to mount.8 [Karel Zak] + - canonicalize fstab mnt_dir [Karel Zak] + - first look for mountpoint [Karel Zak] + - fix compiler warnings [-Wsign-compare -Wunused-parameter] [Karel Zak] + - fix double free in mount.c with SELinux enabled [Kirill Elagin] + - fix reference to sharedsubtree documentation in mount.8 [Mike Hommey] + - fix typo in mount.8 [Petr Uzel] + - fix typos in mount.8 [Nicolas Francois] + - make the error message clear [Petr Uzel] + - mount.8 remove reprecated bh/nobh options from the manual page [Lukas Czerner] + - remove 'seclabel' mount option on remount [Karel Zak] + - remove accidental extra word in ext4 documentation in mount.8 [Petr Uzel] + - remove note about obsolete volume_id library from man page [Karel Zak] + - rename "quiet" to "silent" (MS_SILENT) [Karel Zak] + - update mtab on "-f" and compiled with libmount [Karel Zak] + - use fflush() and temporary file for mtab updates (CVE-2011-1089) [Karel Zak] + - use libmount to detect already mounted bind mounts [Karel Zak] + - use lock from mnt_update_table() [Karel Zak] +mountpoint: + - add new command [Karel Zak] + - cleanup usage() [Karel Zak] +namei: + - add --version option [Sami Kerola] + - cleanup usage() [Karel Zak] + - fix to argument handling [Sami Kerola] + - remove unused variable [Karel Zak] + - use xalloc.h [Sami Kerola] +partx: + - add --pairs to output in key="value" format [Karel Zak] + - add fallback for openat() to be usable on old systems [Karel Zak] + - cleanup usage() [Karel Zak] + - do not print null [Davidlohr Bueso] + - get partition number with sysfs lib [Davidlohr Bueso] + - improve clarity of some messages, gettextize two missed ones [Benno Schulenberg] + - remove unused headers [Davidlohr Bueso] + - switch on localization [Benno Schulenberg] + - trivial comment fix [Davidlohr Bueso] + - use lowercase in usage() [Karel Zak] + - use sysfs_deinit [Davidlohr Bueso] +partx, lsblk: + - fix gettext calls [Karel Zak] +pg: + - fix compiler warnings [-Wunused-result] [Karel Zak] + - fix write_all() usage [Karel Zak] + - normalize formatting of the man page, and tweak some of its wording [Benno Schulenberg] + - return value warning fix [Sami Kerola] + - use size_t for wcstombs() return code [Sami Kerola] +po: + - also extract plural messages from the C files [Benno Schulenberg] + - change MSGID_BUGS_ADDRESS [Karel Zak] + - do not search /samples/ subdirectories for translatable strings [Benno Schulenberg] + - merge changes [Karel Zak] + - update cs.po (from translationproject.org) [Petr Písař] + - update da.po (from translationproject.org) [Joe Hansen] + - update de.po (from translationproject.org) [Philipp Thomas] + - update fr.po (from translationproject.org) [David Prévot] + - update ja.po (from translationproject.org) [Takeshi Hamasaki] + - update nl.po (from translationproject.org) [Benno Schulenberg] + - update pl.po (from translationproject.org) [Jakub Bogusz] +procutils: + - include missing header [Davidlohr Bueso] +raw: + - remove constants from message strings; undo some abbrevs [Benno Schulenberg] +readprofile: + - don't stop parsing at __init_end [Po-Yu Chuang] + - fix compiler warnings [-Wsign-compare] [Karel Zak] +rename: + - cleanup usage() [Karel Zak] + - verbose option & maintenance fixes [Sami Kerola] +renice: + - cleanup usage() [Karel Zak] +rev: + - mark signo unused in sig_handler [Sami Kerola] + - memory leak fix [Sami Kerola] + - mention long options in man page [Sami Kerola] + - option parsing bug fixed & long options added [Sami Kerola] + - use xrealloc from xalloc.h [Sami Kerola] +rtcwake: + - cleanup usage() [Karel Zak] + - do not duplicate argument strings [Davidlohr Bueso] + - test for available suspend modes [Lawrence Rust] +script: + - cleanup usage() [Karel Zak] + - don't include err.h directly [Karel Zak] + - fix compiler warnings [Sami Kerola] + - include-what-you-use header check [Sami Kerola] + - indicate that the file argument to --timing is optional [Benno Schulenberg] + - inform about long options in script manual page [Sami Kerola] + - normalize formatting of the man page [Benno Schulenberg] + - option --force added [Sami Kerola] + - optional timing output file argument added [Sami Kerola] + - remove magic constants and a type mismatch fix [Sami Kerola] + - remove unnecessary void casting [Sami Kerola] + - support for long options [Sami Kerola] + - use libc error printing facilities [Sami Kerola] +scriptreplay: + - allow arguments as command line switches [Sami Kerola] + - bug in argument check [Sami Kerola] + - cleanup usage() [Karel Zak] + - end printing with new line [Sami Kerola] + - fix buffer overflow [Sami Kerola] + - improve synopsis and formatting and wording in man page [Benno Schulenberg] + - support long options [Sami Kerola] +setarch: + - add --uname-2.6 option for personality flag UNAME26 [Ben Hutchings] + - fix compiler warnings [-Wsign-compare] [Karel Zak] +setterm: + - add note about long dump file paths to man page [Sami Kerola] + - cleanup usage() [Karel Zak] + - fix variable types, and unused argument warnings [Sami Kerola] + - function screendump coding style fixed [Sami Kerola] + - mention in man setterm.1 -version and -help switches [Sami Kerola] + - segfault with long dump file name [Sami Kerola] + - support -help and -version options [Sami Kerola] + - use libc error printing facilities [Sami Kerola] + - use xmalloc() [Karel Zak] +sfdisk: + - (man page) use comma between short and long option instead of "or" [Benno Schulenberg] + - correct '--inside-order' to '--inside-outer' in documentation [Benno Schulenberg] + - declare unused function attributes [Sami Kerola] + - fix coding style. [Karel Zak] + - fix for data type mismatches [Sami Kerola] + - fix implicit overflow [Sami Kerola] + - fix typo in man page [Karel Zak] + - gettextize each warning as a whole [Benno Schulenberg] + - help screen format [Sami Kerola] + - improve descriptions of options --no-reread and --show-extended [Benno Schulenberg] + - indent usage() [Karel Zak] + - make some tests conditional to !Linux [Giulio Orsero] + - previously undocumented options to usage [Sami Kerola] + - remove inconsistent and wasteful newlines in the _() calls [Benno Schulenberg] + - rename warn to my_warn [Fabian Groffen] + - returns non-zero on failed BLKRRPART ioctl [Andrea Galbusera] + - slice help text into small chunks and improve its wording [Benno Schulenberg] +simpleinit: + - remove this deprecated set of utils [Karel Zak] +strutils: + - new wrapper function strtoll_or_err [Sami Kerola] +swaplabel: + - fix compiler warnings [-Wunused-parameter] [Karel Zak] +swapon: + - fix compiler warnings [-Wsign-compare] [Karel Zak] + - missing separator in swapon -s command [Karel Zak] + - rewrite usage() [Karel Zak] + - use xalloc lib [Davidlohr Bueso] +sysfs: + - free used resources [Davidlohr Bueso] +tailf: + - fix memmove() usage [Karel Zak] + - fix open() return value check [coverity scan] [Karel Zak] + - harmonize option argument and explanation in usage message [Benno Schulenberg] + - support --lines 0 [Karel Zak] + - tailf mention new help & version options in man page [Sami Kerola] + - use long options [Sami Kerola] +taskset: + - adjust style of man page [Benno Schulenberg] + - coding style fixes [Sami Kerola] + - include-what-you-use header check [Sami Kerola] + - make threads aware [Davidlohr Bueso] + - use xalloc lib [Davidlohr Bueso] +test_sysinfo: + - Use CHAR_BIT*sizeof(void*) instead of __WORDSIZE. [Josiah Worcester] + - fix printf format [Karel Zak] +tests: + - [cpuset] call free() for range [Karel Zak] + - add 'none' source to libmount update tests [Karel Zak] + - add -o remount to libmount tests [Karel Zak] + - add colrm basic test [Sami Kerola] + - add column tests [Sami Kerola] + - add dump from PPC64 to lscpu tests [Karel Zak] + - add dump from UltraSparc T1 to lscpu tests [Karel Zak] + - add dump from huge ia64 to lscpu tests [Karel Zak] + - add lscpu dumps from three Dell's & a Xen [Sami Kerola] + - add mount(8) test for fstab entries without options [Karel Zak] + - add test for RLIMIT_FSIZE issue [Karel Zak] + - add tests for [u]mount regular file [Karel Zak] + - don't run mount/regfile test on old kernel [Karel Zak] + - fix compiler warnings [-Wunused-parameter] [Karel Zak] + - grammar fixes [Davidlohr Bueso] + - remove generated file [Karel Zak] + - test column(1) with multiple input files [Karel Zak] + - update GPT test [Karel Zak] + - update blkid MD test [Karel Zak] + - update for recent fdisk changes [Karel Zak] + - update libmount tests (add optstr output) [Karel Zak] + - update lscpu tests [Karel Zak] + - use libmount tab update tests for UID=0 only [Karel Zak] +textual: + - add some guiding comments for translators [Benno Schulenberg] + - fix three typos in message strings and improve consistency [Benno Schulenberg] + - improve the wording of some error and usage messages [Benno Schulenberg] + - tweak several manpages, mainly the blkid one [Benno Schulenberg] +ttymsg: + - fix compiler warnings and use EXIT_ [Sami Kerola] +tunelp: + - fix compiler warnings [-Wsign-compare] [Karel Zak] +ul: + - add -h and -V to the man page; use "file" and lowercase [Benno Schulenberg] + - in usage() not overwriting but overriding is meant [Benno Schulenberg] + - make usage() say that more than one input file is allowed [Benno Schulenberg] + - remove superfluous return as usage() does not return [Benno Schulenberg] +ul.c: + - close files and free memory after usage [Sami Kerola] + - code style and comment fixes [Sami Kerola] + - convert definition to function [Sami Kerola] + - escape handling refactored [Sami Kerola] + - fix compier warnings [Sami Kerola] + - magic constant removal [Sami Kerola] + - use long options [Sami Kerola] + - warn user when command chooses term type [Sami Kerola] +umount: + - allow unmounting loopdev specified by associated file [Petr Uzel] + - block signals when umounting and updating mtab (CVE-2011-1676, CVE-2011-1677) [Karel Zak] + - do not hang with disconnected NFS mounts [Petr Uzel] + - segfaults with inconsistent entry in /etc/fstab [Karel Zak] + - support non-canonical devnames in mtab [Karel Zak] + - use UMOUNT_NOFOLLOW for non-root users [Karel Zak] + - use helper= for all UIDs [Karel Zak] +unshare: + - cleanup usage() [Karel Zak] +uuidd: + - (man page) alphabetize the options [Benno Schulenberg] + - (man page) repair the snipped up description of option -T [Benno Schulenberg] + - add "-q" to synopsis, order options alphabetically [Benno Schulenberg] + - cleanup usage() [Karel Zak] + - coding style fixes [Sami Kerola] + - die() function removed [Sami Kerola] + - distinguish between singular and plural in three messages [Benno Schulenberg] + - fix compiler warnings [-Wsign-compare] [Karel Zak] + - fix manpage libuuid(3) does not exist [Petr Uzel] + - long options & new usage [Sami Kerola] + - remove goto statement [Sami Kerola] + - use symbolic exit and return values [Sami Kerola] +uuidgen: + - add long options [Sami Kerola] + - cleanup usage() [Karel Zak] +vipw: + - (man page) uniformize header and footer, tweak the formatting [Benno Schulenberg] +wall: + - add long options and 79 char cut info to the man page [Sami Kerola] + - build with SUID_{C,LD}FLAGS [Petr Uzel] + - cleanup mbufsize usage [Karel Zak] + - cleanup usage() [Karel Zak] + - remove global variables and support TMPDIR [Sami Kerola] + - support --timeout switch [Sami Kerola] + - support --timeout switch (vol 2.) [Karel Zak] + - use long options [Sami Kerola] +whereis: + - cleanup usage() [Karel Zak] + - coding style [Sami Kerola] + - new usage output & version printing [Sami Kerola] + - remove find() [Davidlohr Bueso] + - remove goto statements [Sami Kerola] + - update coding style [Davidlohr Bueso] + - warnings, exit values, braces and returns [Sami Kerola] +wipefs: + - add version printing & compiler warning [Sami Kerola] + - change option -v to -V for --version; add it to man page [Benno Schulenberg] + - gettextize one sentence as a whole [Benno Schulenberg] +write: + - cleanup usage() [Karel Zak] + - long options & new usage [Sami Kerola] + - maintenance fixes [Sami Kerola] + - remove inconsistent periods from two error messages [Benno Schulenberg] + +- cleanup usage() [Karel Zak] +- long options & new usage [Sami Kerola] +- maintenance fixes [Sami Kerola] +- remove inconsistent periods from two error messages [Benno Schulenberg] diff --git a/Documentation/releases/v2.21-ReleaseNotes b/Documentation/releases/v2.21-ReleaseNotes new file mode 100644 index 0000000..6046272 --- /dev/null +++ b/Documentation/releases/v2.21-ReleaseNotes @@ -0,0 +1,979 @@ +Util-linux 2.21 Release Notes +============================= + + The udev compatible output (-o udev) from blkid(8) is deprecated. Udev + links directly to libblkid now. + +Release highlights +------------------ + +chcpu(8): + - this NEW COMMAND can modify the state of CPUs, enable or disable CPUs, + scan for new CPUs, change the CPU dispatching mode of the underlying + hypervisor, and request CPUs from the hypervisor (configure) or return CPUs to + the hypervisor (deconfigure). + +prlimit(1): + - this NEW COMMAND is very smart command line interface to prlimit(2) + syscall and allows to get and set a process resource limits. It's much + more flexible than old shell built-in ulimit(1). + +login(1): + - the command has been rewritten, features: + * strictly PAM-only, another authentication method is unsupported + * compatible with Suse login(1) + * supports /etc/login.defs(5) config file + +losetup(8): + - the command has been rewritten, features: + * requires kernel >= 2.6 + * supports 64bit ioctls only + * losetup -a does not require root permissions (kernel >= 2.6.37) + * uses new /dev/loop-control kernel API (kernel >= 3.1) + * supports new command line option --partscan to enable kernel partition + table parser + +mount(8), umount(8): + - new pure libmount based mount(8) and umounts(8) commands are available, + this experimental implementation could be enabled by --enable-new-mount + +agetty(8): + - supports new command line options --nohints to disable hints about Num, + Caps and Scroll Locks + - supports new command line option --remote to add a hostname to the + login(1) command line + +dmesg(1): + - supports new command line options --file to read the log from a file rather + than from kernel buffer + +fallocate(8): + - supports new command line options --punch-hole to punch holes in the file + +findmnt(8): + - supports alternative location of the fstab file + +ipcrm(8): + - supports new command line option --all to remove all resources + +lscpu(1): + - supports new command line options --all, --offline and --online to list + all, offline or online CPUs + - supports s390 topology description (polarization, books, ...) + +partx(8): + - supports partitioned loop devices (note that since kernel 3.2 partitioned + loop devices are usable everywhere (including Fedora)) + +wipefs(8): + - allows to zap partition tables + - supports new command line option "--type " to wipe only specified + filesystems, RAIDs or partition table types + +libblkid: + - provides new function blkid_do_wipe() to remove all signatures from the + given block device. This new functionality is used in wipefs(8) and + mkswap(8). It's recommended to use this function in mkfs-like programs. + + +Stable maintenance releases between v2.20 and v2.21 +--------------------------------------------------- + +util-linux 2.20.1 [20-Oct-2011] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.20/v2.20.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.20/v2.20.1-ChangeLog + + +Changes between v2.20 and v2.21 +------------------------------- + + For more details see ChangeLog files at: + https://www.kernel.org/pub/linux/utils/util-linux/v2.21/ + +agetty: + - add --nohints [Karel Zak] + - add static and const qualifiers [Francesco Cosoleto] + - check localtime() result [Karel Zak] + - don't use log_err() for non-fatal errors [Karel Zak] + - double equals sign typo in opentty() [Karel Zak] + - map NL to CR-NL on output in initial termiossettings [Jacoby Hickerson] + - pass hostname to login(1) [Karel Zak] + - test ECHO on c_lflag [Karel Zak] +arch: + - minor changes to usage() [Karel Zak] + - start using arch as a usage() example [Sami Kerola] +blkdev: + - add is_blkdev function [Davidlohr Bueso] +blkid: + - add comment to keep static analysers happy [Karel Zak] + - check fd before use [coverity scan] [Karel Zak] + - fix unfinished sentence for -l option in blkid.8 [Dave Reisner] + - move cache to /run on new systems [Karel Zak] + - potential null derefence [smatch scan] [Karel Zak] + - print ID_PART_ENTRY_* for small devices [Karel Zak] + - remove -w option from man page and usage() output [Karel Zak] + - remove dead assigment [Karel Zak] +blockdev: + - make functions static [Wanlong Gao] + - make the code more readable for static analysers [Karel Zak] + - remove non-ANSI function declaration [smatch scan] [Karel Zak] +build-sys: + - add --enable-most-builds [Sami Kerola] + - add --enable-new-mount [Karel Zak] + - add UL_BUILD_INIT macro [Karel Zak] + - add UL_REQUIRES_* macros [Karel Zak] + - add changelog target [Karel Zak] + - add checksmatch target [Karel Zak] + - add checkxalloc to toplevel Makefile [Karel Zak] + - add err and errx to smatch no_return_funcs [Karel Zak] + - add ko-release-gen script [Karel Zak] + - add ko-release-push script [Karel Zak] + - add log_err to smatch non-return functions [Karel Zak] + - add missing BUILD_PRLIMIT [Karel Zak] + - add missing headers to dist [Sami Kerola] + - add path.h to Makefile.am [Karel Zak] + - add sleepexit from login.c to smatch non-return functions [Karel Zak] + - add smatch data [Karel Zak] + - add tools/ to EXTRA_DIST [Karel Zak] + - add tools/config-gen and basic compilation scenarios [Karel Zak] + - check HAVE_ definitions with #ifdef [smatch scan] [Sami Kerola] + - check scanf %ms modifier [Karel Zak] + - cleanup BUILD_ARCH [Karel Zak] + - cleanup BUILD_CRAMFS [Karel Zak] + - cleanup BUILD_ELVTUNE [Karel Zak] + - cleanup BUILD_FALLOCATE [Karel Zak] + - cleanup BUILD_FSCK [Karel Zak] + - cleanup BUILD_HWCLOCK [Karel Zak] + - cleanup BUILD_KILL, enable kill(1) by default [Karel Zak] + - cleanup BUILD_LIBMOUNT [Karel Zak] + - cleanup BUILD_LOGIN_UTILS [Karel Zak] + - cleanup BUILD_LSBLK [Karel Zak] + - cleanup BUILD_MOUNT [Karel Zak] + - cleanup BUILD_MOUNTPOINT [Karel Zak] + - cleanup BUILD_PARTX [Karel Zak] + - cleanup BUILD_PIVOT_ROOT [Karel Zak] + - cleanup BUILD_RAW [Karel Zak] + - cleanup BUILD_SCHEDUTILS [Karel Zak] + - cleanup BUILD_SWITCH_ROOT [Karel Zak] + - cleanup BUILD_UNSHARE [Karel Zak] + - cleanup BUILD_UUIDD [Karel Zak] + - cleanup BUILD_{DDATE,AGETTY} [Karel Zak] + - cleanup BUILD_{LAST,LINE,MESG} [Karel Zak] + - cleanup BUILD_{LS,CH}CPU [Karel Zak] + - cleanup BUILD_{RENAME,RESET} [Karel Zak] + - cleanup BUILD_{WALL,WRITE} [Karel Zak] + - cleanup HAVE_LIBCRYPT [Karel Zak] + - cleanup misc-utils/Makefile.am [Karel Zak] + - ddate typo fixed [Sami Kerola] + - don't install ru/ddate.1 if ddate disabled [Karel Zak] + - don't use full paths for smatch [Karel Zak] + - enable .xz, disable .gz [Karel Zak] + - enhance error message for missing libtoolize [Sami Kerola] + - fix UL_INIT_BUILD macro [Karel Zak] + - fix building of wall [Petr Uzel] + - fix libuuid initialization [Karel Zak] + - fixes to USAGE_* macros [Sami Kerola] + - improve changelog target [Karel Zak] + - improve ko-release-* scripts [Karel Zak] + - move --enable-lib{mount,uuid,blkid} before others --enable-* [Karel Zak] + - move --with-* before --enable-* [Karel Zak] + - move gettext check before --enable-* [Karel Zak] + - move structs, types, descs checks before --enable-* [Karel Zak] + - move swapon from mount/ to sys-utils/ [Karel Zak] + - move type checks before --enable-* [Karel Zak] + - release++ (v2.21-rc1) [Karel Zak] + - release++ (v2.21-rc2) [Karel Zak] + - remove redundant __progname check [Karel Zak] + - remove redundant flags from mount/Makefile.am [Karel Zak] + - remove unnecessary perl check [Karel Zak] + - rename BUILD_BUG_ON_ZERO definition [Sami Kerola] + - rename and move macros [Karel Zak] + - require PAM for login-utils [Karel Zak] + - suport static build for new [u]mount [Karel Zak] + - use $(MAKE) for checksmatch [Karel Zak] + - use $build_libblkid [Karel Zak] + - use --enable-most-builds for distcheck [Karel Zak] +cal: + - non-ANSI definition [smatch scan] [Karel Zak] +cfdisk: + - add note about alignment to the man page [Karel Zak] + - wctomb() returns -1 on error [Karel Zak] +chcpu: + - check get_max_number_of_cpus() result properly [Karel Zak] + - convert to use lib/path.c [Heiko Carstens] + - man page update [Heiko Carstens] + - new tool [Heiko Carstens] + - provide better user feedback [Heiko Carstens] + - use appropriate variable type [cppcheck] [Sami Kerola] +chcpu,cpuset: + - reduce code duplication for cpu list parsing [Heiko Carstens] +chfn: + - align with howto-usage-function.txt [Sami Kerola] + - fix coding style [Sami Kerola] + - fix use-after-free [coverity scan] [Karel Zak] + - remove non-ANSI definitions [smatch scan] [Karel Zak] + - remove non-PAM code [Karel Zak] + - use libc error printing facilities [Sami Kerola] +chfn, chsh: + - new file pamfail.h for error printing [Sami Kerola] +chfn, chsh, setpwnam: + - get true/false from stdbool.h [Sami Kerola] +chfn, setpwnam: + - let config.h be in control of extensions in use [Sami Kerola] +chrt: + - add comment to keep static analysers happy [Karel Zak] +chsh: + - align with howto-usage-function.txt [Sami Kerola] + - build bug do not override config.h definition [Sami Kerola] + - fix coding style [Sami Kerola] + - remove non-PAM code [Karel Zak] + - use libc error printing facilities [Sami Kerola] +column: + - avoid memory overrun and/or use of uninitialized buffer [Jim Meyering] + - don't check result from xmalloc() [Karel Zak] + - fix error reported by smatch [Sami Kerola] + - use xalloc libs [Dave Reisner] +cpuset: + - add option to allow cpulist_parse() to fail [Heiko Carstens] +ctrlaltdel: + - add version & help options [Sami Kerola] + - minor changes to usage() [Karel Zak] +cytune: + - add long options and usage() [Sami Kerola] + - check numeric user inputs [Sami Kerola] + - coding style fixes [Sami Kerola] + - cytune.8 fix formatting [Petr Uzel] + - fix printf type warning [Sami Kerola] + - refactor main(), new function query_tty_stats() [Sami Kerola] + - use libc error printing facilities [Sami Kerola] +dmesg: + - add --file option [Karel Zak] + - fix for non-CONFIG_PRINTK_TIME kernels [Karel Zak] + - fix non-ANSI function declaration [smatch scan] [Karel Zak] + - fix printing of multibyte characters [Petr Uzel] + - remove extra space only after time stamp [Karel Zak] +do: + - fix czech LABEL= translation [Karel Zak] +docs: + - add debugging doc [Davidlohr Bueso] + - Documentation directory added [Sami Kerola] + - add --version to setarch.8 [Sami Kerola] + - add howto-build-sys.txt [Karel Zak] + - add hwclock -c to TODO file [Karel Zak] + - add info about virt-what to TODO [Karel Zak] + - add libmount & libblkid debug instructions [Sami Kerola] + - add long options to ipcmk.1 man page [Sami Kerola] + - add long options to ipcrm.1 man page [Sami Kerola] + - add long options to ipcs.1 man page [Sami Kerola] + - add long options to readprofile.8 [Sami Kerola] + - add long options to tunelp.8 [Sami Kerola] + - add non-return function and if shorthand tips [Sami Kerola] + - add note about BUILD_* macros [Karel Zak] + - add note about config-gen purpose [Karel Zak] + - add note about fdisk to TODO [Karel Zak] + - add note about losetup to TODO [Karel Zak] + - add note about mount(8) options to TODO [Karel Zak] + - add notes about tools/config-gen [Karel Zak] + - add prlimit to the TODO file [Karel Zak] + - add usage() howto for contributors [Sami Kerola] + - add v2.21 ReleaseNotes [Karel Zak] + - add x-mount-mkdir to TODO file [Karel Zak] + - align col.1 with howto-man-page.txt [Sami Kerola] + - align colcrt.1 with howto-man-page.txt [Sami Kerola] + - align colrm.1 with howto-man-page.txt [Sami Kerola] + - align fallocate.1 with howto-man-page.txt [Sami Kerola] + - align hexdump.1 with howto-man-page.txt [Sami Kerola] + - align logger.1 with howto-man-page.txt [Sami Kerola] + - align more.1 with howto-man-page.txt [Sami Kerola] + - align renice.1 with howto-man-page.txt [Sami Kerola] + - align rev.1 with howto-man-page.txt [Sami Kerola] + - align script.1 with howto-man-page.txt [Sami Kerola] + - align scriptreplay.1 with howto-man-page.txt [Sami Kerola] + - align tunelp.8 with howto-man-page.txt [Sami Kerola] + - align ul.1 with howto-man-page.txt [Sami Kerola] + - align vipw.8 with howto-man-page.txt [Sami Kerola] + - align wall.1 with howto-man-page.txt [Sami Kerola] + - chcpu and readprofile are sysadmin utils [Sami Kerola] + - clean up old readme files [Sami Kerola] + - copy contributors from legacy files to AUTHORS [Sami Kerola] + - fix return value table in fsck.8 [Sami Kerola] + - mention long options in ctrlaltdel.8 [Sami Kerola] + - mention long options in cytune.8 [Sami Kerola] + - mention long options in pivot_root.8 [Sami Kerola] + - move setuid information from reame to hwclock.8 [Sami Kerola] + - new file Documentation/howto-compilation.txt [Sami Kerola] + - new file Documentation/howto-contribute.txt [Sami Kerola] + - new file Documentation/howto-man-page.txt [Sami Kerola] + - new file Documentation/release-schedule.txt [Sami Kerola] + - new file Documentation/source-code-management.txt [Sami Kerola] + - note about independent super block structs [Sami Kerola] + - refresh TODO file [Karel Zak] + - remove README.clear [Sami Kerola] + - remove URL to u-l webpage [Karel Zak] + - remove duplicated text [Sami Kerola] + - require kernel support before accepting use of it [Sami Kerola] + - restructure flock.1 manual page [Sami Kerola] + - tell what the Documentation/ is about [Sami Kerola] + - trivial documentation fixes and improvements [Petr Uzel] + - update AUTHORS file [Karel Zak] + - update TODO [Karel Zak] + - update TODO [Petr Uzel] + - update TODO file [Davidlohr Bueso] + - update TODO file [Karel Zak] + - update copyright years [Karel Zak] + - update v2.21-ReleaseNotes [Karel Zak] + - use .LGPL extension for file with GNU Lesser License [Karel Zak] + - use correct translation project url [Sami Kerola] +fallocate: + - add FALLOC_FL_PUNCH_HOLE support [Cong Wang] + - clean up fallbacks for FALLOC_FL_* flags [Karel Zak] +fdformat: + - fix uninitialized variable [Francesco Cosoleto] +fdisk: + - Fix bad invalid flag 0x00000 warning message [Francesco Cosoleto] + - add missing break [Karel Zak] + - avoid an intermediate variable in command_prompt() [Francesco Cosoleto] + - avoid segfault validating a sgi label (boot/swap not set) [Francesco Cosoleto] + - don't shorten long path to disk device [Karel Zak] + - don't swap unsigned char [Karel Zak] + - don't use get_existing_partition() if disk label isn't dos [Francesco Cosoleto] + - drop one parameter from try() function [Francesco Cosoleto] + - enable expert menu with SGI label [Francesco Cosoleto] + - fix cdrom detection [Karel Zak] + - fix incorrect position of is_ide_cdrom_or_tape() call [Francesco Cosoleto] + - fix last sector dialog bug after an incorrect input with suffix [Francesco Cosoleto] + - fix poor coding style [Karel Zak] + - get rid of get_boot(create_empty_sun) call [Francesco Cosoleto] + - get rid of type_open global variable [Francesco Cosoleto] + - improve some messages [Francesco Cosoleto] + - move code for renaming SGI bootfile to SGI module [Francesco Cosoleto] + - move command prompt code to a separate function [Francesco Cosoleto] + - print a message with size and type of created partition [Francesco Cosoleto] + - print partition deleted message [Francesco Cosoleto] + - print welcome message [Francesco Cosoleto] + - remove PACKED macro [Karel Zak] + - remove possibly_osf_label variable that is only assigned [Francesco Cosoleto] + - remove redundant declaration [cppcheck] [Sami Kerola] + - remove uneecessary code [Karel Zak] + - remove unused 'require' member in enum action [Francesco Cosoleto] + - remove unused guess_device_type() function [Francesco Cosoleto] + - rename bselect, xselect functions [Francesco Cosoleto] + - rename read_int_sx() and some related variables [Francesco Cosoleto] + - rename try() and tryprocpt() functions [Francesco Cosoleto] + - rewrite print menu system [Francesco Cosoleto] + - split delete_partition() off from dos_delete_partition() [Francesco Cosoleto] + - update information about GNU Parted in fdisk.8 [Petr Uzel] + - use CDROM_GET_CAPABILITY ioctl [Davidlohr Bueso] + - use ngettext() in str_units() for plural forms [Francesco Cosoleto] +findmnt: + - add note about LIBMOUNT_* env.variables [Karel Zak] + - fix resource leak [coverity scan] [Karel Zak] + - initialize rc variable [Karel Zak] + - make --poll more robust [Karel Zak] + - revert --fstab behavior, add --tab-file option [Karel Zak] + - support alternative location of fstab [Dave Reisner] + - support multiple --tab-file options [Karel Zak] + - use warnx for libmnt error callback [Dave Reisner] +flock: + - add missing word »be« to flock.1 [Paul Menzel] + - align with howto-usage-function.txt [Sami Kerola] + - fix coding style [Sami Kerola] + - fix flock.1 grammar by removing »s« [Paul Menzel] + - fix sizeof usage [clang -Wsizeof-pointer-memaccess] [Karel Zak] + - make flock(1) work on NFSv4 [Michal Kubecek] + - move long_options struct to function scope [Sami Kerola] + - simplify strtotimeval() [Sami Kerola] + - timer code refactoring [Karel Zak] + - use O_RDWR as fallback if O_RDONLY returns EIO [Karel Zak] + - use function attributes [Sami Kerola] + - use libc error printing facilities [Sami Kerola] + - use strutils.h to check numeric user input [Sami Kerola] + - use sysexit.h for all exit values [Sami Kerola] +fsck: + - make fs->type usage more robust [smatch scan] [Karel Zak] + - use FS blacklist for non-all mode too [Karel Zak] +fsck.cramfs: + - mark usage() as noreturn [Karel Zak] +fsck.minix: + - fix zone_map memory allocation failure check [Francesco Cosoleto] + - remove unnecessary memset calls [Francesco Cosoleto] +fstrim: + - fix section number in referral to manpage [Petr Uzel] +hexdump: + - make code more robust [Karel Zak] +hwclock: + - clean usage, remove redundat code [Karel Zak] + - remove never read value [Karel Zak] + - remove non-ANSI function declaration [smatch scan] [Karel Zak] +include,c.h: + - include fcntl.h before check for O_CLOEXEC [smatch scan] [Karel Zak] +include,optutils: + - add option_to_longopt() [Karel Zak] +include,xalloc: + - check for NULL before calling strdup [Dave Reisner] + - fix whitespace to be consistent [Dave Reisner] +include/loopdev.h: + - add missing function prototype [Dave Reisner] +ipcmk: + - add long options & fix usage() [Sami Kerola] + - allow high speed ipc creation [Sami Kerola] + - include-what-you-use header check [Sami Kerola] + - remove camel casing [Sami Kerola] + - remove useless code [Sami Kerola] + - validate numeric option arguments [Sami Kerola] +ipcrm: + - add --all option [Sami Kerola] + - add --verbose option [Sami Kerola] + - add long options [Sami Kerola] + - add static keyword to some functions [Francesco Cosoleto] + - check IPC syscalls [Davidlohr Bueso] + - exit if unknown error occurs [Sami Kerola] + - fix wrong subject in error messages for -m, -q, -s id options [Francesco Cosoleto] + - include-what-you-use header check [Sami Kerola] + - refactor new and old main to share code [Sami Kerola] + - use ternary operator in "(key|id) failed" message [Francesco Cosoleto] +ipcs: + - add long options [Sami Kerola] + - comment & white space clean up [Sami Kerola] + - include-what-you-use header check [Sami Kerola] + - minor changes to usage() [Karel Zak] +islocal: + - fix coding style [Sami Kerola] +kill: + - fix fd leak [Karel Zak] + - fix issue warned by smatch [Sami Kerola] + - potential null derefence [smatch scan] [Karel Zak] +last: + - fix few compiler warnings [Sami Kerola] + - fix smatch warning [Sami Kerola] + - possible buffer overflow fixed [smatch scan] [Sami Kerola] +ldattach: + - add default case to switches [Sami Kerola] + - align with howto-usage-function.txt [Sami Kerola] + - check numeric user inputs with strtol_or_err [Sami Kerola] + - convert debug macro to function [Sami Kerola] + - fix coding style [Sami Kerola] +lib: + - [strutils] add strtod_or_err() function [Sami Kerola] + - cleanup setproctitle.c [Karel Zak] + - do not attempt to close(0) in sysfs_deinit() [Petr Uzel] +lib,cpuset: + - enforce stricter parsing of cpu lists [Heiko Carstens] + - fix comments for cpu mask/list functions [Heiko Carstens] + - fix compiler warning [-Wuninitialized] [Karel Zak] + - fix odd placed braces in cpulist_parse() [Heiko Carstens] + - fix stride handling in cpulist_parse() [Heiko Carstens] +lib,loopdev: + - add LOOP_CTL_GET_FREE support [Karel Zak] + - add debugu messages [Karel Zak] + - add missing functions [Karel Zak] + - fix use of logical '&&' with constant operand [Francesco Cosoleto] + - remove duplicate includes [Karel Zak] +lib,match: + - split match_fstype() from libmount [Karel Zak] +lib,path: + - move path access functions from lscpu into lib/path.c [Heiko Carstens] + - use write_all() [Heiko Carstens] +lib,strutils: + - add default value to parse_range() [Davidlohr Bueso] + - share parse_range() [Davidlohr Bueso] +lib,tt: + - add TT_FL_NOEXTREMES [Karel Zak] + - don't trim last line char [Karel Zak] + - fix compiler warning [-Wreturn-type] [Karel Zak] +lib/fsprobe: + - mar this internal API as deprecated [Karel Zak] +lib/loopdev: + - fix part scan detection code [Karel Zak] + - fix possible dir leak on error [Karel Zak] + - remove dead assigment and null deference [Karel Zak] +lib/strutils: + - move array bounds check in string_to_idarray() to appropriate place. [Chandan B Rajenda] +lib/sysfs: + - fix handle leak [Karel Zak] + - fix possible fd leak on error [Karel Zak] +libblkid: + - DRBD proxy data-log identification. [Philipp Marek] + - add BLKID_PARTS_MAGIC [Karel Zak] + - add BLKID_PARTS_MAGIC to blkid_do_wipe() docs [Karel Zak] + - add blkid_do_wipe() [Karel Zak] + - allow return value to indicate error [cppcheck] [Sami Kerola] + - check blkid_probe_set_magic() return in GPT code [coverity scan] [Karel Zak] + - check blkid_probe_set_magic() return in ultrix code [coverity scan] [Karel Zak] + - check blkid_probe_set_magic() return value [coverity scan] [Karel Zak] + - check for NULL in blkid_flush_cache() [coverity scan] [Karel Zak] + - check rename() return value [coverity scan] [Karel Zak] + - check return values in safe_probe code [coverity scan] [Karel Zak] + - clarify operation order [cppcheck] [Sami Kerola] + - comparing an array to null is not useful [coverity scan] [Karel Zak] + - don't call CDROM_GET_CAPABILITY for partitions [Karel Zak] + - export PTMAGIC also if only PTTYPE requested [Karel Zak] + - export info about PT magic strings [Karel Zak] + - fix blkid_do_fullprobe() [coverity scan] [Karel Zak] + - fix limit for OCFS check [Karel Zak] + - fix mac partition detection [Francesco Cosoleto] + - fix smatch warning [Sami Kerola] + - fix suspicious implicit sign extension [coverity scan] [Karel Zak] + - fix use-after-free [coverity scan] [Karel Zak] + - improve reiserfs and btrfs min. size limits [Karel Zak] + - make fd usage in md code more robust [Karel Zak] + - minor docs changes [Francesco Cosoleto] + - more robust idx usage [coverity scan] [Karel Zak] + - new magic for 8.4 style (unclean) activity log. [Philipp Marek] + - remove >> 9 from GPT code [Karel Zak] + - remove unnecessary position check from list_for_each_safe loops [Karel Zak] + - silence a format string warning [-Wformat] [Francesco Cosoleto] + - update docs [Karel Zak] + - verify arroy bound before reference [cppcheck] [Sami Kerola] +libmount: + - Use filter arg of scandir* to pickup /etc/fstab.d/*.fstab files [Masatake YAMATO] + - add "+" prefix for options pattern (e.g findmnt -O) [Karel Zak] + - add --pass-fd to samples/mount [Karel Zak] + - add -a to umount(8) sample [Karel Zak] + - add MNT_OMODE_NOTAB [Karel Zak] + - add function to parse offsets/sizes [Karel Zak] + - add functions to export syscall/helpers status [Karel Zak] + - add mnt_context_umount_next() [Karel Zak] + - add new exprimental umount(8) [Karel Zak] + - add post-mount checks to detect ro/rw [Karel Zak] + - add sanitize_env() to mount(8) sample [Karel Zak] + - add support for encrypted loopdevs [Karel Zak] + - add support for mount -a --fork [Karel Zak] + - allow to toggle ro/rw and mount again [Karel Zak] + - allow to use UUID and LABEL for owner/group mount options in fstab [Karel Zak] + - always trust the source of a pseudofs [Dave Reisner] + - avoid duplicate loopdevs [Karel Zak] + - avoid resolving pseudofs source on update [Dave Reisner] + - clean up context docs [Karel Zak] + - cleanup docs [Karel Zak] + - cleanup post-umount operations [Karel Zak] + - consolidate MNT_FS_* code [Karel Zak] + - consolidate sysconf() usage [Karel Zak] + - don't ignore chmod/own errors [Karel Zak] + - don't pass comments=/x-* to mount. helpers [Karel Zak] + - don't use "new" in header file [Karel Zak] + - export info about library features [Karel Zak] + - fix MS_BIND|MS_REC usage, improve some bitwise operations [Karel Zak] + - fix a potential memory leak at mnt_table_parse_dir [Masatake YAMATO] + - fix auto-loopdev [Karel Zak] + - fix buffer overflow and leaks in tests [Karel Zak] + - fix bugs detected by [smatch scan] [Karel Zak] + - fix chdir to parent for restricted (user) umounts [Karel Zak] + - fix checked-return [coverity scan] [Karel Zak] + - fix compiler warning [-Wimplicit-function-declaration] [Karel Zak] + - fix compiler warnings [-Wsign-compare] [Karel Zak] + - fix compiler warnings [-Wuninitialized -Wformat] [Karel Zak] + - fix context test logic [Karel Zak] + - fix leak in tab parsing error code [Karel Zak] + - fix leak in tab_update.c test [Karel Zak] + - fix leak in tabdiff test [Karel Zak] + - fix negative returns [coverity scan] [Karel Zak] + - fix possible null dereferencing [coverity scan] [Karel Zak] + - fix resource leak [coverity scan] [Karel Zak] + - fix trivial typos in debugging output [Petr Uzel] + - fix typo in function name [Dave Reisner] + - fix use of logical '&&' with constant operand [Francesco Cosoleto] + - fixed a small typo [s.p@orbitalfox.com] + - ignore "defaults" mount option [Karel Zak] + - ignore tailing slash in netfs source paths [Petr Uzel] + - improve verbose message [Karel Zak] + - make iter reset more robust [coverity scan] [Karel Zak] + - make options in fstab optional [Karel Zak] + - potential null derefence [smatch scan] [Karel Zak] + - previously assumed null pointer [smatch scan] [Karel Zak] + - redundant null check on calling free() [smatch scan] [Karel Zak] + - remove dead assigment [Karel Zak] + - remove fstab.d support [Karel Zak] + - remove magic constatnt from mount(8) [Karel Zak] + - remove teaser proto for mnt_table_get_name [Dave Reisner] + - scandirat based mnt_table_parse_dir implementation [Masatake YAMATO] + - support -o loop= [Karel Zak] + - support dirs for mnt_table_parse_fstab(), add mnt_table_parse_dir() [Karel Zak] + - support umount /path/file.img [Karel Zak] + - support {offset,sizelimit}= foor loopdevs [Karel Zak] + - unable to umount nfs shares using the force option [Karel Zak] + - use #ifdef fr selinux specific variables [Karel Zak] + - use USAGE_* from mount(8) sample [Karel Zak] + - use loopdev debug facility [Karel Zak] + - use unsigned int for bitfields [smatch scan] [Karel Zak] + - variable dereferenced before check [smatch scan] [Karel Zak] +libuuid: + - add limits.h include for OPEN_MAX [maximilian attems] + - fix includes in man pages [Karel Zak] +line: + - fix compiler warnings [-Wunused-parameter] [Karel Zak] +lists: + - add list sorting routine [Davidlohr Bueso] +logger: + - fix remote logging [Karel Zak] + - non-ANSI definition [smatch scan] [Karel Zak] +login: + - (and chsh) make pw_shell usage more robust [Karel Zak] + - PAM account checks refactoring [Karel Zak] + - PAM auth refactoring [Karel Zak] + - PAM initialization refactoring [Karel Zak] + - PAM session initialization refactoring [Karel Zak] + - add -H option for compatibility with Suse [Karel Zak] + - add LOGIN_RETRIES, cleanup retries check code [Karel Zak] + - add hostname to login_context struct [Karel Zak] + - add login.defs code and tests [Karel Zak] + - add pid to login_context struct [Karel Zak] + - add struct login_context, consolidate tty code [Karel Zak] + - add username to login_context struct [Karel Zak] + - add version printing option [Sami Kerola] + - allocate buffer with shell name [Karel Zak] + - clean FAIL_DELAY usage [Karel Zak] + - cleanup begin of the login.c file [Karel Zak] + - comparing an array to null is not useful [coverity scan] [Karel Zak] + - cosmetic changes in docs [Karel Zak] + - env initialization refactoring [Karel Zak] + - fix compiler warning [-Wreturn-type] [Karel Zak] + - fix leak, improve strtok usage [Karel Zak] + - fork & session initialization refactoring [Karel Zak] + - host{name,address} initialization refactoring [Karel Zak] + - improve hushed mode (merge suse changes) [Karel Zak] + - improve pam_setcred() usage [Karel Zak] + - indent -linux [Karel Zak] + - lastlog code refactoring [Karel Zak] + - log good logins refactoring [Karel Zak] + - more robust sysconf() usage [coverity scan] [Karel Zak] + - move _PATH_BTMP to pathnames.h [Karel Zak] + - move signal stuff to the one place [Karel Zak] + - remove PAM_FAIL_CHECK and PAM_END macros [Karel Zak] + - remove dead code and comments [Karel Zak] + - remove kerberos specific code [Karel Zak] + - remove non-PAM code [Karel Zak] + - remove obsolete code, clean up macros names [Karel Zak] + - remove obsolete info from man page [Karel Zak] + - remove pam_handle_t from main() [Karel Zak] + - remove unnecessary ifdef HAVE_CRYPT_H [Karel Zak] + - remove unnecessary variables [Karel Zak] + - remove unused code and tests [Karel Zak] + - rewrite motd(), use MOTD_FILE from login.defs [Karel Zak] + - tty chown.chmod refactoring [Karel Zak] + - use DEFAULT_HOME from login.defs [Karel Zak] + - use ENV_PATH and ENV_{ROOT,SU}PATH from login.defs [Karel Zak] + - use FAIL_DELAY from login.defs [Karel Zak] + - use HUSHLOGIN_FILE from login.defs [Karel Zak] + - use LOGIN_TIMEOUT from login.defs [Karel Zak] + - use LOG_UNKFAIL_ENAB from login.defs, improve logging [Karel Zak] + - use TTYGROUP from login.defs [Karel Zak] + - use TTYPERM from login.defs [Karel Zak] + - use getpwnam_r() rather than manually copy passwd struct [Karel Zak] + - use login_context struct in audit stuff [Karel Zak] + - use setgroups(0, NULL) for root [Karel Zak] + - use xalloc.h [Karel Zak] + - utmp code refactoring [Karel Zak] +logindefs: + - fix coding style [Sami Kerola] +loopdev: + - improve debug messages [Karel Zak] + - support LO_FLAGS_PARTSCAN flag (kernel 3.2) [Karel Zak] +losetup: + - add --partscan option [Karel Zak] + - add note about non-root users to losetup.8 [Karel Zak] + - check to control debug output [Karel Zak] + - cleanup headers, cmdline checks [Karel Zak] + - cleanup man page [Karel Zak] + - cleanup usage() [Karel Zak] + - fix compiler warnings [-Wpointer-sign -Wformat] [Karel Zak] + - make xgetpass more robust [Karel Zak] + - move to sys-utils directory [Karel Zak] + - move xgetpass() to lib/xgetpass.c [Karel Zak] + - new -D option to delete all used loop devices [Petr Uzel] + - print info about one device [Karel Zak] + - print verbose messages if requested [Petr Uzel] + - remove #ifdef LOOP_SET_FD nonsense [Karel Zak] + - remove 32-bit ioctls [Karel Zak] + - remove mount-specific headers [Karel Zak] + - remove obsolete #ifdef MAIN [Karel Zak] + - remove unnecessary header files [Karel Zak] + - rewrite -a [Karel Zak] + - rewrite -c [Karel Zak] + - rewrite -d and -D [Karel Zak] + - rewrite -f [Karel Zak] + - rewrite -j [Karel Zak] + - rewrite loop setup [Karel Zak] +lsblk: + - add UUID to --fs output [Karel Zak] + - add udev support [Ilias Mamedov] + - check stat() return code [Karel Zak] + - inform about depencency to /sys/dev/block [Sami Kerola] + - remove __NCOLUMNS [Davidlohr Bueso] +lscpu: + - add --all option [Heiko Carstens] + - add --offline option [Heiko Carstens] + - add --online option [Karel Zak] + - add --version option [Heiko Carstens] + - add Hypervisor to output [Heiko Carstens] + - add column names to --help [Karel Zak] + - add columns description to help, fix header for parsable output [Karel Zak] + - add configured state to output [Heiko Carstens] + - add cpu polarization to parseable output [Heiko Carstens] + - add human readable extended cpu table output [Karel Zak] + - add online state to output [Heiko Carstens] + - add physical cpu address to parseable output [Heiko Carstens] + - add s390 kvm test case [Heiko Carstens] + - add s390 test case [Heiko Carstens] + - allow read_cache() to be called for offline cpus [Heiko Carstens] + - cleanup output modes [Karel Zak] + - dereferencing NULL pointer [coverity scan] [Karel Zak] + - detect IBM hypervisor [Heiko Carstens] + - fix -e output [Heiko Carstens] + - fix cache output for extended parsable output [Heiko Carstens] + - fix compiler warnings [Davidlohr Bueso] + - fix cpu map array sizes [Heiko Carstens] + - fix fallback nthreads calculation [Heiko Carstens] + - fix fd leak [Karel Zak] + - fix s390 bogomips detection coding style [Heiko Carstens] + - fix typo in help text [Heiko Carstens] + - gettextize two columns [Karel Zak] + - man page update [Heiko Carstens] + - remove comma operator [Heiko Carstens] + - remove unneeded file [Heiko Carstens] + - s/Y/Yes/ s/N/No/ [Heiko Carstens] + - show dispatching mode [Heiko Carstens] + - simplify cache column output function [Heiko Carstens] + - stricter command line parsing [Heiko Carstens] + - switch Yes/No output to lower case [Heiko Carstens] + - use buffer for data and headers [Karel Zak] + - use function to search in cpu masks arrays [Karel Zak] + - use hypervisor generated topology information [Heiko Carstens] + - use xalloc libs [Dave Reisner] +misc: + - use %m in format string instead of %s and strerror(errno) [Petr Uzel] +mkfs.bfs: + - add setlocale [Davidlohr Bueso] +mkfs.cramfs: + - check blocksize user input [cppcheck] [Sami Kerola] + - close open file after usage [cppcheck] [Sami Kerola] +mkfs.minix: + - Fix super_set_nzones() [Maurizio Lombardi] + - In Minix V3 filesystems the maximum filename length is 60 chars and the dirsize is 64 bytes. [Maurizio Lombardi] + - Some bug fixes [Maurizio Lombardi] + - The s_blocksize field of the MinixV3 superblock must be initialized with a valid block size, not the total number of blocks of the device! [Maurizio Lombardi] + - The total number of zones is limited to 65536 only on V1 filesystems [Maurizio Lombardi] + - inode numbers are 32-bit wide in V3 filesystems [Maurizio Lombardi] + - remove redundant code [Maurizio Lombardi] +mkswap: + - check blkid_probe_lookup_values() return [coverity scan] [Karel Zak] + - wipe all old signatures [Karel Zak] +more: + - add comment [Karel Zak] +mount: + - (new) add --fstab option [Karel Zak] + - (new) add --fstab to the man page [Karel Zak] + - (new) add more info about --stab to mount.8 [Karel Zak] + - (new) add selinux warning [Karel Zak] + - (new) add source/target to error messages [Karel Zak] + - (new) fix resource leak [coverity scan] [Karel Zak] + - (new) improve mount -a exist codes and erroer messages [Karel Zak] + - (new) print error messages [Karel Zak] + - (new) share exit codes by include/exitcodes.h [Karel Zak] + - add hint that context= has to be quoted [Karel Zak] + - add info about libmount features to --version output [Karel Zak] + - append inverting options for mount. [Karel Zak] + - avoid canonicalizing pseudofs paths [Dave Reisner] + - check for target before source on remount [Karel Zak] + - clear flags before options parsing [Karel Zak] + - define fallback selinux_warning macro with 2 params [Dave Reisner] + - distinguish between MS_COMMENT flags (netdev, nofail, ...) [Karel Zak] + - don't canonicalize the source of a pseudofs [Dave Reisner] + - enable fstab.d [Masatake YAMATO] + - fix __attribute__ keyword [Karel Zak] + - fix build [Davidlohr Bueso] + - fix compiler warning [-Wunused-parameter] [Karel Zak] + - fix compiler warnings [-Wunused-parameter -Wunused-variable] [Karel Zak] + - fix loopdev deinitialization [Karel Zak] + - remounting tmpfs read-write hangs (selinux) [Karel Zak] + - remove duplicate includes [Karel Zak] + - remove superfluous "an" under ext4 mount options in mount.8 [Frederik \"Freso\" S. Olesen] + - update info about check= mount option [Karel Zak] + - use common libs [Davidlohr Bueso] + - use new lib/loopdev.c code [Karel Zak] +mountpoint: + - fallback on stat when /proc isn't mounted [Karel Zak] + - refactor exit path [Dave Reisner] + - return dev_t from dir_to_device [Dave Reisner] + - support symbolic and relative paths [Karel Zak] +namei: + - more robust add_it() [coverity scan] [Karel Zak] +newgrp: + - add version and help options [Sami Kerola] + - fix coding style [Sami Kerola] + - fix possible FILE leak on error [Karel Zak] +partx: + - check sysfs_init() return value [coverity scan] [Karel Zak] + - cleanup usage() and man page, add undocumented --verbose [Karel Zak] + - don't print error when partition already doesn't exist [Phillip Susi] + - don't treat empty partition table as error [Karel Zak] + - fix small leak [Karel Zak] + - remove __NCOLUMNS [Davidlohr Bueso] + - support loop devices [Davidlohr Bueso] + - use USAGE_ macros [Davidlohr Bueso] +pivot_root: + - add version & help option [Sami Kerola] + - minor changes to usage() [Karel Zak] +po: + - merge changes [Karel Zak] + - update cs.po (from translationproject.org) [Petr Pisar] + - update cs.po (from translationproject.org) [Petr Písař] + - update fr.po (from translationproject.org) [David Prévot] + - update ja.po (from translationproject.org) [Takeshi Hamasaki] + - update nl.po (from translationproject.org) [Benno Schulenberg] + - update pl.po (from translationproject.org) [Jakub Bogusz] + - update uk.po (from translationproject.org) [Yuri Chornoivan] +prlimit: + - add --{raw,noheadings} options [Karel Zak] + - add a units column [Davidlohr Bueso] + - add add falbacks [Karel Zak] + - add support for executing a command [Bernhard Voelker] + - avoid segfault due to array-out-of-bounds error [Karel Zak] + - don't share pointer for old and new in prlimit(2) [Karel Zak] + - fix SYS_ macro [Karel Zak] + - fix case when PID is given later [Bernhard Voelker] + - fix error message [Karel Zak] + - fix noheadings option in man page [Bernhard Voelker] + - fix typo in man page, option --verbose [Bernhard Voelker] + - new command [Davidlohr Bueso] + - replace lims[i] with pointer [Karel Zak] + - return proper type [Davidlohr Bueso] + - s/amount/number/ [Jim Meyering] + - show all limits if called without options [Bernhard Voelker] + - use xalloc libs [Davidlohr Bueso] +raw: + - fix shadowing of minor function [maximilian attems] + - remove unnecessary return [cppcheck] [Sami Kerola] +readprifile: + - remove unnecessary optstring array [Karel Zak] +readprofile: + - add long options [Sami Kerola] + - fix coding style [Sami Kerola] + - use libc error printing facilities [Sami Kerola] +rtcwake: + - align with howto-usage-function.txt [Sami Kerola] + - fix crash (invalid free) [Petr Uzel] +script: + - fix building with --disable-nls [Natanael Copa] + - libintl.h included in nls.h [Karel Zak] + - non-ANSI definition [smatch scan] [Karel Zak] +selinux_utils: + - fix coding style [Sami Kerola] +setarch: + - add version printing [Sami Kerola] + - minor changes to usage() [Karel Zak] + - move options struct to function scope [Sami Kerola] + - use program_invocation_short_name [Sami Kerola] +setpwnam: + - fix coding style [Sami Kerola] + - remove non-ANSI definitions [smatch scan] [Sami Kerola] +setsid: + - add "+" to getopt_long() [Harald Hoyer] + - add long options and fix coding style [Sami Kerola] +setterm: + - order man page items alphabetically [Jari Aalto] +sfdisk: + - add comment to keep static analysers happy [Karel Zak] + - add note about alignment to the man page [Karel Zak] + - cleanup fd usage [Karel Zak] + - file descriptor is of int type [Petr Uzel] + - fix fd leak [Karel Zak] + - fix poor coding style [Karel Zak] + - fix typo in cdrom detection [Karel Zak] + - fix weird indentation in msdos_partition() [Petr Uzel] + - free variable which got the allocation [cppcheck] [Sami Kerola] + - get_disksize() returns long long [Petr Uzel] + - introduce get_ull() function [Petr Uzel] + - make the cylinder boundary check less fatal [Petr Uzel] + - remove PACKED macro [Karel Zak] + - remove dead assigment [Karel Zak] + - remove do_warn [Davidlohr Bueso] + - remove duplicate includes [Karel Zak] + - remove fatal [Davidlohr Bueso] + - sfdisk.8 fix formatting [Petr Uzel] + - use is_blkdev [Davidlohr Bueso] + - use unsigned long long to internally represent sector number [Petr Uzel] + - warn if partition exceeds partition table limits [Petr Uzel] +swapon: + - add break to keep static analysers happy [Karel Zak] + - merge swap_constants.h into swapon.c [Karel Zak] +switch_root: + - add nls support [Sami Kerola] + - align with howto-usage-function.txt [Sami Kerola] + - close open file after usage [cppcheck] [Sami Kerola] + - handle /run and do not mount over existing mounts [Harald Hoyer] + - umount mount points we cannot move with MNT_DETACH [Harald Hoyer] +taskset: + - use appropriate variable type [cppcheck] [Sami Kerola] +test: + - refresh build-sys tests [Karel Zak] +tests: + - add --memcheck to [Karel Zak] + - add build-sys regression test [Karel Zak] + - add exceptions for libmount [Karel Zak] + - add infrastructure for valgrind [Karel Zak] + - add loopdev libmount test [Karel Zak] + - add missing file [Karel Zak] + - add mkfs.carmfs test for small FS with duplicate files [Karel Zak] + - add ts_fdisk_clean function to make fdisk output comparable [Francesco Cosoleto] + - add valgrind to libmount context tests [Karel Zak] + - add valgrind to libmount context utab tests [Karel Zak] + - add valgrind to libmount lock tests [Karel Zak] + - add valgrind to libmount tab parse test [Karel Zak] + - add valgrind to libmount tabdiff tests [Karel Zak] + - add valgrind to libmount tags eval. tests [Karel Zak] + - add wall to build-sys tests [Karel Zak] + - call valgrind from libmount optstr test [Karel Zak] + - call valgrind from libmount utils and update tests [Karel Zak] + - cleanup islocal test [Karel Zak] + - cleanup paths [Karel Zak] + - fix mount/special to be compatible with libmount [Karel Zak] + - fix options evaluation, add support for optional tests [Karel Zak] + - make minix tests more robust [Karel Zak] + - remove obsolete checktty test [Karel Zak] + - remove unexpected set -x [Karel Zak] + - remove unsupported losetup -s [Karel Zak] + - update fdisk and blkid MD tests [Francesco Cosoleto] + - update fdisk tests [Francesco Cosoleto] + - update tests with fdisk output [Karel Zak] +tools: + - add new code checking script [Dave Reisner] + - use gpg-aggent in ko-release-gen [Karel Zak] +tunelp: + - add long options and align with howto-usage-function.txt [Sami Kerola] + - fix coding style [Sami Kerola] + - free allocation, use xalloc [Sami Kerola] + - use libc error printing facilities [Sami Kerola] + - use symbolic exit values [Sami Kerola] +umount: + - (new) fix resource leak [coverity scan] [Karel Zak] + - (new) use the same exit codes as mount(8) [Karel Zak] + - add missing break [Karel Zak] + - add warning [Karel Zak] + - respect fs search path [Mike Frysinger] + - use new lib/loopdev.c code [Karel Zak] +unshare: + - add note about MS_SHARED to unshare.1 [Karel Zak] + - align with howto-usage-function.txt [Sami Kerola] +uuidd: + - Add missing break to option case statement [Eric Sandeen] +vipw: + - don't modify environment, check strtok() return value [Karel Zak] + - fix coding style [Sami Kerola] + - stop printing non-sense version string [Sami Kerola] + - use libc error printing facilities [Sami Kerola] + - use xalloc.h [Karel Zak] +whereis: + - fix gcc warnings [-Wsign-compare] [Karel Zak] + - move token assignment into loop syntax [Karel Zak] + - non-ANSI definition [smatch scan] [Karel Zak] + - remove unused value warning [Francesco Cosoleto] + - search in path [Davidlohr Bueso] + - search in path for binaries only [Karel Zak] +wipefs: + - add -t option [Karel Zak] + - improve -a, use blkid_do_wipe() [Karel Zak] + - use xalloc lib [Davidlohr Bueso] +write: + - fix path for freopen() [Karel Zak] diff --git a/Documentation/releases/v2.22-ReleaseNotes b/Documentation/releases/v2.22-ReleaseNotes new file mode 100644 index 0000000..656f67f --- /dev/null +++ b/Documentation/releases/v2.22-ReleaseNotes @@ -0,0 +1,1192 @@ +Util-linux 2.22 Release Notes [Sep 4, 2012] +=========================================== + + The cryptoloop support in the commands mount(8) and losetup(8) is DEPRECATED. + This is the last release where encryption= mount option and -e,-E,--encryption + losetup options are supported. + +Release highlights +------------------ + +partx(8): + - the default output has been changed, the legacy output was deprecated for + more than 1 year. Users who depend on the old output format have to use + --list command line option. + +mount(8), umount(8), swapon(8), blkid(8) and findmnt(8): + - supports PARTUUID= and PARTLABEL= tags to specify block devices by partition + UUID or LABEL (for example for UEFI GPT). These tags are filesystem + independent and provide persistent configuration (your /etc/fstab setting + will not be affected by mkfs/mkswap changes). + +dmesg(1): + - reads kernel messages from /dev/kmsg on kernel 3.5 + - supports new option --follow to wait for new messages (kernel 3.5 required) + - supports new option --reltime to print human readable deltas + +su(1): + - has been merged from coreutils into util-linux + - utils-linux version uses /etc/pam.d/su-l PAM config file for --login + (e.g. "su -") session. + +sulogin(8): + - has been merged from sysvinit into util-linux + +utmpdump(1): + - has been merged from sysvinit into util-linux + +eject(1): + - has been merged from inactive upstream from sf.net and Fedora into util-linux + - supports new options --manualeject, --force and --no-partitions-unmount + +lslocks(1) + - this NEW COMMAND prints local system locks and it's replacement to very + long time unmaintained lslk(1) + +wdctl(8): + - this NEW COMMAND shows hardware watchdog status + +mount(8): + - pure libmount based mount(8) and umount(8) command are ENABLED BY DEFAULT + - the old mount(8) and umount(8) implementation is DEPRECATED + - the hybrid mount(8) [old mount linked with libmount] is not supported anymore + - supports new command line options --source and --target to avoid ambivalent + interpretation if only one argument is given + +swapon(8): + - supports new option --show to print information about swaps in definable + format + +findmnt(8): + - supports new option --task to print private task mount table + - supports new option --df to imitate df(1) + +fdisk(8) + - does not print geometry in 'p'rint output in non-DOS mode + +libuuid: + - does NOT EXECUTE uuidd on demand, the daemon has to be started by + init scripts / systemd + +uuidd: + - supports socket activation (for systemd) + - supports new options -no-fork, --no-pid and --socket-activation + +flock(1): + - supports new option --conflict-exit-code to specify return code + +fsck(8): + - supports new option -r to report memory and runtime statistics + +lsblk(8): + - supports inverse trees (new option -s) + +losetup(8): + - supports option --detach-all to detach all loop devices + + +build-system changes: + - login(1) enabled by default (see --disable-login) + - partx(8) enabled by default (see --disable-partx) + - kill(1) enabled by default (see --disable-kill) + - new non-recursive build-system + + +Stable maintenance releases between v2.21 and v2.22 +--------------------------------------------------- + +util-linux 2.21.1 [30-Mar-2012] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.21/v2.21.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.21/v2.21.1-ChangeLog + +util-linux 2.21.2 [25-May-2012] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.21/v2.21.2-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.21/v2.21.2-ChangeLog + + +Changes between v2.21 and v2.22 +------------------------------- + + For more details see ChangeLog files at: + https://www.kernel.org/pub/linux/utils/util-linux/v2.22/ + +addpart: + - align with util-linux coding standards [Sami Kerola] + - improve error messages [Karel Zak] +agetty: + - close tty before vhangup() [Karel Zak] + - make tcsetpgrp() optional [Karel Zak] + - more robust debug() macro, check ioctl result [coverity scan] [Karel Zak] + - move vc initialization to ttyutils.h [Karel Zak] + - remove unnecessary sleep(10) [Mantas Mikulėnas] + - use configured run state directory [Sami Kerola] +all files: + - make most variables static and const when possible. declare lots of functions static. [Jim Meyering] +arch, eject, elvtune: + - Gracefully disable on non-Linux platforms. [Thomas Schwinge] +blkdev: + - add blkdev_scsi_type_to_name() [Sami Kerola] +blkid: + - add DEVNAME= to export output format [Karel Zak] + - add docs about PARTUUID= and PARTLABEL= [Karel Zak] + - add note about variable tags and devices order. [Karel Zak] + - fix realloc memory leak [cppcheck] [Sami Kerola] + - fix shadow declaration [Sami Kerola] + - introduce symbolic names for different blkid exit codes [Petr Uzel] + - stop device probing if error is detected [Petr Uzel] + - use err_exclusive_options() [Karel Zak] + - use exclusive_option() [Sami Kerola] + - use get_terminal_width() from ttyutils.h [Petr Uzel] + - use strtosize_or_err() [Karel Zak] + - use symbolic exit code [Petr Uzel] +build: + - fix redundant redeclaration warnings [Sami Kerola] + - fix unused parameter warnings [Sami Kerola] +build-sys: + - add --diable-sulogin (enabled by default) [Karel Zak] + - add --disable-login [Karel Zak] + - add --disable-su [Karel Zak] + - add --enable-chfn-chsh [Karel Zak] + - add --enable-newgrp [Karel Zak] + - add --enable-vipw [Karel Zak] + - add -Wall to warnings [Karel Zak] + - add -Werror to UL_WARN_ADD test [Karel Zak] + - add -Wmissing-declarations, sort warning options [Karel Zak] + - add -Wredundant-decls [Karel Zak] + - add BUILD_WDCTL, check for linux/watchdog.h [Karel Zak] + - add UL_CONFLICTS_BUILD m4 macro [Karel Zak] + - add UL_PROG_CLANG function, rename warnings.m4 -> compiler.m4 [Karel Zak] + - add a crosscompile path for scanf_cv_alloc_modifier [Sebastian Andrzej Siewior] + - add compiler warnings [Karel Zak] + - add eject to .gitignore [Karel Zak] + - add exclude list to UL_ADD_WARN [Karel Zak] + - add files make check generates in gitignore [Sami Kerola] + - add fsprobe.h to dist [Petr Uzel] + - add minisg COPYING files [Karel Zak] + - add missing files [Karel Zak] + - add pager.h to Makemodule.am [Karel Zak] + - add randutils.h to dist [Petr Uzel] + - add run.sh to make check for non-root users [Karel Zak] + - add sd-daemon.h to Makemodule.am [Karel Zak] + - add su executable to .gitignore [Sami Kerola] + - add swapon-common.h to swapon sources (fix distcheck) [Petr Uzel] + - add tests/run-nonroot.sh to automake file [Karel Zak] + - add ttyutils.h to dist [Petr Uzel] + - always use default $(LDADD) [Karel Zak] + - change --localstatedir to /run [Sami Kerola] + - cleanup .gitignore files [Karel Zak] + - cleanup mount stuff in configure.am [Karel Zak] + - convert disk-utils/ to module [Karel Zak] + - convert include/ to module [Karel Zak] + - convert lib/ to libcommon.la [Karel Zak] + - convert lib/ to module [Karel Zak] + - convert libblkid/ to module [Karel Zak] + - convert libmount/ to module [Karel Zak] + - convert libuuid/ to module [Karel Zak] + - convert login-utils/ to module [Karel Zak] + - convert misc-utils/ to module [Karel Zak] + - convert mount/ to module, rename to mount-deprecated/ [Karel Zak] + - convert schedutils/ to module [Karel Zak] + - convert sys-utils/ to module [Karel Zak] + - convert term-utils/ to module [Karel Zak] + - convert tests/ to module [Karel Zak] + - convert text-utils/ to module [Karel Zak] + - create static uuid_generate_*.3 files [Karel Zak] + - default to new sys-utils/mount.c, add --enable-deprecated-mount [Karel Zak] + - define per-test -DTEST_PROGRAM in lib/ [Karel Zak] + - determine availability of __fpending() [Sami Kerola] + - disable chkdupexe by default, mark as deprecated [Karel Zak] + - don't compile lib{mount,blkid} tests when --disable-static specified [Karel Zak] + - don't create empty man/ru directory [Karel Zak] + - enable libmount and libblkid docs [Karel Zak] + - enhance readability of the autotools files [Sami Kerola] + - ensure BUILD_CFDISK is always defined [Dave Reisner] + - exclude some CC warnings for clang [Karel Zak] + - expand paths at make time [Karel Zak] + - fix build without libs [Karel Zak] + - fix chkdupexe regression [Sami Kerola] + - fix description of utmpdump configure option [Petr Uzel] + - fix swaplabel [Karel Zak] + - ignore .dirstamp file [Karel Zak] + - include correct source file for chsh [Dave Reisner] + - include tools/git-version-gen in the tarball [Petr Uzel] + - make the crosscompile path for scanf_cv_alloc_modifier clever [Sebastian Andrzej Siewior] + - move configure login options to one place [Karel Zak] + - move getopt to misc-utils/ [Karel Zak] + - move hwclock to sys-utils/ [Karel Zak] + - move obsolete lib/fsprobe to mount/ [Karel Zak] + - move partx to disk-utils/ [Karel Zak] + - move tests to check_PROGRAMS [Karel Zak] + - note sulogin in configure help [Karel Zak] + - release++ (v2.22-rc1) [Karel Zak] + - release++ (v2.22-rc2) [Karel Zak] + - remove -DUSE_PAM=1 for su(1) [Karel Zak] + - remove include-Makefile.am [Karel Zak] + - remove unused function and header checks [Sami Kerola] + - rename fdisk -> fdisks/, convert to module [Karel Zak] + - run distcheck with verbose make rules [Petr Uzel] + - s/ruman/ruman1/ [Karel Zak] + - suid su in make install [Karel Zak] + - support separate libintl [Karel Zak] + - use slash for binaries in gitignore [Karel Zak] +build-system: + - enable automake subdir-objects [Karel Zak] +cal: + - Fix building under uClibc. [James Le Cuirot] +chcpu: + - use err_exclusive_options() [Karel Zak] + - use exclusive_option() [Sami Kerola] +checkxalloc: + - nudge regex, fix newfound instances [Dave Reisner] +chfn: + - use pathnames.h for paths [Sami Kerola] +chsh: + - use pathnames.h for paths [Sami Kerola] +colrm: + - fix compiler warning [-Wmissing-prototypes] [Karel Zak] +column: + - --separator segfaults [B Watson] +cytune: + - fix compiler warning [-Wmissing-prototypes] [Karel Zak] +ddate: + - russian manual missing from package [Sami Kerola] +delpart: + - align with util-linux coding standards [Sami Kerola] + - improve error messages [Karel Zak] +disk-utils: + - cleanup strtoxx_or_err() [Karel Zak] + - verify writing to streams was successful [Sami Kerola] +dmesg: + - add --follow feature [Karel Zak] + - add --reltime to print human readable deltas [Karel Zak] + - add --syslog to force to old syslog(2) interface [Karel Zak] + - add fileback for SEEK_DATA [Karel Zak] + - cleanup exclusive_option() usage [Karel Zak] + - cleanup, move more stuff to control struct [Karel Zak] + - fix kmsg read if read returns EPIPE [Milan Broz] + - fix kmsg usability detection [Karel Zak] + - fix typo in man page [Karel Zak] + - fix usage() [Karel Zak] + - implement backwardly compatible --raw for /dev/kmsg [Karel Zak] + - improve err handling code [Karel Zak] + - inform user when klogctl() or read_buffer() fails [Sami Kerola] + - move filename to control struct [Karel Zak] + - read /dev/kmsg (since kernel 3.5.0) [Karel Zak] + - refactoring for kmsg support [Karel Zak] + - support --clear for kmsg [Karel Zak] + - unify internal APIs [Karel Zak] + - use err_exclusive_options() [Karel Zak] + - use exclusive_option() [Sami Kerola] +doc: + - fix typo in v2.22-ReleaseNotes [Bernhard Voelker] +docs: + - TODO removal, ldattach usage is done [Sami Kerola] + - TODO removal, login-utils error printing [Sami Kerola] + - TODO removal, rpmatch task is done [Sami Kerola] + - add v2.22-ReleaseNotes [Karel Zak] + - add deprecation comments [Sami Kerola] + - add note about enabled kill(1) to v2.22-ReleaseNotes [Karel Zak] + - add note about non-recursive build-sys [Karel Zak] + - add note about partx output change [Karel Zak] + - add quota mount option support description for ext2 [Björn Jacke] + - add su.1 manual page [Sami Kerola] + - add sys-utils/umount.8 manual page [Sami Kerola] + - clarify KiB vs. KB in man pages [Bernhard Voelker] + - clean up chcpu.8 manual [Sami Kerola] + - clean up dmesg.1 manual [Sami Kerola] + - clean up getopt.1 manual [Sami Kerola] + - clean up login.1 manual [Sami Kerola] + - clean up partx.8 manual [Sami Kerola] + - clean up sulogin.8 manual [Sami Kerola] + - clean up utmpdump.1 manual [Sami Kerola] + - clean up wdctl.8 manual [Sami Kerola] + - corrections to FSF license files, and postal address [Sami Kerola] + - do not overwrite ddate.1 manual [Sami Kerola] + - eject.1 align with Documentation/howto-man-page.txt [Sami Kerola] + - fix all man page groff warnings [Sami Kerola] + - fix email macro in manual example [Sami Kerola] + - fix further typos found by misspellings [Bernhard Voelker] + - fix typos found by misspellings [Bernhard Voelker] + - ftp server does no longer support util-linux-ng [Sami Kerola] + - man page syntax fixes [Ville Skyttä] + - mark udev and list blkid(8) output formats deprecated [Karel Zak] + - mention the required mount options for journaled version 2 quota [Björn Jacke] + - move fstab.5 to sys-utils (mount/ dir is deprecated) [Karel Zak] + - remove unused config/texinfo.tex [Karel Zak] + - rewrite su.1 manual [Ludwig Nussel] + - tell about irc channel [Sami Kerola] + - update AUTHORS file [Karel Zak] + - update TODO [Karel Zak] + - update TODO [Sami Kerola] + - update TODO file [Karel Zak] + - update howto-tests.txt [Karel Zak] + - update tests docs [Karel Zak] + - update v2.22-ReleaseNotes [Karel Zak] +eject: + - add --force option [Karel Zak] + - add --manualeject from fedora [Karel Zak] + - add --no-partitions-unmount [Karel Zak] + - add -X from Fedora [Karel Zak] + - allow to address device by LABEL/UUID [Karel Zak] + - briefer usage [Michal Luscon] + - call umount rather than [Karel Zak] + - check for hotplug/removable attribute [Karel Zak] + - clean unmount_devices() [Karel Zak] + - clean up argv parsing code [Karel Zak] + - clean up devname usage [Karel Zak] + - clean up eject_* functions [Karel Zak] + - clean up includes [Michal Luscon] + - clean up man page [Karel Zak] + - clean up umount stuff [Karel Zak] + - clean up usage() [Karel Zak] + - clean up verbose messages [Karel Zak] + - cleanup umount code [Karel Zak] + - cleanup usage() [Karel Zak] + - close open file [cppcheck] [Sami Kerola] + - coding style fixes [Karel Zak] + - constify array [Mike Frysinger] + - don't try to use non-device path [Karel Zak] + - fix compiler warning [-Wmissing-prototypes] [Karel Zak] + - fix compiler warnings [-Wformat] [Karel Zak] + - fix shadow declaration [Sami Kerola] + - improve work with partitioned devices [Karel Zak] + - inform if CD-ROM drive is not ready [Sami Kerola] + - inform why open failed [Sami Kerola] + - initial merge eject and util-linux [Michal Luscon] + - make the code robust [Karel Zak] + - modification of parse_arg function [Michal Luscon] + - new auto_eject code from Fedora [Karel Zak] + - new close_tray code from Fedora [Karel Zak] + - remove MountableDevice function [Michal Luscon] + - remove obsolete code, use EXIT_* macros [Karel Zak] + - remove unnecessary checks [Karel Zak] + - remove unnecessary function [Karel Zak] + - remove unnecessary variable [Karel Zak] + - rename handle_x_option to set_device_speed [Karel Zak] + - replace CLOSE and FCLOSE macros by e_close and e_fclose functions [Michal Luscon] + - replace fprintf with err and warn [Michal Luscon] + - return proper 0/1 from eject_cdrom() [Dave Reisner] + - simplify find_device [Michal Luscon] + - support CDIOCEJECT ioctl [Karel Zak] + - unification of coding style [Michal Luscon] + - use BUILD_EJECT, move to sys-utils [Karel Zak] + - use CDROM_DRIVE_STATUS if available for tray toggling [Mike Frysinger] + - use SG_IO ioctl for scsi [Karel Zak] + - use canonicalize_path to treat symbolic links [Michal Luscon] + - use libmount to detect if cdrom is mounted [Karel Zak] + - use program_invocation_short_name instead of programName [Michal Luscon] + - use xstrdup() [Karel Zak] + - verify writing to streams was successful [Sami Kerola] +eject(1): + - fix typo in mount(1) reference [Mike Frysinger] +fallocate: + - add --version and align with howto-usage-function.txt [Sami Kerola] +fdisk: + - (dos) cleanup function names [Karel Zak] + - API add delete partition to label operations [Davidlohr Bueso] + - API add fdisk_label_change [Davidlohr Bueso] + - API add geometry [Davidlohr Bueso] + - API add label probing functionality [Davidlohr Bueso] + - API add mbr [Davidlohr Bueso] + - API add new partition to label operations [Davidlohr Bueso] + - API add to label operations to context [Davidlohr Bueso] + - API add topology debug [Davidlohr Bueso] + - API add verify to label operations [Davidlohr Bueso] + - API add write to label operations [Davidlohr Bueso] + - API comment labels array [Davidlohr Bueso] + - API fix fdisk_add_partition comment style [Davidlohr Bueso] + - add an quit/exit handling function [Davidlohr Bueso] + - add debug support [Davidlohr Bueso] + - add device topology to the API [Davidlohr Bueso] + - add fdisk_dev_sectsz_is_default helper [Davidlohr Bueso] + - add noreturn function attribute [Sami Kerola] + - add readonly option to fdisk_new_context_from_filename() [Karel Zak] + - add some debug messages [Karel Zak] + - add total sectors [Davidlohr Bueso] + - aix fix warning [Davidlohr Bueso] + - aix remove magic aixlabel macro, mark unused parameters [Karel Zak] + - always print total number of sectors [Petr Uzel] + - always use stderr for debug messages [Karel Zak] + - bsd mark unused parameters [Karel Zak] + - cast before count size [Karel Zak] + - cleanup strtoxx_or_err() [Karel Zak] + - create DOS specific write table function [Davidlohr Bueso] + - de-duplicate disk label strings [Bernhard Voelker] + - do not call sgi and sun code when creating a new dos label [Davidlohr Bueso] + - document FDISK_DEBUG [Davidlohr Bueso] + - don't call update_units() in label probes if not necessary [Petr Uzel] + - don't ignore 1MiB granularity on 512-byte sector devices [Karel Zak] + - don't print CHS geometry unless DOS compatible mode is set [Petr Uzel] + - don't print confusing warning on non-partitioned disks [Karel Zak] + - don't print welcome message to stderr [Karel Zak] + - dos mark unused parameters [Karel Zak] + - dos use sector_t [Davidlohr Bueso] + - extend comments for fdisk_new_context() [Davidlohr Bueso] + - fix compiler warning [-Werror=unused-variable] [Petr Uzel] + - fix compiler warning [-Wpointer-sign] [Karel Zak] + - fix compiler warning [-Wunused-variable] [Karel Zak] + - fix compiler warnings [-Wsign-compare] [Karel Zak] + - fix error message for too small devices [Karel Zak] + - fix fdiskdoslabel.c global variables [Karel Zak] + - fix io_size usage in new API [Karel Zak] + - fix menu [Davidlohr Bueso] + - fix segfault on bsd label [Davidlohr Bueso] + - fix to build for IA32 [Christian Wiese] + - fix typo [Petr Uzel] + - fix typo in comment [Bernhard Voelker] + - get_boot() has to die (step I.) [Karel Zak] + - get_boot() has to die (step II.) [Karel Zak] + - introduce fdisk context [Davidlohr Bueso] + - introduce sector_t type [Davidlohr Bueso] + - isolate dos label logic [Davidlohr Bueso] + - kernel/bios sectors and heads need not be global [Davidlohr Bueso] + - mac remove magic maclabel macro, mark unused parameters [Karel Zak] + - make CHS user values more robust [Davidlohr Bueso] + - make grain global variable part of fdisk_context() [Petr Uzel] + - make if clause easier to read [Sami Kerola] + - make label API more robust [Karel Zak] + - mark dos compatibility/CHS options deprecated in manpage [Davidlohr Bueso] + - move DOS geometry code from generic part to label specific [Karel Zak] + - move DOS new/add partition code [Davidlohr Bueso] + - move kernel geometry into blkdev [Davidlohr Bueso] + - move label specific stuff to fdiskdoslabel.c [Karel Zak] + - move user geometry setting from fdisk.c to API [Karel Zak] + - refactor -s option [Davidlohr Bueso] + - remove action enum [Davidlohr Bueso] + - remove bogus statement [Davidlohr Bueso] + - remove dead code [Davidlohr Bueso] + - remove dummy function [Davidlohr Bueso] + - remove listing variable [Davidlohr Bueso] + - remove stack jumping [Davidlohr Bueso] + - remove unused file [Karel Zak] + - remove unused function declaration [Davidlohr Bueso] + - remove unused hsc2sector macro [Davidlohr Bueso] + - remove unused variables [Karel Zak] + - remove useless comments [Davidlohr Bueso] + - remove user specified sector size global variable [Davidlohr Bueso] + - rename cxt->mbr buffer to cxt->firstsector [Karel Zak] + - rename label probing functions [Petr Uzel] + - return success from sgi_create_disklabel [Petr Uzel] + - rework fatal errors [Davidlohr Bueso] + - set label pointer in fdisk_create_default_disklabel() [Karel Zak] + - sgi abort on HDIO_GETGEO failure [Davidlohr Bueso] + - sgi remove unused code [Davidlohr Bueso] + - sgi remove unused function [Davidlohr Bueso] + - sgi use sector_t [Davidlohr Bueso] + - sgi use xcalloc() [Karel Zak] + - simplify device opening [Davidlohr Bueso] + - standarize version output [Davidlohr Bueso] + - stop buffering welcome message [Davidlohr Bueso] + - sun remove unused function [Davidlohr Bueso] + - sun use sector_t [Davidlohr Bueso] + - tests update oddinput test [Davidlohr Bueso] + - use BSD label header [Davidlohr Bueso] + - use EXIT_SUCCESS for -l option [Davidlohr Bueso] + - use context as a parameter [Davidlohr Bueso] + - use memset() rather than bzero() [Karel Zak] + - use randutils for mbr signature creation [Davidlohr Bueso] + - verify writing to streams was successful [Sami Kerola] +fileutils: + - differentiate xmkstemp and xfmkstemp [Sami Kerola] + - xmkstemp() interface change [Dave Reisner] +findfs: + - add --version & align with howto-usage-function.txt [Sami Kerola] +findmnt: + - add --task option [Karel Zak] + - add --version & align with howto-usage-function.txt [Sami Kerola] + - add -D, --df option to imitate df(1) [Dave Reisner] + - add -P, --pairs to the man page [Bill Pemberton] + - add FS size, avail, used, and use% columns [Dave Reisner] + - add FSROOT column [Dave Reisner] + - add TID column [Karel Zak] + - add match_by_file to do within-device matching [Dave Reisner] + - add note about \x to man page [Karel Zak] + - add support for PARTUUID= and PARTLABEL= [Karel Zak] + - add support for maj min source [Karel Zak] + - don't use tree-like output if more -F options specified [Karel Zak] + - fallback to mountinfo for polling [Dave Reisner] + - fix compiler warnings [-Wuninitialized] [Petr Uzel] + - fix typo in manpage [Bernhard Voelker] + - improve --df output [Karel Zak] + - reference correct manual section [Dave Reisner] + - remove dublicate usage() line [Sami Kerola] + - restrict within-device matching [Karel Zak] + - support -o + for adding attribute to output fields. [Milan Broz] + - use err_exclusive_options() [Karel Zak] + - use exclusive_option() [Sami Kerola] + - use st.st_bavail for available column [Dave Reisner] + - use xasprintf() [Karel Zak] +flock: + - user-configurable exit code [Jan \"Yenya\" Kasprzak] +fsck: + - Add a -r option to report memory and runtime statistics [Frank Mayhar] + - coding stype fixes (calloc, err, ...) [Karel Zak] + - cosmetic changes in coding style [Karel Zak] + - don't duplicate exit code macros [Karel Zak] + - don't free fstab table on parse failure [Dave Reisner] + - don't try to call fsck for undefined fs type [Karel Zak] + - fix coding style [Karel Zak] + - move to disk-utils directory [Karel Zak] + - remove string_copy() [Karel Zak] + - remove unnecessary fsck.h [Karel Zak] + - replace fsprobe with libmount utils [Karel Zak] + - tiny coding style fix [Karel Zak] + - use gettimeofday() for real elapsed time statistic [Karel Zak] + - use less aggressive method to detect mounted devices [Karel Zak] + - use libmount for filesystem list [Karel Zak] + - use libmount to check for mounted filesystems [Karel Zak] +fsck.cramfs: + - add long options [Sami Kerola] + - disallow unknown command line options [Sami Kerola] + - fix compiler warning [-Wmissing-prototypes] [Karel Zak] +fsck.minix: + - align with howto-usage-function.txt [Sami Kerola] + - clean up coding style [Sami Kerola] + - fix printf format warning [Sami Kerola] + - use rpmatch() for yes/no question [Sami Kerola] + - use symbolic exit codes [Sami Kerola] +fsck.minix.c: + - fix compiler warnings [-Wunused-result] [Petr Uzel] +fstab: + - fstab.5 fix misspelling of deprecated [Dave Reisner] +fstrim: + - add --version and align with howto-usage-function.txt [Sami Kerola] + - use strtosize_or_err() [Karel Zak] +getopt: + - verify writing to streams was successful [Sami Kerola] +hexdump: + - fix comparison of distinct pointer types [Karel Zak] + - fix shadow declaration [Sami Kerola] + - print sensible message when all input file arguments fail [Sami Kerola] + - update man page for -n and -s [Karel Zak] + - use strtosize() for -n and -s [Karel Zak] + - use strtosize_or_err() [Karel Zak] +hwclock: + - cleanup strtoxx_or_err() [Karel Zak] + - don't set time for --systz [Karel Zak] + - fix compiler warning [-Wmissing-prototypes] [Karel Zak] + - use err_exclusive_options() [Karel Zak] + - use exclusive_option() [Sami Kerola] + - verify writing to streams was successful [Sami Kerola] +inclide/env: + - innclude c.h, remove _() macro from xsetenv() [Karel Zak] +include: + - [c.h] protect container_of [maximilian attems] + - add /proc/locks path to pathnames [Davidlohr Bueso] + - add asprintf wrapper [Sami Kerola] + - add stream error checking facility [Sami Kerola] + - define format to be constant in xasprintf() [Sami Kerola] + - fix spurious list.h warnings [Sami Kerola] + - fix void pointer arithmetics warnings [Sami Kerola] + - move get_terminal_width() to ttyutils.h [Petr Uzel] + - rename writeall.h to all-io.h [Petr Uzel] +include [optutils]: + - add exclusive_option() inline function [Sami Kerola] +include/blkdev: + - cleanup up [Karel Zak] +include/c: + - move fallback for MAXHOSTNAMELEN to c.h [Karel Zak] +include/exitcodes: + - add FSCK_DESTRUCT alias [Karel Zak] + - clean up names, add _EX_ suffix [Karel Zak] +include/optutils: + - add err_exclusive_options() [Karel Zak] + - remove unnecessary exclusive_option() [Karel Zak] +include/tt: + - improve work with non-utf8 chars [Karel Zak] + - remove obsolete stuff [Karel Zak] +include/ttyutils: + - more robust get_terminal_width() [Karel Zak] +include/ttyutils.h: + - add include guards [Dave Reisner] +ipcmk: + - fix compiler warning [-Wmissing-prototypes] [Karel Zak] +kill: + - Check the correct variable when configuring. [Thomas Schwinge] + - fix compiler warning [-Wmissing-prototypes] [Karel Zak] +kill, raw, rename: + - Don't explicitly enable for --enable-most-builds. [Thomas Schwinge] +last: + - use min() from c.h [Karel Zak] +ldattach: + - fix compiler warning [-Wmissing-prototypes] [Karel Zak] +lib: + - add fileutils function collection [Sami Kerola] + - add pager functionality [Davidlohr Bueso] + - random utilities [Davidlohr Bueso] +lib/blkdev: + - fix compiler warning [-Wreturn-type] [Karel Zak] + - return static strings by blkdev_scsi_type_to_name() [Karel Zak] +lib/canonicalize: +lib/fileutils: + - add get_fd_tabsize() [Karel Zak] +lib/loopdev: + - minor bug fix add missing semicolon [Sami Kerola] + - more robust initialization [Karel Zak] + - use warn_unused_result forimportant functions [Karel Zak] +lib/mangle: + - check for end of string on every iteration [Dave Reisner] + - cleanup, add unhexmangle [Karel Zak] + - fix a memory leak in the test case [Cong Wang] + - remove unused variable [Karel Zak] +lib/match: + - fix compiler warning [-Wmissing-prototypes] [Karel Zak] +lib/mbsalign: + - abort() when non-expected case is encountered [Sami Kerola] +lib/pager: + - fix compiler warnings [Karel Zak] + - minor compiler warning fixes [Sami Kerola] + - repair build for non-Linux. [Thomas Schwinge] +lib/strutils: + - add string_add_to_idarray() - parse and add to id list [Milan Broz] + - add string_to_bitmask() [Karel Zak] + - add strtosize_or_err, clean up [Karel Zak] + - circumvent missing localeconv() [maximilian attems] + - create type specific strtoxx_or_err() [Karel Zak] +lib/sysfs: + - check if cxt->dir_path is NULL in sysfs_readlink() [Cong Wang] + - expect p suffix for partitions [Karel Zak] + - improve sysfs_is_partition_dirent() [Karel Zak] + - make sysfs_partno_to_devno better readable [Bernhard Voelker] + - use warn_unused_result for sysfs_init() [Karel Zak] +lib/tt: + - always escape '\' to simplify parsing in scripts [Karel Zak] + - check for non-printable chars for raw/export format [Karel Zak] + - count read cells, improve \x?? hex encoding [Karel Zak] + - encode data for RAW and EXPORT format [Karel Zak] + - export tt_fputs_{quoted,nonblank} function [Karel Zak] + - fix \x%02x usage [Karel Zak] + - work more sensitive with large columns [Karel Zak] +libblkid: + - accept small blocks for NTFS and Reiserfs in blkid [Vladimir 'φ-coder/phcoder' Serbinenko] + - add dm-verity hash device detection [Milan Broz] + - add noreturn function attribute [Sami Kerola] + - add support for PARTUUID= and PARTLABEL= [Karel Zak] + - befs declare functions static [Petr Uzel] + - cast blkid_loff_t to unsigned long long [Petr Uzel] + - cleanup _attribute__ usage [Karel Zak] + - fix compiler warning [-Wsign-compare] [Karel Zak] + - fix sysfs context usage [Karel Zak] + - generate pseudo-UUID for ISO9660 image file [Andreas Vogel] + - properly reset chain in probe_do_wipe() [Karel Zak] + - remove duplicate entries in symbols [Sami Kerola] + - rewrite ntfs prober [Karel Zak] + - support UFS UUID [Vladimir 'φ-coder/phcoder' Serbinenko] + - trust in udev symlinks, don't verify [Karel Zak] + - update dm-verity scan [Milan Broz] + - use unsigned ints in ntfs prober [Karel Zak] +libmount: + - Use binary search to compare pseudofs [Dave Reisner] + - add MNT_ERR_LOOPDEV [Karel Zak] + - add MNT_ERR_MOUNTOPT [Karel Zak] + - add configfs to pseudofs list [Karel Zak] + - add mnt_context_fstab_applied() [Karel Zak] + - add mnt_context_get_options() [Karel Zak] + - add mnt_fs_streq_srcpath() [Karel Zak] + - add mnt_fs_streq_target() and export all mnt_fs_streq_* [Karel Zak] + - add mnt_optstr_deduplicate_option() [Karel Zak] + - add mnt_table_find_devno() [Karel Zak] + - add noreturn function attribute [Sami Kerola] + - add special MNT_ERR_ codes [Karel Zak] + - add support for PARTUUID= and PARTLABEL= [Karel Zak] + - add support to parse /proc/swaps [Karel Zak] + - allow empty source for mount(2) syscall [Karel Zak] + - allow to disable swap between source and target [Karel Zak] + - avoid infinite loop in child fs iteration [Dave Reisner] + - canonicalize all paths from (fs)tab [Karel Zak] + - canonicalize targets from fstab on mount -a [Karel Zak] + - check VFS mount options in mnt_diff_tables() [Karel Zak] + - clean up MNT_FMT_* usage in parser [Karel Zak] + - cleanup flags usage [Karel Zak] + - close device fd (to avoid mount(2) EBUSY) [Karel Zak] + - cosmetic changes around "none" [Karel Zak] + - deduplicate SELinux mount options [Karel Zak] + - don't canonicalize target [Karel Zak] + - don't generate empty option strings [Karel Zak] + - don't treat "none" differently [Dave Reisner] + - don't use nosuid,noexec,nodev for cifs user=foo [Karel Zak] + - expose mnt_get_mountpoint as external API [Dave Reisner] + - fix "already mounted" detection on systems with mtab [Karel Zak] + - fix compiler warning [-Wsign-compare] [Karel Zak] + - fix mnt_context_guess_fstype() [Karel Zak] + - fix mount by pattern [Karel Zak] + - fix read before allocated buffer [Petr Uzel] + - fix shadow declaration [Sami Kerola] + - fix trivial typos [Petr Uzel] + - fix unmangle code [Karel Zak] + - improve ifdef HAVE_LIBSELINUX stuff [Karel Zak] + - improve mnt_tables_is_mounted [Karel Zak] + - make some string operations more robust [Karel Zak] + - optimize for paths with tailing slash [Karel Zak] + - plug a memory leak in exec_helper() [Petr Uzel] + - remount does not add entry to mtab file [Karel Zak] + - rename mnt_context_fstab_applied to mnt_context_tab_applied [Karel Zak] + - rewrite mnt_table_is_fs_mounted() to be less aggressive [Karel Zak] + - save task ID for mountinfo tiles [Karel Zak] + - trim leading commas from each options string [Dave Reisner] + - use mount. -s for NFS only [Karel Zak] + - use stderr for initial debug message [Karel Zak] +libuuid: + - avoid double open and leaking descriptor [Petr Uzel] + - avoid double open and leaking fd (reworked) [Petr Uzel] + - don't exec uuidd [Petr Uzel] + - fix typo in uuid_compare manpage [Petr Uzel] + - move clock.txt path to header file [Karel Zak] + - move read_all to include/all-io.h [Petr Uzel] + - use EXIT_FAILURE [Petr Uzel] + - use get_fd_tabsize() [Karel Zak] + - use max() from c.h [Petr Uzel] + - use randutils [Davidlohr Bueso] +logger: + - avoid explicit fclose(stdout) [Dave Reisner] + - mark decode/pencode as static [Dave Reisner] + - use memcpy instead of bcopy [Dave Reisner] +login: + - Include only if it exists. [Thomas Schwinge] + - add USER to initial environment [Dave Reisner] + - allow TTYGROUP name begin by number [Sami Kerola] + - close tty before vhangup() [Karel Zak] + - fix LOGIN_CHOWN_VCS code [Karel Zak] + - fix compiler warning [-Wsign-compare] [Karel Zak] + - fix segmentation fault in log_utmp [Karel Zak] + - minor spelling fixes [Elan Ruusamäe] + - minor spelling fixes [Karel Zak] + - support crazy shadow-utils syntax in login.defs [Karel Zak] + - use get_fd_tabsize() [Karel Zak] + - use getdtablesize() correctly in login.c [chas williams - CONTRACTOR] +login-utils: + - add missing header, fix setpwnam.c fclose logic [Karel Zak] + - verify writing to streams was successful [Sami Kerola] +logindefs: + - change getlogindefs_num() to return unsigned long [Sami Kerola] +look: + - remove extra semicolon [Sami Kerola] +losetup: + - Fix setting of sizelimit on new loop devices [Daniel Drake] + - add --detach-all to the list of options [Petr Uzel] + - improve -a to report loopdevs < 512 bytes [Karel Zak] + - more verbose failed setup error mesage [Karel Zak] + - use err_exclusive_options() [Karel Zak] + - use exclusive_option() [Sami Kerola] + - use strtosize_or_err() [Karel Zak] + - warn about backing file size [Karel Zak] +lsblk: + - RQ-SIZE is part of the --topology output (man page bugfix) [Dave Reisner] + - add --include option [Karel Zak] + - add --version switch [Milan Broz] + - add WWN, improve udev support [Karel Zak] + - add inverse tree support (-s) [Peter Rajnoha] + - add not about unstable default output [Karel Zak] + - add read-ahead column. [Milan Broz] + - add support for PARTUUID= and PARTLABEL= [Karel Zak] + - check ioctl result [coverity scan] [Karel Zak] + - check sysfs_read_u64 return code [coverity scan] [Karel Zak] + - count with terminating character, man page -s entry [Peter Rajnoha] + - escape unsafe chars in parsable output [Karel Zak] + - fix /sys/.../ro usage [Karel Zak] + - fix dm_name usage [Karel Zak] + - fix usage, improve exclude/include lists parsing [Karel Zak] + - improve man page wording [Regid Ichira] + - permit option --exclude more than once [Bernhard Voelker] + - remove (dm-N) from NAME for raw/pair output format [Karel Zak] + - remove private \x coding, decode data from udev [Karel Zak] + - support -o + for adding attribute to output fields. [Milan Broz] + - use blkdev_scsi_type_to_name() [Sami Kerola] + - use err_exclusive_options() [Karel Zak] + - use exclusive_option() [Sami Kerola] + - use fallback for TYPE [Karel Zak] + - use libmount to get mountpoints/swaps [Karel Zak] + - use readlink_at from at.c [Karel Zak] +lscpu: + - fix compiler warning [-Wmissing-prototypes] [Karel Zak] + - fix compiler warning [-Wsign-compare] [Karel Zak] + - fix possibly undefined operation [Petr Uzel] + - fix shadow declaration [Sami Kerola] + - limit options --all, --online, --offline to parsable and extended output [Heiko Carstens] + - use err_exclusive_options() [Karel Zak] + - use exclusive_option() [Sami Kerola] + - values in /proc/bus/pci/devices are always unsigned [Sami Kerola] +lslock: + - remove duplicate variable [Karel Zak] +lslocks: + - add --notruncate, minor fixes in man page [Karel Zak] + - add TYPE column [Davidlohr Bueso] + - add lslocks.8 man page [Davidlohr Bueso] + - fix bracket indentation [Davidlohr Bueso] + - fix shadow declaration [Sami Kerola] + - minor fix in usage() [Karel Zak] + - new command [Davidlohr Bueso] + - use xasprintf for safe allocation [Sami Kerola] +mesg: + - use rpmatch to yes/no question [Sami Kerola] +misc: + - clenaup SIZE columns in lsblk and findmnt [Karel Zak] +misc-utils: + - cleanup strtoxx_or_err() [Karel Zak] + - cleanup unused strings.h includes [maximilian attems] + - fix typos [Davidlohr Bueso] + - verify writing to streams was successful [Sami Kerola] +mkfs.cramfs: + - disallow unknown command line options [Sami Kerola] + - fix compiler warning [-Wmissing-prototypes] [Karel Zak] + - remove unused 'MIN' macro definition [Petr Uzel] +mkswap: + - allow creating swap on /dev/hd[ab] [Petr Uzel] + - fix shadow declaration [Sami Kerola] + - improve diagnostics message if the device is mounted [Petr Uzel] + - use is_mounted() instead of check_mount() [Petr Uzel] +more: + - add noreturn function attribute [Sami Kerola] + - fix pointer wrap around compiler warnings [Sami Kerola] + - fix regex error messages printing [Karel Zak] + - fix search repetition regression [Sami Kerola] + - fix shadow declaration [Sami Kerola] + - fix typos [Davidlohr Bueso] + - remove a meaningless test [Jeremy Huntwork] +mount: + - (new) add 'internal-only(i)' to non-root allowed options [Raghavendra D Prabhu] + - (new) add --source and --target [Karel Zak] + - (new) add loopdev specific error message [Karel Zak] + - (new) add missing xalloc.h [Karel Zak] + - (new) add note about unsupported 'ignore' fstype to fstab.5 [Karel Zak] + - (new) add support for PARTUUID= and PARTLABEL= [Karel Zak] + - (new) allow sloppy for non-root [Karel Zak] + - (new) be more pedantic about --make-* [Karel Zak] + - (new) cleanup mount -a return codes [Karel Zak] + - (new) fix MS_REC usage [Karel Zak] + - (new) improve error messages [Karel Zak] + - (new) use MNT_ERR_ for error messages [Karel Zak] + - (new) use exclusive_option() [Sami Kerola] + - (old) check for LD_FLAGS_AUTOCLEAR more carefully [Karel Zak] + - (old) fix encryption= usage [Karel Zak] + - (old) remove hybrid libmount code [Karel Zak] + - (old) remove mtab lock test [Karel Zak] + - ext4 option inode_readahead should be inode_readahead_blks in mount.8 [Eryu Guan] + - fix man page typo s/reatime/relatime/ [Karel Zak] + - fix recursively propagation mounting [Dong Hao] + - remove unnecessary free() [Karel Zak] + - replace control chars in mountpoint name [Karel Zak] + - use err_exclusive_options() [Karel Zak] + - verify writing to streams was successful [Sami Kerola] +mountpoint: + - account for error from in mnt_fs_get_target [Dave Reisner] + - add --version & align with howto-usage-function.txt [Sami Kerola] + - fix a minor bug with 0 0 devno [Zhi Li] +namei: + - fix relative symlinks evaluation [Karel Zak] +partx: + - add --version option [Sami Kerola] + - cleanup strtoxx_or_err() [Karel Zak] + - support -o + for adding attribute to output fields [Milan Broz] + - use -s option for default output [Davidlohr Bueso] + - use err_exclusive_options() [Karel Zak] + - use exclusive_option() [Sami Kerola] + - verify writing to streams was successful [Sami Kerola] +pathnames: + - clean up various user database paths [Sami Kerola] +pg: + - align with howto-usage-function.txt [Sami Kerola] + - correct version printing in help screen [Sami Kerola] +po: + - add *.h stuff to POTFILES [Karel Zak] + - merge changes [Karel Zak] + - update cs.po (from translationproject.org) [Petr Písař] + - update da.po (from translationproject.org) [Joe Hansen] + - update de.po (from translationproject.org) [Arun Persaud] + - update fr.po (from translationproject.org) [David Prévot] + - update ja.po (from translationproject.org) [Takeshi Hamasaki] + - update nl.po (from translationproject.org) [Benno Schulenberg] + - update pl.po (from translationproject.org) [Jakub Bogusz] + - update uk.po (from translationproject.org) [Yuri Chornoivan] + - update vi.po (from translationproject.org) [Trần Ngọc Quân] + - update zh_CN.po (from translationproject.org) [Wylmer Wang] +prlimit: + - improve error messages for bad --pid invocation [Bernhard Voelker] + - remove bogus instructions [Davidlohr Bueso] + - use err_exclusive_options() [Karel Zak] + - use exclusive_option() [Sami Kerola] +raw: + - add long options and version printing [Sami Kerola] + - align with howto-usage-function.txt [Sami Kerola] + - check numeric user inputs [Sami Kerola] + - clean up coding style [Sami Kerola] + - fix compiler warning [-Wmissing-prototypes] [Karel Zak] + - use libc error printing facilities [Sami Kerola] + - use pathnames.h for file locations [Sami Kerola] + - use symbolic exit numbers [Sami Kerola] +reset: + - make scripts bourne sh compliant [checkbashisms] [Sami Kerola] +resizepart: + - add new command [Karel Zak, Vivek Goyal] + - remove debug message [Karel Zak] +rev: + - mention tac(1) in 'SEE ALSO' man page section [James R. Van Zandt] +rtcwake: + - only invoke RTC_AIE_ON/OFF ioctls in pairs [Paul Fox] + - tiny coding style change [Karel Zak] +schedutils: + - cleanup strtoxx_or_err() [Karel Zak] + - verify writing to streams was successful [Sami Kerola] +script: + - add noreturn function attributes [Sami Kerola] + - error in usage() output [Sami Kerola] + - play well with csh when invoked from within /etc/csh.login [Karel Zak] + - remove unused code [Karel Zak] +scriptreplay: + - fix compiler format warning [Sami Kerola] + - fix compiler warning [-Wmissing-prototypes] [Karel Zak] +setarch: + - disallow unknown command line options [Sami Kerola] + - do not use -1 as array index [cppcheck] [Sami Kerola] + - fix compiler warning [-Wmissing-prototypes] [Karel Zak] +setpwnam: + - use xmkstemp() and lckpwdf() [Sami Kerola] +setsid: + - Include instead of . [Thomas Schwinge] + - add option "-c" to set the controlling terminal [Harald Hoyer] + - cleanup usage() [Karel Zak] + - fix off-by-one error in execvp call [Bernhard Voelker] +setterm: + - correct manual page reference [Sami Kerola] + - fix shadow declaration [Sami Kerola] +sfdisk: + - fix calculation due to type mismatch (ix86) [Petr Uzel] + - fix compiler warning [-Wunused-result] [Petr Uzel] + - improve F_MEGABYTE header [Bernhard Voelker] + - make -l less verbose about missing PT [Karel Zak] + - use rpmatch to yes/no question [Sami Kerola] +strutils: + - return success on test program [Davidlohr Bueso] +su: + - Add AM_LDFLAGS to su_LDFLAGS. [Thomas Schwinge] + - Don't include the unused [Thomas Schwinge] + - Mention SUID_* feature. [Thomas Schwinge] + - align with howto-usage-function [Sami Kerola] + - cleanup man page [Karel Zak] + - don't use custom MAX macro [Ludwig Nussel] + - fix compiler warning [-Wmissing-prototypes] [Karel Zak] + - fix compiler warning [-Wunused-parameter] [Karel Zak] + - introduce xsetenv globally [Ludwig Nussel] + - preserve errno in cleanup_pam() [Ludwig Nussel] + - remove program_name [Karel Zak] + - remove unimplemented options -u and -v [Bernhard Voelker] + - remove unused code [Ludwig Nussel] + - replace PAM_BAIL_P macro with better solution [Ludwig Nussel] + - use BSD err function instead of gnu's error() [Ludwig Nussel] + - use ENV_PATH resp ENV_SUPATH to be consistent with login [Ludwig Nussel] + - use EXIT_FAILURE consistently [Ludwig Nussel] + - use xstrdup() [Karel Zak] +sulogin: + - add i18n strings [Dave Reisner] + - add long options [Karel Zak] + - add note about port to util-linux to the man page [Karel Zak] + - check chdir and getcwd return values [-Wunused-result] [Karel Zak] + - cleanup comments [Karel Zak] + - cleanup strtoxx_or_err() [Karel Zak] + - fix selinux build [Karel Zak] + - fix shadow declaration [Sami Kerola] + - get rid of calls to /bin/sash [Dave Reisner] + - header/include cleanup [Dave Reisner] + - initial import from sysvinit [Dave Reisner] + - initialize nls stuff [Karel Zak] + - parse timeout more carefully [Karel Zak] + - remove CHECK_{DES,MD5} defines [Dave Reisner] + - remove USE_ONELINE and SANE_TIO defines [Dave Reisner] + - replace older signal() with sigaction() [Dave Reisner] + - replace perror() with warx() [Karel Zak] + - share vc initialization with agetty [Karel Zak] + - sulogin.8 refactor manpage [Dave Reisner] + - use EXIT_* [Karel Zak] + - use a more standard usage output [Dave Reisner] + - use err.h stuff [Karel Zak] + - use pathnames.h for file locations [Dave Reisner] + - use size_t for iterator to avoid cast [Dave Reisner] + - whitespace fixes [Dave Reisner] +swaplabel: + - add --version and align with howto-usage-function.txt [Sami Kerola] + - check blkid_probe_lookup_value() result [coverity scan] [Karel Zak] +swapoff: + - cleanup usage() and includes [Karel Zak] + - move code from swapon.c to swapoff.c [Karel Zak] + - use libmount to parse fstab [Karel Zak] +swapon: + - add --show option [Sami Kerola] + - add support for PARTUUID= and PARTLABEL= [Karel Zak] + - cleanup main() [Karel Zak] + - cleanup usage() [Karel Zak] + - fix --summary output regression [Sami Kerola] + - fix typo [Karel Zak] + - kill unused variables in show_table() [Petr Uzel] + - make --show size to be human readable by default [Sami Kerola] + - minor coding style changes [Karel Zak] + - move generic code to swapon-common.c [Karel Zak] + - remove unused variables [Sami Kerola] + - use directly blkid rather than fsprobe wrapper [Karel Zak] + - use libmount for /proc/swaps parsing [Karel Zak] + - use libmount for fstab parsing (for swapon --all) [Karel Zak] + - use only libmount for paths/tags evealuation [Karel Zak] +sys-utils: + - avoid duplicate reference to fstab.5 [Dave Reisner] + - cleanup strtoxx_or_err() [Karel Zak] + - fix typos [Davidlohr Bueso] + - verify writing to streams was successful [Sami Kerola] +sysfs: + - fix printf format warnings [Sami Kerola] + - move blkid_devno_to_wholedisk to sysfs_devno_to_wholedisk [Michal Luscon] +tailf: + - fix compiler warning [-Wmissing-prototypes] [Karel Zak] +term-utils: + - cleanup strtoxx_or_err() [Karel Zak] + - verify writing to streams was successful [Sami Kerola] +test: + - test 'none' source for mount(8) [Karel Zak] +test_sysinfo: + - fix compiler warning [-Wmissing-prototypes] [Karel Zak] +tests: + - add UFS uuids to results [Karel Zak] + - add layout info to dos mode test [Karel Zak] + - add libmount optstr deduplicate [Karel Zak] + - add losetup/mount encryption test [Karel Zak] + - add lscpu test for box with 64 CPUs [Karel Zak] + - add lslocks to build-sys tests [Karel Zak] + - add non-dos mode fdisk test [Karel Zak] + - add swapon tests for --fixpgsz and fix signature [Karel Zak] + - add tests for mount --make-* stuff [Karel Zak] + - add umount-by-eject tests [Karel Zak] + - blkid/md-raid1-part fails [Bernhard Voelker] + - check for 'make check' [Karel Zak] + - cleanup ts_is_mounted [Bernhard Voelker] + - hwclock locate ntpdate by using path [Sami Kerola] + - look add words file [Sami Kerola] + - make blkid/md-raid1-part more robust [Bernhard Voelker] + - make compatible with autotools [Karel Zak] + - make output and diff dirs usage more robust [Karel Zak] + - more robust symlinks usage [Karel Zak] + - partx changed default output format [Sami Kerola] + - remove LD_LIBRARY_PATH from swapon tests [Karel Zak] + - remove lt- prefixes [Karel Zak] + - rename doslabel test [Karel Zak] + - search for "none" by findmnt [Karel Zak] + - search mount point in canonicalized form in /proc/mounts [Bernhard Voelker] + - standardize fdisk headers in MBR tests [Karel Zak] + - test non-canonical paths in fstab [Karel Zak] + - tiny change in output header [Karel Zak] + - update [Karel Zak] + - update blkid tests with fdisk output [Karel Zak] + - update build-sys tests [Karel Zak] + - update fdisk test [Karel Zak] + - update fdisk test (default output format changed) [Petr Uzel] + - update iso tests [Karel Zak] + - update libmount tests [Karel Zak] + - update non-lib build tests [Karel Zak] + - update oddinput test [Karel Zak] + - update partx, add missing whitespace [Karel Zak] + - update paths to helpers [Karel Zak] + - use eject --force [Karel Zak] + - use ts_is_mounted in mount/regfile [Bernhard Voelker] + - wait a moment between mount and umount [Karel Zak] +text-utils: + - cleanup strtoxx_or_err() [Karel Zak] + - use min() from c.h [Petr Uzel] + - verify writing to streams was successful [Sami Kerola] +text-utils/hexsyntax.c: + - fix for missing program_invocation_short_name [Andreas Bießmann] +tools: + - add asprintf to checkxalloc script [Sami Kerola] + - add checkmans.sh [Sami Kerola] + - add small and stupid script to check HAVE_DECL_ [Karel Zak] + - checkconfig.sh make scripts bourne sh compliant [checkbashisms] [Sami Kerola] + - cleanup config-gen.d [Karel Zak] + - config-gen make scripts bourne sh compliant [checkbashisms] [Sami Kerola] + - improve ko-release-* scripts [Karel Zak] + - ko-release make scripts bourne sh compliant [checkbashisms] [Sami Kerola] +translation: + - unify file open error messages [Sami Kerola] + - unify stat error messages [Sami Kerola] +tunelp: + - check fstat return code [coverity scan] [Karel Zak] + - remove old, now unneeded header [Dave Reisner] +ul: + - fix shadow declaration [Sami Kerola] +util-linux: + - Document new FAT options [Steven J. Magnani] +utmpdump: + - add NLS and closestream support [Karel Zak] + - add long options [Karel Zak] + - cleanup comments, funcs definition lines [Karel Zak] + - cleanup file descriptor usage [Karel Zak] + - cleanup usage() [Karel Zak] + - document optional filename argument [Bernhard Voelker] + - encourage users not to follow stdin [Sami Kerola] + - fix compiler warning [-Wunused-result] [Karel Zak] + - fixes based on static analysis [cppcheck] [Sami Kerola] + - kill unused variable in follow_by_inotify() [Petr Uzel] + - new command, merge from sysvinit [Karel Zak] + - remove dead code [Karel Zak] + - remove libc5 support [Karel Zak] + - remove unused variable [Sami Kerola] + - use err.h stuff [Karel Zak] + - use help and version output macros [Sami Kerola] + - use inotify to when following file [Sami Kerola, Karel Zak] + - use xalloc.h, minor coding style changes [Karel Zak] + - white space fix [Sami Kerola] +uuidd: + - add systemd unit files [Petr Uzel] + - do not drop privileges [Petr Uzel] + - factor out pidfile creation into separate function [Petr Uzel] + - factor out socket creation into separate function [Petr Uzel] + - implement --no-fork option [Petr Uzel] + - implement --no-pid option [Petr Uzel] + - implement --socket-activation option [Petr Uzel] + - improve systemd unit files [Karel Zak] + - introduce uuidd_cxt to pass arguments to server loop [Petr Uzel] + - move from /var/run/uuidd to /run/uuidd [Karel Zak] + - print all debugging information to stderr [Petr Uzel] + - remove unnecessary variables [Karel Zak] + - remove useless initialization of cleanup_socket [Petr Uzel] + - use UUIDD_OP_GETPID instead of magic number [Petr Uzel] + - use configured run state directory in manual etc [Sami Kerola] + - use ignore_result helper [Petr Uzel] + - use output redirection which works [checkbashisms] [Sami Kerola] + - use run configured state directory [Sami Kerola] +vipw: + - add noreturn function attribute [Sami Kerola] + - make vim writebackup mode work [Sami Kerola] + - use rpmatch to yes/no question [Sami Kerola] + - use xmkstemp() and lckpwdf() [Sami Kerola] +wall: + - use xmkstemp for temporary file [Sami Kerola] +wdctl: + - add "--settimeout" to set the timeout [Harald Hoyer] + - add --flags-only and optional column DEVICE [Karel Zak] + - add --oneline [Karel Zak] + - add man page [Karel Zak] + - add watchdog status tool [Lennart Poettering] + - align with other util-linux commands [Sami Kerola] + - allow to specify more than one device [Karel Zak] + - correct manual section reference [Sami Kerola] + - fix conflicting types on old systems [Sami Kerola] + - make timeouts output more parsable [Karel Zak] + - rewrite to use lib/tt [Karel Zak] + - tiny change to man page [Karel Zak] + - use err_exclusive_options() [Karel Zak] + - use exclusive_option() [Sami Kerola] +whereis: + - cleanup man page, add note about $PATH [Karel Zak] + - fix shadow declaration [Karel Zak] +wipefs: + - Fix mismatch if more -o options used. [Milan Broz] + - add quiet flag (-q) [Milan Broz] + - always print devname [Karel Zak] + - support more device arguments for wipefs [Milan Broz] + - use err_exclusive_options() [Karel Zak] + - use exclusive_option() [Sami Kerola] + - use strtosize_or_err() [Karel Zak] + - use symbolic value for markup mode [Sami Kerola] +write: + - Don't explicitly include . [Thomas Schwinge] + - Use PATH_MAX instead of MAXPATHLEN, as elsewhere. [Thomas Schwinge] +xalloc: + - use xasprintf in all files [Sami Kerola] diff --git a/Documentation/releases/v2.23-ReleaseNotes b/Documentation/releases/v2.23-ReleaseNotes new file mode 100644 index 0000000..ba26c79 --- /dev/null +++ b/Documentation/releases/v2.23-ReleaseNotes @@ -0,0 +1,1172 @@ +Util-linux 2.23 Release Notes +============================= + +The cryptoloop support in the commands mount(8) and losetup(8) has been +REMOVED. The encryption= mount option and -e,-E,--encryption losetup options +are no more supported. + +The command arch(1) has been REMOVED from util-linux in favour of coreutils +version. + +The command chkdupexe has been REMOVED from util-linux. + +The command ddate has been REMOVED from util-linux. You can find it here: +https://github.com/bo0ts/ddate + +The library libblkid supports LIBBLKID_DEBUG= environment variable to +print debug messages on stderr. The old BLKID_DEBUG= is no more supported. + +Release highlights +------------------ + +nsenter(1): + - this NEW COMMAND provides command line interface to setns() Linux syscall + and allows to run program with namespaces of other processes + +unshare(1): + - supports new PID and USER namespaces + +fdisk(8): + - provides experimental support for GUID Partition Table (GPT), the + implementation is still not complete and some (unimportant) features are missing. + + - ~50% of fdisk code has been refactored, this task is going to be complete + in the next release. The goal is to have libfdisk shared between all fdisks. + +partx(8): + - supports new "update" command (implemented by BLKPG_RESIZE_PARTITION ioctl) + +mount(8): + - supports new userspace mount option x-mount.mkdir[=] to create + mountpoints on demand + + - the support for propagation flags has been improved, now the flags could be + specified in /etc/fstab and used together with regular mount options. It's + also possible to specify more propagation flags together. This EXPERIMENTAL + feature is implemented by additional mount(2) syscalls, because Linux does + not allow to use propagation flags with another options or more flags + together. + +umount(8): + - supports new command line option --recursive to recursively unmount + all sub-mounts for the specified mountpoint + - supports new command line option --all-targets to unmount all mountpoints in + the current namespace for the specified filesystem + - the options --recursive and --all-targets could be used together + +dmesg(1): + - supports new command line options --color, --human and --nopager, the + --human option enables relative times, colors and pager support. + +su(1): + - supports new command line options --group and --supp-group to specify + primary and supplementary groups + +chfn(1) and chsh(1): + - the commands could be linked with libuser to support non-local + accounts modification (e.g. LDAP, etc). + +kill(1): + - the command has been improved to be compatible with procps version, the + procps version is deprecated now, the util-linux version is enabled by + default. + +blkdiscard(8): + - this NEW COMMAND discard sectors on a device (for example on SSD disks) + +sulogin(8): + - provides multi-console feature from SysVinit + +findmnt(8): + - provides new columns FREQ, PASSNO, ID, OPT-FIELDS, PROPAGATION + +lslocks(8): + - provides new column BLOCKER and detects blocked locks + +lsblk(8): + - supports new command line option --scsi and new columns HCTL, TRANsport + VENDOR and REVision + +swapon(8) and losetup(8): + - the commands prints basic overview by default if no option specified + +column(1): + - supports new command line option --output-separator to specify table + output delimiter + +rename(1): + - supports new command line option --symlink to rename symlink target + +hwclock(8): + - supports new command line option --compare to periodically compare + the Hardware Clock to the System Time (based on adjtimex -c) + +ipcs(1): + - supports new command line options --bytes and --human + +wipefs(1): + - supports new command line option --force to force erase on used devices + + +Stable maintenance releases between v2.22 and v2.23 +--------------------------------------------------- + +util-linux 2.22.1 [10-Oct-2012] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.22/v2.22.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.22/v2.22.1-ChangeLog + +util-linux 2.22.2 [13-Dec-2012] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.22/v2.22.2-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.22/v2.22.2-ChangeLog + + +Changes between v2.22 and v2.23 +------------------------------- + + For more details see ChangeLog files at: + https://www.kernel.org/pub/linux/utils/util-linux/v2.23/ + +agetty: + - add --chroot to usage() and man page [Karel Zak] + - add --{erase,kill}-chars options [Karel Zak] + - add -E, --remote to usage() [Karel Zak] + - add \4 and \6 issue file sequences to print IP addresses [Karel Zak] + - fix autodetection for TERM [Michal Schmidt] + - make --autologin useful with --skip-login (prompt) [Karel Zak] + - make \{4,6} issue file code more robust [coverity scan] [Karel Zak] + - make usage() translator friendly [Sami Kerola] + - properly pluralize the reporting of the number of users [Benno Schulenberg] + - remove @ and # as default kill and erase chars [Karel Zak] + - replace gethostbyname() with getaddrinfo() [Sami Kerola] + - replace perms 660 to 620 [Karel Zak] + - stop using MAXHOSTNAMELEN [Karel Zak] + - the command does not have -h and -V options [Sami Kerola] +arch: + - remove the command, deprecated since 2.13, use coreutils version [Karel Zak] +bash-completion: + - Avoid some unnecessary subshells. [Ville Skyttä] + - Don't offer any more completions after help or version. [Ville Skyttä] + - Don't offer short options where corresponding long one exists. [Ville Skyttä] + - Symlink runuser symlink to su so it gets loaded on demand. [Ville Skyttä] + - add bash completion configure option [Sami Kerola] + - add completion files to Makefile.am [Sami Kerola] + - add swapoff [Bernhard Voelker] + - disk-utils [Sami Kerola] + - fdisks [Sami Kerola] + - login-utils [Sami Kerola] + - misc-utils [Sami Kerola] + - rename shell-completion -> bash-completion [Karel Zak] + - schedutils [Sami Kerola] + - setarch use correct list for architectures [Sami Kerola] + - swapon add options and fix argument [Sami Kerola] + - sys-utils [Sami Kerola] + - term-utils [Sami Kerola] + - text-utils [Sami Kerola] +blkdiscard: + - add new command [Lukas Czerner] +blkid: + - also accept -V for displaying version information [Benno Schulenberg] + - document LIBBLKID_DEBUG users [Davidlohr Bueso] + - fix double free [coverity scan] [Karel Zak] + - fix man page mess [Karel Zak] + - use O_CLOEXEC [Karel Zak] + - use xalloc everywhere [Karel Zak] + - use xalloc.h when possible [Sami Kerola] +build-sys: + - Add flag for enabling/disabling libuser support. [Cody Maloney] + - add --disable-bash-completion [Karel Zak] + - add --disable-bfs [Karel Zak] + - add --disable-cytune [Karel Zak] + - add --disable-fdformat [Karel Zak] + - add --disable-hwclock [Karel Zak] + - add --disable-wdctl [Karel Zak] + - add --disable-{more,ul,pg} [Karel Zak] + - add another compiler warnings [Karel Zak] + - add config-gen.d stuff for chsh-chfn [Karel Zak] + - add configure summary [Karel Zak] + - add devel-non-docs compile profile [Karel Zak] + - add exec_shell.h to distribution [Bernhard Voelker] + - add files to distribution [Sami Kerola] + - add gcov files to .gitignore [Sami Kerola] + - add namespace.h to distribution [Sami Kerola] + - add nsenter to gitignore [Sami Kerola] + - add package url to AC_INIT [Sami Kerola] + - check for security_get_initial_context() [Karel Zak] + - clean update-potfiles script [Karel Zak] + - cleanup --enable-most-builds list [Sami Kerola] + - cleanup cpu_set_t usage [Karel Zak] + - don't use libs from pkg-config from libuser [Karel Zak] + - don't use nested BUILD_* [Karel Zak] + - fix --localstatedir heuristics [Karel Zak] + - fix UL_REQUIRES_HAVE [Karel Zak] + - fix non-linux build [Samuel Thibault] + - fix nsenter requirements [Karel Zak] + - fix typo [Karel Zak] + - ignore chkdupexe [Sami Kerola] + - inform gtk-doc about __ul_attribute__ [Karel Zak] + - install su.1 if building su [Dave Reisner] + - invert flag for sulogin emergency mount [Dave Reisner] + - keep libuser optional [Karel Zak] + - lslocks depends on libmount [Karel Zak] + - make wall optional in bash-completion [Karel Zak] + - move runuser(1) to sbin dir [Karel Zak] + - release++ (v2.23-rc1) [Karel Zak] + - release++ (v2.23-rc2) [Karel Zak] + - remove --enable-gtk-doc from make check [Karel Zak] + - remove consoles.h [Karel Zak] + - remove gethostbyname() check [Sami Kerola] + - remove static from config-gen.d/{devel,all}.conf [Karel Zak] + - set dependence fdisk -> libfdisk -> libuuid [Karel Zak] + - simplify usrlib_execdir initialization [Karel Zak] + - support list of variables for UL_REQUIRES_HAVE macro [Karel Zak] + - test for secure_getenv() too. [Cristian Rodríguez] + - use 'check' for all utils with dependencies [Karel Zak] + - use AC_COMPILE_IFELSE [Sami Kerola] + - use AC_USE_SYSTEM_EXTENSIONS [Sami Kerola] + - use libcommon.a for lslocks [Karel Zak] + - use pkg-config for selinux [Karel Zak] + - use pkg-config results for libuser [Karel Zak] +cal: + - don't mix ncurses output functions and printf() [Karel Zak] +chfn: + - Add libuser support [Cody Maloney] + - always use return rather than exit() in main [Karel Zak] + - clean up exit status [Karel Zak] +chkdupexe: + - remove, deprecated for years [Karel Zak] +chrt: + - make command syntax easier to understand in usage() [Sami Kerola] +chsh: + - Add libuser support [Cody Maloney] + - use return rather than exit in main, clean up man page [Karel Zak] +chsh-chfn: + - Move pam auth to its own function, factoring out common code [Cody Maloney] + - fix bugs, improve compilation [Karel Zak] +col: + - fix compiler warning [-Wstrict-prototypes] [Karel Zak] +column: + - add --output-separator option [Sami Kerola] + - clarify the --separator option [Pádraig Brady] + - describe change of separator behavior in man page bugs section [Sami Kerola] + - make defined separator to be non-greedy [Sami Kerola] + - make usage() translator friendly [Sami Kerola] +ddate: + - remove from util-linux [Sami Kerola] +dmesg: + - Add a --color option to colorize error and panic messages [Ondrej Oprala] + - add --human [Karel Zak] + - add boundary check to facility & level array usage [Sami Kerola] + - fix console-level off-by-one [Bjørn Mork] + - fix usage() [Karel Zak] + - fix usage() output consistancy [Sami Kerola] + - make usage() translator friendly [Sami Kerola] + - minor cleanup of EXCL_xxx_ERR macros [Andrii Bordunov] + - more colors, more fun [Karel Zak] + - parse level when --color is used [Sami Kerola] + - use $PAGER for --human output, add --nopager [Karel Zak] +doc: + - remove incorrect spaces from lscpu synopsis in manpage [Benno Schulenberg] +docs: + - add AVAILABILITY section to isosize man page, and tweak wording [Benno Schulenberg] + - add fsck.cramfs manual page [Sami Kerola] + - add line breaks to whereis.1 [Sami Kerola] + - add list of expected PAM config files [Karel Zak] + - add long options and tidy up kill.1 [Sami Kerola] + - add missing exit value to fsck.minix(8) [Sami Kerola] + - add missing information about -o + [Karel Zak] + - add mkfs.cramfs manual page [Sami Kerola] + - add note about /etc/pam.d/su-l to ReleaseNotes [Karel Zak] + - add note about /var/lib/hwclock to TODO [Karel Zak] + - add su(1) btmp logging [Karel Zak] + - add TB to list of supported suffixes [Karel Zak] + - add v2.23-ReleaseNotes [Karel Zak] + - add wipefs feature request to TODO [Karel Zak] + - align blkdiscard.8 with how-to-man-page.txt [Sami Kerola] + - align nsenter.1 man page with howto-man-page.txt [Sami Kerola] + - arch is gone, use delpart as usage() function example [Sami Kerola] + - AUTHORS, NEWS UTF-8 fixes. [Ville Skyttä] + - AUTHORS remove four duplicate entries [Benno Schulenberg] + - cleanup TODO [Karel Zak] + - col.1 fix manual page name section [checkmans.sh] [Sami Kerola] + - ddate removal [Sami Kerola] + - fix column.1 groff syntax error [Sami Kerola] + - fix prlimit typo [Davidlohr Bueso] + - fix typo [Karel Zak] + - generic whereis.1 clean up [Sami Kerola] + - improve grammar and formatting of explanation of "-o +list" [Benno Schulenberg] + - improve wording and formatting of blkid man page [Benno Schulenberg] + - improve wording, formatting and accuracy of ipcs man page [Benno Schulenberg] + - improve wording, grammar and formatting of lsblk man page [Benno Schulenberg] + - make the section AVAILABILITY always come last in man pages [Benno Schulenberg] + - mark old losetup output format as DEPRECATED [Karel Zak] + - mention Open Group requirements [Sami Kerola] + - mention what Open Group has marked legacy [Sami Kerola] + - mkswap.8 recommend fallocate(1) [Sami Kerola] + - mount.8 make propagation flags adjustable [checkmans.sh] [Sami Kerola] + - NEWS add some missing accents, since this is now UTF-8 [Benno Schulenberg] + - normalize formatting of findmnt man page [Benno Schulenberg] + - normalize formatting of lslocks man page [Benno Schulenberg] + - normalize formatting of wipefs man page [Benno Schulenberg] + - remove dead link [Sami Kerola] + - remove hwclock --compare from TODO [Bill Pemberton] + - remove repeated words [checkmans.sh] [Sami Kerola] + - remove repeated words [Karel Zak] + - sort the options in findmnt man page alphabetically [Benno Schulenberg] + - swapon.8 option name fix [Sami Kerola] + - umount.8 syntax fix. [Ville Skyttä] + - upadte v2.23-ReleaseNotes [Karel Zak] + - update AUTHORS file [Karel Zak] + - update deprecated file [Karel Zak] + - update deprecated.txt [Karel Zak] + - update TODO file [Karel Zak] + - update v2.23-ReleaseNotes [Karel Zak] + - update year [Karel Zak] + - usage function and gettext [Sami Kerola] +eject: + - remove a duplicate command name from error message [Sami Kerola] + - robust strings usage [coverity scan] [Karel Zak] +fdisk: + - (aix) remove unuused variable 'partitions' [Karel Zak] + - (bds) use nested partition table [Karel Zak] + - (bsd) add partitions counters [Karel Zak] + - (bsd) support non-nested version too [Karel Zak] + - (dos) kill 'partitions' global variable [Karel Zak] + - (dos) move 'move begin' code to fdiskdoslabe.c [Karel Zak] + - (dos) move 'toggle active' code to fdiskdoslabe.c [Karel Zak] + - (dos) move dos specific code [Karel Zak] + - (dos) move dos_list_table_expert() to fdiskdoslabe.c [Karel Zak] + - (dos) move fix order code to fdiskdoslabe.c [Karel Zak] + - (dos) move list table code to fdiskdoslabe.c [Karel Zak] + - (dos) use new dialog to ask for prim. partitions [Karel Zak] + - (gpt) align newly created partitions [Karel Zak] + - (gpt) check if the "First sector" is unused [Karel Zak] + - (gpt) check partitions alignment [Karel Zak] + - (gpt) fix compiler warnings [Karel Zak] + - (gpt) fix {last,first}_usable_lba usage [Karel Zak] + - (gpt) remove global variables, cleanup header verification [Karel Zak] + - (gpt) use fdisk_{warn,warx,info} functions [Karel Zak] + - (gpt) use topology to define FirstUsableLBA [Karel Zak] + - (sun) use ask API, remove global variable [Karel Zak] + - (sun) cleanup header file [Karel Zak] + - (sun) remove dead code [Karel Zak] + - (sun) remove global variable 'partitions' [Karel Zak] + - (sun) remove nasty sunlabel macro [Karel Zak] + - (sun) share disk label struct with libblkid [Karel Zak] + - (sun) use Ask API for new-partiton dialog [Karel Zak] + - (sun) use cpu_to_be* macros, remove other_endian global variable [Karel Zak] + - (sun) use fdisk_ prefix for label specific public functions [Karel Zak] + - (sun) use fdisk_{info,warnx} [Karel Zak] + - (sun) use yes/no from libfdisk [Karel Zak] + - add 'G' to create SGI label to the main menu [Karel Zak] + - add AArch64 support [Marcin Juszkiewicz] + - add GPT support [Davidlohr Bueso] + - add callacks for info, warn and warnx Ask API [Karel Zak] + - add callback for ask-numbers API [Karel Zak] + - add fdisk_get_partition_type() [Karel Zak] + - add fdisk_set_partition_type() [Karel Zak] + - add new functions for work with fdisk_parttype [Karel Zak] + - add support for the Xtensa architecture [Karel Zak] + - allow zero as default offset/size [Karel Zak] + - api improve some comments [Davidlohr Bueso] + - api move disklabel type to cxt [Davidlohr Bueso] + - api propagate add partitions to users [Davidlohr Bueso] + - api propagate partition deletion to users [Davidlohr Bueso] + - cleanup debug messages and comments [Karel Zak] + - cleanup partition start/end usage [Karel Zak] + - correctly initialize pointer to sun label [Karel Zak] + - differentiate between get and read operation [Karel Zak] + - don't fails silently if EBR is outside of disk [Karel Zak] + - don't offer GPT stuff in BSD menu [Karel Zak] + - fix compiler warning [-Wpointer-arith] and floating point exception [Karel Zak] + - fix list types [Karel Zak] + - fix segfault when printing gpt raw data [Davidlohr Bueso] + - fix typo [Karel Zak] + - gpt check header size [Davidlohr Bueso] + - gpt use swap_efi_guid for new partitions [Davidlohr Bueso] + - gpt write entire first sector [Davidlohr Bueso] + - improve MBR detection [Karel Zak] + - improve list partition types [Karel Zak] + - move DOS units stuff to fdiskdoslabel.c [Karel Zak] + - move partition types to label specific part [Karel Zak] + - no more AIX "support" [Karel Zak] + - remove comma from ask number dialog [Karel Zak] + - remove crappy bugs section from man page [Karel Zak] + - remove dead code [Davidlohr Bueso] + - remove dead code [Karel Zak] + - remove duplicate code (already in libfdisk) [Karel Zak] + - remove fdisk_label from API functions, add asserts, use size_t [Karel Zak] + - remove global unit variables [Karel Zak] + - remove global variable sector_offset [Karel Zak] + - remove unwanted operator [smatch scan] [Karel Zak] + - report PT type, inform about new GPT [Karel Zak] + - sort menu [Karel Zak] + - use BLKSSZGET as default for io-limits rather than hardcoded limit [Karel Zak] + - use comma in the ask-partition-number dialog (again) [Karel Zak] + - use debug stuff from libfdisk [Karel Zak] + - use fdisk_ask_partnum() everywhere [Karel Zak] + - use fdisk_parttype in add_partition [Karel Zak] + - use libfdisk label->changed [Karel Zak] + - zerosize EBR buffer [Karel Zak] +fdisks: + - fix compiler warning [Karel Zak] +findmnt: + - add FREQ and PASSNO columns [Karel Zak] + - add ID column [Karel Zak] + - add OPT-FIELDS column [Karel Zak] + - add PROPAGATION column [Karel Zak] + - allow to read (PART)UUID/LABEL from udev DB [Karel Zak] + - don't care about xasprintf() return code [Karel Zak] + - fix typo fsroot -> nofsroot [Karel Zak] + - make --target usable with bind mounts [Karel Zak] + - make usage() translator friendly [Sami Kerola] + - use tree output in more cases [Karel Zak] +flock: + - improve usage strings [Mike Frysinger] + - possible pointer dereferences [coverity scan] [Karel Zak] + - use include/timer.h [Karel Zak] + - use strtotimeval() from libcommon [Karel Zak] +fsck: + - add "--" to usage() [Karel Zak] + - cleanup usage() [Karel Zak] + - mark file descriptor for -C as optional in help text [Benno Schulenberg] +fsck.cramfs: + - add dummy -a -y for compatibility [Karel Zak] + - check returns [coverity scan] [Karel Zak] + - compile with -DINCLUDE_FS_TESTS for make check [Karel Zak] + - fix compiler warning [-Wpointer-arith] [Karel Zak] + - fix compiler warnings [Karel Zak] +fsfreeze: + - add note about atime to the man page [Karel Zak] + - check for collision between options [Karel Zak] + - clean up usage(), add -V [Karel Zak] + - tell user when mandatory option is not specified [Sami Kerola] +fstrim: + - remove unnecessary "were" from verbose message [Karel Zak] + - use human readable sizes in verbose output [Karel Zak] +getopt: + - fix normalize() usage [coverity scan] [Karel Zak] + - fix usage() typo unquote -> unquoted [Karel Zak] + - make the code more readable for analysers [Karel Zak] +gpt: + - create empty disklabels [Davidlohr Bueso] +hexdump: + - do not segfault when iterating over an empty format string [Ondrej Oprala] +hwclock: + - add a new --compare option [Ondrej Oprala] + - add the --compare option to the man page [Bill Pemberton] + - cleanup _() usage in synchronize_to_clock_tick_rtc() [Karel Zak] + - don't confuse users with select() timeout warning [Karel Zak] + - don't warp the systemtime if the RTC is in UTC [Tom Gundersen] + - fix compiler warning [Karel Zak] + - fix in usage() [Karel Zak] + - make hwclock leap-second-aware [Joseph Parmelee] + - make usage() change translator friendly [Sami Kerola] + - wait time in hwclock is not long enough for some ARM devices [Karel Zak] +include: + - add missing values to sysfs_cxt initializer definition [Sami Kerola] + - add timer.h [Karel Zak] + - cleanup copyright headers [Karel Zak] + - fix SYS_{unshare,nsenter} usage [Karel Zak] +include/bitopts: + - Use the operating system byteswapping functions [Karel Zak, Cristian Rodríguez] +include/c: + - add get_hostname_max() inline function [Sami Kerola] + - add macro UL_CLOEXECSTR [Karel Zak] + - move usleep() fallback to c.h [Karel Zak] + - remove MAXHOSTNAMELEN macro [Karel Zak] +include/env: + - unify indentation [Sami Kerola] +include/fileutils: + - use O_CLOEXEC for mktemp stuff [Karel Zak] +include/list: + - add list_last_entry() [Karel Zak] + - fix undefined behavior in list_entry() macro [Sami Liedes] +include/optutils: + - make collisions detection between options more robust [Karel Zak] +include/pathnames: + - rename _PATH_ADJPATH to _PATH_ADJTIME [Karel Zak] +include/sysfs: + - add SCSI host channel target lun support [Karel Zak] +include/timer: + - return setitimer return value [Karel Zak] +include/ttyutils: + - add default chardata [Werner Fink] +include/xalloc: + - add xgethostname() [Karel Zak] +inlude/pt-sun: + - add flags and tags [Karel Zak] +ionice: + - keep output backwardly compatible [Karel Zak] +ipcmk: + - use random_get_bytes() to generate IPC keys [Karel Zak] +ipcrm: + - avoid 'uninitialized' warning [Bernhard Voelker] +ipcs: + - add --bytes size output option [Sami Kerola] + - add --human readable size conversion option [Sami Kerola] + - add /proc and /sys path definitions [Sami Kerola] + - assist debugging [Sami Kerola] + - clean up do_msg(), and add ipc_msg_get_info() [Sami Kerola] + - clean up do_sem(), and add ipc_sem_get_info() [Sami Kerola] + - clean up do_shm() [Karel Zak] + - determine ipc limits from /proc [Sami Kerola] + - fix compiler warning [clang -Wuninitialized] [Karel Zak] + - fix compiler warnings, use 64bit time [Karel Zak] + - fix ipc_shm_get_info(), use calloc [Karel Zak] + - fix spacing in summary output [Sami Kerola] + - make --human really sexy [Karel Zak] + - make individual message queue id printing to use /proc [Sami Kerola] + - make individual semaphore id printing to use /proc [Sami Kerola] + - make individual shared memory id printing to use /proc [Sami Kerola] + - read shared memory values from /proc [Sami Kerola] + - remove print_perms() [Sami Kerola] + - report an error when -i is used with multiple resources [Benno Schulenberg] +isosize: + - fix usage() -h option print out [Sami Kerola] + - inform if file does not look like iso file system [Sami Kerola] +kill: + - add long options [Sami Kerola] + - add note about threads to the man page [Karel Zak] + - add pretty printed list output (for compatibility with procps) [Sami Kerola] + - align with howto-usage-function.txt [Sami Kerola] + - support --list= [Karel Zak] + - use libc error printing facilities and exit values [Sami Kerola] + - use new API from lib/procutils.c [Karel Zak] +kill, procs: + - use pid_t for pids [Sami Kerola] +last: + - stop usig MAXHOSTNAMELEN [Karel Zak] +lib: + - use O_CLOEXEC in libcommon [Karel Zak] +lib/canonicalize: + - add canonicalize_path_restricted() to canonicalize without suid permisssions [Karel Zak] + - don't use /dev/mapper/ if the node does not exist [Karel Zak] +lib/color: + - add module for work with terminal colors [Ondrej Oprala] +lib/consolas: + - remove global variable concount, fix linked list [Karel Zak] +lib/console: + - fix possible fd leak [Karel Zak] +lib/consoles: + - /proc/consoles code refactoring [Karel Zak] + - TIOCGDEV code refactoring [Karel Zak] + - add code to detect all system consoles [Werner Fink] + - add debug messages [Karel Zak] + - add test program [Karel Zak] + - cmdline code refactoring [Karel Zak] + - don't call perror() [Karel Zak] + - minor clean ups [Karel Zak] + - remove global variable comparedev [Karel Zak] + - remove global variable consoles [Karel Zak] + - remove global variable initcp [Karel Zak] + - small cleanup [Karel Zak] + - sysfs code refactoring [Karel Zak] + - try another methods before go to fallback [Karel Zak] +lib/ismounted: + - basic support for loop devices [Karel Zak] + - improve loopdev support [Karel Zak] +lib/loopdev: + - check for /sys [Karel Zak] + - fix loopdev_find_by_backing_file() [Karel Zak] + - improve debug messages [Karel Zak] + - make loopcxt_get_device() more robust [Karel Zak] +lib/mbsalign: + - correct license header from GPLv[23] to LGPLv2+ [Pádraig Brady] +lib/pager: + - robust work with file descriptors [coverity scan] [Karel Zak] +lib/path: + - add path_read_u64() [Karel Zak] + - rename functions to be more explicit [Karel Zak] +lib/procutils: + - add simple API to scan /proc/PID/* [Karel Zak] + - test refactoring [Karel Zak] +lib/strutils: + - add strtotimeval_or_err() [Karel Zak] + - simplify strtosize(), return info about suffix [Karel Zak] +lib/sysfs: + - add SCSI link functions [Karel Zak] + - add functions for SCSI host attributes [Karel Zak] + - fix sysfs_devname_to_devno for dm partitions [Peter Rajnoha] + - more robust sysfs_opendir() [coverity scan] [Karel Zak] +lib/tt: + - don't ignore "extreme" columns if an free space is available [Karel Zak] +lib/tty: + - don't truncate output on non-terminals [Karel Zak] +lib/ttyutils: + - add get_terminal_name() [Karel Zak] + - add test program [Karel Zak] + - create .c file [Karel Zak] +lib/xalloc: + - add xstrndup() [Karel Zak] + - fix mamory leak in xgethostname() [coverity scan] [Karel Zak] +libblkid: + - (gpt) don't modify in memory buffers [Karel Zak] + - (udf) fix possible null pointer dereference [coverity scan] [Karel Zak] + - Don't keep reading same sector of ISO [Zeeshan Ali (Khattak)] + - Expose more ISO9660 headers [Zeeshan Ali (Khattak)] + - Probe UDF volumes for ISO9660 info as well [Zeeshan Ali (Khattak)] + - add Flash-Friendly File System (f2fs) support [Alejandro Martinez Ruiz] + - add blkid_probe_step_back to documentation [Karel Zak] + - add blkid_probe_step_back() [Karel Zak] + - add debug messages for "idmag" stuff and btrfs [Karel Zak] + - add function attributes to private API [Karel Zak] + - add function attributes to public API [Ondrej Oprala] + - add missing le16_to_cpu to sil raid prober [Karel Zak] + - add missing promise raid metadata locations [Phillip Susi] + - add support for btrfs backup superblock [Goffredo Baroncelli] + - arch independent minix detection [Karel Zak] + - check fchmod() return value [coverity scan] [Karel Zak] + - check mkdir(/run/blkid) return code [coverity scan] [Karel Zak] + - check returns [coverity scan] [Karel Zak] + - clean up DBG() [Karel Zak] + - clean up header file [Karel Zak] + - cleanup arguments checks [Karel Zak] + - cleanup blkid_strconcat [Karel Zak] + - cleanup nonnull attribute usage [Karel Zak] + - export blkid_init_debug() [Karel Zak] + - fix DBG() [Karel Zak] + - fix NTFS prober on big-endian machines [Karel Zak] + - fix ZFS superblok offset for SBMAGIC [Karel Zak] + - fix compiler warning [-Wstrict-aliasing] [Karel Zak] + - fix copyright noticed to be consistent (so all are LGPL) [Karel Zak] + - fix docs comment [Karel Zak] + - fix silicon raid checksum code on BE [Karel Zak] + - ignore nested BSD partitions if same like parent [Karel Zak] + - improve DBG() macro [Karel Zak] + - improve Silicon RAID prober [Karel Zak] + - improve test_blkid_devno, fix compiler warning [-Wunused-result] [Karel Zak] + - make backup superblock visible for wipefs(8) only [Karel Zak] + - make blkid_new_probe_from_filename() usable on whole-disk [Karel Zak] + - make btrfs magics more readable [Karel Zak] + - make swap detection arch independent [Karel Zak] + - move sun PT definition to include/ [Karel Zak] + - number of functions should not be declared extern [smatch scan] [Sami Kerola] + - re-read PART{UUID,LABEL} for successfully verified cached devices [Karel Zak] + - read whole buffer for iso_volume_descriptor [Karel Zak] + - remove blkid_{strndup,strdup} [Karel Zak] + - remove duplicate includes [Karel Zak] + - remove obsolete code [Karel Zak] + - remove obsolete tags from cache [Karel Zak] + - remove optimization from verify( funrtion [Karel Zak] + - rename in sun_disklabel for compatibility with fdisk [Karel Zak] + - return disk ID/UUID by PT binary interface [Karel Zak] + - support LIBBLKID_DEBUG= only [Karel Zak] + - ubifs is LE [Karel Zak] + - use O_CLOEXEC [Karel Zak] + - use correct block size for UDF probe [Zachary Catlin] + - use more robust code in silicon_raid checksum prober [Karel Zak] +libfdisk: + - (gpt) fix EFI UUID usage [Karel Zak] + - (gpt) fix compiler warnings [-Wformat] [Karel Zak] + - (gpt) fix memory leak [coverity scan] [Karel Zak] + - (gpt) fix valid_pmbr() [Karel Zak] + - (gpt) introduce driver independent partitions counters [Karel Zak] + - (gpt) move code from fdisk to libfdisk [Karel Zak] + - (gpt) rmeove xalloc calls [Karel Zak] + - (gpt) use le64_to_cpu() for alternative LBA checks [Karel Zak] + - add "ask" interface [Karel Zak] + - add FDISK_LABEL_FL_ADDPART_NOPARTNO [Karel Zak] + - add Yes/No to Ask API [Karel Zak] + - add alignment code [Karel Zak] + - add basic library files [Karel Zak] + - add basic structs [Karel Zak] + - add context functions [Karel Zak] + - add disk_partition_is_used() [Karel Zak] + - add fdisk_label to driver API [Karel Zak] + - add fdisk_new_context(), reuse context [Karel Zak] + - add fdisk_partition_toggle_flag() [Karel Zak] + - add fdisk_reset_alignment() [Karel Zak] + - add firstsector utils [Karel Zak] + - add generic label code [Karel Zak] + - add info about display units to context [Karel Zak] + - add info, warn and wanx Ask API [Karel Zak] + - add label->changed flag [Karel Zak] + - add part_get_status operation [Karel Zak] + - add parttype code [Karel Zak] + - add probing function [Karel Zak] + - add stuff for unit tests [Karel Zak] + - add support for nested contexts [Karel Zak] + - add topology and geometry functions [Karel Zak] + - add wrapper to ask for numbers [Karel Zak] + - check returns [coverity scan] [Karel Zak] + - cleanup fdisk_get_partition_type() returns [Karel Zak] + - cleanup the rest of fdisks/utils.c stuff [Karel Zak] + - extend "ask" API, add support for offsets [Karel Zak] + - fix gpt status, don't use xcalloc() in library [Karel Zak] + - gpt remove leftover comments [Davidlohr Bueso] + - improve fdisk_ask_partnum() [Karel Zak] + - improve label deinitialization [Karel Zak] + - kill dos_compatible_flag global variable [Karel Zak] + - move label identifier to label struct [Karel Zak] + - split label and label operations [Karel Zak] + - use O_CLOEXEC [Karel Zak] +libmount: + - add debug message to guess FS function [Karel Zak] + - add function attributes to private API [Ondrej Oprala] + - add function attributes to public API [Ondrej Oprala] + - add missing MNT_ERR_AMBIFS [Karel Zak] + - add mnt_fs_get_propagation() [Karel Zak] + - add mnt_table_find_mountpoint() [Karel Zak] + - add private mnt_get_kernel_cmdline_option() [Karel Zak] + - add version and features to debug output [Karel Zak] + - allow to use propagation flags in fstab [Karel Zak] + - append loop option when automatically create loopdev [Karel Zak] + - avoid endless loop in mnt_get_kernel_cmdline_option [Bernhard Voelker] + - clean nonnull attribute usage [Karel Zak] + - clean up header file [Karel Zak] + - convert /dev/root from mountinfo to the device name [Karel Zak] + - correctly interpret '*' from /etc/filesystems [Karel Zak] + - correctly propagate ambivalent blkid probing results [Karel Zak] + - detach loopdev on umount if loop option in mtab [Karel Zak] + - document LIBMOUNT_DEBUG users [Davidlohr Bueso] + - don't prepare update for empty mtab/utab on umount [Karel Zak] + - don't remove user= when executed by root [Karel Zak] + - don't reset NOSWAPMATCH context flag [Karel Zak] + - don't setup new loopdev on remount with regular mtab [Karel Zak] + - don't try to play with loopdevs if umount argument is really mountpoint [Karel Zak] + - don't use safe_getenv() for test [Karel Zak] + - don't use umount optimization for -l or -f [Karel Zak] + - export umount mountpoint look up code [Karel Zak] + - fix __mnt_cache_find_tag_value() [coverity scan] [Karel Zak] + - fix __mnt_optstr_append_option() nonull attribute [coverity scan] [Karel Zak] + - fix a mem leak [Karel Zak] + - fix mount.nfs segfault, rely on assert() rather than on nonnull [Karel Zak] + - fix regression test helper [Ondrej Oprala] + - fix support of comma-separated fs types lists [Gleb Fotengauer-Malinovskiy] + - fix typos [Karel Zak] + - fix umount file.img [Karel Zak] + - fix user-mount by root for mount. helpers [Karel Zak] + - fixed comment about param [Raul Gutierrez Segales] + - ignore name=value if only 'name' is expected [Karel Zak] + - improve debug message [Karel Zak] + - improve mnt_table_get_root_fs() docs [Karel Zak] + - keep MS_PROPAGATION flags in mnt_context_set_mflags() result [Karel Zak] + - make debug stuff more robust [Karel Zak] + - make libmount.h consistent with code [Karel Zak] + - make mkstemp() more robust [coverity scan] [Karel Zak] + - make mnt_table_find_* more robust [coverity scan] [Karel Zak] + - more robust tab filter usage [Karel Zak] + - optimize mtab and utab parsing in umount [Karel Zak] + - optimize tab files parsing [Karel Zak] + - read optional mountinfo fields [Ondrej Oprala] + - segfaults if neither /etc/filesystems nor/proc/filesystems exists [Karel Zak] + - support loopdevs in mnt_table_is_fs_mounted() [Karel Zak] + - tags does not start with '/' [Karel Zak] + - tiny refactoring in mnt_table_is_fs_mounted() [Karel Zak] + - umount crashes when trying to umount a non-mountpoint [Karel Zak] + - use O_CLOEXEC [Karel Zak] + - use O_CLOEXEC everywhere [Karel Zak] + - user-mounted loopback fs cannot be unmounted by user [Karel Zak] +libmount, col: + - remove redundant null checks [smatch scan] [Sami Kerola] +libmount, eject: + - replace index() and rindex() with strrch() or strrchr() [Sami Kerola] +libuuid: + - use O_CLOEXEC [Karel Zak] +logger: + - allow to log using tcp transport protocol [Sami Kerola] + - make local sockets to try both stream and datagram [Sami Kerola] + - make socket initialization in main() more readable [Karel Zak] + - replace gethostbyname() with getaddrinfo() [Sami Kerola] +login: + - check lastlog lseek return code [coverity scan] [Karel Zak] + - check returns [coverity scan] [Karel Zak] + - fix compiler warning [-Wunused-result] [Karel Zak] + - remove file descriptor leak [cppcheck] [Sami Kerola] + - reuse DEAD_PROCESS utmp entries [Karel Zak] + - stop using MAXHOSTNAMELEN [Karel Zak] + - use get_terminal_name() from ttyutils.c [Karel Zak] +loopdev: + - sync capacity after setting it [Jeff Mahoney] +losetup: + - add --list and --output option [Ondrej Oprala] + - allow -j option argument to be relative path [Sami Kerola] + - allow to use -O without --list [Karel Zak] + - fix declarations [smatch scan] [Sami Kerola] + - make usage() translator friendly [Sami Kerola] + - rename SIZE->SIZELIMIT [Karel Zak] +lsblk: + - Add --scsi switch [Milan Broz] + - Add revision column [Milan Broz] + - Add vendor column [Milan Broz] + - Add write-same attribute to topology info [Milan Broz] + - add --paths [Karel Zak] + - add SCSI H C T L attribute [Milan Broz] + - add SCSI transport type attribute [Milan Broz] + - add TRANsport to --scsi output [Karel Zak] + - add add_random columns [Milan Broz] + - add parent kernel name column [Milan Broz] + - check returns [coverity scan] [Karel Zak] + - don't care about xasprintf() return code [Karel Zak] + - don't ignore disk device [Karel Zak] + - fix and update man page about --scsi [Karel Zak] + - fix copy & past bug [Karel Zak] + - fix hctl buffer usage [coverity scan] [Karel Zak] + - fix processing of dm partition mappings [Peter Rajnoha] + - fix reporting of 'part' type [Peter Rajnoha] + - make usage() translator friendly [Sami Kerola] + - resuse udev handler [Karel Zak] + - use new sysfs functions, clean up get_transport() [Karel Zak] +lscpu: + - Fix issue found on CPU hot-remove [Toshi Kani] + - add Model name [Karel Zak] + - correct the description of --sysroot in help text [Benno Schulenberg] + - don't care about xasprintf() return code [Karel Zak] + - don't read cpuid on non-live systems [Karel Zak] + - fix error message [Sami Kerola] + - make /proc/sysinfo usage more robust [coverity scan] [Karel Zak] + - make read_topology() more robust to avoid SIGFPE [Karel Zak] + - remove dead code [coverity scan] [Karel Zak] + - remove unnecessary variable [Karel Zak] + - set 32-bit / 64-bit for ppc [Karel Zak] +lslocks: + - add BLOCKER column [Karel Zak] + - detect blocked locks, fix /proc/locks parser [Karel Zak] + - don't care about xasprintf() return code [Karel Zak] + - fix compiler warnings [Karel Zak] + - support -o + convention [Karel Zak] + - use libmount to parse mountinfo [Karel Zak] +md5: + - fix strict aliasing warnings [Mike Frysinger] +minix: + - change types in header file [Sami Kerola] + - replace magic constants with macro names [Sami Kerola] + - use off_t, size_t, etc appropriate types [Sami Kerola] +misc: + - make readlink() usage more robust [Karel Zak] +mkfs: + - indicate that specifying fs-type and fs-options are independent [Benno Schulenberg] +mkfs.cramfs: + - fix memory leak [coverity scan] [Karel Zak] + - fix resource leak [coverity scan] [Karel Zak] +mkfs.minix: + - check numeric user inputs [Sami Kerola] + - fix compiler warning [-Wformat] [Karel Zak] + - fsck minix fix compiler warnings [Karel Zak] +mkswap: + - fix compiler warnings [Karel Zak] + - properly pluralize the bad-pages message [Benno Schulenberg] + - wipe old signature if there is no part table by default [Milan Broz] +more: + - align void in functions with prototypes, and remove void casts [Sami Kerola] + - allow to compile as non-interactive test_more program [Karel Zak] + - fix coding style [Sami Kerola] + - remove few memory leaks [Sami Kerola] + - remove unnecessary variable [Sami Kerola] +mount: + - (deprecated) check loopcxt_ return values [Karel Zak] + - (deprecated) drop --guess-fstype [Karel Zak] + - (deprecated) remove duplicate xstrndup() [Karel Zak] + - Fix -t in listing mode when run as non-root [Richard Tollerton] + - add --read-write to man page [Karel Zak] + - add --show-labels to man page [Karel Zak] + - add -c abbreviation for --no-canonicalize to man page [Bill Pemberton] + - add long options for -L and -U to man page [Bill Pemberton] + - add support for x-mount.mkdir[=] option [Ondrej Oprala, Karel Zak] + - add verbose messages [Karel Zak] + - document options for debugfs [Dave Reisner] + - document x-* options [Karel Zak] + - fix a few typos [Mike Frysinger] + - fix bind mount success message [Bernhard Voelker] + - fix man pahe typo in quota mount option names [Björn Jacke] + - fix typos in man page [Karel Zak] + - improve --move error message on shared trees [Karel Zak] + - losetup remove obsolete encryption support [Ludwig Nussel] + - make --verbose more verbose about propagation [Karel Zak] + - remove ext4 journal=update from man page [Karel Zak] + - sanitize paths from non-root users [Karel Zak] + - support multiple MS_PROPAGATION flags in one mount(8) exec [Karel Zak] + - supports paths canonicalization for alternative fstabs [Karel Zak] + - write success messages to stdout [Karel Zak] +mountpoint: + - don't hardcode paths [Karel Zak] +namei: + - don't care about xasprintf() return code [Karel Zak] + - remove dead code [coverity scan] [Karel Zak] +namespace.h: + - Fix typo s/CLONE_NEWSNS/CLONE_NEWNS/ [Josh Triplett] +newgrp: + - more robust crypt() usage [Karel Zak] + - use xstrdup to check allocation succeeded [Sami Kerola] +nsenter: + - Add const to declarations where possible. [Eric W. Biederman] + - Enhance waiting for a child process [Eric W. Biederman] + - Properly spell significant in a comment. [Eric W. Biederman] + - Replace a bare strtoul with strtoul_or_err [Eric W. Biederman] + - adjust few error messages [Sami Kerola] + - allow arguments to be specified in any order [Zbigniew Jędrzejewski-Szmek] + - drop core when impossible happens [Sami Kerola] + - fix compiler warning [Sami Kerola] + - fix errors in manpage [Zbigniew Jędrzejewski-Szmek] + - fix indentation [Sami Kerola] + - improve optional args in usage() and man page [Karel Zak] + - make usage() translator friendly [Sami Kerola] + - new command (light wrapper around setns) [Eric W. Biederman] + - rename --exec/-e to --no-fork/-F [Zbigniew Jędrzejewski-Szmek] + - respect --exec no matter where it appears [Zbigniew Jędrzejewski-Szmek] +partx: + - add update command [Phillip Susi] + - don't care about xasprintf() return code [Karel Zak] + - make usage() translator friendly [Sami Kerola] + - remove deprecated option from usage() [Sami Kerola] +pg: + - add const qualifiers where suitable [Sami Kerola] + - add noreturn function attributes [Sami Kerola] + - check numeric user inputs [Sami Kerola] + - do not turn off warnigns artificially [Sami Kerola] + - fix coding style [Sami Kerola] + - fix memory leak [coverity scan] [Karel Zak] + - refactor argument handing [Sami Kerola] + - use libc error printing facilities [Sami Kerola] + - use unistd.h STDOUT_FILENO [Sami Kerola] +po: + - add hr.po (from translationproject.org) [Tomislav Krznar] + - merge changes [Karel Zak] + - update cs.po (from translationproject.org) [Petr Pisar] + - update cs.po (from translationproject.org) [Petr Písař] + - update da.po (from translationproject.org) [Joe Hansen] + - update fr.po (from translationproject.org) [David Prévot] + - update hr.po (from translationproject.org) [Tomislav Krznar] + - update nl.po (from translationproject.org) [Benno Schulenberg] + - update pl.po (from translationproject.org) [Jakub Bogusz] + - update uk.po (from translationproject.org) [Yuri Chornoivan] + - update vi.po (from translationproject.org) [Trần Ngọc Quân] +prlimit: + - don't care about xasprintf() return code [Karel Zak] +raw: + - add long options to man page [Karel Zak] + - fix "Error setting raw device Success" [Karel Zak] +readprofile: + - add --counters to the man page [Karel Zak] + - fix --reest (--reset) typo [Karel Zak] + - reorder options in man page [Karel Zak] +rename: + - add --symlink option for renaming symlink target [Jan (yac) Matějka] + - fix memory leak [coverity scan] [Karel Zak] + - make usage() translator friendly [Sami Kerola] + - use macro to print version [Karel Zak] +renice: + - accept also -V for --version, and document it [Benno Schulenberg] + - correct the usage synopsis, and improve help text [Benno Schulenberg] +rtcwake: + - add --adjfile command line option [Karel Zak] + - add --auto to usage() [Karel Zak] + - add support for "freeze" mode [Karel Zak] + - clean up usage [Karel Zak] + - doesn't reset wakealarm [Giacomo] + - pass -h to shutdown [Mike Frysinger] +runuser: + - add -u to not execute shell [Karel Zak] + - add note about PAM to man page [Karel Zak] + - new command (derived from su(1)) [Karel Zak] +schedutils: + - don't apply -a without -p [Daniel Stodden] +script: + - do not try to close stderr twice [Sami Kerola] + - search shell from path, when necessary [Sami Kerola] + - use __noreturn__ for really last function [clang -Winvalid-noreturn] [Karel Zak] +setarch: + - add option to list settable architectures [Sami Kerola] + - clean up usage() [Sami Kerola] + - normalize man page formatting [Karel Zak] +setpriv: + - Fix an error message typo [Andy Lutomirski] + - move paths to pathnames.h [Karel Zak] + - run a program with different Linux privilege settings [Andy Lutomirski] +setterm: + - fix compiler warning [Karel Zak] + - fix memory leak [coverity scan] [Karel Zak] + - fix various color option argument lists [Sami Kerola] + - make error message more informative [Petr Uzel] +sfdisk: + - Fix format specifiers for size_t [Thierry Reding] + - fix aliasing warnings [Mike Frysinger] + - fix formatting typo in man page [Karel Zak] +su: + - add --group and --supp-group options [Karel Zak] + - add segmentation fault reporting of the child process [Ondrej Oprala] + - don't modify PATH if -l not specified [Karel Zak] + - fix "COMMAND not specified" error [Karel Zak] + - fix compiler warning [-Wstrict-prototypes] [Karel Zak] + - fix stupid typo [Karel Zak] + - fixed a typo in pam error message [Vitezslav Cizek] + - log failed logins to btmp [Karel Zak] + - make code more robust [coverity scan] [Karel Zak] + - more robust getpwuid() for GNU Hurt [coreutils 71b7ddc] [Karel Zak] + - move generic su code to su-common.c [Karel Zak] + - move long options to main() [Karel Zak] + - remove '+' from getopt_long() [Karel Zak] + - rename log_su to log_syslog [Karel Zak] + - use get_terminal_name() for compatibility with login(1) [Karel Zak] + - verify writing to streams was successful [Karel Zak] +su-common: + - make usage() translator friendly [Sami Kerola] +sulogin: + - add multi console feature from SysVinit sulogin [Werner Fink] + - cleanup file descriptors usage [Karel Zak] + - couple of obvious fixes for non-linux systems [Samuel Thibault] + - don't run if not found passww entry [coverity scan] [Karel Zak] + - don't use {de,con}structor attributes [Karel Zak] + - fix compiler warnings [Karel Zak] + - make usleep() workaround work [Werner Fink] + - map NL to CR-NL on output in initial termios settings [Karel Zak] + - minor coding style changes [Karel Zak] + - mount temporary /dev and /proc if not found [Werner Fink] + - remove consoles.c from libcommon [Karel Zak] + - use alarm function to indicate if a timeout occurs [Werner Fink] + - use the linked lists from list.h for consoles list [Werner Fink] +swapon: + - check numeric user inputs [Sami Kerola] + - clarify swapon.8 priority option [Sami Kerola] + - default to --show if nothing is requested [Sami Kerola] + - don't care about xasprintf() return code [Karel Zak] + - fix memmory leak [coverity scan] [Karel Zak] + - print warning about insecure owner/permissions [Karel Zak] + - remove loop declaration [smatch scan] [Sami Kerola] +switch_root: + - Add a sanity check [Richard Weinberger] + - check open() return value [coverity scan] [Karel Zak] +tests: + - add BE minix test [Karel Zak] + - add armv7 lscpu dump [Karel Zak] + - add chfnsh build tests [Karel Zak] + - add dmesg(1) check [Sami Kerola] + - add f2fs image test [Alejandro Martinez Ruiz] + - add fallocate(1) check [Sami Kerola] + - add fdisk BSD test [Karel Zak] + - add fdisk GPT test [Karel Zak] + - add getopt(1) check [Sami Kerola] + - add ionice(1) check [Sami Kerola] + - add ipcmk(1) and ipcrm(1) checks [Sami Kerola] + - add isosize(1) check [Sami Kerola] + - add line(1) check [Sami Kerola] + - add mcookie(1) check [Sami Kerola] + - add mising "export" keyword [Karel Zak] + - add more(1) check [Sami Kerola] + - add ppc64-POWER7-64cpu lscpu dump [Karel Zak] + - add rev(1) check [Sami Kerola] + - add setarch(8) check [Sami Kerola] + - add setsid(1) check [Sami Kerola] + - add shared subtrees to umount --recursive test [Karel Zak] + - add tailf(1) check [Sami Kerola] + - add ul(1) check [Sami Kerola] + - add umount --all-targets tests [Karel Zak] + - add umount --recursive test [Karel Zak] + - add utmpdump(1) check [Sami Kerola] + - add whereis(1) check [Sami Kerola] + - add/improve mount shared-subtree tests [Karel Zak] + - consolidate scsi_debug usage [Karel Zak] + - fix compiler warning [Karel Zak] + - fix ipcs basic limit when bc is not available [Gilles Espinasse] + - fix mount move test to work with shared mount [Milan Broz] + - fix timezone for cramfs [Milan Broz] + - fix typo in fdisk test [Karel Zak] + - ignore stderr in fdisk -l [Karel Zak] + - ignore test if kernel doesn't support minix fs [Milan Broz] + - make line(1) optional [Karel Zak] + - make mount tests backwardly compatible with deprecated-mount/ [Karel Zak] + - make utmpdump TZ independent [Karel Zak] + - move fallocate test file [Karel Zak] + - move tailf test input [Karel Zak] + - remove encryption loopdev test [Karel Zak] + - remove lscpu /sys dumps without 'possible' CPU mask [Karel Zak] + - skip ipcs limits overflow when bc is not available [Gilles Espinasse] + - sort commands strings [Sami Kerola] + - unset *_DEBUG variables [Karel Zak] + - update 'odd input' fdisk test [Karel Zak] + - update ISO tests [Karel Zak] + - update UDF test [Karel Zak] + - update aks-partition-number dialog (planned regression) [Karel Zak] + - update bsd test [Karel Zak] + - update build tests [Karel Zak] + - update fdisk mbr tests [Karel Zak] + - update fdisk tests [Karel Zak] + - update ipcs (reorder default output) [Karel Zak] + - update libblkid PT tests [Karel Zak] + - update lscpu tests [Karel Zak] + - use checksum to detect rev(1) consistency [Karel Zak] + - use udevadm settle rather than sleep [Karel Zak] +textual: + - add missing comma and colon in some help texts [Benno Schulenberg] + - fix a few typos in some of the usage help texts [Benno Schulenberg] + - fix the example in whereis man page, plus further improvements [Benno Schulenberg] + - fix two misencodings in comments [Benno Schulenberg] + - fix typos in messages [Yuri Chornoivan] + - gettextize an overlooked string [Benno Schulenberg] + - gettextize several overlooked messages [Benno Schulenberg] + - improve an error message and a help text [Benno Schulenberg] + - remove inconsistent periods from two error messages [Benno Schulenberg] + - slice the help text of fsck into strips, for translators [Benno Schulenberg] + - slice the help text of lscpu into strips, for translators [Benno Schulenberg] + - spell and encode the name of Arkadiusz Miśkiewicz correctly [Benno Schulenberg] + - standardize reporting of program name plus package version [Benno Schulenberg] + - standardize the reporting of program name plus package version [Benno Schulenberg] + - tag two bug messages as "internal error" [Benno Schulenberg] + - tiny tweaks of some error messages [Benno Schulenberg] + - typo fixes [Gilles Espinasse] + - use UTIL_LINUX_VERSION everywhere [Karel Zak] +tools: + - add checks to manual page test script [Sami Kerola] + - make checkmans.sh to find missing manuals [Sami Kerola] +translation: + - unify exec error messages [Sami Kerola] +tunelp: + - add missing break [coverity scan] [Karel Zak] + - deprecation remove command from default build [Sami Kerola] +ul: + - cleanup usage() and man page [Karel Zak] +umount: + - (recursive) add a cache to the table [Dave Reisner] + - (recursive) don't call umount(2) for already unmounted targets [Karel Zak] + - add --all-targets [Karel Zak] + - add -R, --recursive option [Dave Reisner] + - add note about namespaces too --all-targets [Karel Zak] + - always return MOUNT_EX_* [Karel Zak] + - clean --recursive [Karel Zak] + - improve --recursive docs [Karel Zak] + - make usage() translator friendly [Sami Kerola] + - sanitize paths from non-root users [Karel Zak] + - use devno to identify --all-target devices [Karel Zak] +unshare: + - Add support for the pid and user namespaces [Eric W. Biederman] + - make usage() translator friendly [Sami Kerola] + - support the switching of namespaces [Neil Horman] + - tweak style [Mike Frysinger] +unshare(1): + - delete empty NOTES section [Mike Frysinger] +unshare,nsenter: + - Move the old libc handling into a common header namespace.h [Eric W. Biederman] + - spawn shell by default [Zbigniew Jędrzejewski-Szmek] +uuidd: + - uuidd.8 Document --debug and --quiet long options. [Ville Skyttä] +uuidgen: + - fix --random [Karel Zak] +various: + - fix shadow declarations [smatch scan] [Sami Kerola] + - fix variable and function declarations [smatch scan] [Sami Kerola] +vipw: + - add usage() function [Sami Kerola] + - remove unused set{uid,gid} calls [Karel Zak] +wall: + - use xgethostname() [Sami Kerola] +wdctl: + - add fallbacks for old kernel headers [Karel Zak] + - gettextize one forgotten word [Benno Schulenberg] + - treat aligned translatable strings in a uniform manner [Benno Schulenberg] +whereis: + - add search scope listing option [Sami Kerola] + - align with howto-usage-function.txt [Sami Kerola] + - canonicalize directories paths [Karel Zak] + - improve readability for analysers [Karel Zak] + - rewrite most of the command [Sami Kerola, Karel Zak] + - support MANPATH environment variable [Sami Kerola] +wipefs: + - Add --force option to force it to erase. [Richard W.M. Jones] + - add -f to getopt_long() [Karel Zak] + - fix memory leak [coverity scan] [Karel Zak] + - make do_wipe() more readable [coverity scan] [Karel Zak] + - use O_EXCL [Karel Zak] +write: + - stop using MAXHOSTNAMELEN [Karel Zak] diff --git a/Documentation/releases/v2.24-ReleaseNotes b/Documentation/releases/v2.24-ReleaseNotes new file mode 100644 index 0000000..32aadff --- /dev/null +++ b/Documentation/releases/v2.24-ReleaseNotes @@ -0,0 +1,924 @@ + +Util-linux 2.24 Release Notes +============================= + +This is the last release where the old non-libmount mount(8) implementation +is supported and maintained. + +Release highlights +------------------ + +fdisk(8): + - the code has been completely refactored and moved to libfdisk + (the library does not have a stable API yet) + - user interface has been unified for all label types and it supports colors + - GPT disk UUID, partition UUID and partition name modification is supported now + +pylibmount: + - this new library provides PYTHON BINDINGS for libmount; + use --with-python[=2|3] to enable the bindings + +last(1) and lastb(1): + - the NEW IMPLEMENTATION has been merged from sysvinit to util-linux and + extended; now it supports command line options --present, --since, and + --time-format + - use --enable-deprecated-last to enable the old util-linux last(1) implementation + +swapon(8): + - the option --discard= and fstab mount option discard= allow to explicitly + specify 'pages' or 'once' discard policy. If no policy is selected, the + default behavior is to enable both. See swapon.8 man page for more details. + +libblkid and blkid(8): + - supports LOGUUID= for external logs (e.g. extN and XFS) + - generates a pseudo PARTUUID= for MBR partitions (based on MBR Id, Linux kernel + supports the same concept for root= command line option) + +agetty(8): + - supportes new issue file \S escape code to read information from /etc/os-release + - the option -L allows to completely control CLOCAL flag + +dmesg(1): + - supports new command line option --time-format to specify time format + - supports new iso-8601 time format + +hexdump(1): + - supports long options now + +wall(1): + - the command is compatible with sysvinit implementation now + +logger(1): + - supports new command line option --prio-prefix when logging stdin + +lscpu(1): + - allows to detect more hypervisor types and provides info about Max + and Min CPU Mhz + +unshare(8): + - supports new command line options --fork and --mount-proc for + pid namespaces + +wipefs(8): + - now wipes superblocks with incorrect checksums too + - supports new command line option --backup to backup erased data to + $HOME/wipefs--.bak + +nologin(8): + - this command has been merged into util-linux, the command politely + refuses a login. + + +Stable maintenance releases between v2.23 and v2.24 +--------------------------------------------------- + +util-linux 2.22.1 [Jun 31 2013] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.23/v2.23.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.23/v2.23.1-ChangeLog + +util-linux 2.23.2 [May 28 2013] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.23/v2.23.2-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.23/v2.23.2-ChangeLog + + +Changes between v2.23 and v2.24 +------------------------------- + + For more details see ChangeLog files at: + https://www.kernel.org/pub/linux/utils/util-linux/v2.24/ + +agetty: + - -L accepts optional argument [Karel Zak] + - add \S to output /etc/os-release data [Karel Zak] + - add baud rates available from glibc that are not already supported [James Buren] + - allow full control on CLOCAL flag [Karel Zak] + - check writing to a file was successful [Sami Kerola] + - cleanup debug ifdefs [Karel Zak] + - don't remove ECHOCTL from c_lflag [Karel Zak] + - fix a kill/erase error in man page and improve clarity [Benno Schulenberg] + - fix memory leak [clang-analyzer] [Sami Kerola] + - improve wording, grammar and some formatting in man page [Benno Schulenberg] + - only use EXTA/EXTB macros if B19200/B38400 macros are not present [James Buren] + - update man page and usage() [Karel Zak] + - use O_NONBLOCK only for serial lines with CLOCAL [Karel Zak] + - use standard angular brackets in usage message [Benno Schulenberg] + - unrecognized option '--loginpause'" [kernc] +bash-completion: + - add mount and umount [Sami Kerola] + - fix typos in mkfs.bfs logic [Mike Frysinger] + - use '\n' as IFS when ask for filenames [Karel Zak] +blkdiscard: + - use fstat() rather than stat() [coverity scan] [Karel Zak] +blkid: + - export ID_PART_TABLE_UUID [Karel Zak] + - fix typo in ID_FS_AMBIVALEN= [Karel Zak] +blkid, hwclock, ldattach: + - use program_invocation_short_name [Sami Kerola] +blockdev: + - Remove the --setbsz (set blocksize) option which has never worked. [Richard W.M. Jones] + - add note about --setbsz usability [Karel Zak] +build-sys: + - Check for type sighandler_t and use if present [Michael Forney] + - Fix check for __GNU_LIBRARY__ [Michael Forney] + - Use _POSIX_VERSION to determine support for %m [Michael Forney] + - add *vim and clang_complete to gitignore [Karel Zak] + - add --disable-setterm [Karel Zak] + - add CFLAGS and LDFLAGS for daemons and shared libs [Karel Zak] + - add pylibmount [Karel Zak] + - add pylibmount __init__.py EXTRA_DIST [Karel Zak] + - always check for setns() and unshare() libs functions [Karel Zak] + - complete elvtune removal [Sami Kerola] + - enable mesg(1) by default [Karel Zak] + - fix ${prefix} usage, be more verbose about py paths [Karel Zak] + - fix include Makemodule.am [Karel Zak] + - fix last stuff [Karel Zak] + - fix lastb symlink [Karel Zak] + - fix static builds [Karel Zak] + - fix tinfo congitional [Karel Zak] + - fix {lib,sbin}dir paths [Karel Zak] + - improbe UL_CONFLICT_BUILD macro [Karel Zak] + - install pylibmount into [Karel Zak] + - install to the correct python dirs [Karel Zak] + - move getopt examples to docdir [Karel Zak] + - one install dir for all pylibmount stuff [Karel Zak] + - prefer AS_CASE rather than shell 'case' [Sami Kerola] + - prefer AS_IF rather than shell 'if' [Sami Kerola] + - pylibmount will not work when python3 is present [Sami Kerola] + - release++ (v2.24-rc1) [Karel Zak] + - release++ (v2.24-rc2) [Karel Zak] + - remove deprecated elvtune command [Karel Zak] + - remove unnecessary environment variable [Sami Kerola] + - simplify python detection [Sami Kerola] + - support --with-python[={2,3}] [Karel Zak] + - use -Wno-clobbered for some BSD crap [Karel Zak] + - use backticks rather than $() for commands in configure [Sami Kerola] + - use m4 quoting consistently [Sami Kerola] + - use tinfo *or* ncurses for more(1), ul(1) and setterm(1) [Karel Zak] +cal: + - add --color to usage() [Sami Kerola] + - clean up use of constants [Sami Kerola] + - convert function like definitions to functions [Sami Kerola] + - de-duplicate julian specific functions [Sami Kerola] + - fix -y output for UTF8 [Karel Zak] + - fix compiler warning on systems without term libs [Karel Zak] + - fix few type mismatches [Sami Kerola] + - fix gettext warning [Karel Zak] + - fix preprocessor directive indendation [Sami Kerola] + - fix warning when compiled --without-ncurses [Karel Zak] + - improve coding style [Karel Zak] + - improve the help text and man page [Pádraig Brady] + - mark all functions static [Sami Kerola] + - remove arbitrary limit of maxium year being 9999 [Sami Kerola] + - remove unnecessary initializations [Sami Kerola] + - set statically defined data read-only [Sami Kerola] + - simplify calendar reformat calculations [Sami Kerola] + - simplify colormode parsing [Karel Zak] + - simplify day_in_week() calculation [Sami Kerola] + - stop trimming whitespaces [Sami Kerola] + - support --color[={auto,always,never}] [Sami Kerola] + - use Claus Tøndering's day of the week algorithm [Sami Kerola] +cfdisk: + - add long options to the command [Sami Kerola] + - check writing to a file descriptor was successful [Sami Kerola] + - check writing to a file was successful [Sami Kerola] + - fix ambiguous code [Karel Zak] +chcpu: + - clean up error messages [Karel Zak] +chfn: + - assigned value is never read [clang-analyzer] [Sami Kerola] +column: + - dereference of null pointer [clang-analyzer] [Sami Kerola] + - use variable length printf field width to wprint blanks [Sami Kerola] +cytune: + - fix glush typo in cytune [Rafael Ferreira] +dmesg: + - add --time-format option [Sami Kerola] + - add iso-8601 time format [Sami Kerola] + - convert time format bitfield to enum [Sami Kerola] + - define is_timefmt() macro only once [Karel Zak] + - don't use pager for --follow [Karel Zak] + - fix --human color initialization [Karel Zak] + - fix usage() typo [Sami Kerola] + - inform user --show-delta and iso8601 time format does not mix [Sami Kerola] + - make time stamps to be printed consistently [Sami Kerola] + - regroup time related options close to each other [Sami Kerola] + - support --color[={auto,always,never}] [Karel Zak] +docs: + - add --present to last(1) manual page [Sami Kerola] + - add --since and time option formats to last(1) manual [Sami Kerola] + - add --time-format option and ISO-8601 format to manual [Sami Kerola] + - add --time-format to last(1) manual page [Sami Kerola] + - add long options to last.1 manual page [Sami Kerola] + - add lscpu max mhz to manual and bash completion [Sami Kerola] + - add missing options to sfdisk manual [Sami Kerola] + - add note to wall(1) about sessions which will not get message [Sami Kerola] + - add v2.24-ReleaseNotes [Karel Zak] + - be clear which last(1) is deprecated [Sami Kerola] + - cal add --color option description to manual page [Sami Kerola] + - cal stop telling year 9999 is upper limit [Sami Kerola] + - correct sfdisk --activate instructions [Sami Kerola] + - fix wording and formatting of man page for dmesg [Benno Schulenberg] + - format, grammarize, and standardize the wall man page [Benno Schulenberg] + - improve a bit the wording on the logger man page [Benno Schulenberg] + - improve formatting and wording of man pages for fdisk and cfdisk [Benno Schulenberg] + - improve formatting and wording of the getopt man page [Benno Schulenberg] + - improve grammar and consistency of comments in login.c [Benno Schulenberg] + - improve grammar and wording of the release-schedule text [Benno Schulenberg] + - improve grammar, wording and formatting of su man page [Benno Schulenberg] + - make description of --activate clearer on man page of sfdisk [Benno Schulenberg] + - mention in ReleaseNotes only PO files that were actually updated [Benno Schulenberg] + - normalize the formatting of man pages for nsenter and unshare [Benno Schulenberg] + - note ddate removal [Mike Frysinger] + - slightly correct the man page of column [Benno Schulenberg] + - sort options in last man page alphabetically [Benno Schulenberg] + - sort the options in the logger man page alphabetically [Benno Schulenberg] + - standardize the phrases for --help and --version in all man pages [Benno Schulenberg] + - tweak formatting and grammar of the ipcrm man page [Benno Schulenberg] + - tweak the grammar of an agetty man-page fragment [Benno Schulenberg] + - tweak wording and formatting of last man page [Benno Schulenberg] + - tweak wording and formatting of unshare and nsenter man pages [Benno Schulenberg] + - tweak wording, grammar and formatting of fdisk man page [Benno Schulenberg] + - update AUTHORS file [Karel Zak] + - update TODO [Karel Zak] + - update TODO [Sami Kerola] + - update v2.24-ReleaseNotes [Karel Zak] +eject: + - Check host_status and driver_status when using SG_IO. [Karel Zak] + - assigned value is never read [clang-analyzer] [Sami Kerola] + - unlock door before issuing CDROMEJECT command [Aaron Lu] +exec_shell: + - add a license and touch up func def [Mike Frysinger] +fallocate: + - check writing to a file descriptor was successful [Sami Kerola] +fdformat: + - check writing to a file descriptor was successful [Sami Kerola] +fdisk: + - (bsd) *OSF --> *BSD [Karel Zak] + - (bsd) add bsd_get_partition_status() [Karel Zak] + - (bsd) clean up BSD_LABEL* macros [Karel Zak] + - (bsd) clean up header file [Karel Zak] + - (bsd) cleanup bootstrap install code [Karel Zak] + - (bsd) cleanup driver initialization [Karel Zak] + - (bsd) cleanup label initialization [Karel Zak] + - (bsd) coding style, remove unnecessary #ifdef [Karel Zak] + - (bsd) final code clean up [Karel Zak] + - (bsd) fix add/link partition [Karel Zak] + - (bsd) implement regular bsd menu callback [Karel Zak] + - (bsd) minor code clean up [Karel Zak] + - (bsd) move bsdbuffer to fdisk_bsd_label struct [Karel Zak] + - (bsd) move global label variables to fdisk_bsd_label struct [Karel Zak] + - (bsd) remove dead code [Karel Zak] + - (bsd) remove generic actions from bsd_command_prompt() [Karel Zak] + - (bsd) remove printf() from the driver code [Karel Zak] + - (bsd) remove xbsd_ prefix [Karel Zak] + - (bsd) rewrite list disklabel function [Karel Zak] + - (bsd) use ask API for add partition dialog [Karel Zak] + - (bsd) use libfdisk for partition number dialog [Karel Zak] + - (bsd) use libfdisk to ask for label setting [Karel Zak] + - (bsd) use macros from pt-mbr.h [Karel Zak] + - (bsd) use pt-bsd.h [Karel Zak] + - (bsd) write/read PT code cleanup [Karel Zak] + - (dos) add dos menu callback [Karel Zak] + - (dos) clean up list PT functions [Karel Zak] + - (dos) cleanup public function names [Karel Zak] + - (dos) don't check for CHS in move-begin command [Karel Zak] + - (dos) fix offset dialog unit [Karel Zak] + - (dos) fix possible mem-leaks [Karel Zak] + - (dos) move macro is_dos_compatible() [Karel Zak] + - (dos) move pte specific function to dos.c [Karel Zak] + - (dos) remove global ptes[] [Karel Zak] + - (dos) remove global variables for extended partitions [Karel Zak] + - (dos) remove inline function from header file [Karel Zak] + - (dos) remove remaining global variables [Karel Zak] + - (dos) remove remaining printf() usage [Karel Zak] + - (dos) remove remaining read_{int,char}() functions [Karel Zak] + - (dos) remove unnecessary function [Karel Zak] + - (dos) remove unnecessary header file stuff [Karel Zak] + - (dos) rename members in struct pte [Karel Zak] + - (dos) rename struct partition to dos_partition [Karel Zak] + - (dos) use ask API for new partition dialog [Karel Zak] + - (dos) use ask API to change disk ID [Karel Zak] + - (dos) use libfdisk to ask for partition type [Karel Zak] + - (dos) use pt-mbr.h [Karel Zak] + - (gpt) add t, v and x to menu [Karel Zak] + - (gpt) enlarge columns in list output [Karel Zak] + - (gpt, sun) use fdisk_partname() [Karel Zak] + - (sgi) cleanu sgi_info stuff [Karel Zak] + - (sgi) cleanup boot file name code [Karel Zak] + - (sgi) cleanup devparams flags [Karel Zak] + - (sgi) cleanup disk label struct usage [Karel Zak] + - (sgi) don't try to convert MBR to SGI [Karel Zak] + - (sgi) fix checksum calculation [Karel Zak] + - (sgi) rdon't use read_chars() to ask yes/no question [Karel Zak] + - (sgi) remove dead code [Karel Zak] + - (sgi) remove global freelist [Karel Zak] + - (sgi) remove magic strings [Karel Zak] + - (sgi) remove printf from code [Karel Zak] + - (sgi) remove unnecessary code [Karel Zak] + - (sgi) rewrite sgi_list_table() [Karel Zak] + - (sgi) share disk label definition with libblkid [Karel Zak] + - (sgi) small coding style changes [Karel Zak] + - (sgi) use ask API for first/last dialogs [Karel Zak] + - (sgi) use cpu_to_beXX() and beXX_to_cpu() [Karel Zak] + - (sgi) use stuff ffrom pt-mbr.h and libfdisk [Karel Zak] + - (sun) consolidate 'p'rint output [Karel Zak] + - (sun) remove dead code [Karel Zak] + - (sun) use tt.c to list disk label [Karel Zak] + - -l refactoring [Karel Zak] + - add -L to colorize output [Karel Zak] + - add -t to enable only specified type [Karel Zak] + - add GPT specific callback to menu [Karel Zak] + - add asktype "string" and support UUID partition change [Karel Zak] + - add bsd, dos and sgi menus [Karel Zak] + - add debug message, use colors for -l [Karel Zak] + - add functions to geometry menu [Karel Zak] + - add mbr_get_partition() [Karel Zak] + - add new stuff to display menus [Karel Zak] + - add sun menu [Karel Zak] + - add support for the MicroBlaze architecture [Nathan Rossi] + - allow to exchange context pointer in menu callbacks [Karel Zak] + - always allow 'p'rint command in expert menu [Karel Zak] + - ask for partition in chars [Karel Zak] + - bloody revolution in the man page [Karel Zak] + - cleanup SGI verify disklabel function [Karel Zak] + - cleanup header file [Karel Zak] + - cleanup sgi menu callbackswq [Karel Zak] + - cleanup usage() [Karel Zak] + - cleanup warning messages [Karel Zak] + - cleanup warnings [Karel Zak] + - cleanup write table code [Karel Zak] + - consolidate code in fdisk.c [Karel Zak] + - detect menu entries collisions in debug mode [Karel Zak] + - don't use ptes[] in generic code [Karel Zak] + - fix 'r' in BSD menu [Karel Zak] + - fix -l [Karel Zak] + - fix man warning [Karel Zak] + - fix possible memleak [coverity scan] [Karel Zak] + - fix printf stuff [Karel Zak] + - improve info output [Karel Zak] + - improve menus to make it more usable for BSD label [Karel Zak] + - main() refactoring [Karel Zak] + - make internal command line case sensitive [Karel Zak] + - mark -s option as deprecated [Karel Zak] + - move "create label" actions to menu callback [Karel Zak] + - move dos specific code [Karel Zak] + - move expect actions to menu callback [Karel Zak] + - move geometry commands to separate menu [Karel Zak] + - move get_nr_sects() fdisk.h [Karel Zak] + - move remaining actions to menu callbacks [Karel Zak] + - move remaining ptes[] code to fdiskdoslabel.c [Karel Zak] + - move sun commands to sun menu callback [Karel Zak] + - print geometry for dos-compatible mode too [Karel Zak] + - remove Mac code [Karel Zak] + - remove common.h [Karel Zak] + - remove dead code [Karel Zak] + - remove nowarn global variable [Karel Zak] + - remove old code to ask user [Karel Zak] + - remove ugly fatal() function [Karel Zak] + - remove unnecessary test [Karel Zak] + - remove unused code, coding style changes [Karel Zak] + - rename CHS dos_partition struct members [Karel Zak] + - revert add 'G' to create SGI label to the main menu [Karel Zak] + - rewrite dump first sector add dump disklabel command [Karel Zak] + - separate disks by \n in -l output [Karel Zak] + - use libfdisk to ask for partition type [Karel Zak] + - use fdisk_info() to print geometry [Karel Zak] + - use fdisk_{info,warn} on more places [Karel Zak] + - use functions from pt-mbr.h [Karel Zak] + - use new menu infrastructure to verify keys [Karel Zak] + - use new menus [Karel Zak] + - use remove read_int() usage from fdisk.c [Karel Zak] + - use xalloc stuff [Karel Zak] +findmnt: + - always allocate memory for cell value [Dave Reisner] + - avoid unused parameter warning [Karel Zak] + - make udev usage more robust [Karel Zak] + - test for fstype/options/maj min before source and target [Karel Zak] + - use TT_FL_FREEDATA for tt table [Karel Zak] +fsck: + - don't print warning if there is no /etc/fstab at all [Karel Zak] + - use libmount fs reference counter [Karel Zak] +fsck.cramfs: + - add LC_CTYPE [Karel Zak] + - check writing to a file descriptor was successful [Sami Kerola] +fsck.minix: + - check writing to a file descriptor was successful [Sami Kerola] +getopt: + - add reference to /usr/share/docs to man page [Karel Zak] +hexdump: + - add long options to the command [Sami Kerola] + - remove unnecessary global variables [Sami Kerola] + - revert global exitval variable change [Sami Kerola] +hexsyntax: + - in help text, wrap argument of option -e in angular brackets [Benno Schulenberg] +hwclock: + - remove references to adjtimex from man page [Karel Zak] + - use warn() to print cmos errors [Karel Zak] +include: + - Add missing includes [Michael Forney] + - add close_fd() for noticing write errors before close() [Sami Kerola] + - carefulput print determined char when unprintable char is found [Sami Kerola] +include/pt-mbr: + - add functio to store le [Karel Zak] +include/xalloc: + - add warn_unused_result to allocation functions [Karel Zak] +ipcs: + - assigned values are never read [clang-analyzer] [Sami Kerola] +last: + - --fulltime and --time-format are mutually exclusive [Karel Zak] + - add --present option [Sami Kerola] + - add --since time spec option [Sami Kerola] + - add --time-format with iso-8601 format [Sami Kerola] + - add link to util-linux to last.1 [Karel Zak] + - add long options, improve usage() [Karel Zak] + - allow --file to be defined multiple times [Sami Kerola] + - check expected numeric user input is number [Sami Kerola] + - check fstat() return [coverity scan] [Karel Zak] + - clean up the begin of the file [Karel Zak] + - coding style clean up [Karel Zak] + - consolidate btmp/wtmp file paths [Karel Zak] + - consolidate time formatting to one struct [Karel Zak] + - fix --present option logic error [Sami Kerola] + - fix man page groff warning [Karel Zak] + - fix memory leak [Sami Kerola] + - fix typo [Sami Kerola] + - global variables are initialize automatically to zero [Sami Kerola] + - make switch cases complete, and inform if impossible occurs [Sami Kerola] + - mention optional arguments in usage [Karel Zak] + - merge sysvinit last/lastb [Ondrej Oprala] + - never restrict session time [Sami Kerola] + - parse easy to use time formats [Sami Kerola] + - prefer enum rather than #definition list [Sami Kerola] + - remove broken code [Sami Kerola] + - remove mistaken -F, --fullnames entry from the man page [Benno Schulenberg] + - tell verbally system is still running [Sami Kerola] + - trim trailing white spaces [Sami Kerola] + - use as narrow variable scoping as possible [Sami Kerola] + - use bit array [Karel Zak] + - use carefulput() for printable character output [Sami Kerola] + - use configuration struct [Sami Kerola] + - use xalloc.h, err.h, nls.h and EXIT_ macros [Karel Zak] +last, utmpdump, agetty, wall, write: + - avoid compatibility hacks [Sami Kerola] +lib: + - add crc64() [Karel Zak] + - remove unused code [Sami Kerola] + - rename time-util.c to timeutils.c, fix headers [Karel Zak] +lib/canonical: + - use realpath() from libc [Karel Zak] +lib/colors: + - add colormode_or_err() [Karel Zak] + - add support for auto, always and never modes [Karel Zak] +lib/loopdev: + - assigned value is never read [clang-analyzer] [Sami Kerola] + - fix loopcxt_check_size() to work with blkdevs [Karel Zak] +lib/mbsalign: + - initializations values are never read [clang-analyzer] [Sami Kerola] +lib/strutils: + - move *swith() functions to private library [Sami Kerola] + - optimalize {starts,ends}with() [Karel Zak] +lib/time-util: + - copy time parsing functions from systemd [Sami Kerola] + - move YYYYMMDDHHMMSS to common parser [Sami Kerola] +lib/tt: + - add TT_FL_FREEDATA [Karel Zak] +lib/tty: + - don't hardcode terminal fd in get_terminal_name() [Karel Zak] + - fix get_terminal_name() usage, cleanup code [Karel Zak] +libblkid: + - Add bcache support [Rolf Fokkens] + - Detect external XFS log device [Eric Sandeen] + - Get rid of an unnecessary check [Karel Zak] + - add ReFS magic string [Karel Zak] + - add functions to set PTUUID [Karel Zak] + - check writing to a file was successful [Sami Kerola] + - diffs between errors and failed probing in silicon raid [Karel Zak] + - diffs between errors and failed probing in via raid [Karel Zak] + - don't interpret regual XFS as external xfs log [Karel Zak] + - don't use UUID= for xfs external log [Karel Zak] + - export info about bad csum [Karel Zak] + - fix blkid_parse_tag_string() to ignore incomplete tags [Karel Zak] + - fix kboff usage in BSD prober [Karel Zak] + - make uuid_is_empty() usable for whole library [Karel Zak] + - move MBR definitions to include/pt-mbr.h [Karel Zak] + - move MBR partition types to include/ [Karel Zak] + - move SGI disklabel definitions to include/ [Karel Zak] + - move bsd definitions to pt-bsd.h [Karel Zak] + - populate jbd LOGUUID in addition to UUID [Karel Zak] + - rename UUID_LOG to LOGUUID [Karel Zak] + - rename sys_type to sys_ind [Karel Zak] + - set PTUUID for GPT and DOS [Karel Zak] + - split blkid_parttable_set_id() [Karel Zak] + - support pseudo PARTUUID= for MBR [Karel Zak] + - update docs [Karel Zak] + - use proper type in xfs log checker [coverity scan] [Karel Zak] + - use separate function to verify checksums [Karel Zak] +libfdisk: + - (bds) cleanup includes [Karel Zak] + - (bsd) leave context if new disklabel unwanted [Karel Zak] + - (dos) all disklabel locate function [Karel Zak] + - (dos) correct the grammar of the disk-identifier prompt [Benno Schulenberg] + - (dos) cosmetic changes [Karel Zak] + - (dos) improve the grammar of an error message [Benno Schulenberg] + - (gpt) %ld -> %ju in verify function [Karel Zak] + - (gpt) cleanup structs members names [Karel Zak] + - (gpt) fix warning [Karel Zak] + - (gpt) more robust PMBR partition size check [Karel Zak] + - (gpt) print UUID and NAME in expert mode only [Karel Zak] + - (gpt) support for disklabel dump [Karel Zak] + - (gpt) use consistent final period in status messages [Benno Schulenberg] + - (gpt) use generic 'created partition' message [Karel Zak] + - (gpt) use lib/tt.c to list partitions [Karel Zak] + - (sgi) add driver [Karel Zak] + - (sun) make it more obvious why the first sector moved [Karel Zak] + - (sun) move driver from fdisk to library [Karel Zak] + - (sun) remove duplicate code [Karel Zak] + - add API to disable specified label [Karel Zak] + - add FDISK_DEBUG_FRONTEND [Karel Zak] + - add FDISK_LABEL_FL_REQUIRE_GEOMETRY [Karel Zak] + - add Intel Rapid Start Technology GUID [Karel Zak] + - add asktype "string" and support UUID partition change [Karel Zak] + - add bsd driver [Karel Zak] + - add fdisk_context_enable_details() [Karel Zak] + - add fdisk_has_user_device_properties() [Karel Zak] + - add fdisk_locate_disklabel() [Karel Zak] + - add fdisk_partname() [Karel Zak] + - add fdisk_scround() [Karel Zak] + - add generic function to get disklabel ID [Karel Zak] + - add generic function to set disklabel ID [Karel Zak] + - add list() label operation [Karel Zak] + - add new 'ask' type TABLE [Karel Zak] + - allow to address partition by chars [Karel Zak] + - clean up sun geometry stuff [Karel Zak] + - cleanup SGI functions names [Karel Zak] + - cleanup warning messages [Karel Zak] + - copy ask callback from parental context [Karel Zak] + - do not use va_list in the Ask API [Karel Zak] + - don't re-allocate range string in Ask API [Karel Zak] + - explicitly add COPYING file [Karel Zak] + - extend fdisk_info() functionality [Karel Zak] + - fix cylinders and sector buffer usage [Karel Zak] + - fix possible floating point exception [Karel Zak] + - fix sectorbuffer usage in dos driver [Karel Zak] + - gpt avoid unnecessary pmbr check [Davidlohr Bueso] + - gpt loosen check fot pmbr size in lba [Davidlohr Bueso] + - improve fdisk_save_user_geometry() [Karel Zak] + - improve nested context initialization [Karel Zak] + - improve spelling of two comments [Benno Schulenberg] + - make default geom usage more robust [Karel Zak] + - make it possible to reset device properties [Karel Zak] + - make the library usable with tests [Karel Zak] + - mark label modified for PMBR mismatch [Karel Zak] + - move mbr code to the library [Karel Zak] + - move sync() and reread PT code from fdisk to libfdisk [Karel Zak] + - provide more details about GPT [Karel Zak] + - remove "gpt support is new" warning [Karel Zak] + - remove unnecessary code from test_fdisk_ask [Karel Zak] + - support GPT partition name (label) change [Karel Zak] + - treat size mismatch as a warning, not an error [Karel Zak] + - update test_ranges() code [Karel Zak] + - use context geometry in SGI and SUN [Karel Zak] + - use fdisk_colon() and fdisk_sinfo() [Karel Zak] + - use fdisk_warnx() in fdisk_ask_partnum() [Karel Zak] +libfdisk/gpt: + - partly pluralize one message [Benno Schulenberg] +libfdisk/sgi: + - properly pluralize three messages [Benno Schulenberg] + - tweak and harmonize some comments [Benno Schulenberg] + - tweak and harmonize some message strings [Benno Schulenberg] +libmount: + - (docs) make it obvious how we call mount. helpers [Karel Zak] + - (test) check writing to a file was successful [Sami Kerola] + - Fix typo in comment [Namhyung Kim] + - Free splitted optstr's when error occurred [Namhyung Kim] + - Get rid of an unnecessary check [Namhyung Kim] + - Remove stale comment on mnt_context_mount() [Namhyung Kim] + - Save errno if mkostemp() failed [Namhyung Kim] + - Set each optstr's to NULL if failed [Namhyung Kim] + - add a generic append_string() function [Karel Zak] + - add function for context userdata [Karel Zak] + - add functions to handle comments in fs tables [Ondrej Oprala, Karel Zak] + - add functions to safely replace a fs table [Ondrej Oprala] + - add missing declarations to libmount.h.in and documentation [Ondrej Oprala] + - add mnt_table_is_empty(), improve table list usage [Karel Zak] + - add mnt_table_with_comments() [Karel Zak] + - add mnt_table_{first,last}_fs() [Karel Zak] + - add mnt_table_{set,get}_userdata() [Karel Zak] + - add new function to docs [Karel Zak] + - add reference counter to libmnt_table [Karel Zak] + - add reference counting to libmnt_cache [Karel Zak] + - add reference counting to libmount_fs [Karel Zak] + - be more restrictive about valid tag names [Karel Zak] + - be robust for empty target/source strings [Karel Zak] + - be robust when work with loopdev backing file paths [Karel Zak] + - canonicalize for conversion from loopdev backing file [Karel Zak] + - change tailing to trailing in *_tailing_comments functions [Ondrej Oprala] + - cleanup libmnt_fs list after mnt_table_remove_fs() [Karel Zak] + - compose mount. helpers paths more carefully [Karel Zak] + - don't ignore root fs on umount -a [Karel Zak] + - fix memory leak [clang-analyzer] [Karel Zak] + - fix mnt_context_is_child() comment [Karel Zak] + - fix typos [Ondrej Oprala] + - free username after check [Dave Reisner] + - make mnt_fs_{ap,pre}pend_options() more robust [Karel Zak] + - make mnt_table_replace_file() more robust [coverity scan] [Karel Zak] + - more robust options string parsing [Karel Zak] + - remove dead code [coverity scan] [Karel Zak] + - small cleanup in umount code [Karel Zak] + - update docs [Karel Zak] + - use MS_SILENT for /{proc,etc}/filesystems [Karel Zak] + - use err.h in test [Karel Zak] + - use memmove when overlap possible [Dave Reisner] +logger: + - add support for --prio-prefix when logging stdin [Dennis H Jensen] + - cleanup usage() [Karel Zak] + - small coding style changes [Karel Zak] +login: + - use TCSANOW to remove HUPCL [Karel Zak] +losetup: + - add --raw and --noheadings [Karel Zak] + - cut the remaining little block of help text into slices too [Benno Schulenberg] + - don't require 512-byte aligned offsets [Karel Zak] + - fix loop device name usage [Karel Zak] + - make -j more robust [Karel Zak] + - set errno for misaligned offsets [Karel Zak] + - use TT_FL_FREEDATA for tt table [Karel Zak] + - use loop-control to explicitly ask for device [Karel Zak] + - use warn_size() for regular files only [Karel Zak] +lsblk: + - add SERIAL column [Karel Zak] + - use TT_FL_FREEDATA for tt table [Karel Zak] + - use devno to check if the filesystem is mounted [Karel Zak] + - use devno to get mountpoint [Karel Zak] +lscpu: + - add max MHz value to make cpu governor effects more visible [Sami Kerola] + - add virtualization types [Karel Zak] + - check strchr() result [coverity scan] [Karel Zak] + - cleanup DMI code [coverity scan] [Karel Zak] + - detect more hypervisor vendors [Ondrej Oprala] + - don't pass null pointer to string functions [coverity scan] [Karel Zak] + - fix memory leak [clang-analyzer] [Sami Kerola] + - fix shadow declaration [smatch scan] [Sami Kerola] + - report cpu min mhz [Davidlohr Bueso] + - use TT_FL_FREEDATA for tt table [Karel Zak] +lslocks: + - use TT_FL_FREEDATA for tt table [Karel Zak] +mcookie: + - pluralize two messages [Benno Schulenberg] +mesg: + - sync usage() with howto-usage-function.txt [Sami Kerola] +misc: + - use libmnt_cache reference counting [Karel Zak] + - use libmnt_table reference counter [Karel Zak] +mkfs.bfs: + - check writing to a file descriptor was successful [Sami Kerola] + - fix 64-Bit and endian problems [ihno] +mkfs.cramfs: + - argument to free() is a constant address [clang-analyzer] [Sami Kerola] + - unify write check to a file descriptor [Sami Kerola] + - use standard error message [Karel Zak] +mkfs.minix: + - check writing to a file descriptor was successful [Sami Kerola] + - properly pluralize four messages [Benno Schulenberg] +mkswap: + - add note about swap header limit to the man page [Karel Zak] + - unify write check to a file descriptor [Sami Kerola] +more: + - assigned value is never read [clang-analyzer] [Sami Kerola] + - check for buffer size when write multibyte char [Karel Zak] + - fix buffer overflow [Karel Zak] + - fix warning when compiled --without-ncurses [Karel Zak] + - guarantee space for multibyte [Karel Zak] + - make output redirection more efficient [Sami Kerola] + - use variable length printf field width to print blanks [Sami Kerola] +mount: + - (deprecated) fix typo tailed->failed [Yuri Chornoivan] + - add notes about UUIDs to the man page [Karel Zak] + - fix mistaken word and some grammar in man page of mount [Benno Schulenberg] + - fix repeating words in the man page [Karel Zak] + - update xfs docs [Karel Zak] +nologin: + - add new command [Karel Zak] +nsenter: + - Allow selecting the uid and gid to be used in the entered userns [Richard Weinberger] + - unshare use LC_ALL [Karel Zak] +partx: + - check writing to a file descriptor was successful [Sami Kerola] + - correct three messages [Benno Schulenberg] + - pluralize one message [Benno Schulenberg] + - use TT_FL_FREEDATA for tt table [Karel Zak] +pg: + - check writing to a file was successful [Sami Kerola] + - use LC_ALL [Karel Zak] +pg.c: + - Add --help and --version [Jari Aalto] +po: + - merge changes [Karel Zak] + - update ca.po (from translationproject.org) [Josep Puigdemont] + - update cs.po (from translationproject.org) [Petr Písař] + - update da.po (from translationproject.org) [Joe Hansen] + - update de.po (from translationproject.org) [Arun Persaud] + - update es.po (from translationproject.org) [Santiago Vila Doncel] + - update et.po (from translationproject.org) [Meelis Roos] + - update eu.po (from translationproject.org) [Mikel Olasagasti Uranga] + - update fi.po (from translationproject.org) [Lauri Nurmi] + - update fr.po (from translationproject.org) [David Prévot] + - update gl.po (from translationproject.org) [Fran Diéguez] + - update hr.po (from translationproject.org) [Tomislav Krznar] + - update hu.po (from translationproject.org) [Gabor Kelemen] + - update id.po (from translationproject.org) [Arif E. Nugroho] + - update it.po (from translationproject.org) [Marco Colombo] + - update ja.po (from translationproject.org) [Takeshi Hamasaki] + - update nl.po (from translationproject.org) [Benno Schulenberg] + - update pl.po (from translationproject.org) [Jakub Bogusz] + - update pt_BR.po (from translationproject.org) [Rafael Ferreira] + - update pt_BR.po (from translationproject.org) [Rodrigo Stulzer Lopes] + - update ru.po (from translationproject.org) [Pavel Maryanov] + - update sl.po (from translationproject.org) [Simon Mihevc] + - update sv.po (from translationproject.org) [Daniel Nylander] + - update tr.po (from translationproject.org) [Nilgün Belma Bugüner] + - update uk.po (from translationproject.org) [Yuri Chornoivan] + - update util-linux.pot (from translationproject.org) [FULL NAME] + - update vi.po (from translationproject.org) [Trần Ngọc Quân] + - update zh_CN.po (from translationproject.org) [Wylmer Wang] + - update zh_TW.po (from translationproject.org) [Wei-Lun Chao] +prlimit: + - delete rem_prlim prototype [Davidlohr Bueso] + - use TT_FL_FREEDATA for tt table [Karel Zak] +pylibmount: + - add __init__.py [Ondrej Oprala] + - add debug messages [Karel Zak] + - add regression tests [Ondrej Oprala] + - basic code [Ondrej Oprala] + - check for mnt_fs_get_tag() return value [coverity scan] [Karel Zak] + - cleanup *_HELP strings formatting [Karel Zak] + - cleanup cxt usage [Karel Zak] + - cleanup object names [Karel Zak] + - coding style changes in context.c [Karel Zak] + - coding style changes in fs.c [Karel Zak] + - coding style changes in tab.c [Karel Zak] + - coding style changes, don't touch Context() status [Karel Zak] + - fs.c - cleanup, remove libmount private stuff [Karel Zak] + - improve helps strings formatting [Karel Zak] + - make tab parsers more robust [coverity scan] [Karel Zak] + - remove Context_get_table() [Karel Zak] + - remove bindsrc from fs API [Karel Zak] + - remove unnecessary code [Karel Zak] + - rewrite to be py2/py3 universal [Ondrej Oprala] + - use libmount reference counting [Karel Zak] + - use mnt_fs_set_userdata() rather than ->userdata [Karel Zak] + - use only public libmount API in tab.c [Karel Zak] +raw: + - use LC_ALL [Karel Zak] +renice: + - exit with non-zero value when arguments cause warnings [Sami Kerola] +resizepart: + - check writing to a file descriptor was successful [Sami Kerola] +rev: + - fix new line regression [Sami Kerola] + - reduce stream checking when closing read-only file descriptor [Sami Kerola] + - simplify new line detection and impossible test [Sami Kerola] + - stop adding new line at the end when input does not have it [Sami Kerola] + - use string printing rather than character output [Sami Kerola] +runuser: + - update man page, add note about -l vs. -p [Karel Zak] +sd-daemon: + - update files taken from systemd project [Sami Kerola] +setarch: + - prefer preprocessor rather than autotools check [Sami Kerola] +setpriv: + - allow login and group name option arguments [Sami Kerola] + - check writing to a file descriptor was successful [Sami Kerola] + - check writing to a file was successful [Sami Kerola] + - use LC_ALL [Karel Zak] +setsid: + - add an option to wait child return value [Daniel Kahn Gillmor] + - exit when control terminal cannot be set [Sami Kerola] +setterm: + - fix term.h/ncurses.h include ordering [Mike Frysinger] +sfdisk: + - assigned value is never read [clang-analyzer] [Sami Kerola] + - check writing to a file descriptor was successful [Sami Kerola] + - clean up unhide code [Karel Zak] + - clean up usage() functions [Sami Kerola] + - don't call BLKRRPART for non-block devices [Karel Zak] + - don't use word 'disk'. [Karel Zak] + - fix typo [Karel Zak] + - fix y/n mismatch [Karel Zak] + - make unhiding as complete as possible [Sami Kerola] + - replace my_warn() with warnx() [Sami Kerola] + - use libc error printing function, and symbolic exit values [Sami Kerola] + - use program_invocation_short_name to determine program name [Sami Kerola] +su: + - add info about pam_lastlog to su.1 [Karel Zak] + - consistent angular brackets and lowercase in help text of 'su' [Benno Schulenberg] + - fix caught_signal logic and initialize oldact [coverity scan] [Karel Zak] + - fix exit status if terminated by signal [Ondrej Oprala] + - fix lastlog and btmp logging [Karel Zak] + - ignore --preserve-environment, it's mutually exclusive to --login [Karel Zak] + - suppress PAM info messages for -c or non-login sessions [Karel Zak] +su-common: + - pluralize one message [Benno Schulenberg] +sulogin: + - clean up error messages [Karel Zak] + - fix compiler warning [Karel Zak] + - fix memory leak [clang-analyzer] [Sami Kerola] +swaplabel: + - check writing to a file descriptor was successful [Sami Kerola] +swapon: + - allow a more flexible swap discard policy [Rafael Aquini] + - check writing to a file descriptor was successful [Sami Kerola] + - cleanup man page [Karel Zak] + - use TT_FL_FREEDATA for tt table [Karel Zak] +tests: + - add XFS log image [Karel Zak] + - add bcache images [Karel Zak] + - add cal day color corner cases [Sami Kerola] + - add calendar reformation check [Sami Kerola] + - add last(1) test [Sami Kerola] + - add losetup tests [Karel Zak] + - add nologin to build tests [Karel Zak] + - add partx regression tests [Ondrej Oprala] + - check cal works when year is far in future [Sami Kerola] + - check last(1) and utmpdump(1) IPv6 functionality [Sami Kerola] + - consolidate Py tests initialization [Karel Zak] + - improve cal --color test [Karel Zak] + - lscpu add CPU max MHz to test results [Sami Kerola] + - minor changes to make tests more portable [Karel Zak] + - new warning fix [Gilles Espinasse] + - partx tests cleanup [Karel Zak] + - refresh fdisk tests [Karel Zak] + - refresh jbd blkid test [Karel Zak] + - remove remaining set -x [Karel Zak] + - update build tests [Karel Zak] + - update fdisk outputs [Karel Zak] + - update libmount fstab full parse test [Karel Zak] + - update lscpu tests [Karel Zak] + - update odd output fdisk test [Karel Zak] + - update sun label test [Karel Zak] + - use 'btrfs' rather than 'btrfsctl' [Karel Zak] + - use stable MBR ID [Karel Zak] +textual: + - change spelling of "disk label" to the more abundant "disklabel" [Benno Schulenberg] + - end both the singular and the plural message with a period [Benno Schulenberg] + - equalize four error messages with already existing ones [Benno Schulenberg] + - fix misspelled words in -rc1 [Karel Zak] + - fix several typos and angular brackets in messages [Benno Schulenberg] + - fix typo in error message and uniformize their use of period [Benno Schulenberg] + - fixing typos in a warning and an error message [Benno Schulenberg] + - harmonize some loop-device error messages [Benno Schulenberg] + - improve clarity of some error messages [Benno Schulenberg] + - make two messages somewhat easier to understand [Benno Schulenberg] + - properly use uppercase in certain abbreviations [Benno Schulenberg] + - remove duplicate mention of '--help' from lsblk help text [Benno Schulenberg] + - standardize some "cannot read" and "seek failed" error messages [Benno Schulenberg] + - standardize synopsis for login, and improve an error message [Benno Schulenberg] + - standardize the spelling of "superuser" [Benno Schulenberg] + - tag a translator comment and put it in proper place [Benno Schulenberg] + - tiny alphabetical and grammatical tweak [Benno Schulenberg] + - use consistent wording and punctuation in fdisk stuff [Benno Schulenberg] + - use the standard angular brackets for non-literal arguments [Benno Schulenberg] +tools: + - generate autotools files if missing [Sami Kerola] +ul: + - enhance command performance [Sami Kerola] + - use correct types [Sami Kerola] + - use string printing function [Sami Kerola] +umount: + - provide more helpful error message [Karel Zak] +unshare: + - add --fork options for pid namespaces [Mike Frysinger] + - add --mount-proc for pid namespaces [Karel Zak] +utmpdump: + - add option to write to a file [Sami Kerola] + - assigned values are never read [clang-analyzer] [Sami Kerola] + - make IPv6 addresses work [Sami Kerola] + - make analyzers happy [Karel Zak] +uuidd: + - add missing initializer [clang-analyzer] [Karel Zak] + - clean up error messages [Karel Zak] +various: + - fix mixing declarations and code compiler warnings [smatch] [Sami Kerola] +wall: + - allow to specify on command line [Karel Zak] + - check writing to a file descriptor was successful [Sami Kerola] + - line wrap at column 79 also when line has tab chars [Sami Kerola] + - make banner sysvinit compatible [Karel Zak] + - send message also to sessions opened by user 'sleeper' [Sami Kerola] + - sync usage() with howto-usage-function.txt [Sami Kerola] +wdctl: + - check writing to a file descriptor was successful [Sami Kerola] + - gettextize and pluralize one forgotten message [Benno Schulenberg] + - pluralize one thrice-repeated message [Benno Schulenberg] + - use TT_FL_FREEDATA for tt table [Karel Zak] +wipefs: + - Also wipe superblocks with bad checksums [Gabriel de Perthuis] + - add --backup [Ondrej Oprala] + - clean up code [Karel Zak] + - pluralize one message [Benno Schulenberg] +write: + - change determination can user write to a terminal [Sami Kerola] + +- change determination can user write to a terminal [Sami Kerola] diff --git a/Documentation/releases/v2.25-ReleaseNotes b/Documentation/releases/v2.25-ReleaseNotes new file mode 100644 index 0000000..45a38fb --- /dev/null +++ b/Documentation/releases/v2.25-ReleaseNotes @@ -0,0 +1,1290 @@ +Util-linux 2.25 Release Notes +============================= + +The command cytune(8) has been REMOVED from util-linux. + +The non-libmount mount(8) implementation has been REMOVED from util-linux. + +The "swapon --summary" output format is deprecated in favor of the +"swapon --show[=]" that provides better control on output formatting. + +Release highlights +------------------ + +libsmartcols: + - this NEW SHARED LIBRARY (but with stable API) allows to print data in + tables, trees or parsable formats, support colors, sorting etc. The code has + been originally developed for lsblk(8) and findmnt(8). + +cfdisk(8): + - the code been completely rewritten, now it uses libfdisk and libsmartcols, + supports GPT, SUN, SGI and BSD disk labels + - the command is no more based on CHS addressing + +fdisk(8): + - no more print sizes in 1024-byte blocks, but in real sectors or human + readable sizes (MiB, TiB, etc.) + - allows to modify GPT partition attributes + +lslogins(1): + - this NEW COMMAND list information about users, groups and system accounts, + provides data from last, wtmp, btmp, hust status, password expiration + settings, SELinux context, nologin setting, etc. + +terminal-colors.d(5): + - this new directory controls output colorization for various utilities + - now dmesg(1) supports colors customization, for example + echo 'alert 37;41' >> /etc/terminal-colors.d/dmesg.scheme + sets red background for alert messages. + +cal(1): + - supports new option --week to show week numbers + +fallocate(1): + - supports new option --dig-holes to detect and dig holes, it makes the + file sparse in-place, without using extra disk space. + +fstrim(1): + - supports new option --all to discard all filesystem on devices that supports + TRIM operation. + +hexdump(1): + - the original very old BSD has been refactored + - the output format units support colors now, the colorized regions could be + specified by value or offset. + +libmount: + - the library allows to use -s (sloppy) mount command line option for all external + mount helpers. The option was originally NFS specific. + +logger(1): + - supports new option --journald to send structured messages to systemd journal + +lsblk(8): + - supports new command line option --sort to sort output + +kill(1) and setterm(1): + - the commands have been refactored to be more robust + + +The build system has been improved to support to build only explicitly specified +utils or libs (e.g. --disable-all-programs --enable-libblkid to build only +libblkid). + +The project test suite has been improved to be more portable and robust, project +uses travis-ci service now. + + +Stable maintenance releases between v2.24 and v2.25 +--------------------------------------------------- + +util-linux 2.24.1 [Jan 20 2014] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.24/v2.24.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.24/v2.24.1-ChangeLog + +util-linux 2.24.2 [Apr 24 2014] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.24/v2.24.2-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.24/v2.24.2-ChangeLog + + +Changes between v2.24 and v2.25 +------------------------------- + + For more details see ChangeLog files at: + https://www.kernel.org/pub/linux/utils/util-linux/v2.25/ + + +addpart: + - minor man page improvements [Ondrej Oprala] +agetty: + - Fix implementation of option --nonewline. The flag F_NONL was never set. [Benjamin Robin] + - Update help usage function [Benjamin Robin] + - avoid that agetty nor sulogin are fooled by a running plymouth [Werner Fink] + - beside virtual consoles support xvc and hvc device lines as well [Werner Fink] + - better support of the special system consoles on S390 [Werner Fink] + - fix odd check for chardev/tty [Karel Zak] + - support the special terminal on first serial line on a S/390 [Werner Fink] + - update man page [Karel Zak] + - use the "best" interface for \4 and \6 [Karel Zak] +bash-completion: + - update cfdisk [Karel Zak] + - update fallocate, fstrim and lsblk [Karel Zak] + - update fdisk [Karel Zak] +blkdiscard: + - BLKSSZGET fills in an int, not a uint64 [Theodore Ts'o] +blkid: + - convert superblocks to new calling convention [Hannes Reinecke] + - escape quotes in the output [Karel Zak] + - remove unused variable [Sami Kerola] + - simple typo [Phillip Susi] + - stop scanning on I/O error [Hannes Reinecke] +blockdev: + - Some minor corrections to the manual [Bjarni Ingi Gislason] + - don't use HDIO_GETGEO [Phillip Susi] +buil-sys: + - disable in UL_BUILD_INIT() on --disable-all-programs [Karel Zak] +build: + - fix some compiler warnings [Ruediger Meier] +build-sys: + - add --disable-all-programs [Karel Zak] + - add --disable-minix [Karel Zak] + - add --enable-pylibmount [Karel Zak] + - add --with-smack to config-gen.d [Karel Zak] + - add BUILD_ vars for all Linux-only utils [Karel Zak] + - add BUILD_CHRT [Karel Zak] + - add BUILD_GETOPT [Karel Zak] + - add BUILD_{BLKID,FINDFS,WIPEFS,FINDMNT} [Karel Zak] + - add BUILD_{COL,COLCRT,COLRM,COLUMN,HEXDUMP,REV,TAILF} [Karel Zak] + - add BUILD_{SCRIPT,SCRIPTREPLAY} [Karel Zak] + - add BUILD_{SFDISK,BLOCKDEV,MKSWAP,IOSIZE,MKFS} [Karel Zak] + - add BUILD_{UUIDGEN,CAL,LOGGER,LOOP,MCOOKIE,NAMEI,WHEREIS} [Karel Zak] + - add UL_DEFAULT_ENABLE() and $ul_default_estate [Karel Zak] + - add UL_EXCLUDE_ARCH() [Karel Zak] + - add disable-all.conf to config-gen [Karel Zak] + - add libsmartcols to ko-release-gen script [Karel Zak] + - add missing dependencies to libsmartcols [Karel Zak] + - add non-libsmartcols.conf [Karel Zak] + - add sys-utils/uname26.8 to gitignore [Karel Zak] + - cleanup bash-completion/ [Karel Zak] + - consolidate systemd support [Karel Zak] + - don't compile deprecated last(1) on --enable-all-programs [Karel Zak] + - don't connect _DEPENDENCIES and _LIBADD [Karel Zak] + - enable chfn and chsh by default [Karel Zak] + - enable parallel tests for make check [Karel Zak] + - exclude Documentation/ from looking for translatable strings [Benno Schulenberg] + - fix .h.in usage in libblkid and libmount [Karel Zak] + - fix ENABLE_ALL [Karel Zak] + - fix UL_BUILD_INIT() [Karel Zak] + - fix autopoint gettext version fun [Ruediger Meier] + - fix fstrim systemd stuff [Karel Zak] + - fix smartcols.pc [Karel Zak] + - fix typo, look vs loop (1b15cbd1) [Ruediger Meier] + - fix typo, set HAVE_LIBUUID [Karel Zak] + - fix typo, sparc vs spark (62b2c024) [Ruediger Meier] + - fix update-potfiles script [Ruediger Meier] + - fix with_python usage, improve logic [Karel Zak] + - fixes for non-Linux systems [Samuel Thibault] + - fstrim depends on libmount [Karel Zak] + - harmonize some indentation [Benno Schulenberg] + - improve the informative message when not building some util [Benno Schulenberg] + - libmount/python/__init__.py is always a dist file [Ruediger Meier] + - move libsmartcols.so to /lib if they exists [Karel Zak] + - ove fdisks to disk-utils [Karel Zak] + - release++ (v2.25-rc1) [Karel Zak] + - release++ (v2.25-rc2) [Karel Zak] + - remove deprecated-mount/ [Karel Zak] + - remove obsolete wholedisk.c [Karel Zak] + - remove unnecessary void casts [Sami Kerola] + - restore make distcheck's configure flags [Ruediger Meier] + - small fixes to libsmartcols [Karel Zak] + - sort gitignore files [Sami Kerola] + - support ./configure ADJTIME_PATH= [Karel Zak] + - use automake's PYTHON primary for __init__.py [Ruediger Meier] + - use gettext 0.18.3 if possible [Ruediger Meier] +build_sys: + - fix default estate usage [Karel Zak] +cal: + - add input variable names to function prototypes [Sami Kerola] + - add month contents structure [Sami Kerola] + - added -w|--week for showing week numbers [Tommi Kyntola] + - added argument option for -w|--week to display that week [Tommi Kyntola] + - added two missing tests [Tommi Kyntola] + - all output must use my_putstring [Ruediger Meier] + - determine how many header lines are needed at initialization [Sami Kerola] + - determine output width at beginning of run and reuse result [Sami Kerola] + - fix coding style [Karel Zak] + - in man page admit that any week has just one Sunday [Benno Schulenberg] + - in man page improve grammar and wording of the reformation limitation [Benno Schulenberg] + - limit year to 32 bit value [Sami Kerola] + - make day_in_week() use same variable names as other functions [Sami Kerola] + - make user request to be part of read-only control struct [Sami Kerola] + - mention where Gregorian reformation happen in September 1752 [Sami Kerola] + - remove optional from short arg -w [Tommi Kyntola] + - remove unnecessary static variables [Sami Kerola] + - remove unused structure and definition [Sami Kerola] + - rename ascii_wnum() to ascii_weeknum() [Sami Kerola] + - simplify ascii_weeknum() function [Sami Kerola] + - use control structure for run time configuration [Sami Kerola] + - use month contents structure for --three printing [Sami Kerola] + - use month contents structure for --year printing [Sami Kerola] + - various tests for week numbers [Tommi Kyntola] +cfdisk: + - accept 's' as well as 'S' for sectors [Karel Zak] + - actually translate the partition types in the menu [Benno Schulenberg] + - add --zero command line option [Karel Zak] + - add UI for linfdisk menus, ask for size [Karel Zak] + - add [Sort] operation [Karel Zak] + - add braces to ensure operation order [Sami Kerola] + - add create lebel UI [Karel Zak] + - add help screen [Karel Zak] + - add menu action functions [Karel Zak] + - add page down/up [Karel Zak] + - add parttype dialog [Karel Zak] + - add usage() and some basic main() stuff [Karel Zak] + - basic UI stuff [Karel Zak] + - clean up scols usage [Karel Zak] + - cleanup, rename menuitem struct [Karel Zak] + - coding style, comments, etc. [Karel Zak] + - consolidate menu descriptions [Karel Zak] + - consolidate menu move code [Karel Zak] + - don't offer BSD [Karel Zak] + - fix colors initialization [Karel Zak] + - fix compile-time error fixes #59 [Wolfgang Richter] + - fix compiler warning [-Wsign-compare] [Karel Zak] + - fix division by zero [clang-analyze] [Karel Zak] + - fix header [Karel Zak] + - fix possible memory leak [coverity scan] [Karel Zak] + - fix slang usage [Karel Zak] + - fix typo (undeclared variable since b1f58330) [Ruediger Meier] + - fix warning usage, improve 's' help [Karel Zak] + - follow default end if possible [Karel Zak] + - follow terminal-colors.d [Karel Zak] + - improve add parttype UI [Karel Zak] + - improve info line and menu updates [Karel Zak] + - improve info line, add Delete action [Karel Zak] + - improve tree output [Karel Zak] + - improve write dialog [Karel Zak] + - make code more readable for analyzers [coverity scan] [Karel Zak] + - make menus sensitive to ESC [Karel Zak] + - menu actions refactoring [Karel Zak] + - minor man page improvements [Ondrej Oprala] + - refresh man page [Karel Zak] + - reorder abstract PT according to output [Karel Zak] + - resize UI on SIGWINCH [Karel Zak] + - restore the license that was lost in January [Benno Schulenberg] + - support S, and long hint messages [Karel Zak] + - support partitions list longer than screen LINES [Karel Zak] + - supports also vertical menus [Karel Zak] + - update man page COLORS section [Karel Zak] + - update menu according to the current partition [Karel Zak] + - update table index when out of range [Karel Zak] + - use /dev/sda by default [Karel Zak] + - use \n for messages on stdout and stderr [Karel Zak] + - use real partno [Karel Zak] + - use tree-mode for extended, colorize freesapce [Karel Zak] +chcpu: + - cleanup return codes [Karel Zak] + - cleanup stdout/stderr usage [Karel Zak] +chfn: + - Improve the typesetting of the manual [Bjarni Ingi Gislason] +chsh: + - Improve the typesetting of the manual [Bjarni Ingi Gislason] +chsh, chfn: + - add info about non-local support to the man pages [Karel Zak] +column: + - fix mem leak [coverity scan] [Karel Zak] + - inform user when multibyte conversion error occurs [Sami Kerola] +cytune: + - remove from util-linux [Sami Kerola] +delpart: + - minor man page improvements [Ondrej Oprala] +dmesg: + - -w output not line-buffered [Karel Zak] + - add missing include [Karel Zak] + - avoid unnecessary variable assignment [Sami Kerola] + - don't report EPIPE [Karel Zak] + - fix --raw zero timestamp for kmsg [Karel Zak] + - move get_boot_time() to lib/timeutils [Sami Kerola] + - support colors customization [Karel Zak] +docs: + - add a new command boilerplate code [Sami Kerola] + - add fdisk mac support to TODO file [Karel Zak] + - add lslogins(1) to TODO [Karel Zak] + - add note about lsblk [Karel Zak] + - add note about make distcheck [Karel Zak] + - add patching process to howto-contribute.txt [Sami Kerola] + - add pid alis to deprecated.txt [Karel Zak] + - add v2.25-ReleaseNotes [Karel Zak] + - bring a few more man pages closer to standard formatting [Benno Schulenberg] + - bring eight more man pages closer to standard formatting [Benno Schulenberg] + - bring five more man pages closer to standard formatting [Benno Schulenberg] + - bring four more man pages closer to standard formatting [Benno Schulenberg] + - bring one more man page closer to standard formatting [Benno Schulenberg] + - bring several man pages closer to standard formatting [Benno Schulenberg] + - bring some more man pages closer to standard formatting [Benno Schulenberg] + - fix "behaviour" vs. "behavior" [Karel Zak] + - fix many wording and some formatting issues in the man page of kill [Benno Schulenberg] + - fix minor things in man-page howto [Karel Zak] + - fix name and URL of 2.25-rc1 [Benno Schulenberg] + - fix two command representations in the man page of more [Benno Schulenberg] + - grammarize the usage howto [Benno Schulenberg] + - improve formatting and wording of a few man pages [Benno Schulenberg] + - improve the formatting and wording of two man pages [Benno Schulenberg] + - improve the wording and conventions in the man-page howto [Benno Schulenberg] + - improve wording and formatting of the man page of cfdisk [Benno Schulenberg] + - make hexdump.1 color specification easier to understand [Sami Kerola] + - many tiny formatting and wording improvements to man page of mount [Benno Schulenberg] + - mount -o nouser is not useful, be clearer about that [Benno Schulenberg] + - refresh TODO [Karel Zak] + - remove obsolete cfdisk.txt [Karel Zak] + - rename libs xml/version.xml to xml/version-utils.xml [Karel Zak] + - setterm.1 add missing options to manual page and remove duplicate [Sami Kerola] + - setterm.1 add options compatibility note [Sami Kerola] + - setterm.1 clean up manual page groff style [Sami Kerola] + - update AUTHORS file [Karel Zak] + - update TODO [Karel Zak] + - update TODO, wipe check for fdisk already implemented [Karel Zak] + - update howto regards to build-system changes [Karel Zak] + - update links to http //git.kernel.org/ web repository views [Sami Kerola] + - update v2.25-ReleaseNotes [Karel Zak] +fallocate: + - Add "--dig-holes" option [Rodrigo Campos] + - Clarify that space can also be deallocated [Rodrigo Campos] + - Hide #ifdef tricks to call fallocate in a function [Rodrigo Campos] + - add --verbose, clean up usage() [Karel Zak] + - add FALLOC_FL_ZERO_RANGE support [Lukas Czerner] + - avoid unnecessary computation [Sami Kerola] + - clarify usage() [Pádraig Brady] + - code optimalizations [Karel Zak] + - fix FALLOC_FL_ZERO_RANGE flag check [Karel Zak] + - fix check of number of arguments [Bernhard Voelker] + - fix man page synopsis [Karel Zak] + - fix missing sentinel for is_nul() [Karel Zak] + - improve --dig-holes [Karel Zak] + - introduce an option -c to support COLLAPSE_RANGE [Dongsu Park] + - make man page readable for humans [Karel Zak] + - prefer FALLOC_FL_* flags from libc headers [Karel Zak] + - use O_CREAT only for the default behavior [Karel Zak] + - use POSIX_FADV_DONTNEED to discard cached data [Karel Zak] + - use SEEK_DATA on already sparse files [Karel Zak] + - use err_exclusive_options(), cleanup getopt_long() stuff [Karel Zak] +fdformat: + - Some minor change to the manual [Bjarni Ingi Gislason] + - match variable and print format types [Sami Kerola] +fdisk: + - (gpt) add A,B,R,S expert commands to modify attributes [Karel Zak] + - (gpt) more human readable info about free space [Karel Zak] + - add 'M' to access GPT nested protective/hybrid MBR [Karel Zak] + - add long options, cleanup man page and usage() [Karel Zak] + - add note about colors to the man page [Karel Zak] + - avoid code duplication [Sami Kerola] + - don't care about partition type [Karel Zak] + - don't use --geom-* prefix for CHS options [Karel Zak] + - fix 'p'rint error on empty PT [Karel Zak] + - fix nasty coding style [Karel Zak] + - fix printf stuff [Karel Zak] + - fix usage(), -l [] [Karel Zak] + - merge fdisk-ask.c to fdisk.c [Karel Zak] + - print table header as bold [Karel Zak] + - remove unnecessary code [Karel Zak] + - reorder intro warnings [Karel Zak] + - support colors customization [Karel Zak] + - use ASKTYPE_MENU [Karel Zak] + - use sysfs_devno_is_wholedisk() [Karel Zak] +findfs: + - add ability to work with PART{UUID,LABEL}= too [Karel Zak] + - use symbolic exit values, and tell about them in manual [Sami Kerola] +findmnt: + - add --bytes to print sizes in bytes [Karel Zak] + - add --nocanonicalize to avoid realpath() [Karel Zak] + - add -U to de-deplicate filesystems [Karel Zak] + - cleanup flags [Karel Zak] + - cleanup usage() [Karel Zak] + - fix memory leak [coverity scan] [Karel Zak] + - minimally improve wording of usage text [Benno Schulenberg] + - more robust usage of columns[] [Karel Zak] + - simplify cache_set_targets() [Karel Zak] + - slightly improve wording and formatting in man page [Benno Schulenberg] + - use libsmartcols [Ondrej Oprala] + - use mnt_cache_set_targets() for non-kernel table [Eric Rannaud] +flock: + - Change the 'exit status' man page section to make more sense [Wieland Hoffmann] + - document exit status of flock in man page [Phillip Susi] + - use nfs4 fallback on EBADF too [Karel Zak] +fsck: + - Some typographical corrections to the manual [Bjarni Ingi Gislason] + - add ext4 to list of filesystems with progress bars in fsck man page [Phillip Susi] + - don't return error if fsck. does not exist [Karel Zak] + - uninitialized argument value [clang-analyze] [Karel Zak] + - use private lock file rather than whole-disk directly [Karel Zak] +fsck.cramfs: + - add option --blocksize [Ruediger Meier] + - allow smaller superblock sizes [Ruediger Meier] + - cleanup usage() and warning messages [Karel Zak] + - ifdef unused outbuffer and page_size [Ruediger Meier] + - refactor option -x/--extract [Ruediger Meier] + - remove define INCLUDE_FS_TESTS [Ruediger Meier] + - rename variable page_size to blksize [Ruediger Meier] + - update man page (--extract and --blocksize) [Ruediger Meier] +fsck.minix: + - A few typographical corrections to the manual [Bjarni Ingi Gislason] +fstrim: + - add --all to discard all filesystem [Karel Zak] + - add hint to man page [Karel Zak] + - add systemd units [Thomas Bächler] + - avoid TOCTOU race [Sami Kerola] + - cleanup usage() [Karel Zak] + - daily -> weekly in systemd timer [Karel Zak] + - de-duplicate list of filesystems [Karel Zak] + - fix memory leak [coverity scan] [Karel Zak] +getopt: + - getopt.1 The usual doc dir is /usr/share/doc, not .../docs [Ville Skyttä] +hexdump: + - Create struct hexdump containing previously global variables. [Ondrej Oprala] + - Merge hexsyntax.c into hexdump.c [Ondrej Oprala] + - Rename struct _pr to struct hexdump_pr and remove it's typedef [Ondrej Oprala] + - add --color to the man page [Karel Zak] + - add __attribute__ ((__noreturn__)) to bad*() functions [Ondrej Oprala] + - add basic tests [Ondrej Oprala] + - add highlighting support [Ondrej Oprala] + - add the prefix 'hexdump-' to {conv,display,parse}.c [Ondrej Oprala] + - catch memory leaks [Ondrej Oprala] + - cleanup of redundant symbols/repeating literals [Ondrej Oprala] + - color unit may now be longer than the corresponding format unit [Ondrej Oprala] + - convert a variable type according with fmt [Andrew Vagin] + - delete redundant typecasts [Ondrej Oprala] + - don't access hex after freeing it [Andrew Vagin] + - formatting and variable name cleanup [Ondrej Oprala] + - get rid of redundant typecasts [Ondrej Oprala] + - make addfile() variable names more hinting of their purpose [Ondrej Oprala] + - minor formatting improvements [Ondrej Oprala] + - minor formatting improvements in display() [Ondrej Oprala] + - rename add to add_fmt [Ondrej Oprala] + - rename in() to first_letter() [Ondrej Oprala] + - rename next{fs,fu,pr} to {fs,fu,pr}list [Ondrej Oprala] + - rename rewrite to rewrite_rules [Ondrej Oprala] + - rename struct _fs to struct hexdump_fs and remove its typedef [Ondrej Oprala] + - rename struct _fu to struct hexdump_fu and remove its typedef [Ondrej Oprala] + - rewrite add() [Ondrej Oprala] + - rewrite addfile() [Ondrej Oprala] + - rewrite addfile() to use getline() [Ondrej Oprala] + - rewrite cluttered case statements [Ondrej Oprala] + - rewrite escape() [Ondrej Oprala] + - rewrite get() [Ondrej Oprala] + - rewrite next() [Ondrej Oprala] + - rewrite rewrite() [Ondrej Oprala] + - rewrite() formatting improvements [Ondrej Oprala] + - simplify newsyntax arguments [Ondrej Oprala] + - use GNU case ranges where possible [Ondrej Oprala] + - use list.h queues and rewrite redundant for cycles [Ondrej Oprala] + - use new colors API [Karel Zak] + - use skip_space() in add() [Ondrej Oprala] + - use xasprintf in conv_c() [Ondrej Oprala] + - use xcalloc() [Karel Zak] + - use xstrncpy in add() [Ondrej Oprala] +hwclock: + - Check drift value in /etc/adjtime [Stanislav Brabec] + - Prevent excessive drift values [Stanislav Brabec] + - fix possible hang and other set_hardware_clock_exact() issues [Chris MacGregor] + - fix typo [Karel Zak] + - internationalizing the message of the used interface [Benno Schulenberg] + - sometimes one day lasts 23 hours. [peppe] +include/boottime: + - add a new file [Karel Zak] +include/c: + - do not gettextize a wordless string [Benno Schulenberg] + - remove a duplicate include [Benno Schulenberg] +include/c.h: + - add macro to print definitions as string [Sami Kerola] + - prefer nanosleep() over usleep() [Karel Zak] +include/carefulputc: + - cleanup and add fputs_{quoted,nonblank}() [Karel Zak] + - remove a duplicate include [Benno Schulenberg] +include/closestream: + - don't wipe errno on EPIPE [Karel Zak] +include/debug: + - add another debug macros [Karel Zak] + - fix coding style [Karel Zak] +include/list: + - add void data to the sort cmp function [Karel Zak] +include/swapheader.h: + - ensure type sizes [Sami Kerola] +include/tt: + - add function to convert table to string [Karel Zak] + - add tt_is_empty() [Karel Zak] +include/xalloc: + - add xvasprintf() [Karel Zak] +ionice: + - Fix output for case ioclass==0 [Michael Bunk] + - add a missing error message [Benno Schulenberg] + - add the way to specify the target processes with pgid and uid [Masatake YAMATO] +ipcs: + - cleanup jumplabel stlyes [Ruediger Meier] + - do not gettextize wordless strings [Benno Schulenberg] + - fix ipc_msg_get_info fallback case [Ruediger Meier] + - fix ipc_sem_get_info fallback case [Ruediger Meier] + - fix ipc_shm_get_info fallback case [Ruediger Meier] + - fix memleak in ipc_*_get_info functions [Ruediger Meier] + - fix size_t overflow [Karel Zak] +isosize: + - A few typographical changes to the manual [Bjarni Ingi Gislason] + - make --divisor to require argument [Sami Kerola] + - move file name printing after error determination [Sami Kerola] +kill: + - add --verbose option to display what is killed [Sami Kerola] + - add copyrights, etc. [Karel Zak] + - add parse_arguments() function [Sami Kerola] + - coding style, simplify code [Karel Zak] + - deprecat invocation as 'pid' command name [Sami Kerola] + - fix bug in --all semantic [Karel Zak] + - fix coding style [Sami Kerola] + - flip all comparions to be in smaller - greater order [Sami Kerola] + - make kill-by-name more obvious in man page [Karel Zak] + - make options --pid and --queue mutually exclusive [Sami Kerola] + - make usage() not to return [Sami Kerola] + - move magic numbers in beginning of the file [Sami Kerola] + - move sigqueue inputs to control struct [Sami Kerola] + - remove unnecessary indirection [Sami Kerola] + - rename printsig() to print_signal_name() [Karel Zak] + - rename printsignals() to print_all_signalsprint_all_signals() [Karel Zak] + - reorder functions to make it more readable [Karel Zak] + - return 64 on partial success [Karel Zak] + - tell what is wrong rather than output usage() [Sami Kerola] + - tiny change in man page [Karel Zak] + - use --queue option argument as sigval integer value [Sami Kerola] + - use control structure to pass user input to functions [Sami Kerola] +last: + - --time-format=full should do the same like -F [Ruediger Meier] + - avoid leading "-" before "no logout" [Ruediger Meier] + - fix is_phantom() detection [Sami Kerola] + - fix is_phantom() logic [coverity scan] [Karel Zak] + - fix minor typos in the man page [Ondrej Oprala] + - fix uninitialized length [Ruediger Meier] + - make session gone determination more robust [Sami Kerola] + - minor cleanup if statements [Ruediger Meier] +lib/boottime: + - add a new file [Karel Zak] +lib/canonicalize: + - make DM canonicalization more robust [Karel Zak] +lib/color: + - add colorscheme parser [Karel Zak] +lib/colors: + - add info to man pages, add terminal-colors.d.5 [Karel Zak, Ondrej Oprala] + - add support for @term and /home/kzak [Karel Zak] + - add to the man page hint about $HOME stuff [Karel Zak] + - allow to temporary disable colors [Karel Zak] + - care about colors only on tty() [Karel Zak] + - change an include to a local one [Benno Schulenberg] + - check for /etc/terminal-colors.d/[util].disable [Ondrej Oprala] + - fix colors test [Karel Zak] + - remove memory leak [Sami Kerola] + - support .enable too [Karel Zak] + - support schemes customization [Karel Zak] + - update man page [Karel Zak] +lib/fileutils: + - add mkdir_p() from libmount [Karel Zak] + - add stripoff_last_component() from libmount [Karel Zak] + - xalloc stuff in library-like code [Karel Zak] +lib/ismounted: + - more robust buffer usage [clang-analyze] [Karel Zak] +lib/loopdev: + - comparing an array to null is not useful [coverity scan] [Karel Zak] +lib/loopdev.c: + - reset errno before strtol() call [Yuriy Nazarov] +lib/mbalign: + - add mbs_safe_width() from tt.c [Karel Zak] + - report also size in bytes [Karel Zak] +lib/mbsalign: + - split mbs_safe_encode() [Karel Zak] +lib/pager: + - use names when referring to standard file descriptors [Sami Kerola] +lib/path: + - add path_strdup() [Karel Zak] +lib/procutils: + - check fgets() return value [coverity scan] [Karel Zak] + - notice setuid() process ownership changes [Sami Kerola] + - reset errno before strtol() call [Sami Kerola] +lib/strutils: + - fix parse_size() return code [Karel Zak] + - support dec.points in parse_size() [Karel Zak] + - use proper return codes in parse_size() [Karel Zak] +lib/sysfs: + - add sysfs_devno_is_lvm_private() from libblkid [Karel Zak] + - add sysfs_devno_is_wholedisk() [Karel Zak] + - fix compiler warning [-Wunused-variable] [Karel Zak] + - fix scanf format string [coverity scan] [Karel Zak] + - make dirent d_type usage more robust [Karel Zak] +lib/terminal-colors.d: + - lib/terminal-colors.d.5 Improve the typesetting of the manual [Bjarni Ingi Gislason] +lib/timeutils: + - fix memory leak [Sami Kerola] + - remove get_boot_time from libcommon [Karel Zak] +lib/tt: + - add TT_FL_MAX to fill screen [Karel Zak] + - add reduce term width functionality [Karel Zak] + - add tb_get_nlines() [Karel Zak] + - add tt_line_get_userdata() [Karel Zak] + - don't hardcode stdout as output [Karel Zak] + - keep track about output order [Karel Zak] +lib/tt.c: + - Goodbye! [Ondrej Oprala] +libblkid: + - (nilfs2) check also backup superblock [Karel Zak] + - (zfs) let's keep compiler happy [Karel Zak] + - Identify extN file system properly [Lukas Czerner] + - add blkid_partlist_get_partition_by_partno() [Karel Zak] + - add extra checks to XFS prober [Karel Zak] + - cleanup internal return codes [Karel Zak] + - comparing an array to null is not useful [coverity scan] [Karel Zak] + - convert GPT attributes to host endianness [Karel Zak] + - correct the return values in squashfs probe [David Shea] + - detect alone PMBR [Karel Zak] + - detect squashfs 3 vs 4 [Ruediger Meier] + - fix compiler warning [-Wimplicit-function-declaration] [Karel Zak] + - fix memory leak in blkid_parse_tag_string() [Karel Zak] + - fix partitions probing [Karel Zak] + - fix probe_ddf() [clang-analyze] [Karel Zak] + - fix return codes from PART_ENTRY_* probing [Karel Zak] + - fix sgi PT parser to report system partitions [Karel Zak] + - fix swap-area version [Karel Zak] + - ignore private LVM devices [Karel Zak] + - improve comment [Karel Zak] + - make new_partition() more robust [Karel Zak] + - no more probe for btrfs backup superblock [Karel Zak] + - remove private function from docs [Karel Zak] + - use include/debug.h [Ondrej Oprala] + - use new debug functions [Karel Zak] +libblkid/libblkid.3: + - Improve the typsetting of the manual [Bjarni Ingi Gislason] +libcommon: + - add common debugging routines [Ondrej Oprala] + - define more debugging macros [Ondrej Oprala] + - don't mention lib versions in debug macros [Ondrej Oprala] +libfdisk: + - (bsd) fix output [Karel Zak] + - (bsd) remove get_partition_type() [Karel Zak] + - (bsd) use new get_part() API [Karel Zak] + - (dos) be more verbose when change bootable flag [Karel Zak] + - (dos) calculation of total size based on CHS in check function [Thorsten Wilmer] + - (dos) consolidate partition end-offset code [Karel Zak] + - (dos) count fisrt usable LBA to total number of used sectors [Karel Zak] + - (dos) fix ext_index usage [Karel Zak] + - (dos) fix free part counter [Karel Zak] + - (dos) fix log.partition delete [Karel Zak] + - (dos) improve logical partition reorder command [Karel Zak] + - (dos) make EBR parser more robust [Karel Zak] + - (dos) remove get_partition_type() [Karel Zak] + - (dos) use check() for dos-comaptible mode only [Karel Zak] + - (dos) use new list() and get_part() API [Karel Zak] + - (dos) warn on type 0 [Karel Zak] + - (gpt) add /home GUID [Karel Zak] + - (gpt) allow to work with hybrid GPT [Karel Zak] + - (gpt) fix last LBA code for S_ISREG [Karel Zak] + - (gpt) implement 'fix order' command [Karel Zak] + - (gpt) improve and cleanup recovery code [Karel Zak] + - (gpt) initialize last_lba, cleanup pa->{start,size} usage [Karel Zak] + - (gpt) recover from corrupted primary/backup PT [Karel Zak] + - (gpt) remove get_partition_type() [Karel Zak] + - (gpt) use entry attributes as bitmap [Karel Zak] + - (gpt) use fdisk_column [Karel Zak] + - (mbr) fix logical chain termination [Karel Zak] + - (sgi) cleanup, add infor about whole-disk partition [Karel Zak] + - (sgi) generate partname according to partition position [Karel Zak] + - (sgi) remove get_partition_type() [Karel Zak] + - (sgi) use new list() and get_part() API [Karel Zak] + - (sun) add info about whole-disk partition [Karel Zak] + - (sun) fix end sectors with +1 error [Karel Zak] + - (sun) remove get_partition_type() [Karel Zak] + - (sun) use new list() and get_part() API [Karel Zak] + - add ASKTYPE_MENU and context last_lba [Karel Zak] + - add dump functions, make freespace code generic [Karel Zak] + - add fdisk_partition_*_follow_default() [Karel Zak] + - add fdisk_table_get_nents() [Karel Zak] + - add fdisk_table_get_partition() [Karel Zak] + - add generic function to check partitions order [Karel Zak] + - add new list() columns, cleanup [Karel Zak] + - add partitions reorder operation to label API [Karel Zak] + - add reference counting to fdisk_partition [Karel Zak] + - add struct fdisk_partition [Karel Zak] + - add support to list free space [Karel Zak] + - add table container [Karel Zak] + - add table sort function, use it in get_freespace [Karel Zak] + - again improve freespace code [Karel Zak] + - avoid two compiler warnings about wrong print formats [Benno Schulenberg] + - clean up cylinder column [Karel Zak] + - clean up debug output [Karel Zak] + - clean up scols usage [Karel Zak] + - do not do the same thing twice in single if statement [Sami Kerola] + - don't ask for pri/log if wanted start within extended partition [Karel Zak] + - don't count special whole-disk partitions [Karel Zak] + - extend API definition to list info about partitions [Karel Zak] + - fix %ju -> %zu [Karel Zak] + - fix bsd_translate_fstype() for alpha [Ruediger Meier] + - fix fdisk_context_assign_device() comment [Karel Zak] + - fix freesapce detection for nested partitions [Karel Zak] + - fix logical partition reorder command [Karel Zak] + - fix possible memory leak [clang-analyze] [Karel Zak] + - fix printf stuff [Karel Zak] + - follow requested size rather than use all available space [Karel Zak] + - implement generic functions for FDISK_COL_ stuff [Karel Zak] + - improve conversion to string [Karel Zak] + - improve freesapce detection [Karel Zak] + - initialize last_lba [Karel Zak] + - make disk sync() optional [Karel Zak] + - make first sector buffer usage more robust [Karel Zak] + - make qsort_r() optional [Karel Zak] + - move partition stuff to partition.c [Karel Zak] + - properly implement read-only mode [Karel Zak] + - remove fdisk_colon() [Karel Zak] + - remove fdisk_get_partition_type() [Karel Zak] + - remove label specific get_freespace [Karel Zak] + - remove tt stuff from API [Karel Zak] + - rewrite freespace code [Karel Zak] + - support extended attributes modification [Karel Zak] + - support nested MBR [Karel Zak] + - tiny clean up in fdisk_table_to_string() [Karel Zak] + - update GPT partition types [Karel Zak] + - use fdisk_table to generate output [Karel Zak] + - use include/debug.h [Ondrej Oprala] + - use new debug functions [Karel Zak] + - use partition template [Karel Zak] + - warn about obsolete signatures on the device [Karel Zak] +libmount: + - FS id and parent ID could be zero [Karel Zak] + - accept (deleted) path suffix in mountinfo file [Karel Zak] + - add efivarfs to the list of pseudo filesystems [Karel Zak] + - add missing assert() [Karel Zak] + - add mnt_table_uniq_fs() [Karel Zak] + - add mnt_tag_is_valid() [Karel Zak] + - add statfs_magic.h [Karel Zak] + - adjust the ordering of a #define and tweak some comments [Benno Schulenberg] + - allow to use -s (sloppy) for all external helpers [Karel Zak] + - always use mnt_resolve_target() in mnt_fs_match_target() [Karel Zak] + - cgroup magic already defined [Karel Zak] + - cleanup fix_optstr() regards to selinux and smack [Karel Zak] + - define BTRFS_TEST_MAGIC if missing [Bernhard Voelker] + - don't touch mtab when mount -n specified [Karel Zak] + - fix scanf format string [coverity scan] [Karel Zak] + - fix typo in smack path [Karel Zak] + - further debug.h integration [Ondrej Oprala] + - initialize *root to NULL in mnt_table_get_root_fs [Thomas Bächler] + - make the mountinfo parser more robust [Karel Zak] + - mnt_resolve_path don't canonicalize fs->target for swap [Eric Rannaud] + - mnt_resolve_path use strcmp() only if both are canonical [Eric Rannaud] + - mnt_resolve_target tiptoe around active mount points [Eric Rannaud] + - remove smackfs* option when SMACK not enabled [Karel Zak] + - silence some docs warnings [Ondrej Oprala] + - special treatment for auto in fstype pattern [Karel Zak] + - update utab after successful extern helper mount [Karel Zak] + - use macros from include/debug.h [Ondrej Oprala] + - use new debug functions [Karel Zak] +libsmartcols: + - (docs) reorder functions in version section [Karel Zak] + - add SCOLS_FL_MAX [Karel Zak] + - add basic files [Ondrej Oprala] + - add cells [Ondrej Oprala] + - add columns [Karel Zak] + - add debug and version functions [Karel Zak] + - add debug messages [Karel Zak] + - add function to convert table to string [Karel Zak] + - add iterator [Ondrej Oprala] + - add lines [Karel Zak, Ondrej Oprala] + - add missing COPYING file [Karel Zak] + - add missing copyright notifications [Ondrej Oprala] + - add note about deallocations [Karel Zak] + - add reduce term width functionality [Karel Zak] + - add scols_sort_table() [Karel Zak, Shakur Shams Mullick] + - add scols_table_is_empty() [Ondrej Oprala] + - add separator getters/setters [Ondrej Oprala] + - add symbols [Ondrej Oprala] + - add table code [Karel Zak] + - add table struct, cleanup refcounting [Karel Zak] + - add test [Ondrej Oprala] + - allow to read lines as tree [Karel Zak] + - always deallocate in scols_reset_cell() [Karel Zak] + - avoid variable dereference after release [Sami Kerola] + - check recount_widths() return value [Karel Zak] + - clean up flags [Karel Zak] + - clean up flags usage [Karel Zak] + - clean up test.c example [Karel Zak] + - colors may now be specified as human-readable strings [Ondrej Oprala] + - documentation [Ondrej Oprala] + - don't colorize tree ascii art [Karel Zak] + - don't mix width (in cells) and size (in bytes) [Karel Zak] + - fill the symbol version file [Ondrej Oprala] + - fix a usage example [Ondrej Oprala] + - fix buffer usage [Karel Zak] + - fix docs [Karel Zak] + - fix padding [Karel Zak] + - fix test [Karel Zak] + - improve docs [Karel Zak] + - improve line and cell separators [Karel Zak] + - include stdio [Ondrej Oprala] + - init symbols when necessary [Karel Zak] + - move some code around [Ondrej Oprala] + - remove unnecessary code [Karel Zak] + - resuse buffer for encoded data [Karel Zak] + - revert the column flags API [Ondrej Oprala] + - rewrite test code to tree(1)-like util [Karel Zak] + - separate flags, add getters/setters [Ondrej Oprala] + - support alternative streams [Karel Zak] + - use buffer struct in table_print.c [Karel Zak] + - use new colors API [Karel Zak] +libuuid: + - (man/uuid_time.3) Improve the typesetting of the manual [Bjarni Ingi Gislason] + - (uuid.3) Improve the typesetting of the manual [Bjarni Ingi Gislason] + - (uuid_clear.3) Improve the typesetting of the manual [Bjarni Ingi Gislason] + - (uuid_compare.3) Improve the typesetting of the manual [Bjarni Ingi Gislason] + - (uuid_copy.3) Improve the typesetting of the manual [Bjarni Ingi Gislason] + - (uuid_generate) Improve the typesetting of the manual [Bjarni Ingi Gislason] + - (uuid_is_null.3) Improve the typesetting of the manual [Bjarni Ingi Gislason] + - (uuid_parse.3) Improve the typesetting of the manual [Bjarni Ingi Gislason] + - (uuid_unparse.3) Improve the typesetting of the manual [Bjarni Ingi Gislason] +linfdisk: + - align free space [Karel Zak] +logger: + - allow user to send structured journald messages [Sami Kerola] + - check numeric priority and facility input values [Sami Kerola] + - fail when io vector number exceeds maximum [Sami Kerola] +login: + - extract get_hushlogin_status [Ondrej Oprala] + - fix minor typos in the man page [Ondrej Oprala] +losetup: + - clean up columns[] usage [Karel Zak] + - clean up scols usage [Karel Zak] + - don't clear FD at EBUSY error in loopcxt_setup_device() [Stanislav Brabec] + - don't ignore EBUSY in losetup when the loop device is given [Stanislav Brabec] + - fix -f on systems without /dev/loop-control [Karel Zak] + - remove warning for unsupported -e and -E [Karel Zak] + - return EXIT_FAILURE on unsuccessful -f [Karel Zak] + - tiny change to usage() [Karel Zak] + - use libsmartcols [Ondrej Oprala] + - wait for udev [Karel Zak] +losetup, agetty: + - remove unnecessary if's before free() [Sami Kerola] +losetup, mount: + - remove --pass-fd at all [Karel Zak] +lsblk: + - add --sort [Karel Zak] + - add -O option to show all available columns [Masatake YAMATO] + - add PARTFLAGS column [Karel Zak] + - add PARTTYPE tag [Michael Marineau] + - check number of used columns [Karel Zak] + - clean up data preparation [Karel Zak] + - differentiate between infos[] and columns[] [Karel Zak] + - fix -D segfault [Karel Zak] + - fix, set default sort_id = -1 [Ruediger Meier] + - remove unnecessary code [Karel Zak] + - use libsmartcols [Ondrej Oprala] +lscpu: + - avoid double free [Sami Kerola] + - avoid use of bzero() in favor of memset() [Sami Kerola] + - clean up scols usage [Karel Zak] + - cleanup, use _PATH_SYS_CPU/NODE [Ruediger Meier] + - detect OS/400 and pHyp hypervisors [Ruediger Meier] + - don't abort if cache size is unknown [Ruediger Meier] + - don't assume filesystem supports d_type when searching for NUMA nodes [Stewart Smith] + - fix ifdef HAVE_sys_io_h [checkconfig] [Karel Zak] + - improve vmware detection [Ruediger Meier] + - minor cleanup and improve hypervisor detection [Ruediger Meier] + - read_hypervisor_dmi only fallback to memory scan on x86/x86_64 [Stewart Smith] + - sort NUMA nodes to keep output human readable [Karel Zak] + - support discontinuous NUMA nodes [Karel Zak] + - support non sequentially numbering of CPUs [Alexander Troosh] + - use libsmartcols [Ondrej Oprala] +lslocks: + - clean up columns[] usage [Karel Zak] + - use libsmartcols [Ondrej Oprala] +lslogins: + - NLS for all messages [Karel Zak] + - add --noheadings [Karel Zak] + - add FAILED-LOGIN to pretty output [Karel Zak] + - add functionality [Ondrej Oprala] + - add option --iso [Ondrej Oprala] + - add option --time-format [Ondrej Oprala] + - add readtump.h header [Ondrej Oprala] + - add support for multiple time formats [Ondrej Oprala] + - align to right 0|1 columns [Karel Zak] + - also add readutmp.c [Ondrej Oprala] + - clean up password hash check [Karel Zak] + - cleanup -a output [Karel Zak] + - cleanup default outputs [Karel Zak] + - cleanup fill_table() [Karel Zak] + - cleanup some command line options [Karel Zak] + - cleanup status[] usage [Karel Zak] + - cleanup time formats [Karel Zak] + - cleanup usage() [Karel Zak] + - comment-in an expensive realloc [Ondrej Oprala] + - conding style changes [Karel Zak] + - count per-user processes [Ondrej Oprala] + - fix nologins check [Karel Zak] + - fix option exclusivity [Ondrej Oprala] + - fix pretty-print columns [Karel Zak] + - improve COL_PWD_WARN and COL_NPROCS desc [Karel Zak] + - improve nologins and shadow usage [Karel Zak] + - improve pretty output [Karel Zak] + - improve supplementary groups code, add SUPP-GIDS [Karel Zak] + - improve the columns information [Benno Schulenberg] + - improve wording and formatting of the man page [Benno Schulenberg] + - make --notruncate more robust [Karel Zak] + - make it work [Ondrej Oprala] + - mention --time-format in usage [Ondrej Oprala] + - more robust usage of columns[] [Karel Zak] + - move to login-utils [Ondrej Oprala] + - pretty printing and extended -l,-g [Ondrej Oprala] + - print systemd journal logs [Karel Zak, Ondrej Oprala] + - remove --sort-by-name [Karel Zak] + - store users in a tree [Ondrej Oprala] + - sync man page and usage() [Karel Zak] + - use bit-array, cleanup SELinux code [Karel Zak] + - use thread-safe functions [Ondrej Oprala] +lslogins(1): + - skeleton and argparsing for a new utility [Ondrej Oprala] +man: + - Syntax and spelling fixes. [Ville Skyttä] +mcookie: + - add --max-size option [Sami Kerola] + - allow --file option be defined multiple times [Sami Kerola] + - use control structure, and fix usage() [Sami Kerola] + - use lib/randutils [Sami Kerola] + - use same variable type consistently [Sami Kerola] +mkfs: + - Some typographical changes to the manual [Bjarni Ingi Gislason] + - mark this wrapper as DEPRECATED [Karel Zak] +mkfs.bfs: + - One typographical correction to the manual [Bjarni Ingi Gislason] +mkfs.cramfs: + - Some typographical corrections to the manual [Bjarni Ingi Gislason] + - fix crash when -b 0 [Ruediger Meier] + - use defined failure name rather than magic value [Sami Kerola] +mkfs.minix: + - Some typographical changes in the manual [Bjarni Ingi Gislason] + - fix fscanf() format string [coverity scan] [Karel Zak] +mkswap: + - Some minor typographical corrections to the manual [Bjarni Ingi Gislason] + - fix compiler warning [-Wunused-variable] [Karel Zak] + - remove cruft from the man page [Phillip Susi] + - remove legacy swap structure [Sami Kerola] + - remove unnecessary usage output [Sami Kerola] +mkswap, swaplabel: + - move version number to header [Sami Kerola] +more: + - fix double free crash [Sami Kerola] + - fix mem leak [coverity scan] [Karel Zak] + - improve formatting and wording of man page and help text [Benno Schulenberg] +mount: + - add btrfs to mount.8 [Gui Hecheng] + - add note about "noauto" to --all description [Karel Zak] + - add note about order for -a to the man page [Karel Zak] + - apply "nofail" to MNT_ERR_NOSOURCE libmount error [Karel Zak] + - correct mount man page default iso9660 permission [Phillip Susi] + - fix --all and nofail return code [Karel Zak] + - fix man mount page type [Phillip Susi] + - fix man page [checkmans] [Karel Zak] + - fix tiny typo in man page [Stephan Müller] + - improve -s man mage info [Karel Zak] + - make NAME=value tags usable for non-root [Karel Zak] + - more hints about default mount options to man page [Karel Zak] + - mount.8 Some typographical and prefix corrections to the manual [Bjarni Ingi Gislason] + - mount.8 fix grammar [Phillip Susi] + - note that -c unused for mount. in man page [Karel Zak] + - remove obsolete and confusing statement from mount.8 [Phillip Susi] + - update XFS mount.8 allocsize= [Karel Zak] + - update info about mtab in mount.8 [Karel Zak] + - update man page ext3/4 mount options [Carlos Maiolino] + - update mount.8 about barrier mount options defaults [Ruediger Meier] +namei: + - align missing files with rest of the print out [Sami Kerola] +nologin: + - minor man page improvements [Ondrej Oprala] +nsenter: + - add + to getopt_long() [Karel Zak] + - fix set{gid,uid} order,drop supplementary groups [Karel Zak] +partx: + - Improve the typesetting of the manual [Bjarni Ingi Gislason] + - cleanup libsmartcols usage [Karel Zak] + - fix --update ranges and out of order tables [Scott Moser] + - make dirent d_type usage more robust [Karel Zak] + - use blkid_partlist_get_partition_by_partno() [Karel Zak] + - use libsmartcols [Ondrej Oprala] +pg: + - pg.1 Add -h, --help, -V, --version [Jari Aalto] + - pg.1 Move (plus) options near (minus) option at the beginning [Jari Aalto] +po: + - add '--no-wrap' to msgmerge, to not wrap long message lines [Benno Schulenberg] + - merge changes [Karel Zak] + - update cs.po (from translationproject.org) [Petr Písař] + - update da.po (from translationproject.org) [Joe Hansen] + - update de.po (from translationproject.org) [Mario Blättermann] + - update es.po (from translationproject.org) [Antonio Ceballos Roa] + - update fi.po (from translationproject.org) [Lauri Nurmi] + - update fr.po (from translationproject.org) [David Prévot] + - update ja.po (from translationproject.org) [Takeshi Hamasaki] + - update nl.po (from translationproject.org) [Benno Schulenberg] + - update pl.po (from translationproject.org) [Jakub Bogusz] + - update pt_BR.po (from translationproject.org) [Rafael Ferreira] + - update uk.po (from translationproject.org) [Yuri Chornoivan] + - update vi.po (from translationproject.org) [Trần Ngọc Quân] + - update zh_CN.po (from translationproject.org) [Wylmer Wang] +prlimit: + - clean up columns[] usage [Karel Zak] + - clean up scols usage [Karel Zak] + - remove repeating words from man page [Karel Zak] + - use libsmartcols [Ondrej Oprala] +pylibmount: + - correctly import from pylibmount.so [Dave Reisner] + - import directly from pylibmount in tests [Karel Zak] + - remove unncessary subdirectory [Karel Zak] +raw: + - Improve the typesetting of the manual [Bjarni Ingi Gislason] +rename: + - fix mem leak [coverity scan] [Karel Zak] + - remove reference to mmv gtom man page [Karel Zak] +renice: + - correct max priority in renice man page [Phillip Susi] +runuser: + - fix minor typos in the man page [Ondrej Oprala] +script: + - --quiet option is not quiet. [James Hunt] + - Also flush writes to timing file. [Jesper Dahl Nyerup] + - check that stdin is a terminal [Karel Zak] + - clean up code to genenrate Star/Done messages [Karel Zak] + - clean up files usage [Karel Zak] + - don't call TIOCGWINSZ in signal handler [Karel Zak] + - don't wait for empty descriptors if child is dead [Karel Zak] + - fix a rare deadlock after child termination [Csaba Kos] + - fix inconsistent -q, use poll() rather then O_NONBLOCK [Karel Zak] + - fix spurious exit from input read loop on EINTR. [Csaba Kos] + - restore errno in signal handler [Karel Zak] + - script input redirection / eof handling [Karel Zak] + - silence the done message on --quiet as well [Andreas Henriksson] + - time from end of read() call partially fixes #58 [Wolfgang Richter] + - use all-io.h to make the code more robust [Karel Zak] +scriptreplay: + - Add --maxdelay option. [Jesper Dahl Nyerup] + - no need to skip first time value or last bytes fixes #58 [Wolfgang Richter] +setarch: + - Fix ppc64le architectures [Anton Blanchard] + - add generic support for setarch $(uname -m) ... [Ruediger Meier] + - add shortcut binary uname26 [Ruediger Meier] + - flush output streams before exec [Ruediger Meier] +setpriv: + - Fix --apparmor-profile [Andy Lutomirski] + - Fix --selinux-label [Andy Lutomirski] + - avoid alloca() use xmalloc() instead [Sami Kerola] + - simplify usage() [Karel Zak] +setterm: + - add init_terminal() to make main() shorter [Sami Kerola] + - add option control structure [Sami Kerola] + - add set_blanking() action [Sami Kerola] + - add usage() descriptions [Sami Kerola] + - clean up includes [Sami Kerola] + - clean up screendump() [Sami Kerola] + - cleanup printf() usage [Karel Zak] + - convert remaining magic values to symbolic references [Sami Kerola] + - convert various constant number definitions to enums [Sami Kerola] + - correct usage() bright color argument [Sami Kerola] + - fix 'bright' in usage, remove unnecessary error message [Karel Zak] + - fix -dump man page info [Karel Zak] + - improve error messages [Sami Kerola] + - improve formatting and wording of usage text [Benno Schulenberg] + - improve perform_sequence() coding style [Sami Kerola] + - improve wording and formatting of the man page [Benno Schulenberg] + - make -msglevel 0 to work as is did earlier [Sami Kerola] + - mark some options to be exclusive with each other [Sami Kerola] + - move show_tabs() and screendump() functions [Sami Kerola] + - recommend long options with double hyphen [Sami Kerola] + - remove devfs and /dev/vcsa0 support [Sami Kerola] + - remove ulcolor and hbcolor duplicates [Sami Kerola] + - remove unnecessary variable [Sami Kerola] + - remove unused code [Sami Kerola] + - remove usage comment segment [Sami Kerola] + - tell user when options does not effect [Sami Kerola] + - use getopt_long_only() for option parsing [Sami Kerola] + - use string utils to numeric parsing [Sami Kerola] + - various visual terminal effects are not console specific [Sami Kerola] +sfdisk: + - Improve the typesetting of the manual [Bjarni Ingi Gislason] + - merge partname.c [Karel Zak] + - suppress Linux-irrelevant warnings with -L [Petr Uzel] + - use sysfs_devno_is_wholedisk() [Karel Zak] +strutils: + - add skip_space() function [Ondrej Oprala] +su: + - don't use kill(0, ...) when propagate signal [Karel Zak] + - fix minor typos in the man page [Ondrej Oprala] +sulogin: + - check result of the open() [coverity scan] [Karel Zak] + - don't use uninitialized struct sigaction [coverity scan] [Karel Zak] + - find a suitable console device [Werner Fink] + - minor man page improvements [Ondrej Oprala] + - use dirent->d_type when scans /dev [Karel Zak] +swaplabel: + - Improve the typesetting of the manual [Bjarni Ingi Gislason] + - wrong version number in check [Sami Kerola] +swapon: + - align --summary fields [Sami Kerola] + - clean up columns[] usage [Karel Zak] + - clean up scols usage [Karel Zak] + - mark --sumarry as deprecated [Karel Zak] + - swaps with legacy version label are not supported [Sami Kerola] + - use libsmartcols [Ondrej Oprala] +swapon, swapheader, mkswap: + - move swap signature to header [Sami Kerola] +switch_root: + - make dirent d_type usage more robust [Karel Zak] + - verify initramfs by f_type, not devno [Dave Reisner] +taskset: + - fix PERMISSIONS section of taskset man page [Rik van Riel] +term-utils: + - avoid error message string length couting errors [Sami Kerola] +tests: + - add .BE hexdump test results (from s390) [Karel Zak] + - add TERM= to all cal(1) tests [Karel Zak] + - add basic test case for ipcs -m -i n [Ruediger Meier] + - add basic test case for ipcs -q -i n [Ruediger Meier] + - add basic test case for ipcs -s -i n [Ruediger Meier] + - add exit case "KNOWN FAILED" [Ruediger Meier] + - add fdisk 'f' command MBR test [Karel Zak] + - add function ts_check_losetup [Ruediger Meier] + - add function ts_check_prog [Ruediger Meier] + - add isosize --sectors and --divisor tests [Sami Kerola] + - add kill --queue check [Sami Kerola] + - add kill_functions.sh to avoid duplicate code [Karel Zak] + - add lscpu IBM pSeries test data [Ruediger Meier] + - add lscpu dump for ppc cpu with no cache size [Ruediger Meier] + - add partx --update test [Karel Zak] + - add signal receiver program [Sami Kerola] + - add sparc64 lscpu test [Karel Zak] + - add test case for last -time-format=full [Ruediger Meier] + - add utmpdump-circle test (arch independent) [Ruediger Meier] + - add vbox lscpu dump [Ruediger Meier] + - align last.1 with recent phantom detection [Sami Kerola] + - allow test options to be overridden by env [Ruediger Meier] + - allow to add or override test suite options [Ruediger Meier] + - avoid executing dirname(1) command [Sami Kerola] + - cal do not let --week= to adjust requested month [Sami Kerola] + - cal take account week numbers when determing month length [Sami Kerola] + - cal(1) is year is limited to signed 32 bit value [Sami Kerola] + - call ts_init_env as early as possible [Ruediger Meier] + - check /proc availability, and go-around if it is incomplete [Sami Kerola] + - check commands needed for running a test exist [Sami Kerola] + - check for mkfs.ext{2,3,4} [Ruediger Meier] + - check kill all user processes [Sami Kerola] + - check kill is converting signals names correctly [Sami Kerola] + - check kill print pid option [Sami Kerola] + - check swaplabel, and perform more swapon boundary tests [Sami Kerola] + - check various ways to specify kill signal [Sami Kerola] + - cleanup fallocate [Karel Zak] + - cleanup ts_scsi_debug_init [Ruediger Meier] + - cleanup, remove unused lscpu output [Ruediger Meier] + - consolidate some checks for commands [Ruediger Meier] + - fdisk added a partitions order message (8b60872e) [Ruediger Meier] + - fdisk now prints SGI system partitions too [Karel Zak] + - fix "KNOWN FAILED" for subtests [Ruediger Meier] + - fix fdisk GPT test [Ruediger Meier] + - fix fdisk/bsd for big endian systems [Ruediger Meier] + - fix fsck.cramfs for systems with certain page sizes [Ruediger Meier] + - fix hexdump for big endian [Ruediger Meier] + - fix hexdump, add ts_finalize [Ruediger Meier] + - fix kill problems [Ruediger Meier] + - fix last for bigendian [Ruediger Meier] + - fix python tests for dist and out-of-tree builds [Ruediger Meier] + - fix trailing spaces in cal(1) stuff [Karel Zak] + - fix utmpdump/ipv6tobin for bigendian [Ruediger Meier] + - fix utmpdump/ipv6totxt for bigendian [Ruediger Meier] + - fix utmpdump/to-binary for bigendian [Ruediger Meier] + - fix utmpdump/to-text for bigendian [Ruediger Meier] + - fix var names [Ruediger Meier] + - fix, typo schedutils/cpuset [Ruediger Meier] + - getting paraller_jobs more robust [Ruediger Meier] + - ignore deprecated last [Ruediger Meier] + - introduce TS_CMD_UUIDGEN (never use installed one) [Ruediger Meier] + - ipcs/limits2 is known to fail [Ruediger Meier] + - kill_functions.sh needs gawk (skip if sourced) [Ruediger Meier] + - last skip when last is not enabled [Mike Frysinger] + - libmount skip tabfiles-py when pylibmount is disabled [Mike Frysinger] + - make tests to run parallel [Sami Kerola] + - merge last/ and utmpdump/ into new utmp/ dir [Ruediger Meier] + - provide missing test data for "last" on exotic archs [Ruediger Meier] + - quote generated arguments for ipcrm [Ruediger Meier] + - refresh fdisk outputs [Karel Zak] + - rely on ts_init_py only [Karel Zak] + - remove deprecated mount tests [Ruediger Meier] + - remove test_fsck.cramfs (reverts 6c32ae78) [Ruediger Meier] + - remove test_wholedisk [Karel Zak] + - return error if failures file not usable [Ruediger Meier] + - rewrite hwclock test [Ruediger Meier] + - run tests in deterministic order [Ruediger Meier] + - script/race would work with variable loop count [Ruediger Meier] + - skip some last tests if no dns support [Ruediger Meier] + - skip umount-alltargets on regular mtab [Karel Zak] + - skip utmpdump tests for exotic archs [Ruediger Meier] + - some more tests need loop support [Ruediger Meier] + - split last into dns and nodns subtests [Ruediger Meier] + - split off losetup scsi_debug part [Ruediger Meier] + - style Makefile and make output [Ruediger Meier] + - swaplabel needs to respect pagesize [Ruediger Meier] + - test corruted GPT headers [Karel Zak] + - try hard to create swaplabel's test image [Ruediger Meier] + - ts_device_init remove useless error handling [Ruediger Meier] + - ts_device_init requires loop support [Ruediger Meier] + - ts_mount knows which fs is expected [Ruediger Meier] + - ts_mount validates error message [Ruediger Meier] + - ts_scsi_debug_init must not run in a subshell [Ruediger Meier] + - ts_scsi_debug_init skip instead of die [Ruediger Meier] + - update Py parse mountinfo test [Karel Zak] + - update blkid swap tests [Karel Zak] + - update build tests [Karel Zak] + - update build-sys tests [Karel Zak] + - update fdisk MBR and SUN tests [Karel Zak] + - update fdisk sun test [Karel Zak] + - update ionice test [Karel Zak] + - update libmount tabdiff tests [Karel Zak] + - update lscpu tests [Karel Zak] + - update partx sgi test [Karel Zak] + - use ts_check_losetup in losetup test [Ruediger Meier] + - use ts_mount for cramfs [Ruediger Meier] + - write tests/failures to build- instead of srcdir [Ruediger Meier] +textual: + - fix some typos [Sami Kerola] + - fix the usage message of kill [Benno Schulenberg] + - remove square brackets from around three dots [Benno Schulenberg] + - slice up and standardize the usage text of ionice [Benno Schulenberg] + - small inprovements to usage and man page of fstrim [Benno Schulenberg] +tools: + - add usage information to checkconfig.sh [Sami Kerola] + - make config-gen to require build target argument [Sami Kerola] +travis-ci: + - abort if make check fails [Ruediger Meier] + - enable more features and update gettext [Ruediger Meier] + - enable root checks [Ruediger Meier] + - import travis yaml controller [Ruediger Meier] + - minor cleanup and speedup [Ruediger Meier] + - refactor and add .travis-functions.sh [Ruediger Meier] +umount: + - Make sure exit code does not overflow [Nicolas Boichat] + - add info that --all-targets works with mtab symlink only [Karel Zak] + - don't use mountinfo if possible [Karel Zak] + - fix memory leak [coverity scan] [Karel Zak] + - fix typo in usage [Jonathan Liu] + - fix umount by tag for non-roots [Karel Zak] + - more robust success message for --all [Karel Zak] + - slightly improve the man page [Benno Schulenberg] +unshare: + - Add possibility to add mapping into root user in user namespace [Lubomir Rintel] + - add + to getopt_long() [Karel Zak] + - add more hints about mount namespaces to the man page [Karel Zak] + - include libmount.h to provide missing MS_* defines [Ruediger Meier] +utmpdump: + - fix localtime() error handling [Ruediger Meier] + - minor man page improvements [Ondrej Oprala] +uuidd: + - do not mix signed type and unsigned code [Sami Kerola] + - ensure pid file is wrote when it is requested [Sami Kerola] + - remove timeout from systemd service file [Karel Zak] + - set options to be mutually exclusive [Sami Kerola] + - use pkg-config to find systemd-deamon support [Sami Kerola] +uuidd.rc: + - Requires remote_fs [Andreas Henriksson] + - drop on-demand mode from script [Andreas Henriksson] +uuidgen: + - use type definitions from uuid.h [Sami Kerola] +vipw: + - minor man page improvements [Ondrej Oprala] +wall: + - add fallback for failed sysconf() [Karel Zak] + - replace magic number by named value [Sami Kerola] +wdctl: + - clean up columns[] usage [Karel Zak] + - clean up scols usage [Karel Zak] + - use libsmartcols [Ondrej Oprala] +whereis: + - avoid printing uninitialized string [Sami Kerola] + - fix missing newline on empty results [Andreas Henriksson] +wipefs: + - add comments to code [Karel Zak] + - call BLKRRPART when erase partition table [Karel Zak] + - don't erase nested partition tables by default [Karel Zak] diff --git a/Documentation/releases/v2.26-ReleaseNotes b/Documentation/releases/v2.26-ReleaseNotes new file mode 100644 index 0000000..abaca0f --- /dev/null +++ b/Documentation/releases/v2.26-ReleaseNotes @@ -0,0 +1,1042 @@ +Util-linux 2.26 Release Notes +============================= + + This version provides a completely new sfdisk(8) command; the new version is + based on libfdisk. If your use cases depend on sfdisk(8), then it is strongly + recommended to be careful and re-test your scripts. The new version supports + MBR and GPT disk labels (SGI and SUN are also supported but not well tested). + The new version no longer supports some obscure MBR-specific command-line + options nor legacy CHS addressing. + + + The library libblkid (and blkid(8) on the command line) now uses the same UDF + fields as Windows and other operating systems in order to get human-readable + UDF volume identifiers (LABEL= tag). This change may be backwardly incompatible + for some UDF volumes. + + + The command hwclock(8) uses the drift correction for all relevant operations + and it is unnecessary to specify --adjust on the hwclock command line now. + + The command hwclock(8) does not automatically (re)calculate the drift factor on + --systohc to avoid several problems (ntpd with '11 minute mode', for example), + but the new command-line option --update-drift has to be explicitly used to + force hwclock(8) to update /etc/adjtime. + + For more details see the hwclock(8) man page. + + +Release highlights +------------------ + +zramctl(8): + - this NEW COMMAND allows to control /dev/zramN devices + +agetty(8): + - supports new option --reload to force already running agetty processes to + reprint the /etc/issue file + +cfdisk(8), sfdisk(8) and fdisk(8): + - support sfdisk-compatible scripts; it's possible to save your partitioning + layout to text files and (re)use it in all fdisks + +fdisk(8), sfdisk(8): + - support new command-line option "--output " to specify output columns + for --list or print commands + +nsenter(1): + - has been updated to work with the latest kernel changes in user namespaces + - supports new command-line option --preserve-credentials + +unshare(1): + - has been updated to work with the latest kernel changes in user namespaces + - supports new command-line option "--setgroups=" + +swapon(8): + - supports new command-line option "-o " with the same semantics as + -o for mount(8); it's now possible to specify swap options on the command + line by the same string as in fstab + +fdformat(8): + - supports new command-line options --from and --to to specify tracks and + --repair for broken floppies + +getopt(1): + - has been updated to the latest version (originally maintained outside of + util-linux) and refactored + +ldattach(8): + - has been improved to support GSM0710 and intro modem commands + +logger(1): + - supports new command-line option --id= to specify PID (or another ID) + - allows to specify --rfc3164 or --rfc5424 syslog protocols + +libfdisk: + - the library is distributed as a shared library with a stable API and a + standard header file + +libmount: + - provides a new simple API to monitor mount-table changes (including + changes in userspace mount options) + + +The debug infrastructure in the libraries libmount, libsmartcolsm, libfdisk and +libblkid allows to specify debug options by human-readable strings too. For +example "LIBMOUNT_DEBUG=all mount /mnt". + + +Stable maintenance releases between v2.25 and v2.26 +--------------------------------------------------- + +util-linux 2.25.1 [Sep 3 2014] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.25/v2.25.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.25/v2.25.1-ChangeLog + +util-linux 2.25.2 [Oct 24 2014] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.25/v2.25.2-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.25/v2.25.2-ChangeLog + + +Changes between v2.25 and v2.26 +------------------------------- + + For more details see ChangeLog files at: + https://www.kernel.org/pub/linux/utils/util-linux/v2.26/ + +agetty: + - Reprompt and reprint /etc/issue when asked [Stef Walter] + - don't ignore TERM [Karel Zak] + - fix typo [Karel Zak] + - fixing FTBFS on !linux (Debian util-linux 2.20.1-1.2) [Christoph Egger] + - keep the current baud before try 9600 on serial lines [Karel Zak] + - use futimens, check for all in configure.ac [Karel Zak] + - always set default serial line speed [Karel Zak] +bash-completion: + - Invoke actual commands to be completed, not basenames [Ville Skyttä] + - fix runuser install [Mike Frysinger] + - stop being clever when listing block devices [Sami Kerola] + - use swapon label and uuid listing support [Sami Kerola] +blkdiscard: + - add support for steps and progress [Federico Simoncelli] + - fail on sector misalignment [Federico Simoncelli] + - fix compiler warning [Karel Zak] + - fix err->errx() [Karel Zak] + - fix includes [Karel Zak] + - fix underflow when offset is greater than device size [Raphael S. Carvalho] + - update man page [Karel Zak] +blkid: + - add hint about lsblk to the man page [Karel Zak] + - remove extra trailing spaces in output [Karel Zak] +blockdev: + - check return when read from sysfs [coverity scan] [Karel Zak] +build: + - fix printf warnings for icc (-Wformat-security) [Ruediger Meier] +build-sys: + - add -Wimplicit-function-declaration to compiler warnings [Karel Zak] + - add fdisk.pc [Karel Zak] + - add fdiskP.h to sources [Karel Zak] + - add hint about 'make' [Karel Zak] + - add sfdisk.static [Karel Zak] + - avoid icc warnings "ignoring unknown option" [Ruediger Meier] + - build libmount everywhere [Andreas Henriksson] + - check for libtoolize rather than libtool [Helmut Grohne] + - cleanup in libmount Makemodule [Karel Zak] + - cleanup library symbol files [Karel Zak] + - create a regular shared libfdisk.so [Karel Zak] + - create parent directory for $(PATHFILES) [Michael Marineau] + - fix UL_SCANF_TYPE_MODIFIER for icc [Ruediger Meier] + - fix double prefix with explict --libdir [Christoph Junghans] + - fix make checkincludes warnings [Sami Kerola] + - fix switch_root/pivot_root cut-n-paste error in configure.ac [Andreas Henriksson] + - free() needs stdlib.h [Ruediger Meier] + - hwclock requires -lm [Cristian Rodríguez] + - improve wording and punctuation of several messages [Benno Schulenberg] + - make scanf_cv_alloc_modifier to work [LeakSanitizer] [Sami Kerola] + - move all around clock_gettime() to monotonic.c [Karel Zak] + - old glibc requires -lrt clock_gettime() [Karel Zak] + - properly check for -lrt [Karel Zak] + - release++ (v2.26-rc1) [Karel Zak] + - release++ (v2.26-rc2) [Karel Zak] + - remove swap-common.h from sys-utils/Makemodule.am [Sami Kerola] + - support nsenter.static [Karel Zak] + - use -lutil for BSD only [Karel Zak] + - use CLOCKGETTIME_LIBS [Karel Zak] +cal: + - `color` option documentation should match actual behaviour [Eugene Yunak] + - fix signed integer overflow [AddressSanitizer] [Sami Kerola] + - use int64_t instead of long [Ruediger Meier] +cfdisk: + - actually translate the table headers and the bottom line [Benno Schulenberg] + - add libfdisk independent debug stuff [Karel Zak] + - add support for sfdisk scripts [Karel Zak] + - also recognize a lowercase 'l' for loading a script file [Benno Schulenberg] + - cleanup menuitem draw functions [Karel Zak] + - default to Quit menu item [Karel Zak] + - detect too small partition sizes [Karel Zak] + - disable some KEY_* in ui_get_wqstring() [Karel Zak] + - do not startle the user with a false message when --zero is used [Benno Schulenberg] + - don't mess up the help screen by printing the PO file header [Benno Schulenberg] + - don't modify ncurses LINES and COLS [Karel Zak] + - fix mem leak and main_menu_action() logic [coverity scan] [Karel Zak] + - fix typo in the previous commit [Karel Zak] + - force main menu to default to Quit/New menu items [Karel Zak] + - improve Dump dialog [Karel Zak] + - improve create-label UI [Karel Zak] + - improve menu clean function [Karel Zak] + - improve ui_get_size() warnings [Karel Zak] + - improve wording and consistency of the size warnings [Benno Schulenberg] + - make '?' an alias of 'h', to also show the help screen [Benno Schulenberg] + - move curs_set(1) to ui_end() [Karel Zak] + - print "wrong order" warning after startup, colorize info messages [Karel Zak] + - punctuate the bottombar messages consistently [Benno Schulenberg] + - reenable cursor when quitting [Andreas Henriksson] + - remove [Load] from menu [Karel Zak] + - remove the mistaken B from the explanation of size suffixes [Benno Schulenberg] + - shorten the help screen to make it fit within 25 lines [Benno Schulenberg] + - use only public libfdisk API [Karel Zak] + - wrong interpretation of yes in non-english language [Karel Zak] +chfn: + - add minimalistic struct chfn_control [Sami Kerola] + - clean up parse_argv() [Sami Kerola] + - fix compilation without libuser [Karel Zak] + - fix usage() regression [Sami Kerola] + - make command to obey login.defs CHFN_RESTRICT instructions [Sami Kerola] + - move new and old finger structs to chfn control struct [Sami Kerola] + - remove function prototypes [Sami Kerola] + - remove set_changed_data() and add add_missing() [Sami Kerola] + - rename prompt() to ask_new_field() [Sami Kerola] + - rewrite prompt() to use strutils [Sami Kerola] + - simplify parse_passwd() by using strsep() [Sami Kerola] + - use xasprintf() rather than bunch of strlen() and malloc() calls [Sami Kerola] +chfn, chsh: + - share illegal_passwd_chars() function [Sami Kerola] +chrt: + - add note about zero priority for IDLE and BATCH [Karel Zak] +chsh: + - allow user to set shell to /bin/sh if none is set [Sami Kerola] + - clean up parse_argv() [Sami Kerola] + - fail get_shell_list() check when /etc/shells cannot be opened [Sami Kerola] + - keep struct options in .rodata [Karel Zak] + - remove function prototypes [Sami Kerola] + - rewrite function interacting with user to get path to new shell [Sami Kerola] + - set few variables read-only and rename one of them [Sami Kerola] + - simplify check_shell() [Sami Kerola] + - simplify get_shell_list() [Karel Zak] + - use getline() to support arbitrarily long lines [Sami Kerola] +colcrt: + - slice up the usage text for ease of translation [Benno Schulenberg] +dmesg: + - Enable proper indent for messages containing line breaks [Ingo Brückl] + - improve reltime colors [Karel Zak] +docs: + - Spelling fixes [Ville Skyttä] + - add TODO entry for libblkid [Karel Zak] + - add cfdisk auto-sort to TODO file [Karel Zak] + - add howto-pull-request.txt [Sami Kerola] + - add info about *_DEBUG= to man pages [Karel Zak] + - add logger protocol notes to manual page [Sami Kerola] + - add new cfdisk request to TODO file [Karel Zak] + - add swapon -o to TODO file [Karel Zak] + - add the Sort command to the man page of cfdisk [Benno Schulenberg] + - adjust some formatting and wordings in a handful of man pages [Benno Schulenberg] + - adjust the grammar, text, sorting and formatting of logger man page [Benno Schulenberg] + - bring the chrt and taskset man pages closer to standard formatting [Benno Schulenberg] + - bring the rtcwake man page closer to standard formatting [Benno Schulenberg] + - bring the runuser and su man pages closer to standard formatting [Benno Schulenberg] + - don't use bold or italics for "[option]" in synopsis of man pages [Benno Schulenberg] + - fix grammar and punctuation and typos in 2.26 release notes [Benno Schulenberg] + - fix inconsistencies in man pages [Steven Honeyman] + - fix some things that were overlooked during the first pass [Benno Schulenberg] + - fix some wording and formatting in man page of swapon [Benno Schulenberg] + - fix some wording, grammar and formatting in man page of swapon [Benno Schulenberg] + - fix the grammar and formatting in the man page of sfdisk [Benno Schulenberg] + - fix the grammar of the recent comment about comments [Benno Schulenberg] + - fix the link to the rc1 changelog [Benno Schulenberg] + - fix two "maybe be" duplications in program comments [Benno Schulenberg] + - fix two paths of the v2.20-ReleaseNotes [Benno Schulenberg] + - fix two spellings in man page of logger [Benno Schulenberg] + - fix typos [Karel Zak] + - fix-up man-pages flagged by checkmans.sh [J William Piggott] + - give the man page of utmpdump the proper User Commands header [Benno Schulenberg] + - improve some wordings in the man page of mount [Benno Schulenberg] + - improve some wordings on the man page of wipefs [Benno Schulenberg] + - improve the description of --size in the man page of zramctl [Benno Schulenberg] + - improve the formatting of the chfn and chsh man pages [Benno Schulenberg] + - improve the grammar of the "see the changelog" phrase [Benno Schulenberg] + - improve the sorting of the options in the man page of getopt [Benno Schulenberg] + - improve the wording and formatting of the zramctl man page [Benno Schulenberg] + - make logger.1 facilities and levels easier to read [Sami Kerola] + - make the man-page licenses of chrt and taskset match their intent [Benno Schulenberg] + - make the wording of the partx man page a bit more precise [Benno Schulenberg] + - make tools/checkmans.sh to pass without warnings [Sami Kerola] + - mentintion default udp and tcp ports logger is using [Sami Kerola] + - mention nice(1) in renice(1) manual page [Sami Kerola] + - mention that setarch may not be able to set all listed architectures [Benno Schulenberg] + - remove all mention of helper= and uhelper= from umount man page [Benno Schulenberg] + - remove obsolete READMEs for (s)fdisk [Karel Zak] + - remove obsolete and unneeded comments from man-page files [Benno Schulenberg] + - restore minus symbols in long opts [J William Piggott] + - restore the alternative form of setarch in its man page [Benno Schulenberg] + - restore the mention of uhelper= and helper= in man page of umount [Benno Schulenberg] + - retrofit the dates on some old release announcements [Benno Schulenberg] + - small improvements to howto-contribute.txt [Sami Kerola] + - sort the options in the man page of sfdisk alphabetically [Benno Schulenberg] + - sort the options in the man pages of hwclock and uuidd [Benno Schulenberg] + - spelling, wording, and grammar fixes in the man page of whereis [Benno Schulenberg] + - sync the docstring of addpart, delpart and resizepart to the man page [Benno Schulenberg] + - update API docs years [Karel Zak] + - update AUTHORS file [Karel Zak] + - update TODO [Karel Zak] + - update TODO file [Karel Zak] + - update deprecation banners [Sami Kerola] + - update info about env debug variables [Karel Zak] + - update v2.26-ReleaseNotes [Karel Zak] +eject: + - add struct eject_control to remove global variables [Sami Kerola] + - add verbosity to cdrom door lock error [Sami Kerola] + - make open_device() and select_speed() to use struct eject_control [Sami Kerola] + - move unreachable code to preprocessor #else block [smatch scan] [Sami Kerola] + - use sysfs API to detect hotplug [Karel Zak] +fallocate: + - create mode 0666, that's what umask is for [Karel Zak] +fdformat: + - Add new switches -f/--from, -t/--to, -r/--repair [Jaromir Capik] + - clean up usage() [Karel Zak] + - fixing copy'n'paste issue in the manual [Jaromir Capik] +fdisk: + - (sgi) fix unsigned integer overflow [AddressSanitizer] [Sami Kerola] + - add --output for print command(s) [Karel Zak] + - add --output to usage() [Karel Zak] + - add independent debug stuff [Karel Zak] + - add section about sizes to the man page [Karel Zak] + - add support for sfdisk scripts [Karel Zak] + - always print warning for mis-aligned partitions [Karel Zak] + - check return and robust label usage [coverity scan] [Karel Zak] + - fix -l [] [Karel Zak] + - fix and improve -l warnings [Karel Zak] + - fix typo [Karel Zak] + - improve --list output [Karel Zak] + - missing break in switch [Boris Egorov] + - move --list functionality to separated file [Karel Zak] + - refactor /proc/partitions usage [Karel Zak] + - reset cached output fields when change disk label [Karel Zak] + - update tests and clean up output [Karel Zak] + - use libfdisk public API only [Karel Zak] +findmnt: + - document --uniq option in man page [Bernhard Voelker] + - don't parse mountinfo twice [Karel Zak] + - fix mem leaks [coverity scan] [Karel Zak] +flock: + - add error message to translations [Sami Kerola] + - zero timeout is valid [Karel Zak] +fsck: + - deallocate when no cache [coverity scan] [Karel Zak] + - fix compiler warning [-Wlogical-not-parentheses] [Karel Zak] + - use monotonic time to fsck run time measurement [Sami Kerola] +fsck.minix: + - fix segmentation fault [Sami Kerola] +fstrim: + - initialize path variable [Sami Kerola] +getopt: + - add struct getopt_control and remove global variables [Sami Kerola] + - avoid re-terminating long_option list at every update [Sami Kerola] + - change --shell argument parsing function [Sami Kerola] + - cleanup add_log_options() [Karel Zak] + - fix compiler warning [Karel Zak] + - make nonoptions optstring comment correct [Sami Kerola] + - make normalize() print strings [Sami Kerola] + - prefer switch-case rather than long if statement [Sami Kerola] + - remove function prototypes [Sami Kerola] + - remove unnecessary code [Sami Kerola] + - rename function to keep code readable [Karel Zak] + - sync with 1.1.6 release [Sami Kerola] + - use xstrdup rather than malloc + strcpy [Sami Kerola] +hexdump: + - Fix parse format of "byte count without repetition count" [HUANG Wei] + - remove deprecation message [Sami Kerola] + - use 'll' format modifier instead of the non-standard 'q'. [Natanael Copa] +hwclock: + - Add --update-drift option [J William Piggott] + - Add --update-drift option MAN [J William Piggott] + - Add ntptime reference to man-page [J William Piggott] + - Incorrect UTC defaults [JWP] + - Reduce drift factor update period [J William Piggott] + - add checking kernel vars to man-page [J William Piggott] + - add notes about default behavior changes [Karel Zak] + - adjust wording of v2.26 notes [J William Piggott] + - check for permissions before use clock interface [Karel Zak] + - cleanup man and usage() [Karel Zak] + - don't check CMOS automatically on x86_64 [Karel Zak] + - enable --directisa for x86_64 [JWP] + - exclude also i386 from CMOS auto-probing [Karel Zak] + - fix superfluous 'if' statement and typo [J William Piggott] + - hctosys drift compensation II [J William Piggott] + - hctosys drift compensation II COMMENTS [J William Piggott] + - hctosys drift compensation II MAN [J William Piggott] + - improve man-page language [J William Piggott] + - improve wording and formatting of man page [Benno Schulenberg] + - man page 'Since v2.26' notes [JWP] + - man regression [JWP] + - man-page errata [J William Piggott] + - persistent_clock_is_local [J William Piggott] + - persistent_clock_is_local MAN [J William Piggott] + - remove automatic ISA fallback [J William Piggott] + - remove referral to deprecated keyboard interface [Sami Kerola] + - update man page for v2.26 rc [JWP] + - update man-page for directisa change [J William Piggott] + - use fabs() instead abs() when argument is double [Sami Kerola] + - use pluralized translations. [Lauri Nurmi] +ibfdisk: + - (gpt) allow to maximize partition [Karel Zak] +include: + - fix compiler warnings [Sami Kerola] + - simplify fputc_careful() in carefulputc.h [Sami Kerola] +include/c: + - define UL_ASAN_BLACKLIST address_sanitizer function attribute [Sami Kerola] +include/carefulputc: + - encode also ' and $ in fputs_quoted() output [Karel Zak] +include/debug: + - allow to speficy empty masknames [Karel Zak] + - cleanup masks [Karel Zak] + - fix typo [Karel Zak] + - improve and cleanup [Karel Zak] + - make masknames optional [Karel Zak] + - remove duplicate 'const' declaration warning [Sami Kerola] +include/optutils: + - fix typo [Karel Zak] +include/statfs_magic: + - use macro rather than type for f_type [Karel Zak] +ionice: + - drop the duplicate docstring [Benno Schulenberg] +ipc*: + - use customary fputs() instead of fprintf() with the usage macros [Benno Schulenberg] +ipcrm: + - add hacks to avoid FTBFS [Andreas Henriksson] + - fix usage [Karel Zak] + - gettextize the command synopsis of the usage text [Benno Schulenberg] +ipcs: + - fix shmctl() usage [Karel Zak] + - fix two data type errors [AddressSanitizer] [Sami Kerola] + - in usage show resource option as nonoptional when used with -i [Benno Schulenberg] + - remaining kFreeBSD hackery for building. [Aurelien Jarno] + - remove FIXME markup [Sami Kerola] +last: + - improve code readability by renaming variable names [Sami Kerola] + - make is_phantom() when kernel config does not include audit support [Sami Kerola] +ldattach: + - GSM0710 support, add intro modem command [Karel Zak] + - add fallback for N_GSM0710 [Karel Zak] +lib: + - fix crc32 and crc64 integer overflows [AddressSanitizer] [Sami Kerola] + - remove xgetpass() [Sami Kerola] +lib/blkdev: + - report correct disk size on GNU/kFreeBSD. Thanks Tuco. [Robert Millan] +lib/colors: + - add function to return color from scheme [Karel Zak] + - fix double free on error path [Andreas Henriksson] + - use static buffers when parse scheme [Karel Zak] +lib/ismounted: + - make it more compatible with lsblk output [Karel Zak] +lib/loopdev: + - remove test program [Karel Zak] + - replace custom DBG() with include/debug.h [Karel Zak] +lib/mbalign: + - fix unsigned integer overflow [AddressSanitizer] [Sami Kerola] +lib/strutils: + - accept not just 'B' but also lowercase 'b' in a size suffix [Benno Schulenberg] +lib/swapprober: + - add missing header file [Karel Zak] +lib/sysfs: + - add subsystem and hotplug detection [Karel Zak] + - allow to write to sysfs attributes [Karel Zak] + - use ssize_t for sysfs_readlink() [coverity scan] [Karel Zak] +libblkid: + - (bcache) fix keys usage [Karel Zak] + - (gpt) fix PT offset [Karel Zak] + - (gpt) use real sector size to set PTMAGIC_OFFSET [Karel Zak] + - (hfs) avoid overflow [coverity scan] [Karel Zak] + - (nilfs) fix typo [Boris Egorov] + - assume strtoull() is available [Sami Kerola] + - care about unsafe chars in cache [Karel Zak] + - clean up debug, add "help" debug mask [Karel Zak] + - fix compiler warnings [-Wpointer-sign] [Karel Zak] + - fix macro redefinition [coverity scan] [Karel Zak] + - fix potential bufer overflows [Sebastian Krahmer] + - improve MBR vs. FAT + boot sector detection [Karel Zak] + - move string trim function to strutils.h [Karel Zak] + - set SBMAGIC for nilfs2 [Karel Zak] + - superblocks Add function blkid_probe_set_utf8_id_label for setting utf8 id label [Pali Rohár] + - udf Fix reading LABEL, add support for UUID and other udf identifiers [Pali Rohár] + - zeroize errno on blkid_probe_get_buffer() success [Karel Zak] +libfdisk: + - (bsd) add set_part() API [Karel Zak] + - (docs) fix typo [Karel Zak] + - (dos) allow to maximize partition [Karel Zak] + - (dos) be sure that sorted EBR list is terminated [Karel Zak] + - (dos) delete also logical with extended [Karel Zak] + - (dos) don't inform about logical partition [Karel Zak] + - (dos) fix N-1 error for partition size [Karel Zak] + - (dos) fix booable flag usage [Karel Zak] + - (dos) fix logical partitions add/delete code [Karel Zak] + - (dos) fix logical partitions errors handling [Karel Zak] + - (dos) fix typo [Karel Zak] + - (dos) follow bootable setting when add partition [Karel Zak] + - (dos) follow explicit sizes [Karel Zak] + - (dos) implement fdisk_set_partition() backend [Karel Zak] + - (dos) make a helpful message fit within 80 characters [Benno Schulenberg] + - (dos) more carefully check for primary partitions [Karel Zak] + - (dos) reset logical partition stuff after error [Karel Zak] + - (dos) set partition start/size only when requested [Karel Zak] + - (dos) use script label-id [Karel Zak] + - (dos) write new empty label too [Karel Zak] + - (gpt) add Microsoft Storage Spaces GUID [Sergei Antonov] + - (gpt) allow to specify attr bit by API [Karel Zak] + - (gpt) allow to specify uuid and name when create new partition [Karel Zak] + - (gpt) check return from GUID parser [coverity scan] [Karel Zak] + - (gpt) check string_to_guid() [Karel Zak] + - (gpt) cleanup header size usage [Karel Zak] + - (gpt) don't align last possible LBA [Karel Zak] + - (gpt) don't offer first sector before the first partion [Karel Zak] + - (gpt) fix N-1 error for partition size [Karel Zak] + - (gpt) follow explicit size, fiz size+1 buf [Karel Zak] + - (gpt) follow label-id from script [Karel Zak] + - (gpt) implement fdisk_set_partition() backend [Karel Zak] + - (gpt) make mode more readable [Karel Zak] + - (gpt) parse attr bits [Karel Zak] + - (gpt) remove 'Cylinders' [Karel Zak] + - (gpt) set_{name,uuid} functions refactoring [Karel Zak] + - (gpt) use generic API to change UUID and name [Karel Zak] + - (sgi) add set_part() API [Karel Zak] + - accept Start offset in {B,M,G..}iB in sfdisk scripts [Karel Zak] + - accept dump with quotes [Karel Zak] + - actually translate the human-readable name of the partition type [Benno Schulenberg] + - add API docs [Karel Zak] + - add comments to header file [Karel Zak] + - add docs for BSD functions [Karel Zak] + - add docs for DOS functions [Karel Zak] + - add docs for GPT functions [Karel Zak] + - add docs for SGI functions [Karel Zak] + - add docs for SUN functions [Karel Zak] + - add docs for init functions [Karel Zak] + - add docs for iterator [Karel Zak] + - add fdisk_apply_table() and fdisk_delete_all_partitions() [Karel Zak] + - add fdisk_copy_parttype() [Karel Zak] + - add fdisk_label_get_field_by_name() and const for labels [Karel Zak] + - add fdisk_partition_is_bootable() [Karel Zak] + - add fdisk_partition_is_wholedisk() [Karel Zak] + - add fdisk_set_partition() [Karel Zak] + - add functions to apply partitiong scripts [Karel Zak] + - add functions to play nasty games with first/last LBA [Karel Zak] + - add geometry to API, cleanup [Karel Zak] + - add more comments [Karel Zak] + - add ref.counting to ask API [Karel Zak] + - add reference to context to dump [Karel Zak] + - add some docs [Karel Zak] + - add support for sfdisk-like script format [Karel Zak] + - add version.c [Karel Zak] + - allow to specify partition size by explicit number of sectors [Karel Zak] + - basic fdisk_dump_* functions [Karel Zak] + - clean up API (alignment.c) [Karel Zak] + - clean up API (context.c) [Karel Zak] + - clean up debug, add help debug mask [Karel Zak] + - cleanup ask API, add comments [Karel Zak] + - cleanup context devname usage [Karel Zak] + - cleanup fdisk_is_label stuff [Karel Zak] + - cleanup fdisk_partition_to_string() comment [Karel Zak] + - cleanup gtk-docs warnings [Karel Zak] + - cleanup internal drivers' API [Karel Zak] + - cleanup label geometry API [Karel Zak] + - cleanup partno API [Karel Zak] + - cleanup parttype API [Karel Zak] + - cleanup script dump [Karel Zak] + - cleanup script size= code [Karel Zak] + - consolidate script parser code [Karel Zak] + - don't align very small partitions [Karel Zak] + - don't use off_t in public API [Karel Zak] + - extend dump parsing function [Karel Zak] + - fdisk_label_is_labeltype() [Karel Zak] + - fdisk_read_firstsector should seek to offset 0 [Samuel Thibault] + - final parttype API cleanup [Karel Zak] + - fix add_logical() assert [Karel Zak] + - fix bug in cmp_numbers() and partitions sorting [Karel Zak] + - fix cfdisk freespace analyze [Karel Zak] + - fix compiler warning [Karel Zak] + - fix fdisk_delete_all_partitions() [Karel Zak] + - fix fdisk_get_optimal_iosize() and update tests [Karel Zak] + - fix fdisk_partition_get_parent() docs [Karel Zak] + - fix get_partition_unused_primary() [Boris Egorov] + - fix issues with very small partitions [Karel Zak] + - fix partition names on GNU Hurd. [Gabriele Giacone] + - fix possible mem leak [coverity scan] [Karel Zak] + - fix script next_token() [Karel Zak] + - fix script parser [Karel Zak] + - fix script parser, add debug messages [Karel Zak] + - fix script partitions size parsing [Karel Zak] + - fix script unit test [Karel Zak] + - fix some typos [Karel Zak] + - fix sun and sgi to be usable from sfdisk [Karel Zak] + - fix table_add_freespace(), add debug messages [Karel Zak] + - fix typo [Karel Zak] + - follow explicitly specified partition size [Karel Zak] + - grain is in bytes, fix previous patches [Karel Zak] + - ignore whole-disk partition when check order [Karel Zak] + - improve debug messages [Karel Zak] + - make code more readable [Karel Zak] + - make fdisk_partition_to_string() more robust [coverity scan] [Karel Zak] + - make it possible to get fields for all labes [Karel Zak] + - make it possible to use zero for size and start [Karel Zak] + - make label names case insensitive [Karel Zak] + - make script header parser more pedantic [Karel Zak] + - make yes/no dialogs more robust [Karel Zak] + - more docs [Karel Zak] + - move fdisk_ask_partnum() to API [Karel Zak] + - move get_parttypes to label API [Karel Zak] + - propagate assign-device operation to parent [Karel Zak] + - remove 'end' from struct fdisk_partition [Karel Zak] + - remove debug dump function, cleanup API [Karel Zak] + - remove dependence on libsmartcols [Karel Zak] + - remove flags from fdisk_ask API [Karel Zak] + - remove old label drives' API for parttypes [Karel Zak] + - rename and move function [Karel Zak] + - rename fdisk_column to fdisk_field [Karel Zak] + - rename fdisk_dump_ to fdisk_script_ [Karel Zak] + - rename sector_t to fdisk_sector_t [Karel Zak] + - return partno when add new partition [Karel Zak] + - support unknown partition types in sfdisk scripts [Karel Zak] + - use new set_part API in fdisk_set_partition_type() [Karel Zak] + - use reference counting for context [Karel Zak] + - use skip_blank() in scripts [Karel Zak] + - vary basic dump parsing functions [Karel Zak] +libmount: + - (docs) add monitor example [Karel Zak] + - (monitor) add kernel mountninfo monitoring [Karel Zak] + - (monitor) cleanup wait/verify stuff [Karel Zak] + - (monitor) make mnt_monitor_next_changed() usable for epoll version too [Karel Zak] + - (monitor) use inotify for utab lock file [Karel Zak] + - MNT_OMODE_FORCE usage [Fridolin Pokorny] + - add --enable-libmount-force-mountinfo [Karel Zak] + - add new libmnt_monitor API [Karel Zak] + - add options map to docs [Karel Zak] + - add private mnt_context_get_mtab_for_target() [Karel Zak] + - allow unspecified source on remount [Karel Zak] + - clean up debug, add help debug mask [Karel Zak] + - cleanup gtk-docs warnings [Karel Zak] + - cleanup monitor test [Karel Zak] + - don't return root if path contains // or ending / [Søren Holm] + - don't use /{proc,ext}/filesystems when more fs types specified [Karel Zak] + - fix lock test to use real time to sync [Karel Zak] + - fix mem leak in do_mount_by_types() [coverity scan] [Karel Zak] + - fix memory overflow [AddressSanitizer] [Sami Kerola] + - fix mnt_is_readonly() #ifdef [Karel Zak] + - fix possible mem leak in has_utab_entry() [coverity scan] [Karel Zak] + - fix type pointer usage [Karel Zak] + - fix utab entry on remount [Karel Zak] + - hide details about failed search in fstab/mtab [Karel Zak] + - improve kernel command line parsing [Mike Frysinger] + - improve mnt_reset_fs() [Karel Zak] + - improve remount logic [Karel Zak] + - make public top-level monitor FD only [Karel Zak] + - monitor unref function refactoring [Karel Zak] + - only include context on linux [Andreas Henriksson] + - only invoke loopcxt on linux [Andreas Henriksson] + - provide version as int for better compiletime test [Søren Holm] + - read utab always when read mtab from /proc [Karel Zak] + - remove assert(arg) from public functions [Karel Zak] + - reuse allocated fs in parser [Karel Zak] + - revert "read mtab on remount" idea [Karel Zak] + - split monitor initialization [Karel Zak] + - use -t for type.subtype in helpers API [Karel Zak] +libs/debug: + - accept human readable names for _DEBUG= [Ondrej Oprala] +libsmartcols: + - (docs) improve section descriptions [Karel Zak] + - clean up debug, add help debug mask [Karel Zak] + - cleanup gtk-docs warnings [Karel Zak] + - fix docs namespace [Karel Zak] + - remove assert(arg) from public functions [Karel Zak] + - remove unnecessary check [coverity scan] [Karel Zak] + - use ASCII art for trees rather than padding [Karel Zak] +libuuid: + - add extern qualifiers to uuid/uuid.h system header [Sami Kerola] + - remove _SVID_SOURCE pre-processor definition [Sami Kerola] +line: + - use util-linux conventions [Sami Kerola] +linfdisk: + - cleanup fsync usage [Karel Zak] +linmount: + - (monitor) refresh docs, headers and symbols table [Karel Zak] +logger: + - add --socket-errors compatibility option [Sami Kerola] + - add function pointer to choose how logging is done [Sami Kerola] + - add hostname to rfc3164 message [Sami Kerola] + - add process --id=parent optional argument [Sami Kerola] + - add rfc5424 support [Sami Kerola] + - allow use of --id=ppid when logging locally [Sami Kerola] + - check availability of ntp_gettime() [Samuel Thibault] + - clean up strings usage [Karel Zak] + - do not rely only getlogin(3) telling who ran the command [Sami Kerola] + - ensure program writes everything to syslog file descriptor [Sami Kerola] + - fix -i=ppid [Karel Zak] + - fix indentation issues [Sami Kerola] + - fix untranslated message [Karel Zak] + - gettimeofday needs [Andreas Henriksson] + - improve readablity of pencode() function [Sami Kerola] + - improve usage() [Karel Zak] + - make --stderr print remote server messages [Sami Kerola] + - optimize string initializations [Sami Kerola] + - refactor long if clause [Sami Kerola] + - remove openlog(3) options [Sami Kerola] + - require --{server,socket} to remote rfc542/rfc3164 log [Karel Zak] + - set function arguments read-only when possible [Sami Kerola] + - tidy up main() by adding small functions and ctl data [Sami Kerola] + - use generic --id= [Karel Zak] + - warn when --file and command line message are combined [Sami Kerola] +login: + - Fix unused variables in login.c if _HAVE_UT_TV isn't defined [Will Johansson] + - fix mem leak in init_environ() [coverity scan] [Karel Zak] + - ignore SIGXFSZ when write to lastlog [Karel Zak] +login-utils: + - Enable building util-linux against OpenPAM [Will Johansson] + - use libc error printing facility [Sami Kerola] +look: + - remove dead code [Sami Kerola] + - slice up the usage text for ease of translation [Benno Schulenberg] +losetup: + - improve man page -D docs [Karel Zak] +lsblk: + - add HOTPLUG column [Karel Zak] + - add SUBSYSTEMS column [Karel Zak] + - add notes about udev to the man page [Karel Zak] + - fix compiler warning [Sami Kerola] + - implement SOMEOK (=64) return code [Karel Zak] +lscpu: + - add s-Par support [Benjamin Romer] + - blacklist vmware_bdoor() AddressSanitizer check [Sami Kerola] + - clean up vmware inline asm [Mike Frysinger] + - cleanup ppc virtualization detection [Karel Zak] + - detect also QEMU emulation on ppc [Karel Zak] + - fix compiler error [-Werror=format-security] [Karel Zak] + - fix cppcheck warnings [Boris Egorov] + - fix typos in ppc code [Karel Zak] + - theoretical buffer overflow [Tobias Stoeckmann] +lslocks: + - fix type warning [Sami Kerola] +lslogins: + - add space to systemd journal header and message [Sami Kerola] + - align usage() and manual with struct option longopts [Sami Kerola] + - allow changing password changed and expiration time formats [Sami Kerola] + - cleanup after error [coverity scan] [Karel Zak] + - fix -l -g logic [Karel Zak] + - fix assertion failure for none existing logins [Sami Kerola] + - fix short options [Sami Kerola] + - free after error [coverity scan] [Karel Zak] + - make journald last logs time stamps to honor --time-format [Sami Kerola] + - reject unknown time format arguments [Sami Kerola] + - tell why command failed [Sami Kerola] + - use hardcoded paths from pathnames.h [Sami Kerola] +maint: + - fix shadow declaration [Sami Kerola] +mcookie: + - avoid format warning [Bernhard Voelker] +misc: + - use monotonic time rater than gettimeofday [Karel Zak] +mkfs.minix: + - fix couple compiler warnings [Sami Kerola] +mkswap: + - add struct mkswap_control to remove global variables [Sami Kerola] + - always use header from control struct [Karel Zak] + - coding style improvements [Karel Zak] + - device open code refactoring [Karel Zak] + - device write code refactoring [Karel Zak] + - make final report more human readable [Karel Zak] + - make remaining functions to take control structure as argument [Sami Kerola] + - remove memory leaks [LeakSanitizer] [valgrind] [Sami Kerola] + - remove system architecture specific max swap size checks [Sami Kerola] + - remove unnecessary size check [Sami Kerola] + - set variable only when it's value is known [Sami Kerola] + - use err() rather than perror() && exit() [Sami Kerola] + - various minor improvement [Sami Kerola] +more: + - blacklist unsigned integer overflow [AddressSanitizer] [Sami Kerola] + - fix compiler warnings [Karel Zak] + - fix repeat search crash [Sami Kerola] + - replace ad-hoc support for plurals with gettext plurals. [Lauri Nurmi] +mount: + - Add documentation of FAT mount option time_offset [Jan Kara] + - Further FAT mount option update [Jan Kara] + - clean up -t info in mount.8 and fstab.5 [Karel Zak] + - don't ignore mtab for --bind -o remount [Karel Zak] + - improve --move docs [Karel Zak] +mountpoint: + - add struct mountpoint_control [Sami Kerola] + - clarify that it works on files [Dave Reisner] + - drop S_ISDIR check [Dave Reisner] + - simplify if statement [Sami Kerola] +newgrp: + - avoid use of obsolete getpass() function [Sami Kerola] + - move shell determination closer where it is used [Sami Kerola] + - set function arguments read-only when possible [Sami Kerola] + - simplify if else clauses [Sami Kerola] + - use libc function to read gshadow if it is available [Sami Kerola] +nsenter: + - add --preserve-credentials and cleanup setgroups() usage [Karel Zak] + - allow to use --set{uid,gid} for all namespaces [Karel Zak] + - keep semantic consistent [Karel Zak] +partx: + - add --update to ul_excl_twq list [Karel Zak] + - don't use "hard drive" in man pages [Karel Zak] + - simplify a --verbose progress message [Benno Schulenberg] +po: + - merge changes [Karel Zak] + - update cs.po (from translationproject.org) [Petr Písař] + - update da.po (from translationproject.org) [Joe Hansen] + - update de.po (from translationproject.org) [Mario Blättermann] + - update es.po (from translationproject.org) [Antonio Ceballos Roa] + - update fi.po (from translationproject.org) [Lauri Nurmi] + - update fr.po (from translationproject.org) [David Prévot] + - update ja.po (from translationproject.org) [Takeshi Hamasaki] + - update nl.po (from translationproject.org) [Benno Schulenberg] + - update pl.po (from translationproject.org) [Jakub Bogusz] + - update pt_BR.po (from translationproject.org) [Rafael Ferreira] + - update ru.po (from translationproject.org) [Pavel Maryanov] + - update uk.po (from translationproject.org) [Yuri Chornoivan] + - update vi.po (from translationproject.org) [Trần Ngọc Quân] + - update zh_CN.po (from translationproject.org) [Wylmer Wang] + - update zh_TW.po (from translationproject.org) [Wei-Lun Chao] +raw: + - fix raw query [Karel Zak] +rename: + - add getpriority() message lookup table [Sami Kerola] + - allow renaming in subdirectories [Sami Kerola] + - continue despite something failed [Sami Kerola] + - use function pointer to select file or symlink operation [Sami Kerola] + - use strrchr() instead of rindex() [Sami Kerola] + - use usage and version print out macros [Sami Kerola] +renice: + - avoid having same lines of code twice [Sami Kerola] + - disallow --priority without pid argument [Sami Kerola] + - fix numeric uid argument parsing [Sami Kerola] + - reorder functions to avoid need of function prototype [Sami Kerola] + - reorder usage() option descriptions [Sami Kerola] +script: + - may be hangs [Andreas Henriksson] + - no logging for non-interactive shells [Stanislav Brabec] + - script.1 Improve documentation of non-interactive behavior [Stanislav Brabec] +setarch: + - cleanup options usage [Karel Zak] + - differentiate between "unrecognized" and "cannot set" [Benno Schulenberg] + - fix --list [Karel Zak] + - fix typo (missing braces) for ppcle [Ruediger Meier] + - make the usage synopsis comprehensible for translators [Benno Schulenberg] + - print error when command runs without arguments [Sami Kerola] + - reindent code [Sami Kerola] + - use personality() system call when it is available [Sami Kerola] +setterm: + - fix dubious one-bit signed bitfield [smatch scan] [Sami Kerola] +sfdisk: + - --list just one device [Karel Zak] + - actually translate the table headers by calling gettext() [Benno Schulenberg] + - add --activate [Karel Zak] + - add --append [Karel Zak] + - add --backup and --backup-file [Karel Zak] + - add --dump functionality [Karel Zak] + - add --label-nested for hybrid GPT [Karel Zak] + - add --list-types [Karel Zak] + - add --name [Karel Zak] + - add --no-act [Karel Zak] + - add --no-reread and --force [Karel Zak] + - add --output for print command(s) [Karel Zak] + - add --part-attrs [Karel Zak] + - add --parttype [Karel Zak] + - add --quiet [Karel Zak] + - add --show-size [Karel Zak] + - add --unit and --show-geometry, update deprecated.txt [Karel Zak] + - add --uuid command [Karel Zak] + - add --verify [Karel Zak] + - add comments, remove unnecessary function [Karel Zak] + - add deprecated --Linux [Karel Zak] + - add missing stuff to usage() [Karel Zak] + - ask on EOF [Karel Zak] + - basic main() and friends [Karel Zak] + - be sensitive to PT limits [Karel Zak] + - cleanup comments and command_activate() [Karel Zak] + - cleanup isatty() usage [Karel Zak] + - cleanup option names [Karel Zak] + - cleanup sync() usage, fix --activate [Karel Zak] + - cleanup usage() and long options [Karel Zak] + - fix --bytes [Karel Zak] + - fix --id fallthrough [coverity scan] [Karel Zak] + - fix compiler warnings about uninitialized variables [Sami Kerola] + - fix version typos in man page [Karel Zak] + - implement --list [Karel Zak] + - implement command_fdisk() [Karel Zak] + - improve UI [Karel Zak] + - in the usage text show -v for --version instead of -V [Benno Schulenberg] + - include rpmatch.h [Sami Kerola] + - leave on error [Karel Zak] + - make dump format usable on stdin [Karel Zak] + - more update to the man page [Karel Zak] + - require confirmation before write to the device [Karel Zak] + - return deterministic value from sfdisk_deinit() [Sami Kerola] + - support -N for primary partitions [Karel Zak] + - update man page [Karel Zak] + - update usage() [Karel Zak] + - use fdisk_set_partition_type() [Karel Zak] + - use pluralized translation. [Lauri Nurmi] +strutils: + - fix unsigned integer overflows [AddressSanitizer] [Sami Kerola] +su: + - fix mem leak in modify_environ() [coverity scan] [Karel Zak] + - print proper core dump message when killed [pcpa] +sulogin: + - make sure that fallback FD is valid [coverity scan] [Karel Zak] +sulogin, hwclock: + - use xusleep() instead of usleep() [Sami Kerola] +swaplabel: + - move swapon-common to include directory [Sami Kerola] +swapoff: + - swapoff swap files by LABEL and UUID [Karel Zak] +swapon: + - add -o for compatibility with mount [Karel Zak] + - align available columns section in usage() [Sami Kerola] + - don't print errors as data in smartcols table [Karel Zak] + - don't use empty strings for smartcols output [Karel Zak] + - improve man page notes about holes [Karel Zak] + - remove extra word from usage [Karel Zak] + - remove invalid error string print outs [Sami Kerola] + - reword some usage strings [Benno Schulenberg] + - share get_swap_prober() with swaplabel to print uuid and label [Sami Kerola] + - split swapon-common.c [Karel Zak] +switch_root: + - document that maintains /run too [Karel Zak] + - improve statfs->f_type portability [Karel Zak] +tailf: + - slice up the usage text for ease of translation [Benno Schulenberg] +terminal-colors.d: + - add debug stuff [Karel Zak] + - add note about comments to man page [Karel Zak] + - fix filter by name [Karel Zak] +tests: + - Add UDF hdd image created by Linux mkudffs [Pali Rohár] + - Add UDF hdd image created by Linux mkudffs with custom params [Pali Rohár] + - Add UDF hdd image created by NetBSD newfs_udf (from UDFclient 0.7.5) [Pali Rohár] + - Add UDF hdd image created by NetBSD newfs_udf (from UDFclient 0.7.7) [Pali Rohár] + - Add UDF hdd image created by Windows 7 [Pali Rohár] + - Fall back on host/getent in ts_resolve_host [Andreas Henriksson] + - add PMBR sfdisk test [Karel Zak] + - add blkdiscard offsets test [Federico Simoncelli] + - add debug tests [Ondrej Oprala] + - add function to change directory reliable way [Sami Kerola] + - add more getopt tests [Sami Kerola] + - add mount -t test [Karel Zak] + - add rename(1) checks [Sami Kerola] + - add rename(1) return value check [Sami Kerola] + - add sfdisk GPT tests [Karel Zak] + - add sfdisk test [Karel Zak] + - allow non-inotify tailf to keep up [Andreas Henriksson] + - apply travis clang PATH workaround [Sami Kerola] + - check for wipefs and helpers in fdisk tests [Karel Zak] + - cleanup libmount debug test [Karel Zak] + - copy test-suite from Frodo Looijaard's getopt [Sami Kerola] + - don't check the current ipcs limits [Karel Zak] + - don't hardcode devnames [Karel Zak] + - fix fdisk/bsd again for big endian [Ruediger Meier] + - fix fdisk/bsd for the two possible sectors/offsets [Aurelien Jarno] + - fix memory leak [AddressSanitizer] [Sami Kerola] + - fix rename subdir check that was failing in travis [Sami Kerola] + - fix swaplabel test for 9a83b03c [Ruediger Meier] + - fix the ipcs test for shmall being too big to show [Karel Zak] + - improve some wordings of the output [Benno Schulenberg] + - kill output message change [Sami Kerola] + - make ipcs limit calculations work when numbers are large [Sami Kerola] + - mark python libmount tests known to fail with AddressSanitizer [Sami Kerola] + - python tests should not remove user's LD_LIBRARY_PATH [Ruediger Meier] + - scsi_debug workaround [Karel Zak] + - simplify and update swaplabel test [Karel Zak] + - skip kill -SEGV test when running AddressSanitizer [Sami Kerola] + - test cazy sizes for sfdisk [Karel Zak] + - update MBR sort test [Karel Zak] + - update UDF test (add identifiers) [Pali Rohár] + - update bsd test [Karel Zak] + - update build tests [Karel Zak] + - update build-sys tests [Karel Zak] + - update fdisk formatting [Karel Zak] + - update fdisk tests [Karel Zak] + - update sfdisk tests [Karel Zak] + - use ts_cd everywhere to change direcrory [Sami Kerola] +textual: + - "ambivalent" applies to intentions, "ambiguous" to results [Benno Schulenberg] + - add a comma for clarity, plus some other tweaks [Benno Schulenberg] + - add a docstring to most of the utilities [Benno Schulenberg] + - angular brackets around a non-literal argument, singular [Benno Schulenberg] + - do not start option descriptions with a capital [Benno Schulenberg] + - fix couple typos in comments [Sami Kerola] + - fix some typos and inconsistencies in various messages [Benno Schulenberg] + - fix spellos and inconsistencies in several program messages [Benno Schulenberg] + - fix various minor typos [Yuri Chornoivan] + - grammarize an error message [Benno Schulenberg] + - grammarize an informative message, and tweak some comments [Benno Schulenberg] + - grammarize and harmonize the stat error message [Benno Schulenberg] + - grammarize another error message [Benno Schulenberg] + - improve error messages [Sami Kerola] + - list the options of setarch in a more alphabetical order [Benno Schulenberg] + - make the license of chrt and taskset slightly more explicit [Benno Schulenberg] + - not using angular brackets around literal arguments [Benno Schulenberg] + - put option and its description into a single translatable string [Benno Schulenberg] + - remove some inconsistent periods from error messages [Benno Schulenberg] + - share crypt() error message in sulogin and newgrp [Sami Kerola] + - slice up the usage text of swapon for ease of translation [Benno Schulenberg] + - sort the options in the usage text of sfdisk alphabetically [Benno Schulenberg] + - there may be no space between option and optional =arg [Benno Schulenberg] + - use a somewhat clearer and more standard failure message [Benno Schulenberg] + - use angular brackets around each individual argument [Benno Schulenberg] + - use manual tail usage() macro [Sami Kerola] + - use usage() text element macros [Sami Kerola] + - use version printing macro everywhere [Sami Kerola] + - using angular brackets around individual arguments [Benno Schulenberg] +tools: + - checkman.sh portability [J William Piggott] + - checkman.sh portability lexgrog [J William Piggott] + - checkmans.sh add stats [J William Piggott] + - checkmans.sh clean up 'let' [J William Piggott] +travis: + - whitelist branches [Karel Zak] +ul: + - fix filter() indentation [Sami Kerola] + - remove unexplained TERM=lpr override [Sami Kerola] +umount: + - read mountinfo if --detach-loop given [Robert Schiele] +unshare: + - Fix --map-root-user to work on new kernels [Eric W. Biederman] + - add --setgroups=deny|allow [Karel Zak] + - add some examples [Lubomir Rintel] +utmpdump: + - don't pass parameter of type "struct utmp" by value [coverity scan] [Karel Zak] +uuidd: + - Fixed a typo in daemon logging message [Nikolay Sivov] +various: + - erase all traces of the long-obsolete ext filesystem [Benno Schulenberg] + - erase all traces of the long-obsolete xiafs [Benno Schulenberg] +wall: + - wrap message header when it exceeds 79 characters [Sami Kerola] +whereis: + - cleanup debug stuff, fix argv[] usage [Karel Zak] + - lookup also info docs [Karel Zak] + - reset search mask more carefully [Karel Zak] +wipefs: + - fix FD leak on error [coverity scan] [Karel Zak] +zramctl: + - add bash completion script [Sami Kerola] + - add details to --size option documentation [Sami Kerola] + - cannonicalize devname when no fullpath specified [Karel Zak] + - fail status printout when device does not exist [Karel Zak] + - fix the wording of some message strings [Benno Schulenberg] + - fix typo [Karel Zak] + - fixed two -Wformat-security warnings [Steven Honeyman] + - improve error message [Sami Kerola] + - improve option combination error messaging [Sami Kerola] + - remove extra \n from usage() [Karel Zak] + - add new command to control /dev/zramN devices [Karel Zak, Timofey Titovets] diff --git a/Documentation/releases/v2.27-ReleaseNotes b/Documentation/releases/v2.27-ReleaseNotes new file mode 100644 index 0000000..c0e5b1b --- /dev/null +++ b/Documentation/releases/v2.27-ReleaseNotes @@ -0,0 +1,765 @@ +Util-linux 2.27 Release Notes +============================= + +The command tailf is deprecated in favour of tail -f from coreutils. + +The command unshare provides a new option --propagation=slave|shared|private|unchanged +to control propagation in mount namespaces. The default is "private" now. The +new default unifies unshare behavior and makes it independent of distribution +default. The unshare supports persistent namespaces too (no process has to run +to keep namespace in existence). + +The command mount(8) supports read-only binds in one step by the options +"bind,ro" (command line or fstab). This feature is implemented by additional +remount mount(2) syscall and it is not atomic. + +The commands fdisk and sfdisk can be compiled with GNU readline support to +improve their line-editing functionality. + +The library libsmartcols and the commands findmnt, losetup, lsblk, lslocks, +sfdisk and lsipc provide output in JSON format. + +The command mkfs (deprecated in favour of mkfs.) does not use hard-coded +paths, but it follows $PATH. + +The command script has been massively improved to be more robust and less +complex. Now all is implemented by one process which monitors the running +session by poll(), signalfd(), etc. + +The command sulogin supports locked root accounts if the command-line option +--force is specified. Read the sulogin man page before you use it! + +The command agetty reloads the prompt on address changes if network information +is displayed. + +util-linux now supports and enables colors by default. It is possible to change +this behavior with --disable-colors-default to be more user-friendly to colorblind +people. The colors can still be enabled by editing /etc/terminal-colors.d. See +terminal-colors.d(5). + +The command cfdisk displays more information about the selected partition +(partition UUID, filesystem identifiers, mountpoint, etc.). This extra window +can be toggled with the 'x' key. + +The command fdisk provides a new command 'F' to print free, unpartitioned space +(gaps) on the disk. The same functionality is provided by sfdisk through the +option --list-free. The fdisk command wipes the beginning of the device by +default; the new option --protect-boot disables this behavior. The new fdisk +command 'i' provides more information about a specified partition. + +The command cal supports the new options --twelve and --months to display +the next twelve or months. + +The command rtcwake supports a new option --list-modes to list available modes, +and a new option --date for human-readable times. rtcwake does not support +RTC_ALM_READ and RTC_ALM_SET fallbacks any more. + +The util-linux code is possible rebuild with --disable-assert now. + + +Security issues +--------------- + +CVE-2015-5224 - chfn, chsh file name collision due to incorrect mkstemp use if + compiled without libuser. + [thanks to Qualys Security Advisory team; qualys.com] + + +Stable maintenance releases between v2.26 and v2.27 +--------------------------------------------------- + +util-linux 2.26.1 [Mar 3 2015] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.26/v2.26.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.26/v2.26.1-ChangeLog + +util-linux 2.26.2 [Apr 4 2015] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.26/v2.26.2-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.26/v2.26.2-ChangeLog + + +Changes between v2.26 and v2.27 +------------------------------- + + For more details see ChangeLog files at: + https://www.kernel.org/pub/linux/utils/util-linux/v2.27/ + +agetty: + - Reprompt once the network addresses change if address displayed [Stef Walter] + - cleanup plymouth usage [coverity scan] [Karel Zak] + - make sure that reload file exists [Karel Zak] + - reload issue on --autologin --login-pause too [Karel Zak] + - support /usr/lib/os-release too [Karel Zak] +bash-completion: + - cal add --twelve and --color options [Sami Kerola] + - handle comma-separated options [Boris Egorov] + - remove unused variables [shellcheck] [Boris Egorov] + - sync lscpu completion with code [Boris Egorov] + - update few options changed since v2.26 [Sami Kerola] +blkid: + - another hint to the man page [Karel Zak] + - be more precise in the man page [Karel Zak] + - don't ignore info about partitions on non-formated devices [Karel Zak] + - make zfs detection more robust [Michal Humpula] +build-sys: + - add --disable-assert [Karel Zak] + - add --disable-cal [Karel Zak] + - add --disable-colors-default [Karel Zak] + - add --enable-usrdir-path [Karel Zak] + - add --with-readline [Ondrej Oprala] + - add --without-* for all libs [Karel Zak] + - add HAVE_LIBMOUNT [Karel Zak] + - add TINFO_LIBS_STATIC [Karel Zak] + - add new compiler warnings [Karel Zak] + - allow autoconf < 2.64 to be used [Kir Kolyshkin] + - allow gettext 0.17 to be used [Kir Kolyshkin] + - cleanup realtime lib usage [Karel Zak] + - define cfdisk dependence on open_memstream [Karel Zak] + - fix READLINE_LIBS_STATIC usage for fdisk [Karel Zak] + - fix parallel builds w/setarch links [Mike Frysinger] + - fix test_colors build [Karel Zak] + - fix typo [Karel Zak] + - include errno.h instead of argp.h [Chen Qi] + - make autogen.sh more robust [Karel Zak] + - mark script(1) as Linux only due to signalfd() [Karel Zak] + - ncurses is optional, don't fail when missing [Karel Zak] + - python is optional, don't fail when missing [Karel Zak] + - release++ (v2.27-rc1) [Karel Zak] + - release++ (v2.27-rc2) [Karel Zak] + - support static build with readline [Karel Zak] + - support unshare.static [Georg Schiesser] + - typo -ltinfo [Ruediger Meier] + - use REALTIME_LIBS for script [Karel Zak] +cal: + - add -Y and -n [Max Klinger, Karel Zak] + - care about setuprterm() result [Karel Zak] + - check biggest week number correctly when highlighting [Sami Kerola] + - correct gregorian week numbering [Sami Kerola] + - correct the man page the reformation eliminated eleven days, not ten [Benno Schulenberg] + - fix January 1753 week number printout [Sami Kerola] + - replace magic constants with symbolical values [Sami Kerola] +cfdisk: + - allow an uppercase X to toggle the extra info [Benno Schulenberg] + - check return value [coverity scan] [Karel Zak] + - cleanup extra partitions info for slang [Karel Zak] + - don't print obsolete CHS addresses [Karel Zak] + - fix condition logic [cppcheck] [Boris Egorov] + - make sure that extra info is refreshed/removed [Karel Zak] + - make sure that output fits to terminal width [Karel Zak] + - properly toggle extra info window, make it more robust [Karel Zak] + - provide extra partinfo with "x" [Ondrej Oprala, Karel Zak] + - remove extra line between menu and info line [Karel Zak] + - spell "label" in lower case [Benno Schulenberg] +cfdisk, sfdisk: + - remove unused variables [Karel Zak] +chfn: + - document CHFN_RESTRICT /etc/login.defs [Karel Zak] +chrt: + - fix --help inconsistency [Karel Zak] + - make the usage synopsis clearer [Benno Schulenberg] + - slice up the usage text and normalize its layout [Benno Schulenberg] +chsh, chfn, vipw: + - fix filenames collision [Karel Zak] +colcrt: + - allocate enough space for data moves [afl & asan] [Sami Kerola] + - avoid writing beyond array bound [afl & asan] [Sami Kerola] + - use #define in place of magic constants [Sami Kerola] +colors: + - cleanup man pages, add hint to usage() [Karel Zak] +dmesg: + - fix shadow declaration [Sami Kerola] + - highlight -T issues in docs [Karel Zak] + - use GMT in tests, add DMESG_TEST_BOOTIME [Karel Zak] +docs: + - add hint about chfn & chsh bug and thanks to qualys [Karel Zak] + - add lsblk vs. btrfs to TODO [Karel Zak] + - add mount --namespace to TODO [Karel Zak] + - add notest about drone.io and travis-ci [Karel Zak] + - add terminal-colors requests to TODO [Karel Zak] + - add v2.27-ReleaseNotes [Karel Zak] + - document --exclude for tests [Karel Zak] + - fix TODO typos [Karel Zak] + - fix gtk-docs related warnings [Karel Zak] + - fix some grammar and punctuation in the 2.27 release notes [Benno Schulenberg] + - fix some spelling errors and typos in man pages [Bill Pemberton] + - fix typo [Karel Zak] + - fstab(5) grammar / English fixes, and some other updates [Peter Cordes] + - make fsck.minix(8) more pretty [Sami Kerola] + - remove obsolete things from TODO [Karel Zak] + - unify mkswap(8) with swapon(8) about holes warning [Sami Kerola] + - update AUTHORS file [Karel Zak] + - update TODO [Karel Zak] + - update v2.27-ReleaseNotes [Karel Zak] +eject: + - use parse_switch() [Sami Kerola] +fallocate: + - fix error message [Karel Zak] +fdisk: + - add 'F' command to list free unpartitioned space [Karel Zak] + - add --protect-boot [Karel Zak] + - add GNU Readline support to fdisk [Karel Zak] + - add the 'i'nfo command [Jean-Loup 'clippix' Bogalho] + - differentiate between + and +{M,G,...} [Karel Zak] + - fix readline wrapper [Karel Zak] + - fix typo [Karel Zak] + - init libsmartcols debug [Karel Zak] + - provide more information by 'i'nfo command [Karel Zak] + - value is never read [clang analyze] [Karel Zak] +fdisk, sfdisk: + - fix -o backend [Karel Zak] +findmnt: + - add --json [Karel Zak] + - add --mountpoint command line option [Karel Zak] + - don't rely on st_dev for --target [Karel Zak] +flock: + - NULL deref [Brad Forschinger] + - add --verbose option [Sami Kerola] + - fix timeout handler pointer usage [Karel Zak] + - improve timeout handling [Sami Kerola] +fsck: + - Fix parsing of -r [Stanislav Brabec] + - fix fsck -C {fd} parsing [Stanislav Brabec] + - implement fsck -r {fd} [Stanislav Brabec] + - print errors on invalid -r argument [Karel Zak] + - use PATH or fallback to /sbin [Karel Zak] +fsck.minix: + - add minix v3 support [Sami Kerola] + - be more paranoid with block buffers [coverity scan] [Karel Zak] + - introduce long options to the command [Sami Kerola] + - rename device file descriptor variable [Sami Kerola] +fstrim: + - close dir before exit [coverity scan] [Karel Zak] + - de-duplicate by mount source too [Karel Zak] +getopt: + - use $(...) command substitution in example script [shellcheck] [Sami Kerola] +hexdump: + - fix man page (-x vs. default output) [Karel Zak] +hwclock: + - Improve FILES section [J William Piggott] + - Remove TZUTC [J William Piggott] + - add '11 minute mode' information [J William Piggott] + - add -D to the man page [Karel Zak] + - add TZDIR [J William Piggott] + - clean up man page header [Karel Zak] + - cosmetic changes to man page [Karel Zak] + - don't allow non-root access [Karel Zak] + - fix fgets unchecked return value warning on alpha [Andreas Henriksson] + - fix format warning in alpha code [Andreas Henriksson] + - fix iopl implicit declaration warning on alpha [Andreas Henriksson] + - fix signed/unsigned comparison warning on alpha [Andreas Henriksson] + - fix spelling, punctuation and formatting mistakes in the man page [Benno Schulenberg] + - flush stdout in hwclock -c [Alexey Galakhov] + - increase debug output precision [J William Piggott] + - make static analyzes more happy [Karel Zak] + - man-page errata [J William Piggott] + - non-root access in test mode [J William Piggott] + - regression fix [J William Piggott] + - remove an untrue phrase from the man page [Benno Schulenberg] + - remove dead code [J William Piggott] + - remove depreciated ntpdate [J William Piggott] +include/all-io: + - read_all() don't retry on EOF [Karel Zak] +include/c: + - Define F_DUPFD_CLOEXEC on kFreeBSD systems if missing [Guillem Jover] +include/xalloc: + - add err_oom() [Karel Zak] +ipcmk: + - support {K,M,G,...} [Karel Zak] +kill: + - Add verbose to man page. [Raghavendra D Prabhu] +last: + - fix first (current) runlevel line [Ruediger Meier] + - fix utmplist usage [Karel Zak] + - keep array of files in main() [Karel Zak] +last-deprecated: + - remove from source tree [Sami Kerola] +ldattach: + - adapt print_table column width to widest entry [Tilman Schmidt] + - always set line speed and format for N_GIGASET_M101 [Tilman Schmidt] + - order line disciplines canonically [Tilman Schmidt] + - tiny coding style changes [Karel Zak] +lib/blkdev: + - use 64-bit to count size in bytes [Karel Zak] +lib/colors: + - add USAGE_COLORS_DEFAULT [Karel Zak] + - use libtinfo to check terminal capability [Karel Zak] +lib/fileutils: + - Add new dup_fd_cloexec function [Guillem Jover] +lib/monotonic: + - fix compiler warnings [Karel Zak] +lib/procutils: + - add proc_get_cmdline() [Karel Zak] +lib/strutil: + - fix parse_switch resource leak [coverity scan] [Andreas Henriksson] +lib/strutils: + - extend parse_switch() to accept more options [Karel Zak] + - fix string_add_to_idarray() int vs. size_t [Karel Zak] + - make strmode() more generic [Karel Zak] + - move parse_switch() from setterm(1) to library [Sami Kerola] +lib/strv: + - add new functions (from systemd) [Karel Zak] +lib/sysfs: + - Fix /dev to /sys node name translation [Stanislav Brabec] + - Use dup_fd_cloexec instead of direct call to fcntl [Guillem Jover] + - make sysfs_next_subsystem() more robust [Karel Zak] + - rename devname functions, cleanup [Karel Zak] +lib/sysfs.c: + - use fcntl(..F_DUPFD_CLOEXEC) instead of dup(2) [Cristian Rodríguez] +lib/timer: + - use separate file for timers [Karel Zak] +lib/timeutils: + - fix indention [smatch scan] [Karel Zak] +libblkid: + - (drbdmanage) add magic strings array terminator [Karel Zak] + - (drbdmanage) improve version setting code [Karel Zak] + - (nilfs2) check devise size [Karel Zak] + - (nilfs2) check size for backup superblock only [Karel Zak] + - added drbdmanage control volume detection. [Philipp Marek] + - cleanup names, don't copy probing results [Karel Zak] + - fix compiler warning [-Wunused-variable] [Karel Zak] + - fix compiler warnings [Sami Kerola] + - fix inconsistent indenting [smatch scan] [Karel Zak] + - make probing data structures more dynamic [Ondrej Oprala] + - remove dead code [coverity scan] [Karel Zak] + - use 'VERSION' rather than 'PERSISTENCE_VERSION' [Karel Zak] + - simplify some conditions [cppcheck] [Boris Egorov] + - (zfs) make less syscalls [Michal Humpula] +libfdisk: + - (bsd) add note about non-written parental MBR [Karel Zak] + - (dos) retain existing boot flag when resizing a partition [Karel Zak, awilliam@redhat.co] + - (dos) fix cylinders calculation [Karel Zak] + - (dos) fix tiny partitions calculation [Karel Zak] + - (gpt) add API for raw partition attributes [Michael Marineau] + - (gpt) add extra check for First/Last LBA [Karel Zak] + - (gpt) add missing GUIDs [Karel Zak] + - (gpt) check header size before verify CRC [Karel Zak] + - (gpt) fix "MidnightBSD UFS" UUID [Karel Zak] + - (gpt) fix LE usage [Karel Zak] + - (gpt) fix attributes endianness [Ruediger Meier] + - (gpt) fix check for beginning of protective partition [Michael Marineau] + - (gpt) fix end sector calculation on resize [Karel Zak] + - (gpt) fix label pointer usage [smatch scan] [Karel Zak] + - (gpt) make it possible to create really small partitions [Karel Zak] + - (gpt) reorder only when necessary [Karel Zak] + - Use predictable /dev/mapper partition names for /dev/dm-N [Stanislav Brabec] + - add GPT GUIDs for ARMs [Karel Zak] + - add GPT GUIDs for PReP [Scott Moser] + - add JSON dump output [Karel Zak] + - add comment to the header file [Karel Zak] + - add fdisk_label_get_fields_ids_all() [Karel Zak] + - add fdisk_table_get_partition_by_partno() [Karel Zak] + - add fgets() callback for scripts [Karel Zak] + - add new API to read label specific data [Karel Zak] + - add warning to resize function [Karel Zak] + - add {first,last}-lba header to sfdisk scritps [Karel Zak] + - allow to change partition type for extended partitions [Karel Zak] + - allow to move start to first usable LBA [Karel Zak] + - cleanup assert() usage [Karel Zak] + - don't resize in label drivers [Karel Zak] + - don't return empty strings from fdisk_partition_to_string() [Karel Zak] + - fix fdisk_label_parse_parttype() for unknown types [Karel Zak] + - fix script parser to support resize operations [Karel Zak] + - fix scriptk parser to support alone signs [Karel Zak] + - fix symbols versioning script [Karel Zak] + - ignore misaligned optimal I/O size [Karel Zak] + - improve +0 partition size [Karel Zak] + - keep FDISK_FIELD_CYLINDERS independent on context mode [Karel Zak] + - make context->label usage more robust [smatch scan] [Karel Zak] + - recognize FAT32 partitions hidden by Acronis software [Jörg Jenderek] + - remove impossible condition [smatch scan] [Karel Zak] + - rename script functions to improve readability [Karel Zak] + - result of operation is garbage or undefined [clang analyze] [Karel Zak] + - support alignment to non power of 2 [Karel Zak] + - support bootbits protection from (p)MBR [Karel Zak] + - support resize operation in fdisk_set_partition() [Karel Zak] + - undefined or garbage value returned to caller [clang analyze] [Karel Zak] +libmount: + - (docs) fix typo [Ronny Chevalier] + - (docs) fix wording [Ronny Chevalier] + - (monitor) fix docs [Karel Zak] + - add mnt_table_get_fs_root() to header file [Karel Zak] + - add note about flock() to docs [Karel Zak] + - add support for "bind,ro" [Karel Zak] + - add support for MS_LAZYTIME [Karel Zak] + - cleanup assert() usage [Karel Zak] + - cleanup fs root detection code [Karel Zak] + - do not call umount helper on --fake [Karel Zak] + - fix compiler warning [-Wdiscarded-qualifiers] [Karel Zak] + - fix mnt_monitor_event_cleanup() [Karel Zak] + - fix typo in mnt_optstr_prepend_option() [Karel Zak] + - handle arbitrary line length for mounts [Karel Zak] + - improve monitor to be usable for non-root users [Karel Zak] + - make mnt_get_filesystems() more robust [clang analyze] [Karel Zak] + - mark overlay as pseudo-FS [Karel Zak] + - sort pseudo filesystems by LC_COLLATE=C [Karel Zak] + - typo fixes [Kir Kolyshkin] + - variable dereferenced before check [smatch scan] [Karel Zak] +libsmartcols: + - add JSON output format [Karel Zak] + - don't link with tinfo [Karel Zak] + - keep JSON field names lower-case [Karel Zak] + - make child-parent reference more robust [clang analyze] [Karel Zak] + - reduce relative columns more aggressively [Karel Zak] +libuuid: + - return correct value for uuid_generate_time_safe [Romain Bouvier] +logger: + - --stderr and --no-act turn "auto-errors" on [Ruediger Meier] + - Add support to logger for RFC6587 octet counting [Alex Bligh] + - Fix use of errno after strtol() without zeroing first [Stef Walter] + - add --msgid option, permits to set RFC5424 MSGID field [Rainer Gerhards] + - add --no-act for testing [Karel Zak] + - add --skip-empty-lines to prevent logging empty lines [Rainer Gerhards] + - add -DTEST_LOGGER [Karel Zak] + - add comment [Karel Zak] + - add note about kern->user conversion [Karel Zak] + - bugfix missing sanity checks with --prio-prefix option [Rainer Gerhards] + - bugfix tcp syslog framing is broken, -T unusable [Rainer Gerhards] + - check for ntp_gettime() rather than for timex.h [Karel Zak] + - check xgethostname() return value [Sami Kerola] + - do not exit when socket errors are not enforced [Sami Kerola] + - fix -i argument parsing regression [Sami Kerola] + - fix -p kern.* priority is accepted regression [Rainer Gerhards] + - fix LOGGER_TEST_TIMEOFDAY check [Karel Zak] + - fix inconsistent format regression when logging locally [Rainer Gerhards] + - fix invalid timestamp in rfc5425 format [Rainer Gerhards] + - fix invalid timestamp regression in local format [Rainer Gerhards] + - fix memory leaks [Sami Kerola] + - fix multiple format bugs in rfc5424 formatter [Rainer Gerhards] + - fix rfc5424 format crash [Karel Zak] + - fix whitespace and compiler warning [-Wunused-variable] [Karel Zak] + - generate header when reading message from stdin [Patrick Plagwitz] + - improve logger --journald man page example [Michal Schmidt] + - improve readability [smatch scan] [Karel Zak] + - link libsystemd-daemon.so [Ruediger Meier] + - messages are logged with kern.* priority by default [Rainer Gerhards] + - move /dev/log to pathnames.h [Sami Kerola] + - permit to send messages larger than 1024 characters [Rainer Gerhards] + - refactor message generation [Rainer Gerhards] + - refactor the way output is written [Rainer Gerhards] + - remove "interface to syslog(3)" from man page [Karel Zak] + - small change in usage() [Karel Zak] + - tidy few indentation issues [Sami Kerola] + - use errx() when checking user input [Sami Kerola] + - use username as the default tag [Karel Zak] + - use xstrdup() [Karel Zak] +logger man page: + - bump man page date to current [Rainer Gerhards] + - fix some "syslog(3) routine" remnants [Rainer Gerhards] + - fix typo [Rainer Gerhards] + - update --size doc [Rainer Gerhards] +login: + - replace siginterrupt with sigaction [Chen Qi] +losetup: + - add --json [Karel Zak] + - be careful with errno [Karel Zak] + - print more usable error message on failed -f [Karel Zak] +lsblk: + - Display mountpoint even for top-level device [Milan Broz] + - add --json [Karel Zak] + - add debug support [Karel Zak] + - don't ignore dependences for partitioned devies [Karel Zak] + - fix resource leak [coverity scan] [Andreas Henriksson] + - follow kernel for inverse tree [Karel Zak] + - lsblk.8 Fix description of output format [Stanislav Brabec] + - use internally sysfs devnames [Karel Zak] +lscpu: + - add cpu flags entry to summary output [WANG Chao] + - add warning for __SANITIZE_ADDRESS__ [Karel Zak] + - fix read_hypervisor_powerpc() logic [Karel Zak] +lsipc: + - add COMMAND for shmem [Karel Zak] + - add CTIME to shmem default [Karel Zak] + - add USE% to --global [Karel Zak] + - add more resource to the limits list [Karel Zak] + - check scols_line_refer_data() return code [Karel Zak] + - cleanup -o usage [Karel Zak] + - cleanup columns indexes [Karel Zak] + - cleanup usernames [Karel Zak] + - cleanup {user,group}name usage [Karel Zak] + - default to --global [Karel Zak] + - differentiate between UID and USER names [Karel Zak] + - don't duplicate already allocated data [Karel Zak] + - fix ID parsing, use full time for pretty print [Karel Zak] + - fix coding style [Karel Zak] + - ifdef SHM_* macros [Karel Zak] + - improve --global [Karel Zak] + - improve JSON output [Karel Zak] + - make --id usable with all output formats and with -o [Karel Zak] + - move outmode to coltrol struct [Karel Zak] + - new command to list IPC facilities [Karel Zak, Karel Zak] + - remove --print0 and -colon-separate [Karel Zak] + - remove duplicate "Usage " [Karel Zak] + - the default --global is mutually exclusive with -c --id and -t [Karel Zak] + - tiny change about --global to the man page [Karel Zak] + - use sub-table for semphore elements [Karel Zak] + - value is never read [clang analyze] [Karel Zak] +lslocks: + - add --json [Karel Zak] + - slice up the recently modified usage text [Benno Schulenberg] +lslogins: + - fix --user-accs and --system-accs docs [Karel Zak] + - merge read_utmp() code [Karel Zak] + - remove duplicate [make checkincludes] [Karel Zak] +man: + - fix nolazytime typo in mount(8) [Andreas Henriksson] +mcookie: + - fix -f usage [clang analyze] [Karel Zak] +misc: + - fix indention [smatch scan] [Karel Zak] + - fix redundant assignment and reassignments before use [cppcheck] [Sami Kerola] + - fix shadow declarations [Sami Kerola] +mkfs: + - drop hardcoded search path [Mike Frysinger] +mkfs.cramfs: + - remove dead code [coverity scan] [Karel Zak] +mkfs.minix: + - add fs_control structure, and remove most global variables [Sami Kerola] + - add hint for scanners [coverity scan] [Karel Zak] + - check requested blocks will not exceed available on device [Sami Kerola] + - check user input carefully [Sami Kerola] + - increase maximum minix v2 and v3 file system sizes [Joshua Hudson] + - introduce long options to the command [Sami Kerola] + - re-fix block count maths [Sami Kerola] + - refactor root block content creation [Sami Kerola] + - remove unuseful code [Sami Kerola] + - use is_mounted() from libcommon [Sami Kerola] + - use xalloc [Karel Zak] +more: + - improve ugly macro [Karel Zak] +mount: + - don't remount read-only on --bind [Karel Zak] + - fix lazytime docs [Karel Zak] + - mount.8 Clarify relation between noatime and nodiratime [Borut Mrak] + - mount.8 also note diratime does not override noatime. [Borut Mrak] + - remove XFS from man page, xfsprogs provides xfs(5) [Karel Zak] + - remove duplications of --help and --version from usage text [Benno Schulenberg] +nsenter: + - add -Z to set selinux context [Karel Zak] +po: + - merge changes [Karel Zak] + - update da.po (from translationproject.org) [Joe Hansen] + - update es.po (from translationproject.org) [Antonio Ceballos Roa] + - update fi.po (from translationproject.org) [Lauri Nurmi] + - update fr.po (from translationproject.org) [David Prévot] + - update ja.po (from translationproject.org) [Takeshi Hamasaki] + - update pl.po (from translationproject.org) [Jakub Bogusz] + - update uk.po (from translationproject.org) [Yuri Chornoivan] +prlimit: + - tell in --verbose output which pid got the new limit [Sami Kerola] +procutils: + - reset errno before readdir [Ruediger Meier] +rename: + - allow full-path renames [Andreas Henriksson] +reset: + - deprecate the script, and remove reset.033c [Sami Kerola] +rpmatch: + - use symbolic value when evaluation return codes [Sami Kerola] +rtcwake: + - add --list-modes [Sami Kerola] + - add human readable --date timestamp format [Sami Kerola] + - add rtcwake_control and remove global variables [Sami Kerola] + - clean up struct tm initializations [Sami Kerola] + - cosmetic changes [Karel Zak] + - do not overwrite device name [Sami Kerola] + - don't use usage() on error [Karel Zak] + - enumerate constant mode strings [Sami Kerola] + - fix ARRAY_SIZE() usage [Karel Zak] + - fix preprocessor redefinition [Sami Kerola] + - fix valgrind warning [Sami Kerola] + - improve coding style [Sami Kerola] + - improve open() usage [coverity scan] [Karel Zak] + - improve read_clock_mode() [Sami Kerola] + - make some command line options mutually exclusive [Sami Kerola] + - read accepted mode strings from /sys/power/state [Sami Kerola] + - remove RTC_ALM_READ and RTC_ALM_SET compatibility [Sami Kerola] + - replace long if else statement with switch case [Sami Kerola] +script: + - Fix mangled EOF and hang on big endian [Stanislav Brabec] + - add 'Script started' line always to capture file [Sami Kerola] + - add noreturn function attributes [Sami Kerola] + - add note to BUGS man page section [Karel Zak] + - add struct script_control and remove global variables [Sami Kerola] + - add support for SCRIPT_DEBUG= [Karel Zak] + - cleanup signals usage [Karel Zak] + - close timingfp also when -e [Karel Zak] + - debug poll() results [Karel Zak] + - evaluate errno only if read() sets it [Ruediger Meier] + - fix EOF problems [Karel Zak] + - fix variable initialization warning [Sami Kerola] + - improve SIG{TERM,QUIT,KILL} sensitivity [Karel Zak] + - improve poll debugging [Karel Zak] + - make sure errno is zero [Karel Zak] + - merge doinput() and output() functions to do_io() [Sami Kerola] + - move do_io() content to small functions [Sami Kerola] + - move timing file opening close to use of it [Sami Kerola] + - remove function prototypes [Sami Kerola] + - remove io vs signal race [Sami Kerola] + - remove magic constants from poll code [Karel Zak] + - rename control struct members [Karel Zak] + - replace strftime() workaround with CFLAGS = -Wno-format-y2k [Sami Kerola] + - use correct input type, move comment, and so on [Sami Kerola] + - use gettime_monotonic() to get timing file timestamps [Sami Kerola] + - use poll() rather than select() [Sami Kerola] + - use signalfd() to catch signals [Sami Kerola] +setarch: + - fix regression for sparc builds [Waldemar Brodkorb] +setterm: + - remove dead code [coverity scan] [Karel Zak] +sfdisk: + - accept empty partitions from dump [Karel Zak] + - add --json [Karel Zak] + - add --list-free [Karel Zak] + - add missing --color [Karel Zak] + - add readline support [Karel Zak] + - clarification for sfdisk man page [Ian Wienand] + - cleanup prompt usage [Karel Zak] + - don't print extra linebreaks on --quiet [Karel Zak] + - don't use BLKRRPART to check loopdev usage [Karel Zak] + - enable bootbits protection [Karel Zak] + - fix -a vs. -A bug [Karel Zak] + - improve -N warnings [Karel Zak] + - improve some formatting and wording in the man page [Benno Schulenberg] + - show that the command --verify optionally takes device names [Benno Schulenberg] +sulogin: + - Use read instead of allocated size from getline() [Guillem Jover] + - don't use strcpy(), enlarge pwd line buffer [Karel Zak] + - improve support for locked root account [Karel Zak] +swapon: + - fix restart waitpid with errno == EINTR [Karel Zak] + - search for mkswap via PATH [Mike Frysinger] +sys-utils: + - lscpu segfaults when built with -fsanitize=address [Cristian Rodríguez] +sys-utils/disk-utils/lib: + - fix printf format types [cppcheck] [Boris Egorov] +tailf: + - count last lines correctly at initial print out [Sami Kerola] + - deprecated [Ruediger Meier] + - do not allow minus signed last lines argument [Sami Kerola] + - ensure file argument really is a file [Sami Kerola] + - fix open() return value check [coverity scan] [Karel Zak] + - use size_t and fwrite() [Karel Zak] +tasts: + - add logger octet counting test [Karel Zak] +test_uuidd: + - add comment [Karel Zak] + - add pid, tid and idx back to object [Karel Zak] + - cleanup counters names [Karel Zak] + - cleanup pid usage [Karel Zak] + - cleanup used types [Karel Zak] + - don't exit on failed pthread_create() [Karel Zak] + - err messages, argv[] parsing and another cleanups [Karel Zak] + - fix include [Karel Zak] + - improve readability [Karel Zak] + - make objdump more robust [Karel Zak] +tests: + - (blkid) update drbdmanage [Karel Zak] + - (cal) update US week numbers [Karel Zak] + - add $top_builddir to $PATH [Ruediger Meier] + - add --exclude= for run.sh [Karel Zak] + - add --skip-loopdevs [Karel Zak] + - add JSON sfdisk dumps [Karel Zak] + - add blkid script to test whole-disk MBR devices [Karel Zak] + - add colcrt regression tests [Sami Kerola] + - add dmesg multiline message check [Sami Kerola] + - add documentation about environment variables [Ruediger Meier] + - add fsck.minix checks [Sami Kerola] + - add fullpath tests to rename/subdir [Andreas Henriksson] + - add hexdump from GPT [Karel Zak] + - add logger(1) command line options tests [Sami Kerola] + - add logger(1) error condition tests [Sami Kerola] + - add logger(1) journald test [Sami Kerola] + - add logger(1) message format tests [Sami Kerola] + - add old dump for sfdisk [Karel Zak] + - add script output buffering race check [Sami Kerola] + - add scriptreplay test [Sami Kerola] + - add sfdisk resize regression tests for MBR [Karel Zak] + - add sfdisk resize tests [Karel Zak] + - add sfdisk resize tests for GPT [Karel Zak] + - add subtests for invalid logger devive [Ruediger Meier] + - add test_dmesg that has fixed boot time [Sami Kerola] + - add udevadm settle [Karel Zak] + - add uuidd test program [Huschaam Hussain] + - add very long mount line to libmount mtab [Kees Cook] + - add way to control mkfs.minix time stamps [Sami Kerola] + - always kill helper [Ruediger Meier] + - avoid &>> for bash compatibility [Ruediger Meier] + - check dmesg message coloring [Sami Kerola] + - check script options work as expected [Sami Kerola] + - check timestamp formats [Sami Kerola] + - config.h lives in build directory [Ruediger Meier] + - disarm tailf test [Ruediger Meier] + - fix cramfs/mkfs for BE and different pagesizes [Ruediger Meier] + - fix fdisk/bsd for ppc64le [Ruediger Meier] + - fix getopt for old glibc [Ruediger Meier] + - fix kill/all_processes [Ruediger Meier] + - fix logger device pathname too long [Ruediger Meier] + - fix minix test [Karel Zak] + - fix minix tests filenames [Karel Zak] + - fix sfdisk GPT test [Karel Zak] + - fix, don't call ts_die from subshell [Ruediger Meier] + - improve readability for fdisk/bsd [Ruediger Meier] + - introduce TS_LOOP_DEVS for cleanup [Ruediger Meier] + - introduce ts_cleanup_on_exit() [Ruediger Meier] + - logger with socat device [Ruediger Meier] + - logger, validate written socket data [Ruediger Meier] + - logger/errors does not use --no-act [Ruediger Meier] + - loop tests, don't call ts_die() with DEVICE parameter [Ruediger Meier] + - make libmount context tests sensitive to USE_LIBMOUNT_FORCE_MOUNTINFO [Karel Zak] + - make libmount python context tests sensitive to USE_LIBMOUNT_FORCE_MOUNTINFO [Karel Zak] + - more error handling in mount/move (refactor) [Ruediger Meier] + - more(1) depends on terminal, force to TERM=linux [Karel Zak] + - mount/move also tests findmnt vs. mountpoint [Ruediger Meier] + - mount/rlimit tries to restore mtab [Ruediger Meier] + - never use -o pipefail [Ruediger Meier] + - optionally skip tests where loop support is needed [Ruediger Meier] + - remove private2 dir from mount/move [Karel Zak] + - remove warning from test output [Ruediger Meier] + - require wipefs for sfdisk/gpt [Karel Zak] + - scsi_debug tests, don't call ts_die() with DEVICE parameter [Ruediger Meier] + - simplify common logger options [Ruediger Meier] + - some more mount error handling [Ruediger Meier] + - start script/race test only when --force specified [Karel Zak] + - try mkfs & mount all supported minix versions [Karel Zak] + - ts_scsi_debug_init() sleeps a bit earlier [Ruediger Meier] + - update build-sys tests [Karel Zak] + - update fdisk BSD [Karel Zak] + - update lscpu tests (due to CPU flags in output) [Karel Zak] + - update sfdisk --dump test [Karel Zak] + - update static build test [Karel Zak] + - use --no-act for logger tests [Karel Zak] + - use ts_skip for logger/journald [Karel Zak] + - verify logger return value [Ruediger Meier] +textual: + - adjust grammar and punctuation of some messages [Benno Schulenberg] +tools: + - add err_oom() to smatch no_return_funcs [Karel Zak] + - add hexdump badconv() to noreturn smatch list [Karel Zak] + - add libfdisk docs to kernel.org release generator [Karel Zak] + - stop checkmans.sh validating libtool builds [Sami Kerola] +travis: + - add MAKE_CHECK_OPTS [Karel Zak] + - install socat >= 1.7.2 [Ruediger Meier] + - move install script to .travis-functions.sh [Ruediger Meier] + - whitelist travis* branches [Ruediger Meier] +travise: +tunelp: + - remove get_val() in favour of strtol_or_err() [Sami Kerola] + - remove unnecessary preprocessor directives [Sami Kerola] + - use parse_switch() [Sami Kerola] +unshare: + - add --propagation, use MS_PRIVATE by default [Karel Zak] + - allow persisting mount namespaces [Karel Zak] + - allow persisting namespaces [Karel Zak] + - remove angular brackets from literal argument in usage text [Benno Schulenberg] + - remove duplicate [make checkincludes] [Karel Zak] +wall: + - do not use a temporary file. [Karel Zak, Jann Horn] +whereis: + - make "-BMS -f" more obvious in usage() [Karel Zak] + - tell when mandatory option is missing [Sami Kerola] + - trivial spelling and grammar fix [Mike Place] +zramctl: + - add MEM-LIMIT, MEM-USED and MIGRATED columns [Karel Zak] + - add link to kernel documentation [Sami Kerola] + - support /sys/block/zram/mm_stat [Karel Zak] diff --git a/Documentation/releases/v2.28-ReleaseNotes b/Documentation/releases/v2.28-ReleaseNotes new file mode 100644 index 0000000..795f67f --- /dev/null +++ b/Documentation/releases/v2.28-ReleaseNotes @@ -0,0 +1,725 @@ +Util-linux 2.28 Release Notes +============================= + +Now cfdisk, sfdisk and fdisk wipe all filesystem and RAID signatures when +creating a new disk label in interactive mode. It's possible to control this +feature with --wipe[=auto|never|always]. For non-terminals the feature is +disabled by default. + +lsns -- this NEW COMMAND lists information about all currently accessible +namespaces or about the given namespace. + +The command sfdisk supports new operations --delete, --move-data and --reorder. + +The command blkdiscard supports a new option --zeroout to zero-fill rather than +discard a specified area. + +The command cal supports a new option --span to span the date when displaying +multiple months (e.g. "cal --span --months 5" to display two months before and +two months after the current month). + +The command chrt supports the DEADLINE scheduling class and the new options +--sched-runtime --sched-period and --sched-deadline. + +The command logger supports RFC 5424 structured data through the new options +--sd-id and --sd-param. + +The command losetup supports a new option --direct-io[=on|off]. + +The command lsblk allows to sort output by unprinted columns (e.g. lsblk +--output NAME --sort SIZE). + +The command mount applies the nofail mount option to ENOMEDIUM errors. + +The commands nsenter and unshare support a new option --cgroup for work with +cgroups namespaces (CLONE_NEWCGROUP). + +The library libmount has been improved to properly detect already mounted btrfs +subvolumes. + +The library libsmartcols has been massively improved to print table ranges, +multi-line cells, table titles and to support continuous printing. + +The package build system and code have been improved to be more portable to +non-Linux systems (BSD, OSX). + +The package does not provide fallback solutions for openat-family functions +anymore. + +The python binding for libsmartcols is available in separate project at +https://github.com/ignatenkobrain/python-smartcols. + + +Security issues +--------------- + +CVE-2016-2779 + +This security issue is NOT FIXED yet. It is possible to disable the ioctl +TIOCSTI by setsid() only. Unfortunately, setsid() has well-defined use cases +in su(1) and runuser(1) and any changes would introduce regressions. It seems +we need a better way -- ideally another ioctl (or whatever is supported by the +kernel) to disable TIOCSTI without setsid(). + + +Stable maintenance releases between v2.27 and v2.28 +--------------------------------------------------- + +util-linux 2.27.1 [Nov 11 2015] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.27/v2.27.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.27/v2.27.1-ChangeLog + + +Changes between v2.27 and v2.28 +------------------------------- + +agetty: + - add support for \e in issue file to print \033 [Karel Zak] + - don't ignore netlink on select() [Karel Zak] + - fix chown(3), chmod(3) and open(3) race [Sami Kerola] + - remove atoi() from argv[] parsing [clang analyze] [Karel Zak] + - support \e{name} for issue file [Karel Zak] + - tweak formatting and some wordings in the man page [Benno Schulenberg] +bash-completion: + - add cal --span [Karel Zak] + - curly brace missed for findmnt [Alexander Kuleshov] + - fsck.cramfs, isosize find files an argument [Sami Kerola] + - fstrim use mountpoint, not device [Andreas Henriksson] + - ipcmk add missing completion file [Sami Kerola] + - lslogins add missing completion file [Sami Kerola] + - lsns add missing completion file [Sami Kerola] + - update chrt completion [Sami Kerola] +blkdiscard: + - add --zeroout (BLKZEROOUT ioctl) [Karel Zak] + - don't report "zero range" at the end [Ruediger Meier] + - fix stats reporting (off by one) [Ruediger Meier] + - fix timeval comparison inclusive usecs [Ruediger Meier] + - slice up the recently changed usage text [Benno Schulenberg] +blkid: + - don't mark zfs as RAID [Karel Zak] +blkid, uuidd, uuidgen: + - assume getopt.h and getopt.h are available [Sami Kerola] +build-sys: + - Properly order install dependencies of pylibmount [Filipe Brandenburger] + - add --disable-ipcrm --disable-ipcs [Ruediger Meier] + - add --disable-logger and --disable-lslogins [Ruediger Meier] + - add and use openat build conditionals [Ruediger Meier] + - add lsns to gitignore [Karel Zak] + - add missing "not found" strings [Ruediger Meier] + - always add AM_CFLAGS [Ruediger Meier] + - always use global LDADD [Ruediger Meier] + - build_init should check for flock [Ruediger Meier] + - bump also PACKAGE_VERSION_RELEASE number [Karel Zak] + - check linker support for version scripts [Ruediger Meier] + - chrt requires a sched_set* function [Ruediger Meier] + - disable login-utils if shadow.h or utmp.h is missing [Ruediger Meier] + - disable unused parameter warnings for some test progs [Ruediger Meier] + - fix [g]libtoolize version for OSX [Ruediger Meier] + - fix again UL_SCANF_TYPE_MODIFIER [Ruediger Meier] + - fix cap-ng configure flag handling [Mike Frysinger] + - fix if..endif for *_la_LDFLAGS [Karel Zak] + - fix libtoolize for OSX [Ruediger Meier] + - fix typo [Romain Naour] + - fix typo and more all RT to the same place [Karel Zak] + - happy new year... [Karel Zak] + - ignore vim .swp files [Ruediger Meier] + - improve uuidd and script build conditions [Ruediger Meier] + - install missing bash completions [Ruediger Meier] + - no need to un-ignore tracked files [Ruediger Meier] + - portable usage of find command [Ruediger Meier] + - pylibmount, mount context is Linux only [Ruediger Meier] + - release++ (v2.28-rc1) [Karel Zak] + - release++ (v2.28-rc2) [Karel Zak] + - remove AM_CONDITIONAL from UL_CHECK_SYSCALL [Karel Zak] + - remove duplicate cal sources [Ruediger Meier] + - remove libtermcap support [Sami Kerola] + - some libmount test progs are Linux only [Ruediger Meier] + - use $PKG_CONFIG [Karel Zak] + - use AC_PROG_MKDIR_P and remove a few gnuisms [Ruediger Meier] + - use REALTIME_LIBS [Karel Zak] +buildsys: + - fix static configuration and building [Lada Trimasova] +cal: + - Add --span option [Deiz] + - Track date span independently from months_in_row [Deiz] + - remove libtermcap arguments to my_tgetstr() [Sami Kerola] +cfdisk: + - use new libsmartcols functionality to fix output [Karel Zak] + - wipe device if create a new label [Karel Zak] +chfn: + - improve formatting and wording of the manpage [Benno Schulenberg] +chrt: + - add control struct [Karel Zak] + - add support for SCHED_DEADLINE [Karel Zak] + - fix case SCHED_RR [Ruediger Meier] + - make --sched-* short options to require an argument [Sami Kerola] + - make man page more structured [Karel Zak] + - make usage more readable [Karel Zak] + - output function refactoring [Karel Zak] + - remove duplicate words and tweak some phrasings in the man page [Benno Schulenberg] + - restore removed ifdef SCHED_RESET_ON_FORK [Ruediger Meier] + - set function refactoring [Karel Zak] + - use sched_getattr() [Karel Zak] + - use sched_setattr() if available [Karel Zak] +colcrt: + - minor cosmetic changes [Karel Zak] + - reimplementation [Sami Kerola] +column: + - ignore non-printable chars [Karel Zak] +ctrlaltdel: + - display setting when ran without arguments [Sami Kerola] + - improve error messaging [Sami Kerola] + - tweak the wording in the man page [Benno Schulenberg] + - use path.h to read /proc [Karel Zak] + - use reboot() provided by libc, assuming it is 1-adic. [Casper Ti. Vector] +dmesg: + - improve grammar and consistency of usage text [Benno Schulenberg] +dmseg: + - slightly improve punctuation and formatting of the manpage [Benno Schulenberg] +doap: + - fix download URL [Karel Zak] +docs: + - add note about CLONE_NEWCGROUP support [Karel Zak] + - add note about libsmartcols Python binding [Karel Zak] + - add to TODO file [Karel Zak] + - fix typos found by codespell [Ruediger Meier] + - improve grammar and wording in the 2.28 release notes [Benno Schulenberg] + - miscellaneous tiny tweaks of man pages [Benno Schulenberg] + - update AUTHORS file [Karel Zak] + - update AUTHORS file [Sami Kerola] + - update TODO file [Karel Zak] + - update ctrlaltdel.8 man page [Sami Kerola] + - update v2.28-ReleaseNotes [Karel Zak] +exec_shell: + - prevent basename from modifying env [Ruediger Meier] +fallocate: + - improve synopsis and spelling in man page [Benno Schulenberg] + - restore man-page content that was deleted in commit 5b033bfd [Benno Schulenberg] +fdformat: + - fix block device open race [Sami Kerola] +fdisk: + - add --wipe [Karel Zak] + - fix the grammar of an option description [Benno Schulenberg] + - fix warning, incompatible pointer types passing 'uint64_t *' [Ruediger Meier] + - fix warning, uninitialized variable [Ruediger Meier] + - make 'f' command more verbose [Karel Zak] + - remove dead assignment [clang analyze] [Karel Zak] + - remove unused include sysfs.h [Ruediger Meier] + - sun, undef HAVE_QSORT_R for non-Linux [Ruediger Meier] + - to recognize Intel Rapid Start hibernation partition [Jörg Jenderek] + - to recognize partition type 0xEA (Rufus) [Jörg Jenderek] +fdisk, cfdisk, sfdisk: + - improve the grammar of three messages [Benno Schulenberg] +fdisk, sfdisk: + - adjust some formatting in the man pages [Benno Schulenberg] + - adjust the wording of the --wipe option [Benno Schulenberg] +findmnt: + - improve formatting and wording of the man page [Benno Schulenberg] + - use scols_table_print_range() for --poll [Karel Zak] +fsck: + - retire stat(3) when access(3) does better job [Sami Kerola] +fsck.minix: + - fix v3 version offset [Ruediger Meier] +fstrim: + - a few tiny tweaks of the man page [Benno Schulenberg] + - add reference to blkdiscard [Karel Zak] + - systemd timer units should be WantedBy=timers.target [Peter Hoeg] +getopt: + - fix -n name for BSD [Ruediger Meier] + - make sure setprogname provided by non-Linux system [Karel Zak] +hexdump: + - certain long options should not accept arguments [Phil Ruffwind] + - fix a typo and tweak some wordings in the manpage [Benno Schulenberg] +hwclock: + - change audit message [Karel Zak] + - fix format specifier [cppcheck] [Boris Egorov] + - remove extra space from --show output [Karel Zak] + - use labs() for long [Karel Zak] +hwclock.c, hwclock.8.in: + - new --show format [J William Piggott] +include: + - add missing header file [Karel Zak] + - add missing includes [Ruediger Meier] + - check for sys/sysmacros.h [Ruediger Meier] + - fix sys/sysinfo.h [Ruediger Meier] + - move sys/sysmacros.h to c.h [Karel Zak] + - provide MAP_ANONYMOUS on OSX [Ruediger Meier] + - remove now useless linux_reboot.h. [Casper Ti. Vector] + - remove unused mntent.h [Ruediger Meier] +include/bitops: + - add casts to bswap functions [Ruediger Meier] + - avoid fallbacks for more systems [Ruediger Meier] +include/fileutils: + - add is_same_inode() check [Sami Kerola] +include/pt-mbr-partnames: + - remove '|' from partition type name [Karel Zak] +ipcs: + - --shmems, upward/backward compatibility [Ruediger Meier] + - consolidate output header printing [Ruediger Meier] + - fix ipc_sem_get_limits() [Karel Zak] + - make static analyzer happy [clang analyze] [Karel Zak] + - make sure to parse whole lines for shm_data [Ruediger Meier] + - show gid instead of uid [Hushan Jia] + - ulong -> unsigned long [Ruediger Meier] +isosize: + - stop unmeaningful printing errno message [Sami Kerola] +last: + - display input file in usage() according to command name [Sami Kerola] +lib: + - define LOGIN_NAME_MAX fallback [Ruediger Meier] + - fix ismounted includes for FreeBSD [Ruediger Meier] + - fix unused parameters and variables [Ruediger Meier] + - include strutils.h for mempcpy() [Ruediger Meier] + - include sys/stat.h for struct stat [Ruediger Meier] + - move fopen_at() to fileutils.h, remove at.h [Ruediger Meier] + - provide fallback if mkostemp(3) missing [Ruediger Meier] + - remove openat fallback functions (include/at.h) [Ruediger Meier] + - remove unused variable [Ruediger Meier] + - rename strmode() and setmode() [Ruediger Meier] +lib/blkdev: + - add open_blkdev_or_file() function [Sami Kerola] +lib/color: + - add more ESC seq. [Karel Zak] +lib/crc32: + - don't require to modify GPT header [Karel Zak] +lib/linux_version: + - avoid major and minor shadowing [Karel Zak] +lib/mbsalign: + - fix warnings when compile without widechars [Karel Zak] +lib/path: + - ifdef path_set_prefix() like in path.h [Ruediger Meier] +lib/strutils: + - add more ERANGE messages [Ruediger Meier] + - fix errno usage in strtoint functions [Ruediger Meier] + - parse_size(), sync errno and return value [Ruediger Meier] + - use int for fgetc() [Karel Zak] +lib/strv: + - add strv_extendv() [Karel Zak] +lib/sysfs: + - make sysfs_get_devname()/blkid_devno_to_wholedisk() more robust [Karel Zak] +lib/tty: + - Pass default width to get_terminal_width() [Boris Egorov] +libblkid: + - (promise raid) cleanup code [Karel Zak] + - (zfs) add cast to fix UB [cppcheck] [Boris Egorov] + - (zfs) keep bufferes read-only [Karel Zak] + - Update for newer bcache superblocks [Kent Overstreet] + - add read() based fallback for char (UBI) devs [Karel Zak] + - check limits before indexing array [cppcheck] [Boris Egorov] + - don't include endian.h [Ruediger Meier] + - fix buffers mapping on 32bit archs [Karel Zak] + - fix compiler warnings [-Wmissing-prototypes] [Ruediger Meier] + - make XFS Log visible for wipefs [Karel Zak] + - make minix prober more robust [Karel Zak] + - revert mmap usage [Karel Zak] + - use internally uint64_t for offsets and sizes [Karel Zak] + - use mmap() rather than read() [Karel Zak] +libblkid,libmount: + - Do not use void* in calculations [cppcheck] [Boris Egorov] +libcommon: + - don't include sysinfo.h [Ruediger Meier] +libfdisk: + - (bsd) fix spelling in warning message [Benno Schulenberg] + - (gpt) control ranges in set_partition [Karel Zak] + - (gpt) reword two error messages with a sense of direction [Benno Schulenberg] + - Add GPT type GUID for Itanium Linux root [Andrew Wilcox] + - Detect out-of-space when adding new primary partition [Ian Wienand] + - Fix order of C/H/S numbers output [Andreas Henriksson] + - add API to control signatures wiping [Karel Zak] + - add missing break [Karel Zak] + - add more debug message to resize code [Karel Zak] + - fix compiler warnings [-Wmissing-prototypes] [Ruediger Meier] + - fix missing symbol [Ruediger Meier] + - fix partition move/resize code [Karel Zak] + - fix ref.counting in fdisk_apply_script() [clang analyze] [Karel Zak] + - fix typo [Karel Zak] + - fix warnings, "redundant redeclaration" [-Wredundant-decls] [Ruediger Meier] + - remove ifdef HDIO_GETGEO [Ruediger Meier] +libmount: + - (monitor) don't check for regular mtab [Karel Zak] + - (monitor) remove unnecessary epoll EPOLLPRI [Karel Zak] + - Fix possible NULL dereference in get_btrfs_fs_root() [Karel Zak] + - Typo fix [Stanislav Brabec] + - add 'force-mountinfo' to features list, improve debug [Karel Zak] + - add cgroup2 pseudo FS [Karel Zak] + - add comment, remove TODO item [Karel Zak] + - add loop to debug output [Karel Zak] + - add mnt_fs_set_priority() [Ruediger Meier] + - cleanup btrfs.c header [Karel Zak] + - code re-indentation [Stanislav Brabec] + - consolidate btrfs stuff, make it more portable [Karel Zak] + - don't include libio.h [Ruediger Meier] + - fix is-mounted check for btrfs [Karel Zak] + - fix memleak in mnt_pretty_path() [Karel Zak] + - fix mnt_table_is_fs_mounted() for loopdev [Karel Zak] + - fix mnt_table_is_fs_mounted() loopdev use [Karel Zak] + - fix target resolving for btrfs stuff [Karel Zak] + - fix uid= and gid= translation [Karel Zak] + - follow docs with parse-error callback return code [Karel Zak] + - handle btrfs default subvolume mount [Stanislav Brabec] + - improve conversion from root= to the devname [Karel Zak] + - move btrfs subvol code refactoring [Karel Zak] + - result of operation is garbage or undefined [clang analyze] [Karel Zak] + - run btrfs subvol checks for "auto" fs type [Stanislav Brabec] + - run btrfs subvol checks for "subvolid" option [Stanislav Brabec] + - use fstatat(AT_NO_AUTOMOUNT) for mountpoints [Karel Zak] +libsmartcols: + - add 'Since' tag for gtkdoc for some functions [Igor Gnatenko] + - add JSON to the test application [Karel Zak] + - add SCOLS_FL_HIDDEN [Karel Zak] + - add few methods to get information about title [Igor Gnatenko] + - add new functions to docs [Karel Zak] + - add sample-scols-continuous [Karel Zak] + - add samples directory [Karel Zak] + - add scols_column_is_hidden into sym file [Igor Gnatenko] + - add scols_column_is_wrap to docs [Igor Gnatenko] + - add scols_table_enable_nowrap() [Karel Zak] + - add scols_table_print_range() [Karel Zak] + - add title to the test application [Karel Zak] + - add wrap.c sample [Karel Zak] + - allow to reduce tree columns [Karel Zak] + - allow to set data by reference to libscols_column [Karel Zak] + - be sure column is unused [Karel Zak] + - document v2.27 symbols [Karel Zak] + - don't loose colors when wrapping [Igor Gnatenko] + - don't sort if cmpfunc() is not set [Karel Zak] + - don't try to align title if it's more that term [Igor Gnatenko] + - don't use fprintf() when count cells [Karel Zak] + - fill wrapped lines with space instead of 'x' [Igor Gnatenko] + - fix relative column width for maxout [Karel Zak] + - fix right-aligned logic for last column [Karel Zak] + - fix samples build, add title.c [Karel Zak] + - fix scols_table_print_range() to print header [Karel Zak] + - fix stupid typo [Karel Zak] + - fix title aligning to center [Igor Gnatenko] + - fix title sample [Karel Zak] + - fix uninitialized variable [Ruediger Meier] + - implement SCOLS_FL_WRAP [Igor Gnatenko] + - implement scols_table_print_range_to_string [Igor Gnatenko] + - implement title of table [Igor Gnatenko] + - make SCOLS_FL_WRAP usable in tree [Karel Zak] + - make output buffer size estimation more robust and elegant [Karel Zak] + - make sure we have space for ascii art [Karel Zak] + - position of title in fact unsigned [Igor Gnatenko] + - print title only with SCOLS_FMT_HUMAN [Igor Gnatenko] + - put new line after title [Igor Gnatenko] + - reduce also SCOLS_FL_WRAP columns [Karel Zak] + - reflect changinging SCOLS_FL_TREE after adding to table [Igor Gnatenko] + - rewrite ./sample-scols-wrap [Karel Zak] + - set everything once in scols_table_set_title() [Igor Gnatenko] + - support continuous printing [Karel Zak] + - support multi-line cells [Karel Zak] + - support multibyte titles, rename wrap to padding [Karel Zak] + - use libscols_cell for title [Karel Zak] + - use symbols for title wrap [Igor Gnatenko] + - wrap columns correctly with unicode [Igor Gnatenko] +libuuid: + - fix buffer overflow with long paths [Karel Zak] +line: + - keep stdin unbuiffered [Karel Zak] +logger: + - add --sd-id and -sd-param [Karel Zak] + - always update header when writing stdin line [Karel Zak] + - correct the grammar of an error message [Benno Schulenberg] + - fix compiler warning, const facilitynames [Ruediger Meier] + - fix memory leak [ASAN and valgrind] [Sami Kerola] + - fix messages separation on UNIX socket [Karel Zak] + - improve grammar and formatting of the manpage [Benno Schulenberg] + - keep man page consistent and use \- everywhere [Karel Zak] + - remove unnecessary comment [Karel Zak] + - shadow declaration [Sami Kerola] + - sort the options in the manpage alphabetically [Benno Schulenberg] + - use --id as local socket credentials [Karel Zak] + - use SCM_CREDENTIALS on LINUX only [Ruediger Meier] + - use iovec and sendmsg() to send message [Karel Zak] + - use iovec for all message [Karel Zak] +login: + - fix stat(2) race [Sami Kerola] +login, mount: + - fix __SC_GETPW_R_SIZE_MAX usage [Karel Zak] +login-utils: + - minor utmp cleanup [Ruediger Meier] +look: + - consider blanks as directory characters [Karel Zak] +losetup: + - clean up --direct-io [Karel Zak] + - correct some formatting in the man page [Benno Schulenberg] + - support ioctl cmd of LOOP_SET_DIRECT_IO [Ming Lei] + - support list direct io [Ming Lei] +lsblk: + - allow to --sort by hidden column [Karel Zak] + - remove useless warnings [Karel Zak] + - tiny man page update for --sort [Karel Zak] + - use unsigned type for SIZE [Karel Zak] +lscpu: + - Fix model and model name on Power Systems [Vasant Hegde] + - Print physical cpu information [Sukadev Bhattiprolu] + - correct the Virtualization type on Xen DomU PV guest [Dongli Zhang] + - fix backward buffer size adjustment after adding delimiter [Yuriy M. Kaminskiy] + - fix memleak because of ambiguous tags [Ruediger Meier] + - improve spacing and spelling in the man page [Benno Schulenberg] + - keep lscpu usable on snapshots [Karel Zak] + - revert unnecessary path_exist() [Karel Zak] + - use cpu and revision tag if available [Ruediger Meier] +lsipc: + - don't free shm data if no shm id is found [Romain Naour] + - tweak a few wordings on the manpage [Benno Schulenberg] +lsln: + - allows to list namespace processes [Karel Zak] +lslocks: + - use stuff from lib/procutils [Karel Zak] +lslogins: + - fix getgrouplist() usage for 64BE [Karel Zak] +lsns: + - Fix "lowers" -> "lowest" typo in --help for COL_PID [W. Trevor King] + - add USER and UID [Karel Zak] + - add details to the man page [Karel Zak] + - add man page [Karel Zak] + - filter by NS type [Karel Zak] + - fix failure after zombie process [Yuriy M. Kaminskiy] + - fix usage() [Karel Zak] + - improve formatting and wording of the man page [Benno Schulenberg] + - improve man page [Karel Zak] + - new command [Karel Zak] + - read all processes when --task specified [Karel Zak] + - remove unwanted comment [Karel Zak] + - sort namespaces, avoid duplicate entries in tree output [Karel Zak] + - use xcalloc() [Ruediger Meier] +lsns.c: + - fix error return [Yuriy M. Kaminskiy] +mesg: + - fix multiple races [Sami Kerola] +misc: + - again fixing many printf format strings [Ruediger Meier] + - always cast timeval.tv_usec to long rather than int [Ruediger Meier] + - avoid shadowing [Karel Zak] + - fix compiler warnungs (unsigned/signed) [Ruediger Meier] + - fix icc/clang compiler warnings [Ruediger Meier] + - fix printf i386 compiler warnings [Ruediger Meier] + - fix some includes [Ruediger Meier] + - fix some printf format strings [Ruediger Meier] + - fix warnings "unused parameter" [-Wunused-parameter] [Ruediger Meier] + - never cast void* from malloc(3) and friends [Ruediger Meier] + - remove duplicate includes [Karel Zak] + - remove path name definitions that are unused [Sami Kerola] + - safer (and uniform) handling of return value [Yuriy M. Kaminskiy] +misc-utils: + - build test_uuidd only if BUILD_UUIDD [Ruediger Meier] +mkfs.bfs: + - allow creating file system to a file [Sami Kerola] + - fix block device open race [Sami Kerola] +mkfs.minix: + - fix block device open race [Sami Kerola] + - fix v2/v3 .badblocks inode number for big endian [Ruediger Meier] +mkswap: + - add warnings for insecure device permissions/owners [Wayne R. Roth] + - fix block device open race [Sami Kerola] +more: + - remove unnecessary compatibility layer [Karel Zak] +mount: + - adjust some wordings and formatting in the man page [Benno Schulenberg] + - allow nofail to silence ENOMEDIUM cases [Mike Frysinger] + - further improve formatting of the man page [Benno Schulenberg] + - hardwrap an overlong example in the man page [Benno Schulenberg] + - mount.8 Add documentation of overlay mount options [Osamu Aoki] +mount, umount, swapon, fsck, lsblk, findmnt: + - harmonize six error messages [Benno Schulenberg] + - ignore malformed lines [Karel Zak] +namei: + - move icache to lib/ [Karel Zak] +newgrp: + - rename memset_s() [Ruediger Meier] +nologin: + - require /etc/nologin.txt to be file [Sami Kerola] +partx: + - fix --nr usage [Karel Zak] + - prevent code duplication [Karel Zak] +po: + - merge changes [Karel Zak] + - update cs.po (from translationproject.org) [Petr Písař] + - update de.po (from translationproject.org) [Philipp Thomas] + - update es.po (from translationproject.org) [Antonio Ceballos Roa] + - update ja.po (from translationproject.org) [Takeshi Hamasaki] + - update nl.po (from translationproject.org) [Benno Schulenberg] + - update pl.po (from translationproject.org) [Jakub Bogusz] + - update pt_BR.po (from translationproject.org) [Rafael Fontenelle] + - update ru.po (from translationproject.org) [Evgeniy Yakushev] + - update sv.po (from translationproject.org) [Sebastian Rasmussen] + - update uk.po (from translationproject.org) [Yuri Chornoivan] + - update zh_CN.po (from translationproject.org) [Wylmer Wang] +prlimit: + - cleanup output units [Karel Zak] +readprofile: + - add scanf field width limits [cppcheck] [Boris Egorov] +rename: + - add example to the man page [Kaligule] +scols/table_print: + - restore old stream after printing to str [Igor Gnatenko] +script: + - be pedantic and use "%"SCNi64 [Karel Zak] + - don't assume that time_t is compatible with long [Isaac Dunham] + - fix misspelling [Ruediger Meier] + - tweak spacing and wording, and restore filling in the man page [Benno Schulenberg] +script, hwclock: + - check file exist with access(3) rather than stat(3) [Sami Kerola] +scriptreplay/newgrp: + - use signed int to store return of getopt_long [Filipe Brandenburger] +setarch: + - add "exec" message to --verbose [Ruediger Meier] + - fix personality syscall return code check [Dmitry V. Levin] +setsid: + - fix argument count bug [Sami Kerola] +sfdisk: + - add 'U' shortcut for ESP [Karel Zak] + - add --delete [Karel Zak] + - add --move-data [Karel Zak] + - add --reorder [Karel Zak] + - add --wipe [Karel Zak] + - add ESP shortcut also for Legacy MBR [Karel Zak] + - adjust more wordings and formatting in the man page [Benno Schulenberg] + - cleanup and optimize --move-data [Karel Zak] + - fix -N return code detection, add debug messages [Karel Zak] + - improve the wording of seven error messages [Benno Schulenberg] + - make --quiet really quiet [Karel Zak] +sfdisk, fdisk: + - add fflush() [Karel Zak] +su: + - clean up groups initialization [Karel Zak] +sulogin: + - Always make echo work after performing getpasswd even if root account is locked [Werner Fink] + - Use fallback method on the Hurd for detecting consoles [James Clarke] + - avoid shared memory area usemask but use waitid() for childs [Werner Fink] + - fix sigset_t initialization [Karel Zak] + - ignore missing WEXITED, add warning [Ruediger Meier] + - keep initialization more robust [Karel Zak] +swapon: + - add control struct [Sami Kerola] + - do not run execvp() calls when swapon is setuid binary [Sami Kerola] + - drop perms if setuid before call mkswap [Karel Zak] + - fix discard=pages docs [Richard Yao] + - fix stat(3) and open(3) race [Sami Kerola] + - move function arguments to control structure [Sami Kerola] + - remove unnecessary assert [Karel Zak] + - rewrite control struct usage [Karel Zak] + - simplify ctl->device usage [Karel Zak] +taskset: + - fix description of `-c` option in the man page [Yuriy M. Kaminskiy] +tests: + - --parallel prints results in a single line [Ruediger Meier] + - add DM error target for blkid [Karel Zak] + - add btrfs mount tests [Stanislav Brabec] + - add colcrt functional tests [Sami Kerola] + - add fdisk/bsd hexdump for alpha [Ruediger Meier] + - add logger tests "id _numbers_ with spaces" [Ruediger Meier] + - add missing files [Karel Zak] + - add new fdisk bsd test [Karel Zak] + - add option --parsable [Ruediger Meier] + - add sfdisk --move-data test [Karel Zak] + - add some check_test_command requirements [Ruediger Meier] + - add some line tests [Ruediger Meier] + - add test for loop option in fstab [Stanislav Brabec] + - add uuid parser check [Sami Kerola] + - add uuidd output check [Sami Kerola] + - add uuidgen output check [Sami Kerola] + - always create sparse image files [Ruediger Meier] + - avoid sed -E [Ruediger Meier] + - blkdiscard, check return values [Ruediger Meier] + - check for TS_HELPER_SYSINFO in swap tests [Karel Zak] + - cramfs, fix root group [Ruediger Meier] + - disable eject for broken kernels [Ruediger Meier] + - don't compare btrfs mount options [Karel Zak] + - don't skip case "output undefined" [Ruediger Meier] + - don't use mkfs.btrfs option -f [Ruediger Meier] + - don't use system's mount commands [Ruediger Meier] + - fallback for missing TS_DESC [Karel Zak] + - fix compiler warnings [-Wmissing-prototypes] [Ruediger Meier] + - fix fdisk/bsd for alpha [Ruediger Meier] + - fix fdisk/bsd for hppa [Ruediger Meier] + - fix minix tests for big endian [Ruediger Meier] + - fix non-working udevadm settle for scsi_debug [Ruediger Meier] + - fix redirection [Stanislav Brabec] + - fix run.sh --parallel=1 [Ruediger Meier] + - fix ts_option helpers [Ruediger Meier] + - getopt2, add function gnu_getopt_clean() [Ruediger Meier] + - hotfix, wait for scsi_debug partion [Ruediger Meier] + - ignore setarch on sparc [Karel Zak] + - ignore swapon warnings [Ruediger Meier] + - improve getopt loop error case [Ruediger Meier] + - improve setarch tests, regarding --uname-2.6 issues [Ruediger Meier] + - improve skipping of old btrfs-tools [Ruediger Meier] + - make libmount/lock optional [Karel Zak] + - make swaplabel test more robust [Karel Zak] + - make test_uuid_parser to read files [Sami Kerola] + - mark old bsd fdisk test as deprecated [Karel Zak] + - mark script race test as "known fail" [Karel Zak] + - minix, add a useful non-root check [Ruediger Meier] + - minix, some corrections and cleanup [Ruediger Meier] + - minix, use hexdump instead of md5sum [Ruediger Meier] + - minor cleanup ts_fdisk_clean() [Ruediger Meier] + - mkfs.ext3 image-file needs option -F [Ruediger Meier] + - no more sleep, udevadm settle only [Ruediger Meier] + - remove deprecated md5sum based fdisk/bsd test [Ruediger Meier] + - remove invalid argument in libmount/debug [Ruediger Meier] + - remove redundant check for NULL [cppcheck] [Boris Egorov] + - replace username with tag in logger test [Karel Zak] + - sfdisk/gpt-reorder, add missing results [Ruediger Meier] + - skip BLKDISCARD if unsupported [Ruediger Meier] + - skip automake's empty "Testsuite summary" [Ruediger Meier] + - skip btrfs tests if version too old [Ruediger Meier] + - skip ipcs test which require /proc [Ruediger Meier] + - skip nonroot before checking for progs in PATH [Ruediger Meier] + - skip old socat silently [Ruediger Meier] + - ts_fdisk_clean(), remove optimal iosize [Ruediger Meier] + - udevadm settle before losetup -d [Ruediger Meier] + - update ZFS test [Karel Zak] + - update and extend logger tests [Karel Zak] + - update build-sys tests [Karel Zak] + - update colcrt test expectations [Sami Kerola] + - update swapfile output [Karel Zak] + - use sfdisk --no-reread wherever it's needed [Ruediger Meier] + - use xz instead of bzip2 for blkid images [Ruediger Meier] + - wipefs fix, ts_init was called too late [Ruediger Meier] +tools: + - add checkcompletion.sh [Karel Zak] + - add missing checkcompletion.sh [Karel Zak] +travis: + - Remove workaround for libtool install of pylibmount [Filipe Brandenburger] + - add OSX build [Ruediger Meier] + - cosmetics, order scripts like they are executed [Ruediger Meier] + - install mdadm [Ruediger Meier] + - let's ignore apt-get return code [Karel Zak] + - minor cleanup [Ruediger Meier] + - switch to Ubuntu 14.04 Trusty [Ruediger Meier] + - workaround env pollution, PYTHON_CFLAGS [Ruediger Meier] +umount: + - add man page note that --force is not perfect [Karel Zak] +unshare: + - add example for persistent mount namespace [Karel Zak] + - describe the setgroups restriction more explicitly [Benno Schulenberg] + - fix busyloop and reduce racing probability [Yuriy M. Kaminskiy] + - fix incomplete sentence in man page [Karel Zak] + - improve wording and formatting in the man page [Benno Schulenberg] + - replace a special character in the man page with a space [Benno Schulenberg] + - tiny change [Karel Zak] +uuidd: + - add debug message for timeout [Karel Zak] + - correct the wording of an error message [Benno Schulenberg] + - fix compiler warning [-Wsign-compare] [Karel Zak] + - fix shadow declaration [Sami Kerola] + - improve socket activation error messaging [Sami Kerola] + - slice up the usage text and normalize its layout [Sami Kerola] + - use cxt->quiet [Karel Zak] + - use signalfd() and setup_timer() [Sami Kerola] +vipw: + - Remove pre-ANSI compiler support [Romain Naour] + - make tmp_file usage more robust [clang analyze] [Karel Zak] + - print only one new line when asking about shadow file [Sami Kerola] + - use puts() when formatting unnecessary [Karel Zak] +wipefs: + - Allow b to be used as the short option for backup [Bill Pemberton] +wipefs, sfdisk: + - include libgen.h for basename(3p) [Ruediger Meier] +zramctl: + - fix lists of the all devices [Karel Zak] + - fix typo [Karel Zak] diff --git a/Documentation/releases/v2.29-ReleaseNotes b/Documentation/releases/v2.29-ReleaseNotes new file mode 100644 index 0000000..4d73312 --- /dev/null +++ b/Documentation/releases/v2.29-ReleaseNotes @@ -0,0 +1,587 @@ +Util-linux 2.29 Release Notes +============================= + +Security issues +--------------- + +CVE-2016-2779 + +This security issue is NOT FIXED yet. It is possible to disable the ioctl +TIOCSTI by setsid() only. Unfortunately, setsid() has well-defined use cases +in su(1) and runuser(1) and any changes would introduce regressions. It seems +we need a better way -- ideally another ioctl to disable TIOCSTI without +setsid() or in userspace implemented pty container (planned as experimental +su(1) feature for v2.30). + + +Stable maintenance releases between v2.28 and v2.29 +--------------------------------------------------- + +util-linux 2.28.2 [Sep 7 2016] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.28/v2.28.2-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.28/v2.28.2-ChangeLog + +util-linux 2.28.1 [Aug 11 2016] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.28/v2.28.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.28/v2.28.1-ChangeLog + +Changes between v2.28 and v2.29 +------------------------------- + +agetty: + - call uname() only when necessary [Karel Zak] + - don't modify argv[] when parse speeds [Karel Zak] + - fix \S usage [Karel Zak] + - move unreachable code to pre-processor #else segment [oclint] [Sami Kerola] +blkdev: + - guard against missing DIOCGDINFO on FreeBSD 11 [Franco Fichtner] +blkdiscard: + - Improve man page [Allon Mureinik] +build-sys: + - add --disable-plymouth-support [Karel Zak] + - add --disable-widechar [Karel Zak] + - add --enable-libuuid-force-uuidd [Ruediger Meier] + - add UL_REQUIRES_COMPILE macro [Karel Zak] + - add missing include/plymouth-ctrl.h [Karel Zak] + - add non-action for ncurses pkg-cong test [Karel Zak] + - add parisc to define ARCH_ [Karel Zak] + - add tools/Makemodule.am [Karel Zak] + - clean up relation between ncurses[w] and wide-char support [Karel Zak] + - cleanup --with-ncurses [Karel Zak] + - fix comments in ul.m4 [Karel Zak] + - fix drone.io builds [Karel Zak] + - fix missing ncursesw message [Ruediger Meier] + - fix typo on ncurses-config command line [Karel Zak] + - fix uClibc-ng scanf check [Waldemar Brodkorb] + - improve libncursesw5 install for travis [Karel Zak] + - release++ (v2.29-rc1) [Karel Zak] + - release++ (v2.29-rc2) [Karel Zak] + - remove dead libsmartcols sample [Karel Zak] + - remove global dependence between widechar and ncursesw [Karel Zak] + - remove obsolete [cs]fdisk LDADDs [Karel Zak] + - remove obsolete comment [Karel Zak] + - test functions does not return void [Sami Kerola] + - use UL_DEFAULT_ENABLE() only for programs [Karel Zak] + - use ncurses-config rather than pkg-config [Karel Zak] + - workaround for autoconf "present but cannot be compiled" [Karel Zak] +cal: + - allow to specify month by name [Karel Zak] + - cleanup man page [Karel Zak] + - cleanup non-ncurses build [Karel Zak] + - remove err message from monthname_to_number() [Karel Zak] + - support abbreviated month names [Karel Zak] + - support alone month name parameter [Karel Zak] + - support timestamps [Karel Zak] + - use %04d for year [Karel Zak] +cfdisk: + - fix mountpoint detection [Karel Zak] + - use libsmartcols ASCII for non-widechar environment [Karel Zak] +cfisk: + - add /dev/vda as another default disk [Karel Zak] +chfn: + - chsh use selinux_check_passwd_access() [Karel Zak] +chrt: + - add fallback to be usable on kernels without sched_{get,set}attr [Karel Zak] + - fix HAVE_SCHED_SETATTR fallback case [Ruediger Meier] + - follow nice setting, prefer sched_setscheduler() [Karel Zak] + - validate priority before trying to use it [Sami Kerola] +colcrt: + - avoid the command getting hung [afl] [Sami Kerola] +cramfs: + - add missing includes [Karel Zak] + - revert crc32 changes [Karel Zak] +debug: + - use const void * for ul_debugobj() [Igor Gnatenko] +deprecated.txt: + - Add sfdisk --show-pt-geometry [Stanislav Brabec] +dmesg: + - --notime should not suppress --show-delta [Sami Kerola] + - drop core at impossible case in read_buffer() [oclint] [Sami Kerola] + - fix indention [Karel Zak] + - use strtimeval_iso() [Karel Zak] +docs: + - Fix various typos [Sebastian Rasmussen] + - add file format note to utmpdump manual page [Sami Kerola] + - add sfdisk scripts quotes issue to TODO file [Karel Zak] + - optinal option arguments should be long-only [Sami Kerola] + - some random fixes [Karel Zak] + - update AUTHORS file [Karel Zak] + - update TODO file [Karel Zak] + - update infor about TIOCSTI [Karel Zak] + - update v2.29-ReleaseNotes [Karel Zak] +fdisk: + - Add support for altering GPT size [Sassan Panahinejad] + - Fix typo RequiredPartiton -> RequiredPartition [Sebastian Rasmussen] + - add --wipe-partitions=auto|never|default [Karel Zak] + - fix compiler warning [Karel Zak] + - fix memleak in list_disk_geometry() [Ruediger Meier] + - make -l behaves like fdisk -l [Thierry Vignaud] + - use PAGER for 'l' command. [Karel Zak] +findmnt: + - (verify) add docs [Karel Zak] + - (verify) add options verification [Karel Zak] + - (verify) add source verification [Karel Zak] + - (verify) add swaparea verification [Karel Zak] + - (verify) check filesystem type [Karel Zak] + - (verify) fix mem leak [coverity scan] [Karel Zak] + - (verify) minor changes in strings [Karel Zak] + - add --verify and --verbose [Karel Zak] + - remove duplicate include [Karel Zak] +flock: + - Introduce no-fork option. [Terry Burton] + - fix no-flock patch [Karel Zak] + - keep run_program() simple [Karel Zak] +fsck: + - fix racing between unlock/unlink and open [Yuriy M. Kaminskiy] + - remove fs-specific options from man page [Karel Zak] +fsck.cramfs: + - don't ignore read() result [coverity scan] [Karel Zak] +fsck.minix: + - Verify more fields in super-block. [Tobias Stoeckmann] + - fix endless loop and out of stack [Karel Zak] +fstrim: + - add -v to the systemd service [Karel Zak] +getops: + - improve getopt-parse.bash example [Sami Kerola] +getopt: + - be sure that options array is terminated [Karel Zak] + - fix memory leaks and integer overflows [ASAN & valgrind] [Sami Kerola] + - keep pointer to 'name' in control struct [Karel Zak] +hwclock: + - use strtimeval_iso() [Karel Zak] +include/closestream: + - define exit codes [Karel Zak] +include/env: + - minor fixes and clean ups [Karel Zak] +include/timeutils: + - rewrite iso formatting functions [Karel Zak] + - use pointer for time_t [Karel Zak] +include/widechar: + - add fallback for WEOF [Karel Zak] + - add missing fallbacks [Karel Zak] +ionice: + - clarify description of --classdata [Daniel Shahaf] +isosize: + - don't ignore read() result [coverity scan] [Karel Zak] + - fix read() result check [Karel Zak] +kill: + - remove pid command-name to option alias [Sami Kerola] +last: + - cleanup time formatting code [Karel Zak] + - fix logout time [Karel Zak] +lib: + - avoid double free in loopdev.c [Sami Kerola] + - try to find tty in get_terminal_name() [Sami Kerola] +lib/crc32: + - prefix public functions [Gustavo Zacarias] +lib/loopdev: + - Set errno in is_loopdev on error [Tobias Stoeckmann] + - cleanup sizelimit check [Karel Zak] +lib/mbsalign: + - fix for non-widechar [Karel Zak] + - free buffer after error [coverity scan] [Karel Zak] +lib/pager: + - cleanup and extend API [Karel Zak] + - fix test [Karel Zak] + - restore signals setting by pager_close() [Karel Zak] +lib/randutils: + - add xsrand() and rand_get_number() [Karel Zak] + - remove unnecessary function [Karel Zak] +lib/strutils: + - make left and right trims more robust [Sami Kerola] +lib/sysfs: + - be more smart for non-scsi devices [Karel Zak] +lib/timeutils: + - add strtime_short() [Karel Zak] + - add strxxx_iso() functions [Karel Zak] +lib/ttyutils: + - use stdout for get_terminal_width() [Karel Zak] +libblkid: + - Add metadata signature check for IMSM on 4Kn drives [Alexey Obitotskiy] + - Avoid OOB access on illegal ZFS superblocks [Tobias Stoeckmann] + - Avoid strlen if only first char is checked [Tobias Stoeckmann] + - Check that cluster size is nonzero when probing exFAT [Rostislav Skudnov] + - [exfat] Limit maximum number of iterations in find_label [Rostislav Skudnov] + - avoid non-empty recursion in EBR [Karel Zak] + - check blkid_parse_tag_string() return code [coverity scan] [Karel Zak] + - don't check nonnull attributes for NULL [-Wnonnull-compare] [Karel Zak] + - fix debugging macro [oclint] [Sami Kerola] + - fix mistake in debug message [Karel Zak] + - ignore empty MBR on LVM device [Karel Zak] + - ignore extended partition at zero offset [Karel Zak] + - improve debug messages [Karel Zak] + - make I/O errors on CDROMs non-fatal [Karel Zak] + - make blkid_do_wipe() work with probes with offset [Petr Uzel] + - reduce probing area for crazy CDROMs [Karel Zak] + - remove unused function [Karel Zak] + - simplify if clause [oclint] [Sami Kerola] + - store only canonical devnames to the cache [Karel Zak] +libcommon: + - add ISO_8601_GMTIME that will print UTC-0 timestamps [Sami Kerola] +libfdisk: + - (docs) add missing version notes [Karel Zak] + - (gpt) be more careful with 64bit constants [Karel Zak] + - (gpt) make attributes parser more robust [Karel Zak] + - (script) make bootable flag parsing more robust [Karel Zak] + - Add support for altering GPT size [Sassan Panahinejad] + - Distinguish between first LBA sector and partition [Tobias Stoeckmann] + - Fix assert error in free space handling [Tobias Stoeckmann] + - add API for work with labelitems [Karel Zak] + - add fdisk_wipe_partition() [Karel Zak] + - add trivial script test [Karel Zak] + - cleanup fdisk_gpt_set_npartitions() [Karel Zak] + - cleanup labelitem initialization [Karel Zak] + - don't offer zero length freespace [Karel Zak] + - fix range checking for fdisk_set_last_lba [Sassan Panahinejad] + - fix script Type= and Id= parsing [Karel Zak] + - fix typo [Karel Zak] + - fix uninitialized fdisk_labelitem [Ruediger Meier] + - make script token parser more robust [Karel Zak] + - make table-length usage more robust [Karel Zak] + - move fdisk_field_...() functions to field.c [Karel Zak] + - use fdisk_add_partition() for unused partno [Karel Zak] + - use table-length in dump for non-standard PT [Karel Zak] +liblkid: + - Add length check in probe_nilfs2 before crc32 [Torsten Hilbrich] + - fix probe_nilfs2 I/O error backup [Karel Zak] +libmount: + - Fix possible crash in mnt_context_setup_loopdev() [Stanislav Brabec] + - Introduce new error MNT_ERR_LOOPOVERLAP [Stanislav Brabec] + - Preserve empty string value in optstr parsing [Filipe Brandenburger] + - Re-organize is_mounted_same_loopfile() [Stanislav Brabec] + - don't check nonnull attributes for NULL [-Wnonnull-compare] [Karel Zak] + - don't support /etc/mtab by default [Karel Zak] + - fix memory leak [Sami Kerola] + - fix mnt_table_parse_mtab() logic [Karel Zak] + - fix mnt_table_parse_stream() logic [Karel Zak] + - fix mount -a for cifs [Aurelien Aptel] + - fix null-checking [coverity scan] [Karel Zak] + - ignore redundant slashes [Karel Zak] + - make kernel_fs_postparse() more robust [Karel Zak] + - one iteration to detect overlap and reuse loopdev [Karel Zak] + - paranoid change in mnt_table_is_fs_mounted() [Karel Zak] + - remove duplicate code [Karel Zak] + - reuse existing loop device [Stanislav Brabec] + - try absolute target before canonicalize [Karel Zak] +libmount, look: + - remove dead code [oclint] [Sami Kerola] +libmout: + - Reuse loop device safely [Stanislav Brabec] +libsmartcols: + - (docs) add missing functions [Karel Zak] + - (docs) add missing version notes [Karel Zak] + - Corrected JSON escaping [Karel Zak, Bryan Elliott] + - add JSON support to sample application [Karel Zak] + - add application to test library features [Karel Zak] + - add fallback for symbols [Karel Zak] + - add functions to control terminal usage [Karel Zak] + - add maxout sample [Karel Zak] + - add scols_column_add_width() [Karel Zak] + - add scols_table_get_name() [Igor Gnatenko] + - add scols_table_is_nolinesep() [Igor Gnatenko] + - add scols_table_is_nowrap() [Igor Gnatenko] + - add support for trees to the sample application [Karel Zak] + - allow to change cell padding char [Karel Zak] + - be consistent, use 'sy' for symbols [Igor Gnatenko] + - be more strict about empty tables [Karel Zak] + - cleanup get functions [Karel Zak] + - cleanup line separator usage [Karel Zak] + - cleanup scols_table_set_symbols() API [Karel Zak] + - commit missing file [Karel Zak] + - custom wrap fixes [Karel Zak] + - don't print title color is colors disabled [Karel Zak] + - extend wrapnl sample [Karel Zak] + - fix WRAPNL crashes [Karel Zak] + - fix WRAPNL on strings without \n [Karel Zak] + - fix comment [Karel Zak] + - fix hidden file usage [Karel Zak] + - fix minimal column width calculation [Karel Zak] + - fix non-tty output for 'maxout' columns [Karel Zak] + - fix padding for non-maxout output [Karel Zak] + - fix scols_table_enable_colors() usage in samples [Karel Zak] + - fix title output on non-tty [Karel Zak] + - fix tree padding [Karel Zak] + - fix typos in docs [Igor Gnatenko] + - fixes in doc generation [Igor Gnatenko] + - improve JSON [Karel Zak] + - keep scols_table_get_termwidth() read-only [Karel Zak] + - make get_line/column_separator() return const [Igor Gnatenko] + - make scols_sort_table() usable for trees [Karel Zak] + - remove debuging code from sample [Karel Zak] + - support LIBSMARTCOLS_DEBUG_PADDING=on [Karel Zak] + - support custom wrap and remove SCOLS_FL_WRAPNL [Karel Zak] + - support multi-line cells based on line breaks [Karel Zak] + - use SCOLS_FL_RIGHT in sample [Karel Zak] + - use const qualifier for scols_table_get_termwidth [Igor Gnatenko] + - use const qualifier where it's possible [Igor Gnatenko] +logger: + - add man page note about the default --tag [Karel Zak] + - be more precise about --port description [Karel Zak] + - remove trailing spaces when outputing to journal [Sami Kerola] + - simplify if clause [oclint] [Sami Kerola] +loopdev: + - Implememt loopcxt_set_status() [Stanislav Brabec] +losetup: + - Prevent AUTOCLEAR detach race [Stanislav Brabec] + - add --nooverlap options [Karel Zak, Stanislav Brabec] + - allow to use --nooverlap when device specified [Karel Zak] + - fix outdated comment ["Yuriy M. Kaminskiy"] +losetup --nooverlap: + - fix typo [Stanislav Brabec] +lsblk: + - add note about --sort and --list relation [Karel Zak] + - improve support for nvme [Karel Zak] + - sort by MAJ MIN by default [Karel Zak] + - use ID_WWN_WITH_EXTENSION is possible [Karel Zak] +lscpu: + - add --physical option [Heiko Carstens] + - add drawer support [Heiko Carstens] + - add parsable testcase with the --physical option [Heiko Carstens] + - add s390 drawer testcase [Heiko Carstens] + - disable is_vmware_platform() for non-root users [Karel Zak] + - fix MMHZ column entry within man page [Heiko Carstens] + - fix typo in summary output [Heiko Carstens] + - make lookup_cache() more robust [Karel Zak] + - only try to read sysfs attributes of present CPUs [Heiko Carstens] + - print correct number of threads per core if possible [Heiko Carstens] + - show additional caches (s390) [Heiko Carstens] + - show machine type (s390) [Heiko Carstens] + - show static and dynamic MHz (s390) [Heiko Carstens] + - update s390-lpar-drawer testcase [Heiko Carstens] +lsipc: + - use strtime_short() [Karel Zak] + - use strtm_iso() [Karel Zak] +lslocks: + - add --noinaccessible [Karel Zak] +lslogins: + - simplify if clause and move definition and comments [oclint] [Sami Kerola] + - use strtime_short() [Karel Zak] + - use strtm_iso() [Karel Zak] +lsns: + - check for OOM [Karel Zak] + - fix mem leak [coverity scan] [Karel Zak] + - missing ns/ is not error [Karel Zak] + - support cgroup namespaces [Michał Bartoszkiewicz] +lspcu: + - minor manpage improvement [Heiko Carstens] +man pages: + - fix spacing between man page name & section number [Mike Frysinger] +misc: + - Fix various typos [Sebastian Rasmussen] + - always check setenv(3) return value [Sami Kerola] + - cleanup non-widechar compilation [Karel Zak] + - fix declarations shadowing variables in the global scope [oclint] [Sami Kerola] + - fix some compiler warnings [Ruediger Meier] + - fix unsigned int usage for ctype.h functions [Karel Zak] + - once again some printf format strings [Ruediger Meier] + - simplify if clauses [oclint] [Sami Kerola] +mkswap: + - tolerate ENOTSUP when failing to relabel [Lubomir Rintel] +more: + - don't include ncurses.h, fix for non-widechar [Karel Zak] +mount: + - Handle EROFS before calling mount() syscall [Stanislav Brabec] + - Handle MNT_ERR_LOOPOVERLAP [Stanislav Brabec] + - add note about another flags for "remount,bind" [Karel Zak] + - add note about loopdev reuse to mount.8 [Karel Zak] + - add note about paths verification to mount.8 [Karel Zak] + - append inverting options for mount. on "users" [Karel Zak] + - mount.8 Update loop device documentation [Stanislav Brabec] + - small change to mount.8 loopdev section [Karel Zak] + - try to tell what mount was doing when it failed [Sami Kerola] +nsenter: + - enter namespaces in two passes [James Bottomley] +pathnames: + - guard clashing definitions on FreeBSD [Franco Fichtner] +pg: + - stop building the command by default [Sami Kerola] +po: + - merge changes [Karel Zak] + - update cs.po (from translationproject.org) [Petr Písař] + - update de.po (from translationproject.org) [Philipp Thomas] + - update es.po (from translationproject.org) [Antonio Ceballos Roa] + - update ja.po (from translationproject.org) [Takeshi Hamasaki] + - update nl.po (from translationproject.org) [Benno Schulenberg] + - update pl.po (from translationproject.org) [Jakub Bogusz] + - update sv.po (from translationproject.org) [Sebastian Rasmussen] + - update uk.po (from translationproject.org) [Yuri Chornoivan] + - update zh_CN.po (from translationproject.org) [Wylmer Wang] +pylibmount: + - include c.h [Karel Zak] +ramctl: + - add support for zram-control [Karel Zak] +rev: + - Avoid calling free in a signal handler [Tobias Stoeckmann] + - Avoid out of boundary read [Tobias Stoeckmann] +rtcwake: + - add note about RTC limits [Karel Zak] + - make sure buffer is zero terminated [coverity scan] [Karel Zak] +script: + - avoid trying fclose(NULL) [Sami Kerola] + - check status of writes when closing outputs [Sami Kerola] + - close file descriptors on exec [Sami Kerola] + - improve coding style and the "done" message [Karel Zak] + - use empty-slave heuristic more carefully [Karel Zak] +scriptreplay: + - avoid re-implementing strtod_or_err() [Sami Kerola] + - improve error message [Sami Kerola] +setarch: + - let's keep analyzer happy [coverity scan] [Karel Zak] +setpwnam: + - fix memory leak [Sami Kerola] +setterm: + - de-duplicate color option string parsing [Karel Zak] + - fix declarations shadowing variables in the global scope [oclint] [Sami Kerola] + - remove unnecessary translation string [Sami Kerola] +sfdisk: + - Add --show-pt-geometry compatibility code [Stanislav Brabec] + - Add support for altering GPT size [Sassan Panahinejad] + - add --no-tell-kernel [Karel Zak] + - add --wipe-partitions=auto|never|default [Karel Zak] + - add show-pt-geometry to usage() and sfdisk.8 [Karel Zak] + - cleanup before going out of scope [coverity scan] [Karel Zak] + - exit with error if rereading partition table fails [Victor Dodon] + - free before going out of scope [coverity scan] [Karel Zak] + - make non-interactive output more readable [Karel Zak] +smartcols/symbols: + - free cell_padding in unref() [Igor Gnatenko] +su, runuser, setpriv: + - create links between man pages [Karel Zak] +su,runuser: +sulogin: + - agetty use the plymouth local protocol instead the plymouth binary [Werner Fink] + - make fopen O_CLOEXEC specifier usage portable [Sami Kerola] + - remove __nonnull__ function attribute [Sami Kerola] +swapoff: + - fix mem leak [coverity scan] [Karel Zak] +swapon: + - fix discard option parsing [Karel Zak] +switch_root: + - simplify code and reduce indentation [oclint] [Sami Kerola] +syspriv: + - flip inverted logic [oclint] [Sami Kerola] +tailf: + - Fix previously adjusted segfault patch [Tobias Stoeckmann] + - Fix segmentation fault in tailf on 32 bit [Tobias Stoeckmann] +taskset: + - clarify that masks are always hex in man page [Chris Metcalf] +tests: + - fix raid1 minimum I/O size [Ruediger Meier] + - (cramfs) check for test_sysinfo [Karel Zak] + - Add helper for TIOCSTI exploit [Stanislav Brabec] + - Add loop-overlay test [Stanislav Brabec] + - Add losetup-loop test suite [Stanislav Brabec] + - Allow running a single test case from tests/run.sh [Filipe Brandenburger] + - Fix fdisk/id and fdisk/mbr-nondos-mode on Sparc [James Clarke] + - Use proper word splitting when executing tests [Filipe Brandenburger] + - add GPT attributes parser tests [Karel Zak] + - add another libsmartcols tests [Karel Zak] + - add another sfdisk script tests [Karel Zak] + - add chrt test [Karel Zak] + - add chrt vs. nice test [Karel Zak] + - add columns separator to libsmartcols test [Karel Zak] + - add export and raw to libsmartcols test [Karel Zak] + - add flock tests [Karel Zak] + - add libsmartcols JSON test [Karel Zak] + - add libsmartcols title test [Karel Zak] + - add libsmartcols wrap and wrapnl tree tests [Karel Zak] + - add missing expected/ dir stuff [Karel Zak] + - add sfdisk Type= and Id= test [Karel Zak] + - add sfdisk script case-insensitive test [Karel Zak] + - add tree libsmartcols test files [Karel Zak] + - always quote $LODEV [Ruediger Meier] + - avoid &>> for bash compatibility [Ruediger Meier] + - call umount --fake for tmpfs tests [Karel Zak] + - challenge utmpdump localization go-around [Sami Kerola] + - check for mount(8) in minix test [Karel Zak] + - check for timeout prog [Karel Zak] + - consolidate rmmod scsi_debug [Ruediger Meier] + - don't depend on GNU md5sum [Ruediger Meier] + - fix for non-ncurses version [Karel Zak] + - fix libmount loop-overlay test [Karel Zak] + - fix loop-overlay test [Karel Zak] + - fix losetup tests for --nooverlap [Karel Zak] + - fix ttyutils test [Karel Zak] + - fix utmpdump timestamps to be in iso format [Sami Kerola] + - implement ts_skip_subtest [Karel Zak] + - improve libsmartcols test [Karel Zak] + - keep 'hppa' in fdisk/bsd test too [Karel Zak] + - let lsmod fail silently [Ruediger Meier] + - let's follow ts_scsi_debug_rmmod [Karel Zak] + - make chrt test more debug-able [Karel Zak] + - make tests more portable due to mtab [Karel Zak] + - mark build-in paths test as optional [Karel Zak] + - mark chrt as TS_KNOWN_FAIL [Karel Zak] + - mark chrt tests as root-only [Karel Zak] + - move getopt to separate directory [Karel Zak] + - really fix fdisk/bsd for hppa [Helge Deller] + - refresh cal(1) test [Karel Zak] + - remove USE_LIBMOUNT_FORCE_MOUNTINFO [Karel Zak] + - remove unnecessary file [Sami Kerola] + - replace sleep by udevadm [Ruediger Meier] + - test_md5 prints md5sum only [Ruediger Meier] + - udevadm settle before losetup -d [Ruediger Meier] + - update build-sys expected output [Karel Zak] + - update build-sys tests [Karel Zak] + - update sfdisk output strings [Karel Zak] + - utmpdump add subsecond accuracy test [Sami Kerola] + - wait for flock background process [Ruediger Meier] +tools: + - add script to load .po from translationproject.org [Karel Zak] + - make ko-release-gen usable with gpg2 [Karel Zak] +travis: + - fix OSX, glibtoolize could not find sed [Ruediger Meier] +trivial: + - s/automatical/automatic/g [Igor Gnatenko] + - use tabs consistently [Igor Gnatenko] +ul: + - Fix buffer overflow [Tobias Stoeckmann] +umount: + - add note about FS names differences to the man page [Karel Zak] + - cleanup umount.8 about mtab [Karel Zak] + - fix obsolete info about loop= in umount.8 [Karel Zak] +utmpdump: + - use always UTC-0 timezone in textual output [Sami Kerola] + - use iso-8601 timestamp format with subsecond accuracy [Sami Kerola] +uuidd: + - remove unnecessary pidpile path variable [Sami Kerola] +wdct: + - mark usage() as noreturn [coverity scan] [Karel Zak] +wipefs: + - force GPT detection [Karel Zak] +write: + - add control structure to clarify what is going on [Sami Kerola] + - don't use strftime() [Karel Zak] + - fix setuid related regression [Wayne Pollock] + - get rid of function prototypes [Sami Kerola] + - improve coding style [Sami Kerola] + - improve function and variable names [Sami Kerola] + - make timestamp to be obviously just a clock time [Sami Kerola] + - remove PUTC macro [Sami Kerola] + - remove pointless fileno(3) calls [Sami Kerola] + - remove unnecessary utmp variables [Sami Kerola] + - remove unused variable [Sami Kerola] + - run atexit() checks at the end of execution [Sami Kerola] + - set atime value in term_chk() only when needed [Sami Kerola] + - stop removing and adding /dev/ in front of tty string [Sami Kerola] + - tell when effective gid and tty path group mismatch [Sami Kerola] + - use xstrncpy() from strutils.h [Sami Kerola] + +- add control structure to clarify what is going on [Sami Kerola] +- don't use strftime() [Karel Zak] +- fix setuid related regression [Wayne Pollock] +- get rid of function prototypes [Sami Kerola] +- improve coding style [Sami Kerola] +- improve function and variable names [Sami Kerola] +- make timestamp to be obviously just a clock time [Sami Kerola] +- remove PUTC macro [Sami Kerola] +- remove pointless fileno(3) calls [Sami Kerola] +- remove unnecessary utmp variables [Sami Kerola] +- remove unused variable [Sami Kerola] +- run atexit() checks at the end of execution [Sami Kerola] +- set atime value in term_chk() only when needed [Sami Kerola] +- stop removing and adding /dev/ in front of tty string [Sami Kerola] +- tell when effective gid and tty path group mismatch [Sami Kerola] +- use xstrncpy() from strutils.h [Sami Kerola] diff --git a/Documentation/releases/v2.30-ReleaseNotes b/Documentation/releases/v2.30-ReleaseNotes new file mode 100644 index 0000000..3e795be --- /dev/null +++ b/Documentation/releases/v2.30-ReleaseNotes @@ -0,0 +1,758 @@ +Util-linux 2.30 Release Notes +============================= + +The libblkid library has been improved for hybrid CDROM/DVD media by extracting +the LABEL and UUID values from the UDF header, rather than the ISO9660 header. +This change makes hybrid CDROM/DVD media created on other operating systems more +compatible in Linux user-space. Unfortunately, this change may introduce a +regression for (unusual) hybrid CDROM/DVDs where the ISO and UDF headers use a +different LABEL. + +The deprecated command tailf has been removed. Use "tail -f" from coreutils. + +blkzone -- NEW COMMAND to run zone commands on block devices that support Zoned +Block Commands (ZBC) or Zoned-device ATA Commands (ZAC). The currently +supported functionality is 'report' and 'reset'. +[thanks to Shaun Tancheff (Seagate), Damien Le Moal (WD)] + +fincore -- NEW COMMAND to count pages of file contents in core (memory). +[thanks to Masatake YAMATO (Red Hat)] + +lsmem -- NEW COMMAND to list the ranges of available memory with their online +status (originally implemented in Perl for s390-tools). [thanks to Clemens von Mann +and Heiko Carstens (IBM)] + +chmem -- NEW COMMAND to set memory online/offline status [thanks to Heiko +Carstens (IBM)] + +Removed Alpha and dead code from hwclock's --directisa option. + +The command fallocate supports an "insert range" operation now. + +The command "column -t|--table" has been modified to use libsmartcols. It now +provides nearly all of that library's functionality from the command line. For +example: printing a table header, reordering columns, aligning columns +to the right, printing tree-like output, wrapping lines in cells, truncating +text in cells, etc. + +The libmount library now provides an API to generate exit codes and error/warning +messages compatible with mount(8). + + +Security issues +--------------- + +hwclock - no longer makes any internal permission checks. The System + Administrator must set proper permissions to control user access to + the RTC. It is NOT recommended to use set-user-ID. + +CVE-2016-2779 - This security issue is NOT FIXED yet. It is possible to + disable the ioctl TIOCSTI by setsid() only. Unfortunately, setsid() + has well-defined use cases in su(1) and runuser(1) and any changes + would introduce regressions. It seems we need a better way -- ideally + another ioctl to disable TIOCSTI without setsid() or in a userspace + implemented pty container (planned as experimental su(1) feature). + + +Stable maintenance releases between v2.29 and v2.30 +--------------------------------------------------- + +util-linux 2.29.2 [Feb 02 2017] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.29/v2.29.2-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.29/v2.29.2-ChangeLog + +util-linux 2.29.1 [Jan 01 2017] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.29/v2.29.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.29/v2.29.1-ChangeLog + +Changes between v2.29 and v2.30 +------------------------------- + +agetty: + - fix a memory leak when parsing \S in issue files [Matthias Gerstner] + - fix characters reorder in login prompt [Karel Zak] + - fix ifdef typo [Ruediger Meier] + - fix login-options desc in man page [Karel Zak] + - fix typo [Karel Zak] + - make --remote to forward --nohostname as -H to login [Sami Kerola] + - re-add utmp.h for Debian GNU/kFreeBSD [Ruediger Meier] + - remove obsolete HAVE_UPDWTMP fallback [Ruediger Meier] + - remove variable that is set but not read [Sami Kerola] + - various man-page fixes [J William Piggott] +bash-completion: + - add a function for fincore command [Masatake YAMATO] + - add blkreset and blkreport completion [Sami Kerola] + - update disk-utils [Sami Kerola] + - update fincore [Sami Kerola] + - update fincore to have latest options [Sami Kerola] + - update hwclock [Sami Kerola] + - update login-utils [Sami Kerola] + - update misc-utils [Sami Kerola] + - update schedutils [Sami Kerola] + - update sys-utils [Sami Kerola] + - update term-utils [Sami Kerola] + - update text-utils [Sami Kerola] +blkid: + - add control struct [Sami Kerola] + - add curly braces to do-while statement [Sami Kerola] + - add long options [Sami Kerola] + - add messages to translations [Sami Kerola] + - fix compiler warning [-Wdiscarded-qualifiers] [Karel Zak] + - fix return code when display the version [Alexey Gladkov] + - simplify version option handling [Sami Kerola] +blkzone: + - Add --count option [Damien Le Moal] + - Fix zone condition strings handling [Damien Le Moal] + - Improve zone information print [Damien Le Moal] + - Report all zones if length is not specified [Damien Le Moal] + - Reset all zones when length is not specified [Damien Le Moal] + - add bash-completion [Karel Zak] + - add count option to bash-completion [Karel Zak] + - add new command (merge blkreport and blkreset) [Karel Zak] + - use optutils.h to check mutually exclusive options [Karel Zak] + - remove "LBA" from usage() and unnecessary alignment check [Karel Zak] + - slice up option descriptions, fix typo, fix docstring [Benno Schulenberg] + - remove in favour of blkzone [Karel Zak] + - small code clean ups [Sami Kerola] + - remove "LBA" from usage() [Karel Zak] + - Add new commands for ZAC/ZBC drives [Shaun Tancheff] +build-sys: + - add AC_STRUCT_TIMEZONE [Karel Zak] + - add missing file [Karel Zak] + - add missing header file [Karel Zak] + - add non-widechar.conf [Karel Zak] + - add parse-date.y [Karel Zak] + - check for POSIX utmpx usage [Ruediger Meier] + - cleanup UL_NCURSES_CHECK [Karel Zak] + - cosmetics PACKAGE_VERSION_MINOR [Ruediger Meier] + - cosmetics, avoid useless m4 quotes [Ruediger Meier] + - disable tailf by default [Ruediger Meier] + - don't clean *.img files [Ruediger Meier] + - fix "remove the g in git describe" [Ruediger Meier] + - fix --disable-all-programs --enable-schedutils [Karel Zak] + - fix bashism, introduced in 85004b14 [Ruediger Meier] + - fix compilation with ncurses and uClibc or musl libc [Carlos Santos] + - fix empty package release number [Ruediger Meier] + - fix library order when linking [Ruediger Meier] + - fix lsmem dependence [Karel Zak] + - improve detection of the "isnan" function in uClibc [Carlos Santos] + - make ncurses detection more robust [Karel Zak] + - mark lsmem and chmem as Linux only [Karel Zak] + - ncurses headers cleanup [Karel Zak] + - prefer ncurses-config rather than pkg-config [Karel Zak] + - prefer pkg-config for ncurses [Karel Zak] + - release++ (v2.30-rc1) [Karel Zak] + - release++ (v2.30-rc2) [Karel Zak] + - remove column-old.c [Karel Zak] + - remove duplicate includes [Karel Zak] + - remove old git fallback from git-version-gen [Ruediger Meier] + - require kernel headers on Linux [Karel Zak] + - simplify UL_ENABLE_ALIAS() semantic [Karel Zak] + - test_linux_version is Linux only [Karel Zak] + - update package release number during development [Ruediger Meier] + - use -lm for scriptreplay if necessary [Karel Zak] + - use MATH_LIBS for hwclock [Karel Zak] + - use sed to substitute [Karel Zak] +cal: + - ncurses cleanup [Karel Zak] +cfdisk: + - add copyright to help [Karel Zak] + - add hints for scanners [coverity scan] [Karel Zak] + - avoid use of VLA in combination with sizeof() [smatch scan] [Sami Kerola] + - fix compiler warning [Karel Zak] + - support UI refresh on ^L [Karel Zak] + - use buffer editor for ui_get_string() [Karel Zak] +chfn: + - disable tab completion [Sami Kerola] +chfn, chsh: + - use readline(3) to receive user input [Sami Kerola] +chmem: + - don't use scanf format for printf [Ruediger Meier] + - new tool [Heiko Carstens] +chrt: + - default to SCHED_RR policy [Andreas Henriksson] +chsh: + - use -h as shorthand for --help instead of -u [Andreas Henriksson] +col: + - avoid extra newline if no input [Sami Kerola] + - backspacing widechars [Grady Martin] +column: + - add --json [Karel Zak] + - add --table-colnames [Karel Zak] + - add --table-colright [Karel Zak] + - add --table-hide [Karel Zak] + - add --table-noextreme [Karel Zak] + - add --table-order [Karel Zak] + - add --table-truncate [Karel Zak] + - add --table-wrap [Karel Zak] + - add --tree to the man page [Karel Zak] + - add missed semicolons in case of !HAVE_WIDECHAR [Alexander Kuleshov] + - add note that circular dependencies are ignored [Karel Zak] + - add support for trees [Karel Zak] + - be robust on empty table [Karel Zak] + - clean up man page [Karel Zak] + - clean up multi-byte #ifelse [Karel Zak] + - clean up usage() and options order [Karel Zak] + - don't ignore mbs_to_wcs() errors [Karel Zak] + - fix --tree id-parent loop crash [Karel Zak] + - fix greedy initialization [Karel Zak] + - fix typo [Karel Zak] + - force to follow specified width [Karel Zak] + - make input() more generic [Karel Zak] + - make mbs/wcs conversions more robust [Karel Zak] + - make more obvious what is default behavior [Karel Zak] + - parent and child has to be independent [Karel Zak] + - rename --columns to --output-width [Karel Zak] + - rename functions [Karel Zak] + - rename options [Karel Zak] + - rename too generic macro [Karel Zak] + - reorder functions [Karel Zak] + - require column names for JSON [Karel Zak] + - split old and new code [Karel Zak] + - use NOEXTREMES for the last column [Karel Zak] + - use colntrol struct on more places [Karel Zak] + - use err_exclusive_options() [Karel Zak] + - use libsmartcols for --table [Karel Zak] + - use libsmartcols to avoid circular dependences [Karel Zak] +columns: + - add control struct [Karel Zak] + - add note about width [Karel Zak] +disk-utils/mkfs.minix: + - Set ninodes after checking max [Nate Clark] +dmesg: + - remove unnecessary header [Karel Zak] +docs: + - Fix word repetitions [Yuri Chornoivan] + - add BUG REPORTING section to README [Karel Zak] + - add chmem and tailf to ReleaseNotes [Karel Zak] + - add information about mailing list rejection [J William Piggott] + - add note about branches to README [Karel Zak] + - improve agetty.8 manual page [Sami Kerola] + - improve boilerplate.c options example [Sami Kerola] + - ionice(1) SEE ALSO add ioprio_set(2) [Michael Kerrisk] + - kill(1) Add more detail on use of SIGTERM vs SIGKILL [Michael Kerrisk] + - kill(1) Fix section reference for sigqueue(3) and add to SEE ALSO [Michael Kerrisk] + - kill(1) Formatting fixes [Michael Kerrisk] + - kill(1) Rework notes on thread groups [Michael Kerrisk] + - kill(1) Wording fix [Michael Kerrisk] + - last(1) Eliminate oddball formatting [Michael Kerrisk] + - last(1) SEE ALSO add reference to wtmp(5) [Michael Kerrisk] + - lsns(8) SEE ALSO add namespaces(7) [Michael Kerrisk] + - make column.1 example to use ascii output [Sami Kerola] + - mount(8) Wording fix [Michael Kerrisk] + - move source-code-management.txt to README [J William Piggott] + - namei(1) SEE ALSO add symlink(7) [Michael Kerrisk] + - nsenter(1) Describe the 'file' argument used by namespace options [Michael Kerrisk] + - nsenter(1) Formatting fix [Michael Kerrisk] + - nsenter(1) add missing 'see also' for --user [Karel Zak] + - parse-date.txt fix whitespace [J William Piggott] + - renice(1) Add SEE ALSO entry for sched(7) [Michael Kerrisk] + - renice(1) Add credentials(7) to SEE ALSO [Michael Kerrisk] + - renice(1) Remove obsolete BUGS text [Michael Kerrisk] + - renice(1) Rework discussion of unprivileged users, [Michael Kerrisk] + - replace FTP by HTTPS in kernel.org URLs [Sébastien Helleu] + - taskset(1) Wording fix [Michael Kerrisk] + - try to convince open(2) O_DIRECT rather than using raw device [Sami Kerola] + - update AUTHORS file [Karel Zak] + - update Documentation/deprecated.txt [Karel Zak] + - update TODO, add mount(8) noauto,auto [Karel Zak] + - update howto-contribute.txt [J William Piggott] + - update source-code-management.txt [Karel Zak] + - update v2.30-ReleaseNotes [J William Piggott] + - update v2.30-ReleaseNotes [Karel Zak] + - various pages Format pathnames as italic (.I) [Michael Kerrisk] + - various pages Use "ID" not "id" in man pages [Michael Kerrisk] + - various pages Use "PID" not "pid" in man-pages [Michael Kerrisk] + - various pages Use "system call" not "syscall" [Michael Kerrisk] + - various pages Use 'UID" and "GID", not "uid" and "gid" in man pages [Michael Kerrisk] + - various pages Use consistent terminology (set-user-ID and set-group-ID) [Michael Kerrisk] +fallocate: + - Added posix_fallocate() support. [Denis Chaplygin] + - add insert range support [Fabian Frederick] +fdisk: + - add to the man page missing option [Karel Zak] + - check scols_line_refer_data() return code [coverity scan] [Karel Zak] + - don't be silent when list non-existing device [Karel Zak] + - fix type dialog [Karel Zak] + - improve --wipe functionality [Karel Zak] + - inform on 'p' about wiped partitions [Karel Zak] +fdisk, sfdisk: + - avoid non-ANSI function declarations [smatch scan] [Sami Kerola] +fincore: + - add --bytes and --noheadings [Karel Zak] + - add --output [Karel Zak] + - add --raw and --json [Karel Zak] + - add column RES [Karel Zak] + - check rc from smartcols stuff [coverity scan] [Karel Zak] + - cleanup return codes [Karel Zak] + - fix error on open() [Karel Zak] + - fix file descriptor leak [Sami Kerola] + - fix multiplication overflow [Ruediger Meier] + - new command for counting pages of file contents in core [Masatake YAMATO] + - use libsmartcols [Karel Zak] + - use size_t everywhere [Karel Zak] +findfs: + - use getopt_long() to parse options [Sami Kerola] +findmnt: + - add --tree to allow to enable tree output for --mtab [Karel Zak] + - add note about mount options [Karel Zak] + - error on --target /non-exist [Karel Zak] + - fix couple memory leaks [cppcheck] [Sami Kerola] + - flush stdout after each (un)(re)mount event, when polling. [Pedro Miguel Carvalho] + - use line separator for --poll output [Karel Zak] +fsck.minix: + - add hint for scanners [coverity scan] [Karel Zak] + - fix crash [Sami Kerola] +fsfreeze: + - move filesystem support info to manual page [Sami Kerola] + - remove unnecessary functions [Sami Kerola] +fstrim: + - de-duplicate btrfs sub-volumes [Stanislav Brabec] + - use MNT_EX_* from libmount [Karel Zak] +getops: + - make --a-long option work again [Sami Kerola] +hwclock: + - --set and --predict segmentation fault [J William Piggott] + - add debugging to open_rtc() [Sami Kerola] + - alloate date_resp parsing buffer in interpret_date_string() [Sami Kerola] + - clarify cmos inb and outb preprocessor directives [Sami Kerola] + - clarify set_cmos_epoch() code [Sami Kerola] + - do not hardcode date command magic string twice [Sami Kerola] + - *SECURITY* don't check for permissions [Karel Zak] See 'Security issues' + - extra messages for debug only [J William Piggott] + - fix rtc atexit registration [Sami Kerola] + - fix whitespace in hwclock-rtc.c [J William Piggott] + - improve audit control [J William Piggott] + - improve cmos message strings [J William Piggott] + - improve coding style [Sami Kerola] + - improve default function handling [J William Piggott] + - initialize struct adjtime members [Sami Kerola] + - make --date=argument less prone to injection [Sami Kerola] + - make clock test mode message consistent [J William Piggott] + - make epoch functions alpha only [J William Piggott] + - move command-line options to control structure [Sami Kerola] + - move error messages to determine_clock_access_method() [Sami Kerola] + - remove --compare option [Sami Kerola] + - remove 1994 Award BIOS workaround [J William Piggott] + - remove FLOOR macro in favour of floor(3) [Sami Kerola] + - remove UTC-0 localization hack [Sami Kerola] + - remove alpha cmos [J William Piggott] + - remove dead cmos code [J William Piggott] + - remove dead code and other minor fixes [Sami Kerola] + - remove division by zero [asan] [Sami Kerola] + - remove hwclock_exit() indirection [Sami Kerola] + - remove if-if-condition [Karel Zak] + - remove magic constants from interpret_date_string() [Sami Kerola] + - remove residual 'compare' from man-page [J William Piggott] + - remove trailing dot from messages that include system error message [Sami Kerola] + - remove unnecessary type casts [Sami Kerola] + - remove unneeded braces [J William Piggott] + - remove unused 'silent' arg [J William Piggott] + - remove unused atomic arg in cmos [J William Piggott] + - remove unused cmos ctl structs [J William Piggott] + - simplify save_adjtime() execution flow [Sami Kerola] + - stream line synchronize_to_clock_tick_rtc() [Sami Kerola] + - try RTCGET and RTCSET only when normal rtc fails [Sami Kerola] + - use a consistent name for --predict [J William Piggott] + - use errtryhelp() [J William Piggott] + - use parse_date function [J William Piggott] + - use symbolic magic values passed in between functions [Sami Kerola] +hwclock-rtc.c: + - try the 'new' rtc class first [J William Piggott] +include: + - fix compiler warning [Sami Kerola] +include/c.h: + - add errtryhelp() [Karel Zak] +include/exitcodes: + - remove mount(8) exit codes [Karel Zak] +ipcs: + - make shmall overflow a bit less worse [Ruediger Meier] +last: + - include libgen.h for basename(3p) [Ruediger Meier] + - use --time-format instruction when printing wtmp creation time [Sami Kerola] + - use domain string more carefully [Karel Zak] +lib: + - add parse-date documentation [J William Piggott] + - add parse-date.y [J William Piggott] + - add timegm() portability function to lib/timeutils.c [Sami Kerola] + - use unique ifdefs for tests [Karel Zak] +lib,strutils: + - add strtoux[16|32|64]_or_err functions [Heiko Carstens] +lib/colors: + - Fix bug where help text was not being translated. [Sebastian Rasmussen] + - assert rathen than overflow [-Wnull-dereference] [Karel Zak] + - fix test compilation [Karel Zak] + - ncurses cleanup [Karel Zak] +lib/cpuset: + - stop changing variable that is not read [Sami Kerola] +lib/idcache: + - add void to function declaration [smatch scan] [Sami Kerola] +lib/linux_version: + - add test for manual testing [Karel Zak] + - fix code indention [Karel Zak] + - fix stupid typo [Karel Zak] +lib/list: + - remove LIST_HEAD macro [Karel Zak] +lib/loopdev: + - remove unnecessary header [Karel Zak] +lib/mbsedit: + - add simple buffer editor [Karel Zak] + - fix typo in comment [Sami Kerola] +lib/pager: + - don't use pager if command not available [Karel Zak] + - use xalloc [Karel Zak] +lib/parse-date: + - don't use xalloc in lib-like code [Karel Zak] +lib/randutils: + - glibc 2.25 has getrandom(2) declaration [Sami Kerola] + - use getrandom(2) when it is available [Sami Kerola] +lib/strutils: + - fix typos in huge size suffixes [Karel Zak] + - return end pointer by isdigit_string() [Karel Zak] +lib/timer: + - add comment [Karel Zak] +lib/timer.c: + - prevent pathological race condition [Rasmus Villemoes] + - remove bogus SA_SIGINFO from timer_settime call [Rasmus Villemoes] +libblkid: + - (docs) add missing 'since' tags [Karel Zak] + - (gpt) fix force flag [Karel Zak] + - Add support for Latin1 encoding in blkid_encode_to_utf8() [Pali Rohár] + - Fix blkid.conf parsing [Tobias Stoeckmann] + - Fix out of bounds byte swaps in ZFS handling [Alden Tondettar] + - Fix out of bounds reads in BEFS handling [Alden Tondettar] + - Fix out of bounds reads on bad GPT header [Alden Tondettar] + - Fix out of bounds reads on bad NTFS Master File Table [Alden Tondettar] + - add blkid_partitions_get_name() [Sami Kerola] + - add blkid_probe_set_sectorsize() [Karel Zak] + - avoid overflow when initializing array [Sami Kerola] + - declare across file variables in blkidP.h [smatch scan] [Sami Kerola] + - ensure uninitialized variable is not used [clang] [Sami Kerola] + - fix BLKID_PARTS_FORCE_GPT usage [Karel Zak] + - fix typo [Karel Zak] + - prevent OOB access while probing HFS+ [Tobias Stoeckmann] + - remove unnecessary 'static' keyword [Karel Zak] + - udf Change algorithm for reporting UUID [Pali Rohár] + - udf Correctly handle UDF strings encoded in 8bit OSTA Compressed Unicode [Pali Rohár] + - udf For better readibility use one snprintf call instead multiple in loop [Pali Rohár] +libblkid/minix: + - Match minix superblock types [Nate Clark] + - Sanity check superblock s_state for v 1 and 2 [Nate Clark] + - Use same checks for version 3 [Nate Clark] +libfdisk: + - (docs) add missing 'since' tags [Karel Zak] + - (dos) add ID related debug messages [Karel Zak] + - (dos) debug what we read from first sector [Karel Zak] + - (dos) make it possible to create primary/logical by template [Karel Zak] + - (gpt) add check for entries array size [Karel Zak] + - (gpt) care about SSIZE_MAX for read(2) [Karel Zak] + - (gpt) don't access entries array directly [Karel Zak] + - (gpt) fix ents zeroize [Karel Zak] + - (gpt) make calculations more robust [Karel Zak] + - (gpt) make entries array size calculation more robust [Karel Zak] + - (gpt) make sure it's GPT in public API [Karel Zak] + - (gpt) rename to gpt_entry_is_used() [Karel Zak] + - (gpt) update nparts_max [Karel Zak] + - (gpt) use size_t and gpt_get_nentries() [Karel Zak] + - (sun) use self_label() [Karel Zak] + - add fdisk_partition_has_wipe() [Karel Zak] + - add sample-fdisk-mkpart binary [Karel Zak] + - add version to debug output [Karel Zak] + - allow to change an existing extended partition [Pavel Butsykin] + - apply label alignment properties [Karel Zak] + - change the way how apply user device properties [Karel Zak] + - check for collisions when create new label [Karel Zak] + - classify collision type [Karel Zak] + - don't print uninitialized variable [coverity scan] [Karel Zak] + - don't use blkdev ioctls for regular files [Karel Zak] + - don't use errno after close() [Karel Zak] + - fix NLS support [Karel Zak] + - fix compiler warning [-Wsign-compare] [Karel Zak] + - fix fdisk_set_wipe_area() calls [Karel Zak] + - fix potentially NULL pointer usage [Karel Zak] + - fix variable shadowing [Sami Kerola] + - initialize partno variable [coverity scan] [Karel Zak] + - recount size when apply user device properties [Karel Zak] + - update docs [Karel Zak] + - use memcpy() for non-terminated string [coverity scan] [Karel Zak] + - verify partno from template [Karel Zak] +libmount: + - (docs) add missing 'since' tags [Karel Zak] + - (docs) add unused declarations [Karel Zak] + - (docs) remove unwanted tag [Karel Zak] + - Ensure utab.lock mode 644 [Stanislav Brabec] + - Fix incorrect detach of reused loop device [Stanislav Brabec] + - add mnt_context_get_excode() [Karel Zak] + - add read-only warning [Karel Zak] + - check fstat() return code [coverity scan] [Karel Zak] + - cosmetic change to mnt_table_find_srcpath() [Karel Zak] + - don't pass -1 to close() [coverity scan] [Karel Zak] + - fix file descriptor leak [Sami Kerola] + - fix memory leak [coverity scan] [Karel Zak] + - fix mount -oloop=/dev/loopX regression [Stanislav Brabec] + - fix use of preprocessor identifier [Sami Kerola] + - introduce X-* comments [Karel Zak] + - make rootfs lookup by parent-id more robust [Karel Zak] + - reimplement mnt_match_options() [Karel Zak] + - return tab entry for default node [Petr Vorel] + - revert X-* and x-* meaning [Karel Zak] + - support MS_RDONLY on write-protected devices [Karel Zak] + - support name=value for mnt_match_options() [Karel Zak] + - use x-systemd options as X-* [Karel Zak] +libsmartcols: + - (docs) add missing 'since' tags [Karel Zak] + - add debug mesg to see width change [Karel Zak] + - add scols_cell_get_alignment() [Karel Zak] + - add scols_line_is_ancestor() [Karel Zak] + - add scols_line_move_cells() [Karel Zak] + - add scols_sort_table_by_tree() [Karel Zak] + - add scols_table_move_column() [Karel Zak] + - allow to add column to already used table [Karel Zak] + - check scols_table_set_default_symbols() return code [coverity scan] [Karel Zak] + - column width reduction refactoring [Karel Zak] + - fix relative width interpretation [Karel Zak] + - fix test variable shadowing [Sami Kerola] + - fix typo [Karel Zak] + - remove dead checks [Igor Gnatenko] + - support columns separators greater than one output cell [Karel Zak] + - unused parameter [-Wunused-parameter] [Karel Zak] +libuuid: + - unused parameter [-Wunused-parameter] [Karel Zak] +logger: + - make month names, login name, and tag read-only objects [Sami Kerola] + - support sub-trees in the ID for RFC5424 [Karel Zak] +login: + - prevent OOB read on illegal /etc/hushlogins [Tobias Stoeckmann] + - re-add lastlog.h header [Ruediger Meier] +login-utils: + - avoid using the defined utmp sizes. [Ruediger Meier] + - remove _HAVE_UT_TV fallback [Ruediger Meier] + - switch to utmpx.h [Ruediger Meier] +losetup: + - losetup.8 Reorder options documentation [Frederick Grose] +lsblk: + - add ZONED column [Damien Le Moal] + - don't duplicate columns [Karel Zak] + - fix --inverse --list [Karel Zak] + - move scols_flags to lsblk control struct [Karel Zak] + - use errtryhelp() [Karel Zak] +lscpu: + - Detect Windows Subsystem for Linux [Stanislav Brabec] + - Read available CPUs max and min frequencies [Mamatha Inamdar] + - add --json [Karel Zak] + - add aarch64 specific names [Karel Zak] + - check return code [coverity scan] [Karel Zak] + - don't use path_exist() before path_fopen() [Karel Zak] + - fix mem leak [coverity scan] [Karel Zak] + - make cpu_{max,min}_mhz() usage more elegant [Karel Zak] + - make min/max freq arrays usage more robust [Karel Zak] + - make osrelease file optional [Karel Zak] + - reuse the same buffer [Karel Zak] + - use libsmartcols to print summary too [Karel Zak] + - use macro for path to DMI [Karel Zak] + - use sysfs for table access if available [Ard Biesheuvel] +lsipc: + - fix options parsing and sync with man page [Sami Kerola] +lslocks: + - remove dead code [Karel Zak] +lslogins: + - remove useless strlen() [Ruediger Meier] +lsmem: + - (man page) recommend use --output [Karel Zak] + - add --summary[=] option [Karel Zak] + - add Copyright [Karel Zak] + - add missing placeholders [Karel Zak] + - add testcase [Heiko Carstens] + - align STATE to the right [Karel Zak] + - cleanup for --summary=only [Karel Zak] + - cleanup man page [Karel Zak] + - cleanup, use libsmartcols for all output [Karel Zak] + - disable summary for JSONm, raw and export output [Karel Zak] + - improve node lookup [Heiko Carstens] + - new tool [Heiko Carstens] + - rename control struct [Karel Zak] +lsns: + - Fix parser for /proc//stat which is including space in comm [OGAWA Hirofumi] +man: + - add a page for fincore command [Masatake YAMATO] + - chfn(1) add chsh and login.defs to SEE ALSO [Andreas Henriksson] + - chsh(1) add login.defs to SEE ALSO [Andreas Henriksson] + - fix couple tools/checkmans.sh warnings [cat ./disk-utils/fsck.8 | troff -mandoc -ww -] + - improve blkreport(8) and blkreset(8) manual pages [Sami Kerola] +misc: + - add static keyword to where needed [smatch scan] [Sami Kerola] + - consolidate smartcols error messages [Karel Zak] + - do not use plain 0 as NULL [smatch scan] [Sami Kerola] + - fix some printf format strings [Ruediger Meier] + - fix some warnings [Ruediger Meier] + - fix typos using codespell [Ruediger Meier] + - spelling, always use "cannot" instead of "can not" [Ruediger Meier] + - stop mixing declarations and code [Sami Kerola] +mkswap: + - use memcpy() for non-terminated string [coverity scan] [Karel Zak] +more: + - avoid double free() on exit [Karel Zak] +mount: + - use MNT_EX_* from libmount [Karel Zak] +mount, umount: + - use mnt_context_get_excode() [Karel Zak] +newgrp: + - use libc explicit_bzero() when it is available [Sami Kerola] +nologin: + - don't call fstat() after failed open() [coverity scan] [Karel Zak] +nsenter: + - add --all option [Karel Zak] + - fix usage() and improve man page [Karel Zak] +optutils.h: + - don't print non-graph characters [J William Piggott] +parse-date: + - remove extraneous form feed [J William Piggott] +partx: + - add --list-types option [Sami Kerola] + - add --sector-size option [Karel Zak] +po: + - merge changes [Karel Zak] + - update da.po (from translationproject.org) [Joe Hansen] + - update de.po (from translationproject.org) [Philipp Thomas] + - update fr.po (from translationproject.org) [Stéphane Aulery] + - update ja.po (from translationproject.org) [Takeshi Hamasaki] + - update pl.po (from translationproject.org) [Jakub Bogusz] + - update pt_BR.po (from translationproject.org) [Rafael Fontenelle] + - update sv.po (from translationproject.org) [Sebastian Rasmussen] + - update tr.po (from translationproject.org) [Mesutcan Kurt] + - update uk.po (from translationproject.org) [Yuri Chornoivan] + - update zh_CN.po (from translationproject.org) [Wylmer Wang] +rename: + - add --no-act option [Alexander F Rødseth] + - add --no-act to bash-completion [Karel Zak] + - make --no-act to imply --verbose [Sami Kerola] +runuser: + - add "--" to SYNOPSIS [Karel Zak] +script: + - always write stat and done message to typescript file [Karel Zak] + - don't call strftime() if not necessary [Karel Zak] + - fix start message showing in output file when -q is on [Rui Zhao (renyuneyun)] +setterm: + - add --resize option [Sami Kerola] + - fix bitfield warning [smatch] [Sami Kerola] +sfdisk: + - --quiet fixes [Karel Zak] + - add hints for scanners [coverity scan] [Karel Zak] + - add note about alignment to man page [Karel Zak] + - cleanup --dump error messages [Karel Zak] + - disambiguate units of --show-size [Chris Morin] + - don't be silent when list non-existing device [Karel Zak] + - improve --wipe functionality [Karel Zak] + - note about small partition in man page [Karel Zak] + - support empty label use-case [Karel Zak] + - unused parameter 'sf' [-Wunused-parameter] [Karel Zak] +su: + - properly clear child PID [Karel Zak] + - remove duplicate const declaration [Sami Kerola] +su, runuser: + - fix typo in the /etc/default path [Karel Zak] +sulogin: + - add missing type [Karel Zak] + - bail out from getpasswd(...) on timeout [Andreas Henriksson] + - make getpasswd(...) return NULL on ^D [Andreas Henriksson] + - reduce vulnerability surface [Sami Kerola] +switch_root: + - unlink files without _DIRENT_HAVE_D_TYPE [Patrick Steinhardt] + - use getopt_long() to parse options [Sami Kerola] +tailf: + - remove deprecated utility [Sami Kerola] +taskset: + - don't use zero PID in messages [Karel Zak] +term-utils/script: + - fix typo leading to syntax error [Bert van Hall] +test: + - fix mountpoint device check in libmount/loop [Ruediger Meier] +test_uuidd: + - don't use error.h [Karel Zak] +tests: + - (libmount) parse version from command line [Karel Zak] + - (sfdisk) tell kernel about new partition [Karel Zak] + - Add UDF CD-ROM hybrid image (ISO+Joliet+UDF) created by Nero 6 [Pali Rohár] + - Add UDF hdd image with non ASCII 8bit label created by Linux mkudffs 1.3 [Pali Rohár] + - Add UDF hdd images created by Linux mkudffs 1.3 [Pali Rohár] + - Fix UDF test output after changing UUID algorithm [Pali Rohár] + - Fix UDF test output for 8bit OSTA Compressed Unicode [Pali Rohár] + - Fix test output for low-probe-udf to contain UDF data [Pali Rohár] + - Introduce libmount/loop [Stanislav Brabec] + - Rename udf-hdd-mkudffs* images to indicate used mkudffs version [Pali Rohár] + - add --mountpoint to findmnt calls [Karel Zak] + - add --show-diff [Karel Zak] + - add cases for testing fincore command [Masatake YAMATO] + - add column(1) columnate test [Karel Zak] + - add column(1) table test [Karel Zak] + - add column/files directory [Karel Zak] + - add findmnt output tests [Karel Zak] + - add findmnt tests [Karel Zak] + - add missing file [Karel Zak] + - add new build-sys tests [Karel Zak] + - add new findmnt --options tests [Karel Zak] + - add sfdisk --wipe and --wipe-partition tests [Karel Zak] + - add static keyword where needed [smatch scan] [Sami Kerola] + - add tests for new column features [Karel Zak] + - add udevadm settle to sfdisk wipe [Karel Zak] + - add x86_64-16g lsmem test [Karel Zak] + - another improvement to the sfdisk wipe test [Karel Zak] + - avoid diff of diffs [Ruediger Meier] + - check for TS_HELPER_SYSINFO in fincore test [Karel Zak] + - check for ps --ppid [Karel Zak] + - check for timeout command [Ruediger Meier] + - cleanup and update lsmem [Karel Zak] + - define columns for fincore test [Karel Zak] + - do not use plain 0 as NULL [smatch scan] [Sami Kerola] + - fincore/count, skip unsupported FS [Ruediger Meier] + - fix fincore/count for PAGE_SIZE != 4096 [Ruediger Meier] + - grep's short option -A is more portable [Ruediger Meier] + - handle dd errors in fincore/count [Ruediger Meier] + - handle non glibc error message for fallocate [Ruediger Meier] + - make /proc optional [Karel Zak] + - make sfdisk wipe partition optional [Karel Zak] + - redirect unwanted dd(1) advices to /dev/null [Karel Zak] + - refresh fincore test [Karel Zak] + - refresh lscpu tests [Karel Zak] + - remove fincore SMALLER_THAN_PAGESIZE tests [Ruediger Meier] + - remove status=none dd(1) from fincore [Karel Zak] + - update build-sys due to readline [Karel Zak] + - update build-sys test [Karel Zak] + - update libmount outputs [Karel Zak] + - update lsmem tests [Karel Zak] + - update script(1) tests [Karel Zak] + - update sfdisk output [Karel Zak] + - update wipe-partition [Karel Zak] + - use swap in sfdisk wipe test [Karel Zak] +text-utils: + - use proper paths to term.h [Karel Zak] +travis: + - let OSX auto-skip utmpx tools [Ruediger Meier] +umount: + - exclude selinuxfs from --all [Karel Zak] + - fix typo [Karel Zak] + - use MNT_EX_* from libmount [Karel Zak] +unshare: + - add note about persisten PID namespaces [Karel Zak] + - add note about sysfs and procfs [Karel Zak] + - fix SYNOPSIS and usage() [Karel Zak] + - add cross reference to namespaces(7) [Michael Kerrisk (man-pages)] +utmpdump: + - code formatting for readability [Ruediger Meier] + - remove unnecessary variable [Sami Kerola] +vipw: + - use getopt_long() to parse options [Sami Kerola] +wall: + - add --group option [Jim Patterson] + - check -g GID [Karel Zak] + - make sure with not referencing a null pointer [Karel Zak] + - remove unnecessary include [Karel Zak] +wipefs: + - add note about no-act to the man page [Karel Zak] + - unused parameter [-Wunused-parameter] [Karel Zak] +zramctl: + - add mising line terminator [Karel Zak] + - be more specific about default output [Karel Zak] + - make mm_stat parser more robust [Karel Zak] diff --git a/Documentation/releases/v2.31-ReleaseNotes b/Documentation/releases/v2.31-ReleaseNotes new file mode 100644 index 0000000..aabf832 --- /dev/null +++ b/Documentation/releases/v2.31-ReleaseNotes @@ -0,0 +1,671 @@ +Util-linux 2.31 Release Notes +============================= + +The package build-system follows GNU Coding Standards and uses --runstatedir +instead of --localstatedir. The default is /run. Please, review your distribution +build scripts (spec files etc.) to be sure that this change does not introduce +any regression to your distribution. + + +Release highlights +------------------ + +rfkill -- NEW COMMAND for enabling and disabling wireless devices. This new +implementation is based upon, and backward compatible with, the original rfkill +from Johannes Berg and Marcel Holtmann. + +The command su has been refactored and extended to create pseudo terminal for +the session (new option --pty). This new EXPERIMENTAL feature provides better +isolation between root's terminal and an unprivileged su session. + +uuidparse -- NEW COMMAND to provide variant and type details for input UUIDs. + +The library libuuid and command uuidgen support hash-based UUIDs v3 (md5) and +v5 (sha1) as specified by RFC-4122. The library also provides UUID templates +for dns, url, oid, or x500. + +The library libblkid has been extended to support DM-integrity, HPE (aka +extended-XFS) and UBI superblock. The library also provides a new API to hide +already detected signatures. This allows the gathering of all possible magic +string permutations for a device. For example, the command wipefs will now print +the complete list of all magic strings. + +The library libfdisk provides a new API to modify grain (a size used for +partition calculations) and it is also possible to completely disable dialog +driven partitioning. + +The library libsmartcols provides a new API to move columns. This new +functionality is available by "column --table-order" on the command line. + +The command "column --table-header-repeat" allows repetition of table headers +according to terminal size. + +The libfdisk has been extended to use BLKPG ioctls to inform the kernel about +changes. This means that cfdisk and fdisk will not force the kernel to reread +all of the partition table, but untouched partitions may remain mounted and used +by the system. The typical use-case is resizing the last partition on the system +disk. + +The command cfdisk provides a new dialog to resize a partition. + +The fdisk menu behavior on ^C and ^D has been improved to stop the current +operation and return to main menu rather than immediately terminating the fdisk +program. + +The 'look' command now follows the WORDLIST environment variable (if specified) +to find the word list. + +Almost all of the --help and --version outputs have been improved (thanks to +Ruediger Meier and others). + +The 'script' command has been improved to follow the usual semantics for +stop/continue signals. It's possible to move a session to the background and +later back to the foreground (e.g. shell command "fg", etc.). + +The setpriv command now supports ambient capabilities with the new command line +option --ambient-caps (thanks Patrick Steinhardt) and the new command line +option --init-groups allows initialization of supplementary groups (thanks to +Sebastian Schrader). + +The hwclock command now significantly reduces system shutdown times by not +reading the RTC before setting it (except when the --update-drift option is +used). This also mitigates other potential shutdown and RTC setting problems +caused by requiring an RTC read. + +The hwclock command now logs --systz when using libaudit. Also, for busybox +compatibility -l is now aliased to --localtime. + + +Security issues +--------------- + +CVE-2016-2779 + + The new experimental "su --pty" feature has been implemented to fix this issue. + The feature is not enabled by default and the new command line option --pty is + necessary. + + The classic way is to use setsid() to disable the ioctl TIOCSTI. Unfortunately, + setsid() has well-defined use cases in su(1) and runuser(1) and any changes + would introduce regressions. The setsid() also does not fix core of the problem + that is terminal file descriptors shared between privileged and unprivileged + sessions. + +Stable maintenance releases between v2.30 and v2.31 +--------------------------------------------------- + +util-linux 2.30.1 [Jul 07 2017] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.30/v2.30.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.30/v2.30.1-ChangeLog + +util-linux 2.30.2 [Sep 21 2017] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.30/v2.30.2-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.30/v2.30.2-ChangeLog + +Changes between v2.30 and v2.31 +------------------------------- +Docs: + - add a comment for constants to boilerplate.c [J William Piggott] + - add hwclock 'highlights' v2.31-ReleaseNotes [J William Piggott] + - grammar fixes for v2.31-ReleaseNotes [J William Piggott] + - move option naming to howto-contribute.txt [J William Piggott] + - update howto-usage-function.txt [J William Piggott] + - output rfkill type names from an array instead of a static string. [Darren Salt] +agetty: + - add --list-speeds option [Sami Kerola] + - add compile time features to --version output [Sami Kerola] + - fix --login-pause logic [Karel Zak] + - fix /etc/os-release parsing [Karel Zak] + - fix invalid usage crash [Sami Kerola] + - fix login name DEL/CTRL^U issue [Karel Zak] + - keep returns in main() [Karel Zak] + - print /etc/issue on --skip-login [Karel Zak] + - remove dead DO_DEVFS_FIDDLING code segment [Sami Kerola] +bash-completion: + - look for look completions [Sami Kerola] + - make completions to work when bash set -u is in use [Sami Kerola] + - simplify pid listing [Sami Kerola] + - update uuidgen, wipefs, tunelp, setpriv, and hwclock [Sami Kerola] +blkid: + - Add dm-integrity superblock signature [Milan Broz] + - cleanup man page info about lsblk [Karel Zak] + - improve man page wording [Karel Zak] + - more info about ambivalent results to the man page [Karel Zak] + - use errtryhelp instead of errtryh [Ruediger Meier] +blockdev: + - correct man page name in --help [Ruediger Meier] + - document --setro more properly [Karel Zak] + - improve --help and man page [Ruediger Meier] +build-sys: + - use --runstatedir instead of --localstatedir [Andreas Henriksson] + - add --disable-rfkill [Karel Zak] + - add libtinfow check [Karel Zak] + - chown before chmod for SUIDs [Karel Zak] + - define dependence between chsh and getusershell [Karel Zak] + - don't use non-existing UUID_LIBS [Ruediger Meier] + - fix chown mistake, add checkusage.sh to the dist [Ruediger Meier] + - fix non-blkid compilation [Karel Zak] + - make chown usage more robust [Karel Zak] + - make rfkill optional (and enabled by default) [Karel Zak] + - release++ (v2.31-rc1) [Karel Zak] + - release++ (v2.31-rc2) [Karel Zak] + - remove unused rfkill.py [Karel Zak] + - support ncursesw without headers in ncursesw/ directory [Karel Zak] + - update DISTCHECK_CONFIGURE_FLAGS [Karel Zak] +cfdisk: + - add missing 0x7F key mapping [Karel Zak] + - add resize function [Karel Zak] + - cleanup die-on-signal code [Karel Zak] + - make resize code more readable [Karel Zak] + - use fdisk_reread_changes() [Karel Zak] +chsh: + - cleanup global_shells usage [Karel Zak] + - make readline completion to propose valid shells [Sami Kerola] + - remove local /etc/shells parsing in favour of getusershell(3) [Sami Kerola] + - split get_shell_list() [Karel Zak] +column: + - (-t) disable encoding for non-printable chars [Karel Zak] + - add --table-header-repeat [Karel Zak] + - fix compilation when libc lacks wide-character support [Carlos Santos] +dmesg: + - do not accept any non-option arguments [Ruediger Meier] + - fix delimiter calculation [Karel Zak] + - fragment concatenation [Vinnie Magro] + - print only 2 hex digits for each hex-escaped byte [Ivan Delalande] +docs: + - (TODO) make PMBR boot flag more user-friendly [Karel Zak] + - add --enable-programs to TODO [Karel Zak] + - add 2.30.2 to ReleaseNotes [Karel Zak] + - add ASAN to TODO list [Karel Zak] + - add Atari PT to the TODO list [Karel Zak] + - add CAP_SYS_ADMIN to TODO [Karel Zak] + - add UUID v3 an v5 to TODO [Karel Zak] + - add exec() exit codes to TODO [Karel Zak] + - add optional option back to struct option [Sami Kerola] + - add program-desc to howto-usage-function.txt and boilerplate.c [Karel Zak] + - correct line(1) deprecation comment [Ruediger Meier] + - remove TODO item for fdisk [Karel Zak] + - remove UUID v3 and v5 from TODO [Karel Zak] + - remove repeated word from mount(8) man page [Sami Kerola] + - remove some old history from manpages [Ruediger Meier] + - update AUTHORS file [Karel Zak] + - update TODO, remove auto,noauto [Karel Zak] + - update boilerplate.c usage() [J William Piggott] + - update v2.31 release notes [Karel Zak] + - update v2.31-ReleaseNotes [Karel Zak] +fdformat: + - clear progress message before printing "done" [Jakub Wilk] +fdisk: + - add missing include [Karel Zak] + - add wrap_fgets() for getting user input [Vaclav Dolezal] + - fix copy from readline and whitespace stripping [Vaclav Dolezal] + - fix readline interaction with signals [Karel Zak] + - handle SIGINT in dialogs as cancel [Vaclav Dolezal] + - minor fixes to make readline work [Vaclav Dolezal] + - reset context after failed script [Karel Zak] + - use fdisk_reread_changes() [Karel Zak] + - use strutils to trim whitespace from input [Vaclav Dolezal] +fincore: + - make sure mmap(NULL, ...) [coverity scan] [Karel Zak] +flock, getopt: + - write --help to stdout and return 0 [Ruediger Meier] +fsck: + - add --help and --version [Ruediger Meier] +fstab(5): + - mention how tabs are escaped [Andreas Henriksson] +fstrim: + - prefer earlier mounted filesystems [Alex Ivanov] + - remove obsolete comment [Karel Zak] +hwclock: + - --epoch presence test fails [J William Piggott] + - add --update-drift check [J William Piggott] + - add -a that is short of --adjust to manual page and usage [Sami Kerola] + - add audit for --systz [J William Piggott] + - add usage() functions heading [J William Piggott] + - allow -l as alias for --localtime [Rasmus Villemoes] + - close hwaudit_fd unconditionally [J William Piggott] + - correlate hclocktime instead of set_time. [J William Piggott] + - don't always use hwclock_exit [J William Piggott] + - don't ifdef printf arguments [Ruediger Meier] + - exit bug fix and single test mode message [J William Piggott] + - final usage() strings slice [J William Piggott] + - fix RTC read logic [J William Piggott] + - fix hclock_valid test and error messages [J William Piggott] + - fix regression from c3ae785 [J William Piggott] + - fix unimplemented ioctl test [J William Piggott] + - fix warning [-Winvalid-noreturn] [Ruediger Meier] + - for debugging print startup system time [J William Piggott] + - improve RTC epoch messages [J William Piggott] + - make debug implicit for test mode. [J William Piggott] + - move drift correction and --predict [J William Piggott] + - move rtc permissions test [J William Piggott] + - move systz above init clocks read [J William Piggott] + - move systz into hctosys [J William Piggott] + - refactor set_system_clock() [J William Piggott] + - remove bool type definition [Sami Kerola] + - remove busywait tristate return status [J William Piggott] + - remove custom errno string [J William Piggott] + - remove dead code in usage() [J William Piggott] + - remove dead ioctl check [J William Piggott] + - remove from usage() FILE *out = stdout [J William Piggott] + - remove m68k and alpha cmos from manual [J William Piggott] + - remove set_system_clock_timezone() [J William Piggott] + - remove sysexits.h [J William Piggott] + - remove unused epoch_option [J William Piggott] + - remove unused optstring characters [J William Piggott] + - remove unused stdarg.h [J William Piggott] + - remove unwanted space before description [Karel Zak] + - restore select() timeout warning [J William Piggott] + - slice up the usage text [J William Piggott] + - squash custom errno strings [J William Piggott] + - sync one-liner descriptions [J William Piggott] + - update --help content and grammar [J William Piggott] + - update man page [J William Piggott] + - update set_system_clock comments [J William Piggott] + - update set_system_clock debugging [J William Piggott] + - update usage() [J William Piggott] + - update usage() FILE name [J William Piggott] + - update usage() to util-linux style [J William Piggott] + - usage() use program_invocation_short_name [J William Piggott] + - use RTC in help output [J William Piggott] +include: + - move pamfail.h to auth.c [Sami Kerola] + - update pathnames.h [J William Piggott] +include/c.h: + - add USAGE_COMMANDS and USAGE_COLUMNS [J William Piggott] +ipcs: + - fix memory leak [coverity scan] [Karel Zak] +isosize: + - avoid reading more data than what is needed [Sami Kerola] + - iterate over all arguments even when something fails [Karel Zak] + - usage() and coding style cleanup [Karel Zak] +last: + - condition (secs == 0) - now handled correctly [coastal-hiker] + - don't show negative time [coastal-hiker] +ldattach: + - simplify debugging function when vwarnx(3) is available [Sami Kerola] +lib: + - fix strutils.h, remove STRTOXX_EXIT_CODE [Ruediger Meier] + - remove _RLD_ from forbid environment variable list [Sami Kerola] + - simplify cpuset if clauses that return [Sami Kerola] + - style cosmetics plymouth-ctrl.c [Ruediger Meier] +lib/blkdev: + - remove support for Linux < 2.6 [Ruediger Meier] +lib/match: + - make match_fstype() case insensitive [Karel Zak] +lib/mbsedit: + - check wctomb() return code [coverity scan] [Karel Zak] +lib/pager: + - check open() return code [coverity scan] [Karel Zak] +lib/path: + - add error handling to path_vcreate() [Ruediger Meier] + - fix crash, pathbuf overflow [Ruediger Meier] +lib/pwdutils: + - add xgetlogin() [Karel Zak] +lib/randutils: + - improve getrandom() usage [Karel Zak] + - remove superfluous continue [Karel Zak] + - reset lose counter [Karel Zak] +lib/randutils.c: + - Fall back gracefully when kernel doesn't support getrandom(2). [Christopher James Halse Rogers] + - More paranoia in getrandom() call. [Christopher James Halse Rogers] +lib/ttyutils: + - return terminal lines too [Karel Zak] +libblkid: + - (vfat) add more debug messages [Karel Zak] + - add HPE extended-XFS to known filesystems [Mark Tinguely] + - add support for UBI superblock [Rafał Miłecki] + - allow to hide already detected signatures [Karel Zak] + - don't check for size on UBI (char dev) [Karel Zak] + - don't use CDROM_GET_CAPABILITY ioctl for DM devices [Karel Zak] + - fix compiler warning [-Wformat-truncation=] [Karel Zak] + - fix gcc-7 warning -Wint-in-bool-context [Ruediger Meier] + - mark UBI as RAID [Karel Zak] + - remove dead code and blkid_probe_new_value() [Karel Zak] + - udf Add support for ID_FS_VERSION [Pali Rohár] + - udf De-duplicate code for dstring decoding [Pali Rohár] + - udf Define magic constants [Pali Rohár] + - udf Fix detection of UDF images with block size 1024 and 4096 [Pali Rohár] + - udf Fix parsing of UDF dstring structures [Pali Rohár] + - udf Fix types [Pali Rohár] +libfdisk: + - (dos) accept start for log.partitions on template [Karel Zak] + - (dos) be more verbose on partno -ERANGE error [Karel Zak] + - (dos) cleanup template based partitioning [Karel Zak] + - (dos) fix primary/logical logic when follow template [Karel Zak] + - (dos) return EINVAL when delete unused partition [Karel Zak] + - (dos) use size-=1 when alignment not used later [Karel Zak] + - (gpt) fix size-1 error [Karel Zak] + - (sun) make math more robust [coverity scan] [Karel Zak] + - add --grain to mkpart sample [Karel Zak] + - add --nopartno to mkpart sample [Karel Zak] + - add comment [Karel Zak] + - add fdisk_device_is_used() [Karel Zak] + - add fdisk_disable_dialogs() [Karel Zak] + - add fdisk_reassign_device() [Karel Zak] + - add fdisk_save_user_grain() [Karel Zak] + - add more debug messages to get-last-possible resize space [Karel Zak] + - add sample-fdisk-mkpart-fullspec [Karel Zak] + - allow to resize container [Karel Zak] + - allow to resize in unsorted partition table [Karel Zak] + - cleanup sun label checksum usuage [Ruediger Meier] + - don't hardcode label type in samples [Karel Zak] + - fix fdisk_reset_partition() leaking *_chs strings. [Vaclav Dolezal] + - fix guid usage of packed struct gpt_entry [Ruediger Meier] + - fix two potential memory errors. [Vaclav Dolezal] + - fix warning -Wunused-function [Ruediger Meier] + - improve "add partition" debug message [Karel Zak] + - improve alignment debug mesagges [Karel Zak] + - improve table print debugs [Karel Zak] + - make fdisk compliant to UEFI/GPT specification on PMBR [Karel Zak] + - move fdisk_reread_partition_table() to another file [Karel Zak] + - remove unnecessary fstat() call [Karel Zak] + - remove whitespaces [Karel Zak] + - support default partno in mkpart-fullspec sample [Karel Zak] + - support logical partition resize [Karel Zak] + - use BLKPG ioctls to inform kernel about changes [Karel Zak] + - use BLKPG_* ioctls on linux only [Karel Zak] + - use fdisk_sector_t consistently and fix printf format strings [Ruediger Meier] +libmount: + - (umount) use mount table filter on -c only [Karel Zak] + - add human compatible message for EBADMSG errno [Karel Zak] + - btrfs, remove unused setter functions [Ruediger Meier] + - export locking errors as MNT_EX_FILEIO [Karel Zak] + - fix Python get_propagation [Giuseppe Scrivano] + - fix warning "set but not used" [Ruediger Meier] + - ignore "bind" from fstab on command line "remount" [Karel Zak] + - make mnt_context_is_fs_mounted work for /proc [Ivan Delalande] + - make sure we call stat() propely [coverity scan] [Karel Zak] + - use _exit() in handlers [Karel Zak] + - use mount table filter on --no-canonicalize [Karel Zak] +libsmartcols: + - (docs) add new functions [Karel Zak] + - (docs) add note about line separators [Karel Zak] + - (sample) cleanup line separator usage [Karel Zak] + - add header-repeat feature [Karel Zak] + - add missing symbols [Karel Zak] + - add scols_table_enable_noencoding() [Karel Zak] + - add scols_table_{set,get}_termheight() [Karel Zak] + - don't call free_buffer() for uninitialized variable [coverity scan] [Karel Zak] + - fix comment (to make gtk-docs happy) [Karel Zak] + - fix heap-buffer-overflow when move columns [Karel Zak] + - fix scols_line_move_cells() n+1 error [asan] [Karel Zak] + - fix warning "unused parameter" [Ruediger Meier] +libuuid: + - add support for hash-based UUIDs [Philip Prindeville] + - use access(2) when checking /dev/random availability [Sami Kerola] +logger: + - add dummy fallback for OSX [Karel Zak] + - allow to reconnect on initial failed connect too [Karel Zak] + - keep header generators independent on connection [Karel Zak] + - make stdin parsing more friendly to static analyzers [Karel Zak] + - reconnect on failed send() [Karel Zak] +login: + - add --help and --version [Ruediger Meier] + - add --help text [Ruediger Meier] + - add xgetpwnam() [Karel Zak] + - fix signal race [Tobias Stoeckmann] + - use IPv4 on IPv4-mapping-to-IPv6 [Karel Zak] +look: + - use WORDLIST environment variable to find word list [Sami Kerola] +losetup: + - Add support for logical block size [Stanislav Brabec] + - add info about lazy detach to manpage [Karel Zak] + - add missing initializer [clang] [Sami Kerola] + - fix bitwise vs. logical typo [coverity scan] [Karel Zak] + - fix conflicting types for ‘loopcxt_set_blocksize’ [Karel Zak] + - rename to --sector-size and LOG-SEC [Karel Zak] +lsblk: + - add option --tree [Karel Zak] + - small man page change in return codes description [Karel Zak] +lscpu: + - cleanup DMI detection return codes [Karel Zak] + - make clang analyzer happy [Ruediger Meier] +lslogins: + - be more explicit with -g in man page [Karel Zak] + - fix possible memory leak [coverity scan] [Karel Zak] + - ignore non-existing users [Karel Zak] +lsmem: + - fix, using freed memory [Ruediger Meier] +misc: + - POSIX usage dd, regarding unit suffixes [Ruediger Meier] + - avoid some dead initialization warnings [Ruediger Meier] + - cleanup UUID_STR_LEN definitions [Karel Zak] + - cleanup and fix --unknownopt issues [Ruediger Meier] + - consolidate all --help option descriptions [Ruediger Meier] + - consolidate macro style USAGE_HELP_OPTIONS [Ruediger Meier] + - consolidate usage() "Available columns" [Karel Zak] + - cosmetics, remove argument from usage(FILE*) [Ruediger Meier] + - cosmetics, remove argument from usage(int) [Ruediger Meier] + - fix gcc-7 snprintf warnings -Wformat-truncation [Ruediger Meier] + - fix gcc-7 sprintf warnings -Wformat-overflow [Ruediger Meier] + - fix ggc-7 fallthrough warnings [Sami Kerola] + - fix more strutils related exit codes [Ruediger Meier] + - fix optutils.h related exit codes [Ruediger Meier] + - fix reassigned values before old ones has been used [cppcheck] [Sami Kerola] + - fix some broken exit codes [Ruediger Meier] + - fix some printf format strings [Ruediger Meier] + - fix xalloc.h related exit codes [Ruediger Meier] + - introduce print_usage_help_options() [Ruediger Meier] + - never use usage(ERROR) [Ruediger Meier] + - never use usage(stderr) [Ruediger Meier] + - no more errtryh() [Ruediger Meier] + - remove stray semicolons [Sami Kerola] + - remove superfluous null pointer checks for optarg [Ruediger Meier] + - replace magic number 37 with UUID_STR_LEN [Philip Prindeville] + - revert to the old USAGE_HELP strings [Ruediger Meier] + - update --help content again [Ruediger Meier] +mkfs.cramfs: + - add --help and --version [Ruediger Meier] +more: + - add --help and --version [Ruediger Meier] + - remove unused variable [Ruediger Meier] +mount: + - fix man page typo (--bind,ro) [Karel Zak] + - remove extN from mount.8 man page [Karel Zak] +parse-date: + - fix printf format [Ruediger Meier] + - refactor tm_diff() [J William Piggott] + - remove unused EPOCH_YEAR [J William Piggott] + - remove unused ordinal_day_seen [J William Piggott] + - remove unused year_seen [J William Piggott] + - replace ISDIGIT with c_isdigit [J William Piggott] + - time_zone_hhmm() bug fixes [J William Piggott] + - use int where appropriate [J William Piggott] + - use intmax_t where appropriate [J William Piggott] + - use to_uchar() instead of assignment. [J William Piggott] + - use uintmax_t where appropriate [J William Piggott] +partx: + - move partx.h to include/ [Karel Zak] +po: + - Fix a typo [Masanari Iida] + - Fix translation in ja.po [Masanari Iida] + - fix ipcrm translation error fr.po [Karel Zak] + - merge changes [Karel Zak] + - update cs.po (from translationproject.org) [Petr Písař] + - update da.po (from translationproject.org) [Joe Hansen] + - update es.po (from translationproject.org) [Antonio Ceballos Roa] + - update fr.po (from translationproject.org) [Stéphane Aulery] + - update pl.po (from translationproject.org) [Jakub Bogusz] + - update pt_BR.po (from translationproject.org) [Rafael Fontenelle] + - update sv.po (from translationproject.org) [Sebastian Rasmussen] +pylibmount: + - NULL terminate kwlist in Context_init [Zac Medico] +rename: + - add -o to the man page [Karel Zak] + - notice when expression and replacement are the same string [Sami Kerola] +reset: + - remove script from the package [Sami Kerola] +rfkill: + - add NFC fallback for old headers [Karel Zak] + - add Sami to authors [Karel Zak] + - add bash-completion file [Sami Kerola] + - add systemd-rfkill(8) see also segment [Sami Kerola] + - allow use of multiple arguments [Sami Kerola] + - check id number refers to a device that exists [Sami Kerola] + - clarify 'all devices' handling [Sami Kerola] + - cleanup returns [Karel Zak] + - cleanup usage() [Karel Zak] + - do not fsync(3) /dev/rfkill file descriptor [Sami Kerola] + - do not ignore read error [Sami Kerola] + - fix coding style and error messages [Karel Zak] + - fix description name typo [Sami Kerola] + - fix typo [coverity scan] [Karel Zak] + - improve default output [Karel Zak] + - inform in syslog when rfkill is invoked [Sami Kerola] + - make command to build in util-linux project [Sami Kerola] + - make programming style to match util-linux project [Sami Kerola] + - move files to appropriate locations [Sami Kerola] + - refactor actions [Karel Zak] + - remove duplicate code [Karel Zak] + - support old "list" output [Karel Zak] + - update manual page [Sami Kerola] + - use back and forward compatible test [Sami Kerola] + - use human readable timestamps in event output [Sami Kerola] + - use libsmartcols output [Sami Kerola] + - move it below rfkill_block. [Darren Salt] +runuser: + - fix linking [Sami Kerola] +script: + - ensure typescript and timing errors do not break terminal [Sami Kerola] + - fix ambiguity about the optional argument of the -t option [Antonio Ospite] + - rename fixtty() to enable_rawmode_tty() [Karel Zak] + - simplify stdin usage in poll() [Karel Zak] + - support sig{stop/cont} [Karel Zak] +setarch: + - use errtryhelp() [Ruediger Meier] +setpriv: + - Add --init-groups option [Sebastian Schrader] + - add --ambient-caps to usage() [Karel Zak] + - align --help [Ruediger Meier] + - document accepted formats for naming caps [Patrick Steinhardt] + - introduce indirection for `capng_type` enum [Patrick Steinhardt] + - proxy function checking whether a capability is set [Patrick Steinhardt] + - proxy function to update capabilities [Patrick Steinhardt] + - silence compiler warning [Ruediger Meier] + - support dumping ambient capabilities [Patrick Steinhardt] + - support modifying the set of ambient capabilities [Patrick Steinhardt] + - support setting unnamed capabilities [Patrick Steinhardt] +setproctitle: + - fix out of boundary access [Tobias Stoeckmann] +setsid: + - document fork(2) usage [Karel Zak] +sfdisk: + - use fdisk_device_is_used() [Karel Zak] +su: + - (pty) fix child signal mask usage [Karel Zak] + - (pty) fix slave terminal attributes initialization [Karel Zak] + - (pty) improve SIGSTOP/SIGCONT semantic [Karel Zak] + - (pty) save child status [Karel Zak] + - (pty) simplify stdin usage in poll() [Karel Zak] + - add --pty option [Karel Zak] + - add PTY support [Karel Zak] + - add child to control struct [Karel Zak] + - add control struct [Karel Zak] + - add debug.h stuff [Karel Zak] + - add more informartion to man page [Karel Zak] + - add wait_for_child() [Karel Zak] + - clean up const usage [Karel Zak] + - clean up signals usage [Karel Zak] + - cleanup PAM stuff [Karel Zak] + - cleanup pwd struct usage [Karel Zak] + - cleanup setenv related code [Karel Zak] + - cleanup setuid/gid related code [Karel Zak] + - cleanup shell related code [Karel Zak] + - cleanup usage() [Karel Zak] + - cleanup usernames usage [Karel Zak] + - consolidate tty name usage [Karel Zak] + - cosmetic changes after indent [Karel Zak] + - cosmetic code changes [Karel Zak] + - enable TIOCSCTTY and minor changes [Karel Zak] + - fix compiler warnings [-Wimplicit-fallthrough=] [Karel Zak] + - fix debug message [Karel Zak] + - fix indention [Karel Zak] + - fix non-pty compilation [Karel Zak] + - fix refactoring bug in child PID usage [Karel Zak] + - improve some debug messages [Karel Zak] + - keep old sigactions in control struct [Karel Zak] + - make wait_for_child() usable in arbitrary situation [Karel Zak] + - move PAM session initialization to separate function [Karel Zak] + - move parent signals setup to separate function [Karel Zak] + - properly clear child PID [Karel Zak] + - rename evaluate_uid() [Karel Zak] + - reorder functions [Karel Zak] + - unblock signals is all initialized [Karel Zak] + - use switch() to split after fork [Karel Zak] +swaplabel: + - fix --disable-libuuid compilation [Karel Zak] +test: + - update PMBR hex dumps [Karel Zak] +tests: + - Add UDF hdd image which label has length 30 characters [Pali Rohár] + - Add UDF hdd images with blocksize 1024 and 4096 created by Linux mkudffs 1.3 [Pali Rohár] + - add MBR resize tests [Karel Zak] + - add more tests for line(1) [Ruediger Meier] + - check for missing programs in last(1) test [Karel Zak] + - check sfdisk resize on unsorted offsets [Karel Zak] + - don't use errno in output [Karel Zak] + - explicitly define wipefs outpuit columns [Karel Zak] + - fix and refactor partx [Ruediger Meier] + - fix fincore, don't use variable COLUMNS [Ruediger Meier] + - remove UUIDs with time overflow from uuidparse [Karel Zak] + - split partx in root and non-root [Ruediger Meier] + - update UDF test, add ID_FS_VERSION [Pali Rohár] + - update build-sys tests [Karel Zak] + - update sfdisk wipe test [Karel Zak] + - update wipefs outputs [Karel Zak] + - use sample-fdisk-mkpart [Karel Zak] + - use sample-fdisk-mkpart-fullspec [Karel Zak] +tools: + - add checkusage.sh [Ruediger Meier] + - add segfault detection for checkusage.sh [Ruediger Meier] + - checkusage can dump all command output [Ruediger Meier] + - ignore unsafe commands in checkusage.sh [Ruediger Meier] +travis: + - add make checkusage [Ruediger Meier] + - fix another chown issue [Karel Zak] + - minor cosmetics [Ruediger Meier] + - use --disable-makeinstall-chown everywhere [Karel Zak] +tunelp: + - use linux header [Sami Kerola] +umount: + - add note about NFS and -c to umount.8 [Karel Zak] + - never 'stat' the path when "-c" is given. [NeilBrown] +uuidd: + - remove unused define [Ruediger Meier] +uuidgen: + - add more details to man page [Karel Zak] + - add support for hash-based UUIDs [Philip Prindeville] + - improve --help [Karel Zak] + - slice up the usage text [Sami Kerola] +uuidparse: + - add bash-completion file [Sami Kerola] + - add new command [Sami Kerola] + - fix getopt crash [Ruediger Meier] + - fix stack-buffer-overflow [asan] [Karel Zak] + - nil uuid have all bits set to zero [Sami Kerola] + - se JSON table name on -J [Karel Zak] +vipw: + - use explicit_bzero() to clear buffer after copy [Sami Kerola] +wall: + - don't use gid_t when allocate grounps array [Karel Zak] + - fix OSX getgrouplist, gid_t* vs int* [Karel Zak] +wdctl: + - do not call fsync(2) when closing watchdog device [Sami Kerola] +whereis: + - add --help and --version [Ruediger Meier] + - include native multiarch path in lib search paths [Andreas Henriksson] +wipefs: + - add control struct [Karel Zak] + - cleanup offsets list usage, fix -t filter [Karel Zak] + - don't do step-back if does not match [Karel Zak] + - exit on failed erase [Karel Zak] + - improve --help [Karel Zak] + - print all signature permutations [Karel Zak] + - try another magic strings on -o and -t [Karel Zak] + - use libsmartcols [Karel Zak] +zramctl: + - fix show all non-zero zram devices [James Sanford] + - remove unused ZRAM_EMPTY and blank line [James Sanford] diff --git a/Documentation/releases/v2.32-ReleaseNotes b/Documentation/releases/v2.32-ReleaseNotes new file mode 100644 index 0000000..7fb93df --- /dev/null +++ b/Documentation/releases/v2.32-ReleaseNotes @@ -0,0 +1,492 @@ +Util-linux 2.32 Release Notes +============================= + +Release highlights +------------------ + +The command cal(1) has been improved to provide better control on used calendar +system. Now it is possible to switch between Gregorian and Julian exclusively, +or use the current default (reform in September 1752). The new command line +options --reform and --iso have been added. The command also follows terminal +width to format output. + +The library libblkid has been extended to support LUKS2, Micron mpool, VDO and +Atari partition table. + +The command rfkill(8) has been moved to /usr/sbin to be compatible with the +original rfkill implementation. + +The command dmesg(1) provides better support for multi-line messages and the +new command line option --force-prefix to print facility, level or timestamp +information to each line of a multi-line message + +The command fallocate(1) --dig-holes is faster and more effect now. + +The command fdisk(8) provides access to Protective MBR accessible from main +menu. The Sun label support has been improved. + +The command lscpu(1) provides more details about ARM CPUs now. + +The command lsmem(1) supports memory zone awareness now. + +The command lsns(8) provides netnsid and nsfs columns now. + +The command rtcwake(8) waits stdin to settle down before entering a system +sleep. + +The new command line option --kill-child has been added to unshare(1). + + +Stable maintenance releases between v2.31 and v2.32 +--------------------------------------------------- + +util-linux 2.31.1 [Dec 19 2017] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.31/v2.31.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.31/v2.31.1-ChangeLog + + +Changes between v2.31 and v2.32 +------------------------------- + +agetty: + - Fix a use of uninitialised memory in an agetty error path. [Steven Smith] + - add support for /etc/issue.d [Karel Zak] + - remove unused flag [Karel Zak] +bash-completion: + - (umount) use findmnt, escape a space in paths [Karel Zak] + - Exclude /dev/fd from fsck find [Kevin Locke] + - update zramctl algorithms list [Sami Kerola] +blkid: + - Add support for LUKS2 and new LABEL attributes. [Milan Broz] +blkzone: + - Fix a typo in blkzone.8 [Masanari Iida] +blockdev: + - be more explicit for BLKSSZ in blockdev.8 [Karel Zak] +build-sys: + - (configure) fix bashisms [Mike Frysinger] + - add --enable-asan and --memcheck-asan for tests [Karel Zak] + - add missing include [Karel Zak] + - automake is able to find headers in builddir ... [Ruediger Meier] + - avoid using prog_DEPENDENCIES [Ruediger Meier] + - disable bz2 tarball and fix some am warnings [Ruediger Meier] + - don't check for swapon() number of arguments [Karel Zak] + - forgot update NEWS for v2.32-rc1 [Karel Zak] + - gtkdoc-fixxref v1.27 requires module option [Karel Zak] + - lsns requires libmount [Karel Zak] + - move rfkill to /usr/sbin [Karel Zak] + - release++ (v2.32-rc2) [Karel Zak] + - remove generated headers from dist tar ball [Ruediger Meier] + - remove redundant EXTRA_DIST files [Ruediger Meier] + - remove unneeded dependencies on bla.h.in [Ruediger Meier] +cal: + - Use ALTMON_* correctly [Rafal Luzynski] + - add ifdef TEST_CAL [Karel Zak] + - add option to set Gregorian reform date [J William Piggott] + - clean up man page synopsis syntax [Karel Zak] + - do not set months_in_row with -3 option [J William Piggott] + - don't use year header for -1, -3 or -n [Karel Zak] + - explain magic values for day of week calculation [Karel Zak] + - fix first week calculation [J William Piggott] + - fix julian calendars for large years [J William Piggott] + - fix multi-byte comment, explain in better way [Karel Zak, J William Piggott] + - fix week calculations for 1752 [J William Piggott] + - follow terminal width [Karel Zak] + - honor num_months when only a year argument [J William Piggott] + - move REFORMATION_YEAR to control struct [J William Piggott] + - remove extra space after year output [Karel Zak] + - update man page [J William Piggott] +chmem: + - cleanup includes [Karel Zak] + - cleanup usage() [Karel Zak] +chrt: + - fix compiler warning [-Wmaybe-uninitialized] [Karel Zak] +column: + - add --table-noheadings [Karel Zak] + - allow to hide unnamed columns [Karel Zak] + - don't ignore space-char separators at begin of the line [Karel Zak] + - fix memory leak [coverity scan] [Karel Zak] + - update column.1 [ahmogit] + - use \x for invalid multibyte seq. [Karel Zak] +dmesg: + - Add --force-prefix option [Prarit Bhargava] + - add note about -F format to the man page [Karel Zak] + - fix compiler warning [-Wuninitialized] [Karel Zak] + - use xstrdup() in xalloc.h based util [Karel Zak] +docs: + - add ISC licence [Carlos Santos] + - add new idea to TODO list [Karel Zak] + - add note about JSON [Karel Zak] + - add note about NVMe-multipath to TODO [Karel Zak] + - add remount-all idea to TODO [Karel Zak] + - add script(1) events idea to TODO [Karel Zak] + - improve setarch(8) manual page [Sami Kerola] + - update AUTHORS file [Karel Zak] + - update TODO [Karel Zak] + - update TODO file [Karel Zak] + - update v2.32-ReleaseNotes [Karel Zak] +eject: + - remove list_speeds() #ifdef CDROM_SELECT_SPEED protection [Sami Kerola] +fallocate: + - dig holes only in data extents [Karel Zak, Vaclav Dolezal] + - remove typo [Karel Zak] +fdisk: + - (gpt) make PMBR accessible from main menu [Karel Zak] +fincore: + - Handle large files correctly on 32 bit [Tobias Stoeckmann] + - Handle large files on 32 bit without LFS [Tobias Stoeckmann] + - fix a typo in fincore.1 [Masatake YAMATO] +findfs: + - don't include exitcodes.h [Karel Zak] +findmnt: + - findmnt.8 remove spurious spaces before "--tree" and "--verbose" [Jakub Wilk] +fsck: + - cleanup find_fsck() [Karel Zak] + - coding style cleanup [Karel Zak] + - use xasprintf to avoid buffer overruns with an insane fs type [Theodore Ts'o] +fsck.cramfs: + - Fix bus error on broken file system. [Tobias Stoeckmann] + - fix crash when superblock size is too small [Ruediger Meier] + - fix error message [Ruediger Meier] +fstrim: + - don't include exitcodes.h [Karel Zak] + - fix fs.h and mount.h collision [Karel Zak] +hwclock: + - add --ul-debug implementing debug.h [J William Piggott] + - add iso-8601 overflow check [J William Piggott] + - fix debug regression [J William Piggott] + - rename --debug option to --verbose [J William Piggott] + - revert ioctl test [Karel Zak] + - use reentrant time conversion functions [J William Piggott] +include/c: + - add errexec() [Karel Zak] +include/debug: + - don't print pointer address for SUID programs [Karel Zak] + - improve debug message [Karel Zak] + - introduce __UL_INIT_DEBUG_FROM_STRING() [Karel Zak] + - print info when addresses suppressed [Karel Zak] +kill: + - Extract signal names into signames.h/signames.c [Niklas Hambüchen] +lib: + - Add simple crc32c() function [John Groves] +lib/exec_shell: + - (and pager) use errexec() [Karel Zak] + - cleanup function attributes [Karel Zak] +lib/mangle: + - return size of the decoded buffer [Karel Zak] +lib/mbsalign: + - Fix escaping nonprintable multibyte characters [Vaclav Dolezal] + - add mbs_invalid_encode() [Karel Zak] + - encode \x to \xecx [Karel Zak] + - encode backslash to prevent ambiguity [Vaclav Dolezal] + - escape "\x" when HAVE_WIDECHAR not defined [Vaclav Dolezal] +lib/md5: + - use ul_/UL_ prefix [Karel Zak] +lib/path: + - make path_set_prefix() independent on cpu_set_t [Karel Zak] +lib/randutils: + - Do not block on getrandom() [Carlo Caione] + - don't break on EAGAIN, use usleep() [Karel Zak] +lib/sha1: + - fix indention [Karel Zak] + - use proper WORDS_BIGENDIAN macro [Karel Zak] + - use ul_/UL_prefix for symbols [Karel Zak] +lib/signames: + - fix redefinition of 'sys_signame' on OSX [Karel Zak] + - remove signame array from header file [Karel Zak] + - remove unused function [Sami Kerola] +lib/timeutils: + - ISO_8601_BUFSIZ too small [J William Piggott] + - add common ISO timestamp masks [J William Piggott] + - add get_gmtoff() [J William Piggott] +lib/timeutils.c: + - bug fix Segmentation fault [J William Piggott] + - strxxx_iso do not wrap tm_year [J William Piggott] + - strxxx_iso test conversion errors [J William Piggott] + - warn format_iso_time() overflow [J William Piggott] +libblkid: + - (bcache) cleanup magic string definition [Karel Zak] + - (dos) make subtypes probing more robust [Karel Zak] + - (mpool) checksum is LE [Karel Zak] + - (mpool) don't use gtkdocs-like comment block [Karel Zak] + - Add VDO superblock information into blkid [Sweet Tea Dorminy] + - Add support for Micron mpool formatted drives [John Groves] + - Add support for stratis [Tony Asleson] + - Mark char* params to blkid_dev_set_search as const [Andy Grover] + - Support for Atari partitioning scheme [Vaclav Dolezal] + - add debug messages when ignore useless devices [Karel Zak] + - atari - don't add duplicate entries [Vaclav Dolezal] + - atari - fix bad variable name [Vaclav Dolezal] + - atari - reject devices with blocksize != 512 [Vaclav Dolezal] + - atari - test if any partition fits disk size [Vaclav Dolezal] + - ignore private Stratis devices [Tony Asleson] + - improve FreeBSD partitions parsing [Karel Zak] + - make mpool independent on libuuid [Karel Zak] + - udf Fix parsing LVID location [Pali Rohár] + - udf Fix parsing UDF revision [Pali Rohár] + - udf Fix reading Logical Volume Integrity Descriptor Implementation Use (LVIDIU) [Pali Rohár] + - udf Optimize and fix probing when block size > 2048 bytes [Pali Rohár] + - udf Really try to read only first LVID [Pali Rohár] + - udf Stop scanning Volume Descriptors after we found Terminating Descriptor [Pali Rohár] + - udf Update copyright [Pali Rohár] + - udf Use UDF revision field from LVD domain id "*OSTA UDF Compliant" as a fallback value for ID_FS_VERSION when LVIDIU is missing [Pali Rohár] + - vfat Fix reading labels which starts with byte 0x05 [Pali Rohár] +libfdisk: + - (docs) add missing docs blocks [Karel Zak] + - (docs) improve enums documentation [Karel Zak] + - (docs) update year [Karel Zak] + - (dos) fix max heads [Karel Zak] + - (gpt) add VMware specific UUIDs [Karel Zak] + - (gpt) move backup header after device resize [Karel Zak] + - (gpt) use fdisk_warn() for failed name setting [Karel Zak] + - (script) be consistent in code with types [Karel Zak] + - (script) support R (RAID) and V (LVM) shortcuts [Karel Zak] + - (sun) enhance searching of free space [Mikhail Vorobyov] + - (sun) fix creation of whole disk partition [Mikhail Vorobyov] + - (sun) fix n-1 bug and whole-disk [Karel Zak] + - (sun) move aligning of the first sector before availability check [Mikhail Vorobyov] + - Fix uninitialized structure [Roddy Shuler] + - allocate enough bytes for ucs2 to utf8 encoding [Vaclav Dolezal] + - allow to start freespace for zero [Karel Zak] + - extend API to provide label specific geometry ranges [Karel Zak] + - fix docs warnings [Karel Zak] + - gpt properly encode string on rename [Vaclav Dolezal] + - return bytes processed from gpt_entry_set_name(), process rc [Vaclav Dolezal] +libmount: + - (docs) update year [Karel Zak] + - Allow MNT_FORCE and MNT_DETACH at umount [Joshua Watt] + - Use waitpid() when waiting for mount helper child process [Vratislav Podzimek] + - add missing macro to docs [Karel Zak] + - add nsfs between pseudo filesystems [Karel Zak] + - check waitpid() return code [Karel Zak] + - deallocate on /proc/swaps parse error [Karel Zak] + - fix access() utab write test [Karel Zak] + - fix debug message [Karel Zak] + - fix example in docs [Karel Zak] + - fix fs pattern usage in mount --all [Karel Zak] + - fix mnt_table_is_fs_mounted() for rbind [Karel Zak] + - make libmount.h more robust [Karel Zak] + - make sure we deallocate on parse error [Karel Zak] + - minimize utimensat() write test usage [Karel Zak] + - use eacess() rather than open() to check mtab/utab [Karel Zak] +libsmartcols: + - (docs) update year [Karel Zak] + - don't add blank padding after left aligned title [Karel Zak] + - fix docs warnings [Karel Zak] + - fix mem-leaks in samples [Karel Zak] + - fixes issue with 0 width columns [taiyu] + - interpret zero width for pending data as error [Karel Zak] + - set minimal column width to 1 [Karel Zak] +libuuid: + - make "CONFORMING TO" man sections more explicit [Karel Zak] +login: + - add LOGIN_PLAIN_PROMPT to login.defs [Karel Zak] +login-utils: + - use free_getlogindefs_data() [Karel Zak] +lsblk: + - add hint about perms to man page [Karel Zak] + - document LSBLK_DEBUG= [Karel Zak] + - try device/dev to read devno [Karel Zak] +lscpu: + - (arm) cleanup code [Karel Zak] + - Decode ARM CPUs [Riku Voipio] + - Treat read failure on Xen Hypervisor properties as non-fatal [Dirk Mueller] + - move ARM decoding to lscpu-arm.c [Karel Zak] + - move struct lscpu_desc header file [Karel Zak] +lscpu-arm: + - add Faraday And Brahma cores [Riku Voipio] +lslocks: + - add note about OFDLCK [Karel Zak] +lsmem: + - add --split [Karel Zak] + - add hint about block merges to the man page [Karel Zak] + - fix memory leak [coverity scan] [Karel Zak] + - fix total online/offline memory calculation [Gerald Schaefer] + - improve path_read_xxx() usage [Karel Zak] + - make --split optional, follow output by default [Karel Zak] +lsmem/chmem: + - add memory zone awareness [Gerald Schaefer] + - add memory zone awareness to bash-completion [Andre Wild] +lsns: + - (man) write about using multi-line in NSFS cell of lsns [Masatake YAMATO] + - add --nowrap(-W) option [Masatake YAMATO] + - add a case for testing netnsid column [Masatake YAMATO] + - add a case for testing nsfs column [Masatake YAMATO] + - add netnsid column [Masatake YAMATO] + - add nsfs column [Masatake YAMATO] + - disable netnsid column by default [Masatake YAMATO] + - fix clang compiler warning [Ruediger Meier] + - initialize stuff when really necessary [Karel Zak] + - nsfs stuff cleanup [Karel Zak] + - remove if-after-xcalloc [Karel Zak] + - rename notruns to no_trunc [Karel Zak] +man: + - use long options in text and add example to uuidgen [Sami Kerola] +mcookie: + - (man) add note about getrandom() [Karel Zak] + - properly initialize hash [Karel Zak] +md5: + - declare byteReverse as static [Luca Ceresoli] +misc: + - fix printf i386 compiler warnings [Ruediger Meier] + - fix typos [Sami Kerola] + - fix typos using codespell [Ruediger Meier] + - remove %p from debug messages [Karel Zak] +mount: + - (man) be explicit about bind operation [Karel Zak] + - (man) update mount options for UDF [Steve Kenton] + - add hint about -t and root perms to the man page [Karel Zak] + - add more details about UUIDs and LABELs to the man page [Karel Zak] + - add note about "already mounted" behavior [Karel Zak] + - add note about cached kernel table for --all [Karel Zak] + - be more accurate in man page about propagation flags [Karel Zak] +mount(8): + - drop redundant filesystem-specific sections [Mike Frysinger] + - point people to the proc(5) page for mount options [Mike Frysinger] + - umount does not (anymore?) say `none busy' [Alan Jenkins] +newgrp: + - use errexec() [Karel Zak] +nsenter: + - fix compiler warning [-Wuninitialized] [Karel Zak] + - revert changes committed by accident [Karel Zak] +po: + - merge changes [Karel Zak] + - update cs.po (from translationproject.org) [Petr Písař] + - update es.po (from translationproject.org) [Antonio Ceballos Roa] + - update fi.po (from translationproject.org) [Lauri Nurmi] + - update fr.po (from translationproject.org) [Frédéric Marchal] + - update ja.po (from translationproject.org) [Takeshi Hamasaki] + - update pl.po (from translationproject.org) [Jakub Bogusz] + - update pt_BR.po (from translationproject.org) [Rafael Fontenelle] + - update uk.po (from translationproject.org) [Yuri Chornoivan] +rename: + - rename.1 fix typo, where -> were [Kenyon Ralph] + - use access(3) to check if a file exists [Sami Kerola] +rfkill: + - provide RFKILL_TYPE_FM if undefined [Ruediger Meier] +rtcwake: + - add note about HW and sleep to the man page [Karel Zak] + - fix sys vs. rtc time delta usage [Karel Zak] + - wait stdin to settle down before entering a system sleep [Sami Kerola] +sample-scols-title: + - add left title without padding [Karel Zak] +schedutils: + - use errexec() [Karel Zak] +setarch: + - minor code clean up [Sami Kerola] +setpriv: + - add example section [Sam Morris] + - fix manpage typo [Sam Morris] + - improve description in man page [Sam Morris] + - include --init-groups in the list of options that can be specified with --[re]gid [Sam Morris] +setsid: + - new option --fork [Karel Zak] +sfdisk: + - add hint about udev and flock to the man page [Karel Zak] + - allow to disable bootable flag on all partitions [Karel Zak] + - allow to use --activate for PMBR [Karel Zak] + - cleanup shortcuts in man page too [Karel Zak] + - create empty label on 'write' command [Karel Zak] + - wait before re-read [Karel Zak] +signames: + - Make input char buffers const [Niklas Hambüchen] +su: + - build fix for the case where USE_PTY is not defined [Samuel Thibault] + - use errexec() [Karel Zak] +sys-utils: + - use errexec() [Karel Zak] +test: + - Add UDF hdd image with final block size 4096 created by Linux mkudffs 1.3 [Pali Rohár] + - use subtests for jan1753 cal(1) test [Karel Zak] +test_sha1: + - update helper [Karel Zak] +tests: + - Add UDF cd image created by mkudfiso 20100208 [Pali Rohár] + - GPT device resize test [Karel Zak] + - add /proc/swaps libmount parser test [Karel Zak] + - add LUKS test images [Milan Broz] + - add cal(1) --week=40 1752 [Karel Zak] + - add fsck.cramfs bad-header test [Karel Zak] + - add ipcslimits lock [Ruediger Meier] + - add lock on shared resources (e.g. scsi_debug) [Karel Zak] + - add mdadm locks [Karel Zak] + - add mpool blkid test image [Karel Zak] + - add set-x to lsns test [Karel Zak] + - add some more udevadm settle [Ruediger Meier] + - add tests for encode functions from lib/mbsalign.c [Vaclav Dolezal] + - add udevadm settle to sfdisk/resize [Ruediger Meier] + - add wierd sleep for libmount/context [Ruediger Meier] + - added missing expected outputs for partx (atari) [Vaclav Dolezal] + - added test for libblkid atari pt [Vaclav Dolezal] + - adjust for ISO timezone colon use [J William Piggott] + - allow to use memory checks for libsmartcols [Karel Zak] + - better lsns report on fail [Karel Zak] + - check for HAVE_LINUX_NET_NAMESPACE_H [Karel Zak] + - column(1) test for space-char separator [Karel Zak] + - column(1) test non-space separator at begin of line [Karel Zak] + - consolidate ts_device_has UUID or LABEL [Ruediger Meier] + - don't call tests with races in --parallel [Karel Zak] + - don't lock fd 1 (stdout), don't use /proc/$$/fd [Ruediger Meier] + - don't use mount. helpers in mount-by-pattern tests [Karel Zak] + - don't use unlocked resources [Ruediger Meier] + - dont't timeout flock [Ruediger Meier] + - fix fincore/count KNOWN_FAIL [Ruediger Meier] + - fix grep expressions for devices [Ruediger Meier] + - fix losetup race [Ruediger Meier] + - fix lsns perms [Karel Zak] + - handle xargs errors and invalid args [Ruediger Meier] + - make lsns test more robust [Karel Zak] + - mark fincore/count as KNOWN_FAIL [Karel Zak] + - mark mbsencode as KNOWN_FAIL [Vaclav Dolezal] + - mbsencode - removed emoji, added control unicode character [Vaclav Dolezal] + - mbsencode - test for HAVE_WIDECHAR [Vaclav Dolezal] + - merge 1m and 3m cal(1) tests [Karel Zak] + - merge sep1752 cal(1) tests [Karel Zak] + - merge year cal(1) tests [Karel Zak] + - re-introduce bash 3 compatibility (OSX) [Ruediger Meier] + - rename --memcheck to --memcheck-valgrind [Karel Zak] + - rename ts_valgrind to ts_run [Karel Zak] + - rewrite cal(1) bigyear test [Karel Zak] + - rewrite fsck-bad-header [Ruediger Meier] + - simplify cal(1) sep1752w test [Karel Zak] + - support multiple locks [Karel Zak] + - suppress warning for old sync(1) [root] + - unlocks on failed ts_scsi_debug_init [Karel Zak] + - update build-sys tests [Karel Zak] + - update cal(1) tests [Karel Zak] + - update columns test due to dda229c7b2b16a31fae8e99079ab4f4ae5bc8eac [Karel Zak] + - update default lsmem output [Karel Zak] + - update libsmartcols/title [Karel Zak] + - update lsmem [Karel Zak] + - update setarch test [Karel Zak] + - use TS_HELPER_CAL [Karel Zak] + - use flock to modify fstab [Karel Zak] + - use libtool to execute with valgrind [Karel Zak] + - use pgrep instead of ps --ppid ... [Ruediger Meier] + - use subtests for sep1752w test [Karel Zak] + - use subtests for weekarg cal(1) tests [Karel Zak] + - use subtests for weeknum cal(1) tests [Karel Zak] +tests/lsmem: + - update lsmem test with ZONES column [Gerald Schaefer] +text-utils: + - use errexec() [Karel Zak] +tools: + - improve checkmans [Karel Zak] +travis: + - enable osx root checks [Ruediger Meier] + - homebrew/dupes was deprecated [Ruediger Meier] + - use parallel root checks [Ruediger Meier] +unshare: + - Add --kill-child option. [Niklas Hambüchen] + - Allow passing to --kill-child [Niklas Hambüchen] + - cleanup if-if code [Karel Zak] +uuidd: + - cosmetic coding style change [Karel Zak] + - don't truncate long socket paths [Ruediger Meier] +vipw: + - do not let editor to inherit open file descriptors [Sami Kerola] + - use errexec() [Karel Zak] +whereis: + - fix typo in debug message [Karel Zak] +zramctl: + - use xstrdup() [Karel Zak] diff --git a/Documentation/releases/v2.33-ReleaseNotes b/Documentation/releases/v2.33-ReleaseNotes new file mode 100644 index 0000000..395c9ff --- /dev/null +++ b/Documentation/releases/v2.33-ReleaseNotes @@ -0,0 +1,614 @@ +Util-linux 2.33 Release Notes +============================= + +Release highlights +------------------ + +choom -- NEW COMMAND to adjust and display the current OOM-killer score. + +The library libsmartcols has been improved to differentiate between numbers, +booleans and strings in JSON output. The old versions uses strings everywhere. +It's recommended to re-test your applications if you parse JSON outputs from +util-linux tools. + +The command fstrim(8) has been extended to trim all mounted filesystems from +/etc/fstab (-A|--fstab). This semantic is the default for systemd +fstrim.service now. The original default for the service was to trim all +(-a|--all) mounted filesystems (including for example removable media). Now it +is also possible to test fstrim behavior by new command line option --dry-run. + +The command hwclock(8) provides a new command line option --delay to overwrite +internally used delay when set clock time. The default is 0.5 (500ms) for +rtc_cmos, for another RTC types the delay is 0. If RTC type is impossible to +determine (from sysfs) then it defaults also to 0.5 to be backwardly +compatible. The 500ms default is based on commonly used MC146818A-compatible +(x86) hardware clock. + +The commands mount and umount, and libmount allow to mount and umount +filesystem in another namespace. The namespace may be specified by --namespace + command line option. The commands switch to the namespace when it +reads /etc/fstab, writes /etc/mtab (or writes to /run/mount) and calls [u]mount +system calls, otherwise it runs in the original namespace. It means that the +target namespace does not have to contain any libraries or another requirements +necessary to execute mount(8) or umount(8) commands. + +The command rename(1) provides a new command line option --interactive to ask +before overwriting. + +The command setarch(8) does not require architecture when modify personality like +ADDR_NO_RANDOMIZE. The architecture argument is optional now. + +The command su(1) provides a new command line option --whitelist-environment to +protect specified variables when su(1) starts a new session. + +The command setpriv(1) provides a new command line option --reset-env to reset +all environment. The another new command line option --pdeathsig allows to +keep, clear or or set the parent death signal. Note that some LSMs, most notably +SELinux and AppArmor, clear the signal when the process' credentials change. + +The commands fdisk(8) and sfdisk(8) print disk model name to simplify device +identification. + +The command "column --table-empty-lines" allows to use empty lines in formatted +output. + +The command wipefs has been improved to postpone BLKRRPART (re-read partition +table) ioctl until all magic strings are wiped. This semantic allows to avoid +conflicts between on partition magic strings and partition tables. + +The command script(1) has been extended to store more information about +terminal size and type to the typescript header. The size of the output may be +also restricted by a new command line option --output-limit. + +The libblkid provides BitLocker and basic APFS detection now. + +The command lsblk is possible to execute against /sys and /proc dumps if command +line option --sysroot is specified. This allows to prepare regression tests for +lsblk. So, if you have a complicated or unusual setup (RAIDs, pools, etc) than +you can use + https://raw.githubusercontent.com/karelzak/util-linux/master/tests/ts/lsblk/mk-input.sh +to generate the dump and send the tarball to upstream developers. (Thanks!) + + +The script ./configure has been improved and --with/without command line +options should be more consistent now. It's recommended to re-test your build +scripts. + + +Stable maintenance releases between v2.32 and v2.33 +--------------------------------------------------- + +util-linux 2.32.1 [Jul 16 2018] + + * https://www.kernel.org/pub/linux/utils/util-linux/v2.32/v2.32.1-ReleaseNotes + https://www.kernel.org/pub/linux/utils/util-linux/v2.32/v2.32.1-ChangeLog + + +Changes between v2.32 and v2.33 +------------------------------- + +agetty: + - Reload only if it is really needed [Stanislav Brabec] + - Watch only protocol requested by issue escapes [Stanislav Brabec] + - agetty.8 Avoid a warning about an unbreakable line [Bjarni Ingi Gislason] + - cleanup code to copy to log strings [Karel Zak] + - cleanup issue output change, remove bool [Karel Zak] + - don't put the VC into canonical mode [Lubomir Rintel] + - don't use __u32 [Karel Zak] + - keep c_iflags unmodified on --autologin [Karel Zak] + - make output more robust [Karel Zak] + - move all issue variables to struct [Karel Zak] + - rename variable changed to triggered [Stanislav Brabec] + - when logname is erased, re-enable reloads [Stanislav Brabec] +bash-completion: + - add findmnt --real --pseudo [Karel Zak] + - add swapon specifiers to completion [Sami Kerola] + - catch up with option changes [Sami Kerola] + - cleanup mount and umount --namespace [Karel Zak] + - do not print eject --cdspeed error messages [Sami Kerola] + - fix few bash set -u issues [Sami Kerola] + - fix typo in blockdev file [Sami Kerola] + - setpriv --securebits argument can be comma separated list [Sami Kerola] + - update column [Karel Zak] +blkid: + - (man) add note about udev encoding [Karel Zak] + - Encode any field which starts with LABEL in same way as LABEL field [Pali Rohár] + - fix compiler warnings [-Wcast-qual] [Karel Zak] +blkzone: + - fix report zones sector offset check [Masato Suzuki] + - fix whole device detection [Karel Zak] + - use new ul_path_* API [Karel Zak] +blockdev: + - use new ul_path_* API [Karel Zak] +bugfix: + - fix possible segfault during umount -a [Richard Fuchs] +build: + - Add missing -lintl linkage to lib{smartcols,uuid} [Karel Zak] +build-sys: + - --without-systemd disables --with-systemdsystemunitdir [Karel Zak] + - add -Wdiscarded-qualifiers [Karel Zak] + - add -Wno-cast-function-type for python [Karel Zak] + - add USE_LIBMOUNT_SUPPORT_NAMESPACES [Karel Zak] + - cleanup --with/--without help strings [Karel Zak] + - default to /lib64 for ${exec_prefix}/lib64 [Karel Zak] + - extend "Could not locate the pkg-config" error message [Karel Zak] + - fix typo in man install [Karel Zak] + - improve bison version detection [Karel Zak] + - release++ (v2.33-rc1) [Karel Zak] + - release++ (v2.33-rc2) [Karel Zak] +cal: + - fix --span for large numbers of months [Karel Zak] + - use snprintf everywhere [Karel Zak] +cfdisk: + - fix compiler warnings [-Wcast-qual] [Karel Zak] + - fix compiler warnings, follow-up 7085f1e4 (#636) [Ruediger Meier] + - fix missing prototype for `get_wch` [Patrick Steinhardt] + - use uint64_t to avoid compiler warnings [Karel Zak] +chcpu: + - Fix maximal number of CPUs [Stanislav Brabec] + - use new ul_path_* API [Karel Zak] +chmem: + - use new ul_path_* API [Karel Zak] +choom: + - fix build, remove unnecessary include [Karel Zak] + - new command to adjust OOM-killer score value [Karel Zak] + - set oom_score_adj before exec [Vaclav Dolezal] + - use new ul_path_* API [Karel Zak] +closestream: + - remove dummy function __fpending() [Sami Kerola] +column: + - add --table-empty-lines [Karel Zak] + - fix leading space characters bug [Karel Zak] +ctrlaltdel: + - use new ul_path_* API [Karel Zak] +dmesg: + - fix raw output [Karel Zak] + - link together with syslog(2) manual page [Sami Kerola] +docs: + - add adjtime_config(5) man page [Karel Zak] + - add cal(1) TODO items [Karel Zak] + - add choom to TODO [Karel Zak] + - add fdisk to TODO [Karel Zak] + - add getopt to TODO [Karel Zak] + - add hint about script [Karel Zak] + - add hwclock to TODO [Karel Zak] + - add info about branches; update travis.yml [Karel Zak] + - add note about --disable-all-programs [Karel Zak] + - add note about lsblk to TODO [Karel Zak] + - add note about lsblk usage/free cols [Karel Zak] + - add to column(1) TODO [Karel Zak] + - cleanup TODO [Karel Zak] + - fix gtkdoc warning [Karel Zak] + - fix typos [Jakub Wilk] + - remove obsolete entry from TODO [Karel Zak] + - update AUTHORS file [Karel Zak] + - update TODO [Karel Zak] + - update TODO (libblkid) [Karel Zak] + - update TODO (lsblk) [Karel Zak] + - update v2.33-ReleaseNotes [Karel Zak] + - use SPDX license names [Karel Zak] +eject: + - use err() rather than abort() [Karel Zak] +exec_shell: + - prevent ". applet not found" error when SHELL env is not set. [osexp2000] +fallocate: + - add man page note about --collapse-range granularity [Karel Zak] + - add missing semicolon [Matti Niemenmaa] + - remove unwanted debug message [Karel Zak] +fdisk: + - add "Disk model " to the print output [Karel Zak] + - fix compiler warning [-Wmaybe-uninitialized] [Karel Zak] + - fix error message on 'd' command [Karel Zak] + - fix typo in debug string [Vaclav Dolezal] +fincore: + - fincore.1 add missing space [Jakub Wilk] + - use scols_column_set_json_type() [Karel Zak] +findmnt: + - add --output-all option [Sami Kerola] + - use scols_column_set_json_type() [Karel Zak] +fstrim: + - Return EXIT_FAILURE when FTRIM ioctl fails [Karel Zak] + - add --dry-run [Karel Zak] + - add -A|--fstab to trim according to /etc/fstab [Karel Zak] + - add control struct [Karel Zak] + - cleanup includes [Karel Zak] + - update .service to follow /etc/fstab [Karel Zak] + - use -n shortcut for --dry-run [Karel Zak] + - use new ul_path_* API [Karel Zak] + - use new ul_path_* API, improve sysfs context usage [Karel Zak] +hwclock: + - add --delay [Karel Zak] + - fix warning [Karel Zak] + - rely on kernel for RTC_UIE_ON on Aplha and Sparc [Karel Zak] + - remove ntpd from man page [Karel Zak] +include/all-io: + - const cleanup [Karel Zak] +include/c: + - add NAME_MAX compat [Sevan Janiyan] + - add str2memcpy() and mem2strcpy() [Karel Zak] +include/list, include/c: + - update and container_of() [Karel Zak] +include/path: + - make sure PATH_MAX is defined [Karel Zak] +include/pt-mbr.h: + - fix integer overflow [Sami Kerola] +include/strutils: + - remove unnecessary cast [Karel Zak] +include/ttyutils: + - define values if missing. [Sevan Janiyan] +ipcs: + - use new ul_path_* API [Karel Zak] +ipcs,chmem: + - fix access() usage [Ruediger Meier] +iscript: + - s/COLS/COLUMNS/ in start message [Karel Zak] +last: + - fix false positive compiler warning [Sami Kerola] + - make sure domain is zero terminated [Karel Zak] +lib/canonicalize: + - fix truncation warning [Sami Kerola] +lib/color-names: + - const cleanup [Karel Zak] +lib/colors: + - fix compiler warnings [-Wcast-qual] [Karel Zak] +lib/loopdev: + - fix compiler warning [-Wcast-qual] [Karel Zak] + - remove obsolete macro [Karel Zak] + - use new ul_path_* API [Karel Zak] +lib/mangle: + - const quialifier cleanup [Karel Zak] +lib/pager: + - fix compiler warning [-Wrestrict] [Karel Zak] +lib/path: + - add more debug messages [Karel Zak] + - add ul_path_get_abspath() [Karel Zak] + - add ul_path_read_buffer() [Karel Zak] + - add ul_prefix_fopen(), improve cpuset funcs [Karel Zak] + - allow dir-path formatting [Karel Zak] + - don't use extra '/' [Karel Zak] + - fix read string to be backwardly compatible [Karel Zak] + - improve debug message on redirect [Karel Zak] + - make ul_path_read_ usable with NULL handler [Karel Zak] + - new implementation [Karel Zak] + - remove unused expression [Ruediger Meier] + - simplify debug message [Karel Zak] +lib/path lib/sysfs: + - add debug [Karel Zak] +lib/strutils: + - fix strnlen() fallback [Karel Zak] + - follow const in parse_size() [Karel Zak] + - remove redundant condition [Karel Zak] + - return from xstrmode() [Karel Zak] +lib/sysfs: + - add sysfs_blkdev_get_parent() [Karel Zak] + - add ul_new_sysfs_path() shortcut [Karel Zak] + - cleanup function names [Karel Zak] + - fix sysfs_blkdev_get_wholedisk() [Karel Zak] + - fix ul_path_read_string() usage [Karel Zak] + - make possible to call sysfs_blkdev_deinit_path() in loop [Karel Zak] + - new implementation [Karel Zak] +libblkid: + - (hfs) check allocation size [Karel Zak] + - (ntfs) enlarge cluster limit to 2MB [Karel Zak, Jean-Pierre André] + - (ntfs) fix cluster size check [Karel Zak] + - (zfs) fix compiler warning [-Wmaybe-uninitialized] [Karel Zak] + - Add more APFS checking to avoid false positives [Harry Mallon] + - Add very basic APFS recognition [Harry Mallon] + - Check for a secondary LUKS2 header. [Milan Broz] + - add BitLocker detection [Karel Zak] + - const qualifier cleanup [Karel Zak] + - udf Fix reporting UDF 2.60 revision [Pali Rohár] + - use new ul_path_* API [Karel Zak] + - use xstrncpy() for PT id [coverity scan] [Karel Zak] + - vfat Change parsing label in special cases [Pali Rohár] +libfdisk: + - (docs) add missing function [Karel Zak] + - (docs) fix section name [Karel Zak] + - Accept negative numbers for last sector input [Awal Garg] + - Fix multipath partition seperators for user-friendly names [KyleMahlkuch] + - accept grain script header [Karel Zak] + - add fdisk_get_devmodel() and fdisk_get_devno() [Karel Zak] + - count gaps to possible size when resize [Karel Zak] + - fix OSX compiler warning [Ruediger Meier] + - fix compiler warning [-Wmaybe-uninitialized] [Karel Zak] + - fix compiler warning [-Wunused-parameter] [Karel Zak] + - fix compiler warnings [-Wcast-qual] [Karel Zak] + - fix list_del after partition reset [Vaclav Dolezal] + - fix printf format modifier [Ruediger Meier] + - improve JSON output [Karel Zak] + - reduce number of asprintf() calls, check return value [Karel Zak] + - use \x to read/write partition name [Karel Zak] + - use new ul_path_* API [Karel Zak] +libmount: + - (mountinfo) parse empty strings in source [Alban Crequy] + - (utils) fix compiler warnings [-Wcast-qual] [Karel Zak] + - accept another flags on MS_REMOUNT|MS_BIND [Karel Zak] + - add missing const [Karel Zak] + - add since tag for new functions [Karel Zak] + - add support for switching namespaces [Vaclav Dolezal] + - added error MNT_ERR_NAMESPACE [Vaclav Dolezal] + - cleanup const in umount code [Karel Zak] + - cleanup licenses sections in the files [Karel Zak] + - don't use MS_MGC_VAL magic in mount(2) syscall [Karel Zak] + - fix compiler warning [-Wcast-qual] [Karel Zak] + - fix compiler warning [-Wunused-parameter] [Karel Zak] + - fix mnt_table_is_fs_mounted() for NFS bind mounts. [NeilBrown] + - improve MS_REC usage [Karel Zak] + - improve docs about mnt_context_mount() return codes [Karel Zak] + - include sys/mount.h on Linux only [Karel Zak] + - include sys/mount.h only if necessary [Karel Zak] + - keep namespaces support optional [Karel Zak] + - make errno usable after mnt_context_set_target_ns() [Karel Zak] + - note namespaces in mnt_reset_context() docs [Vaclav Dolezal] + - report context paths on debug [Karel Zak] + - support for namespaces for helpers [Vaclav Dolezal] + - switch namespace when appropriate [Vaclav Dolezal] + - use const char in fstab parser [Karel Zak] + - use const char in mountinfo parser [Karel Zak] + - use const char in swaps parser [Karel Zak] +libsmartcols: + - allow to add line to table without columns [Karel Zak] + - don't mark as extreme where average is zero [Karel Zak] + - don't print empty column [Karel Zak] + - improve JSON support (add types) [Karel Zak] + - make sure boolean is true/false only [Karel Zak] +libuuid: + - add note about RFC4122 UUID layout [Karel Zak] + - fix name-based UUIDs [Karel Zak] +logger: + - Define SD_JOURNAL_SUPPRESS_LOCATION. [YmrDtnJu] + - add -S to the man page [Karel Zak] +login: + - cleanup code to copy to log strings [Karel Zak] + - use const qualifier for username from PAM or struct passwd [-Wcast-qual] [Karel Zak] +losetup: + - add --output-all option [Sami Kerola] + - add reference to suffixes for --{sizelimit,offset} [Karel Zak] + - fix mem leak, improve code [coverity scan] [Karel Zak] + - keep -f and mutually exclusive [Karel Zak] + - use scols_column_set_json_type() [Karel Zak] +lsblk: + - add --sysroot [Karel Zak] + - add PATH column [Karel Zak] + - add columns FSAVAIL,FSSIZE,FSUSED,FSUSE% [Karel Zak] + - add lsblk.h [Karel Zak] + - add note about --list -I [Karel Zak] + - add partition table UUID and type fields. [Milan Broz] + - always use "part" as TYPE for partitions [Karel Zak] + - cleanup udev/blkid properties code [Karel Zak] + - consolidate column types for JSON and qsort() [Karel Zak] + - differentiate between swap and mount [Karel Zak] + - document --sysroot [Karel Zak] + - don't ask udev when --sysroot specified [Karel Zak] + - don't exclude RAM disks on --all [Karel Zak] + - encapsulate stat() usage [Karel Zak] + - fix COL_SCHED [Karel Zak] + - fix notes about RAM disks [Karel Zak] + - fix sysfs_devno_to_devname() usage [Karel Zak] + - fix ul_path_read_string() usage [Karel Zak] + - fix unknown type `stat` caused by missing header [Patrick Steinhardt] + - follow --sysroot when read mountpoints [Karel Zak] + - init/deinit libmount stuff [Karel Zak] + - move mount stuff to lsblk-mnt.c [Karel Zak] + - move udev and blkid stuff to lsblk-properties.c [Karel Zak] + - prefer MODEL from udev DB [Karel Zak] + - use lsblk_ prefix mountpoint getter [Karel Zak] + - use new ul_path_* API [Karel Zak] + - use prefix for DM name [Karel Zak] +lscpu: + - Cortex-A12 merged into Cortex-A17 [Karel Zak] + - add 'Address sizes' [Karel Zak] + - add --output-all option [Sami Kerola] + - fix resource leak [coverity scan] [Karel Zak] + - fixed part ID for ARM Cortex-M7 [Mark Sheppard] + - make xasprintf call more robust [Karel Zak] + - use new ul_path_* API [Karel Zak] + - use the first VM from /proc/sysinfo [Karel Zak] +lscpu, chcpu: + - Avoid use of the old CPU macros [Stanislav Brabec] +lsipc: + - cleanup columns[] usage [Karel Zak] +lslocks: + - add --bytes cleanup SIZE usage [Karel Zak] + - add --output-all option [Sami Kerola] + - add info about OFD [Karel Zak] + - fix memory leak [Karel Zak] + - use scols_column_set_json_type() [Karel Zak] +lslogins: + - add --output-all option [Sami Kerola] + - add -o+ support [Karel Zak] + - add PWD-METHOD column [Karel Zak] + - add info about single-user output mode [Karel Zak] + - fix password verification [Karel Zak] + - remove redundant condition [Karel Zak] + - return 1 on "lslogins nonexisting" [Karel Zak] +lsmem: + - add --output-all option [Sami Kerola] + - improve JSON output [Karel Zak] + - make output more compatible with another utils [Karel Zak] + - remove unused variable [Karel Zak] + - use new ul_path_* API [Karel Zak] +lsns: + - add --output-all option [Sami Kerola] + - remove unnecessary include [Karel Zak] + - use scols_column_set_json_type() [Karel Zak] +man: + - Change the only argument to two for the two-fonts macros [Bjarni Ingi Gislason] + - Use the correct macro for a font change of one argument [Bjarni Ingi Gislason] + - choom.1 Use the correct macro for the font change of one argument [Bjarni Ingi Gislason] +man pages: + - Fix misuse of two-fonts-macros (BR, IR) [Bjarni Ingi Gislason] + - Remove "left" (or change to "l") in the column formats of tables [Bjarni Ingi Gislason] + - fix formatting of long lines in tables [Bjarni Ingi Gislason] +mesg: + - do not print 'ttyname failed' message unless --verbose requested [Sami Kerola] +misc-tools/findmnt: + - a few whitespace fixes [sluidfoe] + - add --pseudo, --real filters [sluidfoe] +misc-utils/findmnt: + - misc-utils/findmnt.8 add --pseudo and --real options [sluidfoe] +misc-utils/getopt: + - misc-utils/getopt.1 minor corrections to the manual [Bjarni Ingi Gislason] +mkfs.cramfs: + - properly copy disk name [Karel Zak] + - remove redundant condition [Karel Zak] +mkswap: + - fix compiler warnings [-Wcast-qual] [Karel Zak] +more: + - do not call fileno() for std{in,out,err} streams [Sami Kerola] + - move couple functions [Sami Kerola] + - remove 'register' keywords [Sami Kerola] + - remove dead code and useless comments [Sami Kerola] + - remove function like preprocessor defines [Sami Kerola] + - remove function prototypes [Sami Kerola] + - remove global variables, add struct more_control [Sami Kerola] + - remove pointless functions [Sami Kerola] + - remove unnecessary ifdef preprosessor directives [Sami Kerola] + - rename functions [Sami Kerola] + - rename variable names [Sami Kerola] + - reorder global declarations [Sami Kerola] + - return is statement not a function [Sami Kerola] +mount: + - add -N to man page helpers section [Karel Zak] + - add details about mtab and --namespace to mount.8 [Karel Zak] + - add ext4 to some places to the man page [Karel Zak] + - add note about MS_BIND and _netdev [Karel Zak] + - add support for namespaces [Vaclav Dolezal] + - added options exposing libmount's optsmode [Vaclav Dolezal] + - allow PID as --namespace argument [Vaclav Dolezal] + - document --namespace in man/help [Vaclav Dolezal] + - document --options-* in man/help [Vaclav Dolezal] + - keep MS_MOVE as flag [Karel Zak] + - more notes about --options-* to man page [Karel Zak] + - use internally string to set move/bind operations [Karel Zak] + - use string_to_bitmask() [Vaclav Dolezal] +mount(8): + - clarify behavior of --options-mode [Vaclav Dolezal] +mountpoint: + - simplify test condition [cppcheck] [Sami Kerola] +namei: + - provide more usable error message on lstat() error [Karel Zak] +nls: + - remove translation strings [Sami Kerola] +partx: + - add --output-all option [Sami Kerola] + - exit with error code when partition read failed [Andreas Henriksson] + - use new ul_path_* API [Karel Zak] +po: + - fix lsblk translation [Karel Zak] + - merge changes [Karel Zak] + - pt_BR fix fallocate '-l' help msg [Luiz Angelo Daros de Luca] + - update cs.po (from translationproject.org) [Petr Písař] + - update es.po (from translationproject.org) [Antonio Ceballos Roa] + - update fr.po (from translationproject.org) [Frédéric Marchal] + - update ja.po (from translationproject.org) [Takeshi Hamasaki] + - update pl.po (from translationproject.org) [Jakub Bogusz] + - update pt_BR.po (from translationproject.org) [Rafael Fontenelle] + - update sv.po (from translationproject.org) [Sebastian Rasmussen] + - update uk.po (from translationproject.org) [Yuri Chornoivan] +rename: + - add option --interactive to ask before overwriting [G.raud Meyer] + - ask() call __fpurge() to cater for multi-byte characters [G.raud Meyer] + - ask() print n when EOF on input [G.raud Meyer] + - avoid undefined function prototype for `fpurge` [Patrick Steinhardt] + - check source file access early [G.raud Meyer] + - consolidate printing the symlink in addition to its target [G.raud Meyer] + - detect tty in cbreak mode to make ask() read a single byte [G.raud Meyer] + - fix/reverse the semantics of --no-overwrite in --symlink mode [G.raud Meyer] + - fixup & style (no functional changes) [G.raud Meyer] + - prevent --no-act from setting --no-overwrite [G.raud Meyer] + - rename.1 describe interactive mode [G.raud Meyer] + - rename.1 fix warning section [G.raud Meyer] + - skip faccessat() failure if AT_SYMLINK_NOFOLLOW is not a valid flag [G.raud Meyer] + - test availability of __fpurge() and fpurge() [G.raud Meyer] + - when --no-overwrite skip verbosily only when --verbose [G.raud Meyer] +resizepart: + - use new ul_path_* API [Karel Zak] +rev: + - move a global variable to local scope [Sami Kerola] +rfkill: + - add --output-all option [Sami Kerola] + - don't use lib/path [Karel Zak] + - include instead of [Patrick Steinhardt] + - use scols_column_set_json_type() [Karel Zak] +script: + - add more info to script header [Karel Zak] + - add the -o/--output-limit option. Fix race test. [Fred Mora] + - be sensitive to another SIGCHLD ssi_codes [Karel Zak] + - cleanup done timestamp message [Karel Zak] + - fix printf format specifiers [Ruediger Meier] + - record exit code [Karel Zak] + - use uint64_t for file sizes [Karel Zak] +setarch: + - add another PER_LINUX32 aliases for ppcle [Karel Zak] + - make optional [Karel Zak] + - split set_arch() function to small functions [Karel Zak] +setpriv: + - add --reset-env [Karel Zak] + - add user/group names to usage() [Karel Zak] + - allow to use group name for --groups [Karel Zak] + - implement option to set parent death signal [Patrick Steinhardt] +setterm: + - fix compiler warnings [-Wcast-qual] [Karel Zak] +sfdisk: + - be more verbose about PMBR on --activate [Karel Zak] + - disable --activate for Hybrid GPT/MBR [Karel Zak] + - document script GPT headers [Karel Zak] +su: + - add --whitelist-environment [Karel Zak] + - add note about SIGKILL to the man page [Karel Zak] + - add note about merged /usr [Karel Zak] + - cleanup code to copy to log strings [Karel Zak] +sulogin: + - do not use plain 0 as NULL [Karel Zak] + - restore signals after failed exec() only [Karel Zak] +swapon: + - add --output-all option [Sami Kerola] + - fix compiler warnings [-Wcast-qual] [Karel Zak] +sys-utils/fallocate: + - sys-utils/fallocate.1 Some tidying of the manual [Bjarni Ingi Gislason] +test: + - update UUID v5 tests [Karel Zak] +tests: + - Add tests for FAT32 labels [Pali Rohár] + - add cal --span tests [Karel Zak] + - add choom to build-sys test [Karel Zak] + - add column --table-empty-lines test [Karel Zak] + - add empty column test [Karel Zak] + - add lsblk test script [Karel Zak] + - add mountinfo with empty source [Karel Zak] + - add simple & stupid script to generate lsblk /sys and /proc dump [Karel Zak] + - add simple ATA and NVME lsblk dump [Karel Zak] + - add simple LVM lsblk dump [Karel Zak] + - check for test_cal [Karel Zak] + - move stderr redirection out from test expression [Sami Kerola] + - remove debug stuff from ts/script/options [Karel Zak] + - remove namei(1) failed lstat test [Karel Zak] + - update JSON outputs [Karel Zak] + - update column(1) space-separator test [Karel Zak] + - update fdisk dialogs [Karel Zak] + - update fdisk output [Karel Zak] + - update lscpu tests [Karel Zak] + - update script done messages [Karel Zak] + - update script headers [Karel Zak] + - update sfdisk JSON output [Karel Zak] + - update sfdisk resize [Karel Zak] +umount: + - add --quiet option [Karel Zak] + - add note about --lazy [Karel Zak] + - add support for namespaces [Vaclav Dolezal] + - allow PID as --namespace argument [Vaclav Dolezal] + - fix behaviour of -A and -R with --namespace [Vaclav Dolezal] +unshare: + - remove -s from --help output [Karel Zak] +wall: + - make sure line is zero terminated [Karel Zak] +wipefs: + - add missing ifdef [Ruediger Meier] + - postpone BLKRRPART until all is done [Karel Zak] + - use scols_column_set_json_type() [Karel Zak] +zramctl: + - (man) explain that --find is necessary [Karel Zak] + - add --output-all option [Sami Kerola] + - fix truncation warning [Sami Kerola] + - use new ul_path_* API [Karel Zak] diff --git a/Documentation/releases/v2.33.1-ReleaseNotes b/Documentation/releases/v2.33.1-ReleaseNotes new file mode 100644 index 0000000..f023b14 --- /dev/null +++ b/Documentation/releases/v2.33.1-ReleaseNotes @@ -0,0 +1,51 @@ +util-linux 2.33.1 Release Notes +=============================== + +agetty: + - Return old behavior with empty logname [Stanislav Brabec] + - fix output of escaped characters [Christian Hesse] + - fix portability issues [Samuel Thibault] +build-sys: + - do not require crypt() [Karel Zak] + - do not require dirfd() [Karel Zak] + - make fdisk, sfdisk, cfdisk optional (enabled by default) [Carlos Santos] +chmem: + - add initilizer [clang] [Sami Kerola] +choom: + - fix negative adjust score usage [Karel Zak] +dmesg: + - correct "-n, --console-level level" example in manual page [Jean-Philippe ROMAIN] +docs: + - add link to mail list archive [Sami Kerola] + - update AUTHORS file [Karel Zak] +fstrim: + - Add Documentation key to fstrim.service [Andreas Henriksson] + - fix usage() [Karel Zak] +include/c: + - re-add type checking in container_of() [Ruediger Meier] +libblkid: + - (ntfs) fix compiler warning [-Wpedantic] [Karel Zak] + - fix detection of dm-integrity superblock [Milan Broz] + - stratis correct byte order [Tony Asleson] +libmount: + - (umount) make mnt_stat_mountpoin() usable for relative paths [Karel Zak] +libuuid: + - fix man page typos [Seth Girvan] +mkswap: + - fix page size warning message [Noel Cragg] + - use dd(1) in example rather than fallocate(1) [Karel Zak] +po: + - merge changes [Karel Zak] + - update es.po (from translationproject.org) [Antonio Ceballos Roa] + - update sv.po (from translationproject.org) [Sebastian Rasmussen] +setarch: + - fix obscure sparc32bash use-case [Karel Zak] +tests: + - check for tar and {b,g}zip [Karel Zak] + - enlarge backing file for fstab-btrfs [Karel Zak] + - make lsns-netnsid portable [Karel Zak] + - run oids test only when uuidgen tool was built [Thomas Deutschmann] +umount: + - fix --quiet [Karel Zak] +uuidd: + - Add Documentation key to uuidd.service [Andreas Henriksson] diff --git a/Documentation/rfkill.readme b/Documentation/rfkill.readme new file mode 100644 index 0000000..ec1c2a6 --- /dev/null +++ b/Documentation/rfkill.readme @@ -0,0 +1,15 @@ +This was the original README when rfkill was a standalone project. + +-- snip + +This is 'rfkill', a tool to use /dev/rfkill. + + +To build rfkill, just enter 'make'. + +'rfkill' is currently maintained at http://git.sipsolutions.net/rfkill.git/, +some more documentation is available at +http://wireless.kernel.org/en/users/Documentation/rfkill. + +Please send all patches to Johannes Berg +and CC linux-wireless@vger.kernel.org for community review. diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..e7657af --- /dev/null +++ b/Makefile.am @@ -0,0 +1,234 @@ +AM_CPPFLAGS = \ + -include config.h \ + -I$(top_srcdir)/include \ + -DLOCALEDIR=\"$(localedir)\" \ + -D_PATH_RUNSTATEDIR=\"${runstatedir}\" +AM_CFLAGS = -fsigned-char $(WARN_CFLAGS) +AM_LDFLAGS = + +# Add gettext stuff to the global LDADD for systems with separate libintl +# library. The LTLIBINTL is generated by AM_GNU_GETTEXT macro. +# +LDADD = $(LTLIBINTL) + +# Automake (at least up to 1.10) mishandles dist_man_MANS inside conditionals. +# Unlike with other dist primaries, the files are not distributed if the +# conditional is false. +# Work the bug around until it is fixed: +dist_noinst_DATA = $(dist_man_MANS) + +# Paths to in-tree libraries (use ul_ prefix to avoid possible collisions) Note +# that blkid.h, libmount.h, libfdisk.h and libsmartcols.h are generated and +# stored in build dirs. +# +ul_libblkid_incdir = $(top_builddir)/libblkid/src +ul_libmount_incdir = $(top_builddir)/libmount/src +ul_libsmartcols_incdir = $(top_builddir)/libsmartcols/src +ul_libfdisk_incdir = $(top_builddir)/libfdisk/src + +ul_libuuid_incdir = $(top_srcdir)/libuuid/src + +pkgconfigdir = $(usrlib_execdir)/pkgconfig + +bashcompletiondir = @bashcompletiondir@ + +dist_noinst_HEADERS = +noinst_PROGRAMS = +noinst_LTLIBRARIES = +usrbin_exec_PROGRAMS = +usrsbin_exec_PROGRAMS = +dist_man_MANS = +man_MANS = +pkgconfig_DATA = +usrlib_exec_LTLIBRARIES = +bin_PROGRAMS = +sbin_PROGRAMS = +dist_usrbin_exec_SCRIPTS = +systemdsystemunit_DATA = +dist_bashcompletion_DATA = +check_PROGRAMS = +dist_check_SCRIPTS = + +PATHFILES = + +INSTALL_EXEC_HOOKS = +UNINSTALL_HOOKS = +INSTALL_DATA_HOOKS = +CLEAN_LOCALS = +CHECK_LOCALS = + +EXTRA_DIST = +CLEANFILES = + +SUBDIRS = po + +RCS_FIND_IGNORE = \( -name SCCS -o -name BitKeeper -o -name .svn -o \ + -name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o + +ACLOCAL_AMFLAGS = -I m4 + +EXTRA_DIST += \ + .version \ + autogen.sh \ + Documentation \ + po/update-potfiles \ + README.licensing + +include tools/Makemodule.am +include include/Makemodule.am +include lib/Makemodule.am +include libuuid/Makemodule.am +include libblkid/Makemodule.am +include libmount/Makemodule.am +include libsmartcols/Makemodule.am +include libfdisk/Makemodule.am + +include schedutils/Makemodule.am +include text-utils/Makemodule.am +include term-utils/Makemodule.am +include login-utils/Makemodule.am +include sys-utils/Makemodule.am +include misc-utils/Makemodule.am +include disk-utils/Makemodule.am + +include bash-completion/Makemodule.am + +include tests/Makemodule.am + +# pylibmountexec module must be installed after usrlib_exec libraries, +# otherwise the libtool relink step will fail to find libmount.la and +# will try -lmount which is possibly not available. +# +# So introduce this dependency rule: +# install-pylibmountexecLTLIBRARIES: install-usrlib_execLTLIBRARIES +@verbatim_pylibmount_dependency@ + +# +# Don't rely on configure.ac AC_CONFIG_FILES for install paths. +# +# The paths should be expanded at make time rather than configure: +# - to support 'make install prefix=/foo DESTDIR=/foo' +# - to recursively expands the paths (e.g. AC_CONFIG_FILES expands +# '@usrsbin_execdir@' to ${exec_prefix}/sbin') +# +edit_cmd = sed \ + -e 's|@prefix[@]|$(prefix)|g' \ + -e 's|@exec_prefix[@]|$(exec_prefix)|g' \ + -e 's|@sysconfdir[@]|$(sysconfdir)|g' \ + -e 's|@datadir[@]|$(datadir)|g' \ + -e 's|@sbindir[@]|$(sbindir)|g' \ + -e 's|@bindir[@]|$(bindir)|g' \ + -e 's|@includedir[@]|$(includedir)|g' \ + -e 's|@runstatedir[@]|$(runstatedir)|g' \ + -e 's|@usrlib_execdir[@]|$(usrlib_execdir)|g' \ + -e 's|@usrbin_execdir[@]|$(usrbin_execdir)|g' \ + -e 's|@usrsbin_execdir[@]|$(usrsbin_execdir)|g' \ + -e 's|@VERSION[@]|$(VERSION)|g' \ + -e 's|@ADJTIME_PATH[@]|$(ADJTIME_PATH)|g' \ + -e 's|@LIBUUID_VERSION[@]|$(LIBUUID_VERSION)|g' \ + -e 's|@LIBMOUNT_VERSION[@]|$(LIBMOUNT_VERSION)|g' \ + -e 's|@LIBMOUNT_MAJOR_VERSION[@]|$(LIBMOUNT_MAJOR_VERSION)|g' \ + -e 's|@LIBMOUNT_MINOR_VERSION[@]|$(LIBMOUNT_MINOR_VERSION)|g' \ + -e 's|@LIBMOUNT_PATCH_VERSION[@]|$(LIBMOUNT_PATCH_VERSION)|g' \ + -e 's|@LIBSMARTCOLS_VERSION[@]|$(LIBSMARTCOLS_VERSION)|g' \ + -e 's|@LIBFDISK_PC_REQUIRES[@]|$(LIBFDISK_PC_REQUIRES)|g' \ + -e 's|@LIBFDISK_VERSION[@]|$(LIBFDISK_VERSION)|g' \ + -e 's|@LIBFDISK_MAJOR_VERSION[@]|$(LIBFDISK_MAJOR_VERSION)|g' \ + -e 's|@LIBFDISK_MINOR_VERSION[@]|$(LIBFDISK_MINOR_VERSION)|g' \ + -e 's|@LIBFDISK_PATCH_VERSION[@]|$(LIBFDISK_PATCH_VERSION)|g' \ + -e 's|@LIBBLKID_VERSION[@]|$(LIBBLKID_VERSION)|g' + +CLEANFILES += $(PATHFILES) +EXTRA_DIST += $(PATHFILES:=.in) + +$(PATHFILES): Makefile + @ rm -f $@ $@.tmp + $(AM_V_at) $(MKDIR_P) $$(dirname $@) + $(AM_V_GEN) srcdir=''; \ + test -f ./$@.in || srcdir=$(srcdir)/; \ + $(edit_cmd) $${srcdir}$@.in >$@.tmp + @ mv $@.tmp $@ + +# Arrange so that .tarball-version appears only in the distribution +# tarball, and never in a checked-out repository. +dist-hook: + echo $(VERSION) > $(distdir)/.tarball-version +# Set ChangeLog tag reference. + sed -i "s/log/log;h=$(VERSION)/" $(distdir)/ChangeLog + +distclean-local: + -find . -name \*~ -o -name \*.orig -o -name \*.rej | xargs rm -f + rm -rf autom4te.cache + + +checkincludes: + @find * $(RCS_FIND_IGNORE) \ + -name '*.[hcS]' -type f -print | sort -u \ + | xargs $(top_srcdir)/tools/checkincludes.pl + +checkconfig: + @find * $(RCS_FIND_IGNORE) \ + -name '*.[hcS]' -type f -print | sort -u \ + | xargs $(top_srcdir)/tools/checkconfig.sh $(top_srcdir) + +checkmans: + @$(top_srcdir)/tools/checkmans.sh + +checkxalloc: + @ $(top_srcdir)/tools/checkxalloc.sh + +checkdecl: + @ $(top_srcdir)/tools/checkdecl.sh + +checkcompletion: + @ $(top_srcdir)/tools/checkcompletion.sh $(top_srcdir) + +checkusage: + @ $(top_srcdir)/tools/checkusage.sh \ + $(bin_PROGRAMS) $(sbin_PROGRAMS) \ + $(usrbin_exec_PROGRAMS) $(usrsbin_exec_PROGRAMS) + +DISTCHECK_CONFIGURE_FLAGS = \ + --disable-use-tty-group \ + --disable-silent-rules \ + --enable-all-programs \ + --disable-makeinstall-chown \ + --enable-static-programs \ + --enable-gtk-doc \ + --with-python \ + --with-bashcompletiondir=$$dc_install_base/$(bashcompletiondir) \ + --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) + +BUILT_SOURCES = .version +.version: + echo $(VERSION) > $@-t && mv $@-t $@ + +CHANGELOG_FILE = v$(VERSION)-ChangeLog + +$(CHANGELOG_FILE): + @ if test "x$$PREVIOUS_VERSION" == "x"; then \ + echo "Usage make changelog PREVIOUS_VERSION="; \ + exit 1; \ + fi + @ echo "Changes between v$(PREVIOUS_VERSION) and v$(VERSION)" > $(CHANGELOG_FILE) + @ echo "--------------------------------------------" >> $(CHANGELOG_FILE) + @ echo >> $(CHANGELOG_FILE) + $(AM_V_GEN) git log --stat v$(PREVIOUS_VERSION)..HEAD >> $(CHANGELOG_FILE) +# +# +# smatch scan -- smatch and cgcc are expected in $PATH +# +checksmatch: + $(MAKE) CHECK="smatch --data=$(abs_top_srcdir)/tools/smatch-data" CC=cgcc + +changelog: $(CHANGELOG_FILE) + +install-exec-hook: $(INSTALL_EXEC_HOOKS) + +uninstall-hook: $(UNINSTALL_HOOKS) + +install-data-hook: $(INSTALL_DATA_HOOKS) + +clean-local: $(CLEAN_LOCALS) + +check-local: $(CHECK_LOCALS) diff --git a/Makefile.in b/Makefile.in new file mode 100644 index 0000000..2663e69 --- /dev/null +++ b/Makefile.in @@ -0,0 +1,13079 @@ +# Makefile.in generated by automake 1.15.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2017 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + + + + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +noinst_PROGRAMS = +usrbin_exec_PROGRAMS = $(am__EXEEXT_69) $(am__EXEEXT_70) \ + $(am__EXEEXT_71) $(am__EXEEXT_72) $(am__EXEEXT_73) \ + $(am__EXEEXT_74) $(am__EXEEXT_75) $(am__EXEEXT_76) \ + $(am__EXEEXT_77) $(am__EXEEXT_78) $(am__EXEEXT_79) \ + $(am__EXEEXT_80) $(am__EXEEXT_81) $(am__EXEEXT_82) \ + $(am__EXEEXT_83) $(am__EXEEXT_84) $(am__EXEEXT_85) \ + $(am__EXEEXT_86) $(am__EXEEXT_87) $(am__EXEEXT_88) \ + $(am__EXEEXT_89) $(am__EXEEXT_90) $(am__EXEEXT_91) \ + $(am__EXEEXT_92) $(am__EXEEXT_93) $(am__EXEEXT_94) \ + $(am__EXEEXT_95) $(am__EXEEXT_96) $(am__EXEEXT_97) \ + $(am__EXEEXT_98) $(am__EXEEXT_99) $(am__EXEEXT_100) \ + $(am__EXEEXT_101) $(am__EXEEXT_102) $(am__EXEEXT_103) \ + $(am__EXEEXT_104) $(am__EXEEXT_105) $(am__EXEEXT_106) \ + $(am__EXEEXT_107) $(am__EXEEXT_108) $(am__EXEEXT_109) \ + $(am__EXEEXT_110) $(am__EXEEXT_111) $(am__EXEEXT_112) \ + $(am__EXEEXT_113) $(am__EXEEXT_114) $(am__EXEEXT_115) \ + $(am__EXEEXT_116) $(am__EXEEXT_117) $(am__EXEEXT_118) \ + $(am__EXEEXT_119) $(am__EXEEXT_120) $(am__EXEEXT_121) \ + $(am__EXEEXT_122) $(am__EXEEXT_123) $(am__EXEEXT_124) \ + $(am__EXEEXT_125) +usrsbin_exec_PROGRAMS = $(am__EXEEXT_126) $(am__EXEEXT_127) \ + $(am__EXEEXT_128) $(am__EXEEXT_129) $(am__EXEEXT_130) \ + $(am__EXEEXT_131) $(am__EXEEXT_132) $(am__EXEEXT_133) \ + $(am__EXEEXT_134) +bin_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \ + $(am__EXEEXT_4) $(am__EXEEXT_5) $(am__EXEEXT_6) \ + $(am__EXEEXT_7) $(am__EXEEXT_8) $(am__EXEEXT_9) \ + $(am__EXEEXT_10) $(am__EXEEXT_11) $(am__EXEEXT_12) \ + $(am__EXEEXT_13) +sbin_PROGRAMS = $(am__EXEEXT_35) $(am__EXEEXT_36) $(am__EXEEXT_37) \ + $(am__EXEEXT_38) $(am__EXEEXT_39) $(am__EXEEXT_40) \ + $(am__EXEEXT_41) $(am__EXEEXT_42) $(am__EXEEXT_43) \ + $(am__EXEEXT_44) $(am__EXEEXT_45) $(am__EXEEXT_46) \ + $(am__EXEEXT_47) $(am__EXEEXT_48) $(am__EXEEXT_49) \ + $(am__EXEEXT_50) $(am__EXEEXT_51) $(am__EXEEXT_52) \ + $(am__EXEEXT_53) $(am__EXEEXT_54) $(am__EXEEXT_55) \ + $(am__EXEEXT_56) $(am__EXEEXT_57) $(am__EXEEXT_58) \ + $(am__EXEEXT_59) $(am__EXEEXT_60) $(am__EXEEXT_61) \ + $(am__EXEEXT_62) $(am__EXEEXT_63) $(am__EXEEXT_64) \ + $(am__EXEEXT_65) $(am__EXEEXT_66) $(am__EXEEXT_67) \ + $(am__EXEEXT_68) +check_PROGRAMS = test_blkdev$(EXEEXT) test_canonicalize$(EXEEXT) \ + test_colors$(EXEEXT) test_fileutils$(EXEEXT) \ + test_ismounted$(EXEEXT) test_pwdutils$(EXEEXT) \ + test_mangle$(EXEEXT) test_randutils$(EXEEXT) \ + test_strutils$(EXEEXT) test_ttyutils$(EXEEXT) \ + test_timeutils$(EXEEXT) $(am__EXEEXT_14) $(am__EXEEXT_15) \ + $(am__EXEEXT_16) $(am__EXEEXT_17) $(am__EXEEXT_18) \ + $(am__EXEEXT_19) $(am__EXEEXT_20) $(am__EXEEXT_21) \ + $(am__EXEEXT_22) $(am__EXEEXT_23) $(am__EXEEXT_24) \ + $(am__EXEEXT_25) $(am__EXEEXT_26) $(am__EXEEXT_27) \ + $(am__EXEEXT_28) $(am__EXEEXT_29) test_islocal$(EXEEXT) \ + test_logindefs$(EXEEXT) $(am__EXEEXT_30) $(am__EXEEXT_31) \ + $(am__EXEEXT_32) $(am__EXEEXT_33) $(am__EXEEXT_34) \ + test_mbsencode$(EXEEXT) test_byteswap$(EXEEXT) \ + test_md5$(EXEEXT) test_sha1$(EXEEXT) test_pathnames$(EXEEXT) \ + test_sysinfo$(EXEEXT) test_sigreceive$(EXEEXT) \ + test_tiocsti$(EXEEXT) test_uuid_namespace$(EXEEXT) +@LINUX_TRUE@am__append_1 = \ +@LINUX_TRUE@ lib/linux_version.c \ +@LINUX_TRUE@ lib/loopdev.c + +@USE_PLYMOUTH_SUPPORT_TRUE@am__append_2 = lib/plymouth-ctrl.c +@HAVE_LANGINFO_FALSE@am__append_3 = lib/langinfo.c +@HAVE_CPU_SET_T_TRUE@am__append_4 = lib/cpuset.c +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@am__append_5 = lib/path.c \ +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@ lib/procutils.c lib/sysfs.c +# tinfo or ncurses are optional +@HAVE_TINFO_TRUE@am__append_6 = $(TINFO_LIBS) +@HAVE_TINFO_TRUE@am__append_7 = $(TINFO_CFLAGS) +@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@am__append_8 = $(NCURSES_LIBS) +@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@am__append_9 = $(NCURSES_CFLAGS) +@HAVE_CPU_SET_T_TRUE@@LINUX_TRUE@am__append_10 = test_cpuset +@LINUX_TRUE@am__append_11 = \ +@LINUX_TRUE@ test_sysfs \ +@LINUX_TRUE@ test_pager + +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@am__append_12 = test_procutils \ +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@ test_path +@HAVE_CPU_SET_T_TRUE@@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@am__append_13 = lib/cpuset.c +@HAVE_CPU_SET_T_TRUE@@LINUX_TRUE@am__append_14 = lib/cpuset.c +@LINUX_TRUE@am__append_15 = test_linux_version +@BUILD_LIBUUID_TRUE@am__append_16 = \ +@BUILD_LIBUUID_TRUE@ libuuid/man/uuid.3 \ +@BUILD_LIBUUID_TRUE@ libuuid/man/uuid_clear.3 \ +@BUILD_LIBUUID_TRUE@ libuuid/man/uuid_compare.3 \ +@BUILD_LIBUUID_TRUE@ libuuid/man/uuid_copy.3 \ +@BUILD_LIBUUID_TRUE@ libuuid/man/uuid_generate.3 \ +@BUILD_LIBUUID_TRUE@ libuuid/man/uuid_is_null.3 \ +@BUILD_LIBUUID_TRUE@ libuuid/man/uuid_parse.3 \ +@BUILD_LIBUUID_TRUE@ libuuid/man/uuid_time.3 \ +@BUILD_LIBUUID_TRUE@ libuuid/man/uuid_unparse.3 \ +@BUILD_LIBUUID_TRUE@ libuuid/man/uuid_generate_random.3 \ +@BUILD_LIBUUID_TRUE@ libuuid/man/uuid_generate_time.3 \ +@BUILD_LIBUUID_TRUE@ libuuid/man/uuid_generate_time_safe.3 + +@BUILD_LIBUUID_TRUE@am__append_17 = test_uuid_parser +@BUILD_LIBUUID_TRUE@am__append_18 = libuuid.la +@BUILD_LIBUUID_TRUE@@HAVE_VSCRIPT_TRUE@am__append_19 = libuuid_la_LDFLAGS += $(VSCRIPT_LDFLAGS),$(top_srcdir)/libuuid/src/libuuid.sym +@BUILD_LIBUUID_TRUE@am__append_20 = libuuid/src/libuuid.sym \ +@BUILD_LIBUUID_TRUE@ libuuid/COPYING +@BUILD_LIBUUID_TRUE@am__append_21 = install-exec-hook-libuuid +@BUILD_LIBUUID_TRUE@am__append_22 = uninstall-hook-libuuid +@BUILD_LIBUUID_TRUE@am__append_23 = libuuid/uuid.pc +@BUILD_LIBUUID_TRUE@am__append_24 = libuuid/uuid.pc +@BUILD_LIBBLKID_TRUE@am__append_25 = libblkid.la +@BUILD_LIBBLKID_TRUE@@LINUX_TRUE@am__append_26 = \ +@BUILD_LIBBLKID_TRUE@@LINUX_TRUE@ libblkid/src/topology/dm.c \ +@BUILD_LIBBLKID_TRUE@@LINUX_TRUE@ libblkid/src/topology/evms.c \ +@BUILD_LIBBLKID_TRUE@@LINUX_TRUE@ libblkid/src/topology/ioctl.c \ +@BUILD_LIBBLKID_TRUE@@LINUX_TRUE@ libblkid/src/topology/lvm.c \ +@BUILD_LIBBLKID_TRUE@@LINUX_TRUE@ libblkid/src/topology/md.c \ +@BUILD_LIBBLKID_TRUE@@LINUX_TRUE@ libblkid/src/topology/sysfs.c + +@BUILD_LIBBLKID_TRUE@@BUILD_LIBUUID_TRUE@am__append_27 = libuuid.la +@BUILD_LIBBLKID_TRUE@@BUILD_LIBUUID_TRUE@am__append_28 = -I$(ul_libuuid_incdir) +@BUILD_LIBBLKID_TRUE@@HAVE_VSCRIPT_TRUE@am__append_29 = $(VSCRIPT_LDFLAGS),$(top_srcdir)/libblkid/src/libblkid.sym +@BUILD_LIBBLKID_TRUE@am__append_30 = libblkid/src/libblkid.sym \ +@BUILD_LIBBLKID_TRUE@ libblkid/COPYING +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@am__append_31 = \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_cache \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_config \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_dev \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_devname \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_devno \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_evaluate \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_read \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_resolve \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_save \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_tag \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_verify + +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@@BUILD_LIBUUID_TRUE@am__append_32 = libuuid.la +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@@BUILD_LIBUUID_TRUE@am__append_33 = $(LDADD) +@BUILD_LIBBLKID_TRUE@am__append_34 = install-exec-hook-libblkid +@BUILD_LIBBLKID_TRUE@am__append_35 = uninstall-hook-libblkid +@BUILD_LIBBLKID_TRUE@am__append_36 = \ +@BUILD_LIBBLKID_TRUE@ sample-mkfs \ +@BUILD_LIBBLKID_TRUE@ sample-partitions \ +@BUILD_LIBBLKID_TRUE@ sample-superblocks \ +@BUILD_LIBBLKID_TRUE@ sample-topology + + +# Docs uses separate Makefiles +@BUILD_LIBBLKID_TRUE@@ENABLE_GTK_DOC_TRUE@am__append_37 = libblkid/docs +@BUILD_LIBBLKID_TRUE@am__append_38 = libblkid/blkid.pc +@BUILD_LIBBLKID_TRUE@am__append_39 = libblkid/blkid.pc +@BUILD_LIBBLKID_TRUE@am__append_40 = libblkid/libblkid.3 +@BUILD_LIBMOUNT_TRUE@am__append_41 = libmount.la +@BUILD_LIBMOUNT_TRUE@@LINUX_TRUE@am__append_42 = \ +@BUILD_LIBMOUNT_TRUE@@LINUX_TRUE@ libmount/src/context.c \ +@BUILD_LIBMOUNT_TRUE@@LINUX_TRUE@ libmount/src/context_loopdev.c \ +@BUILD_LIBMOUNT_TRUE@@LINUX_TRUE@ libmount/src/context_mount.c \ +@BUILD_LIBMOUNT_TRUE@@LINUX_TRUE@ libmount/src/context_umount.c \ +@BUILD_LIBMOUNT_TRUE@@LINUX_TRUE@ libmount/src/monitor.c + +@BUILD_LIBMOUNT_TRUE@@HAVE_BTRFS_TRUE@@LINUX_TRUE@am__append_43 = libmount/src/btrfs.c +@BUILD_LIBMOUNT_TRUE@@HAVE_VSCRIPT_TRUE@am__append_44 = $(VSCRIPT_LDFLAGS),$(top_srcdir)/libmount/src/libmount.sym +@BUILD_LIBMOUNT_TRUE@am__append_45 = libmount/src/libmount.sym \ +@BUILD_LIBMOUNT_TRUE@ libmount/COPYING +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@am__append_46 = \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_cache \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_lock \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_optstr \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_tab \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_tab_diff \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_tab_update \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_utils \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_version \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_debug + +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@@LINUX_TRUE@am__append_47 = test_mount_context \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@@LINUX_TRUE@ test_mount_monitor +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@@HAVE_SELINUX_TRUE@am__append_48 = $(SELINUX_LIBS) +@BUILD_LIBMOUNT_TRUE@am__append_49 = install-exec-hook-libmount +@BUILD_LIBMOUNT_TRUE@am__append_50 = uninstall-hook-libmount +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@@LINUX_TRUE@am__append_51 = libmount/python/context.c +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@am__append_52 = libmount/python/test_mount_context.py \ +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@ libmount/python/test_mount_tab.py \ +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@ libmount/python/test_mount_tab_update.py + +# Docs uses separate Makefiles +@BUILD_LIBMOUNT_TRUE@@ENABLE_GTK_DOC_TRUE@am__append_53 = libmount/docs +@BUILD_LIBMOUNT_TRUE@am__append_54 = libmount/mount.pc +@BUILD_LIBMOUNT_TRUE@am__append_55 = libmount/mount.pc +@BUILD_LIBSMARTCOLS_TRUE@am__append_56 = libsmartcols.la +@BUILD_LIBSMARTCOLS_TRUE@@HAVE_VSCRIPT_TRUE@am__append_57 = $(VSCRIPT_LDFLAGS),$(top_srcdir)/libsmartcols/src/libsmartcols.sym +@BUILD_LIBSMARTCOLS_TRUE@am__append_58 = \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/libsmartcols.sym \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/COPYING +@BUILD_LIBSMARTCOLS_TRUE@am__append_59 = install-exec-hook-libsmartcols +@BUILD_LIBSMARTCOLS_TRUE@am__append_60 = uninstall-hook-libsmartcols +@BUILD_LIBSMARTCOLS_TRUE@am__append_61 = \ +@BUILD_LIBSMARTCOLS_TRUE@ sample-scols-title \ +@BUILD_LIBSMARTCOLS_TRUE@ sample-scols-wrap \ +@BUILD_LIBSMARTCOLS_TRUE@ sample-scols-continuous \ +@BUILD_LIBSMARTCOLS_TRUE@ sample-scols-fromfile \ +@BUILD_LIBSMARTCOLS_TRUE@ sample-scols-maxout + +@BUILD_LIBSMARTCOLS_TRUE@@HAVE_OPENAT_TRUE@am__append_62 = sample-scols-tree + +# Docs uses separate Makefiles +@BUILD_LIBSMARTCOLS_TRUE@@ENABLE_GTK_DOC_TRUE@am__append_63 = libsmartcols/docs +@BUILD_LIBSMARTCOLS_TRUE@am__append_64 = libsmartcols/smartcols.pc +@BUILD_LIBSMARTCOLS_TRUE@am__append_65 = libsmartcols/smartcols.pc +@BUILD_LIBFDISK_TRUE@am__append_66 = libfdisk.la +@BUILD_LIBFDISK_TRUE@@HAVE_VSCRIPT_TRUE@am__append_67 = $(VSCRIPT_LDFLAGS),$(top_srcdir)/libfdisk/src/libfdisk.sym +@BUILD_LIBBLKID_TRUE@@BUILD_LIBFDISK_TRUE@am__append_68 = libblkid.la +@BUILD_LIBBLKID_TRUE@@BUILD_LIBFDISK_TRUE@am__append_69 = -I$(ul_libblkid_incdir) +@BUILD_LIBFDISK_TRUE@am__append_70 = libfdisk/src/libfdisk.sym \ +@BUILD_LIBFDISK_TRUE@ libfdisk/COPYING +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@am__append_71 = \ +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@ test_fdisk_ask \ +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@ test_fdisk_gpt \ +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@ test_fdisk_script \ +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@ test_fdisk_utils \ +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@ test_fdisk_version \ +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@ test_fdisk_item + +@BUILD_LIBBLKID_TRUE@@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@am__append_72 = libblkid.la +@BUILD_LIBFDISK_TRUE@am__append_73 = install-exec-hook-libfdisk +@BUILD_LIBFDISK_TRUE@am__append_74 = uninstall-hook-libfdisk +@BUILD_LIBFDISK_TRUE@am__append_75 = \ +@BUILD_LIBFDISK_TRUE@ sample-fdisk-mkpart \ +@BUILD_LIBFDISK_TRUE@ sample-fdisk-mkpart-fullspec + + +# Docs uses separate Makefiles +@BUILD_LIBFDISK_TRUE@@ENABLE_GTK_DOC_TRUE@am__append_76 = libfdisk/docs +@BUILD_LIBFDISK_TRUE@am__append_77 = libfdisk/fdisk.pc +@BUILD_LIBFDISK_TRUE@am__append_78 = libfdisk/fdisk.pc +@BUILD_CHRT_TRUE@am__append_79 = chrt +@BUILD_CHRT_TRUE@am__append_80 = schedutils/chrt.1 +@BUILD_IONICE_TRUE@am__append_81 = ionice +@BUILD_IONICE_TRUE@am__append_82 = schedutils/ionice.1 +@BUILD_TASKSET_TRUE@am__append_83 = taskset +@BUILD_TASKSET_TRUE@am__append_84 = schedutils/taskset.1 +@BUILD_COL_TRUE@am__append_85 = col +@BUILD_COL_TRUE@am__append_86 = text-utils/col.1 +@BUILD_COLCRT_TRUE@am__append_87 = colcrt +@BUILD_COLCRT_TRUE@am__append_88 = text-utils/colcrt.1 +@BUILD_COLRM_TRUE@am__append_89 = colrm +@BUILD_COLRM_TRUE@am__append_90 = text-utils/colrm.1 +@BUILD_COLUMN_TRUE@am__append_91 = column +@BUILD_COLUMN_TRUE@am__append_92 = text-utils/column.1 +@BUILD_HEXDUMP_TRUE@am__append_93 = hexdump +@BUILD_HEXDUMP_TRUE@am__append_94 = text-utils/hexdump.1 +@BUILD_REV_TRUE@am__append_95 = rev +@BUILD_REV_TRUE@am__append_96 = text-utils/rev.1 +@BUILD_LINE_TRUE@am__append_97 = line +@BUILD_LINE_TRUE@am__append_98 = text-utils/line.1 +@BUILD_PG_TRUE@am__append_99 = pg +@BUILD_PG_TRUE@am__append_100 = text-utils/pg.1 +@BUILD_UL_TRUE@am__append_101 = ul +@BUILD_UL_TRUE@am__append_102 = text-utils/ul.1 +@BUILD_UL_TRUE@@HAVE_TINFO_TRUE@am__append_103 = $(TINFO_LIBS) \ +@BUILD_UL_TRUE@@HAVE_TINFO_TRUE@ $(TINFO_CFLAGS) +@BUILD_UL_TRUE@@HAVE_TINFO_FALSE@am__append_104 = $(NCURSES_CFLAGS) +@BUILD_UL_TRUE@@HAVE_TINFO_FALSE@am__append_105 = $(NCURSES_LIBS) +@BUILD_MORE_TRUE@am__append_106 = more +@BUILD_MORE_TRUE@am__append_107 = text-utils/more.1 +@BUILD_MORE_TRUE@@HAVE_TINFO_TRUE@am__append_108 = $(TINFO_LIBS) \ +@BUILD_MORE_TRUE@@HAVE_TINFO_TRUE@ $(TINFO_CFLAGS) +@BUILD_MORE_TRUE@@HAVE_TINFO_FALSE@am__append_109 = $(NCURSES_CFLAGS) +@BUILD_MORE_TRUE@@HAVE_TINFO_FALSE@am__append_110 = $(NCURSES_LIBS) +@BUILD_MORE_TRUE@am__append_111 = test_more +@BUILD_SCRIPT_TRUE@am__append_112 = script +@BUILD_SCRIPT_TRUE@am__append_113 = term-utils/script.1 +@BUILD_SCRIPT_TRUE@@HAVE_UTIL_TRUE@am__append_114 = -lutil +@BUILD_SCRIPT_TRUE@@HAVE_UTEMPTER_TRUE@am__append_115 = -lutempter +@BUILD_SCRIPT_TRUE@am__append_116 = test_script +@BUILD_SCRIPTREPLAY_TRUE@am__append_117 = scriptreplay +@BUILD_SCRIPTREPLAY_TRUE@am__append_118 = term-utils/scriptreplay.1 +@BUILD_AGETTY_TRUE@am__append_119 = agetty +@BUILD_AGETTY_TRUE@am__append_120 = term-utils/agetty.8 +@BSD_TRUE@@BUILD_AGETTY_TRUE@am__append_121 = -lutil +@BUILD_SETTERM_TRUE@am__append_122 = setterm +@BUILD_SETTERM_TRUE@am__append_123 = term-utils/setterm.1 +@BUILD_SETTERM_TRUE@@HAVE_TINFO_TRUE@am__append_124 = $(TINFO_LIBS) +@BUILD_SETTERM_TRUE@@HAVE_TINFO_TRUE@am__append_125 = $(TINFO_CFLAGS) +@BUILD_SETTERM_TRUE@@HAVE_TINFO_FALSE@am__append_126 = $(NCURSES_LIBS) +@BUILD_SETTERM_TRUE@@HAVE_TINFO_FALSE@am__append_127 = $(NCURSES_CFLAGS) +@BUILD_MESG_TRUE@am__append_128 = mesg +@BUILD_MESG_TRUE@am__append_129 = term-utils/mesg.1 +@BUILD_WALL_TRUE@am__append_130 = wall +@BUILD_WALL_TRUE@am__append_131 = term-utils/wall.1 +@BUILD_WALL_TRUE@@MAKEINSTALL_DO_CHOWN_TRUE@@USE_TTY_GROUP_TRUE@am__append_132 = install-exec-hook-wall +@BUILD_WRITE_TRUE@am__append_133 = write +@BUILD_WRITE_TRUE@am__append_134 = term-utils/write.1 +@BUILD_WRITE_TRUE@@MAKEINSTALL_DO_CHOWN_TRUE@@USE_TTY_GROUP_TRUE@am__append_135 = install-exec-hook-write +@BUILD_LAST_TRUE@am__append_136 = last +@BUILD_LAST_TRUE@am__append_137 = \ +@BUILD_LAST_TRUE@ login-utils/last.1 \ +@BUILD_LAST_TRUE@ login-utils/lastb.1 + +@BUILD_LAST_TRUE@am__append_138 = install-exec-hook-last +@BUILD_SULOGIN_TRUE@am__append_139 = sulogin +@BUILD_SULOGIN_TRUE@am__append_140 = login-utils/sulogin.8 +@BUILD_SULOGIN_TRUE@@HAVE_LIBCRYPT_TRUE@am__append_141 = -lcrypt +@BUILD_SULOGIN_TRUE@@HAVE_SELINUX_TRUE@am__append_142 = -lselinux +@BUILD_SULOGIN_TRUE@am__append_143 = test_consoles +@BUILD_LOGIN_TRUE@am__append_144 = login +@BUILD_LOGIN_TRUE@am__append_145 = login-utils/login.1 +@BUILD_LOGIN_TRUE@@HAVE_LINUXPAM_TRUE@am__append_146 = -lpam_misc +@BUILD_LOGIN_TRUE@@HAVE_AUDIT_TRUE@am__append_147 = -laudit +@BUILD_LOGIN_TRUE@@HAVE_SELINUX_TRUE@am__append_148 = -lselinux +@BUILD_NOLOGIN_TRUE@am__append_149 = nologin +@BUILD_NOLOGIN_TRUE@am__append_150 = login-utils/nologin.8 +@BUILD_UTMPDUMP_TRUE@am__append_151 = utmpdump +@BUILD_UTMPDUMP_TRUE@am__append_152 = login-utils/utmpdump.1 +@BUILD_CHFN_CHSH_TRUE@am__append_153 = chfn chsh +@BUILD_CHFN_CHSH_TRUE@am__append_154 = \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/chfn.1 \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/chsh.1 + +@BUILD_CHFN_CHSH_TRUE@@CHFN_CHSH_PASSWORD_TRUE@am__append_155 = -lpam +@BUILD_CHFN_CHSH_TRUE@@CHFN_CHSH_PASSWORD_TRUE@@HAVE_LINUXPAM_TRUE@am__append_156 = -lpam_misc +@BUILD_CHFN_CHSH_TRUE@@CHFN_CHSH_PASSWORD_TRUE@am__append_157 = \ +@BUILD_CHFN_CHSH_TRUE@@CHFN_CHSH_PASSWORD_TRUE@ login-utils/auth.c \ +@BUILD_CHFN_CHSH_TRUE@@CHFN_CHSH_PASSWORD_TRUE@ login-utils/auth.h + +@BUILD_CHFN_CHSH_TRUE@@HAVE_USER_TRUE@am__append_158 = $(LIBUSER_LIBS) +@BUILD_CHFN_CHSH_TRUE@@HAVE_USER_TRUE@am__append_159 = $(LIBUSER_CFLAGS) +@BUILD_CHFN_CHSH_TRUE@@HAVE_USER_TRUE@am__append_160 = \ +@BUILD_CHFN_CHSH_TRUE@@HAVE_USER_TRUE@ login-utils/libuser.c \ +@BUILD_CHFN_CHSH_TRUE@@HAVE_USER_TRUE@ login-utils/libuser.h + +@BUILD_CHFN_CHSH_TRUE@@HAVE_USER_FALSE@am__append_161 = \ +@BUILD_CHFN_CHSH_TRUE@@HAVE_USER_FALSE@ login-utils/islocal.c \ +@BUILD_CHFN_CHSH_TRUE@@HAVE_USER_FALSE@ login-utils/islocal.h \ +@BUILD_CHFN_CHSH_TRUE@@HAVE_USER_FALSE@ login-utils/setpwnam.c \ +@BUILD_CHFN_CHSH_TRUE@@HAVE_USER_FALSE@ login-utils/setpwnam.h + +@BUILD_CHFN_CHSH_TRUE@@HAVE_SELINUX_TRUE@am__append_162 = \ +@BUILD_CHFN_CHSH_TRUE@@HAVE_SELINUX_TRUE@ login-utils/selinux_utils.c \ +@BUILD_CHFN_CHSH_TRUE@@HAVE_SELINUX_TRUE@ login-utils/selinux_utils.h + +@BUILD_CHFN_CHSH_TRUE@@HAVE_SELINUX_TRUE@am__append_163 = -lselinux +@BUILD_SU_TRUE@am__append_164 = su +@BUILD_SU_TRUE@am__append_165 = login-utils/su.1 +@BUILD_SU_TRUE@@HAVE_LINUXPAM_TRUE@am__append_166 = -lpam_misc +@BUILD_SU_TRUE@@HAVE_UTIL_TRUE@am__append_167 = -lutil +@BUILD_RUNUSER_TRUE@am__append_168 = runuser +@BUILD_RUNUSER_TRUE@am__append_169 = login-utils/runuser.1 +@BUILD_RUNUSER_TRUE@@HAVE_LINUXPAM_TRUE@am__append_170 = -lpam_misc +@BUILD_RUNUSER_TRUE@@HAVE_UTIL_TRUE@am__append_171 = -lutil +@BUILD_NEWGRP_TRUE@am__append_172 = newgrp +@BUILD_NEWGRP_TRUE@am__append_173 = login-utils/newgrp.1 +@BUILD_NEWGRP_TRUE@@HAVE_LIBCRYPT_TRUE@am__append_174 = -lcrypt +@BUILD_LSLOGINS_TRUE@am__append_175 = lslogins +@BUILD_LSLOGINS_TRUE@am__append_176 = login-utils/lslogins.1 +@BUILD_LSLOGINS_TRUE@@HAVE_SELINUX_TRUE@am__append_177 = -lselinux +@BUILD_LSLOGINS_TRUE@@HAVE_SYSTEMD_TRUE@am__append_178 = $(SYSTEMD_LIBS) $(SYSTEMD_JOURNAL_LIBS) +@BUILD_LSLOGINS_TRUE@@HAVE_SYSTEMD_TRUE@am__append_179 = $(SYSTEMD_CFLAGS) $(SYSTEMD_JOURNAL_CFLAGS) +@BUILD_VIPW_TRUE@am__append_180 = vipw +@BUILD_VIPW_TRUE@am__append_181 = \ +@BUILD_VIPW_TRUE@ login-utils/vigr.8 \ +@BUILD_VIPW_TRUE@ login-utils/vipw.8 + +@BUILD_VIPW_TRUE@@HAVE_SELINUX_TRUE@am__append_182 = -lselinux +@BUILD_VIPW_TRUE@am__append_183 = install-exec-hook-vipw +@BUILD_LSMEM_TRUE@am__append_184 = lsmem +@BUILD_LSMEM_TRUE@am__append_185 = sys-utils/lsmem.1 +@BUILD_CHMEM_TRUE@am__append_186 = chmem +@BUILD_CHMEM_TRUE@am__append_187 = sys-utils/chmem.8 +@BUILD_FLOCK_TRUE@am__append_188 = flock +@BUILD_FLOCK_TRUE@am__append_189 = sys-utils/flock.1 +@BUILD_CHOOM_TRUE@am__append_190 = choom +@BUILD_CHOOM_TRUE@am__append_191 = sys-utils/choom.1 +@BUILD_IPCMK_TRUE@am__append_192 = ipcmk +@BUILD_IPCMK_TRUE@am__append_193 = sys-utils/ipcmk.1 +@BUILD_IPCRM_TRUE@am__append_194 = ipcrm +@BUILD_IPCRM_TRUE@am__append_195 = sys-utils/ipcrm.1 +@BUILD_IPCS_TRUE@am__append_196 = ipcs +@BUILD_IPCS_TRUE@am__append_197 = sys-utils/ipcs.1 +@BUILD_LSIPC_TRUE@am__append_198 = lsipc +@BUILD_LSIPC_TRUE@am__append_199 = sys-utils/lsipc.1 +@BUILD_RENICE_TRUE@am__append_200 = renice +@BUILD_RENICE_TRUE@am__append_201 = sys-utils/renice.1 +@BUILD_RFKILL_TRUE@am__append_202 = rfkill +@BUILD_RFKILL_TRUE@am__append_203 = sys-utils/rfkill.8 +@BUILD_SETSID_TRUE@am__append_204 = setsid +@BUILD_SETSID_TRUE@am__append_205 = sys-utils/setsid.1 +@BUILD_READPROFILE_TRUE@am__append_206 = readprofile +@BUILD_READPROFILE_TRUE@am__append_207 = sys-utils/readprofile.8 +@BUILD_TUNELP_TRUE@am__append_208 = tunelp +@BUILD_TUNELP_TRUE@am__append_209 = sys-utils/tunelp.8 +@BUILD_FSTRIM_TRUE@am__append_210 = fstrim +@BUILD_FSTRIM_TRUE@am__append_211 = sys-utils/fstrim.8 +@BUILD_FSTRIM_TRUE@@HAVE_SYSTEMD_TRUE@am__append_212 = \ +@BUILD_FSTRIM_TRUE@@HAVE_SYSTEMD_TRUE@ sys-utils/fstrim.service \ +@BUILD_FSTRIM_TRUE@@HAVE_SYSTEMD_TRUE@ sys-utils/fstrim.timer + +@BUILD_DMESG_TRUE@am__append_213 = dmesg +@BUILD_DMESG_TRUE@am__append_214 = sys-utils/dmesg.1 +@BUILD_DMESG_TRUE@am__append_215 = test_dmesg +@BUILD_CTRLALTDEL_TRUE@am__append_216 = ctrlaltdel +@BUILD_CTRLALTDEL_TRUE@am__append_217 = sys-utils/ctrlaltdel.8 +@BUILD_FSFREEZE_TRUE@am__append_218 = fsfreeze +@BUILD_FSFREEZE_TRUE@am__append_219 = sys-utils/fsfreeze.8 +@BUILD_BLKDISCARD_TRUE@am__append_220 = blkdiscard +@BUILD_BLKDISCARD_TRUE@am__append_221 = sys-utils/blkdiscard.8 +@BUILD_BLKZONE_TRUE@am__append_222 = blkzone +@BUILD_BLKZONE_TRUE@am__append_223 = sys-utils/blkzone.8 +@BUILD_LDATTACH_TRUE@am__append_224 = ldattach +@BUILD_LDATTACH_TRUE@am__append_225 = sys-utils/ldattach.8 +@BUILD_RTCWAKE_TRUE@am__append_226 = rtcwake +@BUILD_RTCWAKE_TRUE@am__append_227 = sys-utils/rtcwake.8 +@BUILD_RTCWAKE_TRUE@am__append_228 = sys-utils/rtcwake.8 +@BUILD_SETARCH_TRUE@am__append_229 = setarch +@BUILD_SETARCH_TRUE@am__append_230 = sys-utils/setarch.8 +@ARCH_S390_TRUE@@BUILD_SETARCH_TRUE@am__append_231 = s390 s390x +@ARCH_I86_TRUE@@BUILD_SETARCH_TRUE@am__append_232 = i386 +@ARCH_86_64_TRUE@@BUILD_SETARCH_TRUE@am__append_233 = i386 x86_64 +@ARCH_PPC_TRUE@@BUILD_SETARCH_TRUE@am__append_234 = ppc ppc64 ppc32 +@ARCH_SPARC_TRUE@@BUILD_SETARCH_TRUE@am__append_235 = sparc sparc64 sparc32 sparc32bash +@ARCH_MIPS_TRUE@@BUILD_SETARCH_TRUE@am__append_236 = mips mips64 mips32 +@ARCH_IA64_TRUE@@BUILD_SETARCH_TRUE@am__append_237 = i386 ia64 +@ARCH_HPPA_TRUE@@BUILD_SETARCH_TRUE@am__append_238 = parisc parisc64 parisc32 +@BUILD_SETARCH_TRUE@am__append_239 = $(SETARCH_MAN_LINKS) +@BUILD_SETARCH_TRUE@am__append_240 = $(SETARCH_MAN_LINKS) +@BUILD_SETARCH_TRUE@am__append_241 = install-exec-hook-setarch +@BUILD_SETARCH_TRUE@am__append_242 = uninstall-hook-setarch +@BUILD_EJECT_TRUE@am__append_243 = eject +@BUILD_EJECT_TRUE@am__append_244 = sys-utils/eject.1 +@BUILD_LOSETUP_TRUE@am__append_245 = losetup +@BUILD_LOSETUP_TRUE@am__append_246 = sys-utils/losetup.8 +@BUILD_LOSETUP_TRUE@@HAVE_STATIC_LOSETUP_TRUE@am__append_247 = losetup.static +@BUILD_ZRAMCTL_TRUE@am__append_248 = zramctl +@BUILD_ZRAMCTL_TRUE@am__append_249 = sys-utils/zramctl.8 +@BUILD_PRLIMIT_TRUE@am__append_250 = prlimit +@BUILD_PRLIMIT_TRUE@am__append_251 = sys-utils/prlimit.1 +@BUILD_LSNS_TRUE@am__append_252 = lsns +@BUILD_LSNS_TRUE@am__append_253 = sys-utils/lsns.8 +@BUILD_MOUNT_TRUE@am__append_254 = mount umount +@BUILD_MOUNT_TRUE@am__append_255 = \ +@BUILD_MOUNT_TRUE@ sys-utils/mount.8 \ +@BUILD_MOUNT_TRUE@ sys-utils/fstab.5 \ +@BUILD_MOUNT_TRUE@ sys-utils/umount.8 + +@BUILD_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@am__append_256 = mount.static +@BUILD_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@am__append_257 = umount.static +@BUILD_MOUNT_TRUE@am__append_258 = install-exec-hook-mount +@BUILD_SWAPON_TRUE@am__append_259 = swapon swapoff +@BUILD_SWAPON_TRUE@am__append_260 = \ +@BUILD_SWAPON_TRUE@ sys-utils/swapoff.8 \ +@BUILD_SWAPON_TRUE@ sys-utils/swapon.8 + +@BUILD_LSCPU_TRUE@am__append_261 = lscpu +@BUILD_LSCPU_TRUE@am__append_262 = sys-utils/lscpu.1 +@BUILD_CHCPU_TRUE@am__append_263 = chcpu +@BUILD_CHCPU_TRUE@am__append_264 = sys-utils/chcpu.8 +@BUILD_WDCTL_TRUE@am__append_265 = wdctl +@BUILD_WDCTL_TRUE@am__append_266 = sys-utils/wdctl.8 +@BUILD_MOUNTPOINT_TRUE@am__append_267 = mountpoint +@BUILD_MOUNTPOINT_TRUE@am__append_268 = sys-utils/mountpoint.1 +@BUILD_FALLOCATE_TRUE@am__append_269 = fallocate +@BUILD_FALLOCATE_TRUE@am__append_270 = sys-utils/fallocate.1 +@BUILD_PIVOT_ROOT_TRUE@am__append_271 = pivot_root +@BUILD_PIVOT_ROOT_TRUE@am__append_272 = sys-utils/pivot_root.8 +@BUILD_SWITCH_ROOT_TRUE@am__append_273 = switch_root +@BUILD_SWITCH_ROOT_TRUE@am__append_274 = sys-utils/switch_root.8 +@BUILD_UNSHARE_TRUE@am__append_275 = unshare +@BUILD_UNSHARE_TRUE@am__append_276 = sys-utils/unshare.1 +@BUILD_UNSHARE_TRUE@@HAVE_STATIC_UNSHARE_TRUE@am__append_277 = unshare.static +@BUILD_NSENTER_TRUE@am__append_278 = nsenter +@BUILD_NSENTER_TRUE@am__append_279 = sys-utils/nsenter.1 +@BUILD_NSENTER_TRUE@@HAVE_STATIC_NSENTER_TRUE@am__append_280 = nsenter.static +@BUILD_HWCLOCK_TRUE@am__append_281 = hwclock +@BUILD_HWCLOCK_TRUE@am__append_282 = \ +@BUILD_HWCLOCK_TRUE@ sys-utils/hwclock.8 \ +@BUILD_HWCLOCK_TRUE@ sys-utils/adjtime_config.5 + +@BUILD_HWCLOCK_TRUE@am__append_283 = sys-utils/hwclock.8 +@BUILD_HWCLOCK_TRUE@@LINUX_TRUE@am__append_284 = sys-utils/hwclock-rtc.c +@BUILD_HWCLOCK_TRUE@@HAVE_AUDIT_TRUE@am__append_285 = -laudit +@BUILD_SETPRIV_TRUE@am__append_286 = setpriv +@BUILD_SETPRIV_TRUE@am__append_287 = sys-utils/setpriv.1 +@BUILD_CAL_TRUE@am__append_288 = cal +@BUILD_CAL_TRUE@am__append_289 = misc-utils/cal.1 +# tinfo or ncurses are optional +@BUILD_CAL_TRUE@@HAVE_TINFO_TRUE@am__append_290 = $(TINFO_LIBS) +@BUILD_CAL_TRUE@@HAVE_TINFO_TRUE@am__append_291 = $(TINFO_CFLAGS) +@BUILD_CAL_TRUE@@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@am__append_292 = $(NCURSES_LIBS) +@BUILD_CAL_TRUE@@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@am__append_293 = $(NCURSES_CFLAGS) +@BUILD_CAL_TRUE@am__append_294 = test_cal +@BUILD_LOGGER_TRUE@am__append_295 = logger +@BUILD_LOGGER_TRUE@am__append_296 = misc-utils/logger.1 +@BUILD_LOGGER_TRUE@@HAVE_SYSTEMD_TRUE@am__append_297 = $(SYSTEMD_LIBS) $(SYSTEMD_DAEMON_LIBS) $(SYSTEMD_JOURNAL_LIBS) +@BUILD_LOGGER_TRUE@@HAVE_SYSTEMD_TRUE@am__append_298 = $(SYSTEMD_CFLAGS) $(SYSTEMD_DAEMON_CFLAGS) $(SYSTEMD_JOURNAL_CFLAGS) +@BUILD_LOGGER_TRUE@am__append_299 = test_logger +@BUILD_LOOK_TRUE@am__append_300 = look +@BUILD_LOOK_TRUE@am__append_301 = misc-utils/look.1 +@BUILD_MCOOKIE_TRUE@am__append_302 = mcookie +@BUILD_MCOOKIE_TRUE@am__append_303 = misc-utils/mcookie.1 +@BUILD_NAMEI_TRUE@am__append_304 = namei +@BUILD_NAMEI_TRUE@am__append_305 = misc-utils/namei.1 +@BUILD_WHEREIS_TRUE@am__append_306 = whereis +@BUILD_WHEREIS_TRUE@am__append_307 = misc-utils/whereis.1 +@BUILD_LSLOCKS_TRUE@am__append_308 = lslocks +@BUILD_LSLOCKS_TRUE@am__append_309 = misc-utils/lslocks.8 +@BUILD_LSBLK_TRUE@am__append_310 = lsblk +@BUILD_LSBLK_TRUE@am__append_311 = misc-utils/lsblk.8 +@BUILD_LSBLK_TRUE@@HAVE_UDEV_TRUE@am__append_312 = -ludev +@BUILD_UUIDGEN_TRUE@am__append_313 = uuidgen +@BUILD_UUIDGEN_TRUE@am__append_314 = misc-utils/uuidgen.1 +@BUILD_UUIDPARSE_TRUE@am__append_315 = uuidparse +@BUILD_UUIDPARSE_TRUE@am__append_316 = misc-utils/uuidparse.1 +@BUILD_UUIDD_TRUE@am__append_317 = uuidd +@BUILD_UUIDD_TRUE@am__append_318 = misc-utils/uuidd.8 +@BUILD_UUIDD_TRUE@@HAVE_SYSTEMD_TRUE@am__append_319 = $(SYSTEMD_LIBS) $(SYSTEMD_DAEMON_LIBS) +@BUILD_UUIDD_TRUE@@HAVE_SYSTEMD_TRUE@am__append_320 = $(SYSTEMD_CFLAGS) $(SYSTEMD_DAEMON_CFLAGS) +@BUILD_UUIDD_TRUE@@HAVE_SYSTEMD_TRUE@am__append_321 = \ +@BUILD_UUIDD_TRUE@@HAVE_SYSTEMD_TRUE@ misc-utils/uuidd.service \ +@BUILD_UUIDD_TRUE@@HAVE_SYSTEMD_TRUE@ misc-utils/uuidd.socket + +@BUILD_UUIDD_TRUE@am__append_322 = test_uuidd +@BUILD_BLKID_TRUE@am__append_323 = blkid +@BUILD_BLKID_TRUE@am__append_324 = misc-utils/blkid.8 +@BUILD_BLKID_TRUE@@HAVE_STATIC_BLKID_TRUE@am__append_325 = blkid.static +@BUILD_FINDFS_TRUE@am__append_326 = findfs +@BUILD_FINDFS_TRUE@am__append_327 = misc-utils/findfs.8 +@BUILD_WIPEFS_TRUE@am__append_328 = wipefs +@BUILD_WIPEFS_TRUE@am__append_329 = misc-utils/wipefs.8 +@BUILD_FINDMNT_TRUE@am__append_330 = findmnt +@BUILD_FINDMNT_TRUE@am__append_331 = misc-utils/findmnt.8 +@BUILD_FINDMNT_TRUE@@HAVE_UDEV_TRUE@am__append_332 = -ludev +@BUILD_KILL_TRUE@am__append_333 = kill +@BUILD_KILL_TRUE@am__append_334 = misc-utils/kill.1 +@BUILD_RENAME_TRUE@am__append_335 = rename +@BUILD_RENAME_TRUE@am__append_336 = misc-utils/rename.1 +@BUILD_GETOPT_TRUE@am__append_337 = getopt +@BUILD_GETOPT_TRUE@am__append_338 = misc-utils/getopt.1 +@BUILD_FINCORE_TRUE@am__append_339 = fincore +@BUILD_FINCORE_TRUE@am__append_340 = misc-utils/fincore.1 +@BUILD_MINIX_TRUE@am__append_341 = fsck.minix mkfs.minix +@BUILD_MINIX_TRUE@am__append_342 = disk-utils/fsck.minix.8 \ +@BUILD_MINIX_TRUE@ disk-utils/mkfs.minix.8 +@BUILD_MINIX_TRUE@am__append_343 = test_mkfs_minix +@BUILD_MKFS_TRUE@am__append_344 = mkfs +@BUILD_MKFS_TRUE@am__append_345 = disk-utils/mkfs.8 +@BUILD_ISOSIZE_TRUE@am__append_346 = isosize +@BUILD_ISOSIZE_TRUE@am__append_347 = disk-utils/isosize.8 +@BUILD_BFS_TRUE@am__append_348 = mkfs.bfs +@BUILD_BFS_TRUE@am__append_349 = disk-utils/mkfs.bfs.8 +@BUILD_MKSWAP_TRUE@am__append_350 = mkswap +@BUILD_MKSWAP_TRUE@am__append_351 = disk-utils/mkswap.8 +@BUILD_LIBUUID_TRUE@@BUILD_MKSWAP_TRUE@am__append_352 = -I$(ul_libuuid_incdir) +@BUILD_LIBUUID_TRUE@@BUILD_MKSWAP_TRUE@am__append_353 = libuuid.la +@BUILD_LIBBLKID_TRUE@@BUILD_MKSWAP_TRUE@am__append_354 = -I$(ul_libblkid_incdir) +@BUILD_LIBBLKID_TRUE@@BUILD_MKSWAP_TRUE@am__append_355 = libblkid.la +@BUILD_MKSWAP_TRUE@@HAVE_SELINUX_TRUE@am__append_356 = -lselinux +@BUILD_SWAPLABEL_TRUE@am__append_357 = swaplabel +@BUILD_SWAPLABEL_TRUE@am__append_358 = disk-utils/swaplabel.8 +@BUILD_LIBUUID_TRUE@@BUILD_SWAPLABEL_TRUE@am__append_359 = libuuid.la +@BUILD_LIBUUID_TRUE@@BUILD_SWAPLABEL_TRUE@am__append_360 = -I$(ul_libuuid_incdir) +@BUILD_FSCK_TRUE@am__append_361 = fsck +@BUILD_FSCK_TRUE@am__append_362 = disk-utils/fsck.8 +@BUILD_RAW_TRUE@am__append_363 = raw +@BUILD_RAW_TRUE@am__append_364 = disk-utils/raw.8 +@BUILD_CRAMFS_TRUE@am__append_365 = fsck.cramfs mkfs.cramfs +@BUILD_CRAMFS_TRUE@am__append_366 = disk-utils/fsck.cramfs.8 \ +@BUILD_CRAMFS_TRUE@ disk-utils/mkfs.cramfs.8 +@BUILD_FDFORMAT_TRUE@am__append_367 = fdformat +@BUILD_FDFORMAT_TRUE@am__append_368 = disk-utils/fdformat.8 +@BUILD_BLOCKDEV_TRUE@am__append_369 = blockdev +@BUILD_BLOCKDEV_TRUE@am__append_370 = disk-utils/blockdev.8 +@BUILD_FDISK_TRUE@am__append_371 = fdisk +@BUILD_FDISK_TRUE@am__append_372 = disk-utils/fdisk.8 +@BUILD_FDISK_TRUE@@HAVE_STATIC_FDISK_TRUE@am__append_373 = fdisk.static +@BUILD_SFDISK_TRUE@am__append_374 = sfdisk +@BUILD_SFDISK_TRUE@am__append_375 = disk-utils/sfdisk.8 +@BUILD_SFDISK_TRUE@@HAVE_STATIC_SFDISK_TRUE@am__append_376 = sfdisk.static +@BUILD_CFDISK_TRUE@am__append_377 = cfdisk +@BUILD_CFDISK_TRUE@am__append_378 = disk-utils/cfdisk.8 +@BUILD_CFDISK_TRUE@@BUILD_LIBMOUNT_TRUE@am__append_379 = -I$(ul_libmount_incdir) +@BUILD_CFDISK_TRUE@@BUILD_LIBMOUNT_TRUE@am__append_380 = libmount.la +@BUILD_CFDISK_TRUE@@HAVE_SLANG_TRUE@am__append_381 = -lslang +@BUILD_CFDISK_TRUE@@HAVE_SLANG_FALSE@am__append_382 = $(NCURSES_CFLAGS) +@BUILD_CFDISK_TRUE@@HAVE_SLANG_FALSE@am__append_383 = $(NCURSES_LIBS) +@BUILD_PARTX_TRUE@am__append_384 = partx addpart delpart resizepart +@BUILD_PARTX_TRUE@am__append_385 = \ +@BUILD_PARTX_TRUE@ disk-utils/addpart.8 \ +@BUILD_PARTX_TRUE@ disk-utils/delpart.8 \ +@BUILD_PARTX_TRUE@ disk-utils/resizepart.8 \ +@BUILD_PARTX_TRUE@ disk-utils/partx.8 + +@BUILD_BASH_COMPLETION_TRUE@@BUILD_BLKID_TRUE@am__append_386 = bash-completion/blkid +@BUILD_BASH_COMPLETION_TRUE@@BUILD_CAL_TRUE@am__append_387 = bash-completion/cal +@BUILD_BASH_COMPLETION_TRUE@@BUILD_COL_TRUE@am__append_388 = bash-completion/col +@BUILD_BASH_COMPLETION_TRUE@@BUILD_COLCRT_TRUE@am__append_389 = bash-completion/colcrt +@BUILD_BASH_COMPLETION_TRUE@@BUILD_COLRM_TRUE@am__append_390 = bash-completion/colrm +@BUILD_BASH_COMPLETION_TRUE@@BUILD_COLUMN_TRUE@am__append_391 = bash-completion/column +@BUILD_BASH_COMPLETION_TRUE@@BUILD_FINCORE_TRUE@am__append_392 = bash-completion/fincore +@BUILD_BASH_COMPLETION_TRUE@@BUILD_FINDFS_TRUE@am__append_393 = bash-completion/findfs +@BUILD_BASH_COMPLETION_TRUE@@BUILD_FINDMNT_TRUE@am__append_394 = bash-completion/findmnt +@BUILD_BASH_COMPLETION_TRUE@@BUILD_FLOCK_TRUE@am__append_395 = bash-completion/flock +@BUILD_BASH_COMPLETION_TRUE@@BUILD_GETOPT_TRUE@am__append_396 = bash-completion/getopt +@BUILD_BASH_COMPLETION_TRUE@@BUILD_HEXDUMP_TRUE@am__append_397 = bash-completion/hexdump +@BUILD_BASH_COMPLETION_TRUE@@BUILD_IPCMK_TRUE@am__append_398 = bash-completion/ipcmk +@BUILD_BASH_COMPLETION_TRUE@@BUILD_IPCRM_TRUE@am__append_399 = bash-completion/ipcrm +@BUILD_BASH_COMPLETION_TRUE@@BUILD_IPCS_TRUE@am__append_400 = bash-completion/ipcs +@BUILD_BASH_COMPLETION_TRUE@@BUILD_ISOSIZE_TRUE@am__append_401 = bash-completion/isosize +@BUILD_BASH_COMPLETION_TRUE@@BUILD_LOGGER_TRUE@am__append_402 = bash-completion/logger +@BUILD_BASH_COMPLETION_TRUE@@BUILD_LOOK_TRUE@am__append_403 = bash-completion/look +@BUILD_BASH_COMPLETION_TRUE@@BUILD_LSIPC_TRUE@am__append_404 = bash-completion/lsipc +@BUILD_BASH_COMPLETION_TRUE@@BUILD_LSNS_TRUE@am__append_405 = bash-completion/lsns +@BUILD_BASH_COMPLETION_TRUE@@BUILD_MCOOKIE_TRUE@am__append_406 = bash-completion/mcookie +@BUILD_BASH_COMPLETION_TRUE@@BUILD_MKFS_TRUE@am__append_407 = bash-completion/mkfs +@BUILD_BASH_COMPLETION_TRUE@@BUILD_MKSWAP_TRUE@am__append_408 = bash-completion/mkswap +@BUILD_BASH_COMPLETION_TRUE@@BUILD_NAMEI_TRUE@am__append_409 = bash-completion/namei +@BUILD_BASH_COMPLETION_TRUE@@BUILD_PRLIMIT_TRUE@am__append_410 = bash-completion/prlimit +@BUILD_BASH_COMPLETION_TRUE@@BUILD_READPROFILE_TRUE@am__append_411 = bash-completion/readprofile +@BUILD_BASH_COMPLETION_TRUE@@BUILD_RENICE_TRUE@am__append_412 = bash-completion/renice +@BUILD_BASH_COMPLETION_TRUE@@BUILD_REV_TRUE@am__append_413 = bash-completion/rev +@BUILD_BASH_COMPLETION_TRUE@@BUILD_SCRIPT_TRUE@am__append_414 = bash-completion/script +@BUILD_BASH_COMPLETION_TRUE@@BUILD_SCRIPTREPLAY_TRUE@am__append_415 = bash-completion/scriptreplay +@BUILD_BASH_COMPLETION_TRUE@@BUILD_SETSID_TRUE@am__append_416 = bash-completion/setsid +@BUILD_BASH_COMPLETION_TRUE@@BUILD_WHEREIS_TRUE@am__append_417 = bash-completion/whereis +@BUILD_BASH_COMPLETION_TRUE@@BUILD_WIPEFS_TRUE@am__append_418 = bash-completion/wipefs +@BUILD_BASH_COMPLETION_TRUE@@BUILD_FSCK_TRUE@am__append_419 = bash-completion/fsck +@BUILD_BASH_COMPLETION_TRUE@@BUILD_BFS_TRUE@am__append_420 = bash-completion/mkfs.bfs +@BUILD_BASH_COMPLETION_TRUE@@BUILD_MINIX_TRUE@am__append_421 = \ +@BUILD_BASH_COMPLETION_TRUE@@BUILD_MINIX_TRUE@ bash-completion/fsck.minix \ +@BUILD_BASH_COMPLETION_TRUE@@BUILD_MINIX_TRUE@ bash-completion/mkfs.minix + +@BUILD_BASH_COMPLETION_TRUE@@BUILD_CRAMFS_TRUE@am__append_422 = \ +@BUILD_BASH_COMPLETION_TRUE@@BUILD_CRAMFS_TRUE@ bash-completion/fsck.cramfs \ +@BUILD_BASH_COMPLETION_TRUE@@BUILD_CRAMFS_TRUE@ bash-completion/mkfs.cramfs + +@BUILD_BASH_COMPLETION_TRUE@@BUILD_PARTX_TRUE@am__append_423 = \ +@BUILD_BASH_COMPLETION_TRUE@@BUILD_PARTX_TRUE@ bash-completion/addpart \ +@BUILD_BASH_COMPLETION_TRUE@@BUILD_PARTX_TRUE@ bash-completion/delpart \ +@BUILD_BASH_COMPLETION_TRUE@@BUILD_PARTX_TRUE@ bash-completion/resizepart \ +@BUILD_BASH_COMPLETION_TRUE@@BUILD_PARTX_TRUE@ bash-completion/partx + +@BUILD_BASH_COMPLETION_TRUE@@BUILD_RAW_TRUE@am__append_424 = bash-completion/raw +@BUILD_BASH_COMPLETION_TRUE@@BUILD_SWAPLABEL_TRUE@am__append_425 = bash-completion/swaplabel +@BUILD_BASH_COMPLETION_TRUE@@BUILD_FDFORMAT_TRUE@am__append_426 = bash-completion/fdformat +@BUILD_BASH_COMPLETION_TRUE@@BUILD_BLOCKDEV_TRUE@am__append_427 = bash-completion/blockdev +@BUILD_BASH_COMPLETION_TRUE@@BUILD_FDISK_TRUE@am__append_428 = bash-completion/fdisk +@BUILD_BASH_COMPLETION_TRUE@@BUILD_SFDISK_TRUE@am__append_429 = bash-completion/sfdisk +@BUILD_BASH_COMPLETION_TRUE@@BUILD_CFDISK_TRUE@am__append_430 = bash-completion/cfdisk +@BUILD_BASH_COMPLETION_TRUE@@BUILD_CHFN_CHSH_TRUE@am__append_431 = \ +@BUILD_BASH_COMPLETION_TRUE@@BUILD_CHFN_CHSH_TRUE@ bash-completion/chfn \ +@BUILD_BASH_COMPLETION_TRUE@@BUILD_CHFN_CHSH_TRUE@ bash-completion/chsh + +@BUILD_BASH_COMPLETION_TRUE@@BUILD_LAST_TRUE@am__append_432 = bash-completion/last +@BUILD_BASH_COMPLETION_TRUE@@BUILD_LSLOGINS_TRUE@am__append_433 = bash-completion/lslogins +@BUILD_BASH_COMPLETION_TRUE@@BUILD_NEWGRP_TRUE@am__append_434 = bash-completion/newgrp +@BUILD_BASH_COMPLETION_TRUE@@BUILD_SU_TRUE@am__append_435 = bash-completion/su +@BUILD_BASH_COMPLETION_TRUE@@BUILD_RUNUSER_TRUE@am__append_436 = install-data-hook-bashcomp-runuser +@BUILD_BASH_COMPLETION_TRUE@@BUILD_UTMPDUMP_TRUE@am__append_437 = bash-completion/utmpdump +@BUILD_BASH_COMPLETION_TRUE@@BUILD_LIBUUID_TRUE@am__append_438 = bash-completion/uuidgen +@BUILD_BASH_COMPLETION_TRUE@@BUILD_UUIDPARSE_TRUE@am__append_439 = bash-completion/uuidparse +@BUILD_BASH_COMPLETION_TRUE@@BUILD_UUIDD_TRUE@am__append_440 = bash-completion/uuidd +@BUILD_BASH_COMPLETION_TRUE@@BUILD_LSBLK_TRUE@am__append_441 = bash-completion/lsblk +@BUILD_BASH_COMPLETION_TRUE@@BUILD_LSLOCKS_TRUE@am__append_442 = bash-completion/lslocks +@BUILD_BASH_COMPLETION_TRUE@@BUILD_RENAME_TRUE@am__append_443 = bash-completion/rename +@BUILD_BASH_COMPLETION_TRUE@@BUILD_CHRT_TRUE@am__append_444 = bash-completion/chrt +@BUILD_BASH_COMPLETION_TRUE@@BUILD_IONICE_TRUE@am__append_445 = bash-completion/ionice +@BUILD_BASH_COMPLETION_TRUE@@BUILD_TASKSET_TRUE@am__append_446 = bash-completion/taskset +@BUILD_BASH_COMPLETION_TRUE@@BUILD_CHCPU_TRUE@am__append_447 = bash-completion/chcpu +@BUILD_BASH_COMPLETION_TRUE@@BUILD_CHMEM_TRUE@am__append_448 = bash-completion/chmem +@BUILD_BASH_COMPLETION_TRUE@@BUILD_EJECT_TRUE@am__append_449 = bash-completion/eject +@BUILD_BASH_COMPLETION_TRUE@@BUILD_FALLOCATE_TRUE@am__append_450 = bash-completion/fallocate +@BUILD_BASH_COMPLETION_TRUE@@BUILD_HWCLOCK_TRUE@am__append_451 = bash-completion/hwclock +@BUILD_BASH_COMPLETION_TRUE@@BUILD_TUNELP_TRUE@am__append_452 = bash-completion/tunelp +@BUILD_BASH_COMPLETION_TRUE@@BUILD_LSCPU_TRUE@am__append_453 = bash-completion/lscpu +@BUILD_BASH_COMPLETION_TRUE@@BUILD_LSMEM_TRUE@am__append_454 = bash-completion/lsmem +@BUILD_BASH_COMPLETION_TRUE@@BUILD_LOSETUP_TRUE@am__append_455 = bash-completion/losetup +@BUILD_BASH_COMPLETION_TRUE@@BUILD_MOUNT_TRUE@am__append_456 = bash-completion/mount \ +@BUILD_BASH_COMPLETION_TRUE@@BUILD_MOUNT_TRUE@ bash-completion/umount +@BUILD_BASH_COMPLETION_TRUE@@BUILD_MOUNTPOINT_TRUE@am__append_457 = bash-completion/mountpoint +@BUILD_BASH_COMPLETION_TRUE@@BUILD_NSENTER_TRUE@am__append_458 = bash-completion/nsenter +@BUILD_BASH_COMPLETION_TRUE@@BUILD_PIVOT_ROOT_TRUE@am__append_459 = bash-completion/pivot_root +@BUILD_BASH_COMPLETION_TRUE@@BUILD_SETPRIV_TRUE@am__append_460 = bash-completion/setpriv +@BUILD_BASH_COMPLETION_TRUE@@BUILD_SWAPON_TRUE@am__append_461 = bash-completion/swapon \ +@BUILD_BASH_COMPLETION_TRUE@@BUILD_SWAPON_TRUE@ bash-completion/swapoff +@BUILD_BASH_COMPLETION_TRUE@@BUILD_UNSHARE_TRUE@am__append_462 = bash-completion/unshare +@BUILD_BASH_COMPLETION_TRUE@@BUILD_WDCTL_TRUE@am__append_463 = bash-completion/wdctl +@BUILD_BASH_COMPLETION_TRUE@@BUILD_BLKDISCARD_TRUE@am__append_464 = bash-completion/blkdiscard +@BUILD_BASH_COMPLETION_TRUE@@BUILD_BLKZONE_TRUE@am__append_465 = bash-completion/blkzone +@BUILD_BASH_COMPLETION_TRUE@@BUILD_CTRLALTDEL_TRUE@am__append_466 = bash-completion/ctrlaltdel +@BUILD_BASH_COMPLETION_TRUE@@BUILD_DMESG_TRUE@am__append_467 = bash-completion/dmesg +@BUILD_BASH_COMPLETION_TRUE@@BUILD_FSFREEZE_TRUE@am__append_468 = bash-completion/fsfreeze +@BUILD_BASH_COMPLETION_TRUE@@BUILD_FSTRIM_TRUE@am__append_469 = bash-completion/fstrim +@BUILD_BASH_COMPLETION_TRUE@@BUILD_LDATTACH_TRUE@am__append_470 = bash-completion/ldattach +@BUILD_BASH_COMPLETION_TRUE@@BUILD_RFKILL_TRUE@am__append_471 = bash-completion/rfkill +@BUILD_BASH_COMPLETION_TRUE@@BUILD_RTCWAKE_TRUE@am__append_472 = bash-completion/rtcwake +@BUILD_BASH_COMPLETION_TRUE@@BUILD_SETARCH_TRUE@am__append_473 = bash-completion/setarch +@BUILD_BASH_COMPLETION_TRUE@@BUILD_ZRAMCTL_TRUE@am__append_474 = bash-completion/zramctl +@BUILD_BASH_COMPLETION_TRUE@@BUILD_MESG_TRUE@am__append_475 = bash-completion/mesg +@BUILD_BASH_COMPLETION_TRUE@@BUILD_WALL_TRUE@am__append_476 = bash-completion/wall +@BUILD_BASH_COMPLETION_TRUE@@BUILD_WRITE_TRUE@am__append_477 = bash-completion/write +@BUILD_BASH_COMPLETION_TRUE@@BUILD_SETTERM_TRUE@am__append_478 = bash-completion/setterm +@BUILD_BASH_COMPLETION_TRUE@@BUILD_MORE_TRUE@am__append_479 = bash-completion/more +@BUILD_BASH_COMPLETION_TRUE@@BUILD_PG_TRUE@am__append_480 = bash-completion/pg +@BUILD_BASH_COMPLETION_TRUE@@BUILD_UL_TRUE@am__append_481 = bash-completion/ul +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_vscript.m4 \ + $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/gettext.m4 \ + $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.m4 \ + $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lib-ld.m4 \ + $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ + $(top_srcdir)/m4/tls.m4 $(top_srcdir)/m4/ul.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ + $(am__configure_deps) $(am__dist_check_SCRIPTS_DIST) \ + $(am__dist_getoptexample_SCRIPTS_DIST) \ + $(dist_usrbin_exec_SCRIPTS) $(am__pylibmountexec_PYTHON_DIST) \ + $(am__dist_bashcompletion_DATA_DIST) \ + $(am__dist_noinst_DATA_DIST) $(dist_noinst_HEADERS) \ + $(am__uuidinc_HEADERS_DIST) $(am__DIST_COMMON) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = libblkid/src/blkid.h libfdisk/src/libfdisk.h \ + libmount/src/libmount.h libsmartcols/src/libsmartcols.h +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(pylibmountexecdir)" \ + "$(DESTDIR)$(usrlib_execdir)" "$(DESTDIR)$(bindir)" \ + "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(usrbin_execdir)" \ + "$(DESTDIR)$(usrsbin_execdir)" "$(DESTDIR)$(getoptexampledir)" \ + "$(DESTDIR)$(usrbin_execdir)" "$(DESTDIR)$(pylibmountexecdir)" \ + "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" \ + "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" \ + "$(DESTDIR)$(bashcompletiondir)" "$(DESTDIR)$(pkgconfigdir)" \ + "$(DESTDIR)$(systemdsystemunitdir)" "$(DESTDIR)$(blkidincdir)" \ + "$(DESTDIR)$(fdiskincdir)" "$(DESTDIR)$(mountincdir)" \ + "$(DESTDIR)$(smartcolsincdir)" "$(DESTDIR)$(uuidincdir)" +LTLIBRARIES = $(noinst_LTLIBRARIES) $(pylibmountexec_LTLIBRARIES) \ + $(usrlib_exec_LTLIBRARIES) +@BUILD_LIBBLKID_TRUE@libblkid_la_DEPENDENCIES = libcommon.la \ +@BUILD_LIBBLKID_TRUE@ $(am__append_27) +am__libblkid_la_SOURCES_DIST = include/list.h libblkid/src/blkidP.h \ + libblkid/src/init.c libblkid/src/cache.c libblkid/src/config.c \ + libblkid/src/dev.c libblkid/src/devname.c libblkid/src/devno.c \ + libblkid/src/encode.c libblkid/src/evaluate.c \ + libblkid/src/getsize.c libblkid/src/llseek.c \ + libblkid/src/probe.c libblkid/src/read.c \ + libblkid/src/resolve.c libblkid/src/save.c \ + libblkid/src/superblocks/superblocks.h libblkid/src/tag.c \ + libblkid/src/verify.c libblkid/src/version.c \ + libblkid/src/partitions/aix.c libblkid/src/partitions/aix.h \ + libblkid/src/partitions/atari.c libblkid/src/partitions/bsd.c \ + libblkid/src/partitions/dos.c libblkid/src/partitions/gpt.c \ + libblkid/src/partitions/mac.c libblkid/src/partitions/minix.c \ + libblkid/src/partitions/partitions.c \ + libblkid/src/partitions/partitions.h \ + libblkid/src/partitions/sgi.c \ + libblkid/src/partitions/solaris_x86.c \ + libblkid/src/partitions/sun.c libblkid/src/partitions/ultrix.c \ + libblkid/src/partitions/unixware.c \ + libblkid/src/superblocks/adaptec_raid.c \ + libblkid/src/superblocks/apfs.c \ + libblkid/src/superblocks/bcache.c \ + libblkid/src/superblocks/befs.c libblkid/src/superblocks/bfs.c \ + libblkid/src/superblocks/bitlocker.c \ + libblkid/src/superblocks/btrfs.c \ + libblkid/src/superblocks/cramfs.c \ + libblkid/src/superblocks/ddf_raid.c \ + libblkid/src/superblocks/drbd.c \ + libblkid/src/superblocks/drbdproxy_datalog.c \ + libblkid/src/superblocks/drbdmanage.c \ + libblkid/src/superblocks/exfat.c \ + libblkid/src/superblocks/exfs.c libblkid/src/superblocks/ext.c \ + libblkid/src/superblocks/f2fs.c libblkid/src/superblocks/gfs.c \ + libblkid/src/superblocks/hfs.c \ + libblkid/src/superblocks/highpoint_raid.c \ + libblkid/src/superblocks/hpfs.c \ + libblkid/src/superblocks/iso9660.c \ + libblkid/src/superblocks/isw_raid.c \ + libblkid/src/superblocks/jfs.c \ + libblkid/src/superblocks/jmicron_raid.c \ + libblkid/src/superblocks/linux_raid.c \ + libblkid/src/superblocks/lsi_raid.c \ + libblkid/src/superblocks/luks.c libblkid/src/superblocks/lvm.c \ + libblkid/src/superblocks/minix.c \ + libblkid/src/superblocks/mpool.c \ + libblkid/src/superblocks/netware.c \ + libblkid/src/superblocks/nilfs.c \ + libblkid/src/superblocks/ntfs.c \ + libblkid/src/superblocks/refs.c \ + libblkid/src/superblocks/nvidia_raid.c \ + libblkid/src/superblocks/ocfs.c \ + libblkid/src/superblocks/promise_raid.c \ + libblkid/src/superblocks/reiserfs.c \ + libblkid/src/superblocks/romfs.c \ + libblkid/src/superblocks/silicon_raid.c \ + libblkid/src/superblocks/squashfs.c \ + libblkid/src/superblocks/stratis.c \ + libblkid/src/superblocks/superblocks.c \ + libblkid/src/superblocks/swap.c \ + libblkid/src/superblocks/sysv.c libblkid/src/superblocks/ubi.c \ + libblkid/src/superblocks/ubifs.c \ + libblkid/src/superblocks/udf.c libblkid/src/superblocks/ufs.c \ + libblkid/src/superblocks/vdo.c libblkid/src/superblocks/vfat.c \ + libblkid/src/superblocks/via_raid.c \ + libblkid/src/superblocks/vmfs.c \ + libblkid/src/superblocks/vxfs.c libblkid/src/superblocks/xfs.c \ + libblkid/src/superblocks/zfs.c \ + libblkid/src/topology/topology.c \ + libblkid/src/topology/topology.h libblkid/src/topology/dm.c \ + libblkid/src/topology/evms.c libblkid/src/topology/ioctl.c \ + libblkid/src/topology/lvm.c libblkid/src/topology/md.c \ + libblkid/src/topology/sysfs.c +am__dirstamp = $(am__leading_dot)dirstamp +@BUILD_LIBBLKID_TRUE@@LINUX_TRUE@am__objects_1 = libblkid/src/topology/libblkid_la-dm.lo \ +@BUILD_LIBBLKID_TRUE@@LINUX_TRUE@ libblkid/src/topology/libblkid_la-evms.lo \ +@BUILD_LIBBLKID_TRUE@@LINUX_TRUE@ libblkid/src/topology/libblkid_la-ioctl.lo \ +@BUILD_LIBBLKID_TRUE@@LINUX_TRUE@ libblkid/src/topology/libblkid_la-lvm.lo \ +@BUILD_LIBBLKID_TRUE@@LINUX_TRUE@ libblkid/src/topology/libblkid_la-md.lo \ +@BUILD_LIBBLKID_TRUE@@LINUX_TRUE@ libblkid/src/topology/libblkid_la-sysfs.lo +@BUILD_LIBBLKID_TRUE@am_libblkid_la_OBJECTS = \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/libblkid_la-init.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/libblkid_la-cache.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/libblkid_la-config.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/libblkid_la-dev.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/libblkid_la-devname.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/libblkid_la-devno.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/libblkid_la-encode.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/libblkid_la-evaluate.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/libblkid_la-getsize.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/libblkid_la-llseek.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/libblkid_la-probe.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/libblkid_la-read.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/libblkid_la-resolve.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/libblkid_la-save.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/libblkid_la-tag.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/libblkid_la-verify.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/libblkid_la-version.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/libblkid_la-aix.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/libblkid_la-atari.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/libblkid_la-bsd.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/libblkid_la-dos.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/libblkid_la-gpt.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/libblkid_la-mac.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/libblkid_la-minix.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/libblkid_la-partitions.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/libblkid_la-sgi.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/libblkid_la-solaris_x86.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/libblkid_la-sun.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/libblkid_la-ultrix.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/libblkid_la-unixware.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-adaptec_raid.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-apfs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-bcache.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-befs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-bfs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-bitlocker.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-btrfs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-cramfs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-ddf_raid.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-drbd.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-drbdproxy_datalog.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-drbdmanage.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-exfat.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-exfs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-ext.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-f2fs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-gfs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-hfs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-highpoint_raid.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-hpfs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-iso9660.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-isw_raid.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-jfs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-jmicron_raid.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-linux_raid.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-lsi_raid.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-luks.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-lvm.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-minix.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-mpool.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-netware.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-nilfs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-ntfs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-refs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-nvidia_raid.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-ocfs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-promise_raid.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-reiserfs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-romfs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-silicon_raid.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-squashfs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-stratis.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-superblocks.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-swap.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-sysv.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-ubi.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-ubifs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-udf.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-ufs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-vdo.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-vfat.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-via_raid.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-vmfs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-vxfs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-xfs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-zfs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/topology/libblkid_la-topology.lo \ +@BUILD_LIBBLKID_TRUE@ $(am__objects_1) +libblkid_la_OBJECTS = $(am_libblkid_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +libblkid_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libblkid_la_CFLAGS) \ + $(CFLAGS) $(libblkid_la_LDFLAGS) $(LDFLAGS) -o $@ +@BUILD_LIBBLKID_TRUE@am_libblkid_la_rpath = -rpath $(usrlib_execdir) +libcommon_la_LIBADD = +am__libcommon_la_SOURCES_DIST = lib/blkdev.c lib/canonicalize.c \ + lib/crc32.c lib/crc32c.c lib/env.c lib/idcache.c \ + lib/fileutils.c lib/ismounted.c lib/color-names.c lib/mangle.c \ + lib/match.c lib/mbsalign.c lib/mbsedit.c lib/md5.c lib/pager.c \ + lib/parse-date.y lib/pwdutils.c lib/randutils.c \ + lib/setproctitle.c lib/strutils.c lib/timeutils.c \ + lib/ttyutils.c lib/exec_shell.c lib/strv.c lib/sha1.c \ + lib/signames.c lib/linux_version.c lib/loopdev.c \ + lib/plymouth-ctrl.c lib/langinfo.c lib/cpuset.c lib/path.c \ + lib/procutils.c lib/sysfs.c +@LINUX_TRUE@am__objects_2 = lib/libcommon_la-linux_version.lo \ +@LINUX_TRUE@ lib/libcommon_la-loopdev.lo +@USE_PLYMOUTH_SUPPORT_TRUE@am__objects_3 = \ +@USE_PLYMOUTH_SUPPORT_TRUE@ lib/libcommon_la-plymouth-ctrl.lo +@HAVE_LANGINFO_FALSE@am__objects_4 = lib/libcommon_la-langinfo.lo +@HAVE_CPU_SET_T_TRUE@am__objects_5 = lib/libcommon_la-cpuset.lo +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@am__objects_6 = \ +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@ lib/libcommon_la-path.lo \ +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@ lib/libcommon_la-procutils.lo \ +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@ lib/libcommon_la-sysfs.lo +am_libcommon_la_OBJECTS = lib/libcommon_la-blkdev.lo \ + lib/libcommon_la-canonicalize.lo lib/libcommon_la-crc32.lo \ + lib/libcommon_la-crc32c.lo lib/libcommon_la-env.lo \ + lib/libcommon_la-idcache.lo lib/libcommon_la-fileutils.lo \ + lib/libcommon_la-ismounted.lo lib/libcommon_la-color-names.lo \ + lib/libcommon_la-mangle.lo lib/libcommon_la-match.lo \ + lib/libcommon_la-mbsalign.lo lib/libcommon_la-mbsedit.lo \ + lib/libcommon_la-md5.lo lib/libcommon_la-pager.lo \ + lib/libcommon_la-parse-date.lo lib/libcommon_la-pwdutils.lo \ + lib/libcommon_la-randutils.lo lib/libcommon_la-setproctitle.lo \ + lib/libcommon_la-strutils.lo lib/libcommon_la-timeutils.lo \ + lib/libcommon_la-ttyutils.lo lib/libcommon_la-exec_shell.lo \ + lib/libcommon_la-strv.lo lib/libcommon_la-sha1.lo \ + lib/libcommon_la-signames.lo $(am__objects_2) $(am__objects_3) \ + $(am__objects_4) $(am__objects_5) $(am__objects_6) +libcommon_la_OBJECTS = $(am_libcommon_la_OBJECTS) +libcommon_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libcommon_la_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +@BUILD_LIBFDISK_TRUE@libfdisk_la_DEPENDENCIES = libcommon.la \ +@BUILD_LIBFDISK_TRUE@ libuuid.la $(am__append_68) +am__libfdisk_la_SOURCES_DIST = include/list.h libfdisk/src/fdiskP.h \ + libfdisk/src/init.c libfdisk/src/field.c libfdisk/src/item.c \ + libfdisk/src/test.c libfdisk/src/ask.c \ + libfdisk/src/alignment.c libfdisk/src/label.c \ + libfdisk/src/utils.c libfdisk/src/context.c \ + libfdisk/src/parttype.c libfdisk/src/partition.c \ + libfdisk/src/table.c libfdisk/src/iter.c libfdisk/src/script.c \ + libfdisk/src/version.c libfdisk/src/wipe.c libfdisk/src/sun.c \ + libfdisk/src/sgi.c libfdisk/src/dos.c libfdisk/src/bsd.c \ + libfdisk/src/gpt.c +@BUILD_LIBFDISK_TRUE@am_libfdisk_la_OBJECTS = \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-init.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-field.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-item.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-test.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-ask.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-alignment.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-label.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-utils.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-context.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-parttype.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-partition.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-table.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-iter.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-script.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-version.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-wipe.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-sun.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-sgi.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-dos.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-bsd.lo \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk_la-gpt.lo +libfdisk_la_OBJECTS = $(am_libfdisk_la_OBJECTS) +libfdisk_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libfdisk_la_CFLAGS) \ + $(CFLAGS) $(libfdisk_la_LDFLAGS) $(LDFLAGS) -o $@ +@BUILD_LIBFDISK_TRUE@am_libfdisk_la_rpath = -rpath $(usrlib_execdir) +am__DEPENDENCIES_1 = +@BUILD_LIBMOUNT_TRUE@libmount_la_DEPENDENCIES = libcommon.la \ +@BUILD_LIBMOUNT_TRUE@ libblkid.la $(am__DEPENDENCIES_1) \ +@BUILD_LIBMOUNT_TRUE@ $(am__DEPENDENCIES_1) +am__libmount_la_SOURCES_DIST = include/list.h lib/monotonic.c \ + libmount/src/mountP.h libmount/src/cache.c libmount/src/fs.c \ + libmount/src/init.c libmount/src/iter.c libmount/src/lock.c \ + libmount/src/optmap.c libmount/src/optstr.c libmount/src/tab.c \ + libmount/src/tab_diff.c libmount/src/tab_parse.c \ + libmount/src/tab_update.c libmount/src/test.c \ + libmount/src/utils.c libmount/src/version.c \ + libmount/src/context.c libmount/src/context_loopdev.c \ + libmount/src/context_mount.c libmount/src/context_umount.c \ + libmount/src/monitor.c libmount/src/btrfs.c +@BUILD_LIBMOUNT_TRUE@@LINUX_TRUE@am__objects_7 = libmount/src/libmount_la-context.lo \ +@BUILD_LIBMOUNT_TRUE@@LINUX_TRUE@ libmount/src/libmount_la-context_loopdev.lo \ +@BUILD_LIBMOUNT_TRUE@@LINUX_TRUE@ libmount/src/libmount_la-context_mount.lo \ +@BUILD_LIBMOUNT_TRUE@@LINUX_TRUE@ libmount/src/libmount_la-context_umount.lo \ +@BUILD_LIBMOUNT_TRUE@@LINUX_TRUE@ libmount/src/libmount_la-monitor.lo +@BUILD_LIBMOUNT_TRUE@@HAVE_BTRFS_TRUE@@LINUX_TRUE@am__objects_8 = libmount/src/libmount_la-btrfs.lo +@BUILD_LIBMOUNT_TRUE@am_libmount_la_OBJECTS = \ +@BUILD_LIBMOUNT_TRUE@ lib/libmount_la-monotonic.lo \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount_la-cache.lo \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount_la-fs.lo \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount_la-init.lo \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount_la-iter.lo \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount_la-lock.lo \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount_la-optmap.lo \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount_la-optstr.lo \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount_la-tab.lo \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount_la-tab_diff.lo \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount_la-tab_parse.lo \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount_la-tab_update.lo \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount_la-test.lo \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount_la-utils.lo \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount_la-version.lo \ +@BUILD_LIBMOUNT_TRUE@ $(am__objects_7) $(am__objects_8) +libmount_la_OBJECTS = $(am_libmount_la_OBJECTS) +libmount_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libmount_la_CFLAGS) \ + $(CFLAGS) $(libmount_la_LDFLAGS) $(LDFLAGS) -o $@ +@BUILD_LIBMOUNT_TRUE@am_libmount_la_rpath = -rpath $(usrlib_execdir) +am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) +@BUILD_LIBSMARTCOLS_TRUE@libsmartcols_la_DEPENDENCIES = \ +@BUILD_LIBSMARTCOLS_TRUE@ $(am__DEPENDENCIES_2) libcommon.la +am__libsmartcols_la_SOURCES_DIST = include/list.h \ + libsmartcols/src/smartcolsP.h libsmartcols/src/iter.c \ + libsmartcols/src/symbols.c libsmartcols/src/cell.c \ + libsmartcols/src/column.c libsmartcols/src/line.c \ + libsmartcols/src/table.c libsmartcols/src/table_print.c \ + libsmartcols/src/version.c libsmartcols/src/init.c +@BUILD_LIBSMARTCOLS_TRUE@am_libsmartcols_la_OBJECTS = libsmartcols/src/libsmartcols_la-iter.lo \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/libsmartcols_la-symbols.lo \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/libsmartcols_la-cell.lo \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/libsmartcols_la-column.lo \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/libsmartcols_la-line.lo \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/libsmartcols_la-table.lo \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/libsmartcols_la-table_print.lo \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/libsmartcols_la-version.lo \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/libsmartcols_la-init.lo +libsmartcols_la_OBJECTS = $(am_libsmartcols_la_OBJECTS) +libsmartcols_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(libsmartcols_la_CFLAGS) $(CFLAGS) $(libsmartcols_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +@BUILD_LIBSMARTCOLS_TRUE@am_libsmartcols_la_rpath = -rpath \ +@BUILD_LIBSMARTCOLS_TRUE@ $(usrlib_execdir) +@HAVE_TINFO_TRUE@am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) +@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@am__DEPENDENCIES_4 = \ +@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@ $(am__DEPENDENCIES_1) +libtcolors_la_DEPENDENCIES = $(am__DEPENDENCIES_3) \ + $(am__DEPENDENCIES_4) +am_libtcolors_la_OBJECTS = lib/libtcolors_la-colors.lo \ + lib/libtcolors_la-color-names.lo +libtcolors_la_OBJECTS = $(am_libtcolors_la_OBJECTS) +libtcolors_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libtcolors_la_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +@BUILD_LIBUUID_TRUE@libuuid_la_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LIBUUID_TRUE@ $(am__DEPENDENCIES_1) +am__libuuid_la_SOURCES_DIST = libuuid/src/uuidP.h libuuid/src/clear.c \ + libuuid/src/compare.c libuuid/src/copy.c \ + libuuid/src/gen_uuid.c libuuid/src/isnull.c libuuid/src/pack.c \ + libuuid/src/parse.c libuuid/src/unpack.c libuuid/src/unparse.c \ + libuuid/src/uuidd.h libuuid/src/uuid_time.c \ + libuuid/src/predefined.c lib/randutils.c lib/md5.c lib/sha1.c +@BUILD_LIBUUID_TRUE@am_libuuid_la_OBJECTS = \ +@BUILD_LIBUUID_TRUE@ libuuid/src/libuuid_la-clear.lo \ +@BUILD_LIBUUID_TRUE@ libuuid/src/libuuid_la-compare.lo \ +@BUILD_LIBUUID_TRUE@ libuuid/src/libuuid_la-copy.lo \ +@BUILD_LIBUUID_TRUE@ libuuid/src/libuuid_la-gen_uuid.lo \ +@BUILD_LIBUUID_TRUE@ libuuid/src/libuuid_la-isnull.lo \ +@BUILD_LIBUUID_TRUE@ libuuid/src/libuuid_la-pack.lo \ +@BUILD_LIBUUID_TRUE@ libuuid/src/libuuid_la-parse.lo \ +@BUILD_LIBUUID_TRUE@ libuuid/src/libuuid_la-unpack.lo \ +@BUILD_LIBUUID_TRUE@ libuuid/src/libuuid_la-unparse.lo \ +@BUILD_LIBUUID_TRUE@ libuuid/src/libuuid_la-uuid_time.lo \ +@BUILD_LIBUUID_TRUE@ libuuid/src/libuuid_la-predefined.lo \ +@BUILD_LIBUUID_TRUE@ lib/libuuid_la-randutils.lo \ +@BUILD_LIBUUID_TRUE@ lib/libuuid_la-md5.lo \ +@BUILD_LIBUUID_TRUE@ lib/libuuid_la-sha1.lo +libuuid_la_OBJECTS = $(am_libuuid_la_OBJECTS) +libuuid_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libuuid_la_CFLAGS) \ + $(CFLAGS) $(libuuid_la_LDFLAGS) $(LDFLAGS) -o $@ +@BUILD_LIBUUID_TRUE@am_libuuid_la_rpath = -rpath $(usrlib_execdir) +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@pylibmount_la_DEPENDENCIES = \ +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@ libmount.la \ +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@ $(am__DEPENDENCIES_1) +am__pylibmount_la_SOURCES_DIST = libmount/python/pylibmount.c \ + libmount/python/pylibmount.h libmount/python/fs.c \ + libmount/python/tab.c libmount/python/context.c +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@@LINUX_TRUE@am__objects_9 = libmount/python/pylibmount_la-context.lo +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@am_pylibmount_la_OBJECTS = libmount/python/pylibmount_la-pylibmount.lo \ +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@ libmount/python/pylibmount_la-fs.lo \ +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@ libmount/python/pylibmount_la-tab.lo \ +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@ $(am__objects_9) +pylibmount_la_OBJECTS = $(am_pylibmount_la_OBJECTS) +pylibmount_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(pylibmount_la_CFLAGS) \ + $(CFLAGS) $(pylibmount_la_LDFLAGS) $(LDFLAGS) -o $@ +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@am_pylibmount_la_rpath = \ +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@ -rpath \ +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@ $(pylibmountexecdir) +@BUILD_MORE_TRUE@am__EXEEXT_1 = more$(EXEEXT) +@BUILD_LOGIN_TRUE@am__EXEEXT_2 = login$(EXEEXT) +@BUILD_SU_TRUE@am__EXEEXT_3 = su$(EXEEXT) +@BUILD_DMESG_TRUE@am__EXEEXT_4 = dmesg$(EXEEXT) +@BUILD_LOSETUP_TRUE@@HAVE_STATIC_LOSETUP_TRUE@am__EXEEXT_5 = losetup.static$(EXEEXT) +@BUILD_MOUNT_TRUE@am__EXEEXT_6 = mount$(EXEEXT) umount$(EXEEXT) +@BUILD_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@am__EXEEXT_7 = mount.static$(EXEEXT) +@BUILD_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@am__EXEEXT_8 = umount.static$(EXEEXT) +@BUILD_WDCTL_TRUE@am__EXEEXT_9 = wdctl$(EXEEXT) +@BUILD_MOUNTPOINT_TRUE@am__EXEEXT_10 = mountpoint$(EXEEXT) +@BUILD_LSBLK_TRUE@am__EXEEXT_11 = lsblk$(EXEEXT) +@BUILD_FINDMNT_TRUE@am__EXEEXT_12 = findmnt$(EXEEXT) +@BUILD_KILL_TRUE@am__EXEEXT_13 = kill$(EXEEXT) +@HAVE_CPU_SET_T_TRUE@@LINUX_TRUE@am__EXEEXT_14 = test_cpuset$(EXEEXT) +@LINUX_TRUE@am__EXEEXT_15 = test_sysfs$(EXEEXT) test_pager$(EXEEXT) +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@am__EXEEXT_16 = \ +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@ test_procutils$(EXEEXT) \ +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@ test_path$(EXEEXT) +@LINUX_TRUE@am__EXEEXT_17 = test_linux_version$(EXEEXT) +@BUILD_LIBUUID_TRUE@am__EXEEXT_18 = test_uuid_parser$(EXEEXT) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@am__EXEEXT_19 = test_blkid_cache$(EXEEXT) \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_config$(EXEEXT) \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_dev$(EXEEXT) \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_devname$(EXEEXT) \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_devno$(EXEEXT) \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_evaluate$(EXEEXT) \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_read$(EXEEXT) \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_resolve$(EXEEXT) \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_save$(EXEEXT) \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_tag$(EXEEXT) \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ test_blkid_verify$(EXEEXT) +@BUILD_LIBBLKID_TRUE@am__EXEEXT_20 = sample-mkfs$(EXEEXT) \ +@BUILD_LIBBLKID_TRUE@ sample-partitions$(EXEEXT) \ +@BUILD_LIBBLKID_TRUE@ sample-superblocks$(EXEEXT) \ +@BUILD_LIBBLKID_TRUE@ sample-topology$(EXEEXT) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@am__EXEEXT_21 = test_mount_cache$(EXEEXT) \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_lock$(EXEEXT) \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_optstr$(EXEEXT) \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_tab$(EXEEXT) \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_tab_diff$(EXEEXT) \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_tab_update$(EXEEXT) \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_utils$(EXEEXT) \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_version$(EXEEXT) \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_debug$(EXEEXT) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@@LINUX_TRUE@am__EXEEXT_22 = test_mount_context$(EXEEXT) \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@@LINUX_TRUE@ test_mount_monitor$(EXEEXT) +@BUILD_LIBSMARTCOLS_TRUE@am__EXEEXT_23 = sample-scols-title$(EXEEXT) \ +@BUILD_LIBSMARTCOLS_TRUE@ sample-scols-wrap$(EXEEXT) \ +@BUILD_LIBSMARTCOLS_TRUE@ sample-scols-continuous$(EXEEXT) \ +@BUILD_LIBSMARTCOLS_TRUE@ sample-scols-fromfile$(EXEEXT) \ +@BUILD_LIBSMARTCOLS_TRUE@ sample-scols-maxout$(EXEEXT) +@BUILD_LIBSMARTCOLS_TRUE@@HAVE_OPENAT_TRUE@am__EXEEXT_24 = sample-scols-tree$(EXEEXT) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@am__EXEEXT_25 = test_fdisk_ask$(EXEEXT) \ +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@ test_fdisk_gpt$(EXEEXT) \ +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@ test_fdisk_script$(EXEEXT) \ +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@ test_fdisk_utils$(EXEEXT) \ +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@ test_fdisk_version$(EXEEXT) \ +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@ test_fdisk_item$(EXEEXT) +@BUILD_LIBFDISK_TRUE@am__EXEEXT_26 = sample-fdisk-mkpart$(EXEEXT) \ +@BUILD_LIBFDISK_TRUE@ sample-fdisk-mkpart-fullspec$(EXEEXT) +@BUILD_MORE_TRUE@am__EXEEXT_27 = test_more$(EXEEXT) +@BUILD_SCRIPT_TRUE@am__EXEEXT_28 = test_script$(EXEEXT) +@BUILD_SULOGIN_TRUE@am__EXEEXT_29 = test_consoles$(EXEEXT) +@BUILD_DMESG_TRUE@am__EXEEXT_30 = test_dmesg$(EXEEXT) +@BUILD_CAL_TRUE@am__EXEEXT_31 = test_cal$(EXEEXT) +@BUILD_LOGGER_TRUE@am__EXEEXT_32 = test_logger$(EXEEXT) +@BUILD_UUIDD_TRUE@am__EXEEXT_33 = test_uuidd$(EXEEXT) +@BUILD_MINIX_TRUE@am__EXEEXT_34 = test_mkfs_minix$(EXEEXT) +@BUILD_AGETTY_TRUE@am__EXEEXT_35 = agetty$(EXEEXT) +@BUILD_SULOGIN_TRUE@am__EXEEXT_36 = sulogin$(EXEEXT) +@BUILD_NOLOGIN_TRUE@am__EXEEXT_37 = nologin$(EXEEXT) +@BUILD_RUNUSER_TRUE@am__EXEEXT_38 = runuser$(EXEEXT) +@BUILD_FSTRIM_TRUE@am__EXEEXT_39 = fstrim$(EXEEXT) +@BUILD_CTRLALTDEL_TRUE@am__EXEEXT_40 = ctrlaltdel$(EXEEXT) +@BUILD_FSFREEZE_TRUE@am__EXEEXT_41 = fsfreeze$(EXEEXT) +@BUILD_BLKDISCARD_TRUE@am__EXEEXT_42 = blkdiscard$(EXEEXT) +@BUILD_BLKZONE_TRUE@am__EXEEXT_43 = blkzone$(EXEEXT) +@BUILD_LOSETUP_TRUE@am__EXEEXT_44 = losetup$(EXEEXT) +@BUILD_ZRAMCTL_TRUE@am__EXEEXT_45 = zramctl$(EXEEXT) +@BUILD_SWAPON_TRUE@am__EXEEXT_46 = swapon$(EXEEXT) swapoff$(EXEEXT) +@BUILD_CHCPU_TRUE@am__EXEEXT_47 = chcpu$(EXEEXT) +@BUILD_PIVOT_ROOT_TRUE@am__EXEEXT_48 = pivot_root$(EXEEXT) +@BUILD_SWITCH_ROOT_TRUE@am__EXEEXT_49 = switch_root$(EXEEXT) +@BUILD_HWCLOCK_TRUE@am__EXEEXT_50 = hwclock$(EXEEXT) +@BUILD_BLKID_TRUE@am__EXEEXT_51 = blkid$(EXEEXT) +@BUILD_BLKID_TRUE@@HAVE_STATIC_BLKID_TRUE@am__EXEEXT_52 = blkid.static$(EXEEXT) +@BUILD_FINDFS_TRUE@am__EXEEXT_53 = findfs$(EXEEXT) +@BUILD_WIPEFS_TRUE@am__EXEEXT_54 = wipefs$(EXEEXT) +@BUILD_MINIX_TRUE@am__EXEEXT_55 = fsck.minix$(EXEEXT) \ +@BUILD_MINIX_TRUE@ mkfs.minix$(EXEEXT) +@BUILD_MKFS_TRUE@am__EXEEXT_56 = mkfs$(EXEEXT) +@BUILD_BFS_TRUE@am__EXEEXT_57 = mkfs.bfs$(EXEEXT) +@BUILD_MKSWAP_TRUE@am__EXEEXT_58 = mkswap$(EXEEXT) +@BUILD_SWAPLABEL_TRUE@am__EXEEXT_59 = swaplabel$(EXEEXT) +@BUILD_FSCK_TRUE@am__EXEEXT_60 = fsck$(EXEEXT) +@BUILD_RAW_TRUE@am__EXEEXT_61 = raw$(EXEEXT) +@BUILD_CRAMFS_TRUE@am__EXEEXT_62 = fsck.cramfs$(EXEEXT) \ +@BUILD_CRAMFS_TRUE@ mkfs.cramfs$(EXEEXT) +@BUILD_BLOCKDEV_TRUE@am__EXEEXT_63 = blockdev$(EXEEXT) +@BUILD_FDISK_TRUE@am__EXEEXT_64 = fdisk$(EXEEXT) +@BUILD_FDISK_TRUE@@HAVE_STATIC_FDISK_TRUE@am__EXEEXT_65 = fdisk.static$(EXEEXT) +@BUILD_SFDISK_TRUE@am__EXEEXT_66 = sfdisk$(EXEEXT) +@BUILD_SFDISK_TRUE@@HAVE_STATIC_SFDISK_TRUE@am__EXEEXT_67 = sfdisk.static$(EXEEXT) +@BUILD_CFDISK_TRUE@am__EXEEXT_68 = cfdisk$(EXEEXT) +@BUILD_CHRT_TRUE@am__EXEEXT_69 = chrt$(EXEEXT) +@BUILD_IONICE_TRUE@am__EXEEXT_70 = ionice$(EXEEXT) +@BUILD_TASKSET_TRUE@am__EXEEXT_71 = taskset$(EXEEXT) +@BUILD_COL_TRUE@am__EXEEXT_72 = col$(EXEEXT) +@BUILD_COLCRT_TRUE@am__EXEEXT_73 = colcrt$(EXEEXT) +@BUILD_COLRM_TRUE@am__EXEEXT_74 = colrm$(EXEEXT) +@BUILD_COLUMN_TRUE@am__EXEEXT_75 = column$(EXEEXT) +@BUILD_HEXDUMP_TRUE@am__EXEEXT_76 = hexdump$(EXEEXT) +@BUILD_REV_TRUE@am__EXEEXT_77 = rev$(EXEEXT) +@BUILD_LINE_TRUE@am__EXEEXT_78 = line$(EXEEXT) +@BUILD_PG_TRUE@am__EXEEXT_79 = pg$(EXEEXT) +@BUILD_UL_TRUE@am__EXEEXT_80 = ul$(EXEEXT) +@BUILD_SCRIPT_TRUE@am__EXEEXT_81 = script$(EXEEXT) +@BUILD_SCRIPTREPLAY_TRUE@am__EXEEXT_82 = scriptreplay$(EXEEXT) +@BUILD_SETTERM_TRUE@am__EXEEXT_83 = setterm$(EXEEXT) +@BUILD_MESG_TRUE@am__EXEEXT_84 = mesg$(EXEEXT) +@BUILD_WALL_TRUE@am__EXEEXT_85 = wall$(EXEEXT) +@BUILD_WRITE_TRUE@am__EXEEXT_86 = write$(EXEEXT) +@BUILD_LAST_TRUE@am__EXEEXT_87 = last$(EXEEXT) +@BUILD_UTMPDUMP_TRUE@am__EXEEXT_88 = utmpdump$(EXEEXT) +@BUILD_CHFN_CHSH_TRUE@am__EXEEXT_89 = chfn$(EXEEXT) chsh$(EXEEXT) +@BUILD_NEWGRP_TRUE@am__EXEEXT_90 = newgrp$(EXEEXT) +@BUILD_LSLOGINS_TRUE@am__EXEEXT_91 = lslogins$(EXEEXT) +@BUILD_LSMEM_TRUE@am__EXEEXT_92 = lsmem$(EXEEXT) +@BUILD_CHMEM_TRUE@am__EXEEXT_93 = chmem$(EXEEXT) +@BUILD_FLOCK_TRUE@am__EXEEXT_94 = flock$(EXEEXT) +@BUILD_CHOOM_TRUE@am__EXEEXT_95 = choom$(EXEEXT) +@BUILD_IPCMK_TRUE@am__EXEEXT_96 = ipcmk$(EXEEXT) +@BUILD_IPCRM_TRUE@am__EXEEXT_97 = ipcrm$(EXEEXT) +@BUILD_IPCS_TRUE@am__EXEEXT_98 = ipcs$(EXEEXT) +@BUILD_LSIPC_TRUE@am__EXEEXT_99 = lsipc$(EXEEXT) +@BUILD_RENICE_TRUE@am__EXEEXT_100 = renice$(EXEEXT) +@BUILD_SETSID_TRUE@am__EXEEXT_101 = setsid$(EXEEXT) +@BUILD_SETARCH_TRUE@am__EXEEXT_102 = setarch$(EXEEXT) +@BUILD_EJECT_TRUE@am__EXEEXT_103 = eject$(EXEEXT) +@BUILD_PRLIMIT_TRUE@am__EXEEXT_104 = prlimit$(EXEEXT) +@BUILD_LSNS_TRUE@am__EXEEXT_105 = lsns$(EXEEXT) +@BUILD_LSCPU_TRUE@am__EXEEXT_106 = lscpu$(EXEEXT) +@BUILD_FALLOCATE_TRUE@am__EXEEXT_107 = fallocate$(EXEEXT) +@BUILD_UNSHARE_TRUE@am__EXEEXT_108 = unshare$(EXEEXT) +@BUILD_UNSHARE_TRUE@@HAVE_STATIC_UNSHARE_TRUE@am__EXEEXT_109 = unshare.static$(EXEEXT) +@BUILD_NSENTER_TRUE@am__EXEEXT_110 = nsenter$(EXEEXT) +@BUILD_NSENTER_TRUE@@HAVE_STATIC_NSENTER_TRUE@am__EXEEXT_111 = nsenter.static$(EXEEXT) +@BUILD_SETPRIV_TRUE@am__EXEEXT_112 = setpriv$(EXEEXT) +@BUILD_CAL_TRUE@am__EXEEXT_113 = cal$(EXEEXT) +@BUILD_LOGGER_TRUE@am__EXEEXT_114 = logger$(EXEEXT) +@BUILD_LOOK_TRUE@am__EXEEXT_115 = look$(EXEEXT) +@BUILD_MCOOKIE_TRUE@am__EXEEXT_116 = mcookie$(EXEEXT) +@BUILD_NAMEI_TRUE@am__EXEEXT_117 = namei$(EXEEXT) +@BUILD_WHEREIS_TRUE@am__EXEEXT_118 = whereis$(EXEEXT) +@BUILD_LSLOCKS_TRUE@am__EXEEXT_119 = lslocks$(EXEEXT) +@BUILD_UUIDGEN_TRUE@am__EXEEXT_120 = uuidgen$(EXEEXT) +@BUILD_UUIDPARSE_TRUE@am__EXEEXT_121 = uuidparse$(EXEEXT) +@BUILD_RENAME_TRUE@am__EXEEXT_122 = rename$(EXEEXT) +@BUILD_GETOPT_TRUE@am__EXEEXT_123 = getopt$(EXEEXT) +@BUILD_FINCORE_TRUE@am__EXEEXT_124 = fincore$(EXEEXT) +@BUILD_ISOSIZE_TRUE@am__EXEEXT_125 = isosize$(EXEEXT) +@BUILD_VIPW_TRUE@am__EXEEXT_126 = vipw$(EXEEXT) +@BUILD_RFKILL_TRUE@am__EXEEXT_127 = rfkill$(EXEEXT) +@BUILD_READPROFILE_TRUE@am__EXEEXT_128 = readprofile$(EXEEXT) +@BUILD_TUNELP_TRUE@am__EXEEXT_129 = tunelp$(EXEEXT) +@BUILD_LDATTACH_TRUE@am__EXEEXT_130 = ldattach$(EXEEXT) +@BUILD_RTCWAKE_TRUE@am__EXEEXT_131 = rtcwake$(EXEEXT) +@BUILD_UUIDD_TRUE@am__EXEEXT_132 = uuidd$(EXEEXT) +@BUILD_FDFORMAT_TRUE@am__EXEEXT_133 = fdformat$(EXEEXT) +@BUILD_PARTX_TRUE@am__EXEEXT_134 = partx$(EXEEXT) addpart$(EXEEXT) \ +@BUILD_PARTX_TRUE@ delpart$(EXEEXT) resizepart$(EXEEXT) +PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) $(sbin_PROGRAMS) \ + $(usrbin_exec_PROGRAMS) $(usrsbin_exec_PROGRAMS) +am__addpart_SOURCES_DIST = disk-utils/addpart.c +@BUILD_PARTX_TRUE@am_addpart_OBJECTS = disk-utils/addpart.$(OBJEXT) +addpart_OBJECTS = $(am_addpart_OBJECTS) +@BUILD_PARTX_TRUE@addpart_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_PARTX_TRUE@ libcommon.la +am__agetty_SOURCES_DIST = term-utils/agetty.c +@BUILD_AGETTY_TRUE@am_agetty_OBJECTS = term-utils/agetty.$(OBJEXT) +agetty_OBJECTS = $(am_agetty_OBJECTS) +@BUILD_AGETTY_TRUE@agetty_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_AGETTY_TRUE@ libcommon.la $(am__DEPENDENCIES_1) +am__blkdiscard_SOURCES_DIST = sys-utils/blkdiscard.c lib/monotonic.c +@BUILD_BLKDISCARD_TRUE@am_blkdiscard_OBJECTS = \ +@BUILD_BLKDISCARD_TRUE@ sys-utils/blkdiscard.$(OBJEXT) \ +@BUILD_BLKDISCARD_TRUE@ lib/monotonic.$(OBJEXT) +blkdiscard_OBJECTS = $(am_blkdiscard_OBJECTS) +@BUILD_BLKDISCARD_TRUE@blkdiscard_DEPENDENCIES = \ +@BUILD_BLKDISCARD_TRUE@ $(am__DEPENDENCIES_2) libcommon.la \ +@BUILD_BLKDISCARD_TRUE@ $(am__DEPENDENCIES_1) +am__blkid_SOURCES_DIST = misc-utils/blkid.c +@BUILD_BLKID_TRUE@am_blkid_OBJECTS = misc-utils/blkid-blkid.$(OBJEXT) +blkid_OBJECTS = $(am_blkid_OBJECTS) +@BUILD_BLKID_TRUE@blkid_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_BLKID_TRUE@ libblkid.la libcommon.la +blkid_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(blkid_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__blkid_static_SOURCES_DIST = misc-utils/blkid.c +@BUILD_BLKID_TRUE@am__objects_10 = \ +@BUILD_BLKID_TRUE@ misc-utils/blkid_static-blkid.$(OBJEXT) +@BUILD_BLKID_TRUE@@HAVE_STATIC_BLKID_TRUE@am_blkid_static_OBJECTS = \ +@BUILD_BLKID_TRUE@@HAVE_STATIC_BLKID_TRUE@ $(am__objects_10) +blkid_static_OBJECTS = $(am_blkid_static_OBJECTS) +@BUILD_BLKID_TRUE@@HAVE_STATIC_BLKID_TRUE@blkid_static_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_BLKID_TRUE@@HAVE_STATIC_BLKID_TRUE@ libblkid.la +blkid_static_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(blkid_static_CFLAGS) \ + $(CFLAGS) $(blkid_static_LDFLAGS) $(LDFLAGS) -o $@ +am__blkzone_SOURCES_DIST = sys-utils/blkzone.c +@BUILD_BLKZONE_TRUE@am_blkzone_OBJECTS = sys-utils/blkzone.$(OBJEXT) +blkzone_OBJECTS = $(am_blkzone_OBJECTS) +@BUILD_BLKZONE_TRUE@blkzone_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_BLKZONE_TRUE@ libcommon.la +am__blockdev_SOURCES_DIST = disk-utils/blockdev.c +@BUILD_BLOCKDEV_TRUE@am_blockdev_OBJECTS = \ +@BUILD_BLOCKDEV_TRUE@ disk-utils/blockdev.$(OBJEXT) +blockdev_OBJECTS = $(am_blockdev_OBJECTS) +@BUILD_BLOCKDEV_TRUE@blockdev_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_BLOCKDEV_TRUE@ libcommon.la +am__cal_SOURCES_DIST = misc-utils/cal.c +@BUILD_CAL_TRUE@am_cal_OBJECTS = misc-utils/cal-cal.$(OBJEXT) +cal_OBJECTS = $(am_cal_OBJECTS) +@BUILD_CAL_TRUE@@HAVE_TINFO_TRUE@am__DEPENDENCIES_5 = \ +@BUILD_CAL_TRUE@@HAVE_TINFO_TRUE@ $(am__DEPENDENCIES_1) +@BUILD_CAL_TRUE@@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@am__DEPENDENCIES_6 = $(am__DEPENDENCIES_1) +@BUILD_CAL_TRUE@cal_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la \ +@BUILD_CAL_TRUE@ libtcolors.la $(am__DEPENDENCIES_5) \ +@BUILD_CAL_TRUE@ $(am__DEPENDENCIES_6) +cal_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(cal_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__cfdisk_SOURCES_DIST = disk-utils/cfdisk.c +@BUILD_CFDISK_TRUE@am_cfdisk_OBJECTS = \ +@BUILD_CFDISK_TRUE@ disk-utils/cfdisk-cfdisk.$(OBJEXT) +cfdisk_OBJECTS = $(am_cfdisk_OBJECTS) +@BUILD_CFDISK_TRUE@@HAVE_SLANG_FALSE@am__DEPENDENCIES_7 = \ +@BUILD_CFDISK_TRUE@@HAVE_SLANG_FALSE@ $(am__DEPENDENCIES_1) +@BUILD_CFDISK_TRUE@cfdisk_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_CFDISK_TRUE@ libsmartcols.la libcommon.la libfdisk.la \ +@BUILD_CFDISK_TRUE@ libtcolors.la $(am__append_380) \ +@BUILD_CFDISK_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_7) +cfdisk_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(cfdisk_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__chcpu_SOURCES_DIST = sys-utils/chcpu.c +@BUILD_CHCPU_TRUE@am_chcpu_OBJECTS = sys-utils/chcpu.$(OBJEXT) +chcpu_OBJECTS = $(am_chcpu_OBJECTS) +@BUILD_CHCPU_TRUE@chcpu_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_CHCPU_TRUE@ libcommon.la +am__chfn_SOURCES_DIST = login-utils/chfn.c login-utils/logindefs.c \ + login-utils/logindefs.h login-utils/ch-common.h \ + login-utils/ch-common.c login-utils/auth.c login-utils/auth.h \ + login-utils/libuser.c login-utils/libuser.h \ + login-utils/islocal.c login-utils/islocal.h \ + login-utils/setpwnam.c login-utils/setpwnam.h \ + login-utils/selinux_utils.c login-utils/selinux_utils.h +@BUILD_CHFN_CHSH_TRUE@@CHFN_CHSH_PASSWORD_TRUE@am__objects_11 = login-utils/chfn-auth.$(OBJEXT) +@BUILD_CHFN_CHSH_TRUE@@HAVE_USER_TRUE@am__objects_12 = login-utils/chfn-libuser.$(OBJEXT) +@BUILD_CHFN_CHSH_TRUE@@HAVE_USER_FALSE@am__objects_13 = login-utils/chfn-islocal.$(OBJEXT) \ +@BUILD_CHFN_CHSH_TRUE@@HAVE_USER_FALSE@ login-utils/chfn-setpwnam.$(OBJEXT) +@BUILD_CHFN_CHSH_TRUE@@HAVE_SELINUX_TRUE@am__objects_14 = login-utils/chfn-selinux_utils.$(OBJEXT) +@BUILD_CHFN_CHSH_TRUE@am__objects_15 = \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/chfn-ch-common.$(OBJEXT) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__objects_11) $(am__objects_12) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__objects_13) $(am__objects_14) +@BUILD_CHFN_CHSH_TRUE@am_chfn_OBJECTS = \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/chfn-chfn.$(OBJEXT) \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/chfn-logindefs.$(OBJEXT) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__objects_15) +chfn_OBJECTS = $(am_chfn_OBJECTS) +@BUILD_CHFN_CHSH_TRUE@am__DEPENDENCIES_8 = libcommon.la \ +@BUILD_CHFN_CHSH_TRUE@ $(am__DEPENDENCIES_1) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__DEPENDENCIES_1) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__DEPENDENCIES_1) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__DEPENDENCIES_1) +@BUILD_CHFN_CHSH_TRUE@chfn_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__DEPENDENCIES_8) +chfn_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(chfn_CFLAGS) $(CFLAGS) \ + $(chfn_LDFLAGS) $(LDFLAGS) -o $@ +am__chmem_SOURCES_DIST = sys-utils/chmem.c +@BUILD_CHMEM_TRUE@am_chmem_OBJECTS = sys-utils/chmem.$(OBJEXT) +chmem_OBJECTS = $(am_chmem_OBJECTS) +@BUILD_CHMEM_TRUE@chmem_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_CHMEM_TRUE@ libcommon.la +am__choom_SOURCES_DIST = sys-utils/choom.c +@BUILD_CHOOM_TRUE@am_choom_OBJECTS = sys-utils/choom.$(OBJEXT) +choom_OBJECTS = $(am_choom_OBJECTS) +@BUILD_CHOOM_TRUE@choom_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_CHOOM_TRUE@ libcommon.la +am__chrt_SOURCES_DIST = schedutils/chrt.c +@BUILD_CHRT_TRUE@am_chrt_OBJECTS = schedutils/chrt.$(OBJEXT) +chrt_OBJECTS = $(am_chrt_OBJECTS) +@BUILD_CHRT_TRUE@chrt_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_CHRT_TRUE@ libcommon.la +am__chsh_SOURCES_DIST = login-utils/chsh.c login-utils/ch-common.h \ + login-utils/ch-common.c login-utils/auth.c login-utils/auth.h \ + login-utils/libuser.c login-utils/libuser.h \ + login-utils/islocal.c login-utils/islocal.h \ + login-utils/setpwnam.c login-utils/setpwnam.h \ + login-utils/selinux_utils.c login-utils/selinux_utils.h +@BUILD_CHFN_CHSH_TRUE@@CHFN_CHSH_PASSWORD_TRUE@am__objects_16 = login-utils/chsh-auth.$(OBJEXT) +@BUILD_CHFN_CHSH_TRUE@@HAVE_USER_TRUE@am__objects_17 = login-utils/chsh-libuser.$(OBJEXT) +@BUILD_CHFN_CHSH_TRUE@@HAVE_USER_FALSE@am__objects_18 = login-utils/chsh-islocal.$(OBJEXT) \ +@BUILD_CHFN_CHSH_TRUE@@HAVE_USER_FALSE@ login-utils/chsh-setpwnam.$(OBJEXT) +@BUILD_CHFN_CHSH_TRUE@@HAVE_SELINUX_TRUE@am__objects_19 = login-utils/chsh-selinux_utils.$(OBJEXT) +@BUILD_CHFN_CHSH_TRUE@am__objects_20 = \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/chsh-ch-common.$(OBJEXT) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__objects_16) $(am__objects_17) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__objects_18) $(am__objects_19) +@BUILD_CHFN_CHSH_TRUE@am_chsh_OBJECTS = \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/chsh-chsh.$(OBJEXT) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__objects_20) +chsh_OBJECTS = $(am_chsh_OBJECTS) +@BUILD_CHFN_CHSH_TRUE@chsh_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__DEPENDENCIES_8) +chsh_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(chsh_CFLAGS) $(CFLAGS) \ + $(chsh_LDFLAGS) $(LDFLAGS) -o $@ +am__col_SOURCES_DIST = text-utils/col.c +@BUILD_COL_TRUE@am_col_OBJECTS = text-utils/col.$(OBJEXT) +col_OBJECTS = $(am_col_OBJECTS) +@BUILD_COL_TRUE@col_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +am__colcrt_SOURCES_DIST = text-utils/colcrt.c +@BUILD_COLCRT_TRUE@am_colcrt_OBJECTS = text-utils/colcrt.$(OBJEXT) +colcrt_OBJECTS = $(am_colcrt_OBJECTS) +colcrt_LDADD = $(LDADD) +colcrt_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__colrm_SOURCES_DIST = text-utils/colrm.c +@BUILD_COLRM_TRUE@am_colrm_OBJECTS = text-utils/colrm.$(OBJEXT) +colrm_OBJECTS = $(am_colrm_OBJECTS) +@BUILD_COLRM_TRUE@colrm_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_COLRM_TRUE@ libcommon.la +am__column_SOURCES_DIST = text-utils/column.c +@BUILD_COLUMN_TRUE@am_column_OBJECTS = \ +@BUILD_COLUMN_TRUE@ text-utils/column-column.$(OBJEXT) +column_OBJECTS = $(am_column_OBJECTS) +@BUILD_COLUMN_TRUE@column_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_COLUMN_TRUE@ libcommon.la libsmartcols.la +column_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(column_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__ctrlaltdel_SOURCES_DIST = sys-utils/ctrlaltdel.c +@BUILD_CTRLALTDEL_TRUE@am_ctrlaltdel_OBJECTS = \ +@BUILD_CTRLALTDEL_TRUE@ sys-utils/ctrlaltdel.$(OBJEXT) +ctrlaltdel_OBJECTS = $(am_ctrlaltdel_OBJECTS) +@BUILD_CTRLALTDEL_TRUE@ctrlaltdel_DEPENDENCIES = \ +@BUILD_CTRLALTDEL_TRUE@ $(am__DEPENDENCIES_2) libcommon.la +am__delpart_SOURCES_DIST = disk-utils/delpart.c +@BUILD_PARTX_TRUE@am_delpart_OBJECTS = disk-utils/delpart.$(OBJEXT) +delpart_OBJECTS = $(am_delpart_OBJECTS) +@BUILD_PARTX_TRUE@delpart_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_PARTX_TRUE@ libcommon.la +am__dmesg_SOURCES_DIST = sys-utils/dmesg.c lib/monotonic.c +@BUILD_DMESG_TRUE@am_dmesg_OBJECTS = sys-utils/dmesg-dmesg.$(OBJEXT) \ +@BUILD_DMESG_TRUE@ lib/dmesg-monotonic.$(OBJEXT) +dmesg_OBJECTS = $(am_dmesg_OBJECTS) +@BUILD_DMESG_TRUE@dmesg_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_DMESG_TRUE@ libcommon.la libtcolors.la \ +@BUILD_DMESG_TRUE@ $(am__DEPENDENCIES_1) +dmesg_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(dmesg_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__eject_SOURCES_DIST = sys-utils/eject.c lib/monotonic.c +@BUILD_EJECT_TRUE@am_eject_OBJECTS = sys-utils/eject-eject.$(OBJEXT) \ +@BUILD_EJECT_TRUE@ lib/eject-monotonic.$(OBJEXT) +eject_OBJECTS = $(am_eject_OBJECTS) +@BUILD_EJECT_TRUE@eject_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_EJECT_TRUE@ libmount.la libcommon.la \ +@BUILD_EJECT_TRUE@ $(am__DEPENDENCIES_1) +eject_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(eject_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__fallocate_SOURCES_DIST = sys-utils/fallocate.c +@BUILD_FALLOCATE_TRUE@am_fallocate_OBJECTS = \ +@BUILD_FALLOCATE_TRUE@ sys-utils/fallocate.$(OBJEXT) +fallocate_OBJECTS = $(am_fallocate_OBJECTS) +@BUILD_FALLOCATE_TRUE@fallocate_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_FALLOCATE_TRUE@ libcommon.la +am__fdformat_SOURCES_DIST = disk-utils/fdformat.c +@BUILD_FDFORMAT_TRUE@am_fdformat_OBJECTS = \ +@BUILD_FDFORMAT_TRUE@ disk-utils/fdformat.$(OBJEXT) +fdformat_OBJECTS = $(am_fdformat_OBJECTS) +@BUILD_FDFORMAT_TRUE@fdformat_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_FDFORMAT_TRUE@ libcommon.la +am__fdisk_SOURCES_DIST = disk-utils/fdisk.c disk-utils/fdisk.h \ + disk-utils/fdisk-menu.c disk-utils/fdisk-list.c \ + disk-utils/fdisk-list.h +@BUILD_FDISK_TRUE@am_fdisk_OBJECTS = disk-utils/fdisk-fdisk.$(OBJEXT) \ +@BUILD_FDISK_TRUE@ disk-utils/fdisk-fdisk-menu.$(OBJEXT) \ +@BUILD_FDISK_TRUE@ disk-utils/fdisk-fdisk-list.$(OBJEXT) +fdisk_OBJECTS = $(am_fdisk_OBJECTS) +@BUILD_FDISK_TRUE@fdisk_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_FDISK_TRUE@ libcommon.la libfdisk.la libsmartcols.la \ +@BUILD_FDISK_TRUE@ libtcolors.la $(am__DEPENDENCIES_1) +fdisk_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(fdisk_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__fdisk_static_SOURCES_DIST = disk-utils/fdisk.c disk-utils/fdisk.h \ + disk-utils/fdisk-menu.c disk-utils/fdisk-list.c \ + disk-utils/fdisk-list.h +@BUILD_FDISK_TRUE@am__objects_21 = \ +@BUILD_FDISK_TRUE@ disk-utils/fdisk_static-fdisk.$(OBJEXT) \ +@BUILD_FDISK_TRUE@ disk-utils/fdisk_static-fdisk-menu.$(OBJEXT) \ +@BUILD_FDISK_TRUE@ disk-utils/fdisk_static-fdisk-list.$(OBJEXT) +@BUILD_FDISK_TRUE@@HAVE_STATIC_FDISK_TRUE@am_fdisk_static_OBJECTS = \ +@BUILD_FDISK_TRUE@@HAVE_STATIC_FDISK_TRUE@ $(am__objects_21) +fdisk_static_OBJECTS = $(am_fdisk_static_OBJECTS) +@BUILD_FDISK_TRUE@am__DEPENDENCIES_9 = $(am__DEPENDENCIES_2) \ +@BUILD_FDISK_TRUE@ libcommon.la libfdisk.la libsmartcols.la \ +@BUILD_FDISK_TRUE@ libtcolors.la $(am__DEPENDENCIES_1) +@BUILD_FDISK_TRUE@@HAVE_STATIC_FDISK_TRUE@fdisk_static_DEPENDENCIES = $(am__DEPENDENCIES_9) \ +@BUILD_FDISK_TRUE@@HAVE_STATIC_FDISK_TRUE@ $(am__DEPENDENCIES_1) +fdisk_static_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(fdisk_static_CFLAGS) \ + $(CFLAGS) $(fdisk_static_LDFLAGS) $(LDFLAGS) -o $@ +am__fincore_SOURCES_DIST = misc-utils/fincore.c +@BUILD_FINCORE_TRUE@am_fincore_OBJECTS = \ +@BUILD_FINCORE_TRUE@ misc-utils/fincore-fincore.$(OBJEXT) +fincore_OBJECTS = $(am_fincore_OBJECTS) +@BUILD_FINCORE_TRUE@fincore_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_FINCORE_TRUE@ libsmartcols.la libcommon.la +fincore_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(fincore_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__findfs_SOURCES_DIST = misc-utils/findfs.c +@BUILD_FINDFS_TRUE@am_findfs_OBJECTS = \ +@BUILD_FINDFS_TRUE@ misc-utils/findfs-findfs.$(OBJEXT) +findfs_OBJECTS = $(am_findfs_OBJECTS) +@BUILD_FINDFS_TRUE@findfs_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_FINDFS_TRUE@ libblkid.la +findfs_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(findfs_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__findmnt_SOURCES_DIST = misc-utils/findmnt.c \ + misc-utils/findmnt-verify.c misc-utils/findmnt.h +@BUILD_FINDMNT_TRUE@am_findmnt_OBJECTS = \ +@BUILD_FINDMNT_TRUE@ misc-utils/findmnt-findmnt.$(OBJEXT) \ +@BUILD_FINDMNT_TRUE@ misc-utils/findmnt-findmnt-verify.$(OBJEXT) +findmnt_OBJECTS = $(am_findmnt_OBJECTS) +@BUILD_FINDMNT_TRUE@findmnt_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_FINDMNT_TRUE@ libmount.la libcommon.la libsmartcols.la \ +@BUILD_FINDMNT_TRUE@ libblkid.la $(am__DEPENDENCIES_1) +findmnt_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(findmnt_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__flock_SOURCES_DIST = sys-utils/flock.c lib/monotonic.c lib/timer.c +@BUILD_FLOCK_TRUE@am_flock_OBJECTS = sys-utils/flock.$(OBJEXT) \ +@BUILD_FLOCK_TRUE@ lib/monotonic.$(OBJEXT) lib/timer.$(OBJEXT) +flock_OBJECTS = $(am_flock_OBJECTS) +@BUILD_FLOCK_TRUE@flock_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_FLOCK_TRUE@ libcommon.la $(am__DEPENDENCIES_1) +am__fsck_SOURCES_DIST = disk-utils/fsck.c lib/monotonic.c +@BUILD_FSCK_TRUE@am_fsck_OBJECTS = disk-utils/fsck-fsck.$(OBJEXT) \ +@BUILD_FSCK_TRUE@ lib/fsck-monotonic.$(OBJEXT) +fsck_OBJECTS = $(am_fsck_OBJECTS) +@BUILD_FSCK_TRUE@fsck_DEPENDENCIES = $(am__DEPENDENCIES_2) libmount.la \ +@BUILD_FSCK_TRUE@ libblkid.la libcommon.la \ +@BUILD_FSCK_TRUE@ $(am__DEPENDENCIES_1) +fsck_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(fsck_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__fsck_cramfs_SOURCES_DIST = disk-utils/fsck.cramfs.c \ + disk-utils/cramfs.h disk-utils/cramfs_common.c +@BUILD_CRAMFS_TRUE@am__objects_22 = \ +@BUILD_CRAMFS_TRUE@ disk-utils/cramfs_common.$(OBJEXT) +@BUILD_CRAMFS_TRUE@am_fsck_cramfs_OBJECTS = \ +@BUILD_CRAMFS_TRUE@ disk-utils/fsck.cramfs.$(OBJEXT) \ +@BUILD_CRAMFS_TRUE@ $(am__objects_22) +fsck_cramfs_OBJECTS = $(am_fsck_cramfs_OBJECTS) +@BUILD_CRAMFS_TRUE@fsck_cramfs_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_CRAMFS_TRUE@ libcommon.la +am__fsck_minix_SOURCES_DIST = disk-utils/fsck.minix.c \ + disk-utils/minix_programs.h +@BUILD_MINIX_TRUE@am_fsck_minix_OBJECTS = \ +@BUILD_MINIX_TRUE@ disk-utils/fsck.minix.$(OBJEXT) +fsck_minix_OBJECTS = $(am_fsck_minix_OBJECTS) +@BUILD_MINIX_TRUE@fsck_minix_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_MINIX_TRUE@ libcommon.la +am__fsfreeze_SOURCES_DIST = sys-utils/fsfreeze.c +@BUILD_FSFREEZE_TRUE@am_fsfreeze_OBJECTS = \ +@BUILD_FSFREEZE_TRUE@ sys-utils/fsfreeze.$(OBJEXT) +fsfreeze_OBJECTS = $(am_fsfreeze_OBJECTS) +fsfreeze_LDADD = $(LDADD) +fsfreeze_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__fstrim_SOURCES_DIST = sys-utils/fstrim.c +@BUILD_FSTRIM_TRUE@am_fstrim_OBJECTS = \ +@BUILD_FSTRIM_TRUE@ sys-utils/fstrim-fstrim.$(OBJEXT) +fstrim_OBJECTS = $(am_fstrim_OBJECTS) +@BUILD_FSTRIM_TRUE@fstrim_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_FSTRIM_TRUE@ libcommon.la libmount.la +fstrim_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(fstrim_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__getopt_SOURCES_DIST = misc-utils/getopt.c +@BUILD_GETOPT_TRUE@am_getopt_OBJECTS = misc-utils/getopt.$(OBJEXT) +getopt_OBJECTS = $(am_getopt_OBJECTS) +getopt_LDADD = $(LDADD) +getopt_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__hexdump_SOURCES_DIST = text-utils/hexdump-conv.c \ + text-utils/hexdump-display.c text-utils/hexdump.c \ + text-utils/hexdump.h text-utils/hexdump-parse.c +@BUILD_HEXDUMP_TRUE@am_hexdump_OBJECTS = \ +@BUILD_HEXDUMP_TRUE@ text-utils/hexdump-conv.$(OBJEXT) \ +@BUILD_HEXDUMP_TRUE@ text-utils/hexdump-display.$(OBJEXT) \ +@BUILD_HEXDUMP_TRUE@ text-utils/hexdump.$(OBJEXT) \ +@BUILD_HEXDUMP_TRUE@ text-utils/hexdump-parse.$(OBJEXT) +hexdump_OBJECTS = $(am_hexdump_OBJECTS) +@BUILD_HEXDUMP_TRUE@hexdump_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_HEXDUMP_TRUE@ libcommon.la libtcolors.la +am__hwclock_SOURCES_DIST = sys-utils/hwclock.c sys-utils/hwclock.h \ + sys-utils/hwclock-cmos.c sys-utils/hwclock-rtc.c +@BUILD_HWCLOCK_TRUE@@LINUX_TRUE@am__objects_23 = sys-utils/hwclock-rtc.$(OBJEXT) +@BUILD_HWCLOCK_TRUE@am_hwclock_OBJECTS = sys-utils/hwclock.$(OBJEXT) \ +@BUILD_HWCLOCK_TRUE@ sys-utils/hwclock-cmos.$(OBJEXT) \ +@BUILD_HWCLOCK_TRUE@ $(am__objects_23) +hwclock_OBJECTS = $(am_hwclock_OBJECTS) +@BUILD_HWCLOCK_TRUE@hwclock_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_HWCLOCK_TRUE@ libcommon.la $(am__DEPENDENCIES_1) +am__ionice_SOURCES_DIST = schedutils/ionice.c +@BUILD_IONICE_TRUE@am_ionice_OBJECTS = schedutils/ionice.$(OBJEXT) +ionice_OBJECTS = $(am_ionice_OBJECTS) +@BUILD_IONICE_TRUE@ionice_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_IONICE_TRUE@ libcommon.la +am__ipcmk_SOURCES_DIST = sys-utils/ipcmk.c +@BUILD_IPCMK_TRUE@am_ipcmk_OBJECTS = sys-utils/ipcmk.$(OBJEXT) +ipcmk_OBJECTS = $(am_ipcmk_OBJECTS) +@BUILD_IPCMK_TRUE@ipcmk_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_IPCMK_TRUE@ libcommon.la +am__ipcrm_SOURCES_DIST = sys-utils/ipcrm.c +@BUILD_IPCRM_TRUE@am_ipcrm_OBJECTS = sys-utils/ipcrm.$(OBJEXT) +ipcrm_OBJECTS = $(am_ipcrm_OBJECTS) +@BUILD_IPCRM_TRUE@ipcrm_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_IPCRM_TRUE@ libcommon.la +am__ipcs_SOURCES_DIST = sys-utils/ipcs.c sys-utils/ipcutils.c \ + sys-utils/ipcutils.h +@BUILD_IPCS_TRUE@am_ipcs_OBJECTS = sys-utils/ipcs.$(OBJEXT) \ +@BUILD_IPCS_TRUE@ sys-utils/ipcutils.$(OBJEXT) +ipcs_OBJECTS = $(am_ipcs_OBJECTS) +@BUILD_IPCS_TRUE@ipcs_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_IPCS_TRUE@ libcommon.la +am__isosize_SOURCES_DIST = disk-utils/isosize.c +@BUILD_ISOSIZE_TRUE@am_isosize_OBJECTS = disk-utils/isosize.$(OBJEXT) +isosize_OBJECTS = $(am_isosize_OBJECTS) +@BUILD_ISOSIZE_TRUE@isosize_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_ISOSIZE_TRUE@ libcommon.la +am__kill_SOURCES_DIST = misc-utils/kill.c +@BUILD_KILL_TRUE@am_kill_OBJECTS = misc-utils/kill.$(OBJEXT) +kill_OBJECTS = $(am_kill_OBJECTS) +@BUILD_KILL_TRUE@kill_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_KILL_TRUE@ libcommon.la +am__last_SOURCES_DIST = login-utils/last.c lib/monotonic.c +@BUILD_LAST_TRUE@am_last_OBJECTS = login-utils/last.$(OBJEXT) \ +@BUILD_LAST_TRUE@ lib/monotonic.$(OBJEXT) +last_OBJECTS = $(am_last_OBJECTS) +@BUILD_LAST_TRUE@last_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LAST_TRUE@ libcommon.la $(am__DEPENDENCIES_1) +am__ldattach_SOURCES_DIST = sys-utils/ldattach.c +@BUILD_LDATTACH_TRUE@am_ldattach_OBJECTS = \ +@BUILD_LDATTACH_TRUE@ sys-utils/ldattach.$(OBJEXT) +ldattach_OBJECTS = $(am_ldattach_OBJECTS) +@BUILD_LDATTACH_TRUE@ldattach_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LDATTACH_TRUE@ libcommon.la +am__line_SOURCES_DIST = text-utils/line.c +@BUILD_LINE_TRUE@am_line_OBJECTS = text-utils/line.$(OBJEXT) +line_OBJECTS = $(am_line_OBJECTS) +line_LDADD = $(LDADD) +line_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__logger_SOURCES_DIST = misc-utils/logger.c lib/strutils.c \ + lib/strv.c +@BUILD_LOGGER_TRUE@am_logger_OBJECTS = \ +@BUILD_LOGGER_TRUE@ misc-utils/logger-logger.$(OBJEXT) \ +@BUILD_LOGGER_TRUE@ lib/logger-strutils.$(OBJEXT) \ +@BUILD_LOGGER_TRUE@ lib/logger-strv.$(OBJEXT) +logger_OBJECTS = $(am_logger_OBJECTS) +@BUILD_LOGGER_TRUE@@HAVE_SYSTEMD_TRUE@am__DEPENDENCIES_10 = \ +@BUILD_LOGGER_TRUE@@HAVE_SYSTEMD_TRUE@ $(am__DEPENDENCIES_1) \ +@BUILD_LOGGER_TRUE@@HAVE_SYSTEMD_TRUE@ $(am__DEPENDENCIES_1) \ +@BUILD_LOGGER_TRUE@@HAVE_SYSTEMD_TRUE@ $(am__DEPENDENCIES_1) +@BUILD_LOGGER_TRUE@logger_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LOGGER_TRUE@ $(am__DEPENDENCIES_10) +logger_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(logger_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__login_SOURCES_DIST = login-utils/login.c login-utils/logindefs.c \ + login-utils/logindefs.h +@BUILD_LOGIN_TRUE@am_login_OBJECTS = login-utils/login.$(OBJEXT) \ +@BUILD_LOGIN_TRUE@ login-utils/logindefs.$(OBJEXT) +login_OBJECTS = $(am_login_OBJECTS) +@BUILD_LOGIN_TRUE@login_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LOGIN_TRUE@ libcommon.la $(am__DEPENDENCIES_1) \ +@BUILD_LOGIN_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +am__look_SOURCES_DIST = misc-utils/look.c +@BUILD_LOOK_TRUE@am_look_OBJECTS = misc-utils/look.$(OBJEXT) +look_OBJECTS = $(am_look_OBJECTS) +look_LDADD = $(LDADD) +look_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__losetup_SOURCES_DIST = sys-utils/losetup.c +@BUILD_LOSETUP_TRUE@am_losetup_OBJECTS = \ +@BUILD_LOSETUP_TRUE@ sys-utils/losetup-losetup.$(OBJEXT) +losetup_OBJECTS = $(am_losetup_OBJECTS) +@BUILD_LOSETUP_TRUE@losetup_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LOSETUP_TRUE@ libcommon.la libsmartcols.la +losetup_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(losetup_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__losetup_static_SOURCES_DIST = sys-utils/losetup.c +@BUILD_LOSETUP_TRUE@am__objects_24 = sys-utils/losetup_static-losetup.$(OBJEXT) +@BUILD_LOSETUP_TRUE@@HAVE_STATIC_LOSETUP_TRUE@am_losetup_static_OBJECTS = $(am__objects_24) +losetup_static_OBJECTS = $(am_losetup_static_OBJECTS) +@BUILD_LOSETUP_TRUE@am__DEPENDENCIES_11 = $(am__DEPENDENCIES_2) \ +@BUILD_LOSETUP_TRUE@ libcommon.la libsmartcols.la +@BUILD_LOSETUP_TRUE@@HAVE_STATIC_LOSETUP_TRUE@losetup_static_DEPENDENCIES = $(am__DEPENDENCIES_11) +losetup_static_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(losetup_static_CFLAGS) $(CFLAGS) $(losetup_static_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__lsblk_SOURCES_DIST = misc-utils/lsblk.c misc-utils/lsblk-mnt.c \ + misc-utils/lsblk-properties.c misc-utils/lsblk.h +@BUILD_LSBLK_TRUE@am_lsblk_OBJECTS = misc-utils/lsblk-lsblk.$(OBJEXT) \ +@BUILD_LSBLK_TRUE@ misc-utils/lsblk-lsblk-mnt.$(OBJEXT) \ +@BUILD_LSBLK_TRUE@ misc-utils/lsblk-lsblk-properties.$(OBJEXT) +lsblk_OBJECTS = $(am_lsblk_OBJECTS) +@BUILD_LSBLK_TRUE@lsblk_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LSBLK_TRUE@ libblkid.la libmount.la libcommon.la \ +@BUILD_LSBLK_TRUE@ libsmartcols.la $(am__DEPENDENCIES_1) +lsblk_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(lsblk_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__lscpu_SOURCES_DIST = sys-utils/lscpu.c sys-utils/lscpu.h \ + sys-utils/lscpu-arm.c sys-utils/lscpu-dmi.c +@BUILD_LSCPU_TRUE@am_lscpu_OBJECTS = sys-utils/lscpu-lscpu.$(OBJEXT) \ +@BUILD_LSCPU_TRUE@ sys-utils/lscpu-lscpu-arm.$(OBJEXT) \ +@BUILD_LSCPU_TRUE@ sys-utils/lscpu-lscpu-dmi.$(OBJEXT) +lscpu_OBJECTS = $(am_lscpu_OBJECTS) +@BUILD_LSCPU_TRUE@lscpu_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LSCPU_TRUE@ libcommon.la libsmartcols.la \ +@BUILD_LSCPU_TRUE@ $(am__DEPENDENCIES_1) +lscpu_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(lscpu_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__lsipc_SOURCES_DIST = sys-utils/lsipc.c sys-utils/ipcutils.c \ + sys-utils/ipcutils.h +@BUILD_LSIPC_TRUE@am_lsipc_OBJECTS = sys-utils/lsipc-lsipc.$(OBJEXT) \ +@BUILD_LSIPC_TRUE@ sys-utils/lsipc-ipcutils.$(OBJEXT) +lsipc_OBJECTS = $(am_lsipc_OBJECTS) +@BUILD_LSIPC_TRUE@lsipc_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LSIPC_TRUE@ libcommon.la libsmartcols.la +lsipc_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(lsipc_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__lslocks_SOURCES_DIST = misc-utils/lslocks.c +@BUILD_LSLOCKS_TRUE@am_lslocks_OBJECTS = \ +@BUILD_LSLOCKS_TRUE@ misc-utils/lslocks-lslocks.$(OBJEXT) +lslocks_OBJECTS = $(am_lslocks_OBJECTS) +@BUILD_LSLOCKS_TRUE@lslocks_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LSLOCKS_TRUE@ libcommon.la libmount.la libsmartcols.la +lslocks_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(lslocks_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__lslogins_SOURCES_DIST = login-utils/lslogins.c \ + login-utils/logindefs.c login-utils/logindefs.h +@BUILD_LSLOGINS_TRUE@am_lslogins_OBJECTS = \ +@BUILD_LSLOGINS_TRUE@ login-utils/lslogins-lslogins.$(OBJEXT) \ +@BUILD_LSLOGINS_TRUE@ login-utils/lslogins-logindefs.$(OBJEXT) +lslogins_OBJECTS = $(am_lslogins_OBJECTS) +@BUILD_LSLOGINS_TRUE@@HAVE_SYSTEMD_TRUE@am__DEPENDENCIES_12 = \ +@BUILD_LSLOGINS_TRUE@@HAVE_SYSTEMD_TRUE@ $(am__DEPENDENCIES_1) \ +@BUILD_LSLOGINS_TRUE@@HAVE_SYSTEMD_TRUE@ $(am__DEPENDENCIES_1) +@BUILD_LSLOGINS_TRUE@lslogins_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LSLOGINS_TRUE@ libcommon.la libsmartcols.la \ +@BUILD_LSLOGINS_TRUE@ $(am__DEPENDENCIES_1) \ +@BUILD_LSLOGINS_TRUE@ $(am__DEPENDENCIES_12) +lslogins_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(lslogins_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__lsmem_SOURCES_DIST = sys-utils/lsmem.c +@BUILD_LSMEM_TRUE@am_lsmem_OBJECTS = sys-utils/lsmem-lsmem.$(OBJEXT) +lsmem_OBJECTS = $(am_lsmem_OBJECTS) +@BUILD_LSMEM_TRUE@lsmem_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LSMEM_TRUE@ libcommon.la libsmartcols.la +lsmem_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(lsmem_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__lsns_SOURCES_DIST = sys-utils/lsns.c +@BUILD_LSNS_TRUE@am_lsns_OBJECTS = sys-utils/lsns-lsns.$(OBJEXT) +lsns_OBJECTS = $(am_lsns_OBJECTS) +@BUILD_LSNS_TRUE@lsns_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LSNS_TRUE@ libcommon.la libsmartcols.la libmount.la +lsns_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(lsns_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__mcookie_SOURCES_DIST = misc-utils/mcookie.c lib/md5.c +@BUILD_MCOOKIE_TRUE@am_mcookie_OBJECTS = misc-utils/mcookie.$(OBJEXT) \ +@BUILD_MCOOKIE_TRUE@ lib/md5.$(OBJEXT) +mcookie_OBJECTS = $(am_mcookie_OBJECTS) +@BUILD_MCOOKIE_TRUE@mcookie_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_MCOOKIE_TRUE@ libcommon.la +am__mesg_SOURCES_DIST = term-utils/mesg.c +@BUILD_MESG_TRUE@am_mesg_OBJECTS = term-utils/mesg.$(OBJEXT) +mesg_OBJECTS = $(am_mesg_OBJECTS) +mesg_LDADD = $(LDADD) +mesg_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__mkfs_SOURCES_DIST = disk-utils/mkfs.c +@BUILD_MKFS_TRUE@am_mkfs_OBJECTS = disk-utils/mkfs.$(OBJEXT) +mkfs_OBJECTS = $(am_mkfs_OBJECTS) +mkfs_LDADD = $(LDADD) +mkfs_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__mkfs_bfs_SOURCES_DIST = disk-utils/mkfs.bfs.c +@BUILD_BFS_TRUE@am_mkfs_bfs_OBJECTS = disk-utils/mkfs.bfs.$(OBJEXT) +mkfs_bfs_OBJECTS = $(am_mkfs_bfs_OBJECTS) +@BUILD_BFS_TRUE@mkfs_bfs_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_BFS_TRUE@ libcommon.la +am__mkfs_cramfs_SOURCES_DIST = disk-utils/mkfs.cramfs.c \ + disk-utils/cramfs.h disk-utils/cramfs_common.c +@BUILD_CRAMFS_TRUE@am_mkfs_cramfs_OBJECTS = \ +@BUILD_CRAMFS_TRUE@ disk-utils/mkfs.cramfs.$(OBJEXT) \ +@BUILD_CRAMFS_TRUE@ $(am__objects_22) +mkfs_cramfs_OBJECTS = $(am_mkfs_cramfs_OBJECTS) +@BUILD_CRAMFS_TRUE@mkfs_cramfs_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_CRAMFS_TRUE@ libcommon.la +am__mkfs_minix_SOURCES_DIST = disk-utils/minix_programs.h \ + disk-utils/mkfs.minix.c +@BUILD_MINIX_TRUE@am_mkfs_minix_OBJECTS = \ +@BUILD_MINIX_TRUE@ disk-utils/mkfs.minix.$(OBJEXT) +mkfs_minix_OBJECTS = $(am_mkfs_minix_OBJECTS) +@BUILD_MINIX_TRUE@mkfs_minix_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_MINIX_TRUE@ libcommon.la +am__mkswap_SOURCES_DIST = disk-utils/mkswap.c +@BUILD_MKSWAP_TRUE@am_mkswap_OBJECTS = \ +@BUILD_MKSWAP_TRUE@ disk-utils/mkswap-mkswap.$(OBJEXT) +mkswap_OBJECTS = $(am_mkswap_OBJECTS) +@BUILD_MKSWAP_TRUE@mkswap_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_MKSWAP_TRUE@ libcommon.la $(am__append_353) \ +@BUILD_MKSWAP_TRUE@ $(am__append_355) $(am__DEPENDENCIES_1) +mkswap_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(mkswap_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__more_SOURCES_DIST = text-utils/more.c +@BUILD_MORE_TRUE@am_more_OBJECTS = text-utils/more-more.$(OBJEXT) +more_OBJECTS = $(am_more_OBJECTS) +@BUILD_MORE_TRUE@@HAVE_TINFO_TRUE@am__DEPENDENCIES_13 = \ +@BUILD_MORE_TRUE@@HAVE_TINFO_TRUE@ $(am__DEPENDENCIES_1) \ +@BUILD_MORE_TRUE@@HAVE_TINFO_TRUE@ $(am__DEPENDENCIES_1) +@BUILD_MORE_TRUE@@HAVE_TINFO_FALSE@am__DEPENDENCIES_14 = \ +@BUILD_MORE_TRUE@@HAVE_TINFO_FALSE@ $(am__DEPENDENCIES_1) +@BUILD_MORE_TRUE@more_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_MORE_TRUE@ $(am__DEPENDENCIES_13) $(am__DEPENDENCIES_14) +more_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(more_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__mount_SOURCES_DIST = sys-utils/mount.c +@BUILD_MOUNT_TRUE@am_mount_OBJECTS = sys-utils/mount-mount.$(OBJEXT) +mount_OBJECTS = $(am_mount_OBJECTS) +@BUILD_MOUNT_TRUE@mount_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_MOUNT_TRUE@ libcommon.la libmount.la \ +@BUILD_MOUNT_TRUE@ $(am__DEPENDENCIES_1) +mount_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(mount_CFLAGS) $(CFLAGS) \ + $(mount_LDFLAGS) $(LDFLAGS) -o $@ +am__mount_static_SOURCES_DIST = sys-utils/mount.c +@BUILD_MOUNT_TRUE@am__objects_25 = \ +@BUILD_MOUNT_TRUE@ sys-utils/mount_static-mount.$(OBJEXT) +@BUILD_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@am_mount_static_OBJECTS = \ +@BUILD_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@ $(am__objects_25) +mount_static_OBJECTS = $(am_mount_static_OBJECTS) +@BUILD_MOUNT_TRUE@am__DEPENDENCIES_15 = $(am__DEPENDENCIES_2) \ +@BUILD_MOUNT_TRUE@ libcommon.la libmount.la \ +@BUILD_MOUNT_TRUE@ $(am__DEPENDENCIES_1) +@BUILD_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@mount_static_DEPENDENCIES = $(am__DEPENDENCIES_15) \ +@BUILD_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@ $(am__DEPENDENCIES_1) +mount_static_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(mount_static_CFLAGS) \ + $(CFLAGS) $(mount_static_LDFLAGS) $(LDFLAGS) -o $@ +am__mountpoint_SOURCES_DIST = sys-utils/mountpoint.c +@BUILD_MOUNTPOINT_TRUE@am_mountpoint_OBJECTS = sys-utils/mountpoint-mountpoint.$(OBJEXT) +mountpoint_OBJECTS = $(am_mountpoint_OBJECTS) +@BUILD_MOUNTPOINT_TRUE@mountpoint_DEPENDENCIES = \ +@BUILD_MOUNTPOINT_TRUE@ $(am__DEPENDENCIES_2) libmount.la +mountpoint_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(mountpoint_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__namei_SOURCES_DIST = misc-utils/namei.c lib/strutils.c \ + lib/idcache.c +@BUILD_NAMEI_TRUE@am_namei_OBJECTS = misc-utils/namei.$(OBJEXT) \ +@BUILD_NAMEI_TRUE@ lib/strutils.$(OBJEXT) lib/idcache.$(OBJEXT) +namei_OBJECTS = $(am_namei_OBJECTS) +namei_LDADD = $(LDADD) +namei_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__newgrp_SOURCES_DIST = login-utils/newgrp.c +@BUILD_NEWGRP_TRUE@am_newgrp_OBJECTS = \ +@BUILD_NEWGRP_TRUE@ login-utils/newgrp-newgrp.$(OBJEXT) +newgrp_OBJECTS = $(am_newgrp_OBJECTS) +@BUILD_NEWGRP_TRUE@newgrp_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_NEWGRP_TRUE@ $(am__DEPENDENCIES_1) +newgrp_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(newgrp_CFLAGS) $(CFLAGS) \ + $(newgrp_LDFLAGS) $(LDFLAGS) -o $@ +am__nologin_SOURCES_DIST = login-utils/nologin.c +@BUILD_NOLOGIN_TRUE@am_nologin_OBJECTS = \ +@BUILD_NOLOGIN_TRUE@ login-utils/nologin.$(OBJEXT) +nologin_OBJECTS = $(am_nologin_OBJECTS) +nologin_LDADD = $(LDADD) +nologin_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__nsenter_SOURCES_DIST = sys-utils/nsenter.c +@BUILD_NSENTER_TRUE@am_nsenter_OBJECTS = sys-utils/nsenter.$(OBJEXT) +nsenter_OBJECTS = $(am_nsenter_OBJECTS) +@BUILD_NSENTER_TRUE@nsenter_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_NSENTER_TRUE@ libcommon.la $(am__DEPENDENCIES_1) +am__nsenter_static_SOURCES_DIST = sys-utils/nsenter.c +@BUILD_NSENTER_TRUE@am__objects_26 = sys-utils/nsenter.$(OBJEXT) +@BUILD_NSENTER_TRUE@@HAVE_STATIC_NSENTER_TRUE@am_nsenter_static_OBJECTS = $(am__objects_26) +nsenter_static_OBJECTS = $(am_nsenter_static_OBJECTS) +@BUILD_NSENTER_TRUE@am__DEPENDENCIES_16 = $(am__DEPENDENCIES_2) \ +@BUILD_NSENTER_TRUE@ libcommon.la $(am__DEPENDENCIES_1) +@BUILD_NSENTER_TRUE@@HAVE_STATIC_NSENTER_TRUE@nsenter_static_DEPENDENCIES = $(am__DEPENDENCIES_16) +nsenter_static_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(nsenter_static_LDFLAGS) $(LDFLAGS) -o \ + $@ +am__partx_SOURCES_DIST = disk-utils/partx.c +@BUILD_PARTX_TRUE@am_partx_OBJECTS = disk-utils/partx-partx.$(OBJEXT) +partx_OBJECTS = $(am_partx_OBJECTS) +@BUILD_PARTX_TRUE@partx_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_PARTX_TRUE@ libblkid.la libcommon.la libsmartcols.la +partx_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(partx_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__pg_SOURCES_DIST = text-utils/pg.c +@BUILD_PG_TRUE@am_pg_OBJECTS = text-utils/pg-pg.$(OBJEXT) +pg_OBJECTS = $(am_pg_OBJECTS) +@BUILD_PG_TRUE@pg_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la \ +@BUILD_PG_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +pg_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(pg_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__pivot_root_SOURCES_DIST = sys-utils/pivot_root.c +@BUILD_PIVOT_ROOT_TRUE@am_pivot_root_OBJECTS = \ +@BUILD_PIVOT_ROOT_TRUE@ sys-utils/pivot_root.$(OBJEXT) +pivot_root_OBJECTS = $(am_pivot_root_OBJECTS) +pivot_root_LDADD = $(LDADD) +pivot_root_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__prlimit_SOURCES_DIST = sys-utils/prlimit.c +@BUILD_PRLIMIT_TRUE@am_prlimit_OBJECTS = \ +@BUILD_PRLIMIT_TRUE@ sys-utils/prlimit-prlimit.$(OBJEXT) +prlimit_OBJECTS = $(am_prlimit_OBJECTS) +@BUILD_PRLIMIT_TRUE@prlimit_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_PRLIMIT_TRUE@ libcommon.la libsmartcols.la +prlimit_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(prlimit_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__raw_SOURCES_DIST = disk-utils/raw.c +@BUILD_RAW_TRUE@am_raw_OBJECTS = disk-utils/raw.$(OBJEXT) +raw_OBJECTS = $(am_raw_OBJECTS) +raw_LDADD = $(LDADD) +raw_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__readprofile_SOURCES_DIST = sys-utils/readprofile.c +@BUILD_READPROFILE_TRUE@am_readprofile_OBJECTS = \ +@BUILD_READPROFILE_TRUE@ sys-utils/readprofile.$(OBJEXT) +readprofile_OBJECTS = $(am_readprofile_OBJECTS) +readprofile_LDADD = $(LDADD) +readprofile_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__rename_SOURCES_DIST = misc-utils/rename.c +@BUILD_RENAME_TRUE@am_rename_OBJECTS = misc-utils/rename.$(OBJEXT) +rename_OBJECTS = $(am_rename_OBJECTS) +rename_LDADD = $(LDADD) +rename_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__renice_SOURCES_DIST = sys-utils/renice.c +@BUILD_RENICE_TRUE@am_renice_OBJECTS = sys-utils/renice.$(OBJEXT) +renice_OBJECTS = $(am_renice_OBJECTS) +renice_LDADD = $(LDADD) +renice_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__resizepart_SOURCES_DIST = disk-utils/resizepart.c +@BUILD_PARTX_TRUE@am_resizepart_OBJECTS = \ +@BUILD_PARTX_TRUE@ disk-utils/resizepart.$(OBJEXT) +resizepart_OBJECTS = $(am_resizepart_OBJECTS) +@BUILD_PARTX_TRUE@resizepart_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_PARTX_TRUE@ libcommon.la +am__rev_SOURCES_DIST = text-utils/rev.c +@BUILD_REV_TRUE@am_rev_OBJECTS = text-utils/rev.$(OBJEXT) +rev_OBJECTS = $(am_rev_OBJECTS) +rev_LDADD = $(LDADD) +rev_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__rfkill_SOURCES_DIST = sys-utils/rfkill.c +@BUILD_RFKILL_TRUE@am_rfkill_OBJECTS = \ +@BUILD_RFKILL_TRUE@ sys-utils/rfkill-rfkill.$(OBJEXT) +rfkill_OBJECTS = $(am_rfkill_OBJECTS) +@BUILD_RFKILL_TRUE@rfkill_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_RFKILL_TRUE@ libcommon.la libsmartcols.la +rfkill_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(rfkill_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__rtcwake_SOURCES_DIST = sys-utils/rtcwake.c +@BUILD_RTCWAKE_TRUE@am_rtcwake_OBJECTS = sys-utils/rtcwake.$(OBJEXT) +rtcwake_OBJECTS = $(am_rtcwake_OBJECTS) +@BUILD_RTCWAKE_TRUE@rtcwake_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_RTCWAKE_TRUE@ libcommon.la +am__runuser_SOURCES_DIST = login-utils/runuser.c \ + login-utils/su-common.c login-utils/su-common.h \ + login-utils/logindefs.c login-utils/logindefs.h +@BUILD_RUNUSER_TRUE@am_runuser_OBJECTS = \ +@BUILD_RUNUSER_TRUE@ login-utils/runuser.$(OBJEXT) \ +@BUILD_RUNUSER_TRUE@ login-utils/su-common.$(OBJEXT) \ +@BUILD_RUNUSER_TRUE@ login-utils/logindefs.$(OBJEXT) +runuser_OBJECTS = $(am_runuser_OBJECTS) +@BUILD_RUNUSER_TRUE@runuser_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_RUNUSER_TRUE@ libcommon.la $(am__DEPENDENCIES_1) \ +@BUILD_RUNUSER_TRUE@ $(am__DEPENDENCIES_1) +am__sample_fdisk_mkpart_SOURCES_DIST = libfdisk/samples/mkpart.c +@BUILD_LIBFDISK_TRUE@am_sample_fdisk_mkpart_OBJECTS = libfdisk/samples/sample_fdisk_mkpart-mkpart.$(OBJEXT) +sample_fdisk_mkpart_OBJECTS = $(am_sample_fdisk_mkpart_OBJECTS) +@BUILD_LIBFDISK_TRUE@am__DEPENDENCIES_17 = $(am__DEPENDENCIES_2) \ +@BUILD_LIBFDISK_TRUE@ libfdisk.la +@BUILD_LIBFDISK_TRUE@sample_fdisk_mkpart_DEPENDENCIES = \ +@BUILD_LIBFDISK_TRUE@ $(am__DEPENDENCIES_17) libcommon.la +sample_fdisk_mkpart_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(sample_fdisk_mkpart_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__sample_fdisk_mkpart_fullspec_SOURCES_DIST = \ + libfdisk/samples/mkpart-fullspec.c +@BUILD_LIBFDISK_TRUE@am_sample_fdisk_mkpart_fullspec_OBJECTS = libfdisk/samples/sample_fdisk_mkpart_fullspec-mkpart-fullspec.$(OBJEXT) +sample_fdisk_mkpart_fullspec_OBJECTS = \ + $(am_sample_fdisk_mkpart_fullspec_OBJECTS) +@BUILD_LIBFDISK_TRUE@sample_fdisk_mkpart_fullspec_DEPENDENCIES = \ +@BUILD_LIBFDISK_TRUE@ $(am__DEPENDENCIES_17) libcommon.la +sample_fdisk_mkpart_fullspec_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(sample_fdisk_mkpart_fullspec_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__sample_mkfs_SOURCES_DIST = libblkid/samples/mkfs.c +@BUILD_LIBBLKID_TRUE@am_sample_mkfs_OBJECTS = libblkid/samples/sample_mkfs-mkfs.$(OBJEXT) +sample_mkfs_OBJECTS = $(am_sample_mkfs_OBJECTS) +@BUILD_LIBBLKID_TRUE@sample_mkfs_DEPENDENCIES = libblkid.la \ +@BUILD_LIBBLKID_TRUE@ $(am__DEPENDENCIES_2) +sample_mkfs_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(sample_mkfs_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__sample_partitions_SOURCES_DIST = libblkid/samples/partitions.c +@BUILD_LIBBLKID_TRUE@am_sample_partitions_OBJECTS = libblkid/samples/sample_partitions-partitions.$(OBJEXT) +sample_partitions_OBJECTS = $(am_sample_partitions_OBJECTS) +@BUILD_LIBBLKID_TRUE@sample_partitions_DEPENDENCIES = libblkid.la \ +@BUILD_LIBBLKID_TRUE@ $(am__DEPENDENCIES_2) +sample_partitions_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(sample_partitions_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ + -o $@ +am__sample_scols_continuous_SOURCES_DIST = \ + libsmartcols/samples/continuous.c +@BUILD_LIBSMARTCOLS_TRUE@am_sample_scols_continuous_OBJECTS = libsmartcols/samples/sample_scols_continuous-continuous.$(OBJEXT) +sample_scols_continuous_OBJECTS = \ + $(am_sample_scols_continuous_OBJECTS) +@BUILD_LIBSMARTCOLS_TRUE@am__DEPENDENCIES_18 = libsmartcols.la \ +@BUILD_LIBSMARTCOLS_TRUE@ $(am__DEPENDENCIES_2) +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_continuous_DEPENDENCIES = \ +@BUILD_LIBSMARTCOLS_TRUE@ $(am__DEPENDENCIES_18) libcommon.la +sample_scols_continuous_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(sample_scols_continuous_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__sample_scols_fromfile_SOURCES_DIST = \ + libsmartcols/samples/fromfile.c +@BUILD_LIBSMARTCOLS_TRUE@am_sample_scols_fromfile_OBJECTS = libsmartcols/samples/sample_scols_fromfile-fromfile.$(OBJEXT) +sample_scols_fromfile_OBJECTS = $(am_sample_scols_fromfile_OBJECTS) +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_fromfile_DEPENDENCIES = \ +@BUILD_LIBSMARTCOLS_TRUE@ $(am__DEPENDENCIES_18) libcommon.la +sample_scols_fromfile_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(sample_scols_fromfile_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__sample_scols_maxout_SOURCES_DIST = libsmartcols/samples/maxout.c +@BUILD_LIBSMARTCOLS_TRUE@am_sample_scols_maxout_OBJECTS = libsmartcols/samples/sample_scols_maxout-maxout.$(OBJEXT) +sample_scols_maxout_OBJECTS = $(am_sample_scols_maxout_OBJECTS) +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_maxout_DEPENDENCIES = \ +@BUILD_LIBSMARTCOLS_TRUE@ $(am__DEPENDENCIES_18) +sample_scols_maxout_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(sample_scols_maxout_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__sample_scols_title_SOURCES_DIST = libsmartcols/samples/title.c +@BUILD_LIBSMARTCOLS_TRUE@am_sample_scols_title_OBJECTS = libsmartcols/samples/sample_scols_title-title.$(OBJEXT) +sample_scols_title_OBJECTS = $(am_sample_scols_title_OBJECTS) +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_title_DEPENDENCIES = \ +@BUILD_LIBSMARTCOLS_TRUE@ $(am__DEPENDENCIES_18) libcommon.la +sample_scols_title_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(sample_scols_title_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__sample_scols_tree_SOURCES_DIST = libsmartcols/samples/tree.c +@BUILD_LIBSMARTCOLS_TRUE@@HAVE_OPENAT_TRUE@am_sample_scols_tree_OBJECTS = libsmartcols/samples/sample_scols_tree-tree.$(OBJEXT) +sample_scols_tree_OBJECTS = $(am_sample_scols_tree_OBJECTS) +@BUILD_LIBSMARTCOLS_TRUE@@HAVE_OPENAT_TRUE@sample_scols_tree_DEPENDENCIES = $(am__DEPENDENCIES_18) \ +@BUILD_LIBSMARTCOLS_TRUE@@HAVE_OPENAT_TRUE@ libcommon.la +sample_scols_tree_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(sample_scols_tree_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ + -o $@ +am__sample_scols_wrap_SOURCES_DIST = libsmartcols/samples/wrap.c +@BUILD_LIBSMARTCOLS_TRUE@am_sample_scols_wrap_OBJECTS = libsmartcols/samples/sample_scols_wrap-wrap.$(OBJEXT) +sample_scols_wrap_OBJECTS = $(am_sample_scols_wrap_OBJECTS) +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_wrap_DEPENDENCIES = \ +@BUILD_LIBSMARTCOLS_TRUE@ $(am__DEPENDENCIES_18) +sample_scols_wrap_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(sample_scols_wrap_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ + -o $@ +am__sample_superblocks_SOURCES_DIST = libblkid/samples/superblocks.c +@BUILD_LIBBLKID_TRUE@am_sample_superblocks_OBJECTS = libblkid/samples/sample_superblocks-superblocks.$(OBJEXT) +sample_superblocks_OBJECTS = $(am_sample_superblocks_OBJECTS) +@BUILD_LIBBLKID_TRUE@sample_superblocks_DEPENDENCIES = libblkid.la \ +@BUILD_LIBBLKID_TRUE@ $(am__DEPENDENCIES_2) +sample_superblocks_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(sample_superblocks_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__sample_topology_SOURCES_DIST = libblkid/samples/topology.c +@BUILD_LIBBLKID_TRUE@am_sample_topology_OBJECTS = libblkid/samples/sample_topology-topology.$(OBJEXT) +sample_topology_OBJECTS = $(am_sample_topology_OBJECTS) +@BUILD_LIBBLKID_TRUE@sample_topology_DEPENDENCIES = libblkid.la \ +@BUILD_LIBBLKID_TRUE@ $(am__DEPENDENCIES_2) +sample_topology_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(sample_topology_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ + -o $@ +am__script_SOURCES_DIST = term-utils/script.c lib/monotonic.c +@BUILD_SCRIPT_TRUE@am_script_OBJECTS = \ +@BUILD_SCRIPT_TRUE@ term-utils/script-script.$(OBJEXT) \ +@BUILD_SCRIPT_TRUE@ lib/script-monotonic.$(OBJEXT) +script_OBJECTS = $(am_script_OBJECTS) +@BUILD_SCRIPT_TRUE@script_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_SCRIPT_TRUE@ libcommon.la $(am__DEPENDENCIES_1) \ +@BUILD_SCRIPT_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +script_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(script_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__scriptreplay_SOURCES_DIST = term-utils/scriptreplay.c +@BUILD_SCRIPTREPLAY_TRUE@am_scriptreplay_OBJECTS = \ +@BUILD_SCRIPTREPLAY_TRUE@ term-utils/scriptreplay.$(OBJEXT) +scriptreplay_OBJECTS = $(am_scriptreplay_OBJECTS) +@BUILD_SCRIPTREPLAY_TRUE@scriptreplay_DEPENDENCIES = \ +@BUILD_SCRIPTREPLAY_TRUE@ $(am__DEPENDENCIES_2) libcommon.la \ +@BUILD_SCRIPTREPLAY_TRUE@ $(am__DEPENDENCIES_1) +am__setarch_SOURCES_DIST = sys-utils/setarch.c +@BUILD_SETARCH_TRUE@am_setarch_OBJECTS = sys-utils/setarch.$(OBJEXT) +setarch_OBJECTS = $(am_setarch_OBJECTS) +setarch_LDADD = $(LDADD) +setarch_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__setpriv_SOURCES_DIST = sys-utils/setpriv.c +@BUILD_SETPRIV_TRUE@am_setpriv_OBJECTS = sys-utils/setpriv.$(OBJEXT) +setpriv_OBJECTS = $(am_setpriv_OBJECTS) +@BUILD_SETPRIV_TRUE@setpriv_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_SETPRIV_TRUE@ libcommon.la +am__setsid_SOURCES_DIST = sys-utils/setsid.c +@BUILD_SETSID_TRUE@am_setsid_OBJECTS = sys-utils/setsid.$(OBJEXT) +setsid_OBJECTS = $(am_setsid_OBJECTS) +setsid_LDADD = $(LDADD) +setsid_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__setterm_SOURCES_DIST = term-utils/setterm.c +@BUILD_SETTERM_TRUE@am_setterm_OBJECTS = \ +@BUILD_SETTERM_TRUE@ term-utils/setterm-setterm.$(OBJEXT) +setterm_OBJECTS = $(am_setterm_OBJECTS) +@BUILD_SETTERM_TRUE@@HAVE_TINFO_TRUE@am__DEPENDENCIES_19 = \ +@BUILD_SETTERM_TRUE@@HAVE_TINFO_TRUE@ $(am__DEPENDENCIES_1) +@BUILD_SETTERM_TRUE@@HAVE_TINFO_FALSE@am__DEPENDENCIES_20 = \ +@BUILD_SETTERM_TRUE@@HAVE_TINFO_FALSE@ $(am__DEPENDENCIES_1) +@BUILD_SETTERM_TRUE@setterm_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_SETTERM_TRUE@ libcommon.la $(am__DEPENDENCIES_19) \ +@BUILD_SETTERM_TRUE@ $(am__DEPENDENCIES_20) +setterm_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(setterm_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__sfdisk_SOURCES_DIST = disk-utils/sfdisk.c disk-utils/fdisk-list.c \ + disk-utils/fdisk-list.h +@BUILD_SFDISK_TRUE@am_sfdisk_OBJECTS = \ +@BUILD_SFDISK_TRUE@ disk-utils/sfdisk-sfdisk.$(OBJEXT) \ +@BUILD_SFDISK_TRUE@ disk-utils/sfdisk-fdisk-list.$(OBJEXT) +sfdisk_OBJECTS = $(am_sfdisk_OBJECTS) +@BUILD_SFDISK_TRUE@sfdisk_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_SFDISK_TRUE@ libcommon.la libfdisk.la libsmartcols.la \ +@BUILD_SFDISK_TRUE@ libtcolors.la $(am__DEPENDENCIES_1) +sfdisk_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(sfdisk_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__sfdisk_static_SOURCES_DIST = disk-utils/sfdisk.c \ + disk-utils/fdisk-list.c disk-utils/fdisk-list.h +@BUILD_SFDISK_TRUE@am__objects_27 = \ +@BUILD_SFDISK_TRUE@ disk-utils/sfdisk_static-sfdisk.$(OBJEXT) \ +@BUILD_SFDISK_TRUE@ disk-utils/sfdisk_static-fdisk-list.$(OBJEXT) +@BUILD_SFDISK_TRUE@@HAVE_STATIC_SFDISK_TRUE@am_sfdisk_static_OBJECTS = \ +@BUILD_SFDISK_TRUE@@HAVE_STATIC_SFDISK_TRUE@ $(am__objects_27) +sfdisk_static_OBJECTS = $(am_sfdisk_static_OBJECTS) +@BUILD_SFDISK_TRUE@am__DEPENDENCIES_21 = $(am__DEPENDENCIES_2) \ +@BUILD_SFDISK_TRUE@ libcommon.la libfdisk.la libsmartcols.la \ +@BUILD_SFDISK_TRUE@ libtcolors.la $(am__DEPENDENCIES_1) +@BUILD_SFDISK_TRUE@@HAVE_STATIC_SFDISK_TRUE@sfdisk_static_DEPENDENCIES = $(am__DEPENDENCIES_21) \ +@BUILD_SFDISK_TRUE@@HAVE_STATIC_SFDISK_TRUE@ $(am__DEPENDENCIES_1) +sfdisk_static_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(sfdisk_static_CFLAGS) \ + $(CFLAGS) $(sfdisk_static_LDFLAGS) $(LDFLAGS) -o $@ +am__su_SOURCES_DIST = login-utils/su.c login-utils/su-common.c \ + login-utils/su-common.h login-utils/logindefs.c \ + login-utils/logindefs.h +@BUILD_SU_TRUE@am_su_OBJECTS = login-utils/su-su.$(OBJEXT) \ +@BUILD_SU_TRUE@ login-utils/su-su-common.$(OBJEXT) \ +@BUILD_SU_TRUE@ login-utils/su-logindefs.$(OBJEXT) +su_OBJECTS = $(am_su_OBJECTS) +@BUILD_SU_TRUE@su_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la \ +@BUILD_SU_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +su_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(su_CFLAGS) $(CFLAGS) \ + $(su_LDFLAGS) $(LDFLAGS) -o $@ +am__sulogin_SOURCES_DIST = login-utils/sulogin.c \ + login-utils/sulogin-consoles.c login-utils/sulogin-consoles.h +@BUILD_SULOGIN_TRUE@am_sulogin_OBJECTS = \ +@BUILD_SULOGIN_TRUE@ login-utils/sulogin.$(OBJEXT) \ +@BUILD_SULOGIN_TRUE@ login-utils/sulogin-consoles.$(OBJEXT) +sulogin_OBJECTS = $(am_sulogin_OBJECTS) +@BUILD_SULOGIN_TRUE@sulogin_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_SULOGIN_TRUE@ libcommon.la $(am__DEPENDENCIES_1) \ +@BUILD_SULOGIN_TRUE@ $(am__DEPENDENCIES_1) +am__swaplabel_SOURCES_DIST = disk-utils/swaplabel.c lib/swapprober.c \ + include/swapprober.h +@BUILD_SWAPLABEL_TRUE@am_swaplabel_OBJECTS = disk-utils/swaplabel-swaplabel.$(OBJEXT) \ +@BUILD_SWAPLABEL_TRUE@ lib/swaplabel-swapprober.$(OBJEXT) +swaplabel_OBJECTS = $(am_swaplabel_OBJECTS) +@BUILD_SWAPLABEL_TRUE@swaplabel_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_SWAPLABEL_TRUE@ libblkid.la libcommon.la \ +@BUILD_SWAPLABEL_TRUE@ $(am__append_359) +swaplabel_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(swaplabel_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__swapoff_SOURCES_DIST = sys-utils/swapoff.c \ + sys-utils/swapon-common.c sys-utils/swapon-common.h \ + lib/swapprober.c include/swapprober.h +@BUILD_SWAPON_TRUE@am_swapoff_OBJECTS = \ +@BUILD_SWAPON_TRUE@ sys-utils/swapoff-swapoff.$(OBJEXT) \ +@BUILD_SWAPON_TRUE@ sys-utils/swapoff-swapon-common.$(OBJEXT) \ +@BUILD_SWAPON_TRUE@ lib/swapoff-swapprober.$(OBJEXT) +swapoff_OBJECTS = $(am_swapoff_OBJECTS) +@BUILD_SWAPON_TRUE@swapoff_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_SWAPON_TRUE@ libmount.la libblkid.la libcommon.la +swapoff_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(swapoff_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__swapon_SOURCES_DIST = sys-utils/swapon.c sys-utils/swapon-common.c \ + sys-utils/swapon-common.h lib/swapprober.c \ + include/swapprober.h +@BUILD_SWAPON_TRUE@am_swapon_OBJECTS = \ +@BUILD_SWAPON_TRUE@ sys-utils/swapon-swapon.$(OBJEXT) \ +@BUILD_SWAPON_TRUE@ sys-utils/swapon-swapon-common.$(OBJEXT) \ +@BUILD_SWAPON_TRUE@ lib/swapon-swapprober.$(OBJEXT) +swapon_OBJECTS = $(am_swapon_OBJECTS) +@BUILD_SWAPON_TRUE@swapon_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_SWAPON_TRUE@ libblkid.la libcommon.la libmount.la \ +@BUILD_SWAPON_TRUE@ libsmartcols.la +swapon_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(swapon_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__switch_root_SOURCES_DIST = sys-utils/switch_root.c +@BUILD_SWITCH_ROOT_TRUE@am_switch_root_OBJECTS = \ +@BUILD_SWITCH_ROOT_TRUE@ sys-utils/switch_root.$(OBJEXT) +switch_root_OBJECTS = $(am_switch_root_OBJECTS) +switch_root_LDADD = $(LDADD) +switch_root_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__taskset_SOURCES_DIST = schedutils/taskset.c +@BUILD_TASKSET_TRUE@am_taskset_OBJECTS = schedutils/taskset.$(OBJEXT) +taskset_OBJECTS = $(am_taskset_OBJECTS) +@BUILD_TASKSET_TRUE@taskset_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_TASKSET_TRUE@ libcommon.la +am_test_blkdev_OBJECTS = lib/test_blkdev-blkdev.$(OBJEXT) +test_blkdev_OBJECTS = $(am_test_blkdev_OBJECTS) +test_blkdev_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +test_blkdev_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_blkdev_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__test_blkid_cache_SOURCES_DIST = libblkid/src/cache.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@am_test_blkid_cache_OBJECTS = libblkid/src/test_blkid_cache-cache.$(OBJEXT) +test_blkid_cache_OBJECTS = $(am_test_blkid_cache_OBJECTS) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@@BUILD_LIBUUID_TRUE@am__DEPENDENCIES_22 = $(am__DEPENDENCIES_2) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@am__DEPENDENCIES_23 = \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ libblkid.la \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ $(am__DEPENDENCIES_22) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_cache_DEPENDENCIES = $(am__DEPENDENCIES_23) +test_blkid_cache_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_blkid_cache_CFLAGS) $(CFLAGS) \ + $(test_blkid_cache_LDFLAGS) $(LDFLAGS) -o $@ +am__test_blkid_config_SOURCES_DIST = libblkid/src/config.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@am_test_blkid_config_OBJECTS = libblkid/src/test_blkid_config-config.$(OBJEXT) +test_blkid_config_OBJECTS = $(am_test_blkid_config_OBJECTS) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_config_DEPENDENCIES = $(am__DEPENDENCIES_23) +test_blkid_config_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_blkid_config_CFLAGS) $(CFLAGS) \ + $(test_blkid_config_LDFLAGS) $(LDFLAGS) -o $@ +am__test_blkid_dev_SOURCES_DIST = libblkid/src/dev.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@am_test_blkid_dev_OBJECTS = libblkid/src/test_blkid_dev-dev.$(OBJEXT) +test_blkid_dev_OBJECTS = $(am_test_blkid_dev_OBJECTS) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_dev_DEPENDENCIES = $(am__DEPENDENCIES_23) +test_blkid_dev_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_blkid_dev_CFLAGS) $(CFLAGS) $(test_blkid_dev_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__test_blkid_devname_SOURCES_DIST = libblkid/src/devname.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@am_test_blkid_devname_OBJECTS = libblkid/src/test_blkid_devname-devname.$(OBJEXT) +test_blkid_devname_OBJECTS = $(am_test_blkid_devname_OBJECTS) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_devname_DEPENDENCIES = $(am__DEPENDENCIES_23) +test_blkid_devname_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_blkid_devname_CFLAGS) $(CFLAGS) \ + $(test_blkid_devname_LDFLAGS) $(LDFLAGS) -o $@ +am__test_blkid_devno_SOURCES_DIST = libblkid/src/devno.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@am_test_blkid_devno_OBJECTS = libblkid/src/test_blkid_devno-devno.$(OBJEXT) +test_blkid_devno_OBJECTS = $(am_test_blkid_devno_OBJECTS) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_devno_DEPENDENCIES = $(am__DEPENDENCIES_23) +test_blkid_devno_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_blkid_devno_CFLAGS) $(CFLAGS) \ + $(test_blkid_devno_LDFLAGS) $(LDFLAGS) -o $@ +am__test_blkid_evaluate_SOURCES_DIST = libblkid/src/evaluate.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@am_test_blkid_evaluate_OBJECTS = libblkid/src/test_blkid_evaluate-evaluate.$(OBJEXT) +test_blkid_evaluate_OBJECTS = $(am_test_blkid_evaluate_OBJECTS) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_evaluate_DEPENDENCIES = $(am__DEPENDENCIES_23) +test_blkid_evaluate_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_blkid_evaluate_CFLAGS) $(CFLAGS) \ + $(test_blkid_evaluate_LDFLAGS) $(LDFLAGS) -o $@ +am__test_blkid_read_SOURCES_DIST = libblkid/src/read.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@am_test_blkid_read_OBJECTS = libblkid/src/test_blkid_read-read.$(OBJEXT) +test_blkid_read_OBJECTS = $(am_test_blkid_read_OBJECTS) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_read_DEPENDENCIES = $(am__DEPENDENCIES_23) +test_blkid_read_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_blkid_read_CFLAGS) $(CFLAGS) $(test_blkid_read_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__test_blkid_resolve_SOURCES_DIST = libblkid/src/resolve.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@am_test_blkid_resolve_OBJECTS = libblkid/src/test_blkid_resolve-resolve.$(OBJEXT) +test_blkid_resolve_OBJECTS = $(am_test_blkid_resolve_OBJECTS) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_resolve_DEPENDENCIES = $(am__DEPENDENCIES_23) +test_blkid_resolve_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_blkid_resolve_CFLAGS) $(CFLAGS) \ + $(test_blkid_resolve_LDFLAGS) $(LDFLAGS) -o $@ +am__test_blkid_save_SOURCES_DIST = libblkid/src/save.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@am_test_blkid_save_OBJECTS = libblkid/src/test_blkid_save-save.$(OBJEXT) +test_blkid_save_OBJECTS = $(am_test_blkid_save_OBJECTS) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_save_DEPENDENCIES = $(am__DEPENDENCIES_23) +test_blkid_save_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_blkid_save_CFLAGS) $(CFLAGS) $(test_blkid_save_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__test_blkid_tag_SOURCES_DIST = libblkid/src/tag.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@am_test_blkid_tag_OBJECTS = libblkid/src/test_blkid_tag-tag.$(OBJEXT) +test_blkid_tag_OBJECTS = $(am_test_blkid_tag_OBJECTS) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_tag_DEPENDENCIES = $(am__DEPENDENCIES_23) +test_blkid_tag_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_blkid_tag_CFLAGS) $(CFLAGS) $(test_blkid_tag_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__test_blkid_verify_SOURCES_DIST = libblkid/src/verify.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@am_test_blkid_verify_OBJECTS = libblkid/src/test_blkid_verify-verify.$(OBJEXT) +test_blkid_verify_OBJECTS = $(am_test_blkid_verify_OBJECTS) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_verify_DEPENDENCIES = $(am__DEPENDENCIES_23) +test_blkid_verify_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_blkid_verify_CFLAGS) $(CFLAGS) \ + $(test_blkid_verify_LDFLAGS) $(LDFLAGS) -o $@ +am_test_byteswap_OBJECTS = tests/helpers/test_byteswap.$(OBJEXT) +test_byteswap_OBJECTS = $(am_test_byteswap_OBJECTS) +test_byteswap_LDADD = $(LDADD) +test_byteswap_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__test_cal_SOURCES_DIST = misc-utils/cal.c +@BUILD_CAL_TRUE@am__objects_28 = misc-utils/test_cal-cal.$(OBJEXT) +@BUILD_CAL_TRUE@am_test_cal_OBJECTS = $(am__objects_28) +test_cal_OBJECTS = $(am_test_cal_OBJECTS) +@BUILD_CAL_TRUE@am__DEPENDENCIES_24 = $(am__DEPENDENCIES_2) \ +@BUILD_CAL_TRUE@ libcommon.la libtcolors.la \ +@BUILD_CAL_TRUE@ $(am__DEPENDENCIES_5) $(am__DEPENDENCIES_6) +@BUILD_CAL_TRUE@test_cal_DEPENDENCIES = $(am__DEPENDENCIES_24) +test_cal_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_cal_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am_test_canonicalize_OBJECTS = \ + lib/test_canonicalize-canonicalize.$(OBJEXT) +test_canonicalize_OBJECTS = $(am_test_canonicalize_OBJECTS) +test_canonicalize_LDADD = $(LDADD) +test_canonicalize_DEPENDENCIES = $(am__DEPENDENCIES_1) +test_canonicalize_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_canonicalize_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ + -o $@ +am_test_colors_OBJECTS = lib/test_colors-colors.$(OBJEXT) \ + lib/test_colors-color-names.$(OBJEXT) +test_colors_OBJECTS = $(am_test_colors_OBJECTS) +test_colors_DEPENDENCIES = $(am__DEPENDENCIES_2) libtcolors.la +test_colors_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_colors_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__test_consoles_SOURCES_DIST = login-utils/sulogin-consoles.c +@BUILD_SULOGIN_TRUE@am_test_consoles_OBJECTS = login-utils/test_consoles-sulogin-consoles.$(OBJEXT) +test_consoles_OBJECTS = $(am_test_consoles_OBJECTS) +@BUILD_SULOGIN_TRUE@test_consoles_DEPENDENCIES = \ +@BUILD_SULOGIN_TRUE@ $(am__DEPENDENCIES_2) libcommon.la +test_consoles_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_consoles_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__test_cpuset_SOURCES_DIST = lib/cpuset.c +@LINUX_TRUE@am_test_cpuset_OBJECTS = lib/test_cpuset-cpuset.$(OBJEXT) +test_cpuset_OBJECTS = $(am_test_cpuset_OBJECTS) +test_cpuset_LDADD = $(LDADD) +test_cpuset_DEPENDENCIES = $(am__DEPENDENCIES_1) +test_cpuset_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_cpuset_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__test_dmesg_SOURCES_DIST = sys-utils/dmesg.c lib/monotonic.c +@BUILD_DMESG_TRUE@am__objects_29 = \ +@BUILD_DMESG_TRUE@ sys-utils/test_dmesg-dmesg.$(OBJEXT) \ +@BUILD_DMESG_TRUE@ lib/test_dmesg-monotonic.$(OBJEXT) +@BUILD_DMESG_TRUE@am_test_dmesg_OBJECTS = $(am__objects_29) +test_dmesg_OBJECTS = $(am_test_dmesg_OBJECTS) +@BUILD_DMESG_TRUE@am__DEPENDENCIES_25 = $(am__DEPENDENCIES_2) \ +@BUILD_DMESG_TRUE@ libcommon.la libtcolors.la \ +@BUILD_DMESG_TRUE@ $(am__DEPENDENCIES_1) +@BUILD_DMESG_TRUE@test_dmesg_DEPENDENCIES = $(am__DEPENDENCIES_25) +test_dmesg_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_dmesg_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__test_fdisk_ask_SOURCES_DIST = libfdisk/src/ask.c +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@am_test_fdisk_ask_OBJECTS = libfdisk/src/test_fdisk_ask-ask.$(OBJEXT) +test_fdisk_ask_OBJECTS = $(am_test_fdisk_ask_OBJECTS) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@am__DEPENDENCIES_26 = \ +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@ libfdisk.la \ +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@ $(am__DEPENDENCIES_2) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_ask_DEPENDENCIES = $(am__DEPENDENCIES_26) +test_fdisk_ask_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_fdisk_ask_CFLAGS) $(CFLAGS) $(test_fdisk_ask_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__test_fdisk_gpt_SOURCES_DIST = libfdisk/src/gpt.c +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@am_test_fdisk_gpt_OBJECTS = libfdisk/src/test_fdisk_gpt-gpt.$(OBJEXT) +test_fdisk_gpt_OBJECTS = $(am_test_fdisk_gpt_OBJECTS) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_gpt_DEPENDENCIES = $(am__DEPENDENCIES_26) +test_fdisk_gpt_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_fdisk_gpt_CFLAGS) $(CFLAGS) $(test_fdisk_gpt_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__test_fdisk_item_SOURCES_DIST = libfdisk/src/item.c +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@am_test_fdisk_item_OBJECTS = libfdisk/src/test_fdisk_item-item.$(OBJEXT) +test_fdisk_item_OBJECTS = $(am_test_fdisk_item_OBJECTS) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_item_DEPENDENCIES = $(am__DEPENDENCIES_26) +test_fdisk_item_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_fdisk_item_CFLAGS) $(CFLAGS) $(test_fdisk_item_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__test_fdisk_script_SOURCES_DIST = libfdisk/src/script.c +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@am_test_fdisk_script_OBJECTS = libfdisk/src/test_fdisk_script-script.$(OBJEXT) +test_fdisk_script_OBJECTS = $(am_test_fdisk_script_OBJECTS) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_script_DEPENDENCIES = $(am__DEPENDENCIES_26) +test_fdisk_script_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_fdisk_script_CFLAGS) $(CFLAGS) \ + $(test_fdisk_script_LDFLAGS) $(LDFLAGS) -o $@ +am__test_fdisk_utils_SOURCES_DIST = libfdisk/src/utils.c +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@am_test_fdisk_utils_OBJECTS = libfdisk/src/test_fdisk_utils-utils.$(OBJEXT) +test_fdisk_utils_OBJECTS = $(am_test_fdisk_utils_OBJECTS) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_utils_DEPENDENCIES = $(am__DEPENDENCIES_26) +test_fdisk_utils_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_fdisk_utils_CFLAGS) $(CFLAGS) \ + $(test_fdisk_utils_LDFLAGS) $(LDFLAGS) -o $@ +am__test_fdisk_version_SOURCES_DIST = libfdisk/src/version.c +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@am_test_fdisk_version_OBJECTS = libfdisk/src/test_fdisk_version-version.$(OBJEXT) +test_fdisk_version_OBJECTS = $(am_test_fdisk_version_OBJECTS) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_version_DEPENDENCIES = $(am__DEPENDENCIES_26) +test_fdisk_version_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_fdisk_version_CFLAGS) $(CFLAGS) \ + $(test_fdisk_version_LDFLAGS) $(LDFLAGS) -o $@ +am_test_fileutils_OBJECTS = lib/test_fileutils-fileutils.$(OBJEXT) +test_fileutils_OBJECTS = $(am_test_fileutils_OBJECTS) +test_fileutils_LDADD = $(LDADD) +test_fileutils_DEPENDENCIES = $(am__DEPENDENCIES_1) +test_fileutils_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_fileutils_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o \ + $@ +am_test_islocal_OBJECTS = login-utils/test_islocal-islocal.$(OBJEXT) +test_islocal_OBJECTS = $(am_test_islocal_OBJECTS) +test_islocal_LDADD = $(LDADD) +test_islocal_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_test_ismounted_OBJECTS = lib/test_ismounted-ismounted.$(OBJEXT) +test_ismounted_OBJECTS = $(am_test_ismounted_OBJECTS) +test_ismounted_DEPENDENCIES = libcommon.la $(am__DEPENDENCIES_2) +test_ismounted_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_ismounted_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o \ + $@ +am__test_linux_version_SOURCES_DIST = lib/linux_version.c +@LINUX_TRUE@am_test_linux_version_OBJECTS = \ +@LINUX_TRUE@ lib/test_linux_version-linux_version.$(OBJEXT) +test_linux_version_OBJECTS = $(am_test_linux_version_OBJECTS) +test_linux_version_LDADD = $(LDADD) +test_linux_version_DEPENDENCIES = $(am__DEPENDENCIES_1) +test_linux_version_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_linux_version_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__test_logger_SOURCES_DIST = misc-utils/logger.c lib/strutils.c \ + lib/strv.c +@BUILD_LOGGER_TRUE@am__objects_30 = \ +@BUILD_LOGGER_TRUE@ misc-utils/test_logger-logger.$(OBJEXT) \ +@BUILD_LOGGER_TRUE@ lib/test_logger-strutils.$(OBJEXT) \ +@BUILD_LOGGER_TRUE@ lib/test_logger-strv.$(OBJEXT) +@BUILD_LOGGER_TRUE@am_test_logger_OBJECTS = $(am__objects_30) +test_logger_OBJECTS = $(am_test_logger_OBJECTS) +@BUILD_LOGGER_TRUE@am__DEPENDENCIES_27 = $(am__DEPENDENCIES_2) \ +@BUILD_LOGGER_TRUE@ $(am__DEPENDENCIES_10) +@BUILD_LOGGER_TRUE@test_logger_DEPENDENCIES = $(am__DEPENDENCIES_27) +test_logger_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_logger_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am_test_logindefs_OBJECTS = \ + login-utils/test_logindefs-logindefs.$(OBJEXT) +test_logindefs_OBJECTS = $(am_test_logindefs_OBJECTS) +test_logindefs_LDADD = $(LDADD) +test_logindefs_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_test_mangle_OBJECTS = lib/test_mangle-mangle.$(OBJEXT) +test_mangle_OBJECTS = $(am_test_mangle_OBJECTS) +test_mangle_LDADD = $(LDADD) +test_mangle_DEPENDENCIES = $(am__DEPENDENCIES_1) +test_mangle_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_mangle_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am_test_mbsencode_OBJECTS = tests/helpers/test_mbsencode.$(OBJEXT) +test_mbsencode_OBJECTS = $(am_test_mbsencode_OBJECTS) +test_mbsencode_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +am_test_md5_OBJECTS = tests/helpers/test_md5.$(OBJEXT) \ + lib/md5.$(OBJEXT) +test_md5_OBJECTS = $(am_test_md5_OBJECTS) +test_md5_LDADD = $(LDADD) +test_md5_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__test_mkfs_minix_SOURCES_DIST = disk-utils/minix_programs.h \ + disk-utils/mkfs.minix.c +@BUILD_MINIX_TRUE@am__objects_31 = disk-utils/test_mkfs_minix-mkfs.minix.$(OBJEXT) +@BUILD_MINIX_TRUE@am_test_mkfs_minix_OBJECTS = $(am__objects_31) +test_mkfs_minix_OBJECTS = $(am_test_mkfs_minix_OBJECTS) +@BUILD_MINIX_TRUE@am__DEPENDENCIES_28 = $(am__DEPENDENCIES_2) \ +@BUILD_MINIX_TRUE@ libcommon.la +@BUILD_MINIX_TRUE@test_mkfs_minix_DEPENDENCIES = \ +@BUILD_MINIX_TRUE@ $(am__DEPENDENCIES_28) +test_mkfs_minix_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_mkfs_minix_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ + -o $@ +am__test_more_SOURCES_DIST = text-utils/more.c +@BUILD_MORE_TRUE@am__objects_32 = text-utils/test_more-more.$(OBJEXT) +@BUILD_MORE_TRUE@am_test_more_OBJECTS = $(am__objects_32) +test_more_OBJECTS = $(am_test_more_OBJECTS) +@BUILD_MORE_TRUE@am__DEPENDENCIES_29 = $(am__DEPENDENCIES_2) \ +@BUILD_MORE_TRUE@ $(am__DEPENDENCIES_13) $(am__DEPENDENCIES_14) +@BUILD_MORE_TRUE@test_more_DEPENDENCIES = $(am__DEPENDENCIES_29) +test_more_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_more_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__test_mount_cache_SOURCES_DIST = libmount/src/cache.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@am_test_mount_cache_OBJECTS = libmount/src/test_mount_cache-cache.$(OBJEXT) +test_mount_cache_OBJECTS = $(am_test_mount_cache_OBJECTS) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@@HAVE_SELINUX_TRUE@am__DEPENDENCIES_30 = $(am__DEPENDENCIES_1) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@am__DEPENDENCIES_31 = \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ libmount.la \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ $(am__DEPENDENCIES_2) \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ $(am__DEPENDENCIES_1) \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ $(am__DEPENDENCIES_30) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_cache_DEPENDENCIES = $(am__DEPENDENCIES_31) +test_mount_cache_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_mount_cache_CFLAGS) $(CFLAGS) \ + $(test_mount_cache_LDFLAGS) $(LDFLAGS) -o $@ +am__test_mount_context_SOURCES_DIST = libmount/src/context.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@am_test_mount_context_OBJECTS = libmount/src/test_mount_context-context.$(OBJEXT) +test_mount_context_OBJECTS = $(am_test_mount_context_OBJECTS) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_context_DEPENDENCIES = $(am__DEPENDENCIES_31) +test_mount_context_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_mount_context_CFLAGS) $(CFLAGS) \ + $(test_mount_context_LDFLAGS) $(LDFLAGS) -o $@ +am__test_mount_debug_SOURCES_DIST = libmount/src/init.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@am_test_mount_debug_OBJECTS = libmount/src/test_mount_debug-init.$(OBJEXT) +test_mount_debug_OBJECTS = $(am_test_mount_debug_OBJECTS) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_debug_DEPENDENCIES = $(am__DEPENDENCIES_31) +test_mount_debug_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_mount_debug_CFLAGS) $(CFLAGS) \ + $(test_mount_debug_LDFLAGS) $(LDFLAGS) -o $@ +am__test_mount_lock_SOURCES_DIST = libmount/src/lock.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@am_test_mount_lock_OBJECTS = libmount/src/test_mount_lock-lock.$(OBJEXT) +test_mount_lock_OBJECTS = $(am_test_mount_lock_OBJECTS) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_lock_DEPENDENCIES = $(am__DEPENDENCIES_31) +test_mount_lock_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_mount_lock_CFLAGS) $(CFLAGS) $(test_mount_lock_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__test_mount_monitor_SOURCES_DIST = libmount/src/monitor.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@am_test_mount_monitor_OBJECTS = libmount/src/test_mount_monitor-monitor.$(OBJEXT) +test_mount_monitor_OBJECTS = $(am_test_mount_monitor_OBJECTS) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_monitor_DEPENDENCIES = $(am__DEPENDENCIES_31) +test_mount_monitor_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_mount_monitor_CFLAGS) $(CFLAGS) \ + $(test_mount_monitor_LDFLAGS) $(LDFLAGS) -o $@ +am__test_mount_optstr_SOURCES_DIST = libmount/src/optstr.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@am_test_mount_optstr_OBJECTS = libmount/src/test_mount_optstr-optstr.$(OBJEXT) +test_mount_optstr_OBJECTS = $(am_test_mount_optstr_OBJECTS) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_optstr_DEPENDENCIES = $(am__DEPENDENCIES_31) +test_mount_optstr_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_mount_optstr_CFLAGS) $(CFLAGS) \ + $(test_mount_optstr_LDFLAGS) $(LDFLAGS) -o $@ +am__test_mount_tab_SOURCES_DIST = libmount/src/tab.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@am_test_mount_tab_OBJECTS = libmount/src/test_mount_tab-tab.$(OBJEXT) +test_mount_tab_OBJECTS = $(am_test_mount_tab_OBJECTS) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_tab_DEPENDENCIES = $(am__DEPENDENCIES_31) +test_mount_tab_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_mount_tab_CFLAGS) $(CFLAGS) $(test_mount_tab_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__test_mount_tab_diff_SOURCES_DIST = libmount/src/tab_diff.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@am_test_mount_tab_diff_OBJECTS = libmount/src/test_mount_tab_diff-tab_diff.$(OBJEXT) +test_mount_tab_diff_OBJECTS = $(am_test_mount_tab_diff_OBJECTS) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_tab_diff_DEPENDENCIES = $(am__DEPENDENCIES_31) +test_mount_tab_diff_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_mount_tab_diff_CFLAGS) $(CFLAGS) \ + $(test_mount_tab_diff_LDFLAGS) $(LDFLAGS) -o $@ +am__test_mount_tab_update_SOURCES_DIST = libmount/src/tab_update.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@am_test_mount_tab_update_OBJECTS = libmount/src/test_mount_tab_update-tab_update.$(OBJEXT) +test_mount_tab_update_OBJECTS = $(am_test_mount_tab_update_OBJECTS) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_tab_update_DEPENDENCIES = $(am__DEPENDENCIES_31) +test_mount_tab_update_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_mount_tab_update_CFLAGS) $(CFLAGS) \ + $(test_mount_tab_update_LDFLAGS) $(LDFLAGS) -o $@ +am__test_mount_utils_SOURCES_DIST = libmount/src/utils.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@am_test_mount_utils_OBJECTS = libmount/src/test_mount_utils-utils.$(OBJEXT) +test_mount_utils_OBJECTS = $(am_test_mount_utils_OBJECTS) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_utils_DEPENDENCIES = $(am__DEPENDENCIES_31) +test_mount_utils_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_mount_utils_CFLAGS) $(CFLAGS) \ + $(test_mount_utils_LDFLAGS) $(LDFLAGS) -o $@ +am__test_mount_version_SOURCES_DIST = libmount/src/version.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@am_test_mount_version_OBJECTS = libmount/src/test_mount_version-version.$(OBJEXT) +test_mount_version_OBJECTS = $(am_test_mount_version_OBJECTS) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_version_DEPENDENCIES = $(am__DEPENDENCIES_31) +test_mount_version_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_mount_version_CFLAGS) $(CFLAGS) \ + $(test_mount_version_LDFLAGS) $(LDFLAGS) -o $@ +am__test_pager_SOURCES_DIST = lib/pager.c +@LINUX_TRUE@am_test_pager_OBJECTS = lib/test_pager-pager.$(OBJEXT) +test_pager_OBJECTS = $(am_test_pager_OBJECTS) +test_pager_LDADD = $(LDADD) +test_pager_DEPENDENCIES = $(am__DEPENDENCIES_1) +test_pager_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_pager_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__test_path_SOURCES_DIST = lib/path.c lib/fileutils.c lib/cpuset.c +@HAVE_CPU_SET_T_TRUE@@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@am__objects_33 = lib/test_path-cpuset.$(OBJEXT) +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@am_test_path_OBJECTS = lib/test_path-path.$(OBJEXT) \ +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@ lib/test_path-fileutils.$(OBJEXT) \ +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@ $(am__objects_33) +test_path_OBJECTS = $(am_test_path_OBJECTS) +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@test_path_DEPENDENCIES = \ +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@ $(am__DEPENDENCIES_2) +test_path_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_path_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am_test_pathnames_OBJECTS = tests/helpers/test_pathnames.$(OBJEXT) +test_pathnames_OBJECTS = $(am_test_pathnames_OBJECTS) +test_pathnames_LDADD = $(LDADD) +test_pathnames_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__test_procutils_SOURCES_DIST = lib/procutils.c +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@am_test_procutils_OBJECTS = lib/test_procutils-procutils.$(OBJEXT) +test_procutils_OBJECTS = $(am_test_procutils_OBJECTS) +test_procutils_LDADD = $(LDADD) +test_procutils_DEPENDENCIES = $(am__DEPENDENCIES_1) +test_procutils_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_procutils_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o \ + $@ +am_test_pwdutils_OBJECTS = lib/test_pwdutils-pwdutils.$(OBJEXT) +test_pwdutils_OBJECTS = $(am_test_pwdutils_OBJECTS) +test_pwdutils_LDADD = $(LDADD) +test_pwdutils_DEPENDENCIES = $(am__DEPENDENCIES_1) +test_pwdutils_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_pwdutils_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am_test_randutils_OBJECTS = lib/test_randutils-randutils.$(OBJEXT) +test_randutils_OBJECTS = $(am_test_randutils_OBJECTS) +test_randutils_LDADD = $(LDADD) +test_randutils_DEPENDENCIES = $(am__DEPENDENCIES_1) +test_randutils_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_randutils_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o \ + $@ +am__test_script_SOURCES_DIST = term-utils/script.c lib/monotonic.c +@BUILD_SCRIPT_TRUE@am__objects_34 = \ +@BUILD_SCRIPT_TRUE@ term-utils/test_script-script.$(OBJEXT) \ +@BUILD_SCRIPT_TRUE@ lib/test_script-monotonic.$(OBJEXT) +@BUILD_SCRIPT_TRUE@am_test_script_OBJECTS = $(am__objects_34) +test_script_OBJECTS = $(am_test_script_OBJECTS) +@BUILD_SCRIPT_TRUE@am__DEPENDENCIES_32 = $(am__DEPENDENCIES_2) \ +@BUILD_SCRIPT_TRUE@ libcommon.la $(am__DEPENDENCIES_1) \ +@BUILD_SCRIPT_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +@BUILD_SCRIPT_TRUE@test_script_DEPENDENCIES = $(am__DEPENDENCIES_32) +test_script_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_script_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am_test_sha1_OBJECTS = tests/helpers/test_sha1.$(OBJEXT) \ + lib/sha1.$(OBJEXT) +test_sha1_OBJECTS = $(am_test_sha1_OBJECTS) +test_sha1_LDADD = $(LDADD) +test_sha1_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_test_sigreceive_OBJECTS = tests/helpers/test_sigreceive.$(OBJEXT) +test_sigreceive_OBJECTS = $(am_test_sigreceive_OBJECTS) +test_sigreceive_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +am_test_strutils_OBJECTS = lib/test_strutils-strutils.$(OBJEXT) +test_strutils_OBJECTS = $(am_test_strutils_OBJECTS) +test_strutils_LDADD = $(LDADD) +test_strutils_DEPENDENCIES = $(am__DEPENDENCIES_1) +test_strutils_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_strutils_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__test_sysfs_SOURCES_DIST = lib/sysfs.c lib/path.c lib/fileutils.c \ + lib/cpuset.c +@HAVE_CPU_SET_T_TRUE@@LINUX_TRUE@am__objects_35 = lib/test_sysfs-cpuset.$(OBJEXT) +@LINUX_TRUE@am_test_sysfs_OBJECTS = lib/test_sysfs-sysfs.$(OBJEXT) \ +@LINUX_TRUE@ lib/test_sysfs-path.$(OBJEXT) \ +@LINUX_TRUE@ lib/test_sysfs-fileutils.$(OBJEXT) \ +@LINUX_TRUE@ $(am__objects_35) +test_sysfs_OBJECTS = $(am_test_sysfs_OBJECTS) +@LINUX_TRUE@test_sysfs_DEPENDENCIES = $(am__DEPENDENCIES_2) +test_sysfs_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_sysfs_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am_test_sysinfo_OBJECTS = tests/helpers/test_sysinfo.$(OBJEXT) +test_sysinfo_OBJECTS = $(am_test_sysinfo_OBJECTS) +test_sysinfo_LDADD = $(LDADD) +test_sysinfo_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_test_timeutils_OBJECTS = lib/test_timeutils-timeutils.$(OBJEXT) \ + lib/test_timeutils-strutils.$(OBJEXT) +test_timeutils_OBJECTS = $(am_test_timeutils_OBJECTS) +test_timeutils_LDADD = $(LDADD) +test_timeutils_DEPENDENCIES = $(am__DEPENDENCIES_1) +test_timeutils_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_timeutils_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o \ + $@ +am_test_tiocsti_OBJECTS = tests/helpers/test_tiocsti.$(OBJEXT) +test_tiocsti_OBJECTS = $(am_test_tiocsti_OBJECTS) +test_tiocsti_LDADD = $(LDADD) +test_tiocsti_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_test_ttyutils_OBJECTS = lib/test_ttyutils-ttyutils.$(OBJEXT) +test_ttyutils_OBJECTS = $(am_test_ttyutils_OBJECTS) +test_ttyutils_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +test_ttyutils_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_ttyutils_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am_test_uuid_namespace_OBJECTS = \ + tests/helpers/test_uuid_namespace.$(OBJEXT) \ + libuuid/src/predefined.$(OBJEXT) libuuid/src/unpack.$(OBJEXT) \ + libuuid/src/unparse.$(OBJEXT) +test_uuid_namespace_OBJECTS = $(am_test_uuid_namespace_OBJECTS) +test_uuid_namespace_LDADD = $(LDADD) +test_uuid_namespace_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__test_uuid_parser_SOURCES_DIST = libuuid/src/test_uuid.c +@BUILD_LIBUUID_TRUE@am_test_uuid_parser_OBJECTS = libuuid/src/test_uuid_parser-test_uuid.$(OBJEXT) +test_uuid_parser_OBJECTS = $(am_test_uuid_parser_OBJECTS) +@BUILD_LIBUUID_TRUE@test_uuid_parser_DEPENDENCIES = libuuid.la \ +@BUILD_LIBUUID_TRUE@ $(am__DEPENDENCIES_1) \ +@BUILD_LIBUUID_TRUE@ $(am__DEPENDENCIES_2) +test_uuid_parser_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_uuid_parser_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ + -o $@ +am__test_uuidd_SOURCES_DIST = misc-utils/test_uuidd.c +@BUILD_UUIDD_TRUE@am_test_uuidd_OBJECTS = \ +@BUILD_UUIDD_TRUE@ misc-utils/test_uuidd-test_uuidd.$(OBJEXT) +test_uuidd_OBJECTS = $(am_test_uuidd_OBJECTS) +@BUILD_UUIDD_TRUE@test_uuidd_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_UUIDD_TRUE@ libcommon.la libuuid.la +test_uuidd_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_uuidd_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__tunelp_SOURCES_DIST = sys-utils/tunelp.c +@BUILD_TUNELP_TRUE@am_tunelp_OBJECTS = sys-utils/tunelp.$(OBJEXT) +tunelp_OBJECTS = $(am_tunelp_OBJECTS) +@BUILD_TUNELP_TRUE@tunelp_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_TUNELP_TRUE@ libcommon.la +am__ul_SOURCES_DIST = text-utils/ul.c +@BUILD_UL_TRUE@am_ul_OBJECTS = text-utils/ul-ul.$(OBJEXT) +ul_OBJECTS = $(am_ul_OBJECTS) +@BUILD_UL_TRUE@@HAVE_TINFO_TRUE@am__DEPENDENCIES_33 = \ +@BUILD_UL_TRUE@@HAVE_TINFO_TRUE@ $(am__DEPENDENCIES_1) \ +@BUILD_UL_TRUE@@HAVE_TINFO_TRUE@ $(am__DEPENDENCIES_1) +@BUILD_UL_TRUE@@HAVE_TINFO_FALSE@am__DEPENDENCIES_34 = \ +@BUILD_UL_TRUE@@HAVE_TINFO_FALSE@ $(am__DEPENDENCIES_1) +@BUILD_UL_TRUE@ul_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_UL_TRUE@ $(am__DEPENDENCIES_33) $(am__DEPENDENCIES_34) +ul_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(ul_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__umount_SOURCES_DIST = sys-utils/umount.c +@BUILD_MOUNT_TRUE@am_umount_OBJECTS = \ +@BUILD_MOUNT_TRUE@ sys-utils/umount-umount.$(OBJEXT) +umount_OBJECTS = $(am_umount_OBJECTS) +@BUILD_MOUNT_TRUE@umount_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_MOUNT_TRUE@ libcommon.la libmount.la +umount_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(umount_CFLAGS) $(CFLAGS) \ + $(umount_LDFLAGS) $(LDFLAGS) -o $@ +am__umount_static_SOURCES_DIST = sys-utils/umount.c +@BUILD_MOUNT_TRUE@am__objects_36 = \ +@BUILD_MOUNT_TRUE@ sys-utils/umount_static-umount.$(OBJEXT) +@BUILD_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@am_umount_static_OBJECTS = \ +@BUILD_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@ $(am__objects_36) +umount_static_OBJECTS = $(am_umount_static_OBJECTS) +@BUILD_MOUNT_TRUE@am__DEPENDENCIES_35 = $(am__DEPENDENCIES_2) \ +@BUILD_MOUNT_TRUE@ libcommon.la libmount.la +@BUILD_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@umount_static_DEPENDENCIES = $(am__DEPENDENCIES_35) +umount_static_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(umount_static_CFLAGS) \ + $(CFLAGS) $(umount_static_LDFLAGS) $(LDFLAGS) -o $@ +am__unshare_SOURCES_DIST = sys-utils/unshare.c +@BUILD_UNSHARE_TRUE@am_unshare_OBJECTS = \ +@BUILD_UNSHARE_TRUE@ sys-utils/unshare-unshare.$(OBJEXT) +unshare_OBJECTS = $(am_unshare_OBJECTS) +@BUILD_UNSHARE_TRUE@unshare_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_UNSHARE_TRUE@ libcommon.la +unshare_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(unshare_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__unshare_static_SOURCES_DIST = sys-utils/unshare.c +@BUILD_UNSHARE_TRUE@am__objects_37 = sys-utils/unshare_static-unshare.$(OBJEXT) +@BUILD_UNSHARE_TRUE@@HAVE_STATIC_UNSHARE_TRUE@am_unshare_static_OBJECTS = $(am__objects_37) +unshare_static_OBJECTS = $(am_unshare_static_OBJECTS) +@BUILD_UNSHARE_TRUE@am__DEPENDENCIES_36 = $(am__DEPENDENCIES_2) \ +@BUILD_UNSHARE_TRUE@ libcommon.la +@BUILD_UNSHARE_TRUE@@HAVE_STATIC_UNSHARE_TRUE@unshare_static_DEPENDENCIES = $(am__DEPENDENCIES_36) +unshare_static_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(unshare_static_CFLAGS) $(CFLAGS) $(unshare_static_LDFLAGS) \ + $(LDFLAGS) -o $@ +am__utmpdump_SOURCES_DIST = login-utils/utmpdump.c +@BUILD_UTMPDUMP_TRUE@am_utmpdump_OBJECTS = \ +@BUILD_UTMPDUMP_TRUE@ login-utils/utmpdump.$(OBJEXT) +utmpdump_OBJECTS = $(am_utmpdump_OBJECTS) +@BUILD_UTMPDUMP_TRUE@utmpdump_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_UTMPDUMP_TRUE@ libcommon.la +am__uuidd_SOURCES_DIST = misc-utils/uuidd.c lib/monotonic.c \ + lib/timer.c +@BUILD_UUIDD_TRUE@am_uuidd_OBJECTS = misc-utils/uuidd-uuidd.$(OBJEXT) \ +@BUILD_UUIDD_TRUE@ lib/uuidd-monotonic.$(OBJEXT) \ +@BUILD_UUIDD_TRUE@ lib/uuidd-timer.$(OBJEXT) +uuidd_OBJECTS = $(am_uuidd_OBJECTS) +@BUILD_UUIDD_TRUE@@HAVE_SYSTEMD_TRUE@am__DEPENDENCIES_37 = \ +@BUILD_UUIDD_TRUE@@HAVE_SYSTEMD_TRUE@ $(am__DEPENDENCIES_1) \ +@BUILD_UUIDD_TRUE@@HAVE_SYSTEMD_TRUE@ $(am__DEPENDENCIES_1) +@BUILD_UUIDD_TRUE@uuidd_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_UUIDD_TRUE@ libuuid.la libcommon.la \ +@BUILD_UUIDD_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_37) +uuidd_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(uuidd_CFLAGS) $(CFLAGS) \ + $(uuidd_LDFLAGS) $(LDFLAGS) -o $@ +am__uuidgen_SOURCES_DIST = misc-utils/uuidgen.c +@BUILD_UUIDGEN_TRUE@am_uuidgen_OBJECTS = \ +@BUILD_UUIDGEN_TRUE@ misc-utils/uuidgen-uuidgen.$(OBJEXT) +uuidgen_OBJECTS = $(am_uuidgen_OBJECTS) +@BUILD_UUIDGEN_TRUE@uuidgen_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_UUIDGEN_TRUE@ libuuid.la +uuidgen_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(uuidgen_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__uuidparse_SOURCES_DIST = misc-utils/uuidparse.c +@BUILD_UUIDPARSE_TRUE@am_uuidparse_OBJECTS = misc-utils/uuidparse-uuidparse.$(OBJEXT) +uuidparse_OBJECTS = $(am_uuidparse_OBJECTS) +@BUILD_UUIDPARSE_TRUE@uuidparse_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_UUIDPARSE_TRUE@ libcommon.la libuuid.la libsmartcols.la +uuidparse_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(uuidparse_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__vipw_SOURCES_DIST = login-utils/vipw.c login-utils/setpwnam.h +@BUILD_VIPW_TRUE@am_vipw_OBJECTS = login-utils/vipw.$(OBJEXT) +vipw_OBJECTS = $(am_vipw_OBJECTS) +@BUILD_VIPW_TRUE@vipw_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_VIPW_TRUE@ libcommon.la $(am__DEPENDENCIES_1) +am__wall_SOURCES_DIST = term-utils/wall.c term-utils/ttymsg.c \ + term-utils/ttymsg.h +@BUILD_WALL_TRUE@am_wall_OBJECTS = term-utils/wall-wall.$(OBJEXT) \ +@BUILD_WALL_TRUE@ term-utils/wall-ttymsg.$(OBJEXT) +wall_OBJECTS = $(am_wall_OBJECTS) +@BUILD_WALL_TRUE@wall_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_WALL_TRUE@ libcommon.la +wall_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(wall_CFLAGS) $(CFLAGS) \ + $(wall_LDFLAGS) $(LDFLAGS) -o $@ +am__wdctl_SOURCES_DIST = sys-utils/wdctl.c +@BUILD_WDCTL_TRUE@am_wdctl_OBJECTS = sys-utils/wdctl-wdctl.$(OBJEXT) +wdctl_OBJECTS = $(am_wdctl_OBJECTS) +@BUILD_WDCTL_TRUE@wdctl_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_WDCTL_TRUE@ libcommon.la libsmartcols.la +wdctl_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(wdctl_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__whereis_SOURCES_DIST = misc-utils/whereis.c +@BUILD_WHEREIS_TRUE@am_whereis_OBJECTS = misc-utils/whereis.$(OBJEXT) +whereis_OBJECTS = $(am_whereis_OBJECTS) +@BUILD_WHEREIS_TRUE@whereis_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_WHEREIS_TRUE@ libcommon.la +am__wipefs_SOURCES_DIST = misc-utils/wipefs.c +@BUILD_WIPEFS_TRUE@am_wipefs_OBJECTS = \ +@BUILD_WIPEFS_TRUE@ misc-utils/wipefs-wipefs.$(OBJEXT) +wipefs_OBJECTS = $(am_wipefs_OBJECTS) +@BUILD_WIPEFS_TRUE@wipefs_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_WIPEFS_TRUE@ libblkid.la libcommon.la libsmartcols.la +wipefs_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(wipefs_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__write_SOURCES_DIST = term-utils/write.c +@BUILD_WRITE_TRUE@am_write_OBJECTS = term-utils/write-write.$(OBJEXT) +write_OBJECTS = $(am_write_OBJECTS) +@BUILD_WRITE_TRUE@write_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_WRITE_TRUE@ libcommon.la +write_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(write_CFLAGS) $(CFLAGS) \ + $(write_LDFLAGS) $(LDFLAGS) -o $@ +am__zramctl_SOURCES_DIST = sys-utils/zramctl.c +@BUILD_ZRAMCTL_TRUE@am_zramctl_OBJECTS = \ +@BUILD_ZRAMCTL_TRUE@ sys-utils/zramctl-zramctl.$(OBJEXT) +zramctl_OBJECTS = $(am_zramctl_OBJECTS) +@BUILD_ZRAMCTL_TRUE@zramctl_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_ZRAMCTL_TRUE@ libcommon.la libsmartcols.la +zramctl_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(zramctl_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__dist_check_SCRIPTS_DIST = libmount/python/test_mount_context.py \ + libmount/python/test_mount_tab.py \ + libmount/python/test_mount_tab_update.py +am__dist_getoptexample_SCRIPTS_DIST = misc-utils/getopt-parse.bash \ + misc-utils/getopt-parse.tcsh +SCRIPTS = $(dist_getoptexample_SCRIPTS) $(dist_usrbin_exec_SCRIPTS) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ +depcomp = $(SHELL) $(top_srcdir)/config/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +am__yacc_c2h = sed -e s/cc$$/hh/ -e s/cpp$$/hpp/ -e s/cxx$$/hxx/ \ + -e s/c++$$/h++/ -e s/c$$/h/ +YACCCOMPILE = $(YACC) $(AM_YFLAGS) $(YFLAGS) +LTYACCCOMPILE = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(YACC) $(AM_YFLAGS) $(YFLAGS) +AM_V_YACC = $(am__v_YACC_@AM_V@) +am__v_YACC_ = $(am__v_YACC_@AM_DEFAULT_V@) +am__v_YACC_0 = @echo " YACC " $@; +am__v_YACC_1 = +YLWRAP = $(top_srcdir)/config/ylwrap +SOURCES = $(libblkid_la_SOURCES) $(libcommon_la_SOURCES) \ + $(libfdisk_la_SOURCES) $(libmount_la_SOURCES) \ + $(libsmartcols_la_SOURCES) $(libtcolors_la_SOURCES) \ + $(libuuid_la_SOURCES) $(pylibmount_la_SOURCES) \ + $(addpart_SOURCES) $(agetty_SOURCES) $(blkdiscard_SOURCES) \ + $(blkid_SOURCES) $(blkid_static_SOURCES) $(blkzone_SOURCES) \ + $(blockdev_SOURCES) $(cal_SOURCES) $(cfdisk_SOURCES) \ + $(chcpu_SOURCES) $(chfn_SOURCES) $(chmem_SOURCES) \ + $(choom_SOURCES) $(chrt_SOURCES) $(chsh_SOURCES) \ + $(col_SOURCES) $(colcrt_SOURCES) $(colrm_SOURCES) \ + $(column_SOURCES) $(ctrlaltdel_SOURCES) $(delpart_SOURCES) \ + $(dmesg_SOURCES) $(eject_SOURCES) $(fallocate_SOURCES) \ + $(fdformat_SOURCES) $(fdisk_SOURCES) $(fdisk_static_SOURCES) \ + $(fincore_SOURCES) $(findfs_SOURCES) $(findmnt_SOURCES) \ + $(flock_SOURCES) $(fsck_SOURCES) $(fsck_cramfs_SOURCES) \ + $(fsck_minix_SOURCES) $(fsfreeze_SOURCES) $(fstrim_SOURCES) \ + $(getopt_SOURCES) $(hexdump_SOURCES) $(hwclock_SOURCES) \ + $(ionice_SOURCES) $(ipcmk_SOURCES) $(ipcrm_SOURCES) \ + $(ipcs_SOURCES) $(isosize_SOURCES) $(kill_SOURCES) \ + $(last_SOURCES) $(ldattach_SOURCES) $(line_SOURCES) \ + $(logger_SOURCES) $(login_SOURCES) $(look_SOURCES) \ + $(losetup_SOURCES) $(losetup_static_SOURCES) $(lsblk_SOURCES) \ + $(lscpu_SOURCES) $(lsipc_SOURCES) $(lslocks_SOURCES) \ + $(lslogins_SOURCES) $(lsmem_SOURCES) $(lsns_SOURCES) \ + $(mcookie_SOURCES) $(mesg_SOURCES) $(mkfs_SOURCES) \ + $(mkfs_bfs_SOURCES) $(mkfs_cramfs_SOURCES) \ + $(mkfs_minix_SOURCES) $(mkswap_SOURCES) $(more_SOURCES) \ + $(mount_SOURCES) $(mount_static_SOURCES) $(mountpoint_SOURCES) \ + $(namei_SOURCES) $(newgrp_SOURCES) $(nologin_SOURCES) \ + $(nsenter_SOURCES) $(nsenter_static_SOURCES) $(partx_SOURCES) \ + $(pg_SOURCES) $(pivot_root_SOURCES) $(prlimit_SOURCES) \ + $(raw_SOURCES) $(readprofile_SOURCES) $(rename_SOURCES) \ + $(renice_SOURCES) $(resizepart_SOURCES) $(rev_SOURCES) \ + $(rfkill_SOURCES) $(rtcwake_SOURCES) $(runuser_SOURCES) \ + $(sample_fdisk_mkpart_SOURCES) \ + $(sample_fdisk_mkpart_fullspec_SOURCES) $(sample_mkfs_SOURCES) \ + $(sample_partitions_SOURCES) \ + $(sample_scols_continuous_SOURCES) \ + $(sample_scols_fromfile_SOURCES) \ + $(sample_scols_maxout_SOURCES) $(sample_scols_title_SOURCES) \ + $(sample_scols_tree_SOURCES) $(sample_scols_wrap_SOURCES) \ + $(sample_superblocks_SOURCES) $(sample_topology_SOURCES) \ + $(script_SOURCES) $(scriptreplay_SOURCES) $(setarch_SOURCES) \ + $(setpriv_SOURCES) $(setsid_SOURCES) $(setterm_SOURCES) \ + $(sfdisk_SOURCES) $(sfdisk_static_SOURCES) $(su_SOURCES) \ + $(sulogin_SOURCES) $(swaplabel_SOURCES) $(swapoff_SOURCES) \ + $(swapon_SOURCES) $(switch_root_SOURCES) $(taskset_SOURCES) \ + $(test_blkdev_SOURCES) $(test_blkid_cache_SOURCES) \ + $(test_blkid_config_SOURCES) $(test_blkid_dev_SOURCES) \ + $(test_blkid_devname_SOURCES) $(test_blkid_devno_SOURCES) \ + $(test_blkid_evaluate_SOURCES) $(test_blkid_read_SOURCES) \ + $(test_blkid_resolve_SOURCES) $(test_blkid_save_SOURCES) \ + $(test_blkid_tag_SOURCES) $(test_blkid_verify_SOURCES) \ + $(test_byteswap_SOURCES) $(test_cal_SOURCES) \ + $(test_canonicalize_SOURCES) $(test_colors_SOURCES) \ + $(test_consoles_SOURCES) $(test_cpuset_SOURCES) \ + $(test_dmesg_SOURCES) $(test_fdisk_ask_SOURCES) \ + $(test_fdisk_gpt_SOURCES) $(test_fdisk_item_SOURCES) \ + $(test_fdisk_script_SOURCES) $(test_fdisk_utils_SOURCES) \ + $(test_fdisk_version_SOURCES) $(test_fileutils_SOURCES) \ + $(test_islocal_SOURCES) $(test_ismounted_SOURCES) \ + $(test_linux_version_SOURCES) $(test_logger_SOURCES) \ + $(test_logindefs_SOURCES) $(test_mangle_SOURCES) \ + $(test_mbsencode_SOURCES) $(test_md5_SOURCES) \ + $(test_mkfs_minix_SOURCES) $(test_more_SOURCES) \ + $(test_mount_cache_SOURCES) $(test_mount_context_SOURCES) \ + $(test_mount_debug_SOURCES) $(test_mount_lock_SOURCES) \ + $(test_mount_monitor_SOURCES) $(test_mount_optstr_SOURCES) \ + $(test_mount_tab_SOURCES) $(test_mount_tab_diff_SOURCES) \ + $(test_mount_tab_update_SOURCES) $(test_mount_utils_SOURCES) \ + $(test_mount_version_SOURCES) $(test_pager_SOURCES) \ + $(test_path_SOURCES) $(test_pathnames_SOURCES) \ + $(test_procutils_SOURCES) $(test_pwdutils_SOURCES) \ + $(test_randutils_SOURCES) $(test_script_SOURCES) \ + $(test_sha1_SOURCES) $(test_sigreceive_SOURCES) \ + $(test_strutils_SOURCES) $(test_sysfs_SOURCES) \ + $(test_sysinfo_SOURCES) $(test_timeutils_SOURCES) \ + $(test_tiocsti_SOURCES) $(test_ttyutils_SOURCES) \ + $(test_uuid_namespace_SOURCES) $(test_uuid_parser_SOURCES) \ + $(test_uuidd_SOURCES) $(tunelp_SOURCES) $(ul_SOURCES) \ + $(umount_SOURCES) $(umount_static_SOURCES) $(unshare_SOURCES) \ + $(unshare_static_SOURCES) $(utmpdump_SOURCES) $(uuidd_SOURCES) \ + $(uuidgen_SOURCES) $(uuidparse_SOURCES) $(vipw_SOURCES) \ + $(wall_SOURCES) $(wdctl_SOURCES) $(whereis_SOURCES) \ + $(wipefs_SOURCES) $(write_SOURCES) $(zramctl_SOURCES) +DIST_SOURCES = $(am__libblkid_la_SOURCES_DIST) \ + $(am__libcommon_la_SOURCES_DIST) \ + $(am__libfdisk_la_SOURCES_DIST) \ + $(am__libmount_la_SOURCES_DIST) \ + $(am__libsmartcols_la_SOURCES_DIST) $(libtcolors_la_SOURCES) \ + $(am__libuuid_la_SOURCES_DIST) \ + $(am__pylibmount_la_SOURCES_DIST) $(am__addpart_SOURCES_DIST) \ + $(am__agetty_SOURCES_DIST) $(am__blkdiscard_SOURCES_DIST) \ + $(am__blkid_SOURCES_DIST) $(am__blkid_static_SOURCES_DIST) \ + $(am__blkzone_SOURCES_DIST) $(am__blockdev_SOURCES_DIST) \ + $(am__cal_SOURCES_DIST) $(am__cfdisk_SOURCES_DIST) \ + $(am__chcpu_SOURCES_DIST) $(am__chfn_SOURCES_DIST) \ + $(am__chmem_SOURCES_DIST) $(am__choom_SOURCES_DIST) \ + $(am__chrt_SOURCES_DIST) $(am__chsh_SOURCES_DIST) \ + $(am__col_SOURCES_DIST) $(am__colcrt_SOURCES_DIST) \ + $(am__colrm_SOURCES_DIST) $(am__column_SOURCES_DIST) \ + $(am__ctrlaltdel_SOURCES_DIST) $(am__delpart_SOURCES_DIST) \ + $(am__dmesg_SOURCES_DIST) $(am__eject_SOURCES_DIST) \ + $(am__fallocate_SOURCES_DIST) $(am__fdformat_SOURCES_DIST) \ + $(am__fdisk_SOURCES_DIST) $(am__fdisk_static_SOURCES_DIST) \ + $(am__fincore_SOURCES_DIST) $(am__findfs_SOURCES_DIST) \ + $(am__findmnt_SOURCES_DIST) $(am__flock_SOURCES_DIST) \ + $(am__fsck_SOURCES_DIST) $(am__fsck_cramfs_SOURCES_DIST) \ + $(am__fsck_minix_SOURCES_DIST) $(am__fsfreeze_SOURCES_DIST) \ + $(am__fstrim_SOURCES_DIST) $(am__getopt_SOURCES_DIST) \ + $(am__hexdump_SOURCES_DIST) $(am__hwclock_SOURCES_DIST) \ + $(am__ionice_SOURCES_DIST) $(am__ipcmk_SOURCES_DIST) \ + $(am__ipcrm_SOURCES_DIST) $(am__ipcs_SOURCES_DIST) \ + $(am__isosize_SOURCES_DIST) $(am__kill_SOURCES_DIST) \ + $(am__last_SOURCES_DIST) $(am__ldattach_SOURCES_DIST) \ + $(am__line_SOURCES_DIST) $(am__logger_SOURCES_DIST) \ + $(am__login_SOURCES_DIST) $(am__look_SOURCES_DIST) \ + $(am__losetup_SOURCES_DIST) $(am__losetup_static_SOURCES_DIST) \ + $(am__lsblk_SOURCES_DIST) $(am__lscpu_SOURCES_DIST) \ + $(am__lsipc_SOURCES_DIST) $(am__lslocks_SOURCES_DIST) \ + $(am__lslogins_SOURCES_DIST) $(am__lsmem_SOURCES_DIST) \ + $(am__lsns_SOURCES_DIST) $(am__mcookie_SOURCES_DIST) \ + $(am__mesg_SOURCES_DIST) $(am__mkfs_SOURCES_DIST) \ + $(am__mkfs_bfs_SOURCES_DIST) $(am__mkfs_cramfs_SOURCES_DIST) \ + $(am__mkfs_minix_SOURCES_DIST) $(am__mkswap_SOURCES_DIST) \ + $(am__more_SOURCES_DIST) $(am__mount_SOURCES_DIST) \ + $(am__mount_static_SOURCES_DIST) \ + $(am__mountpoint_SOURCES_DIST) $(am__namei_SOURCES_DIST) \ + $(am__newgrp_SOURCES_DIST) $(am__nologin_SOURCES_DIST) \ + $(am__nsenter_SOURCES_DIST) $(am__nsenter_static_SOURCES_DIST) \ + $(am__partx_SOURCES_DIST) $(am__pg_SOURCES_DIST) \ + $(am__pivot_root_SOURCES_DIST) $(am__prlimit_SOURCES_DIST) \ + $(am__raw_SOURCES_DIST) $(am__readprofile_SOURCES_DIST) \ + $(am__rename_SOURCES_DIST) $(am__renice_SOURCES_DIST) \ + $(am__resizepart_SOURCES_DIST) $(am__rev_SOURCES_DIST) \ + $(am__rfkill_SOURCES_DIST) $(am__rtcwake_SOURCES_DIST) \ + $(am__runuser_SOURCES_DIST) \ + $(am__sample_fdisk_mkpart_SOURCES_DIST) \ + $(am__sample_fdisk_mkpart_fullspec_SOURCES_DIST) \ + $(am__sample_mkfs_SOURCES_DIST) \ + $(am__sample_partitions_SOURCES_DIST) \ + $(am__sample_scols_continuous_SOURCES_DIST) \ + $(am__sample_scols_fromfile_SOURCES_DIST) \ + $(am__sample_scols_maxout_SOURCES_DIST) \ + $(am__sample_scols_title_SOURCES_DIST) \ + $(am__sample_scols_tree_SOURCES_DIST) \ + $(am__sample_scols_wrap_SOURCES_DIST) \ + $(am__sample_superblocks_SOURCES_DIST) \ + $(am__sample_topology_SOURCES_DIST) $(am__script_SOURCES_DIST) \ + $(am__scriptreplay_SOURCES_DIST) $(am__setarch_SOURCES_DIST) \ + $(am__setpriv_SOURCES_DIST) $(am__setsid_SOURCES_DIST) \ + $(am__setterm_SOURCES_DIST) $(am__sfdisk_SOURCES_DIST) \ + $(am__sfdisk_static_SOURCES_DIST) $(am__su_SOURCES_DIST) \ + $(am__sulogin_SOURCES_DIST) $(am__swaplabel_SOURCES_DIST) \ + $(am__swapoff_SOURCES_DIST) $(am__swapon_SOURCES_DIST) \ + $(am__switch_root_SOURCES_DIST) $(am__taskset_SOURCES_DIST) \ + $(test_blkdev_SOURCES) $(am__test_blkid_cache_SOURCES_DIST) \ + $(am__test_blkid_config_SOURCES_DIST) \ + $(am__test_blkid_dev_SOURCES_DIST) \ + $(am__test_blkid_devname_SOURCES_DIST) \ + $(am__test_blkid_devno_SOURCES_DIST) \ + $(am__test_blkid_evaluate_SOURCES_DIST) \ + $(am__test_blkid_read_SOURCES_DIST) \ + $(am__test_blkid_resolve_SOURCES_DIST) \ + $(am__test_blkid_save_SOURCES_DIST) \ + $(am__test_blkid_tag_SOURCES_DIST) \ + $(am__test_blkid_verify_SOURCES_DIST) $(test_byteswap_SOURCES) \ + $(am__test_cal_SOURCES_DIST) $(test_canonicalize_SOURCES) \ + $(test_colors_SOURCES) $(am__test_consoles_SOURCES_DIST) \ + $(am__test_cpuset_SOURCES_DIST) $(am__test_dmesg_SOURCES_DIST) \ + $(am__test_fdisk_ask_SOURCES_DIST) \ + $(am__test_fdisk_gpt_SOURCES_DIST) \ + $(am__test_fdisk_item_SOURCES_DIST) \ + $(am__test_fdisk_script_SOURCES_DIST) \ + $(am__test_fdisk_utils_SOURCES_DIST) \ + $(am__test_fdisk_version_SOURCES_DIST) \ + $(test_fileutils_SOURCES) $(test_islocal_SOURCES) \ + $(test_ismounted_SOURCES) \ + $(am__test_linux_version_SOURCES_DIST) \ + $(am__test_logger_SOURCES_DIST) $(test_logindefs_SOURCES) \ + $(test_mangle_SOURCES) $(test_mbsencode_SOURCES) \ + $(test_md5_SOURCES) $(am__test_mkfs_minix_SOURCES_DIST) \ + $(am__test_more_SOURCES_DIST) \ + $(am__test_mount_cache_SOURCES_DIST) \ + $(am__test_mount_context_SOURCES_DIST) \ + $(am__test_mount_debug_SOURCES_DIST) \ + $(am__test_mount_lock_SOURCES_DIST) \ + $(am__test_mount_monitor_SOURCES_DIST) \ + $(am__test_mount_optstr_SOURCES_DIST) \ + $(am__test_mount_tab_SOURCES_DIST) \ + $(am__test_mount_tab_diff_SOURCES_DIST) \ + $(am__test_mount_tab_update_SOURCES_DIST) \ + $(am__test_mount_utils_SOURCES_DIST) \ + $(am__test_mount_version_SOURCES_DIST) \ + $(am__test_pager_SOURCES_DIST) $(am__test_path_SOURCES_DIST) \ + $(test_pathnames_SOURCES) $(am__test_procutils_SOURCES_DIST) \ + $(test_pwdutils_SOURCES) $(test_randutils_SOURCES) \ + $(am__test_script_SOURCES_DIST) $(test_sha1_SOURCES) \ + $(test_sigreceive_SOURCES) $(test_strutils_SOURCES) \ + $(am__test_sysfs_SOURCES_DIST) $(test_sysinfo_SOURCES) \ + $(test_timeutils_SOURCES) $(test_tiocsti_SOURCES) \ + $(test_ttyutils_SOURCES) $(test_uuid_namespace_SOURCES) \ + $(am__test_uuid_parser_SOURCES_DIST) \ + $(am__test_uuidd_SOURCES_DIST) $(am__tunelp_SOURCES_DIST) \ + $(am__ul_SOURCES_DIST) $(am__umount_SOURCES_DIST) \ + $(am__umount_static_SOURCES_DIST) $(am__unshare_SOURCES_DIST) \ + $(am__unshare_static_SOURCES_DIST) \ + $(am__utmpdump_SOURCES_DIST) $(am__uuidd_SOURCES_DIST) \ + $(am__uuidgen_SOURCES_DIST) $(am__uuidparse_SOURCES_DIST) \ + $(am__vipw_SOURCES_DIST) $(am__wall_SOURCES_DIST) \ + $(am__wdctl_SOURCES_DIST) $(am__whereis_SOURCES_DIST) \ + $(am__wipefs_SOURCES_DIST) $(am__write_SOURCES_DIST) \ + $(am__zramctl_SOURCES_DIST) +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__pylibmountexec_PYTHON_DIST = libmount/python/__init__.py +am__py_compile = PYTHON=$(PYTHON) $(SHELL) $(py_compile) +am__pep3147_tweak = \ + sed -e 's|\.py$$||' -e 's|[^/]*$$|__pycache__/&.*.py|' +py_compile = $(top_srcdir)/config/py-compile +man1dir = $(mandir)/man1 +man3dir = $(mandir)/man3 +man5dir = $(mandir)/man5 +man8dir = $(mandir)/man8 +NROFF = nroff +MANS = $(dist_man_MANS) $(man_MANS) +am__dist_bashcompletion_DATA_DIST = bash-completion/blkid \ + bash-completion/cal bash-completion/col bash-completion/colcrt \ + bash-completion/colrm bash-completion/column \ + bash-completion/fincore bash-completion/findfs \ + bash-completion/findmnt bash-completion/flock \ + bash-completion/getopt bash-completion/hexdump \ + bash-completion/ipcmk bash-completion/ipcrm \ + bash-completion/ipcs bash-completion/isosize \ + bash-completion/logger bash-completion/look \ + bash-completion/lsipc bash-completion/lsns \ + bash-completion/mcookie bash-completion/mkfs \ + bash-completion/mkswap bash-completion/namei \ + bash-completion/prlimit bash-completion/readprofile \ + bash-completion/renice bash-completion/rev \ + bash-completion/script bash-completion/scriptreplay \ + bash-completion/setsid bash-completion/whereis \ + bash-completion/wipefs bash-completion/fsck \ + bash-completion/mkfs.bfs bash-completion/fsck.minix \ + bash-completion/mkfs.minix bash-completion/fsck.cramfs \ + bash-completion/mkfs.cramfs bash-completion/addpart \ + bash-completion/delpart bash-completion/resizepart \ + bash-completion/partx bash-completion/raw \ + bash-completion/swaplabel bash-completion/fdformat \ + bash-completion/blockdev bash-completion/fdisk \ + bash-completion/sfdisk bash-completion/cfdisk \ + bash-completion/chfn bash-completion/chsh bash-completion/last \ + bash-completion/lslogins bash-completion/newgrp \ + bash-completion/su bash-completion/utmpdump \ + bash-completion/uuidgen bash-completion/uuidparse \ + bash-completion/uuidd bash-completion/lsblk \ + bash-completion/lslocks bash-completion/rename \ + bash-completion/chrt bash-completion/ionice \ + bash-completion/taskset bash-completion/chcpu \ + bash-completion/chmem bash-completion/eject \ + bash-completion/fallocate bash-completion/hwclock \ + bash-completion/tunelp bash-completion/lscpu \ + bash-completion/lsmem bash-completion/losetup \ + bash-completion/mount bash-completion/umount \ + bash-completion/mountpoint bash-completion/nsenter \ + bash-completion/pivot_root bash-completion/setpriv \ + bash-completion/swapon bash-completion/swapoff \ + bash-completion/unshare bash-completion/wdctl \ + bash-completion/blkdiscard bash-completion/blkzone \ + bash-completion/ctrlaltdel bash-completion/dmesg \ + bash-completion/fsfreeze bash-completion/fstrim \ + bash-completion/ldattach bash-completion/rfkill \ + bash-completion/rtcwake bash-completion/setarch \ + bash-completion/zramctl bash-completion/mesg \ + bash-completion/wall bash-completion/write \ + bash-completion/setterm bash-completion/more \ + bash-completion/pg bash-completion/ul +am__dist_noinst_DATA_DIST = lib/terminal-colors.d.5 libuuid/man/uuid.3 \ + libuuid/man/uuid_clear.3 libuuid/man/uuid_compare.3 \ + libuuid/man/uuid_copy.3 libuuid/man/uuid_generate.3 \ + libuuid/man/uuid_is_null.3 libuuid/man/uuid_parse.3 \ + libuuid/man/uuid_time.3 libuuid/man/uuid_unparse.3 \ + libuuid/man/uuid_generate_random.3 \ + libuuid/man/uuid_generate_time.3 \ + libuuid/man/uuid_generate_time_safe.3 libblkid/libblkid.3 \ + schedutils/chrt.1 schedutils/ionice.1 schedutils/taskset.1 \ + text-utils/col.1 text-utils/colcrt.1 text-utils/colrm.1 \ + text-utils/column.1 text-utils/hexdump.1 text-utils/rev.1 \ + text-utils/line.1 text-utils/pg.1 text-utils/ul.1 \ + text-utils/more.1 term-utils/script.1 \ + term-utils/scriptreplay.1 term-utils/agetty.8 \ + term-utils/setterm.1 term-utils/mesg.1 term-utils/wall.1 \ + term-utils/write.1 login-utils/last.1 login-utils/lastb.1 \ + login-utils/sulogin.8 login-utils/login.1 \ + login-utils/nologin.8 login-utils/utmpdump.1 \ + login-utils/chfn.1 login-utils/chsh.1 login-utils/su.1 \ + login-utils/runuser.1 login-utils/newgrp.1 \ + login-utils/lslogins.1 login-utils/vigr.8 login-utils/vipw.8 \ + sys-utils/lsmem.1 sys-utils/chmem.8 sys-utils/flock.1 \ + sys-utils/choom.1 sys-utils/ipcmk.1 sys-utils/ipcrm.1 \ + sys-utils/ipcs.1 sys-utils/lsipc.1 sys-utils/renice.1 \ + sys-utils/rfkill.8 sys-utils/setsid.1 sys-utils/readprofile.8 \ + sys-utils/tunelp.8 sys-utils/fstrim.8 sys-utils/dmesg.1 \ + sys-utils/ctrlaltdel.8 sys-utils/fsfreeze.8 \ + sys-utils/blkdiscard.8 sys-utils/blkzone.8 \ + sys-utils/ldattach.8 sys-utils/rtcwake.8 sys-utils/setarch.8 \ + sys-utils/eject.1 sys-utils/losetup.8 sys-utils/zramctl.8 \ + sys-utils/prlimit.1 sys-utils/lsns.8 sys-utils/mount.8 \ + sys-utils/fstab.5 sys-utils/umount.8 sys-utils/swapoff.8 \ + sys-utils/swapon.8 sys-utils/lscpu.1 sys-utils/chcpu.8 \ + sys-utils/wdctl.8 sys-utils/mountpoint.1 sys-utils/fallocate.1 \ + sys-utils/pivot_root.8 sys-utils/switch_root.8 \ + sys-utils/unshare.1 sys-utils/nsenter.1 sys-utils/hwclock.8 \ + sys-utils/adjtime_config.5 sys-utils/setpriv.1 \ + misc-utils/cal.1 misc-utils/logger.1 misc-utils/look.1 \ + misc-utils/mcookie.1 misc-utils/namei.1 misc-utils/whereis.1 \ + misc-utils/lslocks.8 misc-utils/lsblk.8 misc-utils/uuidgen.1 \ + misc-utils/uuidparse.1 misc-utils/uuidd.8 misc-utils/blkid.8 \ + misc-utils/findfs.8 misc-utils/wipefs.8 misc-utils/findmnt.8 \ + misc-utils/kill.1 misc-utils/rename.1 misc-utils/getopt.1 \ + misc-utils/fincore.1 disk-utils/fsck.minix.8 \ + disk-utils/mkfs.minix.8 disk-utils/mkfs.8 disk-utils/isosize.8 \ + disk-utils/mkfs.bfs.8 disk-utils/mkswap.8 \ + disk-utils/swaplabel.8 disk-utils/fsck.8 disk-utils/raw.8 \ + disk-utils/fsck.cramfs.8 disk-utils/mkfs.cramfs.8 \ + disk-utils/fdformat.8 disk-utils/blockdev.8 disk-utils/fdisk.8 \ + disk-utils/sfdisk.8 disk-utils/cfdisk.8 disk-utils/addpart.8 \ + disk-utils/delpart.8 disk-utils/resizepart.8 \ + disk-utils/partx.8 +DATA = $(dist_bashcompletion_DATA) $(dist_noinst_DATA) \ + $(pkgconfig_DATA) $(systemdsystemunit_DATA) +am__uuidinc_HEADERS_DIST = libuuid/src/uuid.h +HEADERS = $(dist_noinst_HEADERS) $(nodist_blkidinc_HEADERS) \ + $(nodist_fdiskinc_HEADERS) $(nodist_mountinc_HEADERS) \ + $(nodist_smartcolsinc_HEADERS) $(uuidinc_HEADERS) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + cscope distdir dist dist-all distcheck +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ + $(LISP)config.h.in +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +CSCOPE = cscope +DIST_SUBDIRS = po libblkid/docs libmount/docs libsmartcols/docs \ + libfdisk/docs +am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in \ + $(srcdir)/bash-completion/Makemodule.am $(srcdir)/config.h.in \ + $(srcdir)/disk-utils/Makemodule.am \ + $(srcdir)/include/Makemodule.am $(srcdir)/lib/Makemodule.am \ + $(srcdir)/libblkid/Makemodule.am \ + $(srcdir)/libblkid/samples/Makemodule.am \ + $(srcdir)/libblkid/src/Makemodule.am \ + $(srcdir)/libfdisk/Makemodule.am \ + $(srcdir)/libfdisk/samples/Makemodule.am \ + $(srcdir)/libfdisk/src/Makemodule.am \ + $(srcdir)/libmount/Makemodule.am \ + $(srcdir)/libmount/python/Makemodule.am \ + $(srcdir)/libmount/src/Makemodule.am \ + $(srcdir)/libsmartcols/Makemodule.am \ + $(srcdir)/libsmartcols/samples/Makemodule.am \ + $(srcdir)/libsmartcols/src/Makemodule.am \ + $(srcdir)/libuuid/Makemodule.am \ + $(srcdir)/libuuid/man/Makemodule.am \ + $(srcdir)/libuuid/src/Makemodule.am \ + $(srcdir)/login-utils/Makemodule.am \ + $(srcdir)/misc-utils/Makemodule.am \ + $(srcdir)/schedutils/Makemodule.am \ + $(srcdir)/sys-utils/Makemodule.am \ + $(srcdir)/term-utils/Makemodule.am \ + $(srcdir)/tests/Makemodule.am \ + $(srcdir)/tests/helpers/Makemodule.am \ + $(srcdir)/text-utils/Makemodule.am \ + $(srcdir)/tools/Makemodule.am $(top_srcdir)/config/ar-lib \ + $(top_srcdir)/config/compile $(top_srcdir)/config/config.guess \ + $(top_srcdir)/config/config.rpath \ + $(top_srcdir)/config/config.sub $(top_srcdir)/config/depcomp \ + $(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \ + $(top_srcdir)/config/missing $(top_srcdir)/config/py-compile \ + $(top_srcdir)/config/ylwrap \ + $(top_srcdir)/libblkid/src/blkid.h.in \ + $(top_srcdir)/libfdisk/src/libfdisk.h.in \ + $(top_srcdir)/libmount/src/libmount.h.in \ + $(top_srcdir)/libsmartcols/src/libsmartcols.h.in ABOUT-NLS \ + AUTHORS COPYING ChangeLog NEWS README config/ar-lib \ + config/compile config/config.guess config/config.rpath \ + config/config.sub config/depcomp config/install-sh \ + config/ltmain.sh config/missing config/py-compile \ + config/ylwrap lib/parse-date.c +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + if test -d "$(distdir)"; then \ + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -rf "$(distdir)" \ + || { sleep 5 && rm -rf "$(distdir)"; }; \ + else :; fi +am__post_remove_distdir = $(am__remove_distdir) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +GZIP_ENV = --best +DIST_ARCHIVES = $(distdir).tar.xz +DIST_TARGETS = dist-xz +distuninstallcheck_listfiles = find . -type f -print +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +ADJTIME_PATH = @ADJTIME_PATH@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BSD_WARN_CFLAGS = @BSD_WARN_CFLAGS@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DAEMON_CFLAGS = @DAEMON_CFLAGS@ +DAEMON_LDFLAGS = @DAEMON_LDFLAGS@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GREP = @GREP@ +GTKDOC_CHECK = @GTKDOC_CHECK@ +HTML_DIR = @HTML_DIR@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBBLKID_DATE = @LIBBLKID_DATE@ +LIBBLKID_VERSION = @LIBBLKID_VERSION@ +LIBBLKID_VERSION_INFO = @LIBBLKID_VERSION_INFO@ +LIBFDISK_MAJOR_VERSION = @LIBFDISK_MAJOR_VERSION@ +LIBFDISK_MINOR_VERSION = @LIBFDISK_MINOR_VERSION@ +LIBFDISK_PATCH_VERSION = @LIBFDISK_PATCH_VERSION@ +LIBFDISK_PC_REQUIRES = @LIBFDISK_PC_REQUIRES@ +LIBFDISK_VERSION = @LIBFDISK_VERSION@ +LIBFDISK_VERSION_INFO = @LIBFDISK_VERSION_INFO@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBMOUNT_MAJOR_VERSION = @LIBMOUNT_MAJOR_VERSION@ +LIBMOUNT_MINOR_VERSION = @LIBMOUNT_MINOR_VERSION@ +LIBMOUNT_PATCH_VERSION = @LIBMOUNT_PATCH_VERSION@ +LIBMOUNT_VERSION = @LIBMOUNT_VERSION@ +LIBMOUNT_VERSION_INFO = @LIBMOUNT_VERSION_INFO@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBSMARTCOLS_VERSION = @LIBSMARTCOLS_VERSION@ +LIBSMARTCOLS_VERSION_INFO = @LIBSMARTCOLS_VERSION_INFO@ +LIBTOOL = @LIBTOOL@ +LIBUSER_CFLAGS = @LIBUSER_CFLAGS@ +LIBUSER_LIBS = @LIBUSER_LIBS@ +LIBUUID_VERSION = @LIBUUID_VERSION@ +LIBUUID_VERSION_INFO = @LIBUUID_VERSION_INFO@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MATH_LIBS = @MATH_LIBS@ +MKDIR_P = @MKDIR_P@ +MSGFMT = @MSGFMT@ +MSGFMT_015 = @MSGFMT_015@ +MSGMERGE = @MSGMERGE@ +NCURSES5_CONFIG = @NCURSES5_CONFIG@ +NCURSES6_CONFIG = @NCURSES6_CONFIG@ +NCURSESW5_CONFIG = @NCURSESW5_CONFIG@ +NCURSESW6_CONFIG = @NCURSESW6_CONFIG@ +NCURSESW_CFLAGS = @NCURSESW_CFLAGS@ +NCURSESW_LIBS = @NCURSESW_LIBS@ +NCURSES_CFLAGS = @NCURSES_CFLAGS@ +NCURSES_LIBS = @NCURSES_LIBS@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NO_UNUSED_WARN_CFLAGS = @NO_UNUSED_WARN_CFLAGS@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POSUB = @POSUB@ +PYTHON = @PYTHON@ +PYTHON_CFLAGS = @PYTHON_CFLAGS@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_LIBS = @PYTHON_LIBS@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +PYTHON_WARN_CFLAGS = @PYTHON_WARN_CFLAGS@ +RANLIB = @RANLIB@ +READLINE_LIBS = @READLINE_LIBS@ +READLINE_LIBS_STATIC = @READLINE_LIBS_STATIC@ +REALTIME_LIBS = @REALTIME_LIBS@ +RTAS_LIBS = @RTAS_LIBS@ +SED = @SED@ +SELINUX_CFLAGS = @SELINUX_CFLAGS@ +SELINUX_LIBS = @SELINUX_LIBS@ +SELINUX_LIBS_STATIC = @SELINUX_LIBS_STATIC@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SOCKET_LIBS = @SOCKET_LIBS@ +SOLIB_CFLAGS = @SOLIB_CFLAGS@ +SOLIB_LDFLAGS = @SOLIB_LDFLAGS@ +STRIP = @STRIP@ +SUID_CFLAGS = @SUID_CFLAGS@ +SUID_LDFLAGS = @SUID_LDFLAGS@ +SYSTEMD_CFLAGS = @SYSTEMD_CFLAGS@ +SYSTEMD_DAEMON_CFLAGS = @SYSTEMD_DAEMON_CFLAGS@ +SYSTEMD_DAEMON_LIBS = @SYSTEMD_DAEMON_LIBS@ +SYSTEMD_JOURNAL_CFLAGS = @SYSTEMD_JOURNAL_CFLAGS@ +SYSTEMD_JOURNAL_LIBS = @SYSTEMD_JOURNAL_LIBS@ +SYSTEMD_LIBS = @SYSTEMD_LIBS@ +TINFOW_CFLAGS = @TINFOW_CFLAGS@ +TINFOW_LIBS = @TINFOW_LIBS@ +TINFO_CFLAGS = @TINFO_CFLAGS@ +TINFO_LIBS = @TINFO_LIBS@ +TINFO_LIBS_STATIC = @TINFO_LIBS_STATIC@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +VSCRIPT_LDFLAGS = @VSCRIPT_LDFLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ +XSLTPROC = @XSLTPROC@ +YACC = @YACC@ +YFLAGS = @YFLAGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bashcompletiondir = @bashcompletiondir@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +runstatedir = @runstatedir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +systemdsystemunitdir = @systemdsystemunitdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +usrbin_execdir = @usrbin_execdir@ +usrlib_execdir = @usrlib_execdir@ +usrsbin_execdir = @usrsbin_execdir@ +AM_CPPFLAGS = \ + -include config.h \ + -I$(top_srcdir)/include \ + -DLOCALEDIR=\"$(localedir)\" \ + -D_PATH_RUNSTATEDIR=\"${runstatedir}\" + +AM_CFLAGS = -fsigned-char $(WARN_CFLAGS) +AM_LDFLAGS = + +# Add gettext stuff to the global LDADD for systems with separate libintl +# library. The LTLIBINTL is generated by AM_GNU_GETTEXT macro. +# +LDADD = $(LTLIBINTL) + +# Automake (at least up to 1.10) mishandles dist_man_MANS inside conditionals. +# Unlike with other dist primaries, the files are not distributed if the +# conditional is false. +# Work the bug around until it is fixed: +dist_noinst_DATA = $(dist_man_MANS) + +# Paths to in-tree libraries (use ul_ prefix to avoid possible collisions) Note +# that blkid.h, libmount.h, libfdisk.h and libsmartcols.h are generated and +# stored in build dirs. +# +ul_libblkid_incdir = $(top_builddir)/libblkid/src +ul_libmount_incdir = $(top_builddir)/libmount/src +ul_libsmartcols_incdir = $(top_builddir)/libsmartcols/src +ul_libfdisk_incdir = $(top_builddir)/libfdisk/src +ul_libuuid_incdir = $(top_srcdir)/libuuid/src +pkgconfigdir = $(usrlib_execdir)/pkgconfig +dist_noinst_HEADERS = include/all-io.h include/bitops.h \ + include/blkdev.h include/canonicalize.h include/carefulputc.h \ + include/cctype.h include/c.h include/closestream.h \ + include/colors.h include/color-names.h include/cpuset.h \ + include/crc32.h include/crc32c.h include/debug.h \ + include/debugobj.h include/env.h include/exec_shell.h \ + include/exitcodes.h include/fileutils.h include/idcache.h \ + include/ismounted.h include/pwdutils.h include/linux_version.h \ + include/list.h include/loopdev.h include/mangle.h \ + include/match.h include/mbsalign.h include/mbsedit.h \ + include/md5.h include/minix.h include/monotonic.h \ + include/namespace.h include/nls.h include/optutils.h \ + include/pager.h include/partx.h include/path.h \ + include/pathnames.h include/plymouth-ctrl.h \ + include/procutils.h include/pt-bsd.h include/pt-mbr.h \ + include/pt-mbr-partnames.h include/pt-sgi.h include/pt-sun.h \ + include/randutils.h include/rpmatch.h include/sha1.h \ + include/signames.h include/setproctitle.h \ + include/statfs_magic.h include/strutils.h include/strv.h \ + include/swapheader.h include/swapprober.h include/sysfs.h \ + include/timer.h include/timeutils.h include/ttyutils.h \ + include/widechar.h include/xalloc.h +noinst_LTLIBRARIES = libcommon.la libtcolors.la +dist_man_MANS = lib/terminal-colors.d.5 $(am__append_16) \ + $(am__append_40) $(am__append_80) $(am__append_82) \ + $(am__append_84) $(am__append_86) $(am__append_88) \ + $(am__append_90) $(am__append_92) $(am__append_94) \ + $(am__append_96) $(am__append_98) $(am__append_100) \ + $(am__append_102) $(am__append_107) $(am__append_113) \ + $(am__append_118) $(am__append_120) $(am__append_123) \ + $(am__append_129) $(am__append_131) $(am__append_134) \ + $(am__append_137) $(am__append_140) $(am__append_145) \ + $(am__append_150) $(am__append_152) $(am__append_154) \ + $(am__append_165) $(am__append_169) $(am__append_173) \ + $(am__append_176) $(am__append_181) $(am__append_185) \ + $(am__append_187) $(am__append_189) $(am__append_191) \ + $(am__append_193) $(am__append_195) $(am__append_197) \ + $(am__append_199) $(am__append_201) $(am__append_203) \ + $(am__append_205) $(am__append_207) $(am__append_209) \ + $(am__append_211) $(am__append_214) $(am__append_217) \ + $(am__append_219) $(am__append_221) $(am__append_223) \ + $(am__append_225) $(am__append_227) $(am__append_230) \ + $(am__append_244) $(am__append_246) $(am__append_249) \ + $(am__append_251) $(am__append_253) $(am__append_255) \ + $(am__append_260) $(am__append_262) $(am__append_264) \ + $(am__append_266) $(am__append_268) $(am__append_270) \ + $(am__append_272) $(am__append_274) $(am__append_276) \ + $(am__append_279) $(am__append_282) $(am__append_287) \ + $(am__append_289) $(am__append_296) $(am__append_301) \ + $(am__append_303) $(am__append_305) $(am__append_307) \ + $(am__append_309) $(am__append_311) $(am__append_314) \ + $(am__append_316) $(am__append_318) $(am__append_324) \ + $(am__append_327) $(am__append_329) $(am__append_331) \ + $(am__append_334) $(am__append_336) $(am__append_338) \ + $(am__append_340) $(am__append_342) $(am__append_345) \ + $(am__append_347) $(am__append_349) $(am__append_351) \ + $(am__append_358) $(am__append_362) $(am__append_364) \ + $(am__append_366) $(am__append_368) $(am__append_370) \ + $(am__append_372) $(am__append_375) $(am__append_378) \ + $(am__append_385) +man_MANS = $(am__append_239) +pkgconfig_DATA = $(am__append_23) $(am__append_38) $(am__append_54) \ + $(am__append_64) $(am__append_77) +usrlib_exec_LTLIBRARIES = $(am__append_18) $(am__append_25) \ + $(am__append_41) $(am__append_56) $(am__append_66) +dist_usrbin_exec_SCRIPTS = +systemdsystemunit_DATA = $(am__append_212) $(am__append_321) +dist_bashcompletion_DATA = $(am__append_386) $(am__append_387) \ + $(am__append_388) $(am__append_389) $(am__append_390) \ + $(am__append_391) $(am__append_392) $(am__append_393) \ + $(am__append_394) $(am__append_395) $(am__append_396) \ + $(am__append_397) $(am__append_398) $(am__append_399) \ + $(am__append_400) $(am__append_401) $(am__append_402) \ + $(am__append_403) $(am__append_404) $(am__append_405) \ + $(am__append_406) $(am__append_407) $(am__append_408) \ + $(am__append_409) $(am__append_410) $(am__append_411) \ + $(am__append_412) $(am__append_413) $(am__append_414) \ + $(am__append_415) $(am__append_416) $(am__append_417) \ + $(am__append_418) $(am__append_419) $(am__append_420) \ + $(am__append_421) $(am__append_422) $(am__append_423) \ + $(am__append_424) $(am__append_425) $(am__append_426) \ + $(am__append_427) $(am__append_428) $(am__append_429) \ + $(am__append_430) $(am__append_431) $(am__append_432) \ + $(am__append_433) $(am__append_434) $(am__append_435) \ + $(am__append_437) $(am__append_438) $(am__append_439) \ + $(am__append_440) $(am__append_441) $(am__append_442) \ + $(am__append_443) $(am__append_444) $(am__append_445) \ + $(am__append_446) $(am__append_447) $(am__append_448) \ + $(am__append_449) $(am__append_450) $(am__append_451) \ + $(am__append_452) $(am__append_453) $(am__append_454) \ + $(am__append_455) $(am__append_456) $(am__append_457) \ + $(am__append_458) $(am__append_459) $(am__append_460) \ + $(am__append_461) $(am__append_462) $(am__append_463) \ + $(am__append_464) $(am__append_465) $(am__append_466) \ + $(am__append_467) $(am__append_468) $(am__append_469) \ + $(am__append_470) $(am__append_471) $(am__append_472) \ + $(am__append_473) $(am__append_474) $(am__append_475) \ + $(am__append_476) $(am__append_477) $(am__append_478) \ + $(am__append_479) $(am__append_480) $(am__append_481) +dist_check_SCRIPTS = $(am__append_52) +PATHFILES = $(am__append_24) $(am__append_39) $(am__append_55) \ + $(am__append_65) $(am__append_78) sys-utils/fstrim.service \ + $(am__append_228) $(am__append_283) misc-utils/uuidd.8 \ + misc-utils/uuidd.rc misc-utils/uuidd.service \ + misc-utils/uuidd.socket +INSTALL_EXEC_HOOKS = $(am__append_21) $(am__append_34) \ + $(am__append_49) $(am__append_59) $(am__append_73) \ + $(am__append_132) $(am__append_135) $(am__append_138) \ + $(am__append_183) $(am__append_241) $(am__append_258) +UNINSTALL_HOOKS = $(am__append_22) $(am__append_35) $(am__append_50) \ + $(am__append_60) $(am__append_74) $(am__append_242) +INSTALL_DATA_HOOKS = $(am__append_436) +CLEAN_LOCALS = clean-local-tests +CHECK_LOCALS = check-local-tests +EXTRA_DIST = .version autogen.sh Documentation po/update-potfiles \ + README.licensing tools/git-version-gen \ + tools/checkcompletion.sh tools/checkconfig.sh \ + tools/checkdecl.sh tools/checkincludes.pl tools/checkmans.sh \ + tools/checkusage.sh tools/checkxalloc.sh $(am__append_20) \ + $(am__append_30) $(am__append_45) $(am__append_58) \ + $(am__append_70) sys-utils/fstrim.timer tests/expected \ + tests/functions.sh tests/commands.sh tests/run.sh tests/ts \ + $(PATHFILES:=.in) +CLEANFILES = $(am__append_240) $(PATHFILES) +SUBDIRS = po $(am__append_37) $(am__append_53) $(am__append_63) \ + $(am__append_76) +RCS_FIND_IGNORE = \( -name SCCS -o -name BitKeeper -o -name .svn -o \ + -name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o + +ACLOCAL_AMFLAGS = -I m4 +libcommon_la_CFLAGS = $(AM_CFLAGS) +libcommon_la_SOURCES = lib/blkdev.c lib/canonicalize.c lib/crc32.c \ + lib/crc32c.c lib/env.c lib/idcache.c lib/fileutils.c \ + lib/ismounted.c lib/color-names.c lib/mangle.c lib/match.c \ + lib/mbsalign.c lib/mbsedit.c lib/md5.c lib/pager.c \ + lib/parse-date.y lib/pwdutils.c lib/randutils.c \ + lib/setproctitle.c lib/strutils.c lib/timeutils.c \ + lib/ttyutils.c lib/exec_shell.c lib/strv.c lib/sha1.c \ + lib/signames.c $(am__append_1) $(am__append_2) $(am__append_3) \ + $(am__append_4) $(am__append_5) +libtcolors_la_CFLAGS = $(AM_CFLAGS) $(am__append_7) $(am__append_9) +libtcolors_la_SOURCES = lib/colors.c lib/color-names.c include/colors.h include/color-names.h +libtcolors_la_LIBADD = $(am__append_6) $(am__append_8) +test_ttyutils_SOURCES = lib/ttyutils.c +test_ttyutils_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_TTYUTILS +test_ttyutils_LDADD = $(LDADD) libcommon.la +test_blkdev_SOURCES = lib/blkdev.c +test_blkdev_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_BLKDEV +test_blkdev_LDADD = $(LDADD) libcommon.la +test_ismounted_SOURCES = lib/ismounted.c +test_ismounted_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_ISMOUNTED +test_ismounted_LDADD = libcommon.la $(LDADD) +test_mangle_SOURCES = lib/mangle.c +test_mangle_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_MANGLE +test_strutils_SOURCES = lib/strutils.c +test_strutils_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_STRUTILS +test_colors_SOURCES = lib/colors.c lib/color-names.c +test_colors_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_COLORS +test_colors_LDADD = $(LDADD) libtcolors.la +test_randutils_SOURCES = lib/randutils.c +test_randutils_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_RANDUTILS +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@test_procutils_SOURCES = lib/procutils.c +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@test_procutils_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_PROCUTILS +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@test_path_SOURCES = lib/path.c \ +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@ lib/fileutils.c \ +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@ $(am__append_13) +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@test_path_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_PATH +@HAVE_DIRFD_TRUE@@HAVE_OPENAT_TRUE@test_path_LDADD = $(LDADD) +@LINUX_TRUE@test_cpuset_SOURCES = lib/cpuset.c +@LINUX_TRUE@test_cpuset_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_CPUSET +@LINUX_TRUE@test_sysfs_SOURCES = lib/sysfs.c lib/path.c \ +@LINUX_TRUE@ lib/fileutils.c $(am__append_14) +@LINUX_TRUE@test_sysfs_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_SYSFS +@LINUX_TRUE@test_sysfs_LDADD = $(LDADD) +@LINUX_TRUE@test_pager_SOURCES = lib/pager.c +@LINUX_TRUE@test_pager_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_PAGER +@LINUX_TRUE@test_linux_version_SOURCES = lib/linux_version.c +@LINUX_TRUE@test_linux_version_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_LINUXVERSION +test_fileutils_SOURCES = lib/fileutils.c +test_fileutils_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_FILEUTILS +test_canonicalize_SOURCES = lib/canonicalize.c +test_canonicalize_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_CANONICALIZE +test_timeutils_SOURCES = lib/timeutils.c lib/strutils.c +test_timeutils_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_TIMEUTILS +test_pwdutils_SOURCES = lib/pwdutils.c +test_pwdutils_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM +@BUILD_LIBUUID_TRUE@test_uuid_parser_SOURCES = libuuid/src/test_uuid.c +@BUILD_LIBUUID_TRUE@test_uuid_parser_LDADD = libuuid.la $(SOCKET_LIBS) $(LDADD) +@BUILD_LIBUUID_TRUE@test_uuid_parser_CFLAGS = $(AM_CFLAGS) -I$(ul_libuuid_incdir) + +# includes +@BUILD_LIBUUID_TRUE@uuidincdir = $(includedir)/uuid +@BUILD_LIBUUID_TRUE@uuidinc_HEADERS = libuuid/src/uuid.h +@BUILD_LIBUUID_TRUE@libuuid_la_SOURCES = \ +@BUILD_LIBUUID_TRUE@ libuuid/src/uuidP.h \ +@BUILD_LIBUUID_TRUE@ libuuid/src/clear.c \ +@BUILD_LIBUUID_TRUE@ libuuid/src/compare.c \ +@BUILD_LIBUUID_TRUE@ libuuid/src/copy.c \ +@BUILD_LIBUUID_TRUE@ libuuid/src/gen_uuid.c \ +@BUILD_LIBUUID_TRUE@ libuuid/src/isnull.c \ +@BUILD_LIBUUID_TRUE@ libuuid/src/pack.c \ +@BUILD_LIBUUID_TRUE@ libuuid/src/parse.c \ +@BUILD_LIBUUID_TRUE@ libuuid/src/unpack.c \ +@BUILD_LIBUUID_TRUE@ libuuid/src/unparse.c \ +@BUILD_LIBUUID_TRUE@ libuuid/src/uuidd.h \ +@BUILD_LIBUUID_TRUE@ libuuid/src/uuid_time.c \ +@BUILD_LIBUUID_TRUE@ libuuid/src/predefined.c \ +@BUILD_LIBUUID_TRUE@ lib/randutils.c \ +@BUILD_LIBUUID_TRUE@ lib/md5.c \ +@BUILD_LIBUUID_TRUE@ lib/sha1.c + +@BUILD_LIBUUID_TRUE@EXTRA_libuuid_la_DEPENDENCIES = \ +@BUILD_LIBUUID_TRUE@ libuuid/src/libuuid.sym + +@BUILD_LIBUUID_TRUE@libuuid_la_LIBADD = $(LDADD) $(SOCKET_LIBS) +@BUILD_LIBUUID_TRUE@libuuid_la_CFLAGS = \ +@BUILD_LIBUUID_TRUE@ $(AM_CFLAGS) \ +@BUILD_LIBUUID_TRUE@ $(SOLIB_CFLAGS) \ +@BUILD_LIBUUID_TRUE@ -I$(ul_libuuid_incdir) \ +@BUILD_LIBUUID_TRUE@ -Ilibuuid/src + +@BUILD_LIBUUID_TRUE@libuuid_la_LDFLAGS = $(SOLIB_LDFLAGS) \ +@BUILD_LIBUUID_TRUE@ $(am__append_19) -version-info \ +@BUILD_LIBUUID_TRUE@ $(LIBUUID_VERSION_INFO) + +# blkid.h is generated, so it's store in builddir! +@BUILD_LIBBLKID_TRUE@blkidincdir = $(includedir)/blkid +@BUILD_LIBBLKID_TRUE@nodist_blkidinc_HEADERS = libblkid/src/blkid.h +@BUILD_LIBBLKID_TRUE@libblkid_la_SOURCES = include/list.h \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/blkidP.h libblkid/src/init.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/cache.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/config.c libblkid/src/dev.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/devname.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/devno.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/encode.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/evaluate.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/getsize.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/llseek.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/probe.c libblkid/src/read.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/resolve.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/save.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/superblocks.h \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/tag.c libblkid/src/verify.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/version.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/aix.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/aix.h \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/atari.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/bsd.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/dos.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/gpt.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/mac.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/minix.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/partitions.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/partitions.h \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/sgi.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/solaris_x86.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/sun.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/ultrix.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/unixware.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/adaptec_raid.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/apfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/bcache.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/befs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/bfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/bitlocker.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/btrfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/cramfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/ddf_raid.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/drbd.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/drbdproxy_datalog.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/drbdmanage.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/exfat.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/exfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/ext.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/f2fs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/gfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/hfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/highpoint_raid.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/hpfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/iso9660.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/isw_raid.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/jfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/jmicron_raid.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/linux_raid.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/lsi_raid.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/luks.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/lvm.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/minix.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/mpool.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/netware.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/nilfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/ntfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/refs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/nvidia_raid.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/ocfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/promise_raid.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/reiserfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/romfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/silicon_raid.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/squashfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/stratis.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/superblocks.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/superblocks.h \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/swap.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/sysv.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/ubi.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/ubifs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/udf.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/ufs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/vdo.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/vfat.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/via_raid.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/vmfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/vxfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/xfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/zfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/topology/topology.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/topology/topology.h \ +@BUILD_LIBBLKID_TRUE@ $(am__append_26) +@BUILD_LIBBLKID_TRUE@libblkid_la_LIBADD = libcommon.la \ +@BUILD_LIBBLKID_TRUE@ $(am__append_27) +@BUILD_LIBBLKID_TRUE@EXTRA_libblkid_la_DEPENDENCIES = \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/libblkid.sym + +@BUILD_LIBBLKID_TRUE@libblkid_la_CFLAGS = $(AM_CFLAGS) $(SOLIB_CFLAGS) \ +@BUILD_LIBBLKID_TRUE@ -I$(ul_libblkid_incdir) \ +@BUILD_LIBBLKID_TRUE@ -I$(top_srcdir)/libblkid/src \ +@BUILD_LIBBLKID_TRUE@ $(am__append_28) +@BUILD_LIBBLKID_TRUE@libblkid_la_LDFLAGS = $(SOLIB_LDFLAGS) \ +@BUILD_LIBBLKID_TRUE@ $(am__append_29) -version-info \ +@BUILD_LIBBLKID_TRUE@ $(LIBBLKID_VERSION_INFO) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@blkid_tests_cflags = -DTEST_PROGRAM $(libblkid_la_CFLAGS) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@blkid_tests_ldflags = $(am__append_32) \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ -static +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@blkid_tests_ldadd = \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ libblkid.la \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ $(am__append_33) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_cache_SOURCES = libblkid/src/cache.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_cache_CFLAGS = $(blkid_tests_cflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_cache_LDFLAGS = $(blkid_tests_ldflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_cache_LDADD = $(blkid_tests_ldadd) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_config_SOURCES = libblkid/src/config.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_config_CFLAGS = $(blkid_tests_cflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_config_LDFLAGS = $(blkid_tests_ldflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_config_LDADD = $(blkid_tests_ldadd) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_dev_SOURCES = libblkid/src/dev.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_dev_CFLAGS = $(blkid_tests_cflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_dev_LDFLAGS = $(blkid_tests_ldflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_dev_LDADD = $(blkid_tests_ldadd) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_devname_SOURCES = libblkid/src/devname.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_devname_CFLAGS = $(blkid_tests_cflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_devname_LDFLAGS = $(blkid_tests_ldflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_devname_LDADD = $(blkid_tests_ldadd) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_devno_SOURCES = libblkid/src/devno.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_devno_CFLAGS = $(blkid_tests_cflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_devno_LDFLAGS = $(blkid_tests_ldflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_devno_LDADD = $(blkid_tests_ldadd) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_evaluate_SOURCES = libblkid/src/evaluate.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_evaluate_CFLAGS = $(blkid_tests_cflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_evaluate_LDFLAGS = $(blkid_tests_ldflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_evaluate_LDADD = $(blkid_tests_ldadd) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_read_SOURCES = libblkid/src/read.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_read_CFLAGS = $(blkid_tests_cflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_read_LDFLAGS = $(blkid_tests_ldflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_read_LDADD = $(blkid_tests_ldadd) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_resolve_SOURCES = libblkid/src/resolve.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_resolve_CFLAGS = $(blkid_tests_cflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_resolve_LDFLAGS = $(blkid_tests_ldflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_resolve_LDADD = $(blkid_tests_ldadd) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_save_SOURCES = libblkid/src/save.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_save_CFLAGS = $(blkid_tests_cflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_save_LDFLAGS = $(blkid_tests_ldflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_save_LDADD = $(blkid_tests_ldadd) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_tag_SOURCES = libblkid/src/tag.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_tag_CFLAGS = $(blkid_tests_cflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_tag_LDFLAGS = $(blkid_tests_ldflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_tag_LDADD = $(blkid_tests_ldadd) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_verify_SOURCES = libblkid/src/verify.c +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_verify_CFLAGS = $(blkid_tests_cflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_verify_LDFLAGS = $(blkid_tests_ldflags) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_verify_LDADD = $(blkid_tests_ldadd) +@BUILD_LIBBLKID_TRUE@sample_mkfs_SOURCES = libblkid/samples/mkfs.c +@BUILD_LIBBLKID_TRUE@sample_mkfs_LDADD = libblkid.la $(LDADD) +@BUILD_LIBBLKID_TRUE@sample_mkfs_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) +@BUILD_LIBBLKID_TRUE@sample_partitions_SOURCES = libblkid/samples/partitions.c +@BUILD_LIBBLKID_TRUE@sample_partitions_LDADD = libblkid.la $(LDADD) +@BUILD_LIBBLKID_TRUE@sample_partitions_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) +@BUILD_LIBBLKID_TRUE@sample_superblocks_SOURCES = libblkid/samples/superblocks.c +@BUILD_LIBBLKID_TRUE@sample_superblocks_LDADD = libblkid.la $(LDADD) +@BUILD_LIBBLKID_TRUE@sample_superblocks_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) +@BUILD_LIBBLKID_TRUE@sample_topology_SOURCES = libblkid/samples/topology.c +@BUILD_LIBBLKID_TRUE@sample_topology_LDADD = libblkid.la $(LDADD) +@BUILD_LIBBLKID_TRUE@sample_topology_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) + +# libmount.h is generated, so it's store in builddir! +@BUILD_LIBMOUNT_TRUE@mountincdir = $(includedir)/libmount +@BUILD_LIBMOUNT_TRUE@nodist_mountinc_HEADERS = libmount/src/libmount.h +@BUILD_LIBMOUNT_TRUE@libmount_la_SOURCES = include/list.h \ +@BUILD_LIBMOUNT_TRUE@ lib/monotonic.c libmount/src/mountP.h \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/cache.c libmount/src/fs.c \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/init.c libmount/src/iter.c \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/lock.c libmount/src/optmap.c \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/optstr.c libmount/src/tab.c \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/tab_diff.c \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/tab_parse.c \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/tab_update.c \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/test.c libmount/src/utils.c \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/version.c $(am__append_42) \ +@BUILD_LIBMOUNT_TRUE@ $(am__append_43) +@BUILD_LIBMOUNT_TRUE@libmount_la_LIBADD = \ +@BUILD_LIBMOUNT_TRUE@ libcommon.la \ +@BUILD_LIBMOUNT_TRUE@ libblkid.la \ +@BUILD_LIBMOUNT_TRUE@ $(SELINUX_LIBS) \ +@BUILD_LIBMOUNT_TRUE@ $(REALTIME_LIBS) + +@BUILD_LIBMOUNT_TRUE@libmount_la_CFLAGS = \ +@BUILD_LIBMOUNT_TRUE@ $(AM_CFLAGS) \ +@BUILD_LIBMOUNT_TRUE@ $(SOLIB_CFLAGS) \ +@BUILD_LIBMOUNT_TRUE@ -I$(ul_libblkid_incdir) \ +@BUILD_LIBMOUNT_TRUE@ -I$(ul_libmount_incdir) \ +@BUILD_LIBMOUNT_TRUE@ -I$(top_srcdir)/libmount/src + +@BUILD_LIBMOUNT_TRUE@EXTRA_libmount_la_DEPENDENCIES = \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount.sym + +@BUILD_LIBMOUNT_TRUE@libmount_la_LDFLAGS = $(SOLIB_LDFLAGS) \ +@BUILD_LIBMOUNT_TRUE@ $(am__append_44) -version-info \ +@BUILD_LIBMOUNT_TRUE@ $(LIBMOUNT_VERSION_INFO) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@libmount_tests_cflags = -DTEST_PROGRAM $(libmount_la_CFLAGS) $(NO_UNUSED_WARN_CFLAGS) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@libmount_tests_ldflags = libblkid.la -static +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@libmount_tests_ldadd = \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ libmount.la \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ $(LDADD) \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ $(REALTIME_LIBS) \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ $(am__append_48) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_cache_SOURCES = libmount/src/cache.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_cache_CFLAGS = $(libmount_tests_cflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_cache_LDFLAGS = $(libmount_tests_ldflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_cache_LDADD = $(libmount_tests_ldadd) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_context_SOURCES = libmount/src/context.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_context_CFLAGS = $(libmount_tests_cflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_context_LDFLAGS = $(libmount_tests_ldflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_context_LDADD = $(libmount_tests_ldadd) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_lock_SOURCES = libmount/src/lock.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_lock_CFLAGS = $(libmount_tests_cflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_lock_LDFLAGS = $(libmount_tests_ldflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_lock_LDADD = $(libmount_tests_ldadd) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_optstr_SOURCES = libmount/src/optstr.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_optstr_CFLAGS = $(libmount_tests_cflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_optstr_LDFLAGS = $(libmount_tests_ldflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_optstr_LDADD = $(libmount_tests_ldadd) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_tab_SOURCES = libmount/src/tab.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_tab_CFLAGS = $(libmount_tests_cflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_tab_LDFLAGS = $(libmount_tests_ldflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_tab_LDADD = $(libmount_tests_ldadd) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_tab_diff_SOURCES = libmount/src/tab_diff.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_tab_diff_CFLAGS = $(libmount_tests_cflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_tab_diff_LDFLAGS = $(libmount_tests_ldflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_tab_diff_LDADD = $(libmount_tests_ldadd) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_monitor_SOURCES = libmount/src/monitor.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_monitor_CFLAGS = $(libmount_tests_cflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_monitor_LDFLAGS = $(libmount_tests_ldflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_monitor_LDADD = $(libmount_tests_ldadd) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_tab_update_SOURCES = libmount/src/tab_update.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_tab_update_CFLAGS = $(libmount_tests_cflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_tab_update_LDFLAGS = $(libmount_tests_ldflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_tab_update_LDADD = $(libmount_tests_ldadd) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_utils_SOURCES = libmount/src/utils.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_utils_CFLAGS = $(libmount_tests_cflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_utils_LDFLAGS = $(libmount_tests_ldflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_utils_LDADD = $(libmount_tests_ldadd) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_version_SOURCES = libmount/src/version.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_version_CFLAGS = $(libmount_tests_cflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_version_LDFLAGS = $(libmount_tests_ldflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_version_LDADD = $(libmount_tests_ldadd) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_debug_SOURCES = libmount/src/init.c +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_debug_CFLAGS = $(libmount_tests_cflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_debug_LDFLAGS = $(libmount_tests_ldflags) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_debug_LDADD = $(libmount_tests_ldadd) +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@pylibmountexecdir = $(pyexecdir)/libmount + +# Please, don't use $pythondir for the scripts. We have to use the same +# directory for binary stuff as well as for the scripts otherwise it's +# not possible to install 32-bit and 64-bit version on the same system. +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@pylibmountexec_LTLIBRARIES = pylibmount.la +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@pylibmountexec_PYTHON = libmount/python/__init__.py +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@pylibmount_la_SOURCES = libmount/python/pylibmount.c \ +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@ libmount/python/pylibmount.h \ +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@ libmount/python/fs.c \ +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@ libmount/python/tab.c \ +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@ $(am__append_51) +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@pylibmount_la_LIBADD = libmount.la $(PYTHON_LIBS) +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@pylibmount_la_CFLAGS = \ +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@ $(AM_CFLAGS) \ +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@ $(PYTHON_CFLAGS) $(PYTHON_WARN_CFLAGS) \ +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@ -I$(ul_libmount_incdir) \ +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@ -fno-strict-aliasing #-ggdb3 -O0 + +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@pylibmount_la_LDFLAGS = \ +@BUILD_LIBMOUNT_TRUE@@BUILD_PYLIBMOUNT_TRUE@ -avoid-version -module -shared -export-dynamic + + +# smartcols.h is generated, so it's stored in builddir! +@BUILD_LIBSMARTCOLS_TRUE@smartcolsincdir = $(includedir)/libsmartcols +@BUILD_LIBSMARTCOLS_TRUE@nodist_smartcolsinc_HEADERS = libsmartcols/src/libsmartcols.h +@BUILD_LIBSMARTCOLS_TRUE@libsmartcols_la_SOURCES = \ +@BUILD_LIBSMARTCOLS_TRUE@ include/list.h \ +@BUILD_LIBSMARTCOLS_TRUE@ \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/smartcolsP.h \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/iter.c \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/symbols.c \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/cell.c \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/column.c \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/line.c \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/table.c \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/table_print.c \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/version.c \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/init.c + +@BUILD_LIBSMARTCOLS_TRUE@libsmartcols_la_LIBADD = $(LDADD) libcommon.la +@BUILD_LIBSMARTCOLS_TRUE@libsmartcols_la_CFLAGS = \ +@BUILD_LIBSMARTCOLS_TRUE@ $(AM_CFLAGS) \ +@BUILD_LIBSMARTCOLS_TRUE@ $(SOLIB_CFLAGS) \ +@BUILD_LIBSMARTCOLS_TRUE@ -I$(ul_libsmartcols_incdir) \ +@BUILD_LIBSMARTCOLS_TRUE@ -I$(top_srcdir)/libsmartcols/src + +@BUILD_LIBSMARTCOLS_TRUE@EXTRA_libsmartcols_la_DEPENDENCIES = \ +@BUILD_LIBSMARTCOLS_TRUE@ libsmartcols/src/libsmartcols.sym + +@BUILD_LIBSMARTCOLS_TRUE@libsmartcols_la_LDFLAGS = $(SOLIB_LDFLAGS) \ +@BUILD_LIBSMARTCOLS_TRUE@ $(am__append_57) -version-info \ +@BUILD_LIBSMARTCOLS_TRUE@ $(LIBSMARTCOLS_VERSION_INFO) +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_cflags = $(AM_CFLAGS) $(NO_UNUSED_WARN_CFLAGS) \ +@BUILD_LIBSMARTCOLS_TRUE@ -I$(ul_libsmartcols_incdir) + +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_ldadd = libsmartcols.la $(LDADD) +@BUILD_LIBSMARTCOLS_TRUE@@HAVE_OPENAT_TRUE@sample_scols_tree_SOURCES = libsmartcols/samples/tree.c +@BUILD_LIBSMARTCOLS_TRUE@@HAVE_OPENAT_TRUE@sample_scols_tree_LDADD = $(sample_scols_ldadd) libcommon.la +@BUILD_LIBSMARTCOLS_TRUE@@HAVE_OPENAT_TRUE@sample_scols_tree_CFLAGS = $(sample_scols_cflags) +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_title_SOURCES = libsmartcols/samples/title.c +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_title_LDADD = $(sample_scols_ldadd) libcommon.la +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_title_CFLAGS = $(sample_scols_cflags) +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_wrap_SOURCES = libsmartcols/samples/wrap.c +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_wrap_LDADD = $(sample_scols_ldadd) +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_wrap_CFLAGS = $(sample_scols_cflags) +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_continuous_SOURCES = libsmartcols/samples/continuous.c +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_continuous_LDADD = $(sample_scols_ldadd) libcommon.la +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_continuous_CFLAGS = $(sample_scols_cflags) +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_maxout_SOURCES = libsmartcols/samples/maxout.c +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_maxout_LDADD = $(sample_scols_ldadd) +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_maxout_CFLAGS = $(sample_scols_cflags) +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_fromfile_SOURCES = libsmartcols/samples/fromfile.c +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_fromfile_LDADD = $(sample_scols_ldadd) libcommon.la +@BUILD_LIBSMARTCOLS_TRUE@sample_scols_fromfile_CFLAGS = $(sample_scols_cflags) + +# libfdisk.h is generated, so it's stored in builddir! +@BUILD_LIBFDISK_TRUE@fdiskincdir = $(includedir)/libfdisk +@BUILD_LIBFDISK_TRUE@nodist_fdiskinc_HEADERS = libfdisk/src/libfdisk.h +@BUILD_LIBFDISK_TRUE@libfdisk_la_SOURCES = \ +@BUILD_LIBFDISK_TRUE@ include/list.h \ +@BUILD_LIBFDISK_TRUE@ \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/fdiskP.h \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/init.c \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/field.c \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/item.c \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/test.c \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/ask.c \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/alignment.c \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/label.c \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/utils.c \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/context.c \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/parttype.c \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/partition.c \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/table.c \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/iter.c \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/script.c \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/version.c \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/wipe.c \ +@BUILD_LIBFDISK_TRUE@ \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/sun.c \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/sgi.c \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/dos.c \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/bsd.c \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/gpt.c + +@BUILD_LIBFDISK_TRUE@libfdisk_la_LIBADD = libcommon.la libuuid.la \ +@BUILD_LIBFDISK_TRUE@ $(am__append_68) +@BUILD_LIBFDISK_TRUE@libfdisk_la_CFLAGS = $(AM_CFLAGS) $(SOLIB_CFLAGS) \ +@BUILD_LIBFDISK_TRUE@ -I$(ul_libuuid_incdir) \ +@BUILD_LIBFDISK_TRUE@ -I$(ul_libfdisk_incdir) \ +@BUILD_LIBFDISK_TRUE@ -I$(top_srcdir)/libfdisk/src \ +@BUILD_LIBFDISK_TRUE@ $(am__append_69) +@BUILD_LIBFDISK_TRUE@EXTRA_libfdisk_la_DEPENDENCIES = \ +@BUILD_LIBFDISK_TRUE@ libfdisk/src/libfdisk.sym + +@BUILD_LIBFDISK_TRUE@libfdisk_la_LDFLAGS = $(SOLIB_LDFLAGS) \ +@BUILD_LIBFDISK_TRUE@ $(am__append_67) -version-info \ +@BUILD_LIBFDISK_TRUE@ $(LIBFDISK_VERSION_INFO) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@libfdisk_tests_cflags = -DTEST_PROGRAM $(libfdisk_la_CFLAGS) $(NO_UNUSED_WARN_CFLAGS) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@libfdisk_tests_ldflags = \ +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@ libuuid.la \ +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@ -static \ +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@ $(am__append_72) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@libfdisk_tests_ldadd = libfdisk.la $(LDADD) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_ask_SOURCES = libfdisk/src/ask.c +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_ask_CFLAGS = $(libfdisk_tests_cflags) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_ask_LDFLAGS = $(libfdisk_tests_ldflags) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_ask_LDADD = $(libfdisk_tests_ldadd) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_gpt_SOURCES = libfdisk/src/gpt.c +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_gpt_CFLAGS = $(libfdisk_tests_cflags) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_gpt_LDFLAGS = $(libfdisk_tests_ldflags) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_gpt_LDADD = $(libfdisk_tests_ldadd) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_utils_SOURCES = libfdisk/src/utils.c +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_utils_CFLAGS = $(libfdisk_tests_cflags) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_utils_LDFLAGS = $(libfdisk_tests_ldflags) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_utils_LDADD = $(libfdisk_tests_ldadd) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_script_SOURCES = libfdisk/src/script.c +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_script_CFLAGS = $(libfdisk_tests_cflags) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_script_LDFLAGS = $(libfdisk_tests_ldflags) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_script_LDADD = $(libfdisk_tests_ldadd) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_version_SOURCES = libfdisk/src/version.c +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_version_CFLAGS = $(libfdisk_tests_cflags) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_version_LDFLAGS = $(libfdisk_tests_ldflags) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_version_LDADD = $(libfdisk_tests_ldadd) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_item_SOURCES = libfdisk/src/item.c +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_item_CFLAGS = $(libfdisk_tests_cflags) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_item_LDFLAGS = $(libfdisk_tests_ldflags) +@BUILD_LIBFDISK_TESTS_TRUE@@BUILD_LIBFDISK_TRUE@test_fdisk_item_LDADD = $(libfdisk_tests_ldadd) +@BUILD_LIBFDISK_TRUE@sample_fdisk_cflags = $(AM_CFLAGS) $(NO_UNUSED_WARN_CFLAGS) \ +@BUILD_LIBFDISK_TRUE@ -I$(ul_libfdisk_incdir) + +@BUILD_LIBFDISK_TRUE@sample_fdisk_ldadd = $(LDADD) libfdisk.la +@BUILD_LIBFDISK_TRUE@sample_fdisk_mkpart_SOURCES = libfdisk/samples/mkpart.c +@BUILD_LIBFDISK_TRUE@sample_fdisk_mkpart_LDADD = $(sample_fdisk_ldadd) libcommon.la +@BUILD_LIBFDISK_TRUE@sample_fdisk_mkpart_CFLAGS = $(sample_fdisk_cflags) +@BUILD_LIBFDISK_TRUE@sample_fdisk_mkpart_fullspec_SOURCES = libfdisk/samples/mkpart-fullspec.c +@BUILD_LIBFDISK_TRUE@sample_fdisk_mkpart_fullspec_LDADD = $(sample_fdisk_ldadd) libcommon.la +@BUILD_LIBFDISK_TRUE@sample_fdisk_mkpart_fullspec_CFLAGS = $(sample_fdisk_cflags) +@BUILD_CHRT_TRUE@chrt_SOURCES = schedutils/chrt.c +@BUILD_CHRT_TRUE@chrt_LDADD = $(LDADD) libcommon.la +@BUILD_IONICE_TRUE@ionice_SOURCES = schedutils/ionice.c +@BUILD_IONICE_TRUE@ionice_LDADD = $(LDADD) libcommon.la +@BUILD_TASKSET_TRUE@taskset_SOURCES = schedutils/taskset.c +@BUILD_TASKSET_TRUE@taskset_LDADD = $(LDADD) libcommon.la +@BUILD_COL_TRUE@col_SOURCES = text-utils/col.c +@BUILD_COL_TRUE@col_LDADD = $(LDADD) libcommon.la +@BUILD_COLCRT_TRUE@colcrt_SOURCES = text-utils/colcrt.c +@BUILD_COLRM_TRUE@colrm_SOURCES = text-utils/colrm.c +@BUILD_COLRM_TRUE@colrm_LDADD = $(LDADD) libcommon.la +@BUILD_COLUMN_TRUE@column_SOURCES = text-utils/column.c +@BUILD_COLUMN_TRUE@column_LDADD = $(LDADD) libcommon.la libsmartcols.la +@BUILD_COLUMN_TRUE@column_CFLAGS = $(AM_CFLAGS) -I$(ul_libsmartcols_incdir) +@BUILD_HEXDUMP_TRUE@hexdump_SOURCES = \ +@BUILD_HEXDUMP_TRUE@ text-utils/hexdump-conv.c \ +@BUILD_HEXDUMP_TRUE@ text-utils/hexdump-display.c \ +@BUILD_HEXDUMP_TRUE@ text-utils/hexdump.c \ +@BUILD_HEXDUMP_TRUE@ text-utils/hexdump.h \ +@BUILD_HEXDUMP_TRUE@ text-utils/hexdump-parse.c + +@BUILD_HEXDUMP_TRUE@hexdump_LDADD = $(LDADD) libcommon.la libtcolors.la +@BUILD_REV_TRUE@rev_SOURCES = text-utils/rev.c +@BUILD_LINE_TRUE@line_SOURCES = text-utils/line.c +@BUILD_PG_TRUE@pg_SOURCES = text-utils/pg.c +@BUILD_PG_TRUE@pg_CFLAGS = $(AM_CFLAGS) $(BSD_WARN_CFLAGS) $(NCURSES_CFLAGS) $(TINFO_CFLAGS) +@BUILD_PG_TRUE@pg_LDADD = $(LDADD) libcommon.la $(NCURSES_LIBS) $(TINFO_LIBS) +@BUILD_UL_TRUE@ul_SOURCES = text-utils/ul.c +@BUILD_UL_TRUE@ul_CFLAGS = $(AM_CFLAGS) $(am__append_104) +@BUILD_UL_TRUE@ul_LDADD = $(LDADD) $(am__append_103) $(am__append_105) +@BUILD_MORE_TRUE@more_SOURCES = text-utils/more.c +@BUILD_MORE_TRUE@more_CFLAGS = $(AM_CFLAGS) $(BSD_WARN_CFLAGS) \ +@BUILD_MORE_TRUE@ $(am__append_109) +@BUILD_MORE_TRUE@more_LDADD = $(LDADD) $(am__append_108) \ +@BUILD_MORE_TRUE@ $(am__append_110) +@BUILD_MORE_TRUE@test_more_SOURCES = $(more_SOURCES) +@BUILD_MORE_TRUE@test_more_CFLAGS = -DTEST_PROGRAM $(more_CFLAGS) +@BUILD_MORE_TRUE@test_more_LDADD = $(more_LDADD) +@BUILD_SCRIPT_TRUE@script_SOURCES = term-utils/script.c lib/monotonic.c +@BUILD_SCRIPT_TRUE@script_CFLAGS = $(AM_CFLAGS) -Wno-format-y2k +@BUILD_SCRIPT_TRUE@script_LDADD = $(LDADD) libcommon.la \ +@BUILD_SCRIPT_TRUE@ $(REALTIME_LIBS) $(am__append_114) \ +@BUILD_SCRIPT_TRUE@ $(am__append_115) +@BUILD_SCRIPT_TRUE@test_script_SOURCES = $(script_SOURCES) +@BUILD_SCRIPT_TRUE@test_script_LDADD = $(script_LDADD) +@BUILD_SCRIPT_TRUE@test_script_CFLAGS = -DTEST_SCRIPT $(logger_CFLAGS) +@BUILD_SCRIPTREPLAY_TRUE@scriptreplay_SOURCES = term-utils/scriptreplay.c +@BUILD_SCRIPTREPLAY_TRUE@scriptreplay_LDADD = $(LDADD) libcommon.la $(MATH_LIBS) +@BUILD_AGETTY_TRUE@agetty_SOURCES = term-utils/agetty.c +@BUILD_AGETTY_TRUE@agetty_LDADD = $(LDADD) libcommon.la \ +@BUILD_AGETTY_TRUE@ $(am__append_121) +@BUILD_SETTERM_TRUE@setterm_SOURCES = term-utils/setterm.c +@BUILD_SETTERM_TRUE@setterm_CFLAGS = $(AM_CFLAGS) $(am__append_125) \ +@BUILD_SETTERM_TRUE@ $(am__append_127) +@BUILD_SETTERM_TRUE@setterm_LDADD = $(LDADD) libcommon.la \ +@BUILD_SETTERM_TRUE@ $(am__append_124) $(am__append_126) +@BUILD_MESG_TRUE@mesg_SOURCES = term-utils/mesg.c +@BUILD_WALL_TRUE@wall_SOURCES = \ +@BUILD_WALL_TRUE@ term-utils/wall.c \ +@BUILD_WALL_TRUE@ term-utils/ttymsg.c \ +@BUILD_WALL_TRUE@ term-utils/ttymsg.h + +@BUILD_WALL_TRUE@wall_CFLAGS = $(SUID_CFLAGS) $(AM_CFLAGS) +@BUILD_WALL_TRUE@wall_LDFLAGS = $(SUID_LDFLAGS) $(AM_LDFLAGS) +@BUILD_WALL_TRUE@wall_LDADD = $(LDADD) libcommon.la +@BUILD_WRITE_TRUE@write_SOURCES = term-utils/write.c +@BUILD_WRITE_TRUE@write_CFLAGS = $(SUID_CFLAGS) $(AM_CFLAGS) +@BUILD_WRITE_TRUE@write_LDFLAGS = $(SUID_LDFLAGS) $(AM_LDFLAGS) +@BUILD_WRITE_TRUE@write_LDADD = $(LDADD) libcommon.la +@BUILD_LAST_TRUE@last_SOURCES = login-utils/last.c lib/monotonic.c +@BUILD_LAST_TRUE@last_LDADD = $(LDADD) libcommon.la $(REALTIME_LIBS) +@BUILD_SULOGIN_TRUE@sulogin_SOURCES = \ +@BUILD_SULOGIN_TRUE@ login-utils/sulogin.c \ +@BUILD_SULOGIN_TRUE@ login-utils/sulogin-consoles.c \ +@BUILD_SULOGIN_TRUE@ login-utils/sulogin-consoles.h + +@BUILD_SULOGIN_TRUE@sulogin_LDADD = $(LDADD) libcommon.la \ +@BUILD_SULOGIN_TRUE@ $(am__append_141) $(am__append_142) +@BUILD_SULOGIN_TRUE@test_consoles_SOURCES = login-utils/sulogin-consoles.c +@BUILD_SULOGIN_TRUE@test_consoles_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM +@BUILD_SULOGIN_TRUE@test_consoles_LDADD = $(LDADD) libcommon.la +@BUILD_LOGIN_TRUE@login_SOURCES = \ +@BUILD_LOGIN_TRUE@ login-utils/login.c \ +@BUILD_LOGIN_TRUE@ login-utils/logindefs.c \ +@BUILD_LOGIN_TRUE@ login-utils/logindefs.h + +@BUILD_LOGIN_TRUE@login_LDADD = $(LDADD) libcommon.la -lpam \ +@BUILD_LOGIN_TRUE@ $(am__append_146) $(am__append_147) \ +@BUILD_LOGIN_TRUE@ $(am__append_148) +@BUILD_NOLOGIN_TRUE@nologin_SOURCES = login-utils/nologin.c +@BUILD_UTMPDUMP_TRUE@utmpdump_SOURCES = login-utils/utmpdump.c +@BUILD_UTMPDUMP_TRUE@utmpdump_LDADD = $(LDADD) libcommon.la +@BUILD_CHFN_CHSH_TRUE@chfn_chsh_sources = login-utils/ch-common.h \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/ch-common.c \ +@BUILD_CHFN_CHSH_TRUE@ $(am__append_157) $(am__append_160) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__append_161) $(am__append_162) +@BUILD_CHFN_CHSH_TRUE@chfn_chsh_cflags = $(SUID_CFLAGS) $(AM_CFLAGS) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__append_159) +@BUILD_CHFN_CHSH_TRUE@chfn_chsh_ldflags = $(SUID_LDFLAGS) \ +@BUILD_CHFN_CHSH_TRUE@ $(AM_LDFLAGS) $(am__append_158) +@BUILD_CHFN_CHSH_TRUE@chfn_chsh_ldadd = libcommon.la $(READLINE_LIBS) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__append_155) $(am__append_156) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__append_163) +@BUILD_CHFN_CHSH_TRUE@chfn_SOURCES = \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/chfn.c \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/logindefs.c \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/logindefs.h \ +@BUILD_CHFN_CHSH_TRUE@ $(chfn_chsh_sources) + +@BUILD_CHFN_CHSH_TRUE@chfn_CFLAGS = $(chfn_chsh_cflags) +@BUILD_CHFN_CHSH_TRUE@chfn_LDFLAGS = $(chfn_chsh_ldflags) +@BUILD_CHFN_CHSH_TRUE@chfn_LDADD = $(LDADD) $(chfn_chsh_ldadd) +@BUILD_CHFN_CHSH_TRUE@chsh_SOURCES = login-utils/chsh.c $(chfn_chsh_sources) +@BUILD_CHFN_CHSH_TRUE@chsh_CFLAGS = $(chfn_chsh_cflags) +@BUILD_CHFN_CHSH_TRUE@chsh_LDFLAGS = $(chfn_chsh_ldflags) +@BUILD_CHFN_CHSH_TRUE@chsh_LDADD = $(LDADD) $(chfn_chsh_ldadd) +@BUILD_SU_TRUE@su_SOURCES = \ +@BUILD_SU_TRUE@ login-utils/su.c \ +@BUILD_SU_TRUE@ login-utils/su-common.c \ +@BUILD_SU_TRUE@ login-utils/su-common.h \ +@BUILD_SU_TRUE@ login-utils/logindefs.c \ +@BUILD_SU_TRUE@ login-utils/logindefs.h + +@BUILD_SU_TRUE@su_CFLAGS = $(SUID_CFLAGS) $(AM_CFLAGS) +@BUILD_SU_TRUE@su_LDFLAGS = $(SUID_LDFLAGS) $(AM_LDFLAGS) +@BUILD_SU_TRUE@su_LDADD = $(LDADD) libcommon.la -lpam \ +@BUILD_SU_TRUE@ $(am__append_166) $(am__append_167) +@BUILD_RUNUSER_TRUE@runuser_SOURCES = \ +@BUILD_RUNUSER_TRUE@ login-utils/runuser.c \ +@BUILD_RUNUSER_TRUE@ login-utils/su-common.c \ +@BUILD_RUNUSER_TRUE@ login-utils/su-common.h \ +@BUILD_RUNUSER_TRUE@ login-utils/logindefs.c \ +@BUILD_RUNUSER_TRUE@ login-utils/logindefs.h + +@BUILD_RUNUSER_TRUE@runuser_LDADD = $(LDADD) libcommon.la -lpam \ +@BUILD_RUNUSER_TRUE@ $(am__append_170) $(am__append_171) +@BUILD_NEWGRP_TRUE@newgrp_SOURCES = login-utils/newgrp.c +@BUILD_NEWGRP_TRUE@newgrp_CFLAGS = $(SUID_CFLAGS) $(AM_CFLAGS) +@BUILD_NEWGRP_TRUE@newgrp_LDFLAGS = $(SUID_LDFLAGS) $(AM_LDFLAGS) +@BUILD_NEWGRP_TRUE@newgrp_LDADD = $(LDADD) $(am__append_174) +@BUILD_LSLOGINS_TRUE@lslogins_SOURCES = \ +@BUILD_LSLOGINS_TRUE@ login-utils/lslogins.c \ +@BUILD_LSLOGINS_TRUE@ login-utils/logindefs.c \ +@BUILD_LSLOGINS_TRUE@ login-utils/logindefs.h + +@BUILD_LSLOGINS_TRUE@lslogins_LDADD = $(LDADD) libcommon.la \ +@BUILD_LSLOGINS_TRUE@ libsmartcols.la $(am__append_177) \ +@BUILD_LSLOGINS_TRUE@ $(am__append_178) +@BUILD_LSLOGINS_TRUE@lslogins_CFLAGS = $(AM_CFLAGS) \ +@BUILD_LSLOGINS_TRUE@ -I$(ul_libsmartcols_incdir) \ +@BUILD_LSLOGINS_TRUE@ $(am__append_179) +@BUILD_VIPW_TRUE@vipw_SOURCES = \ +@BUILD_VIPW_TRUE@ login-utils/vipw.c \ +@BUILD_VIPW_TRUE@ login-utils/setpwnam.h + +@BUILD_VIPW_TRUE@vipw_LDADD = $(LDADD) libcommon.la $(am__append_182) +test_islocal_SOURCES = login-utils/islocal.c +test_islocal_CPPFLAGS = -DTEST_PROGRAM $(AM_CPPFLAGS) +test_logindefs_SOURCES = \ + login-utils/logindefs.c \ + login-utils/logindefs.h + +test_logindefs_CPPFLAGS = -DTEST_PROGRAM $(AM_CPPFLAGS) +@BUILD_LSMEM_TRUE@lsmem_SOURCES = sys-utils/lsmem.c +@BUILD_LSMEM_TRUE@lsmem_LDADD = $(LDADD) libcommon.la libsmartcols.la +@BUILD_LSMEM_TRUE@lsmem_CFLAGS = $(AM_CFLAGS) -I$(ul_libsmartcols_incdir) +@BUILD_CHMEM_TRUE@chmem_SOURCES = sys-utils/chmem.c +@BUILD_CHMEM_TRUE@chmem_LDADD = $(LDADD) libcommon.la +@BUILD_FLOCK_TRUE@flock_SOURCES = sys-utils/flock.c lib/monotonic.c lib/timer.c +@BUILD_FLOCK_TRUE@flock_LDADD = $(LDADD) libcommon.la $(REALTIME_LIBS) +@BUILD_CHOOM_TRUE@choom_SOURCES = sys-utils/choom.c +@BUILD_CHOOM_TRUE@choom_LDADD = $(LDADD) libcommon.la +@BUILD_IPCMK_TRUE@ipcmk_SOURCES = sys-utils/ipcmk.c +@BUILD_IPCMK_TRUE@ipcmk_LDADD = $(LDADD) libcommon.la +@BUILD_IPCRM_TRUE@ipcrm_SOURCES = sys-utils/ipcrm.c +@BUILD_IPCRM_TRUE@ipcrm_LDADD = $(LDADD) libcommon.la +@BUILD_IPCS_TRUE@ipcs_SOURCES = sys-utils/ipcs.c \ +@BUILD_IPCS_TRUE@ sys-utils/ipcutils.c \ +@BUILD_IPCS_TRUE@ sys-utils/ipcutils.h + +@BUILD_IPCS_TRUE@ipcs_LDADD = $(LDADD) libcommon.la +@BUILD_LSIPC_TRUE@lsipc_SOURCES = sys-utils/lsipc.c \ +@BUILD_LSIPC_TRUE@ sys-utils/ipcutils.c \ +@BUILD_LSIPC_TRUE@ sys-utils/ipcutils.h + +@BUILD_LSIPC_TRUE@lsipc_LDADD = $(LDADD) libcommon.la libsmartcols.la +@BUILD_LSIPC_TRUE@lsipc_CFLAGS = $(AM_CFLAGS) -I$(ul_libsmartcols_incdir) +@BUILD_RENICE_TRUE@renice_SOURCES = sys-utils/renice.c +@BUILD_RFKILL_TRUE@rfkill_SOURCES = sys-utils/rfkill.c +@BUILD_RFKILL_TRUE@rfkill_LDADD = $(LDADD) libcommon.la libsmartcols.la +@BUILD_RFKILL_TRUE@rfkill_CFLAGS = $(AM_CFLAGS) -I$(ul_libsmartcols_incdir) +@BUILD_SETSID_TRUE@setsid_SOURCES = sys-utils/setsid.c +@BUILD_READPROFILE_TRUE@readprofile_SOURCES = sys-utils/readprofile.c +@BUILD_TUNELP_TRUE@tunelp_SOURCES = sys-utils/tunelp.c +@BUILD_TUNELP_TRUE@tunelp_LDADD = $(LDADD) libcommon.la +@BUILD_FSTRIM_TRUE@fstrim_SOURCES = sys-utils/fstrim.c +@BUILD_FSTRIM_TRUE@fstrim_LDADD = $(LDADD) libcommon.la libmount.la +@BUILD_FSTRIM_TRUE@fstrim_CFLAGS = $(AM_CFLAGS) -I$(ul_libmount_incdir) +@BUILD_DMESG_TRUE@dmesg_SOURCES = sys-utils/dmesg.c lib/monotonic.c +@BUILD_DMESG_TRUE@dmesg_LDADD = $(LDADD) libcommon.la libtcolors.la $(REALTIME_LIBS) +@BUILD_DMESG_TRUE@dmesg_CFLAGS = $(AM_CFLAGS) +@BUILD_DMESG_TRUE@test_dmesg_SOURCES = $(dmesg_SOURCES) +@BUILD_DMESG_TRUE@test_dmesg_LDADD = $(dmesg_LDADD) +@BUILD_DMESG_TRUE@test_dmesg_CFLAGS = -DTEST_DMESG $(dmesg_CFLAGS) +@BUILD_CTRLALTDEL_TRUE@ctrlaltdel_SOURCES = sys-utils/ctrlaltdel.c +@BUILD_CTRLALTDEL_TRUE@ctrlaltdel_LDADD = $(LDADD) libcommon.la +@BUILD_FSFREEZE_TRUE@fsfreeze_SOURCES = sys-utils/fsfreeze.c +@BUILD_BLKDISCARD_TRUE@blkdiscard_SOURCES = sys-utils/blkdiscard.c lib/monotonic.c +@BUILD_BLKDISCARD_TRUE@blkdiscard_LDADD = $(LDADD) libcommon.la $(REALTIME_LIBS) +@BUILD_BLKZONE_TRUE@blkzone_SOURCES = sys-utils/blkzone.c +@BUILD_BLKZONE_TRUE@blkzone_LDADD = $(LDADD) libcommon.la +@BUILD_LDATTACH_TRUE@ldattach_SOURCES = sys-utils/ldattach.c +@BUILD_LDATTACH_TRUE@ldattach_LDADD = $(LDADD) libcommon.la +@BUILD_RTCWAKE_TRUE@rtcwake_SOURCES = sys-utils/rtcwake.c +@BUILD_RTCWAKE_TRUE@rtcwake_LDADD = $(LDADD) libcommon.la +@BUILD_SETARCH_TRUE@setarch_SOURCES = sys-utils/setarch.c +@BUILD_SETARCH_TRUE@SETARCH_LINKS = uname26 linux32 linux64 \ +@BUILD_SETARCH_TRUE@ $(am__append_231) $(am__append_232) \ +@BUILD_SETARCH_TRUE@ $(am__append_233) $(am__append_234) \ +@BUILD_SETARCH_TRUE@ $(am__append_235) $(am__append_236) \ +@BUILD_SETARCH_TRUE@ $(am__append_237) $(am__append_238) +@BUILD_SETARCH_TRUE@SETARCH_MAN_LINKS = $(addprefix sys-utils/,$(SETARCH_LINKS:=.8)) +@BUILD_EJECT_TRUE@eject_SOURCES = sys-utils/eject.c lib/monotonic.c +@BUILD_EJECT_TRUE@eject_LDADD = $(LDADD) libmount.la libcommon.la $(REALTIME_LIBS) +@BUILD_EJECT_TRUE@eject_CFLAGS = $(AM_CFLAGS) -I$(ul_libmount_incdir) +@BUILD_LOSETUP_TRUE@losetup_SOURCES = sys-utils/losetup.c +@BUILD_LOSETUP_TRUE@losetup_LDADD = $(LDADD) libcommon.la libsmartcols.la +@BUILD_LOSETUP_TRUE@losetup_CFLAGS = $(AM_CFLAGS) -I$(ul_libsmartcols_incdir) +@BUILD_LOSETUP_TRUE@@HAVE_STATIC_LOSETUP_TRUE@losetup_static_SOURCES = $(losetup_SOURCES) +@BUILD_LOSETUP_TRUE@@HAVE_STATIC_LOSETUP_TRUE@losetup_static_LDFLAGS = -all-static +@BUILD_LOSETUP_TRUE@@HAVE_STATIC_LOSETUP_TRUE@losetup_static_LDADD = $(losetup_LDADD) +@BUILD_LOSETUP_TRUE@@HAVE_STATIC_LOSETUP_TRUE@losetup_static_CFLAGS = $(AM_CFLAGS) -I$(ul_libsmartcols_incdir) +@BUILD_ZRAMCTL_TRUE@zramctl_SOURCES = sys-utils/zramctl.c +@BUILD_ZRAMCTL_TRUE@zramctl_LDADD = $(LDADD) libcommon.la libsmartcols.la +@BUILD_ZRAMCTL_TRUE@zramctl_CFLAGS = $(AM_CFLAGS) -I$(ul_libsmartcols_incdir) +@BUILD_PRLIMIT_TRUE@prlimit_SOURCES = sys-utils/prlimit.c +@BUILD_PRLIMIT_TRUE@prlimit_LDADD = $(LDADD) libcommon.la libsmartcols.la +@BUILD_PRLIMIT_TRUE@prlimit_CFLAGS = $(AM_CFLAGS) -I$(ul_libsmartcols_incdir) +@BUILD_LSNS_TRUE@lsns_SOURCES = sys-utils/lsns.c +@BUILD_LSNS_TRUE@lsns_LDADD = $(LDADD) libcommon.la libsmartcols.la libmount.la +@BUILD_LSNS_TRUE@lsns_CFLAGS = $(AM_CFLAGS) -I$(ul_libsmartcols_incdir) -I$(ul_libmount_incdir) +@BUILD_MOUNT_TRUE@mount_SOURCES = sys-utils/mount.c +@BUILD_MOUNT_TRUE@mount_LDADD = $(LDADD) libcommon.la libmount.la $(SELINUX_LIBS) +@BUILD_MOUNT_TRUE@mount_CFLAGS = $(SUID_CFLAGS) $(AM_CFLAGS) -I$(ul_libmount_incdir) +@BUILD_MOUNT_TRUE@mount_LDFLAGS = $(SUID_LDFLAGS) $(AM_LDFLAGS) +@BUILD_MOUNT_TRUE@umount_SOURCES = sys-utils/umount.c +@BUILD_MOUNT_TRUE@umount_LDADD = $(LDADD) libcommon.la libmount.la +@BUILD_MOUNT_TRUE@umount_CFLAGS = $(AM_CFLAGS) $(SUID_CFLAGS) -I$(ul_libmount_incdir) +@BUILD_MOUNT_TRUE@umount_LDFLAGS = $(SUID_LDFLAGS) $(AM_LDFLAGS) +@BUILD_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@mount_static_SOURCES = $(mount_SOURCES) +@BUILD_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@mount_static_CFLAGS = $(mount_CFLAGS) +@BUILD_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@mount_static_LDFLAGS = $(mount_LDFLAGS) -all-static +@BUILD_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@mount_static_LDADD = $(mount_LDADD) $(SELINUX_LIBS_STATIC) +@BUILD_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@umount_static_SOURCES = $(umount_SOURCES) +@BUILD_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@umount_static_CFLAGS = $(umount_CFLAGS) +@BUILD_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@umount_static_LDFLAGS = $(umount_LDFLAGS) -all-static +@BUILD_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@umount_static_LDADD = $(umount_LDADD) +@BUILD_SWAPON_TRUE@swapon_SOURCES = \ +@BUILD_SWAPON_TRUE@ sys-utils/swapon.c \ +@BUILD_SWAPON_TRUE@ sys-utils/swapon-common.c \ +@BUILD_SWAPON_TRUE@ sys-utils/swapon-common.h \ +@BUILD_SWAPON_TRUE@ lib/swapprober.c \ +@BUILD_SWAPON_TRUE@ include/swapprober.h + +@BUILD_SWAPON_TRUE@swapon_CFLAGS = $(AM_CFLAGS) \ +@BUILD_SWAPON_TRUE@ -I$(ul_libblkid_incdir) \ +@BUILD_SWAPON_TRUE@ -I$(ul_libmount_incdir) \ +@BUILD_SWAPON_TRUE@ -I$(ul_libsmartcols_incdir) + +@BUILD_SWAPON_TRUE@swapon_LDADD = $(LDADD) \ +@BUILD_SWAPON_TRUE@ libblkid.la \ +@BUILD_SWAPON_TRUE@ libcommon.la \ +@BUILD_SWAPON_TRUE@ libmount.la \ +@BUILD_SWAPON_TRUE@ libsmartcols.la + +@BUILD_SWAPON_TRUE@swapoff_SOURCES = \ +@BUILD_SWAPON_TRUE@ sys-utils/swapoff.c \ +@BUILD_SWAPON_TRUE@ sys-utils/swapon-common.c \ +@BUILD_SWAPON_TRUE@ sys-utils/swapon-common.h \ +@BUILD_SWAPON_TRUE@ lib/swapprober.c \ +@BUILD_SWAPON_TRUE@ include/swapprober.h + +@BUILD_SWAPON_TRUE@swapoff_CFLAGS = $(AM_CFLAGS) \ +@BUILD_SWAPON_TRUE@ -I$(ul_libblkid_incdir) \ +@BUILD_SWAPON_TRUE@ -I$(ul_libmount_incdir) + +@BUILD_SWAPON_TRUE@swapoff_LDADD = $(LDADD) \ +@BUILD_SWAPON_TRUE@ libmount.la \ +@BUILD_SWAPON_TRUE@ libblkid.la \ +@BUILD_SWAPON_TRUE@ libcommon.la + +@BUILD_LSCPU_TRUE@lscpu_SOURCES = \ +@BUILD_LSCPU_TRUE@ sys-utils/lscpu.c \ +@BUILD_LSCPU_TRUE@ sys-utils/lscpu.h \ +@BUILD_LSCPU_TRUE@ sys-utils/lscpu-arm.c \ +@BUILD_LSCPU_TRUE@ sys-utils/lscpu-dmi.c + +@BUILD_LSCPU_TRUE@lscpu_LDADD = $(LDADD) libcommon.la libsmartcols.la $(RTAS_LIBS) +@BUILD_LSCPU_TRUE@lscpu_CFLAGS = $(AM_CFLAGS) -I$(ul_libsmartcols_incdir) +@BUILD_CHCPU_TRUE@chcpu_SOURCES = sys-utils/chcpu.c +@BUILD_CHCPU_TRUE@chcpu_LDADD = $(LDADD) libcommon.la +@BUILD_WDCTL_TRUE@wdctl_SOURCES = sys-utils/wdctl.c +@BUILD_WDCTL_TRUE@wdctl_LDADD = $(LDADD) libcommon.la libsmartcols.la +@BUILD_WDCTL_TRUE@wdctl_CFLAGS = $(AM_CFLAGS) -I$(ul_libsmartcols_incdir) +@BUILD_MOUNTPOINT_TRUE@mountpoint_LDADD = $(LDADD) libmount.la +@BUILD_MOUNTPOINT_TRUE@mountpoint_CFLAGS = $(AM_CFLAGS) -I$(ul_libmount_incdir) +@BUILD_MOUNTPOINT_TRUE@mountpoint_SOURCES = sys-utils/mountpoint.c +@BUILD_FALLOCATE_TRUE@fallocate_SOURCES = sys-utils/fallocate.c +@BUILD_FALLOCATE_TRUE@fallocate_LDADD = $(LDADD) libcommon.la +@BUILD_PIVOT_ROOT_TRUE@pivot_root_SOURCES = sys-utils/pivot_root.c +@BUILD_SWITCH_ROOT_TRUE@switch_root_SOURCES = sys-utils/switch_root.c +@BUILD_UNSHARE_TRUE@unshare_SOURCES = sys-utils/unshare.c +@BUILD_UNSHARE_TRUE@unshare_LDADD = $(LDADD) libcommon.la +@BUILD_UNSHARE_TRUE@unshare_CFLAGS = $(AM_CFLAGS) -I$(ul_libmount_incdir) +@BUILD_UNSHARE_TRUE@@HAVE_STATIC_UNSHARE_TRUE@unshare_static_SOURCES = $(unshare_SOURCES) +@BUILD_UNSHARE_TRUE@@HAVE_STATIC_UNSHARE_TRUE@unshare_static_LDFLAGS = -all-static +@BUILD_UNSHARE_TRUE@@HAVE_STATIC_UNSHARE_TRUE@unshare_static_LDADD = $(unshare_LDADD) +@BUILD_UNSHARE_TRUE@@HAVE_STATIC_UNSHARE_TRUE@unshare_static_CFLAGS = $(unshare_CFLAGS) +@BUILD_NSENTER_TRUE@nsenter_SOURCES = sys-utils/nsenter.c +@BUILD_NSENTER_TRUE@nsenter_LDADD = $(LDADD) libcommon.la $(SELINUX_LIBS) +@BUILD_NSENTER_TRUE@@HAVE_STATIC_NSENTER_TRUE@nsenter_static_SOURCES = $(nsenter_SOURCES) +@BUILD_NSENTER_TRUE@@HAVE_STATIC_NSENTER_TRUE@nsenter_static_LDFLAGS = -all-static +@BUILD_NSENTER_TRUE@@HAVE_STATIC_NSENTER_TRUE@nsenter_static_LDADD = $(nsenter_LDADD) +@BUILD_HWCLOCK_TRUE@hwclock_SOURCES = sys-utils/hwclock.c \ +@BUILD_HWCLOCK_TRUE@ sys-utils/hwclock.h \ +@BUILD_HWCLOCK_TRUE@ sys-utils/hwclock-cmos.c $(am__append_284) +@BUILD_HWCLOCK_TRUE@hwclock_LDADD = $(LDADD) libcommon.la -lm \ +@BUILD_HWCLOCK_TRUE@ $(am__append_285) +@BUILD_SETPRIV_TRUE@setpriv_SOURCES = sys-utils/setpriv.c +@BUILD_SETPRIV_TRUE@setpriv_LDADD = $(LDADD) -lcap-ng libcommon.la +@BUILD_CAL_TRUE@cal_SOURCES = misc-utils/cal.c +@BUILD_CAL_TRUE@cal_CFLAGS = $(AM_CFLAGS) $(am__append_291) \ +@BUILD_CAL_TRUE@ $(am__append_293) +@BUILD_CAL_TRUE@cal_LDADD = $(LDADD) libcommon.la libtcolors.la \ +@BUILD_CAL_TRUE@ $(am__append_290) $(am__append_292) +@BUILD_CAL_TRUE@test_cal_SOURCES = $(cal_SOURCES) +@BUILD_CAL_TRUE@test_cal_LDADD = $(cal_LDADD) +@BUILD_CAL_TRUE@test_cal_CFLAGS = -DTEST_CAL $(cal_CFLAGS) +@BUILD_LOGGER_TRUE@logger_SOURCES = misc-utils/logger.c lib/strutils.c lib/strv.c +@BUILD_LOGGER_TRUE@logger_LDADD = $(LDADD) $(am__append_297) +@BUILD_LOGGER_TRUE@logger_CFLAGS = $(AM_CFLAGS) $(am__append_298) +@BUILD_LOGGER_TRUE@test_logger_SOURCES = $(logger_SOURCES) +@BUILD_LOGGER_TRUE@test_logger_LDADD = $(logger_LDADD) +@BUILD_LOGGER_TRUE@test_logger_CFLAGS = -DTEST_LOGGER $(logger_CFLAGS) +@BUILD_LOOK_TRUE@look_SOURCES = misc-utils/look.c +@BUILD_MCOOKIE_TRUE@mcookie_SOURCES = misc-utils/mcookie.c lib/md5.c +@BUILD_MCOOKIE_TRUE@mcookie_LDADD = $(LDADD) libcommon.la +@BUILD_NAMEI_TRUE@namei_SOURCES = misc-utils/namei.c lib/strutils.c lib/idcache.c +@BUILD_WHEREIS_TRUE@whereis_SOURCES = misc-utils/whereis.c +@BUILD_WHEREIS_TRUE@whereis_LDADD = $(LDADD) libcommon.la +@BUILD_LSLOCKS_TRUE@lslocks_LDADD = $(LDADD) libcommon.la libmount.la libsmartcols.la +@BUILD_LSLOCKS_TRUE@lslocks_SOURCES = misc-utils/lslocks.c +@BUILD_LSLOCKS_TRUE@lslocks_CFLAGS = $(AM_CFLAGS) -I$(ul_libmount_incdir) -I$(ul_libsmartcols_incdir) +@BUILD_LSBLK_TRUE@lsblk_SOURCES = \ +@BUILD_LSBLK_TRUE@ misc-utils/lsblk.c \ +@BUILD_LSBLK_TRUE@ misc-utils/lsblk-mnt.c \ +@BUILD_LSBLK_TRUE@ misc-utils/lsblk-properties.c \ +@BUILD_LSBLK_TRUE@ misc-utils/lsblk.h + +@BUILD_LSBLK_TRUE@lsblk_LDADD = $(LDADD) libblkid.la libmount.la \ +@BUILD_LSBLK_TRUE@ libcommon.la libsmartcols.la \ +@BUILD_LSBLK_TRUE@ $(am__append_312) +@BUILD_LSBLK_TRUE@lsblk_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) -I$(ul_libmount_incdir) -I$(ul_libsmartcols_incdir) +@BUILD_UUIDGEN_TRUE@uuidgen_SOURCES = misc-utils/uuidgen.c +@BUILD_UUIDGEN_TRUE@uuidgen_LDADD = $(LDADD) libuuid.la +@BUILD_UUIDGEN_TRUE@uuidgen_CFLAGS = $(AM_CFLAGS) -I$(ul_libuuid_incdir) +@BUILD_UUIDPARSE_TRUE@uuidparse_SOURCES = misc-utils/uuidparse.c +@BUILD_UUIDPARSE_TRUE@uuidparse_LDADD = $(LDADD) libcommon.la libuuid.la libsmartcols.la +@BUILD_UUIDPARSE_TRUE@uuidparse_CFLAGS = $(AM_CFLAGS) -I$(ul_libuuid_incdir) -I$(ul_libsmartcols_incdir) +@BUILD_UUIDD_TRUE@uuidd_LDADD = $(LDADD) libuuid.la libcommon.la \ +@BUILD_UUIDD_TRUE@ $(REALTIME_LIBS) $(am__append_319) +@BUILD_UUIDD_TRUE@uuidd_CFLAGS = $(DAEMON_CFLAGS) $(AM_CFLAGS) \ +@BUILD_UUIDD_TRUE@ -I$(ul_libuuid_incdir) $(am__append_320) +@BUILD_UUIDD_TRUE@uuidd_LDFLAGS = $(DAEMON_LDFLAGS) $(AM_LDFLAGS) +@BUILD_UUIDD_TRUE@uuidd_SOURCES = misc-utils/uuidd.c lib/monotonic.c lib/timer.c +@BUILD_UUIDD_TRUE@test_uuidd_SOURCES = misc-utils/test_uuidd.c +@BUILD_UUIDD_TRUE@test_uuidd_LDADD = $(LDADD) libcommon.la libuuid.la -lpthread +@BUILD_UUIDD_TRUE@test_uuidd_CFLAGS = $(AM_CFLAGS) -I$(ul_libuuid_incdir) +@BUILD_BLKID_TRUE@blkid_SOURCES = misc-utils/blkid.c +@BUILD_BLKID_TRUE@blkid_LDADD = $(LDADD) libblkid.la libcommon.la +@BUILD_BLKID_TRUE@blkid_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) +@BUILD_BLKID_TRUE@@HAVE_STATIC_BLKID_TRUE@blkid_static_SOURCES = $(blkid_SOURCES) +@BUILD_BLKID_TRUE@@HAVE_STATIC_BLKID_TRUE@blkid_static_LDFLAGS = -all-static +@BUILD_BLKID_TRUE@@HAVE_STATIC_BLKID_TRUE@blkid_static_LDADD = $(LDADD) libblkid.la +@BUILD_BLKID_TRUE@@HAVE_STATIC_BLKID_TRUE@blkid_static_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) +@BUILD_FINDFS_TRUE@findfs_LDADD = $(LDADD) libblkid.la +@BUILD_FINDFS_TRUE@findfs_SOURCES = misc-utils/findfs.c +@BUILD_FINDFS_TRUE@findfs_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) +@BUILD_WIPEFS_TRUE@wipefs_SOURCES = misc-utils/wipefs.c +@BUILD_WIPEFS_TRUE@wipefs_LDADD = $(LDADD) libblkid.la libcommon.la libsmartcols.la +@BUILD_WIPEFS_TRUE@wipefs_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) -I$(ul_libsmartcols_incdir) +@BUILD_FINDMNT_TRUE@findmnt_LDADD = $(LDADD) libmount.la libcommon.la \ +@BUILD_FINDMNT_TRUE@ libsmartcols.la libblkid.la \ +@BUILD_FINDMNT_TRUE@ $(am__append_332) +@BUILD_FINDMNT_TRUE@findmnt_CFLAGS = $(AM_CFLAGS) \ +@BUILD_FINDMNT_TRUE@ -I$(ul_libmount_incdir) \ +@BUILD_FINDMNT_TRUE@ -I$(ul_libsmartcols_incdir) \ +@BUILD_FINDMNT_TRUE@ -I$(ul_libblkid_incdir) + +@BUILD_FINDMNT_TRUE@findmnt_SOURCES = misc-utils/findmnt.c \ +@BUILD_FINDMNT_TRUE@ misc-utils/findmnt-verify.c \ +@BUILD_FINDMNT_TRUE@ misc-utils/findmnt.h + +@BUILD_KILL_TRUE@kill_SOURCES = misc-utils/kill.c +@BUILD_KILL_TRUE@kill_LDADD = $(LDADD) libcommon.la +@BUILD_RENAME_TRUE@rename_SOURCES = misc-utils/rename.c +@BUILD_GETOPT_TRUE@getopt_SOURCES = misc-utils/getopt.c +@BUILD_GETOPT_TRUE@getoptexampledir = $(docdir)/getopt/ +@BUILD_GETOPT_TRUE@dist_getoptexample_SCRIPTS = \ +@BUILD_GETOPT_TRUE@ misc-utils/getopt-parse.bash \ +@BUILD_GETOPT_TRUE@ misc-utils/getopt-parse.tcsh + +@BUILD_FINCORE_TRUE@fincore_SOURCES = misc-utils/fincore.c +@BUILD_FINCORE_TRUE@fincore_LDADD = $(LDADD) libsmartcols.la libcommon.la +@BUILD_FINCORE_TRUE@fincore_CFLAGS = $(AM_CFLAGS) -I$(ul_libsmartcols_incdir) +@BUILD_MINIX_TRUE@fsck_minix_SOURCES = \ +@BUILD_MINIX_TRUE@ disk-utils/fsck.minix.c \ +@BUILD_MINIX_TRUE@ disk-utils/minix_programs.h + +@BUILD_MINIX_TRUE@fsck_minix_LDADD = $(LDADD) libcommon.la +@BUILD_MINIX_TRUE@mkfs_minix_SOURCES = \ +@BUILD_MINIX_TRUE@ disk-utils/minix_programs.h \ +@BUILD_MINIX_TRUE@ disk-utils/mkfs.minix.c + +@BUILD_MINIX_TRUE@mkfs_minix_LDADD = $(LDADD) libcommon.la +@BUILD_MINIX_TRUE@test_mkfs_minix_SOURCES = $(mkfs_minix_SOURCES) +@BUILD_MINIX_TRUE@test_mkfs_minix_LDADD = $(mkfs_minix_LDADD) +@BUILD_MINIX_TRUE@test_mkfs_minix_CFLAGS = $(AM_CFLAGS) -DTEST_SCRIPT +@BUILD_MKFS_TRUE@mkfs_SOURCES = disk-utils/mkfs.c +@BUILD_ISOSIZE_TRUE@isosize_SOURCES = disk-utils/isosize.c +@BUILD_ISOSIZE_TRUE@isosize_LDADD = $(LDADD) libcommon.la +@BUILD_BFS_TRUE@mkfs_bfs_SOURCES = \ +@BUILD_BFS_TRUE@ disk-utils/mkfs.bfs.c + +@BUILD_BFS_TRUE@mkfs_bfs_LDADD = $(LDADD) libcommon.la +@BUILD_MKSWAP_TRUE@mkswap_SOURCES = \ +@BUILD_MKSWAP_TRUE@ disk-utils/mkswap.c + +@BUILD_MKSWAP_TRUE@mkswap_LDADD = $(LDADD) libcommon.la \ +@BUILD_MKSWAP_TRUE@ $(am__append_353) $(am__append_355) \ +@BUILD_MKSWAP_TRUE@ $(am__append_356) +@BUILD_MKSWAP_TRUE@mkswap_CFLAGS = $(AM_CFLAGS) $(am__append_352) \ +@BUILD_MKSWAP_TRUE@ $(am__append_354) +@BUILD_SWAPLABEL_TRUE@swaplabel_SOURCES = \ +@BUILD_SWAPLABEL_TRUE@ disk-utils/swaplabel.c \ +@BUILD_SWAPLABEL_TRUE@ lib/swapprober.c \ +@BUILD_SWAPLABEL_TRUE@ include/swapprober.h + +@BUILD_SWAPLABEL_TRUE@swaplabel_CFLAGS = $(AM_CFLAGS) \ +@BUILD_SWAPLABEL_TRUE@ -I$(ul_libblkid_incdir) \ +@BUILD_SWAPLABEL_TRUE@ $(am__append_360) +@BUILD_SWAPLABEL_TRUE@swaplabel_LDADD = $(LDADD) libblkid.la \ +@BUILD_SWAPLABEL_TRUE@ libcommon.la $(am__append_359) +@BUILD_FSCK_TRUE@fsck_SOURCES = disk-utils/fsck.c lib/monotonic.c +@BUILD_FSCK_TRUE@fsck_LDADD = $(LDADD) libmount.la libblkid.la libcommon.la $(REALTIME_LIBS) +@BUILD_FSCK_TRUE@fsck_CFLAGS = $(AM_CFLAGS) -I$(ul_libmount_incdir) -I$(ul_libblkid_incdir) +@BUILD_RAW_TRUE@raw_SOURCES = disk-utils/raw.c +@BUILD_CRAMFS_TRUE@cramfs_common_sources = disk-utils/cramfs.h disk-utils/cramfs_common.c +@BUILD_CRAMFS_TRUE@fsck_cramfs_SOURCES = disk-utils/fsck.cramfs.c $(cramfs_common_sources) +@BUILD_CRAMFS_TRUE@fsck_cramfs_LDADD = $(LDADD) -lz libcommon.la +@BUILD_CRAMFS_TRUE@mkfs_cramfs_SOURCES = disk-utils/mkfs.cramfs.c $(cramfs_common_sources) +@BUILD_CRAMFS_TRUE@mkfs_cramfs_LDADD = $(LDADD) -lz libcommon.la +@BUILD_FDFORMAT_TRUE@fdformat_SOURCES = disk-utils/fdformat.c +@BUILD_FDFORMAT_TRUE@fdformat_LDADD = $(LDADD) libcommon.la +@BUILD_BLOCKDEV_TRUE@blockdev_SOURCES = disk-utils/blockdev.c +@BUILD_BLOCKDEV_TRUE@blockdev_LDADD = $(LDADD) libcommon.la +@BUILD_FDISK_TRUE@fdisk_SOURCES = \ +@BUILD_FDISK_TRUE@ disk-utils/fdisk.c \ +@BUILD_FDISK_TRUE@ disk-utils/fdisk.h \ +@BUILD_FDISK_TRUE@ disk-utils/fdisk-menu.c \ +@BUILD_FDISK_TRUE@ disk-utils/fdisk-list.c \ +@BUILD_FDISK_TRUE@ disk-utils/fdisk-list.h + +@BUILD_FDISK_TRUE@fdisk_LDADD = $(LDADD) libcommon.la libfdisk.la \ +@BUILD_FDISK_TRUE@ libsmartcols.la libtcolors.la $(READLINE_LIBS) + +@BUILD_FDISK_TRUE@fdisk_CFLAGS = $(AM_CFLAGS) -I$(ul_libfdisk_incdir) -I$(ul_libsmartcols_incdir) +@BUILD_FDISK_TRUE@@HAVE_STATIC_FDISK_TRUE@fdisk_static_SOURCES = $(fdisk_SOURCES) +@BUILD_FDISK_TRUE@@HAVE_STATIC_FDISK_TRUE@fdisk_static_LDFLAGS = -all-static +@BUILD_FDISK_TRUE@@HAVE_STATIC_FDISK_TRUE@fdisk_static_CFLAGS = $(fdisk_CFLAGS) +@BUILD_FDISK_TRUE@@HAVE_STATIC_FDISK_TRUE@fdisk_static_LDADD = $(fdisk_LDADD) $(READLINE_LIBS_STATIC) +@BUILD_SFDISK_TRUE@sfdisk_SOURCES = \ +@BUILD_SFDISK_TRUE@ disk-utils/sfdisk.c \ +@BUILD_SFDISK_TRUE@ disk-utils/fdisk-list.c \ +@BUILD_SFDISK_TRUE@ disk-utils/fdisk-list.h + +@BUILD_SFDISK_TRUE@sfdisk_LDADD = $(LDADD) libcommon.la libfdisk.la \ +@BUILD_SFDISK_TRUE@ libsmartcols.la libtcolors.la $(READLINE_LIBS) + +@BUILD_SFDISK_TRUE@sfdisk_CFLAGS = $(AM_CFLAGS) -I$(ul_libfdisk_incdir) -I$(ul_libsmartcols_incdir) +@BUILD_SFDISK_TRUE@@HAVE_STATIC_SFDISK_TRUE@sfdisk_static_SOURCES = $(sfdisk_SOURCES) +@BUILD_SFDISK_TRUE@@HAVE_STATIC_SFDISK_TRUE@sfdisk_static_LDFLAGS = -all-static +@BUILD_SFDISK_TRUE@@HAVE_STATIC_SFDISK_TRUE@sfdisk_static_CFLAGS = $(sfdisk_CFLAGS) +@BUILD_SFDISK_TRUE@@HAVE_STATIC_SFDISK_TRUE@sfdisk_static_LDADD = $(sfdisk_LDADD) $(READLINE_LIBS_STATIC) +@BUILD_CFDISK_TRUE@cfdisk_SOURCES = disk-utils/cfdisk.c +@BUILD_CFDISK_TRUE@cfdisk_LDADD = $(LDADD) libsmartcols.la \ +@BUILD_CFDISK_TRUE@ libcommon.la libfdisk.la libtcolors.la \ +@BUILD_CFDISK_TRUE@ $(am__append_380) $(am__append_381) \ +@BUILD_CFDISK_TRUE@ $(am__append_383) +@BUILD_CFDISK_TRUE@cfdisk_CFLAGS = $(AM_CFLAGS) \ +@BUILD_CFDISK_TRUE@ -I$(ul_libfdisk_incdir) \ +@BUILD_CFDISK_TRUE@ -I$(ul_libsmartcols_incdir) \ +@BUILD_CFDISK_TRUE@ $(am__append_379) $(am__append_382) +@BUILD_PARTX_TRUE@addpart_SOURCES = disk-utils/addpart.c +@BUILD_PARTX_TRUE@addpart_LDADD = $(LDADD) libcommon.la +@BUILD_PARTX_TRUE@delpart_SOURCES = disk-utils/delpart.c +@BUILD_PARTX_TRUE@delpart_LDADD = $(LDADD) libcommon.la +@BUILD_PARTX_TRUE@resizepart_SOURCES = disk-utils/resizepart.c +@BUILD_PARTX_TRUE@resizepart_LDADD = $(LDADD) libcommon.la +@BUILD_PARTX_TRUE@partx_SOURCES = disk-utils/partx.c +@BUILD_PARTX_TRUE@partx_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) -I$(ul_libsmartcols_incdir) +@BUILD_PARTX_TRUE@partx_LDADD = $(LDADD) libblkid.la libcommon.la libsmartcols.la +test_mbsencode_SOURCES = tests/helpers/test_mbsencode.c +test_mbsencode_LDADD = $(LDADD) libcommon.la +test_byteswap_SOURCES = tests/helpers/test_byteswap.c +test_md5_SOURCES = tests/helpers/test_md5.c lib/md5.c +test_sha1_SOURCES = tests/helpers/test_sha1.c lib/sha1.c +test_pathnames_SOURCES = tests/helpers/test_pathnames.c +test_sysinfo_SOURCES = tests/helpers/test_sysinfo.c +test_sigreceive_SOURCES = tests/helpers/test_sigreceive.c +test_sigreceive_LDADD = $(LDADD) libcommon.la +test_tiocsti_SOURCES = tests/helpers/test_tiocsti.c +test_uuid_namespace_SOURCES = tests/helpers/test_uuid_namespace.c \ + libuuid/src/predefined.c libuuid/src/unpack.c libuuid/src/unparse.c + +TS_OPTS = --nonroot +TS_COMMAND = $(top_srcdir)/tests/run.sh \ + --srcdir=$(abs_top_srcdir) --builddir=$(abs_top_builddir) \ + --parallel $(TS_OPTS) + + +# +# Don't rely on configure.ac AC_CONFIG_FILES for install paths. +# +# The paths should be expanded at make time rather than configure: +# - to support 'make install prefix=/foo DESTDIR=/foo' +# - to recursively expands the paths (e.g. AC_CONFIG_FILES expands +# '@usrsbin_execdir@' to ${exec_prefix}/sbin') +# +edit_cmd = sed \ + -e 's|@prefix[@]|$(prefix)|g' \ + -e 's|@exec_prefix[@]|$(exec_prefix)|g' \ + -e 's|@sysconfdir[@]|$(sysconfdir)|g' \ + -e 's|@datadir[@]|$(datadir)|g' \ + -e 's|@sbindir[@]|$(sbindir)|g' \ + -e 's|@bindir[@]|$(bindir)|g' \ + -e 's|@includedir[@]|$(includedir)|g' \ + -e 's|@runstatedir[@]|$(runstatedir)|g' \ + -e 's|@usrlib_execdir[@]|$(usrlib_execdir)|g' \ + -e 's|@usrbin_execdir[@]|$(usrbin_execdir)|g' \ + -e 's|@usrsbin_execdir[@]|$(usrsbin_execdir)|g' \ + -e 's|@VERSION[@]|$(VERSION)|g' \ + -e 's|@ADJTIME_PATH[@]|$(ADJTIME_PATH)|g' \ + -e 's|@LIBUUID_VERSION[@]|$(LIBUUID_VERSION)|g' \ + -e 's|@LIBMOUNT_VERSION[@]|$(LIBMOUNT_VERSION)|g' \ + -e 's|@LIBMOUNT_MAJOR_VERSION[@]|$(LIBMOUNT_MAJOR_VERSION)|g' \ + -e 's|@LIBMOUNT_MINOR_VERSION[@]|$(LIBMOUNT_MINOR_VERSION)|g' \ + -e 's|@LIBMOUNT_PATCH_VERSION[@]|$(LIBMOUNT_PATCH_VERSION)|g' \ + -e 's|@LIBSMARTCOLS_VERSION[@]|$(LIBSMARTCOLS_VERSION)|g' \ + -e 's|@LIBFDISK_PC_REQUIRES[@]|$(LIBFDISK_PC_REQUIRES)|g' \ + -e 's|@LIBFDISK_VERSION[@]|$(LIBFDISK_VERSION)|g' \ + -e 's|@LIBFDISK_MAJOR_VERSION[@]|$(LIBFDISK_MAJOR_VERSION)|g' \ + -e 's|@LIBFDISK_MINOR_VERSION[@]|$(LIBFDISK_MINOR_VERSION)|g' \ + -e 's|@LIBFDISK_PATCH_VERSION[@]|$(LIBFDISK_PATCH_VERSION)|g' \ + -e 's|@LIBBLKID_VERSION[@]|$(LIBBLKID_VERSION)|g' + +DISTCHECK_CONFIGURE_FLAGS = \ + --disable-use-tty-group \ + --disable-silent-rules \ + --enable-all-programs \ + --disable-makeinstall-chown \ + --enable-static-programs \ + --enable-gtk-doc \ + --with-python \ + --with-bashcompletiondir=$$dc_install_base/$(bashcompletiondir) \ + --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) + +BUILT_SOURCES = .version +CHANGELOG_FILE = v$(VERSION)-ChangeLog +all: $(BUILT_SOURCES) config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj .y +am--refresh: Makefile + @: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/tools/Makemodule.am $(srcdir)/include/Makemodule.am $(srcdir)/lib/Makemodule.am $(srcdir)/libuuid/Makemodule.am $(srcdir)/libuuid/man/Makemodule.am $(srcdir)/libuuid/src/Makemodule.am $(srcdir)/libblkid/Makemodule.am $(srcdir)/libblkid/src/Makemodule.am $(srcdir)/libblkid/samples/Makemodule.am $(srcdir)/libmount/Makemodule.am $(srcdir)/libmount/src/Makemodule.am $(srcdir)/libmount/python/Makemodule.am $(srcdir)/libsmartcols/Makemodule.am $(srcdir)/libsmartcols/src/Makemodule.am $(srcdir)/libsmartcols/samples/Makemodule.am $(srcdir)/libfdisk/Makemodule.am $(srcdir)/libfdisk/src/Makemodule.am $(srcdir)/libfdisk/samples/Makemodule.am $(srcdir)/schedutils/Makemodule.am $(srcdir)/text-utils/Makemodule.am $(srcdir)/term-utils/Makemodule.am $(srcdir)/login-utils/Makemodule.am $(srcdir)/sys-utils/Makemodule.am $(srcdir)/misc-utils/Makemodule.am $(srcdir)/disk-utils/Makemodule.am $(srcdir)/bash-completion/Makemodule.am $(srcdir)/tests/Makemodule.am $(srcdir)/tests/helpers/Makemodule.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; +$(srcdir)/tools/Makemodule.am $(srcdir)/include/Makemodule.am $(srcdir)/lib/Makemodule.am $(srcdir)/libuuid/Makemodule.am $(srcdir)/libuuid/man/Makemodule.am $(srcdir)/libuuid/src/Makemodule.am $(srcdir)/libblkid/Makemodule.am $(srcdir)/libblkid/src/Makemodule.am $(srcdir)/libblkid/samples/Makemodule.am $(srcdir)/libmount/Makemodule.am $(srcdir)/libmount/src/Makemodule.am $(srcdir)/libmount/python/Makemodule.am $(srcdir)/libsmartcols/Makemodule.am $(srcdir)/libsmartcols/src/Makemodule.am $(srcdir)/libsmartcols/samples/Makemodule.am $(srcdir)/libfdisk/Makemodule.am $(srcdir)/libfdisk/src/Makemodule.am $(srcdir)/libfdisk/samples/Makemodule.am $(srcdir)/schedutils/Makemodule.am $(srcdir)/text-utils/Makemodule.am $(srcdir)/term-utils/Makemodule.am $(srcdir)/login-utils/Makemodule.am $(srcdir)/sys-utils/Makemodule.am $(srcdir)/misc-utils/Makemodule.am $(srcdir)/disk-utils/Makemodule.am $(srcdir)/bash-completion/Makemodule.am $(srcdir)/tests/Makemodule.am $(srcdir)/tests/helpers/Makemodule.am $(am__empty): + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: $(am__configure_deps) + $(am__cd) $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +$(am__aclocal_m4_deps): + +config.h: stamp-h1 + @test -f $@ || rm -f stamp-h1 + @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 + +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.h.in: $(am__configure_deps) + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config.h stamp-h1 +libblkid/src/blkid.h: $(top_builddir)/config.status $(top_srcdir)/libblkid/src/blkid.h.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +libfdisk/src/libfdisk.h: $(top_builddir)/config.status $(top_srcdir)/libfdisk/src/libfdisk.h.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +libmount/src/libmount.h: $(top_builddir)/config.status $(top_srcdir)/libmount/src/libmount.h.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +libsmartcols/src/libsmartcols.h: $(top_builddir)/config.status $(top_srcdir)/libsmartcols/src/libsmartcols.h.in + cd $(top_builddir) && $(SHELL) ./config.status $@ + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + @list='$(noinst_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +install-pylibmountexecLTLIBRARIES: $(pylibmountexec_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(pylibmountexec_LTLIBRARIES)'; test -n "$(pylibmountexecdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(pylibmountexecdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pylibmountexecdir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pylibmountexecdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pylibmountexecdir)"; \ + } + +uninstall-pylibmountexecLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(pylibmountexec_LTLIBRARIES)'; test -n "$(pylibmountexecdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pylibmountexecdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pylibmountexecdir)/$$f"; \ + done + +clean-pylibmountexecLTLIBRARIES: + -test -z "$(pylibmountexec_LTLIBRARIES)" || rm -f $(pylibmountexec_LTLIBRARIES) + @list='$(pylibmountexec_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +install-usrlib_execLTLIBRARIES: $(usrlib_exec_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(usrlib_exec_LTLIBRARIES)'; test -n "$(usrlib_execdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(usrlib_execdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(usrlib_execdir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(usrlib_execdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(usrlib_execdir)"; \ + } + +uninstall-usrlib_execLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(usrlib_exec_LTLIBRARIES)'; test -n "$(usrlib_execdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(usrlib_execdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(usrlib_execdir)/$$f"; \ + done + +clean-usrlib_execLTLIBRARIES: + -test -z "$(usrlib_exec_LTLIBRARIES)" || rm -f $(usrlib_exec_LTLIBRARIES) + @list='$(usrlib_exec_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } +libblkid/src/$(am__dirstamp): + @$(MKDIR_P) libblkid/src + @: > libblkid/src/$(am__dirstamp) +libblkid/src/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) libblkid/src/$(DEPDIR) + @: > libblkid/src/$(DEPDIR)/$(am__dirstamp) +libblkid/src/libblkid_la-init.lo: libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) +libblkid/src/libblkid_la-cache.lo: libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) +libblkid/src/libblkid_la-config.lo: libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) +libblkid/src/libblkid_la-dev.lo: libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) +libblkid/src/libblkid_la-devname.lo: libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) +libblkid/src/libblkid_la-devno.lo: libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) +libblkid/src/libblkid_la-encode.lo: libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) +libblkid/src/libblkid_la-evaluate.lo: libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) +libblkid/src/libblkid_la-getsize.lo: libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) +libblkid/src/libblkid_la-llseek.lo: libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) +libblkid/src/libblkid_la-probe.lo: libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) +libblkid/src/libblkid_la-read.lo: libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) +libblkid/src/libblkid_la-resolve.lo: libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) +libblkid/src/libblkid_la-save.lo: libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) +libblkid/src/libblkid_la-tag.lo: libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) +libblkid/src/libblkid_la-verify.lo: libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) +libblkid/src/libblkid_la-version.lo: libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) +libblkid/src/partitions/$(am__dirstamp): + @$(MKDIR_P) libblkid/src/partitions + @: > libblkid/src/partitions/$(am__dirstamp) +libblkid/src/partitions/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) libblkid/src/partitions/$(DEPDIR) + @: > libblkid/src/partitions/$(DEPDIR)/$(am__dirstamp) +libblkid/src/partitions/libblkid_la-aix.lo: \ + libblkid/src/partitions/$(am__dirstamp) \ + libblkid/src/partitions/$(DEPDIR)/$(am__dirstamp) +libblkid/src/partitions/libblkid_la-atari.lo: \ + libblkid/src/partitions/$(am__dirstamp) \ + libblkid/src/partitions/$(DEPDIR)/$(am__dirstamp) +libblkid/src/partitions/libblkid_la-bsd.lo: \ + libblkid/src/partitions/$(am__dirstamp) \ + libblkid/src/partitions/$(DEPDIR)/$(am__dirstamp) +libblkid/src/partitions/libblkid_la-dos.lo: \ + libblkid/src/partitions/$(am__dirstamp) \ + libblkid/src/partitions/$(DEPDIR)/$(am__dirstamp) +libblkid/src/partitions/libblkid_la-gpt.lo: \ + libblkid/src/partitions/$(am__dirstamp) \ + libblkid/src/partitions/$(DEPDIR)/$(am__dirstamp) +libblkid/src/partitions/libblkid_la-mac.lo: \ + libblkid/src/partitions/$(am__dirstamp) \ + libblkid/src/partitions/$(DEPDIR)/$(am__dirstamp) +libblkid/src/partitions/libblkid_la-minix.lo: \ + libblkid/src/partitions/$(am__dirstamp) \ + libblkid/src/partitions/$(DEPDIR)/$(am__dirstamp) +libblkid/src/partitions/libblkid_la-partitions.lo: \ + libblkid/src/partitions/$(am__dirstamp) \ + libblkid/src/partitions/$(DEPDIR)/$(am__dirstamp) +libblkid/src/partitions/libblkid_la-sgi.lo: \ + libblkid/src/partitions/$(am__dirstamp) \ + libblkid/src/partitions/$(DEPDIR)/$(am__dirstamp) +libblkid/src/partitions/libblkid_la-solaris_x86.lo: \ + libblkid/src/partitions/$(am__dirstamp) \ + libblkid/src/partitions/$(DEPDIR)/$(am__dirstamp) +libblkid/src/partitions/libblkid_la-sun.lo: \ + libblkid/src/partitions/$(am__dirstamp) \ + libblkid/src/partitions/$(DEPDIR)/$(am__dirstamp) +libblkid/src/partitions/libblkid_la-ultrix.lo: \ + libblkid/src/partitions/$(am__dirstamp) \ + libblkid/src/partitions/$(DEPDIR)/$(am__dirstamp) +libblkid/src/partitions/libblkid_la-unixware.lo: \ + libblkid/src/partitions/$(am__dirstamp) \ + libblkid/src/partitions/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/$(am__dirstamp): + @$(MKDIR_P) libblkid/src/superblocks + @: > libblkid/src/superblocks/$(am__dirstamp) +libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) libblkid/src/superblocks/$(DEPDIR) + @: > libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-adaptec_raid.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-apfs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-bcache.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-befs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-bfs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-bitlocker.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-btrfs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-cramfs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-ddf_raid.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-drbd.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-drbdproxy_datalog.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-drbdmanage.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-exfat.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-exfs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-ext.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-f2fs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-gfs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-hfs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-highpoint_raid.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-hpfs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-iso9660.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-isw_raid.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-jfs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-jmicron_raid.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-linux_raid.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-lsi_raid.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-luks.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-lvm.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-minix.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-mpool.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-netware.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-nilfs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-ntfs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-refs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-nvidia_raid.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-ocfs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-promise_raid.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-reiserfs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-romfs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-silicon_raid.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-squashfs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-stratis.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-superblocks.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-swap.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-sysv.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-ubi.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-ubifs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-udf.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-ufs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-vdo.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-vfat.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-via_raid.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-vmfs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-vxfs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-xfs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/superblocks/libblkid_la-zfs.lo: \ + libblkid/src/superblocks/$(am__dirstamp) \ + libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) +libblkid/src/topology/$(am__dirstamp): + @$(MKDIR_P) libblkid/src/topology + @: > libblkid/src/topology/$(am__dirstamp) +libblkid/src/topology/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) libblkid/src/topology/$(DEPDIR) + @: > libblkid/src/topology/$(DEPDIR)/$(am__dirstamp) +libblkid/src/topology/libblkid_la-topology.lo: \ + libblkid/src/topology/$(am__dirstamp) \ + libblkid/src/topology/$(DEPDIR)/$(am__dirstamp) +libblkid/src/topology/libblkid_la-dm.lo: \ + libblkid/src/topology/$(am__dirstamp) \ + libblkid/src/topology/$(DEPDIR)/$(am__dirstamp) +libblkid/src/topology/libblkid_la-evms.lo: \ + libblkid/src/topology/$(am__dirstamp) \ + libblkid/src/topology/$(DEPDIR)/$(am__dirstamp) +libblkid/src/topology/libblkid_la-ioctl.lo: \ + libblkid/src/topology/$(am__dirstamp) \ + libblkid/src/topology/$(DEPDIR)/$(am__dirstamp) +libblkid/src/topology/libblkid_la-lvm.lo: \ + libblkid/src/topology/$(am__dirstamp) \ + libblkid/src/topology/$(DEPDIR)/$(am__dirstamp) +libblkid/src/topology/libblkid_la-md.lo: \ + libblkid/src/topology/$(am__dirstamp) \ + libblkid/src/topology/$(DEPDIR)/$(am__dirstamp) +libblkid/src/topology/libblkid_la-sysfs.lo: \ + libblkid/src/topology/$(am__dirstamp) \ + libblkid/src/topology/$(DEPDIR)/$(am__dirstamp) + +libblkid.la: $(libblkid_la_OBJECTS) $(libblkid_la_DEPENDENCIES) $(EXTRA_libblkid_la_DEPENDENCIES) + $(AM_V_CCLD)$(libblkid_la_LINK) $(am_libblkid_la_rpath) $(libblkid_la_OBJECTS) $(libblkid_la_LIBADD) $(LIBS) +lib/$(am__dirstamp): + @$(MKDIR_P) lib + @: > lib/$(am__dirstamp) +lib/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) lib/$(DEPDIR) + @: > lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-blkdev.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-canonicalize.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-crc32.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-crc32c.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-env.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-idcache.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-fileutils.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-ismounted.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-color-names.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-mangle.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-match.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-mbsalign.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-mbsedit.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-md5.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-pager.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-parse-date.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-pwdutils.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-randutils.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-setproctitle.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-strutils.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-timeutils.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-ttyutils.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-exec_shell.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-strv.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-sha1.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-signames.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-linux_version.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-loopdev.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-plymouth-ctrl.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-langinfo.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-cpuset.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-path.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-procutils.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-sysfs.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +libcommon.la: $(libcommon_la_OBJECTS) $(libcommon_la_DEPENDENCIES) $(EXTRA_libcommon_la_DEPENDENCIES) + $(AM_V_CCLD)$(libcommon_la_LINK) $(libcommon_la_OBJECTS) $(libcommon_la_LIBADD) $(LIBS) +libfdisk/src/$(am__dirstamp): + @$(MKDIR_P) libfdisk/src + @: > libfdisk/src/$(am__dirstamp) +libfdisk/src/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) libfdisk/src/$(DEPDIR) + @: > libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-init.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-field.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-item.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-test.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-ask.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-alignment.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-label.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-utils.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-context.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-parttype.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-partition.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-table.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-iter.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-script.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-version.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-wipe.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-sun.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-sgi.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-dos.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-bsd.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) +libfdisk/src/libfdisk_la-gpt.lo: libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) + +libfdisk.la: $(libfdisk_la_OBJECTS) $(libfdisk_la_DEPENDENCIES) $(EXTRA_libfdisk_la_DEPENDENCIES) + $(AM_V_CCLD)$(libfdisk_la_LINK) $(am_libfdisk_la_rpath) $(libfdisk_la_OBJECTS) $(libfdisk_la_LIBADD) $(LIBS) +lib/libmount_la-monotonic.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +libmount/src/$(am__dirstamp): + @$(MKDIR_P) libmount/src + @: > libmount/src/$(am__dirstamp) +libmount/src/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) libmount/src/$(DEPDIR) + @: > libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-cache.lo: libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-fs.lo: libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-init.lo: libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-iter.lo: libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-lock.lo: libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-optmap.lo: libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-optstr.lo: libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-tab.lo: libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-tab_diff.lo: libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-tab_parse.lo: libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-tab_update.lo: libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-test.lo: libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-utils.lo: libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-version.lo: libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-context.lo: libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-context_loopdev.lo: \ + libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-context_mount.lo: \ + libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-context_umount.lo: \ + libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-monitor.lo: libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +libmount/src/libmount_la-btrfs.lo: libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) + +libmount.la: $(libmount_la_OBJECTS) $(libmount_la_DEPENDENCIES) $(EXTRA_libmount_la_DEPENDENCIES) + $(AM_V_CCLD)$(libmount_la_LINK) $(am_libmount_la_rpath) $(libmount_la_OBJECTS) $(libmount_la_LIBADD) $(LIBS) +libsmartcols/src/$(am__dirstamp): + @$(MKDIR_P) libsmartcols/src + @: > libsmartcols/src/$(am__dirstamp) +libsmartcols/src/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) libsmartcols/src/$(DEPDIR) + @: > libsmartcols/src/$(DEPDIR)/$(am__dirstamp) +libsmartcols/src/libsmartcols_la-iter.lo: \ + libsmartcols/src/$(am__dirstamp) \ + libsmartcols/src/$(DEPDIR)/$(am__dirstamp) +libsmartcols/src/libsmartcols_la-symbols.lo: \ + libsmartcols/src/$(am__dirstamp) \ + libsmartcols/src/$(DEPDIR)/$(am__dirstamp) +libsmartcols/src/libsmartcols_la-cell.lo: \ + libsmartcols/src/$(am__dirstamp) \ + libsmartcols/src/$(DEPDIR)/$(am__dirstamp) +libsmartcols/src/libsmartcols_la-column.lo: \ + libsmartcols/src/$(am__dirstamp) \ + libsmartcols/src/$(DEPDIR)/$(am__dirstamp) +libsmartcols/src/libsmartcols_la-line.lo: \ + libsmartcols/src/$(am__dirstamp) \ + libsmartcols/src/$(DEPDIR)/$(am__dirstamp) +libsmartcols/src/libsmartcols_la-table.lo: \ + libsmartcols/src/$(am__dirstamp) \ + libsmartcols/src/$(DEPDIR)/$(am__dirstamp) +libsmartcols/src/libsmartcols_la-table_print.lo: \ + libsmartcols/src/$(am__dirstamp) \ + libsmartcols/src/$(DEPDIR)/$(am__dirstamp) +libsmartcols/src/libsmartcols_la-version.lo: \ + libsmartcols/src/$(am__dirstamp) \ + libsmartcols/src/$(DEPDIR)/$(am__dirstamp) +libsmartcols/src/libsmartcols_la-init.lo: \ + libsmartcols/src/$(am__dirstamp) \ + libsmartcols/src/$(DEPDIR)/$(am__dirstamp) + +libsmartcols.la: $(libsmartcols_la_OBJECTS) $(libsmartcols_la_DEPENDENCIES) $(EXTRA_libsmartcols_la_DEPENDENCIES) + $(AM_V_CCLD)$(libsmartcols_la_LINK) $(am_libsmartcols_la_rpath) $(libsmartcols_la_OBJECTS) $(libsmartcols_la_LIBADD) $(LIBS) +lib/libtcolors_la-colors.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libtcolors_la-color-names.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +libtcolors.la: $(libtcolors_la_OBJECTS) $(libtcolors_la_DEPENDENCIES) $(EXTRA_libtcolors_la_DEPENDENCIES) + $(AM_V_CCLD)$(libtcolors_la_LINK) $(libtcolors_la_OBJECTS) $(libtcolors_la_LIBADD) $(LIBS) +libuuid/src/$(am__dirstamp): + @$(MKDIR_P) libuuid/src + @: > libuuid/src/$(am__dirstamp) +libuuid/src/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) libuuid/src/$(DEPDIR) + @: > libuuid/src/$(DEPDIR)/$(am__dirstamp) +libuuid/src/libuuid_la-clear.lo: libuuid/src/$(am__dirstamp) \ + libuuid/src/$(DEPDIR)/$(am__dirstamp) +libuuid/src/libuuid_la-compare.lo: libuuid/src/$(am__dirstamp) \ + libuuid/src/$(DEPDIR)/$(am__dirstamp) +libuuid/src/libuuid_la-copy.lo: libuuid/src/$(am__dirstamp) \ + libuuid/src/$(DEPDIR)/$(am__dirstamp) +libuuid/src/libuuid_la-gen_uuid.lo: libuuid/src/$(am__dirstamp) \ + libuuid/src/$(DEPDIR)/$(am__dirstamp) +libuuid/src/libuuid_la-isnull.lo: libuuid/src/$(am__dirstamp) \ + libuuid/src/$(DEPDIR)/$(am__dirstamp) +libuuid/src/libuuid_la-pack.lo: libuuid/src/$(am__dirstamp) \ + libuuid/src/$(DEPDIR)/$(am__dirstamp) +libuuid/src/libuuid_la-parse.lo: libuuid/src/$(am__dirstamp) \ + libuuid/src/$(DEPDIR)/$(am__dirstamp) +libuuid/src/libuuid_la-unpack.lo: libuuid/src/$(am__dirstamp) \ + libuuid/src/$(DEPDIR)/$(am__dirstamp) +libuuid/src/libuuid_la-unparse.lo: libuuid/src/$(am__dirstamp) \ + libuuid/src/$(DEPDIR)/$(am__dirstamp) +libuuid/src/libuuid_la-uuid_time.lo: libuuid/src/$(am__dirstamp) \ + libuuid/src/$(DEPDIR)/$(am__dirstamp) +libuuid/src/libuuid_la-predefined.lo: libuuid/src/$(am__dirstamp) \ + libuuid/src/$(DEPDIR)/$(am__dirstamp) +lib/libuuid_la-randutils.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libuuid_la-md5.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libuuid_la-sha1.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +libuuid.la: $(libuuid_la_OBJECTS) $(libuuid_la_DEPENDENCIES) $(EXTRA_libuuid_la_DEPENDENCIES) + $(AM_V_CCLD)$(libuuid_la_LINK) $(am_libuuid_la_rpath) $(libuuid_la_OBJECTS) $(libuuid_la_LIBADD) $(LIBS) +libmount/python/$(am__dirstamp): + @$(MKDIR_P) libmount/python + @: > libmount/python/$(am__dirstamp) +libmount/python/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) libmount/python/$(DEPDIR) + @: > libmount/python/$(DEPDIR)/$(am__dirstamp) +libmount/python/pylibmount_la-pylibmount.lo: \ + libmount/python/$(am__dirstamp) \ + libmount/python/$(DEPDIR)/$(am__dirstamp) +libmount/python/pylibmount_la-fs.lo: libmount/python/$(am__dirstamp) \ + libmount/python/$(DEPDIR)/$(am__dirstamp) +libmount/python/pylibmount_la-tab.lo: libmount/python/$(am__dirstamp) \ + libmount/python/$(DEPDIR)/$(am__dirstamp) +libmount/python/pylibmount_la-context.lo: \ + libmount/python/$(am__dirstamp) \ + libmount/python/$(DEPDIR)/$(am__dirstamp) + +pylibmount.la: $(pylibmount_la_OBJECTS) $(pylibmount_la_DEPENDENCIES) $(EXTRA_pylibmount_la_DEPENDENCIES) + $(AM_V_CCLD)$(pylibmount_la_LINK) $(am_pylibmount_la_rpath) $(pylibmount_la_OBJECTS) $(pylibmount_la_LIBADD) $(LIBS) +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ + fi; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p \ + || test -f $$p1 \ + ; then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' \ + -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' \ + `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(bindir)" && rm -f $$files + +clean-binPROGRAMS: + @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list + +clean-checkPROGRAMS: + @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list + +clean-noinstPROGRAMS: + @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list +install-sbinPROGRAMS: $(sbin_PROGRAMS) + @$(NORMAL_INSTALL) + @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(sbindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(sbindir)" || exit 1; \ + fi; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p \ + || test -f $$p1 \ + ; then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' \ + -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-sbinPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' \ + `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(sbindir)" && rm -f $$files + +clean-sbinPROGRAMS: + @list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list +install-usrbin_execPROGRAMS: $(usrbin_exec_PROGRAMS) + @$(NORMAL_INSTALL) + @list='$(usrbin_exec_PROGRAMS)'; test -n "$(usrbin_execdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(usrbin_execdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(usrbin_execdir)" || exit 1; \ + fi; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p \ + || test -f $$p1 \ + ; then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' \ + -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(usrbin_execdir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(usrbin_execdir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-usrbin_execPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(usrbin_exec_PROGRAMS)'; test -n "$(usrbin_execdir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' \ + `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(usrbin_execdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(usrbin_execdir)" && rm -f $$files + +clean-usrbin_execPROGRAMS: + @list='$(usrbin_exec_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list +install-usrsbin_execPROGRAMS: $(usrsbin_exec_PROGRAMS) + @$(NORMAL_INSTALL) + @list='$(usrsbin_exec_PROGRAMS)'; test -n "$(usrsbin_execdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(usrsbin_execdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(usrsbin_execdir)" || exit 1; \ + fi; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p \ + || test -f $$p1 \ + ; then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' \ + -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(usrsbin_execdir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(usrsbin_execdir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-usrsbin_execPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(usrsbin_exec_PROGRAMS)'; test -n "$(usrsbin_execdir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' \ + `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(usrsbin_execdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(usrsbin_execdir)" && rm -f $$files + +clean-usrsbin_execPROGRAMS: + @list='$(usrsbin_exec_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list +disk-utils/$(am__dirstamp): + @$(MKDIR_P) disk-utils + @: > disk-utils/$(am__dirstamp) +disk-utils/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) disk-utils/$(DEPDIR) + @: > disk-utils/$(DEPDIR)/$(am__dirstamp) +disk-utils/addpart.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +addpart$(EXEEXT): $(addpart_OBJECTS) $(addpart_DEPENDENCIES) $(EXTRA_addpart_DEPENDENCIES) + @rm -f addpart$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(addpart_OBJECTS) $(addpart_LDADD) $(LIBS) +term-utils/$(am__dirstamp): + @$(MKDIR_P) term-utils + @: > term-utils/$(am__dirstamp) +term-utils/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) term-utils/$(DEPDIR) + @: > term-utils/$(DEPDIR)/$(am__dirstamp) +term-utils/agetty.$(OBJEXT): term-utils/$(am__dirstamp) \ + term-utils/$(DEPDIR)/$(am__dirstamp) + +agetty$(EXEEXT): $(agetty_OBJECTS) $(agetty_DEPENDENCIES) $(EXTRA_agetty_DEPENDENCIES) + @rm -f agetty$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(agetty_OBJECTS) $(agetty_LDADD) $(LIBS) +sys-utils/$(am__dirstamp): + @$(MKDIR_P) sys-utils + @: > sys-utils/$(am__dirstamp) +sys-utils/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) sys-utils/$(DEPDIR) + @: > sys-utils/$(DEPDIR)/$(am__dirstamp) +sys-utils/blkdiscard.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +lib/monotonic.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +blkdiscard$(EXEEXT): $(blkdiscard_OBJECTS) $(blkdiscard_DEPENDENCIES) $(EXTRA_blkdiscard_DEPENDENCIES) + @rm -f blkdiscard$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(blkdiscard_OBJECTS) $(blkdiscard_LDADD) $(LIBS) +misc-utils/$(am__dirstamp): + @$(MKDIR_P) misc-utils + @: > misc-utils/$(am__dirstamp) +misc-utils/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) misc-utils/$(DEPDIR) + @: > misc-utils/$(DEPDIR)/$(am__dirstamp) +misc-utils/blkid-blkid.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) + +blkid$(EXEEXT): $(blkid_OBJECTS) $(blkid_DEPENDENCIES) $(EXTRA_blkid_DEPENDENCIES) + @rm -f blkid$(EXEEXT) + $(AM_V_CCLD)$(blkid_LINK) $(blkid_OBJECTS) $(blkid_LDADD) $(LIBS) +misc-utils/blkid_static-blkid.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) + +blkid.static$(EXEEXT): $(blkid_static_OBJECTS) $(blkid_static_DEPENDENCIES) $(EXTRA_blkid_static_DEPENDENCIES) + @rm -f blkid.static$(EXEEXT) + $(AM_V_CCLD)$(blkid_static_LINK) $(blkid_static_OBJECTS) $(blkid_static_LDADD) $(LIBS) +sys-utils/blkzone.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +blkzone$(EXEEXT): $(blkzone_OBJECTS) $(blkzone_DEPENDENCIES) $(EXTRA_blkzone_DEPENDENCIES) + @rm -f blkzone$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(blkzone_OBJECTS) $(blkzone_LDADD) $(LIBS) +disk-utils/blockdev.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +blockdev$(EXEEXT): $(blockdev_OBJECTS) $(blockdev_DEPENDENCIES) $(EXTRA_blockdev_DEPENDENCIES) + @rm -f blockdev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(blockdev_OBJECTS) $(blockdev_LDADD) $(LIBS) +misc-utils/cal-cal.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) + +cal$(EXEEXT): $(cal_OBJECTS) $(cal_DEPENDENCIES) $(EXTRA_cal_DEPENDENCIES) + @rm -f cal$(EXEEXT) + $(AM_V_CCLD)$(cal_LINK) $(cal_OBJECTS) $(cal_LDADD) $(LIBS) +disk-utils/cfdisk-cfdisk.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +cfdisk$(EXEEXT): $(cfdisk_OBJECTS) $(cfdisk_DEPENDENCIES) $(EXTRA_cfdisk_DEPENDENCIES) + @rm -f cfdisk$(EXEEXT) + $(AM_V_CCLD)$(cfdisk_LINK) $(cfdisk_OBJECTS) $(cfdisk_LDADD) $(LIBS) +sys-utils/chcpu.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +chcpu$(EXEEXT): $(chcpu_OBJECTS) $(chcpu_DEPENDENCIES) $(EXTRA_chcpu_DEPENDENCIES) + @rm -f chcpu$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(chcpu_OBJECTS) $(chcpu_LDADD) $(LIBS) +login-utils/$(am__dirstamp): + @$(MKDIR_P) login-utils + @: > login-utils/$(am__dirstamp) +login-utils/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) login-utils/$(DEPDIR) + @: > login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/chfn-chfn.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/chfn-logindefs.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/chfn-ch-common.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/chfn-auth.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/chfn-libuser.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/chfn-islocal.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/chfn-setpwnam.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/chfn-selinux_utils.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) + +chfn$(EXEEXT): $(chfn_OBJECTS) $(chfn_DEPENDENCIES) $(EXTRA_chfn_DEPENDENCIES) + @rm -f chfn$(EXEEXT) + $(AM_V_CCLD)$(chfn_LINK) $(chfn_OBJECTS) $(chfn_LDADD) $(LIBS) +sys-utils/chmem.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +chmem$(EXEEXT): $(chmem_OBJECTS) $(chmem_DEPENDENCIES) $(EXTRA_chmem_DEPENDENCIES) + @rm -f chmem$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(chmem_OBJECTS) $(chmem_LDADD) $(LIBS) +sys-utils/choom.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +choom$(EXEEXT): $(choom_OBJECTS) $(choom_DEPENDENCIES) $(EXTRA_choom_DEPENDENCIES) + @rm -f choom$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(choom_OBJECTS) $(choom_LDADD) $(LIBS) +schedutils/$(am__dirstamp): + @$(MKDIR_P) schedutils + @: > schedutils/$(am__dirstamp) +schedutils/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) schedutils/$(DEPDIR) + @: > schedutils/$(DEPDIR)/$(am__dirstamp) +schedutils/chrt.$(OBJEXT): schedutils/$(am__dirstamp) \ + schedutils/$(DEPDIR)/$(am__dirstamp) + +chrt$(EXEEXT): $(chrt_OBJECTS) $(chrt_DEPENDENCIES) $(EXTRA_chrt_DEPENDENCIES) + @rm -f chrt$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(chrt_OBJECTS) $(chrt_LDADD) $(LIBS) +login-utils/chsh-chsh.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/chsh-ch-common.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/chsh-auth.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/chsh-libuser.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/chsh-islocal.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/chsh-setpwnam.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/chsh-selinux_utils.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) + +chsh$(EXEEXT): $(chsh_OBJECTS) $(chsh_DEPENDENCIES) $(EXTRA_chsh_DEPENDENCIES) + @rm -f chsh$(EXEEXT) + $(AM_V_CCLD)$(chsh_LINK) $(chsh_OBJECTS) $(chsh_LDADD) $(LIBS) +text-utils/$(am__dirstamp): + @$(MKDIR_P) text-utils + @: > text-utils/$(am__dirstamp) +text-utils/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) text-utils/$(DEPDIR) + @: > text-utils/$(DEPDIR)/$(am__dirstamp) +text-utils/col.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) + +col$(EXEEXT): $(col_OBJECTS) $(col_DEPENDENCIES) $(EXTRA_col_DEPENDENCIES) + @rm -f col$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(col_OBJECTS) $(col_LDADD) $(LIBS) +text-utils/colcrt.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) + +colcrt$(EXEEXT): $(colcrt_OBJECTS) $(colcrt_DEPENDENCIES) $(EXTRA_colcrt_DEPENDENCIES) + @rm -f colcrt$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(colcrt_OBJECTS) $(colcrt_LDADD) $(LIBS) +text-utils/colrm.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) + +colrm$(EXEEXT): $(colrm_OBJECTS) $(colrm_DEPENDENCIES) $(EXTRA_colrm_DEPENDENCIES) + @rm -f colrm$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(colrm_OBJECTS) $(colrm_LDADD) $(LIBS) +text-utils/column-column.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) + +column$(EXEEXT): $(column_OBJECTS) $(column_DEPENDENCIES) $(EXTRA_column_DEPENDENCIES) + @rm -f column$(EXEEXT) + $(AM_V_CCLD)$(column_LINK) $(column_OBJECTS) $(column_LDADD) $(LIBS) +sys-utils/ctrlaltdel.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +ctrlaltdel$(EXEEXT): $(ctrlaltdel_OBJECTS) $(ctrlaltdel_DEPENDENCIES) $(EXTRA_ctrlaltdel_DEPENDENCIES) + @rm -f ctrlaltdel$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ctrlaltdel_OBJECTS) $(ctrlaltdel_LDADD) $(LIBS) +disk-utils/delpart.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +delpart$(EXEEXT): $(delpart_OBJECTS) $(delpart_DEPENDENCIES) $(EXTRA_delpart_DEPENDENCIES) + @rm -f delpart$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(delpart_OBJECTS) $(delpart_LDADD) $(LIBS) +sys-utils/dmesg-dmesg.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +lib/dmesg-monotonic.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +dmesg$(EXEEXT): $(dmesg_OBJECTS) $(dmesg_DEPENDENCIES) $(EXTRA_dmesg_DEPENDENCIES) + @rm -f dmesg$(EXEEXT) + $(AM_V_CCLD)$(dmesg_LINK) $(dmesg_OBJECTS) $(dmesg_LDADD) $(LIBS) +sys-utils/eject-eject.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +lib/eject-monotonic.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +eject$(EXEEXT): $(eject_OBJECTS) $(eject_DEPENDENCIES) $(EXTRA_eject_DEPENDENCIES) + @rm -f eject$(EXEEXT) + $(AM_V_CCLD)$(eject_LINK) $(eject_OBJECTS) $(eject_LDADD) $(LIBS) +sys-utils/fallocate.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +fallocate$(EXEEXT): $(fallocate_OBJECTS) $(fallocate_DEPENDENCIES) $(EXTRA_fallocate_DEPENDENCIES) + @rm -f fallocate$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fallocate_OBJECTS) $(fallocate_LDADD) $(LIBS) +disk-utils/fdformat.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +fdformat$(EXEEXT): $(fdformat_OBJECTS) $(fdformat_DEPENDENCIES) $(EXTRA_fdformat_DEPENDENCIES) + @rm -f fdformat$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fdformat_OBJECTS) $(fdformat_LDADD) $(LIBS) +disk-utils/fdisk-fdisk.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) +disk-utils/fdisk-fdisk-menu.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) +disk-utils/fdisk-fdisk-list.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +fdisk$(EXEEXT): $(fdisk_OBJECTS) $(fdisk_DEPENDENCIES) $(EXTRA_fdisk_DEPENDENCIES) + @rm -f fdisk$(EXEEXT) + $(AM_V_CCLD)$(fdisk_LINK) $(fdisk_OBJECTS) $(fdisk_LDADD) $(LIBS) +disk-utils/fdisk_static-fdisk.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) +disk-utils/fdisk_static-fdisk-menu.$(OBJEXT): \ + disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) +disk-utils/fdisk_static-fdisk-list.$(OBJEXT): \ + disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +fdisk.static$(EXEEXT): $(fdisk_static_OBJECTS) $(fdisk_static_DEPENDENCIES) $(EXTRA_fdisk_static_DEPENDENCIES) + @rm -f fdisk.static$(EXEEXT) + $(AM_V_CCLD)$(fdisk_static_LINK) $(fdisk_static_OBJECTS) $(fdisk_static_LDADD) $(LIBS) +misc-utils/fincore-fincore.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) + +fincore$(EXEEXT): $(fincore_OBJECTS) $(fincore_DEPENDENCIES) $(EXTRA_fincore_DEPENDENCIES) + @rm -f fincore$(EXEEXT) + $(AM_V_CCLD)$(fincore_LINK) $(fincore_OBJECTS) $(fincore_LDADD) $(LIBS) +misc-utils/findfs-findfs.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) + +findfs$(EXEEXT): $(findfs_OBJECTS) $(findfs_DEPENDENCIES) $(EXTRA_findfs_DEPENDENCIES) + @rm -f findfs$(EXEEXT) + $(AM_V_CCLD)$(findfs_LINK) $(findfs_OBJECTS) $(findfs_LDADD) $(LIBS) +misc-utils/findmnt-findmnt.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) +misc-utils/findmnt-findmnt-verify.$(OBJEXT): \ + misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) + +findmnt$(EXEEXT): $(findmnt_OBJECTS) $(findmnt_DEPENDENCIES) $(EXTRA_findmnt_DEPENDENCIES) + @rm -f findmnt$(EXEEXT) + $(AM_V_CCLD)$(findmnt_LINK) $(findmnt_OBJECTS) $(findmnt_LDADD) $(LIBS) +sys-utils/flock.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +lib/timer.$(OBJEXT): lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) + +flock$(EXEEXT): $(flock_OBJECTS) $(flock_DEPENDENCIES) $(EXTRA_flock_DEPENDENCIES) + @rm -f flock$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(flock_OBJECTS) $(flock_LDADD) $(LIBS) +disk-utils/fsck-fsck.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) +lib/fsck-monotonic.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +fsck$(EXEEXT): $(fsck_OBJECTS) $(fsck_DEPENDENCIES) $(EXTRA_fsck_DEPENDENCIES) + @rm -f fsck$(EXEEXT) + $(AM_V_CCLD)$(fsck_LINK) $(fsck_OBJECTS) $(fsck_LDADD) $(LIBS) +disk-utils/fsck.cramfs.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) +disk-utils/cramfs_common.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +fsck.cramfs$(EXEEXT): $(fsck_cramfs_OBJECTS) $(fsck_cramfs_DEPENDENCIES) $(EXTRA_fsck_cramfs_DEPENDENCIES) + @rm -f fsck.cramfs$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fsck_cramfs_OBJECTS) $(fsck_cramfs_LDADD) $(LIBS) +disk-utils/fsck.minix.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +fsck.minix$(EXEEXT): $(fsck_minix_OBJECTS) $(fsck_minix_DEPENDENCIES) $(EXTRA_fsck_minix_DEPENDENCIES) + @rm -f fsck.minix$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fsck_minix_OBJECTS) $(fsck_minix_LDADD) $(LIBS) +sys-utils/fsfreeze.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +fsfreeze$(EXEEXT): $(fsfreeze_OBJECTS) $(fsfreeze_DEPENDENCIES) $(EXTRA_fsfreeze_DEPENDENCIES) + @rm -f fsfreeze$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fsfreeze_OBJECTS) $(fsfreeze_LDADD) $(LIBS) +sys-utils/fstrim-fstrim.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +fstrim$(EXEEXT): $(fstrim_OBJECTS) $(fstrim_DEPENDENCIES) $(EXTRA_fstrim_DEPENDENCIES) + @rm -f fstrim$(EXEEXT) + $(AM_V_CCLD)$(fstrim_LINK) $(fstrim_OBJECTS) $(fstrim_LDADD) $(LIBS) +misc-utils/getopt.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) + +getopt$(EXEEXT): $(getopt_OBJECTS) $(getopt_DEPENDENCIES) $(EXTRA_getopt_DEPENDENCIES) + @rm -f getopt$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(getopt_OBJECTS) $(getopt_LDADD) $(LIBS) +text-utils/hexdump-conv.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) +text-utils/hexdump-display.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) +text-utils/hexdump.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) +text-utils/hexdump-parse.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) + +hexdump$(EXEEXT): $(hexdump_OBJECTS) $(hexdump_DEPENDENCIES) $(EXTRA_hexdump_DEPENDENCIES) + @rm -f hexdump$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(hexdump_OBJECTS) $(hexdump_LDADD) $(LIBS) +sys-utils/hwclock.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +sys-utils/hwclock-cmos.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +sys-utils/hwclock-rtc.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +hwclock$(EXEEXT): $(hwclock_OBJECTS) $(hwclock_DEPENDENCIES) $(EXTRA_hwclock_DEPENDENCIES) + @rm -f hwclock$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(hwclock_OBJECTS) $(hwclock_LDADD) $(LIBS) +schedutils/ionice.$(OBJEXT): schedutils/$(am__dirstamp) \ + schedutils/$(DEPDIR)/$(am__dirstamp) + +ionice$(EXEEXT): $(ionice_OBJECTS) $(ionice_DEPENDENCIES) $(EXTRA_ionice_DEPENDENCIES) + @rm -f ionice$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ionice_OBJECTS) $(ionice_LDADD) $(LIBS) +sys-utils/ipcmk.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +ipcmk$(EXEEXT): $(ipcmk_OBJECTS) $(ipcmk_DEPENDENCIES) $(EXTRA_ipcmk_DEPENDENCIES) + @rm -f ipcmk$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ipcmk_OBJECTS) $(ipcmk_LDADD) $(LIBS) +sys-utils/ipcrm.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +ipcrm$(EXEEXT): $(ipcrm_OBJECTS) $(ipcrm_DEPENDENCIES) $(EXTRA_ipcrm_DEPENDENCIES) + @rm -f ipcrm$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ipcrm_OBJECTS) $(ipcrm_LDADD) $(LIBS) +sys-utils/ipcs.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +sys-utils/ipcutils.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +ipcs$(EXEEXT): $(ipcs_OBJECTS) $(ipcs_DEPENDENCIES) $(EXTRA_ipcs_DEPENDENCIES) + @rm -f ipcs$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ipcs_OBJECTS) $(ipcs_LDADD) $(LIBS) +disk-utils/isosize.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +isosize$(EXEEXT): $(isosize_OBJECTS) $(isosize_DEPENDENCIES) $(EXTRA_isosize_DEPENDENCIES) + @rm -f isosize$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(isosize_OBJECTS) $(isosize_LDADD) $(LIBS) +misc-utils/kill.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) + +kill$(EXEEXT): $(kill_OBJECTS) $(kill_DEPENDENCIES) $(EXTRA_kill_DEPENDENCIES) + @rm -f kill$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(kill_OBJECTS) $(kill_LDADD) $(LIBS) +login-utils/last.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) + +last$(EXEEXT): $(last_OBJECTS) $(last_DEPENDENCIES) $(EXTRA_last_DEPENDENCIES) + @rm -f last$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(last_OBJECTS) $(last_LDADD) $(LIBS) +sys-utils/ldattach.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +ldattach$(EXEEXT): $(ldattach_OBJECTS) $(ldattach_DEPENDENCIES) $(EXTRA_ldattach_DEPENDENCIES) + @rm -f ldattach$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ldattach_OBJECTS) $(ldattach_LDADD) $(LIBS) +text-utils/line.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) + +line$(EXEEXT): $(line_OBJECTS) $(line_DEPENDENCIES) $(EXTRA_line_DEPENDENCIES) + @rm -f line$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(line_OBJECTS) $(line_LDADD) $(LIBS) +misc-utils/logger-logger.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) +lib/logger-strutils.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/logger-strv.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +logger$(EXEEXT): $(logger_OBJECTS) $(logger_DEPENDENCIES) $(EXTRA_logger_DEPENDENCIES) + @rm -f logger$(EXEEXT) + $(AM_V_CCLD)$(logger_LINK) $(logger_OBJECTS) $(logger_LDADD) $(LIBS) +login-utils/login.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/logindefs.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) + +login$(EXEEXT): $(login_OBJECTS) $(login_DEPENDENCIES) $(EXTRA_login_DEPENDENCIES) + @rm -f login$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(login_OBJECTS) $(login_LDADD) $(LIBS) +misc-utils/look.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) + +look$(EXEEXT): $(look_OBJECTS) $(look_DEPENDENCIES) $(EXTRA_look_DEPENDENCIES) + @rm -f look$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(look_OBJECTS) $(look_LDADD) $(LIBS) +sys-utils/losetup-losetup.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +losetup$(EXEEXT): $(losetup_OBJECTS) $(losetup_DEPENDENCIES) $(EXTRA_losetup_DEPENDENCIES) + @rm -f losetup$(EXEEXT) + $(AM_V_CCLD)$(losetup_LINK) $(losetup_OBJECTS) $(losetup_LDADD) $(LIBS) +sys-utils/losetup_static-losetup.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +losetup.static$(EXEEXT): $(losetup_static_OBJECTS) $(losetup_static_DEPENDENCIES) $(EXTRA_losetup_static_DEPENDENCIES) + @rm -f losetup.static$(EXEEXT) + $(AM_V_CCLD)$(losetup_static_LINK) $(losetup_static_OBJECTS) $(losetup_static_LDADD) $(LIBS) +misc-utils/lsblk-lsblk.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) +misc-utils/lsblk-lsblk-mnt.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) +misc-utils/lsblk-lsblk-properties.$(OBJEXT): \ + misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) + +lsblk$(EXEEXT): $(lsblk_OBJECTS) $(lsblk_DEPENDENCIES) $(EXTRA_lsblk_DEPENDENCIES) + @rm -f lsblk$(EXEEXT) + $(AM_V_CCLD)$(lsblk_LINK) $(lsblk_OBJECTS) $(lsblk_LDADD) $(LIBS) +sys-utils/lscpu-lscpu.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +sys-utils/lscpu-lscpu-arm.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +sys-utils/lscpu-lscpu-dmi.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +lscpu$(EXEEXT): $(lscpu_OBJECTS) $(lscpu_DEPENDENCIES) $(EXTRA_lscpu_DEPENDENCIES) + @rm -f lscpu$(EXEEXT) + $(AM_V_CCLD)$(lscpu_LINK) $(lscpu_OBJECTS) $(lscpu_LDADD) $(LIBS) +sys-utils/lsipc-lsipc.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +sys-utils/lsipc-ipcutils.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +lsipc$(EXEEXT): $(lsipc_OBJECTS) $(lsipc_DEPENDENCIES) $(EXTRA_lsipc_DEPENDENCIES) + @rm -f lsipc$(EXEEXT) + $(AM_V_CCLD)$(lsipc_LINK) $(lsipc_OBJECTS) $(lsipc_LDADD) $(LIBS) +misc-utils/lslocks-lslocks.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) + +lslocks$(EXEEXT): $(lslocks_OBJECTS) $(lslocks_DEPENDENCIES) $(EXTRA_lslocks_DEPENDENCIES) + @rm -f lslocks$(EXEEXT) + $(AM_V_CCLD)$(lslocks_LINK) $(lslocks_OBJECTS) $(lslocks_LDADD) $(LIBS) +login-utils/lslogins-lslogins.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/lslogins-logindefs.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) + +lslogins$(EXEEXT): $(lslogins_OBJECTS) $(lslogins_DEPENDENCIES) $(EXTRA_lslogins_DEPENDENCIES) + @rm -f lslogins$(EXEEXT) + $(AM_V_CCLD)$(lslogins_LINK) $(lslogins_OBJECTS) $(lslogins_LDADD) $(LIBS) +sys-utils/lsmem-lsmem.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +lsmem$(EXEEXT): $(lsmem_OBJECTS) $(lsmem_DEPENDENCIES) $(EXTRA_lsmem_DEPENDENCIES) + @rm -f lsmem$(EXEEXT) + $(AM_V_CCLD)$(lsmem_LINK) $(lsmem_OBJECTS) $(lsmem_LDADD) $(LIBS) +sys-utils/lsns-lsns.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +lsns$(EXEEXT): $(lsns_OBJECTS) $(lsns_DEPENDENCIES) $(EXTRA_lsns_DEPENDENCIES) + @rm -f lsns$(EXEEXT) + $(AM_V_CCLD)$(lsns_LINK) $(lsns_OBJECTS) $(lsns_LDADD) $(LIBS) +misc-utils/mcookie.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) +lib/md5.$(OBJEXT): lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) + +mcookie$(EXEEXT): $(mcookie_OBJECTS) $(mcookie_DEPENDENCIES) $(EXTRA_mcookie_DEPENDENCIES) + @rm -f mcookie$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(mcookie_OBJECTS) $(mcookie_LDADD) $(LIBS) +term-utils/mesg.$(OBJEXT): term-utils/$(am__dirstamp) \ + term-utils/$(DEPDIR)/$(am__dirstamp) + +mesg$(EXEEXT): $(mesg_OBJECTS) $(mesg_DEPENDENCIES) $(EXTRA_mesg_DEPENDENCIES) + @rm -f mesg$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(mesg_OBJECTS) $(mesg_LDADD) $(LIBS) +disk-utils/mkfs.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +mkfs$(EXEEXT): $(mkfs_OBJECTS) $(mkfs_DEPENDENCIES) $(EXTRA_mkfs_DEPENDENCIES) + @rm -f mkfs$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(mkfs_OBJECTS) $(mkfs_LDADD) $(LIBS) +disk-utils/mkfs.bfs.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +mkfs.bfs$(EXEEXT): $(mkfs_bfs_OBJECTS) $(mkfs_bfs_DEPENDENCIES) $(EXTRA_mkfs_bfs_DEPENDENCIES) + @rm -f mkfs.bfs$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(mkfs_bfs_OBJECTS) $(mkfs_bfs_LDADD) $(LIBS) +disk-utils/mkfs.cramfs.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +mkfs.cramfs$(EXEEXT): $(mkfs_cramfs_OBJECTS) $(mkfs_cramfs_DEPENDENCIES) $(EXTRA_mkfs_cramfs_DEPENDENCIES) + @rm -f mkfs.cramfs$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(mkfs_cramfs_OBJECTS) $(mkfs_cramfs_LDADD) $(LIBS) +disk-utils/mkfs.minix.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +mkfs.minix$(EXEEXT): $(mkfs_minix_OBJECTS) $(mkfs_minix_DEPENDENCIES) $(EXTRA_mkfs_minix_DEPENDENCIES) + @rm -f mkfs.minix$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(mkfs_minix_OBJECTS) $(mkfs_minix_LDADD) $(LIBS) +disk-utils/mkswap-mkswap.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +mkswap$(EXEEXT): $(mkswap_OBJECTS) $(mkswap_DEPENDENCIES) $(EXTRA_mkswap_DEPENDENCIES) + @rm -f mkswap$(EXEEXT) + $(AM_V_CCLD)$(mkswap_LINK) $(mkswap_OBJECTS) $(mkswap_LDADD) $(LIBS) +text-utils/more-more.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) + +more$(EXEEXT): $(more_OBJECTS) $(more_DEPENDENCIES) $(EXTRA_more_DEPENDENCIES) + @rm -f more$(EXEEXT) + $(AM_V_CCLD)$(more_LINK) $(more_OBJECTS) $(more_LDADD) $(LIBS) +sys-utils/mount-mount.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +mount$(EXEEXT): $(mount_OBJECTS) $(mount_DEPENDENCIES) $(EXTRA_mount_DEPENDENCIES) + @rm -f mount$(EXEEXT) + $(AM_V_CCLD)$(mount_LINK) $(mount_OBJECTS) $(mount_LDADD) $(LIBS) +sys-utils/mount_static-mount.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +mount.static$(EXEEXT): $(mount_static_OBJECTS) $(mount_static_DEPENDENCIES) $(EXTRA_mount_static_DEPENDENCIES) + @rm -f mount.static$(EXEEXT) + $(AM_V_CCLD)$(mount_static_LINK) $(mount_static_OBJECTS) $(mount_static_LDADD) $(LIBS) +sys-utils/mountpoint-mountpoint.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +mountpoint$(EXEEXT): $(mountpoint_OBJECTS) $(mountpoint_DEPENDENCIES) $(EXTRA_mountpoint_DEPENDENCIES) + @rm -f mountpoint$(EXEEXT) + $(AM_V_CCLD)$(mountpoint_LINK) $(mountpoint_OBJECTS) $(mountpoint_LDADD) $(LIBS) +misc-utils/namei.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) +lib/strutils.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/idcache.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +namei$(EXEEXT): $(namei_OBJECTS) $(namei_DEPENDENCIES) $(EXTRA_namei_DEPENDENCIES) + @rm -f namei$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(namei_OBJECTS) $(namei_LDADD) $(LIBS) +login-utils/newgrp-newgrp.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) + +newgrp$(EXEEXT): $(newgrp_OBJECTS) $(newgrp_DEPENDENCIES) $(EXTRA_newgrp_DEPENDENCIES) + @rm -f newgrp$(EXEEXT) + $(AM_V_CCLD)$(newgrp_LINK) $(newgrp_OBJECTS) $(newgrp_LDADD) $(LIBS) +login-utils/nologin.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) + +nologin$(EXEEXT): $(nologin_OBJECTS) $(nologin_DEPENDENCIES) $(EXTRA_nologin_DEPENDENCIES) + @rm -f nologin$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nologin_OBJECTS) $(nologin_LDADD) $(LIBS) +sys-utils/nsenter.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +nsenter$(EXEEXT): $(nsenter_OBJECTS) $(nsenter_DEPENDENCIES) $(EXTRA_nsenter_DEPENDENCIES) + @rm -f nsenter$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nsenter_OBJECTS) $(nsenter_LDADD) $(LIBS) + +nsenter.static$(EXEEXT): $(nsenter_static_OBJECTS) $(nsenter_static_DEPENDENCIES) $(EXTRA_nsenter_static_DEPENDENCIES) + @rm -f nsenter.static$(EXEEXT) + $(AM_V_CCLD)$(nsenter_static_LINK) $(nsenter_static_OBJECTS) $(nsenter_static_LDADD) $(LIBS) +disk-utils/partx-partx.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +partx$(EXEEXT): $(partx_OBJECTS) $(partx_DEPENDENCIES) $(EXTRA_partx_DEPENDENCIES) + @rm -f partx$(EXEEXT) + $(AM_V_CCLD)$(partx_LINK) $(partx_OBJECTS) $(partx_LDADD) $(LIBS) +text-utils/pg-pg.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) + +pg$(EXEEXT): $(pg_OBJECTS) $(pg_DEPENDENCIES) $(EXTRA_pg_DEPENDENCIES) + @rm -f pg$(EXEEXT) + $(AM_V_CCLD)$(pg_LINK) $(pg_OBJECTS) $(pg_LDADD) $(LIBS) +sys-utils/pivot_root.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +pivot_root$(EXEEXT): $(pivot_root_OBJECTS) $(pivot_root_DEPENDENCIES) $(EXTRA_pivot_root_DEPENDENCIES) + @rm -f pivot_root$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(pivot_root_OBJECTS) $(pivot_root_LDADD) $(LIBS) +sys-utils/prlimit-prlimit.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +prlimit$(EXEEXT): $(prlimit_OBJECTS) $(prlimit_DEPENDENCIES) $(EXTRA_prlimit_DEPENDENCIES) + @rm -f prlimit$(EXEEXT) + $(AM_V_CCLD)$(prlimit_LINK) $(prlimit_OBJECTS) $(prlimit_LDADD) $(LIBS) +disk-utils/raw.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +raw$(EXEEXT): $(raw_OBJECTS) $(raw_DEPENDENCIES) $(EXTRA_raw_DEPENDENCIES) + @rm -f raw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(raw_OBJECTS) $(raw_LDADD) $(LIBS) +sys-utils/readprofile.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +readprofile$(EXEEXT): $(readprofile_OBJECTS) $(readprofile_DEPENDENCIES) $(EXTRA_readprofile_DEPENDENCIES) + @rm -f readprofile$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(readprofile_OBJECTS) $(readprofile_LDADD) $(LIBS) +misc-utils/rename.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) + +rename$(EXEEXT): $(rename_OBJECTS) $(rename_DEPENDENCIES) $(EXTRA_rename_DEPENDENCIES) + @rm -f rename$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(rename_OBJECTS) $(rename_LDADD) $(LIBS) +sys-utils/renice.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +renice$(EXEEXT): $(renice_OBJECTS) $(renice_DEPENDENCIES) $(EXTRA_renice_DEPENDENCIES) + @rm -f renice$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(renice_OBJECTS) $(renice_LDADD) $(LIBS) +disk-utils/resizepart.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +resizepart$(EXEEXT): $(resizepart_OBJECTS) $(resizepart_DEPENDENCIES) $(EXTRA_resizepart_DEPENDENCIES) + @rm -f resizepart$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(resizepart_OBJECTS) $(resizepart_LDADD) $(LIBS) +text-utils/rev.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) + +rev$(EXEEXT): $(rev_OBJECTS) $(rev_DEPENDENCIES) $(EXTRA_rev_DEPENDENCIES) + @rm -f rev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(rev_OBJECTS) $(rev_LDADD) $(LIBS) +sys-utils/rfkill-rfkill.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +rfkill$(EXEEXT): $(rfkill_OBJECTS) $(rfkill_DEPENDENCIES) $(EXTRA_rfkill_DEPENDENCIES) + @rm -f rfkill$(EXEEXT) + $(AM_V_CCLD)$(rfkill_LINK) $(rfkill_OBJECTS) $(rfkill_LDADD) $(LIBS) +sys-utils/rtcwake.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +rtcwake$(EXEEXT): $(rtcwake_OBJECTS) $(rtcwake_DEPENDENCIES) $(EXTRA_rtcwake_DEPENDENCIES) + @rm -f rtcwake$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(rtcwake_OBJECTS) $(rtcwake_LDADD) $(LIBS) +login-utils/runuser.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/su-common.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) + +runuser$(EXEEXT): $(runuser_OBJECTS) $(runuser_DEPENDENCIES) $(EXTRA_runuser_DEPENDENCIES) + @rm -f runuser$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(runuser_OBJECTS) $(runuser_LDADD) $(LIBS) +libfdisk/samples/$(am__dirstamp): + @$(MKDIR_P) libfdisk/samples + @: > libfdisk/samples/$(am__dirstamp) +libfdisk/samples/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) libfdisk/samples/$(DEPDIR) + @: > libfdisk/samples/$(DEPDIR)/$(am__dirstamp) +libfdisk/samples/sample_fdisk_mkpart-mkpart.$(OBJEXT): \ + libfdisk/samples/$(am__dirstamp) \ + libfdisk/samples/$(DEPDIR)/$(am__dirstamp) + +sample-fdisk-mkpart$(EXEEXT): $(sample_fdisk_mkpart_OBJECTS) $(sample_fdisk_mkpart_DEPENDENCIES) $(EXTRA_sample_fdisk_mkpart_DEPENDENCIES) + @rm -f sample-fdisk-mkpart$(EXEEXT) + $(AM_V_CCLD)$(sample_fdisk_mkpart_LINK) $(sample_fdisk_mkpart_OBJECTS) $(sample_fdisk_mkpart_LDADD) $(LIBS) +libfdisk/samples/sample_fdisk_mkpart_fullspec-mkpart-fullspec.$(OBJEXT): \ + libfdisk/samples/$(am__dirstamp) \ + libfdisk/samples/$(DEPDIR)/$(am__dirstamp) + +sample-fdisk-mkpart-fullspec$(EXEEXT): $(sample_fdisk_mkpart_fullspec_OBJECTS) $(sample_fdisk_mkpart_fullspec_DEPENDENCIES) $(EXTRA_sample_fdisk_mkpart_fullspec_DEPENDENCIES) + @rm -f sample-fdisk-mkpart-fullspec$(EXEEXT) + $(AM_V_CCLD)$(sample_fdisk_mkpart_fullspec_LINK) $(sample_fdisk_mkpart_fullspec_OBJECTS) $(sample_fdisk_mkpart_fullspec_LDADD) $(LIBS) +libblkid/samples/$(am__dirstamp): + @$(MKDIR_P) libblkid/samples + @: > libblkid/samples/$(am__dirstamp) +libblkid/samples/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) libblkid/samples/$(DEPDIR) + @: > libblkid/samples/$(DEPDIR)/$(am__dirstamp) +libblkid/samples/sample_mkfs-mkfs.$(OBJEXT): \ + libblkid/samples/$(am__dirstamp) \ + libblkid/samples/$(DEPDIR)/$(am__dirstamp) + +sample-mkfs$(EXEEXT): $(sample_mkfs_OBJECTS) $(sample_mkfs_DEPENDENCIES) $(EXTRA_sample_mkfs_DEPENDENCIES) + @rm -f sample-mkfs$(EXEEXT) + $(AM_V_CCLD)$(sample_mkfs_LINK) $(sample_mkfs_OBJECTS) $(sample_mkfs_LDADD) $(LIBS) +libblkid/samples/sample_partitions-partitions.$(OBJEXT): \ + libblkid/samples/$(am__dirstamp) \ + libblkid/samples/$(DEPDIR)/$(am__dirstamp) + +sample-partitions$(EXEEXT): $(sample_partitions_OBJECTS) $(sample_partitions_DEPENDENCIES) $(EXTRA_sample_partitions_DEPENDENCIES) + @rm -f sample-partitions$(EXEEXT) + $(AM_V_CCLD)$(sample_partitions_LINK) $(sample_partitions_OBJECTS) $(sample_partitions_LDADD) $(LIBS) +libsmartcols/samples/$(am__dirstamp): + @$(MKDIR_P) libsmartcols/samples + @: > libsmartcols/samples/$(am__dirstamp) +libsmartcols/samples/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) libsmartcols/samples/$(DEPDIR) + @: > libsmartcols/samples/$(DEPDIR)/$(am__dirstamp) +libsmartcols/samples/sample_scols_continuous-continuous.$(OBJEXT): \ + libsmartcols/samples/$(am__dirstamp) \ + libsmartcols/samples/$(DEPDIR)/$(am__dirstamp) + +sample-scols-continuous$(EXEEXT): $(sample_scols_continuous_OBJECTS) $(sample_scols_continuous_DEPENDENCIES) $(EXTRA_sample_scols_continuous_DEPENDENCIES) + @rm -f sample-scols-continuous$(EXEEXT) + $(AM_V_CCLD)$(sample_scols_continuous_LINK) $(sample_scols_continuous_OBJECTS) $(sample_scols_continuous_LDADD) $(LIBS) +libsmartcols/samples/sample_scols_fromfile-fromfile.$(OBJEXT): \ + libsmartcols/samples/$(am__dirstamp) \ + libsmartcols/samples/$(DEPDIR)/$(am__dirstamp) + +sample-scols-fromfile$(EXEEXT): $(sample_scols_fromfile_OBJECTS) $(sample_scols_fromfile_DEPENDENCIES) $(EXTRA_sample_scols_fromfile_DEPENDENCIES) + @rm -f sample-scols-fromfile$(EXEEXT) + $(AM_V_CCLD)$(sample_scols_fromfile_LINK) $(sample_scols_fromfile_OBJECTS) $(sample_scols_fromfile_LDADD) $(LIBS) +libsmartcols/samples/sample_scols_maxout-maxout.$(OBJEXT): \ + libsmartcols/samples/$(am__dirstamp) \ + libsmartcols/samples/$(DEPDIR)/$(am__dirstamp) + +sample-scols-maxout$(EXEEXT): $(sample_scols_maxout_OBJECTS) $(sample_scols_maxout_DEPENDENCIES) $(EXTRA_sample_scols_maxout_DEPENDENCIES) + @rm -f sample-scols-maxout$(EXEEXT) + $(AM_V_CCLD)$(sample_scols_maxout_LINK) $(sample_scols_maxout_OBJECTS) $(sample_scols_maxout_LDADD) $(LIBS) +libsmartcols/samples/sample_scols_title-title.$(OBJEXT): \ + libsmartcols/samples/$(am__dirstamp) \ + libsmartcols/samples/$(DEPDIR)/$(am__dirstamp) + +sample-scols-title$(EXEEXT): $(sample_scols_title_OBJECTS) $(sample_scols_title_DEPENDENCIES) $(EXTRA_sample_scols_title_DEPENDENCIES) + @rm -f sample-scols-title$(EXEEXT) + $(AM_V_CCLD)$(sample_scols_title_LINK) $(sample_scols_title_OBJECTS) $(sample_scols_title_LDADD) $(LIBS) +libsmartcols/samples/sample_scols_tree-tree.$(OBJEXT): \ + libsmartcols/samples/$(am__dirstamp) \ + libsmartcols/samples/$(DEPDIR)/$(am__dirstamp) + +sample-scols-tree$(EXEEXT): $(sample_scols_tree_OBJECTS) $(sample_scols_tree_DEPENDENCIES) $(EXTRA_sample_scols_tree_DEPENDENCIES) + @rm -f sample-scols-tree$(EXEEXT) + $(AM_V_CCLD)$(sample_scols_tree_LINK) $(sample_scols_tree_OBJECTS) $(sample_scols_tree_LDADD) $(LIBS) +libsmartcols/samples/sample_scols_wrap-wrap.$(OBJEXT): \ + libsmartcols/samples/$(am__dirstamp) \ + libsmartcols/samples/$(DEPDIR)/$(am__dirstamp) + +sample-scols-wrap$(EXEEXT): $(sample_scols_wrap_OBJECTS) $(sample_scols_wrap_DEPENDENCIES) $(EXTRA_sample_scols_wrap_DEPENDENCIES) + @rm -f sample-scols-wrap$(EXEEXT) + $(AM_V_CCLD)$(sample_scols_wrap_LINK) $(sample_scols_wrap_OBJECTS) $(sample_scols_wrap_LDADD) $(LIBS) +libblkid/samples/sample_superblocks-superblocks.$(OBJEXT): \ + libblkid/samples/$(am__dirstamp) \ + libblkid/samples/$(DEPDIR)/$(am__dirstamp) + +sample-superblocks$(EXEEXT): $(sample_superblocks_OBJECTS) $(sample_superblocks_DEPENDENCIES) $(EXTRA_sample_superblocks_DEPENDENCIES) + @rm -f sample-superblocks$(EXEEXT) + $(AM_V_CCLD)$(sample_superblocks_LINK) $(sample_superblocks_OBJECTS) $(sample_superblocks_LDADD) $(LIBS) +libblkid/samples/sample_topology-topology.$(OBJEXT): \ + libblkid/samples/$(am__dirstamp) \ + libblkid/samples/$(DEPDIR)/$(am__dirstamp) + +sample-topology$(EXEEXT): $(sample_topology_OBJECTS) $(sample_topology_DEPENDENCIES) $(EXTRA_sample_topology_DEPENDENCIES) + @rm -f sample-topology$(EXEEXT) + $(AM_V_CCLD)$(sample_topology_LINK) $(sample_topology_OBJECTS) $(sample_topology_LDADD) $(LIBS) +term-utils/script-script.$(OBJEXT): term-utils/$(am__dirstamp) \ + term-utils/$(DEPDIR)/$(am__dirstamp) +lib/script-monotonic.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +script$(EXEEXT): $(script_OBJECTS) $(script_DEPENDENCIES) $(EXTRA_script_DEPENDENCIES) + @rm -f script$(EXEEXT) + $(AM_V_CCLD)$(script_LINK) $(script_OBJECTS) $(script_LDADD) $(LIBS) +term-utils/scriptreplay.$(OBJEXT): term-utils/$(am__dirstamp) \ + term-utils/$(DEPDIR)/$(am__dirstamp) + +scriptreplay$(EXEEXT): $(scriptreplay_OBJECTS) $(scriptreplay_DEPENDENCIES) $(EXTRA_scriptreplay_DEPENDENCIES) + @rm -f scriptreplay$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(scriptreplay_OBJECTS) $(scriptreplay_LDADD) $(LIBS) +sys-utils/setarch.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +setarch$(EXEEXT): $(setarch_OBJECTS) $(setarch_DEPENDENCIES) $(EXTRA_setarch_DEPENDENCIES) + @rm -f setarch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(setarch_OBJECTS) $(setarch_LDADD) $(LIBS) +sys-utils/setpriv.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +setpriv$(EXEEXT): $(setpriv_OBJECTS) $(setpriv_DEPENDENCIES) $(EXTRA_setpriv_DEPENDENCIES) + @rm -f setpriv$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(setpriv_OBJECTS) $(setpriv_LDADD) $(LIBS) +sys-utils/setsid.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +setsid$(EXEEXT): $(setsid_OBJECTS) $(setsid_DEPENDENCIES) $(EXTRA_setsid_DEPENDENCIES) + @rm -f setsid$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(setsid_OBJECTS) $(setsid_LDADD) $(LIBS) +term-utils/setterm-setterm.$(OBJEXT): term-utils/$(am__dirstamp) \ + term-utils/$(DEPDIR)/$(am__dirstamp) + +setterm$(EXEEXT): $(setterm_OBJECTS) $(setterm_DEPENDENCIES) $(EXTRA_setterm_DEPENDENCIES) + @rm -f setterm$(EXEEXT) + $(AM_V_CCLD)$(setterm_LINK) $(setterm_OBJECTS) $(setterm_LDADD) $(LIBS) +disk-utils/sfdisk-sfdisk.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) +disk-utils/sfdisk-fdisk-list.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +sfdisk$(EXEEXT): $(sfdisk_OBJECTS) $(sfdisk_DEPENDENCIES) $(EXTRA_sfdisk_DEPENDENCIES) + @rm -f sfdisk$(EXEEXT) + $(AM_V_CCLD)$(sfdisk_LINK) $(sfdisk_OBJECTS) $(sfdisk_LDADD) $(LIBS) +disk-utils/sfdisk_static-sfdisk.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) +disk-utils/sfdisk_static-fdisk-list.$(OBJEXT): \ + disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +sfdisk.static$(EXEEXT): $(sfdisk_static_OBJECTS) $(sfdisk_static_DEPENDENCIES) $(EXTRA_sfdisk_static_DEPENDENCIES) + @rm -f sfdisk.static$(EXEEXT) + $(AM_V_CCLD)$(sfdisk_static_LINK) $(sfdisk_static_OBJECTS) $(sfdisk_static_LDADD) $(LIBS) +login-utils/su-su.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/su-su-common.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/su-logindefs.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) + +su$(EXEEXT): $(su_OBJECTS) $(su_DEPENDENCIES) $(EXTRA_su_DEPENDENCIES) + @rm -f su$(EXEEXT) + $(AM_V_CCLD)$(su_LINK) $(su_OBJECTS) $(su_LDADD) $(LIBS) +login-utils/sulogin.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +login-utils/sulogin-consoles.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) + +sulogin$(EXEEXT): $(sulogin_OBJECTS) $(sulogin_DEPENDENCIES) $(EXTRA_sulogin_DEPENDENCIES) + @rm -f sulogin$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sulogin_OBJECTS) $(sulogin_LDADD) $(LIBS) +disk-utils/swaplabel-swaplabel.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) +lib/swaplabel-swapprober.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +swaplabel$(EXEEXT): $(swaplabel_OBJECTS) $(swaplabel_DEPENDENCIES) $(EXTRA_swaplabel_DEPENDENCIES) + @rm -f swaplabel$(EXEEXT) + $(AM_V_CCLD)$(swaplabel_LINK) $(swaplabel_OBJECTS) $(swaplabel_LDADD) $(LIBS) +sys-utils/swapoff-swapoff.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +sys-utils/swapoff-swapon-common.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +lib/swapoff-swapprober.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +swapoff$(EXEEXT): $(swapoff_OBJECTS) $(swapoff_DEPENDENCIES) $(EXTRA_swapoff_DEPENDENCIES) + @rm -f swapoff$(EXEEXT) + $(AM_V_CCLD)$(swapoff_LINK) $(swapoff_OBJECTS) $(swapoff_LDADD) $(LIBS) +sys-utils/swapon-swapon.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +sys-utils/swapon-swapon-common.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +lib/swapon-swapprober.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +swapon$(EXEEXT): $(swapon_OBJECTS) $(swapon_DEPENDENCIES) $(EXTRA_swapon_DEPENDENCIES) + @rm -f swapon$(EXEEXT) + $(AM_V_CCLD)$(swapon_LINK) $(swapon_OBJECTS) $(swapon_LDADD) $(LIBS) +sys-utils/switch_root.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +switch_root$(EXEEXT): $(switch_root_OBJECTS) $(switch_root_DEPENDENCIES) $(EXTRA_switch_root_DEPENDENCIES) + @rm -f switch_root$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(switch_root_OBJECTS) $(switch_root_LDADD) $(LIBS) +schedutils/taskset.$(OBJEXT): schedutils/$(am__dirstamp) \ + schedutils/$(DEPDIR)/$(am__dirstamp) + +taskset$(EXEEXT): $(taskset_OBJECTS) $(taskset_DEPENDENCIES) $(EXTRA_taskset_DEPENDENCIES) + @rm -f taskset$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(taskset_OBJECTS) $(taskset_LDADD) $(LIBS) +lib/test_blkdev-blkdev.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_blkdev$(EXEEXT): $(test_blkdev_OBJECTS) $(test_blkdev_DEPENDENCIES) $(EXTRA_test_blkdev_DEPENDENCIES) + @rm -f test_blkdev$(EXEEXT) + $(AM_V_CCLD)$(test_blkdev_LINK) $(test_blkdev_OBJECTS) $(test_blkdev_LDADD) $(LIBS) +libblkid/src/test_blkid_cache-cache.$(OBJEXT): \ + libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) + +test_blkid_cache$(EXEEXT): $(test_blkid_cache_OBJECTS) $(test_blkid_cache_DEPENDENCIES) $(EXTRA_test_blkid_cache_DEPENDENCIES) + @rm -f test_blkid_cache$(EXEEXT) + $(AM_V_CCLD)$(test_blkid_cache_LINK) $(test_blkid_cache_OBJECTS) $(test_blkid_cache_LDADD) $(LIBS) +libblkid/src/test_blkid_config-config.$(OBJEXT): \ + libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) + +test_blkid_config$(EXEEXT): $(test_blkid_config_OBJECTS) $(test_blkid_config_DEPENDENCIES) $(EXTRA_test_blkid_config_DEPENDENCIES) + @rm -f test_blkid_config$(EXEEXT) + $(AM_V_CCLD)$(test_blkid_config_LINK) $(test_blkid_config_OBJECTS) $(test_blkid_config_LDADD) $(LIBS) +libblkid/src/test_blkid_dev-dev.$(OBJEXT): \ + libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) + +test_blkid_dev$(EXEEXT): $(test_blkid_dev_OBJECTS) $(test_blkid_dev_DEPENDENCIES) $(EXTRA_test_blkid_dev_DEPENDENCIES) + @rm -f test_blkid_dev$(EXEEXT) + $(AM_V_CCLD)$(test_blkid_dev_LINK) $(test_blkid_dev_OBJECTS) $(test_blkid_dev_LDADD) $(LIBS) +libblkid/src/test_blkid_devname-devname.$(OBJEXT): \ + libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) + +test_blkid_devname$(EXEEXT): $(test_blkid_devname_OBJECTS) $(test_blkid_devname_DEPENDENCIES) $(EXTRA_test_blkid_devname_DEPENDENCIES) + @rm -f test_blkid_devname$(EXEEXT) + $(AM_V_CCLD)$(test_blkid_devname_LINK) $(test_blkid_devname_OBJECTS) $(test_blkid_devname_LDADD) $(LIBS) +libblkid/src/test_blkid_devno-devno.$(OBJEXT): \ + libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) + +test_blkid_devno$(EXEEXT): $(test_blkid_devno_OBJECTS) $(test_blkid_devno_DEPENDENCIES) $(EXTRA_test_blkid_devno_DEPENDENCIES) + @rm -f test_blkid_devno$(EXEEXT) + $(AM_V_CCLD)$(test_blkid_devno_LINK) $(test_blkid_devno_OBJECTS) $(test_blkid_devno_LDADD) $(LIBS) +libblkid/src/test_blkid_evaluate-evaluate.$(OBJEXT): \ + libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) + +test_blkid_evaluate$(EXEEXT): $(test_blkid_evaluate_OBJECTS) $(test_blkid_evaluate_DEPENDENCIES) $(EXTRA_test_blkid_evaluate_DEPENDENCIES) + @rm -f test_blkid_evaluate$(EXEEXT) + $(AM_V_CCLD)$(test_blkid_evaluate_LINK) $(test_blkid_evaluate_OBJECTS) $(test_blkid_evaluate_LDADD) $(LIBS) +libblkid/src/test_blkid_read-read.$(OBJEXT): \ + libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) + +test_blkid_read$(EXEEXT): $(test_blkid_read_OBJECTS) $(test_blkid_read_DEPENDENCIES) $(EXTRA_test_blkid_read_DEPENDENCIES) + @rm -f test_blkid_read$(EXEEXT) + $(AM_V_CCLD)$(test_blkid_read_LINK) $(test_blkid_read_OBJECTS) $(test_blkid_read_LDADD) $(LIBS) +libblkid/src/test_blkid_resolve-resolve.$(OBJEXT): \ + libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) + +test_blkid_resolve$(EXEEXT): $(test_blkid_resolve_OBJECTS) $(test_blkid_resolve_DEPENDENCIES) $(EXTRA_test_blkid_resolve_DEPENDENCIES) + @rm -f test_blkid_resolve$(EXEEXT) + $(AM_V_CCLD)$(test_blkid_resolve_LINK) $(test_blkid_resolve_OBJECTS) $(test_blkid_resolve_LDADD) $(LIBS) +libblkid/src/test_blkid_save-save.$(OBJEXT): \ + libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) + +test_blkid_save$(EXEEXT): $(test_blkid_save_OBJECTS) $(test_blkid_save_DEPENDENCIES) $(EXTRA_test_blkid_save_DEPENDENCIES) + @rm -f test_blkid_save$(EXEEXT) + $(AM_V_CCLD)$(test_blkid_save_LINK) $(test_blkid_save_OBJECTS) $(test_blkid_save_LDADD) $(LIBS) +libblkid/src/test_blkid_tag-tag.$(OBJEXT): \ + libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) + +test_blkid_tag$(EXEEXT): $(test_blkid_tag_OBJECTS) $(test_blkid_tag_DEPENDENCIES) $(EXTRA_test_blkid_tag_DEPENDENCIES) + @rm -f test_blkid_tag$(EXEEXT) + $(AM_V_CCLD)$(test_blkid_tag_LINK) $(test_blkid_tag_OBJECTS) $(test_blkid_tag_LDADD) $(LIBS) +libblkid/src/test_blkid_verify-verify.$(OBJEXT): \ + libblkid/src/$(am__dirstamp) \ + libblkid/src/$(DEPDIR)/$(am__dirstamp) + +test_blkid_verify$(EXEEXT): $(test_blkid_verify_OBJECTS) $(test_blkid_verify_DEPENDENCIES) $(EXTRA_test_blkid_verify_DEPENDENCIES) + @rm -f test_blkid_verify$(EXEEXT) + $(AM_V_CCLD)$(test_blkid_verify_LINK) $(test_blkid_verify_OBJECTS) $(test_blkid_verify_LDADD) $(LIBS) +tests/helpers/$(am__dirstamp): + @$(MKDIR_P) tests/helpers + @: > tests/helpers/$(am__dirstamp) +tests/helpers/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) tests/helpers/$(DEPDIR) + @: > tests/helpers/$(DEPDIR)/$(am__dirstamp) +tests/helpers/test_byteswap.$(OBJEXT): tests/helpers/$(am__dirstamp) \ + tests/helpers/$(DEPDIR)/$(am__dirstamp) + +test_byteswap$(EXEEXT): $(test_byteswap_OBJECTS) $(test_byteswap_DEPENDENCIES) $(EXTRA_test_byteswap_DEPENDENCIES) + @rm -f test_byteswap$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_byteswap_OBJECTS) $(test_byteswap_LDADD) $(LIBS) +misc-utils/test_cal-cal.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) + +test_cal$(EXEEXT): $(test_cal_OBJECTS) $(test_cal_DEPENDENCIES) $(EXTRA_test_cal_DEPENDENCIES) + @rm -f test_cal$(EXEEXT) + $(AM_V_CCLD)$(test_cal_LINK) $(test_cal_OBJECTS) $(test_cal_LDADD) $(LIBS) +lib/test_canonicalize-canonicalize.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_canonicalize$(EXEEXT): $(test_canonicalize_OBJECTS) $(test_canonicalize_DEPENDENCIES) $(EXTRA_test_canonicalize_DEPENDENCIES) + @rm -f test_canonicalize$(EXEEXT) + $(AM_V_CCLD)$(test_canonicalize_LINK) $(test_canonicalize_OBJECTS) $(test_canonicalize_LDADD) $(LIBS) +lib/test_colors-colors.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/test_colors-color-names.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_colors$(EXEEXT): $(test_colors_OBJECTS) $(test_colors_DEPENDENCIES) $(EXTRA_test_colors_DEPENDENCIES) + @rm -f test_colors$(EXEEXT) + $(AM_V_CCLD)$(test_colors_LINK) $(test_colors_OBJECTS) $(test_colors_LDADD) $(LIBS) +login-utils/test_consoles-sulogin-consoles.$(OBJEXT): \ + login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) + +test_consoles$(EXEEXT): $(test_consoles_OBJECTS) $(test_consoles_DEPENDENCIES) $(EXTRA_test_consoles_DEPENDENCIES) + @rm -f test_consoles$(EXEEXT) + $(AM_V_CCLD)$(test_consoles_LINK) $(test_consoles_OBJECTS) $(test_consoles_LDADD) $(LIBS) +lib/test_cpuset-cpuset.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_cpuset$(EXEEXT): $(test_cpuset_OBJECTS) $(test_cpuset_DEPENDENCIES) $(EXTRA_test_cpuset_DEPENDENCIES) + @rm -f test_cpuset$(EXEEXT) + $(AM_V_CCLD)$(test_cpuset_LINK) $(test_cpuset_OBJECTS) $(test_cpuset_LDADD) $(LIBS) +sys-utils/test_dmesg-dmesg.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +lib/test_dmesg-monotonic.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_dmesg$(EXEEXT): $(test_dmesg_OBJECTS) $(test_dmesg_DEPENDENCIES) $(EXTRA_test_dmesg_DEPENDENCIES) + @rm -f test_dmesg$(EXEEXT) + $(AM_V_CCLD)$(test_dmesg_LINK) $(test_dmesg_OBJECTS) $(test_dmesg_LDADD) $(LIBS) +libfdisk/src/test_fdisk_ask-ask.$(OBJEXT): \ + libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) + +test_fdisk_ask$(EXEEXT): $(test_fdisk_ask_OBJECTS) $(test_fdisk_ask_DEPENDENCIES) $(EXTRA_test_fdisk_ask_DEPENDENCIES) + @rm -f test_fdisk_ask$(EXEEXT) + $(AM_V_CCLD)$(test_fdisk_ask_LINK) $(test_fdisk_ask_OBJECTS) $(test_fdisk_ask_LDADD) $(LIBS) +libfdisk/src/test_fdisk_gpt-gpt.$(OBJEXT): \ + libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) + +test_fdisk_gpt$(EXEEXT): $(test_fdisk_gpt_OBJECTS) $(test_fdisk_gpt_DEPENDENCIES) $(EXTRA_test_fdisk_gpt_DEPENDENCIES) + @rm -f test_fdisk_gpt$(EXEEXT) + $(AM_V_CCLD)$(test_fdisk_gpt_LINK) $(test_fdisk_gpt_OBJECTS) $(test_fdisk_gpt_LDADD) $(LIBS) +libfdisk/src/test_fdisk_item-item.$(OBJEXT): \ + libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) + +test_fdisk_item$(EXEEXT): $(test_fdisk_item_OBJECTS) $(test_fdisk_item_DEPENDENCIES) $(EXTRA_test_fdisk_item_DEPENDENCIES) + @rm -f test_fdisk_item$(EXEEXT) + $(AM_V_CCLD)$(test_fdisk_item_LINK) $(test_fdisk_item_OBJECTS) $(test_fdisk_item_LDADD) $(LIBS) +libfdisk/src/test_fdisk_script-script.$(OBJEXT): \ + libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) + +test_fdisk_script$(EXEEXT): $(test_fdisk_script_OBJECTS) $(test_fdisk_script_DEPENDENCIES) $(EXTRA_test_fdisk_script_DEPENDENCIES) + @rm -f test_fdisk_script$(EXEEXT) + $(AM_V_CCLD)$(test_fdisk_script_LINK) $(test_fdisk_script_OBJECTS) $(test_fdisk_script_LDADD) $(LIBS) +libfdisk/src/test_fdisk_utils-utils.$(OBJEXT): \ + libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) + +test_fdisk_utils$(EXEEXT): $(test_fdisk_utils_OBJECTS) $(test_fdisk_utils_DEPENDENCIES) $(EXTRA_test_fdisk_utils_DEPENDENCIES) + @rm -f test_fdisk_utils$(EXEEXT) + $(AM_V_CCLD)$(test_fdisk_utils_LINK) $(test_fdisk_utils_OBJECTS) $(test_fdisk_utils_LDADD) $(LIBS) +libfdisk/src/test_fdisk_version-version.$(OBJEXT): \ + libfdisk/src/$(am__dirstamp) \ + libfdisk/src/$(DEPDIR)/$(am__dirstamp) + +test_fdisk_version$(EXEEXT): $(test_fdisk_version_OBJECTS) $(test_fdisk_version_DEPENDENCIES) $(EXTRA_test_fdisk_version_DEPENDENCIES) + @rm -f test_fdisk_version$(EXEEXT) + $(AM_V_CCLD)$(test_fdisk_version_LINK) $(test_fdisk_version_OBJECTS) $(test_fdisk_version_LDADD) $(LIBS) +lib/test_fileutils-fileutils.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_fileutils$(EXEEXT): $(test_fileutils_OBJECTS) $(test_fileutils_DEPENDENCIES) $(EXTRA_test_fileutils_DEPENDENCIES) + @rm -f test_fileutils$(EXEEXT) + $(AM_V_CCLD)$(test_fileutils_LINK) $(test_fileutils_OBJECTS) $(test_fileutils_LDADD) $(LIBS) +login-utils/test_islocal-islocal.$(OBJEXT): \ + login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) + +test_islocal$(EXEEXT): $(test_islocal_OBJECTS) $(test_islocal_DEPENDENCIES) $(EXTRA_test_islocal_DEPENDENCIES) + @rm -f test_islocal$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_islocal_OBJECTS) $(test_islocal_LDADD) $(LIBS) +lib/test_ismounted-ismounted.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_ismounted$(EXEEXT): $(test_ismounted_OBJECTS) $(test_ismounted_DEPENDENCIES) $(EXTRA_test_ismounted_DEPENDENCIES) + @rm -f test_ismounted$(EXEEXT) + $(AM_V_CCLD)$(test_ismounted_LINK) $(test_ismounted_OBJECTS) $(test_ismounted_LDADD) $(LIBS) +lib/test_linux_version-linux_version.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_linux_version$(EXEEXT): $(test_linux_version_OBJECTS) $(test_linux_version_DEPENDENCIES) $(EXTRA_test_linux_version_DEPENDENCIES) + @rm -f test_linux_version$(EXEEXT) + $(AM_V_CCLD)$(test_linux_version_LINK) $(test_linux_version_OBJECTS) $(test_linux_version_LDADD) $(LIBS) +misc-utils/test_logger-logger.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) +lib/test_logger-strutils.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/test_logger-strv.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_logger$(EXEEXT): $(test_logger_OBJECTS) $(test_logger_DEPENDENCIES) $(EXTRA_test_logger_DEPENDENCIES) + @rm -f test_logger$(EXEEXT) + $(AM_V_CCLD)$(test_logger_LINK) $(test_logger_OBJECTS) $(test_logger_LDADD) $(LIBS) +login-utils/test_logindefs-logindefs.$(OBJEXT): \ + login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) + +test_logindefs$(EXEEXT): $(test_logindefs_OBJECTS) $(test_logindefs_DEPENDENCIES) $(EXTRA_test_logindefs_DEPENDENCIES) + @rm -f test_logindefs$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_logindefs_OBJECTS) $(test_logindefs_LDADD) $(LIBS) +lib/test_mangle-mangle.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_mangle$(EXEEXT): $(test_mangle_OBJECTS) $(test_mangle_DEPENDENCIES) $(EXTRA_test_mangle_DEPENDENCIES) + @rm -f test_mangle$(EXEEXT) + $(AM_V_CCLD)$(test_mangle_LINK) $(test_mangle_OBJECTS) $(test_mangle_LDADD) $(LIBS) +tests/helpers/test_mbsencode.$(OBJEXT): tests/helpers/$(am__dirstamp) \ + tests/helpers/$(DEPDIR)/$(am__dirstamp) + +test_mbsencode$(EXEEXT): $(test_mbsencode_OBJECTS) $(test_mbsencode_DEPENDENCIES) $(EXTRA_test_mbsencode_DEPENDENCIES) + @rm -f test_mbsencode$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_mbsencode_OBJECTS) $(test_mbsencode_LDADD) $(LIBS) +tests/helpers/test_md5.$(OBJEXT): tests/helpers/$(am__dirstamp) \ + tests/helpers/$(DEPDIR)/$(am__dirstamp) + +test_md5$(EXEEXT): $(test_md5_OBJECTS) $(test_md5_DEPENDENCIES) $(EXTRA_test_md5_DEPENDENCIES) + @rm -f test_md5$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_md5_OBJECTS) $(test_md5_LDADD) $(LIBS) +disk-utils/test_mkfs_minix-mkfs.minix.$(OBJEXT): \ + disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) + +test_mkfs_minix$(EXEEXT): $(test_mkfs_minix_OBJECTS) $(test_mkfs_minix_DEPENDENCIES) $(EXTRA_test_mkfs_minix_DEPENDENCIES) + @rm -f test_mkfs_minix$(EXEEXT) + $(AM_V_CCLD)$(test_mkfs_minix_LINK) $(test_mkfs_minix_OBJECTS) $(test_mkfs_minix_LDADD) $(LIBS) +text-utils/test_more-more.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) + +test_more$(EXEEXT): $(test_more_OBJECTS) $(test_more_DEPENDENCIES) $(EXTRA_test_more_DEPENDENCIES) + @rm -f test_more$(EXEEXT) + $(AM_V_CCLD)$(test_more_LINK) $(test_more_OBJECTS) $(test_more_LDADD) $(LIBS) +libmount/src/test_mount_cache-cache.$(OBJEXT): \ + libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) + +test_mount_cache$(EXEEXT): $(test_mount_cache_OBJECTS) $(test_mount_cache_DEPENDENCIES) $(EXTRA_test_mount_cache_DEPENDENCIES) + @rm -f test_mount_cache$(EXEEXT) + $(AM_V_CCLD)$(test_mount_cache_LINK) $(test_mount_cache_OBJECTS) $(test_mount_cache_LDADD) $(LIBS) +libmount/src/test_mount_context-context.$(OBJEXT): \ + libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) + +test_mount_context$(EXEEXT): $(test_mount_context_OBJECTS) $(test_mount_context_DEPENDENCIES) $(EXTRA_test_mount_context_DEPENDENCIES) + @rm -f test_mount_context$(EXEEXT) + $(AM_V_CCLD)$(test_mount_context_LINK) $(test_mount_context_OBJECTS) $(test_mount_context_LDADD) $(LIBS) +libmount/src/test_mount_debug-init.$(OBJEXT): \ + libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) + +test_mount_debug$(EXEEXT): $(test_mount_debug_OBJECTS) $(test_mount_debug_DEPENDENCIES) $(EXTRA_test_mount_debug_DEPENDENCIES) + @rm -f test_mount_debug$(EXEEXT) + $(AM_V_CCLD)$(test_mount_debug_LINK) $(test_mount_debug_OBJECTS) $(test_mount_debug_LDADD) $(LIBS) +libmount/src/test_mount_lock-lock.$(OBJEXT): \ + libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) + +test_mount_lock$(EXEEXT): $(test_mount_lock_OBJECTS) $(test_mount_lock_DEPENDENCIES) $(EXTRA_test_mount_lock_DEPENDENCIES) + @rm -f test_mount_lock$(EXEEXT) + $(AM_V_CCLD)$(test_mount_lock_LINK) $(test_mount_lock_OBJECTS) $(test_mount_lock_LDADD) $(LIBS) +libmount/src/test_mount_monitor-monitor.$(OBJEXT): \ + libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) + +test_mount_monitor$(EXEEXT): $(test_mount_monitor_OBJECTS) $(test_mount_monitor_DEPENDENCIES) $(EXTRA_test_mount_monitor_DEPENDENCIES) + @rm -f test_mount_monitor$(EXEEXT) + $(AM_V_CCLD)$(test_mount_monitor_LINK) $(test_mount_monitor_OBJECTS) $(test_mount_monitor_LDADD) $(LIBS) +libmount/src/test_mount_optstr-optstr.$(OBJEXT): \ + libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) + +test_mount_optstr$(EXEEXT): $(test_mount_optstr_OBJECTS) $(test_mount_optstr_DEPENDENCIES) $(EXTRA_test_mount_optstr_DEPENDENCIES) + @rm -f test_mount_optstr$(EXEEXT) + $(AM_V_CCLD)$(test_mount_optstr_LINK) $(test_mount_optstr_OBJECTS) $(test_mount_optstr_LDADD) $(LIBS) +libmount/src/test_mount_tab-tab.$(OBJEXT): \ + libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) + +test_mount_tab$(EXEEXT): $(test_mount_tab_OBJECTS) $(test_mount_tab_DEPENDENCIES) $(EXTRA_test_mount_tab_DEPENDENCIES) + @rm -f test_mount_tab$(EXEEXT) + $(AM_V_CCLD)$(test_mount_tab_LINK) $(test_mount_tab_OBJECTS) $(test_mount_tab_LDADD) $(LIBS) +libmount/src/test_mount_tab_diff-tab_diff.$(OBJEXT): \ + libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) + +test_mount_tab_diff$(EXEEXT): $(test_mount_tab_diff_OBJECTS) $(test_mount_tab_diff_DEPENDENCIES) $(EXTRA_test_mount_tab_diff_DEPENDENCIES) + @rm -f test_mount_tab_diff$(EXEEXT) + $(AM_V_CCLD)$(test_mount_tab_diff_LINK) $(test_mount_tab_diff_OBJECTS) $(test_mount_tab_diff_LDADD) $(LIBS) +libmount/src/test_mount_tab_update-tab_update.$(OBJEXT): \ + libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) + +test_mount_tab_update$(EXEEXT): $(test_mount_tab_update_OBJECTS) $(test_mount_tab_update_DEPENDENCIES) $(EXTRA_test_mount_tab_update_DEPENDENCIES) + @rm -f test_mount_tab_update$(EXEEXT) + $(AM_V_CCLD)$(test_mount_tab_update_LINK) $(test_mount_tab_update_OBJECTS) $(test_mount_tab_update_LDADD) $(LIBS) +libmount/src/test_mount_utils-utils.$(OBJEXT): \ + libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) + +test_mount_utils$(EXEEXT): $(test_mount_utils_OBJECTS) $(test_mount_utils_DEPENDENCIES) $(EXTRA_test_mount_utils_DEPENDENCIES) + @rm -f test_mount_utils$(EXEEXT) + $(AM_V_CCLD)$(test_mount_utils_LINK) $(test_mount_utils_OBJECTS) $(test_mount_utils_LDADD) $(LIBS) +libmount/src/test_mount_version-version.$(OBJEXT): \ + libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) + +test_mount_version$(EXEEXT): $(test_mount_version_OBJECTS) $(test_mount_version_DEPENDENCIES) $(EXTRA_test_mount_version_DEPENDENCIES) + @rm -f test_mount_version$(EXEEXT) + $(AM_V_CCLD)$(test_mount_version_LINK) $(test_mount_version_OBJECTS) $(test_mount_version_LDADD) $(LIBS) +lib/test_pager-pager.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_pager$(EXEEXT): $(test_pager_OBJECTS) $(test_pager_DEPENDENCIES) $(EXTRA_test_pager_DEPENDENCIES) + @rm -f test_pager$(EXEEXT) + $(AM_V_CCLD)$(test_pager_LINK) $(test_pager_OBJECTS) $(test_pager_LDADD) $(LIBS) +lib/test_path-path.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/test_path-fileutils.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/test_path-cpuset.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_path$(EXEEXT): $(test_path_OBJECTS) $(test_path_DEPENDENCIES) $(EXTRA_test_path_DEPENDENCIES) + @rm -f test_path$(EXEEXT) + $(AM_V_CCLD)$(test_path_LINK) $(test_path_OBJECTS) $(test_path_LDADD) $(LIBS) +tests/helpers/test_pathnames.$(OBJEXT): tests/helpers/$(am__dirstamp) \ + tests/helpers/$(DEPDIR)/$(am__dirstamp) + +test_pathnames$(EXEEXT): $(test_pathnames_OBJECTS) $(test_pathnames_DEPENDENCIES) $(EXTRA_test_pathnames_DEPENDENCIES) + @rm -f test_pathnames$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_pathnames_OBJECTS) $(test_pathnames_LDADD) $(LIBS) +lib/test_procutils-procutils.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_procutils$(EXEEXT): $(test_procutils_OBJECTS) $(test_procutils_DEPENDENCIES) $(EXTRA_test_procutils_DEPENDENCIES) + @rm -f test_procutils$(EXEEXT) + $(AM_V_CCLD)$(test_procutils_LINK) $(test_procutils_OBJECTS) $(test_procutils_LDADD) $(LIBS) +lib/test_pwdutils-pwdutils.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_pwdutils$(EXEEXT): $(test_pwdutils_OBJECTS) $(test_pwdutils_DEPENDENCIES) $(EXTRA_test_pwdutils_DEPENDENCIES) + @rm -f test_pwdutils$(EXEEXT) + $(AM_V_CCLD)$(test_pwdutils_LINK) $(test_pwdutils_OBJECTS) $(test_pwdutils_LDADD) $(LIBS) +lib/test_randutils-randutils.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_randutils$(EXEEXT): $(test_randutils_OBJECTS) $(test_randutils_DEPENDENCIES) $(EXTRA_test_randutils_DEPENDENCIES) + @rm -f test_randutils$(EXEEXT) + $(AM_V_CCLD)$(test_randutils_LINK) $(test_randutils_OBJECTS) $(test_randutils_LDADD) $(LIBS) +term-utils/test_script-script.$(OBJEXT): term-utils/$(am__dirstamp) \ + term-utils/$(DEPDIR)/$(am__dirstamp) +lib/test_script-monotonic.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_script$(EXEEXT): $(test_script_OBJECTS) $(test_script_DEPENDENCIES) $(EXTRA_test_script_DEPENDENCIES) + @rm -f test_script$(EXEEXT) + $(AM_V_CCLD)$(test_script_LINK) $(test_script_OBJECTS) $(test_script_LDADD) $(LIBS) +tests/helpers/test_sha1.$(OBJEXT): tests/helpers/$(am__dirstamp) \ + tests/helpers/$(DEPDIR)/$(am__dirstamp) +lib/sha1.$(OBJEXT): lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) + +test_sha1$(EXEEXT): $(test_sha1_OBJECTS) $(test_sha1_DEPENDENCIES) $(EXTRA_test_sha1_DEPENDENCIES) + @rm -f test_sha1$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_sha1_OBJECTS) $(test_sha1_LDADD) $(LIBS) +tests/helpers/test_sigreceive.$(OBJEXT): \ + tests/helpers/$(am__dirstamp) \ + tests/helpers/$(DEPDIR)/$(am__dirstamp) + +test_sigreceive$(EXEEXT): $(test_sigreceive_OBJECTS) $(test_sigreceive_DEPENDENCIES) $(EXTRA_test_sigreceive_DEPENDENCIES) + @rm -f test_sigreceive$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_sigreceive_OBJECTS) $(test_sigreceive_LDADD) $(LIBS) +lib/test_strutils-strutils.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_strutils$(EXEEXT): $(test_strutils_OBJECTS) $(test_strutils_DEPENDENCIES) $(EXTRA_test_strutils_DEPENDENCIES) + @rm -f test_strutils$(EXEEXT) + $(AM_V_CCLD)$(test_strutils_LINK) $(test_strutils_OBJECTS) $(test_strutils_LDADD) $(LIBS) +lib/test_sysfs-sysfs.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/test_sysfs-path.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/test_sysfs-fileutils.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/test_sysfs-cpuset.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_sysfs$(EXEEXT): $(test_sysfs_OBJECTS) $(test_sysfs_DEPENDENCIES) $(EXTRA_test_sysfs_DEPENDENCIES) + @rm -f test_sysfs$(EXEEXT) + $(AM_V_CCLD)$(test_sysfs_LINK) $(test_sysfs_OBJECTS) $(test_sysfs_LDADD) $(LIBS) +tests/helpers/test_sysinfo.$(OBJEXT): tests/helpers/$(am__dirstamp) \ + tests/helpers/$(DEPDIR)/$(am__dirstamp) + +test_sysinfo$(EXEEXT): $(test_sysinfo_OBJECTS) $(test_sysinfo_DEPENDENCIES) $(EXTRA_test_sysinfo_DEPENDENCIES) + @rm -f test_sysinfo$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_sysinfo_OBJECTS) $(test_sysinfo_LDADD) $(LIBS) +lib/test_timeutils-timeutils.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/test_timeutils-strutils.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_timeutils$(EXEEXT): $(test_timeutils_OBJECTS) $(test_timeutils_DEPENDENCIES) $(EXTRA_test_timeutils_DEPENDENCIES) + @rm -f test_timeutils$(EXEEXT) + $(AM_V_CCLD)$(test_timeutils_LINK) $(test_timeutils_OBJECTS) $(test_timeutils_LDADD) $(LIBS) +tests/helpers/test_tiocsti.$(OBJEXT): tests/helpers/$(am__dirstamp) \ + tests/helpers/$(DEPDIR)/$(am__dirstamp) + +test_tiocsti$(EXEEXT): $(test_tiocsti_OBJECTS) $(test_tiocsti_DEPENDENCIES) $(EXTRA_test_tiocsti_DEPENDENCIES) + @rm -f test_tiocsti$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_tiocsti_OBJECTS) $(test_tiocsti_LDADD) $(LIBS) +lib/test_ttyutils-ttyutils.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +test_ttyutils$(EXEEXT): $(test_ttyutils_OBJECTS) $(test_ttyutils_DEPENDENCIES) $(EXTRA_test_ttyutils_DEPENDENCIES) + @rm -f test_ttyutils$(EXEEXT) + $(AM_V_CCLD)$(test_ttyutils_LINK) $(test_ttyutils_OBJECTS) $(test_ttyutils_LDADD) $(LIBS) +tests/helpers/test_uuid_namespace.$(OBJEXT): \ + tests/helpers/$(am__dirstamp) \ + tests/helpers/$(DEPDIR)/$(am__dirstamp) +libuuid/src/predefined.$(OBJEXT): libuuid/src/$(am__dirstamp) \ + libuuid/src/$(DEPDIR)/$(am__dirstamp) +libuuid/src/unpack.$(OBJEXT): libuuid/src/$(am__dirstamp) \ + libuuid/src/$(DEPDIR)/$(am__dirstamp) +libuuid/src/unparse.$(OBJEXT): libuuid/src/$(am__dirstamp) \ + libuuid/src/$(DEPDIR)/$(am__dirstamp) + +test_uuid_namespace$(EXEEXT): $(test_uuid_namespace_OBJECTS) $(test_uuid_namespace_DEPENDENCIES) $(EXTRA_test_uuid_namespace_DEPENDENCIES) + @rm -f test_uuid_namespace$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_uuid_namespace_OBJECTS) $(test_uuid_namespace_LDADD) $(LIBS) +libuuid/src/test_uuid_parser-test_uuid.$(OBJEXT): \ + libuuid/src/$(am__dirstamp) \ + libuuid/src/$(DEPDIR)/$(am__dirstamp) + +test_uuid_parser$(EXEEXT): $(test_uuid_parser_OBJECTS) $(test_uuid_parser_DEPENDENCIES) $(EXTRA_test_uuid_parser_DEPENDENCIES) + @rm -f test_uuid_parser$(EXEEXT) + $(AM_V_CCLD)$(test_uuid_parser_LINK) $(test_uuid_parser_OBJECTS) $(test_uuid_parser_LDADD) $(LIBS) +misc-utils/test_uuidd-test_uuidd.$(OBJEXT): \ + misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) + +test_uuidd$(EXEEXT): $(test_uuidd_OBJECTS) $(test_uuidd_DEPENDENCIES) $(EXTRA_test_uuidd_DEPENDENCIES) + @rm -f test_uuidd$(EXEEXT) + $(AM_V_CCLD)$(test_uuidd_LINK) $(test_uuidd_OBJECTS) $(test_uuidd_LDADD) $(LIBS) +sys-utils/tunelp.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +tunelp$(EXEEXT): $(tunelp_OBJECTS) $(tunelp_DEPENDENCIES) $(EXTRA_tunelp_DEPENDENCIES) + @rm -f tunelp$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tunelp_OBJECTS) $(tunelp_LDADD) $(LIBS) +text-utils/ul-ul.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) + +ul$(EXEEXT): $(ul_OBJECTS) $(ul_DEPENDENCIES) $(EXTRA_ul_DEPENDENCIES) + @rm -f ul$(EXEEXT) + $(AM_V_CCLD)$(ul_LINK) $(ul_OBJECTS) $(ul_LDADD) $(LIBS) +sys-utils/umount-umount.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +umount$(EXEEXT): $(umount_OBJECTS) $(umount_DEPENDENCIES) $(EXTRA_umount_DEPENDENCIES) + @rm -f umount$(EXEEXT) + $(AM_V_CCLD)$(umount_LINK) $(umount_OBJECTS) $(umount_LDADD) $(LIBS) +sys-utils/umount_static-umount.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +umount.static$(EXEEXT): $(umount_static_OBJECTS) $(umount_static_DEPENDENCIES) $(EXTRA_umount_static_DEPENDENCIES) + @rm -f umount.static$(EXEEXT) + $(AM_V_CCLD)$(umount_static_LINK) $(umount_static_OBJECTS) $(umount_static_LDADD) $(LIBS) +sys-utils/unshare-unshare.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +unshare$(EXEEXT): $(unshare_OBJECTS) $(unshare_DEPENDENCIES) $(EXTRA_unshare_DEPENDENCIES) + @rm -f unshare$(EXEEXT) + $(AM_V_CCLD)$(unshare_LINK) $(unshare_OBJECTS) $(unshare_LDADD) $(LIBS) +sys-utils/unshare_static-unshare.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +unshare.static$(EXEEXT): $(unshare_static_OBJECTS) $(unshare_static_DEPENDENCIES) $(EXTRA_unshare_static_DEPENDENCIES) + @rm -f unshare.static$(EXEEXT) + $(AM_V_CCLD)$(unshare_static_LINK) $(unshare_static_OBJECTS) $(unshare_static_LDADD) $(LIBS) +login-utils/utmpdump.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) + +utmpdump$(EXEEXT): $(utmpdump_OBJECTS) $(utmpdump_DEPENDENCIES) $(EXTRA_utmpdump_DEPENDENCIES) + @rm -f utmpdump$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(utmpdump_OBJECTS) $(utmpdump_LDADD) $(LIBS) +misc-utils/uuidd-uuidd.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) +lib/uuidd-monotonic.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/uuidd-timer.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) + +uuidd$(EXEEXT): $(uuidd_OBJECTS) $(uuidd_DEPENDENCIES) $(EXTRA_uuidd_DEPENDENCIES) + @rm -f uuidd$(EXEEXT) + $(AM_V_CCLD)$(uuidd_LINK) $(uuidd_OBJECTS) $(uuidd_LDADD) $(LIBS) +misc-utils/uuidgen-uuidgen.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) + +uuidgen$(EXEEXT): $(uuidgen_OBJECTS) $(uuidgen_DEPENDENCIES) $(EXTRA_uuidgen_DEPENDENCIES) + @rm -f uuidgen$(EXEEXT) + $(AM_V_CCLD)$(uuidgen_LINK) $(uuidgen_OBJECTS) $(uuidgen_LDADD) $(LIBS) +misc-utils/uuidparse-uuidparse.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) + +uuidparse$(EXEEXT): $(uuidparse_OBJECTS) $(uuidparse_DEPENDENCIES) $(EXTRA_uuidparse_DEPENDENCIES) + @rm -f uuidparse$(EXEEXT) + $(AM_V_CCLD)$(uuidparse_LINK) $(uuidparse_OBJECTS) $(uuidparse_LDADD) $(LIBS) +login-utils/vipw.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) + +vipw$(EXEEXT): $(vipw_OBJECTS) $(vipw_DEPENDENCIES) $(EXTRA_vipw_DEPENDENCIES) + @rm -f vipw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(vipw_OBJECTS) $(vipw_LDADD) $(LIBS) +term-utils/wall-wall.$(OBJEXT): term-utils/$(am__dirstamp) \ + term-utils/$(DEPDIR)/$(am__dirstamp) +term-utils/wall-ttymsg.$(OBJEXT): term-utils/$(am__dirstamp) \ + term-utils/$(DEPDIR)/$(am__dirstamp) + +wall$(EXEEXT): $(wall_OBJECTS) $(wall_DEPENDENCIES) $(EXTRA_wall_DEPENDENCIES) + @rm -f wall$(EXEEXT) + $(AM_V_CCLD)$(wall_LINK) $(wall_OBJECTS) $(wall_LDADD) $(LIBS) +sys-utils/wdctl-wdctl.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +wdctl$(EXEEXT): $(wdctl_OBJECTS) $(wdctl_DEPENDENCIES) $(EXTRA_wdctl_DEPENDENCIES) + @rm -f wdctl$(EXEEXT) + $(AM_V_CCLD)$(wdctl_LINK) $(wdctl_OBJECTS) $(wdctl_LDADD) $(LIBS) +misc-utils/whereis.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) + +whereis$(EXEEXT): $(whereis_OBJECTS) $(whereis_DEPENDENCIES) $(EXTRA_whereis_DEPENDENCIES) + @rm -f whereis$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(whereis_OBJECTS) $(whereis_LDADD) $(LIBS) +misc-utils/wipefs-wipefs.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) + +wipefs$(EXEEXT): $(wipefs_OBJECTS) $(wipefs_DEPENDENCIES) $(EXTRA_wipefs_DEPENDENCIES) + @rm -f wipefs$(EXEEXT) + $(AM_V_CCLD)$(wipefs_LINK) $(wipefs_OBJECTS) $(wipefs_LDADD) $(LIBS) +term-utils/write-write.$(OBJEXT): term-utils/$(am__dirstamp) \ + term-utils/$(DEPDIR)/$(am__dirstamp) + +write$(EXEEXT): $(write_OBJECTS) $(write_DEPENDENCIES) $(EXTRA_write_DEPENDENCIES) + @rm -f write$(EXEEXT) + $(AM_V_CCLD)$(write_LINK) $(write_OBJECTS) $(write_LDADD) $(LIBS) +sys-utils/zramctl-zramctl.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) + +zramctl$(EXEEXT): $(zramctl_OBJECTS) $(zramctl_DEPENDENCIES) $(EXTRA_zramctl_DEPENDENCIES) + @rm -f zramctl$(EXEEXT) + $(AM_V_CCLD)$(zramctl_LINK) $(zramctl_OBJECTS) $(zramctl_LDADD) $(LIBS) +install-dist_getoptexampleSCRIPTS: $(dist_getoptexample_SCRIPTS) + @$(NORMAL_INSTALL) + @list='$(dist_getoptexample_SCRIPTS)'; test -n "$(getoptexampledir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(getoptexampledir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(getoptexampledir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n' \ + -e 'h;s|.*|.|' \ + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) { files[d] = files[d] " " $$1; \ + if (++n[d] == $(am__install_max)) { \ + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ + else { print "f", d "/" $$4, $$1 } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(getoptexampledir)$$dir'"; \ + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(getoptexampledir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-dist_getoptexampleSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(dist_getoptexample_SCRIPTS)'; test -n "$(getoptexampledir)" || exit 0; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 's,.*/,,;$(transform)'`; \ + dir='$(DESTDIR)$(getoptexampledir)'; $(am__uninstall_files_from_dir) +install-dist_usrbin_execSCRIPTS: $(dist_usrbin_exec_SCRIPTS) + @$(NORMAL_INSTALL) + @list='$(dist_usrbin_exec_SCRIPTS)'; test -n "$(usrbin_execdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(usrbin_execdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(usrbin_execdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n' \ + -e 'h;s|.*|.|' \ + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) { files[d] = files[d] " " $$1; \ + if (++n[d] == $(am__install_max)) { \ + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ + else { print "f", d "/" $$4, $$1 } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(usrbin_execdir)$$dir'"; \ + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(usrbin_execdir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-dist_usrbin_execSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(dist_usrbin_exec_SCRIPTS)'; test -n "$(usrbin_execdir)" || exit 0; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 's,.*/,,;$(transform)'`; \ + dir='$(DESTDIR)$(usrbin_execdir)'; $(am__uninstall_files_from_dir) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + -rm -f disk-utils/*.$(OBJEXT) + -rm -f lib/*.$(OBJEXT) + -rm -f lib/*.lo + -rm -f libblkid/samples/*.$(OBJEXT) + -rm -f libblkid/src/*.$(OBJEXT) + -rm -f libblkid/src/*.lo + -rm -f libblkid/src/partitions/*.$(OBJEXT) + -rm -f libblkid/src/partitions/*.lo + -rm -f libblkid/src/superblocks/*.$(OBJEXT) + -rm -f libblkid/src/superblocks/*.lo + -rm -f libblkid/src/topology/*.$(OBJEXT) + -rm -f libblkid/src/topology/*.lo + -rm -f libfdisk/samples/*.$(OBJEXT) + -rm -f libfdisk/src/*.$(OBJEXT) + -rm -f libfdisk/src/*.lo + -rm -f libmount/python/*.$(OBJEXT) + -rm -f libmount/python/*.lo + -rm -f libmount/src/*.$(OBJEXT) + -rm -f libmount/src/*.lo + -rm -f libsmartcols/samples/*.$(OBJEXT) + -rm -f libsmartcols/src/*.$(OBJEXT) + -rm -f libsmartcols/src/*.lo + -rm -f libuuid/src/*.$(OBJEXT) + -rm -f libuuid/src/*.lo + -rm -f login-utils/*.$(OBJEXT) + -rm -f misc-utils/*.$(OBJEXT) + -rm -f schedutils/*.$(OBJEXT) + -rm -f sys-utils/*.$(OBJEXT) + -rm -f term-utils/*.$(OBJEXT) + -rm -f tests/helpers/*.$(OBJEXT) + -rm -f text-utils/*.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/addpart.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/blockdev.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/cfdisk-cfdisk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/cramfs_common.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/delpart.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/fdformat.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/fdisk-fdisk-list.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/fdisk-fdisk-menu.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/fdisk-fdisk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/fdisk_static-fdisk-list.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/fdisk_static-fdisk-menu.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/fdisk_static-fdisk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/fsck-fsck.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/fsck.cramfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/fsck.minix.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/isosize.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/mkfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/mkfs.bfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/mkfs.cramfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/mkfs.minix.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/mkswap-mkswap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/partx-partx.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/raw.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/resizepart.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/sfdisk-fdisk-list.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/sfdisk-sfdisk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/sfdisk_static-fdisk-list.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/sfdisk_static-sfdisk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/swaplabel-swaplabel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@disk-utils/$(DEPDIR)/test_mkfs_minix-mkfs.minix.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/dmesg-monotonic.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/eject-monotonic.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/fsck-monotonic.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/idcache.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-blkdev.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-canonicalize.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-color-names.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-cpuset.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-crc32.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-crc32c.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-env.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-exec_shell.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-fileutils.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-idcache.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-ismounted.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-langinfo.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-linux_version.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-loopdev.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-mangle.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-match.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-mbsalign.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-mbsedit.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-md5.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-pager.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-parse-date.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-path.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-plymouth-ctrl.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-procutils.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-pwdutils.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-randutils.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-setproctitle.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-sha1.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-signames.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-strutils.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-strv.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-sysfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-timeutils.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-ttyutils.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libmount_la-monotonic.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libtcolors_la-color-names.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libtcolors_la-colors.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libuuid_la-md5.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libuuid_la-randutils.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libuuid_la-sha1.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/logger-strutils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/logger-strv.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/md5.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/monotonic.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/script-monotonic.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/sha1.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/strutils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/swaplabel-swapprober.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/swapoff-swapprober.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/swapon-swapprober.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_blkdev-blkdev.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_canonicalize-canonicalize.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_colors-color-names.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_colors-colors.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_cpuset-cpuset.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_dmesg-monotonic.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_fileutils-fileutils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_ismounted-ismounted.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_linux_version-linux_version.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_logger-strutils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_logger-strv.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_mangle-mangle.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_pager-pager.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_path-cpuset.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_path-fileutils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_path-path.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_procutils-procutils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_pwdutils-pwdutils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_randutils-randutils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_script-monotonic.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_strutils-strutils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_sysfs-cpuset.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_sysfs-fileutils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_sysfs-path.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_sysfs-sysfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_timeutils-strutils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_timeutils-timeutils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_ttyutils-ttyutils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/timer.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/uuidd-monotonic.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/uuidd-timer.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/samples/$(DEPDIR)/sample_mkfs-mkfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/samples/$(DEPDIR)/sample_partitions-partitions.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/samples/$(DEPDIR)/sample_superblocks-superblocks.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/samples/$(DEPDIR)/sample_topology-topology.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/libblkid_la-cache.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/libblkid_la-config.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/libblkid_la-dev.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/libblkid_la-devname.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/libblkid_la-devno.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/libblkid_la-encode.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/libblkid_la-evaluate.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/libblkid_la-getsize.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/libblkid_la-init.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/libblkid_la-llseek.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/libblkid_la-probe.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/libblkid_la-read.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/libblkid_la-resolve.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/libblkid_la-save.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/libblkid_la-tag.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/libblkid_la-verify.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/libblkid_la-version.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/test_blkid_cache-cache.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/test_blkid_config-config.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/test_blkid_dev-dev.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/test_blkid_devname-devname.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/test_blkid_devno-devno.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/test_blkid_evaluate-evaluate.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/test_blkid_read-read.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/test_blkid_resolve-resolve.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/test_blkid_save-save.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/test_blkid_tag-tag.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/$(DEPDIR)/test_blkid_verify-verify.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/partitions/$(DEPDIR)/libblkid_la-aix.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/partitions/$(DEPDIR)/libblkid_la-atari.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/partitions/$(DEPDIR)/libblkid_la-bsd.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/partitions/$(DEPDIR)/libblkid_la-dos.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/partitions/$(DEPDIR)/libblkid_la-gpt.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/partitions/$(DEPDIR)/libblkid_la-mac.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/partitions/$(DEPDIR)/libblkid_la-minix.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/partitions/$(DEPDIR)/libblkid_la-partitions.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/partitions/$(DEPDIR)/libblkid_la-sgi.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/partitions/$(DEPDIR)/libblkid_la-solaris_x86.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/partitions/$(DEPDIR)/libblkid_la-sun.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/partitions/$(DEPDIR)/libblkid_la-ultrix.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/partitions/$(DEPDIR)/libblkid_la-unixware.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-adaptec_raid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-apfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-bcache.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-befs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-bfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-bitlocker.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-btrfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-cramfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ddf_raid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-drbd.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-drbdmanage.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-drbdproxy_datalog.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-exfat.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-exfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ext.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-f2fs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-gfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-hfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-highpoint_raid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-hpfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-iso9660.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-isw_raid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-jfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-jmicron_raid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-linux_raid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-lsi_raid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-luks.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-lvm.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-minix.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-mpool.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-netware.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-nilfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ntfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-nvidia_raid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ocfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-promise_raid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-refs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-reiserfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-romfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-silicon_raid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-squashfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-stratis.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-superblocks.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-swap.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-sysv.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ubi.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ubifs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-udf.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ufs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-vdo.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-vfat.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-via_raid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-vmfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-vxfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-xfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/superblocks/$(DEPDIR)/libblkid_la-zfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/topology/$(DEPDIR)/libblkid_la-dm.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/topology/$(DEPDIR)/libblkid_la-evms.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/topology/$(DEPDIR)/libblkid_la-ioctl.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/topology/$(DEPDIR)/libblkid_la-lvm.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/topology/$(DEPDIR)/libblkid_la-md.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/topology/$(DEPDIR)/libblkid_la-sysfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libblkid/src/topology/$(DEPDIR)/libblkid_la-topology.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/samples/$(DEPDIR)/sample_fdisk_mkpart-mkpart.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/samples/$(DEPDIR)/sample_fdisk_mkpart_fullspec-mkpart-fullspec.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-alignment.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-ask.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-bsd.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-context.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-dos.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-field.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-gpt.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-init.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-item.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-iter.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-label.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-partition.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-parttype.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-script.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-sgi.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-sun.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-table.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-test.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-utils.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-version.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/libfdisk_la-wipe.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/test_fdisk_ask-ask.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/test_fdisk_gpt-gpt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/test_fdisk_item-item.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/test_fdisk_script-script.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/test_fdisk_utils-utils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libfdisk/src/$(DEPDIR)/test_fdisk_version-version.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/python/$(DEPDIR)/pylibmount_la-context.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/python/$(DEPDIR)/pylibmount_la-fs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/python/$(DEPDIR)/pylibmount_la-pylibmount.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/python/$(DEPDIR)/pylibmount_la-tab.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-btrfs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-cache.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-context.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-context_loopdev.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-context_mount.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-context_umount.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-fs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-init.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-iter.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-lock.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-monitor.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-optmap.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-optstr.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-tab.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-tab_diff.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-tab_parse.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-tab_update.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-test.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-utils.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/libmount_la-version.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/test_mount_cache-cache.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/test_mount_context-context.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/test_mount_debug-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/test_mount_lock-lock.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/test_mount_monitor-monitor.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/test_mount_optstr-optstr.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/test_mount_tab-tab.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/test_mount_tab_diff-tab_diff.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/test_mount_tab_update-tab_update.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/test_mount_utils-utils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libmount/src/$(DEPDIR)/test_mount_version-version.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libsmartcols/samples/$(DEPDIR)/sample_scols_continuous-continuous.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libsmartcols/samples/$(DEPDIR)/sample_scols_fromfile-fromfile.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libsmartcols/samples/$(DEPDIR)/sample_scols_maxout-maxout.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libsmartcols/samples/$(DEPDIR)/sample_scols_title-title.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libsmartcols/samples/$(DEPDIR)/sample_scols_tree-tree.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libsmartcols/samples/$(DEPDIR)/sample_scols_wrap-wrap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libsmartcols/src/$(DEPDIR)/libsmartcols_la-cell.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libsmartcols/src/$(DEPDIR)/libsmartcols_la-column.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libsmartcols/src/$(DEPDIR)/libsmartcols_la-init.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libsmartcols/src/$(DEPDIR)/libsmartcols_la-iter.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libsmartcols/src/$(DEPDIR)/libsmartcols_la-line.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libsmartcols/src/$(DEPDIR)/libsmartcols_la-symbols.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libsmartcols/src/$(DEPDIR)/libsmartcols_la-table.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libsmartcols/src/$(DEPDIR)/libsmartcols_la-table_print.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libsmartcols/src/$(DEPDIR)/libsmartcols_la-version.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libuuid/src/$(DEPDIR)/libuuid_la-clear.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libuuid/src/$(DEPDIR)/libuuid_la-compare.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libuuid/src/$(DEPDIR)/libuuid_la-copy.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libuuid/src/$(DEPDIR)/libuuid_la-gen_uuid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libuuid/src/$(DEPDIR)/libuuid_la-isnull.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libuuid/src/$(DEPDIR)/libuuid_la-pack.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libuuid/src/$(DEPDIR)/libuuid_la-parse.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libuuid/src/$(DEPDIR)/libuuid_la-predefined.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libuuid/src/$(DEPDIR)/libuuid_la-unpack.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libuuid/src/$(DEPDIR)/libuuid_la-unparse.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libuuid/src/$(DEPDIR)/libuuid_la-uuid_time.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libuuid/src/$(DEPDIR)/predefined.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libuuid/src/$(DEPDIR)/test_uuid_parser-test_uuid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libuuid/src/$(DEPDIR)/unpack.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@libuuid/src/$(DEPDIR)/unparse.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/chfn-auth.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/chfn-ch-common.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/chfn-chfn.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/chfn-islocal.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/chfn-libuser.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/chfn-logindefs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/chfn-selinux_utils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/chfn-setpwnam.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/chsh-auth.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/chsh-ch-common.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/chsh-chsh.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/chsh-islocal.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/chsh-libuser.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/chsh-selinux_utils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/chsh-setpwnam.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/last.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/login.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/logindefs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/lslogins-logindefs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/lslogins-lslogins.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/newgrp-newgrp.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/nologin.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/runuser.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/su-common.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/su-logindefs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/su-su-common.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/su-su.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/sulogin-consoles.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/sulogin.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/test_consoles-sulogin-consoles.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/test_islocal-islocal.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/test_logindefs-logindefs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/utmpdump.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@login-utils/$(DEPDIR)/vipw.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/blkid-blkid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/blkid_static-blkid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/cal-cal.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/fincore-fincore.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/findfs-findfs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/findmnt-findmnt-verify.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/findmnt-findmnt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/getopt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/kill.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/logger-logger.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/look.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/lsblk-lsblk-mnt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/lsblk-lsblk-properties.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/lsblk-lsblk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/lslocks-lslocks.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/mcookie.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/namei.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/rename.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/test_cal-cal.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/test_logger-logger.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/test_uuidd-test_uuidd.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/uuidd-uuidd.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/uuidgen-uuidgen.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/uuidparse-uuidparse.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/whereis.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/wipefs-wipefs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@schedutils/$(DEPDIR)/chrt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@schedutils/$(DEPDIR)/ionice.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@schedutils/$(DEPDIR)/taskset.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/blkdiscard.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/blkzone.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/chcpu.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/chmem.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/choom.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/ctrlaltdel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/dmesg-dmesg.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/eject-eject.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/fallocate.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/flock.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/fsfreeze.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/fstrim-fstrim.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/hwclock-cmos.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/hwclock-rtc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/hwclock.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/ipcmk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/ipcrm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/ipcs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/ipcutils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/ldattach.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/losetup-losetup.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/losetup_static-losetup.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/lscpu-lscpu-arm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/lscpu-lscpu-dmi.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/lscpu-lscpu.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/lsipc-ipcutils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/lsipc-lsipc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/lsmem-lsmem.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/lsns-lsns.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/mount-mount.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/mount_static-mount.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/mountpoint-mountpoint.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/nsenter.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/pivot_root.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/prlimit-prlimit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/readprofile.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/renice.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/rfkill-rfkill.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/rtcwake.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/setarch.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/setpriv.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/setsid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/swapoff-swapoff.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/swapoff-swapon-common.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/swapon-swapon-common.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/swapon-swapon.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/switch_root.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/test_dmesg-dmesg.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/tunelp.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/umount-umount.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/umount_static-umount.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/unshare-unshare.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/unshare_static-unshare.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/wdctl-wdctl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/zramctl-zramctl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term-utils/$(DEPDIR)/agetty.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term-utils/$(DEPDIR)/mesg.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term-utils/$(DEPDIR)/script-script.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term-utils/$(DEPDIR)/scriptreplay.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term-utils/$(DEPDIR)/setterm-setterm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term-utils/$(DEPDIR)/test_script-script.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term-utils/$(DEPDIR)/wall-ttymsg.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term-utils/$(DEPDIR)/wall-wall.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@term-utils/$(DEPDIR)/write-write.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/helpers/$(DEPDIR)/test_byteswap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/helpers/$(DEPDIR)/test_mbsencode.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/helpers/$(DEPDIR)/test_md5.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/helpers/$(DEPDIR)/test_pathnames.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/helpers/$(DEPDIR)/test_sha1.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/helpers/$(DEPDIR)/test_sigreceive.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/helpers/$(DEPDIR)/test_sysinfo.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/helpers/$(DEPDIR)/test_tiocsti.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/helpers/$(DEPDIR)/test_uuid_namespace.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@text-utils/$(DEPDIR)/col.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@text-utils/$(DEPDIR)/colcrt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@text-utils/$(DEPDIR)/colrm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@text-utils/$(DEPDIR)/column-column.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@text-utils/$(DEPDIR)/hexdump-conv.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@text-utils/$(DEPDIR)/hexdump-display.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@text-utils/$(DEPDIR)/hexdump-parse.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@text-utils/$(DEPDIR)/hexdump.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@text-utils/$(DEPDIR)/line.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@text-utils/$(DEPDIR)/more-more.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@text-utils/$(DEPDIR)/pg-pg.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@text-utils/$(DEPDIR)/rev.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@text-utils/$(DEPDIR)/test_more-more.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@text-utils/$(DEPDIR)/ul-ul.Po@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +libblkid/src/libblkid_la-init.lo: libblkid/src/init.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/libblkid_la-init.lo -MD -MP -MF libblkid/src/$(DEPDIR)/libblkid_la-init.Tpo -c -o libblkid/src/libblkid_la-init.lo `test -f 'libblkid/src/init.c' || echo '$(srcdir)/'`libblkid/src/init.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/libblkid_la-init.Tpo libblkid/src/$(DEPDIR)/libblkid_la-init.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/init.c' object='libblkid/src/libblkid_la-init.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/libblkid_la-init.lo `test -f 'libblkid/src/init.c' || echo '$(srcdir)/'`libblkid/src/init.c + +libblkid/src/libblkid_la-cache.lo: libblkid/src/cache.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/libblkid_la-cache.lo -MD -MP -MF libblkid/src/$(DEPDIR)/libblkid_la-cache.Tpo -c -o libblkid/src/libblkid_la-cache.lo `test -f 'libblkid/src/cache.c' || echo '$(srcdir)/'`libblkid/src/cache.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/libblkid_la-cache.Tpo libblkid/src/$(DEPDIR)/libblkid_la-cache.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/cache.c' object='libblkid/src/libblkid_la-cache.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/libblkid_la-cache.lo `test -f 'libblkid/src/cache.c' || echo '$(srcdir)/'`libblkid/src/cache.c + +libblkid/src/libblkid_la-config.lo: libblkid/src/config.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/libblkid_la-config.lo -MD -MP -MF libblkid/src/$(DEPDIR)/libblkid_la-config.Tpo -c -o libblkid/src/libblkid_la-config.lo `test -f 'libblkid/src/config.c' || echo '$(srcdir)/'`libblkid/src/config.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/libblkid_la-config.Tpo libblkid/src/$(DEPDIR)/libblkid_la-config.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/config.c' object='libblkid/src/libblkid_la-config.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/libblkid_la-config.lo `test -f 'libblkid/src/config.c' || echo '$(srcdir)/'`libblkid/src/config.c + +libblkid/src/libblkid_la-dev.lo: libblkid/src/dev.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/libblkid_la-dev.lo -MD -MP -MF libblkid/src/$(DEPDIR)/libblkid_la-dev.Tpo -c -o libblkid/src/libblkid_la-dev.lo `test -f 'libblkid/src/dev.c' || echo '$(srcdir)/'`libblkid/src/dev.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/libblkid_la-dev.Tpo libblkid/src/$(DEPDIR)/libblkid_la-dev.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/dev.c' object='libblkid/src/libblkid_la-dev.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/libblkid_la-dev.lo `test -f 'libblkid/src/dev.c' || echo '$(srcdir)/'`libblkid/src/dev.c + +libblkid/src/libblkid_la-devname.lo: libblkid/src/devname.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/libblkid_la-devname.lo -MD -MP -MF libblkid/src/$(DEPDIR)/libblkid_la-devname.Tpo -c -o libblkid/src/libblkid_la-devname.lo `test -f 'libblkid/src/devname.c' || echo '$(srcdir)/'`libblkid/src/devname.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/libblkid_la-devname.Tpo libblkid/src/$(DEPDIR)/libblkid_la-devname.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/devname.c' object='libblkid/src/libblkid_la-devname.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/libblkid_la-devname.lo `test -f 'libblkid/src/devname.c' || echo '$(srcdir)/'`libblkid/src/devname.c + +libblkid/src/libblkid_la-devno.lo: libblkid/src/devno.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/libblkid_la-devno.lo -MD -MP -MF libblkid/src/$(DEPDIR)/libblkid_la-devno.Tpo -c -o libblkid/src/libblkid_la-devno.lo `test -f 'libblkid/src/devno.c' || echo '$(srcdir)/'`libblkid/src/devno.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/libblkid_la-devno.Tpo libblkid/src/$(DEPDIR)/libblkid_la-devno.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/devno.c' object='libblkid/src/libblkid_la-devno.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/libblkid_la-devno.lo `test -f 'libblkid/src/devno.c' || echo '$(srcdir)/'`libblkid/src/devno.c + +libblkid/src/libblkid_la-encode.lo: libblkid/src/encode.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/libblkid_la-encode.lo -MD -MP -MF libblkid/src/$(DEPDIR)/libblkid_la-encode.Tpo -c -o libblkid/src/libblkid_la-encode.lo `test -f 'libblkid/src/encode.c' || echo '$(srcdir)/'`libblkid/src/encode.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/libblkid_la-encode.Tpo libblkid/src/$(DEPDIR)/libblkid_la-encode.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/encode.c' object='libblkid/src/libblkid_la-encode.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/libblkid_la-encode.lo `test -f 'libblkid/src/encode.c' || echo '$(srcdir)/'`libblkid/src/encode.c + +libblkid/src/libblkid_la-evaluate.lo: libblkid/src/evaluate.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/libblkid_la-evaluate.lo -MD -MP -MF libblkid/src/$(DEPDIR)/libblkid_la-evaluate.Tpo -c -o libblkid/src/libblkid_la-evaluate.lo `test -f 'libblkid/src/evaluate.c' || echo '$(srcdir)/'`libblkid/src/evaluate.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/libblkid_la-evaluate.Tpo libblkid/src/$(DEPDIR)/libblkid_la-evaluate.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/evaluate.c' object='libblkid/src/libblkid_la-evaluate.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/libblkid_la-evaluate.lo `test -f 'libblkid/src/evaluate.c' || echo '$(srcdir)/'`libblkid/src/evaluate.c + +libblkid/src/libblkid_la-getsize.lo: libblkid/src/getsize.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/libblkid_la-getsize.lo -MD -MP -MF libblkid/src/$(DEPDIR)/libblkid_la-getsize.Tpo -c -o libblkid/src/libblkid_la-getsize.lo `test -f 'libblkid/src/getsize.c' || echo '$(srcdir)/'`libblkid/src/getsize.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/libblkid_la-getsize.Tpo libblkid/src/$(DEPDIR)/libblkid_la-getsize.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/getsize.c' object='libblkid/src/libblkid_la-getsize.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/libblkid_la-getsize.lo `test -f 'libblkid/src/getsize.c' || echo '$(srcdir)/'`libblkid/src/getsize.c + +libblkid/src/libblkid_la-llseek.lo: libblkid/src/llseek.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/libblkid_la-llseek.lo -MD -MP -MF libblkid/src/$(DEPDIR)/libblkid_la-llseek.Tpo -c -o libblkid/src/libblkid_la-llseek.lo `test -f 'libblkid/src/llseek.c' || echo '$(srcdir)/'`libblkid/src/llseek.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/libblkid_la-llseek.Tpo libblkid/src/$(DEPDIR)/libblkid_la-llseek.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/llseek.c' object='libblkid/src/libblkid_la-llseek.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/libblkid_la-llseek.lo `test -f 'libblkid/src/llseek.c' || echo '$(srcdir)/'`libblkid/src/llseek.c + +libblkid/src/libblkid_la-probe.lo: libblkid/src/probe.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/libblkid_la-probe.lo -MD -MP -MF libblkid/src/$(DEPDIR)/libblkid_la-probe.Tpo -c -o libblkid/src/libblkid_la-probe.lo `test -f 'libblkid/src/probe.c' || echo '$(srcdir)/'`libblkid/src/probe.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/libblkid_la-probe.Tpo libblkid/src/$(DEPDIR)/libblkid_la-probe.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/probe.c' object='libblkid/src/libblkid_la-probe.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/libblkid_la-probe.lo `test -f 'libblkid/src/probe.c' || echo '$(srcdir)/'`libblkid/src/probe.c + +libblkid/src/libblkid_la-read.lo: libblkid/src/read.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/libblkid_la-read.lo -MD -MP -MF libblkid/src/$(DEPDIR)/libblkid_la-read.Tpo -c -o libblkid/src/libblkid_la-read.lo `test -f 'libblkid/src/read.c' || echo '$(srcdir)/'`libblkid/src/read.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/libblkid_la-read.Tpo libblkid/src/$(DEPDIR)/libblkid_la-read.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/read.c' object='libblkid/src/libblkid_la-read.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/libblkid_la-read.lo `test -f 'libblkid/src/read.c' || echo '$(srcdir)/'`libblkid/src/read.c + +libblkid/src/libblkid_la-resolve.lo: libblkid/src/resolve.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/libblkid_la-resolve.lo -MD -MP -MF libblkid/src/$(DEPDIR)/libblkid_la-resolve.Tpo -c -o libblkid/src/libblkid_la-resolve.lo `test -f 'libblkid/src/resolve.c' || echo '$(srcdir)/'`libblkid/src/resolve.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/libblkid_la-resolve.Tpo libblkid/src/$(DEPDIR)/libblkid_la-resolve.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/resolve.c' object='libblkid/src/libblkid_la-resolve.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/libblkid_la-resolve.lo `test -f 'libblkid/src/resolve.c' || echo '$(srcdir)/'`libblkid/src/resolve.c + +libblkid/src/libblkid_la-save.lo: libblkid/src/save.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/libblkid_la-save.lo -MD -MP -MF libblkid/src/$(DEPDIR)/libblkid_la-save.Tpo -c -o libblkid/src/libblkid_la-save.lo `test -f 'libblkid/src/save.c' || echo '$(srcdir)/'`libblkid/src/save.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/libblkid_la-save.Tpo libblkid/src/$(DEPDIR)/libblkid_la-save.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/save.c' object='libblkid/src/libblkid_la-save.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/libblkid_la-save.lo `test -f 'libblkid/src/save.c' || echo '$(srcdir)/'`libblkid/src/save.c + +libblkid/src/libblkid_la-tag.lo: libblkid/src/tag.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/libblkid_la-tag.lo -MD -MP -MF libblkid/src/$(DEPDIR)/libblkid_la-tag.Tpo -c -o libblkid/src/libblkid_la-tag.lo `test -f 'libblkid/src/tag.c' || echo '$(srcdir)/'`libblkid/src/tag.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/libblkid_la-tag.Tpo libblkid/src/$(DEPDIR)/libblkid_la-tag.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/tag.c' object='libblkid/src/libblkid_la-tag.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/libblkid_la-tag.lo `test -f 'libblkid/src/tag.c' || echo '$(srcdir)/'`libblkid/src/tag.c + +libblkid/src/libblkid_la-verify.lo: libblkid/src/verify.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/libblkid_la-verify.lo -MD -MP -MF libblkid/src/$(DEPDIR)/libblkid_la-verify.Tpo -c -o libblkid/src/libblkid_la-verify.lo `test -f 'libblkid/src/verify.c' || echo '$(srcdir)/'`libblkid/src/verify.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/libblkid_la-verify.Tpo libblkid/src/$(DEPDIR)/libblkid_la-verify.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/verify.c' object='libblkid/src/libblkid_la-verify.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/libblkid_la-verify.lo `test -f 'libblkid/src/verify.c' || echo '$(srcdir)/'`libblkid/src/verify.c + +libblkid/src/libblkid_la-version.lo: libblkid/src/version.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/libblkid_la-version.lo -MD -MP -MF libblkid/src/$(DEPDIR)/libblkid_la-version.Tpo -c -o libblkid/src/libblkid_la-version.lo `test -f 'libblkid/src/version.c' || echo '$(srcdir)/'`libblkid/src/version.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/libblkid_la-version.Tpo libblkid/src/$(DEPDIR)/libblkid_la-version.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/version.c' object='libblkid/src/libblkid_la-version.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/libblkid_la-version.lo `test -f 'libblkid/src/version.c' || echo '$(srcdir)/'`libblkid/src/version.c + +libblkid/src/partitions/libblkid_la-aix.lo: libblkid/src/partitions/aix.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/partitions/libblkid_la-aix.lo -MD -MP -MF libblkid/src/partitions/$(DEPDIR)/libblkid_la-aix.Tpo -c -o libblkid/src/partitions/libblkid_la-aix.lo `test -f 'libblkid/src/partitions/aix.c' || echo '$(srcdir)/'`libblkid/src/partitions/aix.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/partitions/$(DEPDIR)/libblkid_la-aix.Tpo libblkid/src/partitions/$(DEPDIR)/libblkid_la-aix.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/partitions/aix.c' object='libblkid/src/partitions/libblkid_la-aix.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/partitions/libblkid_la-aix.lo `test -f 'libblkid/src/partitions/aix.c' || echo '$(srcdir)/'`libblkid/src/partitions/aix.c + +libblkid/src/partitions/libblkid_la-atari.lo: libblkid/src/partitions/atari.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/partitions/libblkid_la-atari.lo -MD -MP -MF libblkid/src/partitions/$(DEPDIR)/libblkid_la-atari.Tpo -c -o libblkid/src/partitions/libblkid_la-atari.lo `test -f 'libblkid/src/partitions/atari.c' || echo '$(srcdir)/'`libblkid/src/partitions/atari.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/partitions/$(DEPDIR)/libblkid_la-atari.Tpo libblkid/src/partitions/$(DEPDIR)/libblkid_la-atari.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/partitions/atari.c' object='libblkid/src/partitions/libblkid_la-atari.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/partitions/libblkid_la-atari.lo `test -f 'libblkid/src/partitions/atari.c' || echo '$(srcdir)/'`libblkid/src/partitions/atari.c + +libblkid/src/partitions/libblkid_la-bsd.lo: libblkid/src/partitions/bsd.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/partitions/libblkid_la-bsd.lo -MD -MP -MF libblkid/src/partitions/$(DEPDIR)/libblkid_la-bsd.Tpo -c -o libblkid/src/partitions/libblkid_la-bsd.lo `test -f 'libblkid/src/partitions/bsd.c' || echo '$(srcdir)/'`libblkid/src/partitions/bsd.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/partitions/$(DEPDIR)/libblkid_la-bsd.Tpo libblkid/src/partitions/$(DEPDIR)/libblkid_la-bsd.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/partitions/bsd.c' object='libblkid/src/partitions/libblkid_la-bsd.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/partitions/libblkid_la-bsd.lo `test -f 'libblkid/src/partitions/bsd.c' || echo '$(srcdir)/'`libblkid/src/partitions/bsd.c + +libblkid/src/partitions/libblkid_la-dos.lo: libblkid/src/partitions/dos.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/partitions/libblkid_la-dos.lo -MD -MP -MF libblkid/src/partitions/$(DEPDIR)/libblkid_la-dos.Tpo -c -o libblkid/src/partitions/libblkid_la-dos.lo `test -f 'libblkid/src/partitions/dos.c' || echo '$(srcdir)/'`libblkid/src/partitions/dos.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/partitions/$(DEPDIR)/libblkid_la-dos.Tpo libblkid/src/partitions/$(DEPDIR)/libblkid_la-dos.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/partitions/dos.c' object='libblkid/src/partitions/libblkid_la-dos.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/partitions/libblkid_la-dos.lo `test -f 'libblkid/src/partitions/dos.c' || echo '$(srcdir)/'`libblkid/src/partitions/dos.c + +libblkid/src/partitions/libblkid_la-gpt.lo: libblkid/src/partitions/gpt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/partitions/libblkid_la-gpt.lo -MD -MP -MF libblkid/src/partitions/$(DEPDIR)/libblkid_la-gpt.Tpo -c -o libblkid/src/partitions/libblkid_la-gpt.lo `test -f 'libblkid/src/partitions/gpt.c' || echo '$(srcdir)/'`libblkid/src/partitions/gpt.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/partitions/$(DEPDIR)/libblkid_la-gpt.Tpo libblkid/src/partitions/$(DEPDIR)/libblkid_la-gpt.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/partitions/gpt.c' object='libblkid/src/partitions/libblkid_la-gpt.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/partitions/libblkid_la-gpt.lo `test -f 'libblkid/src/partitions/gpt.c' || echo '$(srcdir)/'`libblkid/src/partitions/gpt.c + +libblkid/src/partitions/libblkid_la-mac.lo: libblkid/src/partitions/mac.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/partitions/libblkid_la-mac.lo -MD -MP -MF libblkid/src/partitions/$(DEPDIR)/libblkid_la-mac.Tpo -c -o libblkid/src/partitions/libblkid_la-mac.lo `test -f 'libblkid/src/partitions/mac.c' || echo '$(srcdir)/'`libblkid/src/partitions/mac.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/partitions/$(DEPDIR)/libblkid_la-mac.Tpo libblkid/src/partitions/$(DEPDIR)/libblkid_la-mac.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/partitions/mac.c' object='libblkid/src/partitions/libblkid_la-mac.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/partitions/libblkid_la-mac.lo `test -f 'libblkid/src/partitions/mac.c' || echo '$(srcdir)/'`libblkid/src/partitions/mac.c + +libblkid/src/partitions/libblkid_la-minix.lo: libblkid/src/partitions/minix.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/partitions/libblkid_la-minix.lo -MD -MP -MF libblkid/src/partitions/$(DEPDIR)/libblkid_la-minix.Tpo -c -o libblkid/src/partitions/libblkid_la-minix.lo `test -f 'libblkid/src/partitions/minix.c' || echo '$(srcdir)/'`libblkid/src/partitions/minix.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/partitions/$(DEPDIR)/libblkid_la-minix.Tpo libblkid/src/partitions/$(DEPDIR)/libblkid_la-minix.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/partitions/minix.c' object='libblkid/src/partitions/libblkid_la-minix.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/partitions/libblkid_la-minix.lo `test -f 'libblkid/src/partitions/minix.c' || echo '$(srcdir)/'`libblkid/src/partitions/minix.c + +libblkid/src/partitions/libblkid_la-partitions.lo: libblkid/src/partitions/partitions.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/partitions/libblkid_la-partitions.lo -MD -MP -MF libblkid/src/partitions/$(DEPDIR)/libblkid_la-partitions.Tpo -c -o libblkid/src/partitions/libblkid_la-partitions.lo `test -f 'libblkid/src/partitions/partitions.c' || echo '$(srcdir)/'`libblkid/src/partitions/partitions.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/partitions/$(DEPDIR)/libblkid_la-partitions.Tpo libblkid/src/partitions/$(DEPDIR)/libblkid_la-partitions.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/partitions/partitions.c' object='libblkid/src/partitions/libblkid_la-partitions.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/partitions/libblkid_la-partitions.lo `test -f 'libblkid/src/partitions/partitions.c' || echo '$(srcdir)/'`libblkid/src/partitions/partitions.c + +libblkid/src/partitions/libblkid_la-sgi.lo: libblkid/src/partitions/sgi.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/partitions/libblkid_la-sgi.lo -MD -MP -MF libblkid/src/partitions/$(DEPDIR)/libblkid_la-sgi.Tpo -c -o libblkid/src/partitions/libblkid_la-sgi.lo `test -f 'libblkid/src/partitions/sgi.c' || echo '$(srcdir)/'`libblkid/src/partitions/sgi.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/partitions/$(DEPDIR)/libblkid_la-sgi.Tpo libblkid/src/partitions/$(DEPDIR)/libblkid_la-sgi.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/partitions/sgi.c' object='libblkid/src/partitions/libblkid_la-sgi.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/partitions/libblkid_la-sgi.lo `test -f 'libblkid/src/partitions/sgi.c' || echo '$(srcdir)/'`libblkid/src/partitions/sgi.c + +libblkid/src/partitions/libblkid_la-solaris_x86.lo: libblkid/src/partitions/solaris_x86.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/partitions/libblkid_la-solaris_x86.lo -MD -MP -MF libblkid/src/partitions/$(DEPDIR)/libblkid_la-solaris_x86.Tpo -c -o libblkid/src/partitions/libblkid_la-solaris_x86.lo `test -f 'libblkid/src/partitions/solaris_x86.c' || echo '$(srcdir)/'`libblkid/src/partitions/solaris_x86.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/partitions/$(DEPDIR)/libblkid_la-solaris_x86.Tpo libblkid/src/partitions/$(DEPDIR)/libblkid_la-solaris_x86.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/partitions/solaris_x86.c' object='libblkid/src/partitions/libblkid_la-solaris_x86.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/partitions/libblkid_la-solaris_x86.lo `test -f 'libblkid/src/partitions/solaris_x86.c' || echo '$(srcdir)/'`libblkid/src/partitions/solaris_x86.c + +libblkid/src/partitions/libblkid_la-sun.lo: libblkid/src/partitions/sun.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/partitions/libblkid_la-sun.lo -MD -MP -MF libblkid/src/partitions/$(DEPDIR)/libblkid_la-sun.Tpo -c -o libblkid/src/partitions/libblkid_la-sun.lo `test -f 'libblkid/src/partitions/sun.c' || echo '$(srcdir)/'`libblkid/src/partitions/sun.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/partitions/$(DEPDIR)/libblkid_la-sun.Tpo libblkid/src/partitions/$(DEPDIR)/libblkid_la-sun.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/partitions/sun.c' object='libblkid/src/partitions/libblkid_la-sun.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/partitions/libblkid_la-sun.lo `test -f 'libblkid/src/partitions/sun.c' || echo '$(srcdir)/'`libblkid/src/partitions/sun.c + +libblkid/src/partitions/libblkid_la-ultrix.lo: libblkid/src/partitions/ultrix.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/partitions/libblkid_la-ultrix.lo -MD -MP -MF libblkid/src/partitions/$(DEPDIR)/libblkid_la-ultrix.Tpo -c -o libblkid/src/partitions/libblkid_la-ultrix.lo `test -f 'libblkid/src/partitions/ultrix.c' || echo '$(srcdir)/'`libblkid/src/partitions/ultrix.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/partitions/$(DEPDIR)/libblkid_la-ultrix.Tpo libblkid/src/partitions/$(DEPDIR)/libblkid_la-ultrix.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/partitions/ultrix.c' object='libblkid/src/partitions/libblkid_la-ultrix.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/partitions/libblkid_la-ultrix.lo `test -f 'libblkid/src/partitions/ultrix.c' || echo '$(srcdir)/'`libblkid/src/partitions/ultrix.c + +libblkid/src/partitions/libblkid_la-unixware.lo: libblkid/src/partitions/unixware.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/partitions/libblkid_la-unixware.lo -MD -MP -MF libblkid/src/partitions/$(DEPDIR)/libblkid_la-unixware.Tpo -c -o libblkid/src/partitions/libblkid_la-unixware.lo `test -f 'libblkid/src/partitions/unixware.c' || echo '$(srcdir)/'`libblkid/src/partitions/unixware.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/partitions/$(DEPDIR)/libblkid_la-unixware.Tpo libblkid/src/partitions/$(DEPDIR)/libblkid_la-unixware.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/partitions/unixware.c' object='libblkid/src/partitions/libblkid_la-unixware.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/partitions/libblkid_la-unixware.lo `test -f 'libblkid/src/partitions/unixware.c' || echo '$(srcdir)/'`libblkid/src/partitions/unixware.c + +libblkid/src/superblocks/libblkid_la-adaptec_raid.lo: libblkid/src/superblocks/adaptec_raid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-adaptec_raid.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-adaptec_raid.Tpo -c -o libblkid/src/superblocks/libblkid_la-adaptec_raid.lo `test -f 'libblkid/src/superblocks/adaptec_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/adaptec_raid.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-adaptec_raid.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-adaptec_raid.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/adaptec_raid.c' object='libblkid/src/superblocks/libblkid_la-adaptec_raid.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-adaptec_raid.lo `test -f 'libblkid/src/superblocks/adaptec_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/adaptec_raid.c + +libblkid/src/superblocks/libblkid_la-apfs.lo: libblkid/src/superblocks/apfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-apfs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-apfs.Tpo -c -o libblkid/src/superblocks/libblkid_la-apfs.lo `test -f 'libblkid/src/superblocks/apfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/apfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-apfs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-apfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/apfs.c' object='libblkid/src/superblocks/libblkid_la-apfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-apfs.lo `test -f 'libblkid/src/superblocks/apfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/apfs.c + +libblkid/src/superblocks/libblkid_la-bcache.lo: libblkid/src/superblocks/bcache.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-bcache.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-bcache.Tpo -c -o libblkid/src/superblocks/libblkid_la-bcache.lo `test -f 'libblkid/src/superblocks/bcache.c' || echo '$(srcdir)/'`libblkid/src/superblocks/bcache.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-bcache.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-bcache.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/bcache.c' object='libblkid/src/superblocks/libblkid_la-bcache.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-bcache.lo `test -f 'libblkid/src/superblocks/bcache.c' || echo '$(srcdir)/'`libblkid/src/superblocks/bcache.c + +libblkid/src/superblocks/libblkid_la-befs.lo: libblkid/src/superblocks/befs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-befs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-befs.Tpo -c -o libblkid/src/superblocks/libblkid_la-befs.lo `test -f 'libblkid/src/superblocks/befs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/befs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-befs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-befs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/befs.c' object='libblkid/src/superblocks/libblkid_la-befs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-befs.lo `test -f 'libblkid/src/superblocks/befs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/befs.c + +libblkid/src/superblocks/libblkid_la-bfs.lo: libblkid/src/superblocks/bfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-bfs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-bfs.Tpo -c -o libblkid/src/superblocks/libblkid_la-bfs.lo `test -f 'libblkid/src/superblocks/bfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/bfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-bfs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-bfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/bfs.c' object='libblkid/src/superblocks/libblkid_la-bfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-bfs.lo `test -f 'libblkid/src/superblocks/bfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/bfs.c + +libblkid/src/superblocks/libblkid_la-bitlocker.lo: libblkid/src/superblocks/bitlocker.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-bitlocker.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-bitlocker.Tpo -c -o libblkid/src/superblocks/libblkid_la-bitlocker.lo `test -f 'libblkid/src/superblocks/bitlocker.c' || echo '$(srcdir)/'`libblkid/src/superblocks/bitlocker.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-bitlocker.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-bitlocker.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/bitlocker.c' object='libblkid/src/superblocks/libblkid_la-bitlocker.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-bitlocker.lo `test -f 'libblkid/src/superblocks/bitlocker.c' || echo '$(srcdir)/'`libblkid/src/superblocks/bitlocker.c + +libblkid/src/superblocks/libblkid_la-btrfs.lo: libblkid/src/superblocks/btrfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-btrfs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-btrfs.Tpo -c -o libblkid/src/superblocks/libblkid_la-btrfs.lo `test -f 'libblkid/src/superblocks/btrfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/btrfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-btrfs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-btrfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/btrfs.c' object='libblkid/src/superblocks/libblkid_la-btrfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-btrfs.lo `test -f 'libblkid/src/superblocks/btrfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/btrfs.c + +libblkid/src/superblocks/libblkid_la-cramfs.lo: libblkid/src/superblocks/cramfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-cramfs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-cramfs.Tpo -c -o libblkid/src/superblocks/libblkid_la-cramfs.lo `test -f 'libblkid/src/superblocks/cramfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/cramfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-cramfs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-cramfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/cramfs.c' object='libblkid/src/superblocks/libblkid_la-cramfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-cramfs.lo `test -f 'libblkid/src/superblocks/cramfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/cramfs.c + +libblkid/src/superblocks/libblkid_la-ddf_raid.lo: libblkid/src/superblocks/ddf_raid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-ddf_raid.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ddf_raid.Tpo -c -o libblkid/src/superblocks/libblkid_la-ddf_raid.lo `test -f 'libblkid/src/superblocks/ddf_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/ddf_raid.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ddf_raid.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ddf_raid.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/ddf_raid.c' object='libblkid/src/superblocks/libblkid_la-ddf_raid.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-ddf_raid.lo `test -f 'libblkid/src/superblocks/ddf_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/ddf_raid.c + +libblkid/src/superblocks/libblkid_la-drbd.lo: libblkid/src/superblocks/drbd.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-drbd.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-drbd.Tpo -c -o libblkid/src/superblocks/libblkid_la-drbd.lo `test -f 'libblkid/src/superblocks/drbd.c' || echo '$(srcdir)/'`libblkid/src/superblocks/drbd.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-drbd.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-drbd.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/drbd.c' object='libblkid/src/superblocks/libblkid_la-drbd.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-drbd.lo `test -f 'libblkid/src/superblocks/drbd.c' || echo '$(srcdir)/'`libblkid/src/superblocks/drbd.c + +libblkid/src/superblocks/libblkid_la-drbdproxy_datalog.lo: libblkid/src/superblocks/drbdproxy_datalog.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-drbdproxy_datalog.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-drbdproxy_datalog.Tpo -c -o libblkid/src/superblocks/libblkid_la-drbdproxy_datalog.lo `test -f 'libblkid/src/superblocks/drbdproxy_datalog.c' || echo '$(srcdir)/'`libblkid/src/superblocks/drbdproxy_datalog.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-drbdproxy_datalog.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-drbdproxy_datalog.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/drbdproxy_datalog.c' object='libblkid/src/superblocks/libblkid_la-drbdproxy_datalog.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-drbdproxy_datalog.lo `test -f 'libblkid/src/superblocks/drbdproxy_datalog.c' || echo '$(srcdir)/'`libblkid/src/superblocks/drbdproxy_datalog.c + +libblkid/src/superblocks/libblkid_la-drbdmanage.lo: libblkid/src/superblocks/drbdmanage.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-drbdmanage.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-drbdmanage.Tpo -c -o libblkid/src/superblocks/libblkid_la-drbdmanage.lo `test -f 'libblkid/src/superblocks/drbdmanage.c' || echo '$(srcdir)/'`libblkid/src/superblocks/drbdmanage.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-drbdmanage.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-drbdmanage.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/drbdmanage.c' object='libblkid/src/superblocks/libblkid_la-drbdmanage.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-drbdmanage.lo `test -f 'libblkid/src/superblocks/drbdmanage.c' || echo '$(srcdir)/'`libblkid/src/superblocks/drbdmanage.c + +libblkid/src/superblocks/libblkid_la-exfat.lo: libblkid/src/superblocks/exfat.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-exfat.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-exfat.Tpo -c -o libblkid/src/superblocks/libblkid_la-exfat.lo `test -f 'libblkid/src/superblocks/exfat.c' || echo '$(srcdir)/'`libblkid/src/superblocks/exfat.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-exfat.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-exfat.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/exfat.c' object='libblkid/src/superblocks/libblkid_la-exfat.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-exfat.lo `test -f 'libblkid/src/superblocks/exfat.c' || echo '$(srcdir)/'`libblkid/src/superblocks/exfat.c + +libblkid/src/superblocks/libblkid_la-exfs.lo: libblkid/src/superblocks/exfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-exfs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-exfs.Tpo -c -o libblkid/src/superblocks/libblkid_la-exfs.lo `test -f 'libblkid/src/superblocks/exfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/exfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-exfs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-exfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/exfs.c' object='libblkid/src/superblocks/libblkid_la-exfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-exfs.lo `test -f 'libblkid/src/superblocks/exfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/exfs.c + +libblkid/src/superblocks/libblkid_la-ext.lo: libblkid/src/superblocks/ext.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-ext.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ext.Tpo -c -o libblkid/src/superblocks/libblkid_la-ext.lo `test -f 'libblkid/src/superblocks/ext.c' || echo '$(srcdir)/'`libblkid/src/superblocks/ext.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ext.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ext.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/ext.c' object='libblkid/src/superblocks/libblkid_la-ext.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-ext.lo `test -f 'libblkid/src/superblocks/ext.c' || echo '$(srcdir)/'`libblkid/src/superblocks/ext.c + +libblkid/src/superblocks/libblkid_la-f2fs.lo: libblkid/src/superblocks/f2fs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-f2fs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-f2fs.Tpo -c -o libblkid/src/superblocks/libblkid_la-f2fs.lo `test -f 'libblkid/src/superblocks/f2fs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/f2fs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-f2fs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-f2fs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/f2fs.c' object='libblkid/src/superblocks/libblkid_la-f2fs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-f2fs.lo `test -f 'libblkid/src/superblocks/f2fs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/f2fs.c + +libblkid/src/superblocks/libblkid_la-gfs.lo: libblkid/src/superblocks/gfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-gfs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-gfs.Tpo -c -o libblkid/src/superblocks/libblkid_la-gfs.lo `test -f 'libblkid/src/superblocks/gfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/gfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-gfs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-gfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/gfs.c' object='libblkid/src/superblocks/libblkid_la-gfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-gfs.lo `test -f 'libblkid/src/superblocks/gfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/gfs.c + +libblkid/src/superblocks/libblkid_la-hfs.lo: libblkid/src/superblocks/hfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-hfs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-hfs.Tpo -c -o libblkid/src/superblocks/libblkid_la-hfs.lo `test -f 'libblkid/src/superblocks/hfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/hfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-hfs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-hfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/hfs.c' object='libblkid/src/superblocks/libblkid_la-hfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-hfs.lo `test -f 'libblkid/src/superblocks/hfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/hfs.c + +libblkid/src/superblocks/libblkid_la-highpoint_raid.lo: libblkid/src/superblocks/highpoint_raid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-highpoint_raid.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-highpoint_raid.Tpo -c -o libblkid/src/superblocks/libblkid_la-highpoint_raid.lo `test -f 'libblkid/src/superblocks/highpoint_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/highpoint_raid.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-highpoint_raid.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-highpoint_raid.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/highpoint_raid.c' object='libblkid/src/superblocks/libblkid_la-highpoint_raid.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-highpoint_raid.lo `test -f 'libblkid/src/superblocks/highpoint_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/highpoint_raid.c + +libblkid/src/superblocks/libblkid_la-hpfs.lo: libblkid/src/superblocks/hpfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-hpfs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-hpfs.Tpo -c -o libblkid/src/superblocks/libblkid_la-hpfs.lo `test -f 'libblkid/src/superblocks/hpfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/hpfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-hpfs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-hpfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/hpfs.c' object='libblkid/src/superblocks/libblkid_la-hpfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-hpfs.lo `test -f 'libblkid/src/superblocks/hpfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/hpfs.c + +libblkid/src/superblocks/libblkid_la-iso9660.lo: libblkid/src/superblocks/iso9660.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-iso9660.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-iso9660.Tpo -c -o libblkid/src/superblocks/libblkid_la-iso9660.lo `test -f 'libblkid/src/superblocks/iso9660.c' || echo '$(srcdir)/'`libblkid/src/superblocks/iso9660.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-iso9660.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-iso9660.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/iso9660.c' object='libblkid/src/superblocks/libblkid_la-iso9660.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-iso9660.lo `test -f 'libblkid/src/superblocks/iso9660.c' || echo '$(srcdir)/'`libblkid/src/superblocks/iso9660.c + +libblkid/src/superblocks/libblkid_la-isw_raid.lo: libblkid/src/superblocks/isw_raid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-isw_raid.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-isw_raid.Tpo -c -o libblkid/src/superblocks/libblkid_la-isw_raid.lo `test -f 'libblkid/src/superblocks/isw_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/isw_raid.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-isw_raid.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-isw_raid.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/isw_raid.c' object='libblkid/src/superblocks/libblkid_la-isw_raid.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-isw_raid.lo `test -f 'libblkid/src/superblocks/isw_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/isw_raid.c + +libblkid/src/superblocks/libblkid_la-jfs.lo: libblkid/src/superblocks/jfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-jfs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-jfs.Tpo -c -o libblkid/src/superblocks/libblkid_la-jfs.lo `test -f 'libblkid/src/superblocks/jfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/jfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-jfs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-jfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/jfs.c' object='libblkid/src/superblocks/libblkid_la-jfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-jfs.lo `test -f 'libblkid/src/superblocks/jfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/jfs.c + +libblkid/src/superblocks/libblkid_la-jmicron_raid.lo: libblkid/src/superblocks/jmicron_raid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-jmicron_raid.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-jmicron_raid.Tpo -c -o libblkid/src/superblocks/libblkid_la-jmicron_raid.lo `test -f 'libblkid/src/superblocks/jmicron_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/jmicron_raid.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-jmicron_raid.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-jmicron_raid.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/jmicron_raid.c' object='libblkid/src/superblocks/libblkid_la-jmicron_raid.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-jmicron_raid.lo `test -f 'libblkid/src/superblocks/jmicron_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/jmicron_raid.c + +libblkid/src/superblocks/libblkid_la-linux_raid.lo: libblkid/src/superblocks/linux_raid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-linux_raid.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-linux_raid.Tpo -c -o libblkid/src/superblocks/libblkid_la-linux_raid.lo `test -f 'libblkid/src/superblocks/linux_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/linux_raid.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-linux_raid.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-linux_raid.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/linux_raid.c' object='libblkid/src/superblocks/libblkid_la-linux_raid.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-linux_raid.lo `test -f 'libblkid/src/superblocks/linux_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/linux_raid.c + +libblkid/src/superblocks/libblkid_la-lsi_raid.lo: libblkid/src/superblocks/lsi_raid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-lsi_raid.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-lsi_raid.Tpo -c -o libblkid/src/superblocks/libblkid_la-lsi_raid.lo `test -f 'libblkid/src/superblocks/lsi_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/lsi_raid.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-lsi_raid.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-lsi_raid.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/lsi_raid.c' object='libblkid/src/superblocks/libblkid_la-lsi_raid.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-lsi_raid.lo `test -f 'libblkid/src/superblocks/lsi_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/lsi_raid.c + +libblkid/src/superblocks/libblkid_la-luks.lo: libblkid/src/superblocks/luks.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-luks.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-luks.Tpo -c -o libblkid/src/superblocks/libblkid_la-luks.lo `test -f 'libblkid/src/superblocks/luks.c' || echo '$(srcdir)/'`libblkid/src/superblocks/luks.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-luks.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-luks.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/luks.c' object='libblkid/src/superblocks/libblkid_la-luks.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-luks.lo `test -f 'libblkid/src/superblocks/luks.c' || echo '$(srcdir)/'`libblkid/src/superblocks/luks.c + +libblkid/src/superblocks/libblkid_la-lvm.lo: libblkid/src/superblocks/lvm.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-lvm.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-lvm.Tpo -c -o libblkid/src/superblocks/libblkid_la-lvm.lo `test -f 'libblkid/src/superblocks/lvm.c' || echo '$(srcdir)/'`libblkid/src/superblocks/lvm.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-lvm.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-lvm.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/lvm.c' object='libblkid/src/superblocks/libblkid_la-lvm.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-lvm.lo `test -f 'libblkid/src/superblocks/lvm.c' || echo '$(srcdir)/'`libblkid/src/superblocks/lvm.c + +libblkid/src/superblocks/libblkid_la-minix.lo: libblkid/src/superblocks/minix.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-minix.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-minix.Tpo -c -o libblkid/src/superblocks/libblkid_la-minix.lo `test -f 'libblkid/src/superblocks/minix.c' || echo '$(srcdir)/'`libblkid/src/superblocks/minix.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-minix.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-minix.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/minix.c' object='libblkid/src/superblocks/libblkid_la-minix.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-minix.lo `test -f 'libblkid/src/superblocks/minix.c' || echo '$(srcdir)/'`libblkid/src/superblocks/minix.c + +libblkid/src/superblocks/libblkid_la-mpool.lo: libblkid/src/superblocks/mpool.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-mpool.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-mpool.Tpo -c -o libblkid/src/superblocks/libblkid_la-mpool.lo `test -f 'libblkid/src/superblocks/mpool.c' || echo '$(srcdir)/'`libblkid/src/superblocks/mpool.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-mpool.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-mpool.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/mpool.c' object='libblkid/src/superblocks/libblkid_la-mpool.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-mpool.lo `test -f 'libblkid/src/superblocks/mpool.c' || echo '$(srcdir)/'`libblkid/src/superblocks/mpool.c + +libblkid/src/superblocks/libblkid_la-netware.lo: libblkid/src/superblocks/netware.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-netware.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-netware.Tpo -c -o libblkid/src/superblocks/libblkid_la-netware.lo `test -f 'libblkid/src/superblocks/netware.c' || echo '$(srcdir)/'`libblkid/src/superblocks/netware.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-netware.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-netware.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/netware.c' object='libblkid/src/superblocks/libblkid_la-netware.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-netware.lo `test -f 'libblkid/src/superblocks/netware.c' || echo '$(srcdir)/'`libblkid/src/superblocks/netware.c + +libblkid/src/superblocks/libblkid_la-nilfs.lo: libblkid/src/superblocks/nilfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-nilfs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-nilfs.Tpo -c -o libblkid/src/superblocks/libblkid_la-nilfs.lo `test -f 'libblkid/src/superblocks/nilfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/nilfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-nilfs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-nilfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/nilfs.c' object='libblkid/src/superblocks/libblkid_la-nilfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-nilfs.lo `test -f 'libblkid/src/superblocks/nilfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/nilfs.c + +libblkid/src/superblocks/libblkid_la-ntfs.lo: libblkid/src/superblocks/ntfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-ntfs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ntfs.Tpo -c -o libblkid/src/superblocks/libblkid_la-ntfs.lo `test -f 'libblkid/src/superblocks/ntfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/ntfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ntfs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ntfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/ntfs.c' object='libblkid/src/superblocks/libblkid_la-ntfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-ntfs.lo `test -f 'libblkid/src/superblocks/ntfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/ntfs.c + +libblkid/src/superblocks/libblkid_la-refs.lo: libblkid/src/superblocks/refs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-refs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-refs.Tpo -c -o libblkid/src/superblocks/libblkid_la-refs.lo `test -f 'libblkid/src/superblocks/refs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/refs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-refs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-refs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/refs.c' object='libblkid/src/superblocks/libblkid_la-refs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-refs.lo `test -f 'libblkid/src/superblocks/refs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/refs.c + +libblkid/src/superblocks/libblkid_la-nvidia_raid.lo: libblkid/src/superblocks/nvidia_raid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-nvidia_raid.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-nvidia_raid.Tpo -c -o libblkid/src/superblocks/libblkid_la-nvidia_raid.lo `test -f 'libblkid/src/superblocks/nvidia_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/nvidia_raid.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-nvidia_raid.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-nvidia_raid.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/nvidia_raid.c' object='libblkid/src/superblocks/libblkid_la-nvidia_raid.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-nvidia_raid.lo `test -f 'libblkid/src/superblocks/nvidia_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/nvidia_raid.c + +libblkid/src/superblocks/libblkid_la-ocfs.lo: libblkid/src/superblocks/ocfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-ocfs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ocfs.Tpo -c -o libblkid/src/superblocks/libblkid_la-ocfs.lo `test -f 'libblkid/src/superblocks/ocfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/ocfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ocfs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ocfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/ocfs.c' object='libblkid/src/superblocks/libblkid_la-ocfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-ocfs.lo `test -f 'libblkid/src/superblocks/ocfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/ocfs.c + +libblkid/src/superblocks/libblkid_la-promise_raid.lo: libblkid/src/superblocks/promise_raid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-promise_raid.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-promise_raid.Tpo -c -o libblkid/src/superblocks/libblkid_la-promise_raid.lo `test -f 'libblkid/src/superblocks/promise_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/promise_raid.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-promise_raid.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-promise_raid.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/promise_raid.c' object='libblkid/src/superblocks/libblkid_la-promise_raid.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-promise_raid.lo `test -f 'libblkid/src/superblocks/promise_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/promise_raid.c + +libblkid/src/superblocks/libblkid_la-reiserfs.lo: libblkid/src/superblocks/reiserfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-reiserfs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-reiserfs.Tpo -c -o libblkid/src/superblocks/libblkid_la-reiserfs.lo `test -f 'libblkid/src/superblocks/reiserfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/reiserfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-reiserfs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-reiserfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/reiserfs.c' object='libblkid/src/superblocks/libblkid_la-reiserfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-reiserfs.lo `test -f 'libblkid/src/superblocks/reiserfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/reiserfs.c + +libblkid/src/superblocks/libblkid_la-romfs.lo: libblkid/src/superblocks/romfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-romfs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-romfs.Tpo -c -o libblkid/src/superblocks/libblkid_la-romfs.lo `test -f 'libblkid/src/superblocks/romfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/romfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-romfs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-romfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/romfs.c' object='libblkid/src/superblocks/libblkid_la-romfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-romfs.lo `test -f 'libblkid/src/superblocks/romfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/romfs.c + +libblkid/src/superblocks/libblkid_la-silicon_raid.lo: libblkid/src/superblocks/silicon_raid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-silicon_raid.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-silicon_raid.Tpo -c -o libblkid/src/superblocks/libblkid_la-silicon_raid.lo `test -f 'libblkid/src/superblocks/silicon_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/silicon_raid.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-silicon_raid.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-silicon_raid.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/silicon_raid.c' object='libblkid/src/superblocks/libblkid_la-silicon_raid.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-silicon_raid.lo `test -f 'libblkid/src/superblocks/silicon_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/silicon_raid.c + +libblkid/src/superblocks/libblkid_la-squashfs.lo: libblkid/src/superblocks/squashfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-squashfs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-squashfs.Tpo -c -o libblkid/src/superblocks/libblkid_la-squashfs.lo `test -f 'libblkid/src/superblocks/squashfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/squashfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-squashfs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-squashfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/squashfs.c' object='libblkid/src/superblocks/libblkid_la-squashfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-squashfs.lo `test -f 'libblkid/src/superblocks/squashfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/squashfs.c + +libblkid/src/superblocks/libblkid_la-stratis.lo: libblkid/src/superblocks/stratis.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-stratis.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-stratis.Tpo -c -o libblkid/src/superblocks/libblkid_la-stratis.lo `test -f 'libblkid/src/superblocks/stratis.c' || echo '$(srcdir)/'`libblkid/src/superblocks/stratis.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-stratis.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-stratis.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/stratis.c' object='libblkid/src/superblocks/libblkid_la-stratis.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-stratis.lo `test -f 'libblkid/src/superblocks/stratis.c' || echo '$(srcdir)/'`libblkid/src/superblocks/stratis.c + +libblkid/src/superblocks/libblkid_la-superblocks.lo: libblkid/src/superblocks/superblocks.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-superblocks.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-superblocks.Tpo -c -o libblkid/src/superblocks/libblkid_la-superblocks.lo `test -f 'libblkid/src/superblocks/superblocks.c' || echo '$(srcdir)/'`libblkid/src/superblocks/superblocks.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-superblocks.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-superblocks.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/superblocks.c' object='libblkid/src/superblocks/libblkid_la-superblocks.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-superblocks.lo `test -f 'libblkid/src/superblocks/superblocks.c' || echo '$(srcdir)/'`libblkid/src/superblocks/superblocks.c + +libblkid/src/superblocks/libblkid_la-swap.lo: libblkid/src/superblocks/swap.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-swap.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-swap.Tpo -c -o libblkid/src/superblocks/libblkid_la-swap.lo `test -f 'libblkid/src/superblocks/swap.c' || echo '$(srcdir)/'`libblkid/src/superblocks/swap.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-swap.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-swap.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/swap.c' object='libblkid/src/superblocks/libblkid_la-swap.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-swap.lo `test -f 'libblkid/src/superblocks/swap.c' || echo '$(srcdir)/'`libblkid/src/superblocks/swap.c + +libblkid/src/superblocks/libblkid_la-sysv.lo: libblkid/src/superblocks/sysv.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-sysv.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-sysv.Tpo -c -o libblkid/src/superblocks/libblkid_la-sysv.lo `test -f 'libblkid/src/superblocks/sysv.c' || echo '$(srcdir)/'`libblkid/src/superblocks/sysv.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-sysv.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-sysv.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/sysv.c' object='libblkid/src/superblocks/libblkid_la-sysv.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-sysv.lo `test -f 'libblkid/src/superblocks/sysv.c' || echo '$(srcdir)/'`libblkid/src/superblocks/sysv.c + +libblkid/src/superblocks/libblkid_la-ubi.lo: libblkid/src/superblocks/ubi.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-ubi.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ubi.Tpo -c -o libblkid/src/superblocks/libblkid_la-ubi.lo `test -f 'libblkid/src/superblocks/ubi.c' || echo '$(srcdir)/'`libblkid/src/superblocks/ubi.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ubi.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ubi.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/ubi.c' object='libblkid/src/superblocks/libblkid_la-ubi.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-ubi.lo `test -f 'libblkid/src/superblocks/ubi.c' || echo '$(srcdir)/'`libblkid/src/superblocks/ubi.c + +libblkid/src/superblocks/libblkid_la-ubifs.lo: libblkid/src/superblocks/ubifs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-ubifs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ubifs.Tpo -c -o libblkid/src/superblocks/libblkid_la-ubifs.lo `test -f 'libblkid/src/superblocks/ubifs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/ubifs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ubifs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ubifs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/ubifs.c' object='libblkid/src/superblocks/libblkid_la-ubifs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-ubifs.lo `test -f 'libblkid/src/superblocks/ubifs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/ubifs.c + +libblkid/src/superblocks/libblkid_la-udf.lo: libblkid/src/superblocks/udf.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-udf.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-udf.Tpo -c -o libblkid/src/superblocks/libblkid_la-udf.lo `test -f 'libblkid/src/superblocks/udf.c' || echo '$(srcdir)/'`libblkid/src/superblocks/udf.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-udf.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-udf.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/udf.c' object='libblkid/src/superblocks/libblkid_la-udf.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-udf.lo `test -f 'libblkid/src/superblocks/udf.c' || echo '$(srcdir)/'`libblkid/src/superblocks/udf.c + +libblkid/src/superblocks/libblkid_la-ufs.lo: libblkid/src/superblocks/ufs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-ufs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ufs.Tpo -c -o libblkid/src/superblocks/libblkid_la-ufs.lo `test -f 'libblkid/src/superblocks/ufs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/ufs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ufs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-ufs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/ufs.c' object='libblkid/src/superblocks/libblkid_la-ufs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-ufs.lo `test -f 'libblkid/src/superblocks/ufs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/ufs.c + +libblkid/src/superblocks/libblkid_la-vdo.lo: libblkid/src/superblocks/vdo.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-vdo.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-vdo.Tpo -c -o libblkid/src/superblocks/libblkid_la-vdo.lo `test -f 'libblkid/src/superblocks/vdo.c' || echo '$(srcdir)/'`libblkid/src/superblocks/vdo.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-vdo.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-vdo.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/vdo.c' object='libblkid/src/superblocks/libblkid_la-vdo.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-vdo.lo `test -f 'libblkid/src/superblocks/vdo.c' || echo '$(srcdir)/'`libblkid/src/superblocks/vdo.c + +libblkid/src/superblocks/libblkid_la-vfat.lo: libblkid/src/superblocks/vfat.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-vfat.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-vfat.Tpo -c -o libblkid/src/superblocks/libblkid_la-vfat.lo `test -f 'libblkid/src/superblocks/vfat.c' || echo '$(srcdir)/'`libblkid/src/superblocks/vfat.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-vfat.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-vfat.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/vfat.c' object='libblkid/src/superblocks/libblkid_la-vfat.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-vfat.lo `test -f 'libblkid/src/superblocks/vfat.c' || echo '$(srcdir)/'`libblkid/src/superblocks/vfat.c + +libblkid/src/superblocks/libblkid_la-via_raid.lo: libblkid/src/superblocks/via_raid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-via_raid.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-via_raid.Tpo -c -o libblkid/src/superblocks/libblkid_la-via_raid.lo `test -f 'libblkid/src/superblocks/via_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/via_raid.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-via_raid.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-via_raid.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/via_raid.c' object='libblkid/src/superblocks/libblkid_la-via_raid.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-via_raid.lo `test -f 'libblkid/src/superblocks/via_raid.c' || echo '$(srcdir)/'`libblkid/src/superblocks/via_raid.c + +libblkid/src/superblocks/libblkid_la-vmfs.lo: libblkid/src/superblocks/vmfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-vmfs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-vmfs.Tpo -c -o libblkid/src/superblocks/libblkid_la-vmfs.lo `test -f 'libblkid/src/superblocks/vmfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/vmfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-vmfs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-vmfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/vmfs.c' object='libblkid/src/superblocks/libblkid_la-vmfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-vmfs.lo `test -f 'libblkid/src/superblocks/vmfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/vmfs.c + +libblkid/src/superblocks/libblkid_la-vxfs.lo: libblkid/src/superblocks/vxfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-vxfs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-vxfs.Tpo -c -o libblkid/src/superblocks/libblkid_la-vxfs.lo `test -f 'libblkid/src/superblocks/vxfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/vxfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-vxfs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-vxfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/vxfs.c' object='libblkid/src/superblocks/libblkid_la-vxfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-vxfs.lo `test -f 'libblkid/src/superblocks/vxfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/vxfs.c + +libblkid/src/superblocks/libblkid_la-xfs.lo: libblkid/src/superblocks/xfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-xfs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-xfs.Tpo -c -o libblkid/src/superblocks/libblkid_la-xfs.lo `test -f 'libblkid/src/superblocks/xfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/xfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-xfs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-xfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/xfs.c' object='libblkid/src/superblocks/libblkid_la-xfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-xfs.lo `test -f 'libblkid/src/superblocks/xfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/xfs.c + +libblkid/src/superblocks/libblkid_la-zfs.lo: libblkid/src/superblocks/zfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/superblocks/libblkid_la-zfs.lo -MD -MP -MF libblkid/src/superblocks/$(DEPDIR)/libblkid_la-zfs.Tpo -c -o libblkid/src/superblocks/libblkid_la-zfs.lo `test -f 'libblkid/src/superblocks/zfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/zfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/superblocks/$(DEPDIR)/libblkid_la-zfs.Tpo libblkid/src/superblocks/$(DEPDIR)/libblkid_la-zfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/superblocks/zfs.c' object='libblkid/src/superblocks/libblkid_la-zfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/superblocks/libblkid_la-zfs.lo `test -f 'libblkid/src/superblocks/zfs.c' || echo '$(srcdir)/'`libblkid/src/superblocks/zfs.c + +libblkid/src/topology/libblkid_la-topology.lo: libblkid/src/topology/topology.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/topology/libblkid_la-topology.lo -MD -MP -MF libblkid/src/topology/$(DEPDIR)/libblkid_la-topology.Tpo -c -o libblkid/src/topology/libblkid_la-topology.lo `test -f 'libblkid/src/topology/topology.c' || echo '$(srcdir)/'`libblkid/src/topology/topology.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/topology/$(DEPDIR)/libblkid_la-topology.Tpo libblkid/src/topology/$(DEPDIR)/libblkid_la-topology.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/topology/topology.c' object='libblkid/src/topology/libblkid_la-topology.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/topology/libblkid_la-topology.lo `test -f 'libblkid/src/topology/topology.c' || echo '$(srcdir)/'`libblkid/src/topology/topology.c + +libblkid/src/topology/libblkid_la-dm.lo: libblkid/src/topology/dm.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/topology/libblkid_la-dm.lo -MD -MP -MF libblkid/src/topology/$(DEPDIR)/libblkid_la-dm.Tpo -c -o libblkid/src/topology/libblkid_la-dm.lo `test -f 'libblkid/src/topology/dm.c' || echo '$(srcdir)/'`libblkid/src/topology/dm.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/topology/$(DEPDIR)/libblkid_la-dm.Tpo libblkid/src/topology/$(DEPDIR)/libblkid_la-dm.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/topology/dm.c' object='libblkid/src/topology/libblkid_la-dm.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/topology/libblkid_la-dm.lo `test -f 'libblkid/src/topology/dm.c' || echo '$(srcdir)/'`libblkid/src/topology/dm.c + +libblkid/src/topology/libblkid_la-evms.lo: libblkid/src/topology/evms.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/topology/libblkid_la-evms.lo -MD -MP -MF libblkid/src/topology/$(DEPDIR)/libblkid_la-evms.Tpo -c -o libblkid/src/topology/libblkid_la-evms.lo `test -f 'libblkid/src/topology/evms.c' || echo '$(srcdir)/'`libblkid/src/topology/evms.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/topology/$(DEPDIR)/libblkid_la-evms.Tpo libblkid/src/topology/$(DEPDIR)/libblkid_la-evms.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/topology/evms.c' object='libblkid/src/topology/libblkid_la-evms.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/topology/libblkid_la-evms.lo `test -f 'libblkid/src/topology/evms.c' || echo '$(srcdir)/'`libblkid/src/topology/evms.c + +libblkid/src/topology/libblkid_la-ioctl.lo: libblkid/src/topology/ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/topology/libblkid_la-ioctl.lo -MD -MP -MF libblkid/src/topology/$(DEPDIR)/libblkid_la-ioctl.Tpo -c -o libblkid/src/topology/libblkid_la-ioctl.lo `test -f 'libblkid/src/topology/ioctl.c' || echo '$(srcdir)/'`libblkid/src/topology/ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/topology/$(DEPDIR)/libblkid_la-ioctl.Tpo libblkid/src/topology/$(DEPDIR)/libblkid_la-ioctl.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/topology/ioctl.c' object='libblkid/src/topology/libblkid_la-ioctl.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/topology/libblkid_la-ioctl.lo `test -f 'libblkid/src/topology/ioctl.c' || echo '$(srcdir)/'`libblkid/src/topology/ioctl.c + +libblkid/src/topology/libblkid_la-lvm.lo: libblkid/src/topology/lvm.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/topology/libblkid_la-lvm.lo -MD -MP -MF libblkid/src/topology/$(DEPDIR)/libblkid_la-lvm.Tpo -c -o libblkid/src/topology/libblkid_la-lvm.lo `test -f 'libblkid/src/topology/lvm.c' || echo '$(srcdir)/'`libblkid/src/topology/lvm.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/topology/$(DEPDIR)/libblkid_la-lvm.Tpo libblkid/src/topology/$(DEPDIR)/libblkid_la-lvm.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/topology/lvm.c' object='libblkid/src/topology/libblkid_la-lvm.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/topology/libblkid_la-lvm.lo `test -f 'libblkid/src/topology/lvm.c' || echo '$(srcdir)/'`libblkid/src/topology/lvm.c + +libblkid/src/topology/libblkid_la-md.lo: libblkid/src/topology/md.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/topology/libblkid_la-md.lo -MD -MP -MF libblkid/src/topology/$(DEPDIR)/libblkid_la-md.Tpo -c -o libblkid/src/topology/libblkid_la-md.lo `test -f 'libblkid/src/topology/md.c' || echo '$(srcdir)/'`libblkid/src/topology/md.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/topology/$(DEPDIR)/libblkid_la-md.Tpo libblkid/src/topology/$(DEPDIR)/libblkid_la-md.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/topology/md.c' object='libblkid/src/topology/libblkid_la-md.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/topology/libblkid_la-md.lo `test -f 'libblkid/src/topology/md.c' || echo '$(srcdir)/'`libblkid/src/topology/md.c + +libblkid/src/topology/libblkid_la-sysfs.lo: libblkid/src/topology/sysfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -MT libblkid/src/topology/libblkid_la-sysfs.lo -MD -MP -MF libblkid/src/topology/$(DEPDIR)/libblkid_la-sysfs.Tpo -c -o libblkid/src/topology/libblkid_la-sysfs.lo `test -f 'libblkid/src/topology/sysfs.c' || echo '$(srcdir)/'`libblkid/src/topology/sysfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/topology/$(DEPDIR)/libblkid_la-sysfs.Tpo libblkid/src/topology/$(DEPDIR)/libblkid_la-sysfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/topology/sysfs.c' object='libblkid/src/topology/libblkid_la-sysfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libblkid_la_CFLAGS) $(CFLAGS) -c -o libblkid/src/topology/libblkid_la-sysfs.lo `test -f 'libblkid/src/topology/sysfs.c' || echo '$(srcdir)/'`libblkid/src/topology/sysfs.c + +lib/libcommon_la-blkdev.lo: lib/blkdev.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-blkdev.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-blkdev.Tpo -c -o lib/libcommon_la-blkdev.lo `test -f 'lib/blkdev.c' || echo '$(srcdir)/'`lib/blkdev.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-blkdev.Tpo lib/$(DEPDIR)/libcommon_la-blkdev.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/blkdev.c' object='lib/libcommon_la-blkdev.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-blkdev.lo `test -f 'lib/blkdev.c' || echo '$(srcdir)/'`lib/blkdev.c + +lib/libcommon_la-canonicalize.lo: lib/canonicalize.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-canonicalize.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-canonicalize.Tpo -c -o lib/libcommon_la-canonicalize.lo `test -f 'lib/canonicalize.c' || echo '$(srcdir)/'`lib/canonicalize.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-canonicalize.Tpo lib/$(DEPDIR)/libcommon_la-canonicalize.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/canonicalize.c' object='lib/libcommon_la-canonicalize.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-canonicalize.lo `test -f 'lib/canonicalize.c' || echo '$(srcdir)/'`lib/canonicalize.c + +lib/libcommon_la-crc32.lo: lib/crc32.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-crc32.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-crc32.Tpo -c -o lib/libcommon_la-crc32.lo `test -f 'lib/crc32.c' || echo '$(srcdir)/'`lib/crc32.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-crc32.Tpo lib/$(DEPDIR)/libcommon_la-crc32.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/crc32.c' object='lib/libcommon_la-crc32.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-crc32.lo `test -f 'lib/crc32.c' || echo '$(srcdir)/'`lib/crc32.c + +lib/libcommon_la-crc32c.lo: lib/crc32c.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-crc32c.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-crc32c.Tpo -c -o lib/libcommon_la-crc32c.lo `test -f 'lib/crc32c.c' || echo '$(srcdir)/'`lib/crc32c.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-crc32c.Tpo lib/$(DEPDIR)/libcommon_la-crc32c.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/crc32c.c' object='lib/libcommon_la-crc32c.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-crc32c.lo `test -f 'lib/crc32c.c' || echo '$(srcdir)/'`lib/crc32c.c + +lib/libcommon_la-env.lo: lib/env.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-env.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-env.Tpo -c -o lib/libcommon_la-env.lo `test -f 'lib/env.c' || echo '$(srcdir)/'`lib/env.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-env.Tpo lib/$(DEPDIR)/libcommon_la-env.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/env.c' object='lib/libcommon_la-env.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-env.lo `test -f 'lib/env.c' || echo '$(srcdir)/'`lib/env.c + +lib/libcommon_la-idcache.lo: lib/idcache.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-idcache.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-idcache.Tpo -c -o lib/libcommon_la-idcache.lo `test -f 'lib/idcache.c' || echo '$(srcdir)/'`lib/idcache.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-idcache.Tpo lib/$(DEPDIR)/libcommon_la-idcache.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/idcache.c' object='lib/libcommon_la-idcache.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-idcache.lo `test -f 'lib/idcache.c' || echo '$(srcdir)/'`lib/idcache.c + +lib/libcommon_la-fileutils.lo: lib/fileutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-fileutils.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-fileutils.Tpo -c -o lib/libcommon_la-fileutils.lo `test -f 'lib/fileutils.c' || echo '$(srcdir)/'`lib/fileutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-fileutils.Tpo lib/$(DEPDIR)/libcommon_la-fileutils.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fileutils.c' object='lib/libcommon_la-fileutils.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-fileutils.lo `test -f 'lib/fileutils.c' || echo '$(srcdir)/'`lib/fileutils.c + +lib/libcommon_la-ismounted.lo: lib/ismounted.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-ismounted.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-ismounted.Tpo -c -o lib/libcommon_la-ismounted.lo `test -f 'lib/ismounted.c' || echo '$(srcdir)/'`lib/ismounted.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-ismounted.Tpo lib/$(DEPDIR)/libcommon_la-ismounted.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ismounted.c' object='lib/libcommon_la-ismounted.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-ismounted.lo `test -f 'lib/ismounted.c' || echo '$(srcdir)/'`lib/ismounted.c + +lib/libcommon_la-color-names.lo: lib/color-names.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-color-names.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-color-names.Tpo -c -o lib/libcommon_la-color-names.lo `test -f 'lib/color-names.c' || echo '$(srcdir)/'`lib/color-names.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-color-names.Tpo lib/$(DEPDIR)/libcommon_la-color-names.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/color-names.c' object='lib/libcommon_la-color-names.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-color-names.lo `test -f 'lib/color-names.c' || echo '$(srcdir)/'`lib/color-names.c + +lib/libcommon_la-mangle.lo: lib/mangle.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-mangle.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-mangle.Tpo -c -o lib/libcommon_la-mangle.lo `test -f 'lib/mangle.c' || echo '$(srcdir)/'`lib/mangle.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-mangle.Tpo lib/$(DEPDIR)/libcommon_la-mangle.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mangle.c' object='lib/libcommon_la-mangle.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-mangle.lo `test -f 'lib/mangle.c' || echo '$(srcdir)/'`lib/mangle.c + +lib/libcommon_la-match.lo: lib/match.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-match.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-match.Tpo -c -o lib/libcommon_la-match.lo `test -f 'lib/match.c' || echo '$(srcdir)/'`lib/match.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-match.Tpo lib/$(DEPDIR)/libcommon_la-match.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/match.c' object='lib/libcommon_la-match.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-match.lo `test -f 'lib/match.c' || echo '$(srcdir)/'`lib/match.c + +lib/libcommon_la-mbsalign.lo: lib/mbsalign.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-mbsalign.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-mbsalign.Tpo -c -o lib/libcommon_la-mbsalign.lo `test -f 'lib/mbsalign.c' || echo '$(srcdir)/'`lib/mbsalign.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-mbsalign.Tpo lib/$(DEPDIR)/libcommon_la-mbsalign.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbsalign.c' object='lib/libcommon_la-mbsalign.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-mbsalign.lo `test -f 'lib/mbsalign.c' || echo '$(srcdir)/'`lib/mbsalign.c + +lib/libcommon_la-mbsedit.lo: lib/mbsedit.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-mbsedit.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-mbsedit.Tpo -c -o lib/libcommon_la-mbsedit.lo `test -f 'lib/mbsedit.c' || echo '$(srcdir)/'`lib/mbsedit.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-mbsedit.Tpo lib/$(DEPDIR)/libcommon_la-mbsedit.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mbsedit.c' object='lib/libcommon_la-mbsedit.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-mbsedit.lo `test -f 'lib/mbsedit.c' || echo '$(srcdir)/'`lib/mbsedit.c + +lib/libcommon_la-md5.lo: lib/md5.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-md5.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-md5.Tpo -c -o lib/libcommon_la-md5.lo `test -f 'lib/md5.c' || echo '$(srcdir)/'`lib/md5.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-md5.Tpo lib/$(DEPDIR)/libcommon_la-md5.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/md5.c' object='lib/libcommon_la-md5.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-md5.lo `test -f 'lib/md5.c' || echo '$(srcdir)/'`lib/md5.c + +lib/libcommon_la-pager.lo: lib/pager.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-pager.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-pager.Tpo -c -o lib/libcommon_la-pager.lo `test -f 'lib/pager.c' || echo '$(srcdir)/'`lib/pager.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-pager.Tpo lib/$(DEPDIR)/libcommon_la-pager.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/pager.c' object='lib/libcommon_la-pager.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-pager.lo `test -f 'lib/pager.c' || echo '$(srcdir)/'`lib/pager.c + +lib/libcommon_la-parse-date.lo: lib/parse-date.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-parse-date.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-parse-date.Tpo -c -o lib/libcommon_la-parse-date.lo `test -f 'lib/parse-date.c' || echo '$(srcdir)/'`lib/parse-date.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-parse-date.Tpo lib/$(DEPDIR)/libcommon_la-parse-date.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/parse-date.c' object='lib/libcommon_la-parse-date.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-parse-date.lo `test -f 'lib/parse-date.c' || echo '$(srcdir)/'`lib/parse-date.c + +lib/libcommon_la-pwdutils.lo: lib/pwdutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-pwdutils.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-pwdutils.Tpo -c -o lib/libcommon_la-pwdutils.lo `test -f 'lib/pwdutils.c' || echo '$(srcdir)/'`lib/pwdutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-pwdutils.Tpo lib/$(DEPDIR)/libcommon_la-pwdutils.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/pwdutils.c' object='lib/libcommon_la-pwdutils.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-pwdutils.lo `test -f 'lib/pwdutils.c' || echo '$(srcdir)/'`lib/pwdutils.c + +lib/libcommon_la-randutils.lo: lib/randutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-randutils.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-randutils.Tpo -c -o lib/libcommon_la-randutils.lo `test -f 'lib/randutils.c' || echo '$(srcdir)/'`lib/randutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-randutils.Tpo lib/$(DEPDIR)/libcommon_la-randutils.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/randutils.c' object='lib/libcommon_la-randutils.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-randutils.lo `test -f 'lib/randutils.c' || echo '$(srcdir)/'`lib/randutils.c + +lib/libcommon_la-setproctitle.lo: lib/setproctitle.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-setproctitle.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-setproctitle.Tpo -c -o lib/libcommon_la-setproctitle.lo `test -f 'lib/setproctitle.c' || echo '$(srcdir)/'`lib/setproctitle.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-setproctitle.Tpo lib/$(DEPDIR)/libcommon_la-setproctitle.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/setproctitle.c' object='lib/libcommon_la-setproctitle.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-setproctitle.lo `test -f 'lib/setproctitle.c' || echo '$(srcdir)/'`lib/setproctitle.c + +lib/libcommon_la-strutils.lo: lib/strutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-strutils.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-strutils.Tpo -c -o lib/libcommon_la-strutils.lo `test -f 'lib/strutils.c' || echo '$(srcdir)/'`lib/strutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-strutils.Tpo lib/$(DEPDIR)/libcommon_la-strutils.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strutils.c' object='lib/libcommon_la-strutils.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-strutils.lo `test -f 'lib/strutils.c' || echo '$(srcdir)/'`lib/strutils.c + +lib/libcommon_la-timeutils.lo: lib/timeutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-timeutils.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-timeutils.Tpo -c -o lib/libcommon_la-timeutils.lo `test -f 'lib/timeutils.c' || echo '$(srcdir)/'`lib/timeutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-timeutils.Tpo lib/$(DEPDIR)/libcommon_la-timeutils.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/timeutils.c' object='lib/libcommon_la-timeutils.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-timeutils.lo `test -f 'lib/timeutils.c' || echo '$(srcdir)/'`lib/timeutils.c + +lib/libcommon_la-ttyutils.lo: lib/ttyutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-ttyutils.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-ttyutils.Tpo -c -o lib/libcommon_la-ttyutils.lo `test -f 'lib/ttyutils.c' || echo '$(srcdir)/'`lib/ttyutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-ttyutils.Tpo lib/$(DEPDIR)/libcommon_la-ttyutils.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ttyutils.c' object='lib/libcommon_la-ttyutils.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-ttyutils.lo `test -f 'lib/ttyutils.c' || echo '$(srcdir)/'`lib/ttyutils.c + +lib/libcommon_la-exec_shell.lo: lib/exec_shell.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-exec_shell.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-exec_shell.Tpo -c -o lib/libcommon_la-exec_shell.lo `test -f 'lib/exec_shell.c' || echo '$(srcdir)/'`lib/exec_shell.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-exec_shell.Tpo lib/$(DEPDIR)/libcommon_la-exec_shell.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/exec_shell.c' object='lib/libcommon_la-exec_shell.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-exec_shell.lo `test -f 'lib/exec_shell.c' || echo '$(srcdir)/'`lib/exec_shell.c + +lib/libcommon_la-strv.lo: lib/strv.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-strv.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-strv.Tpo -c -o lib/libcommon_la-strv.lo `test -f 'lib/strv.c' || echo '$(srcdir)/'`lib/strv.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-strv.Tpo lib/$(DEPDIR)/libcommon_la-strv.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strv.c' object='lib/libcommon_la-strv.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-strv.lo `test -f 'lib/strv.c' || echo '$(srcdir)/'`lib/strv.c + +lib/libcommon_la-sha1.lo: lib/sha1.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-sha1.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-sha1.Tpo -c -o lib/libcommon_la-sha1.lo `test -f 'lib/sha1.c' || echo '$(srcdir)/'`lib/sha1.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-sha1.Tpo lib/$(DEPDIR)/libcommon_la-sha1.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sha1.c' object='lib/libcommon_la-sha1.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-sha1.lo `test -f 'lib/sha1.c' || echo '$(srcdir)/'`lib/sha1.c + +lib/libcommon_la-signames.lo: lib/signames.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-signames.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-signames.Tpo -c -o lib/libcommon_la-signames.lo `test -f 'lib/signames.c' || echo '$(srcdir)/'`lib/signames.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-signames.Tpo lib/$(DEPDIR)/libcommon_la-signames.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/signames.c' object='lib/libcommon_la-signames.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-signames.lo `test -f 'lib/signames.c' || echo '$(srcdir)/'`lib/signames.c + +lib/libcommon_la-linux_version.lo: lib/linux_version.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-linux_version.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-linux_version.Tpo -c -o lib/libcommon_la-linux_version.lo `test -f 'lib/linux_version.c' || echo '$(srcdir)/'`lib/linux_version.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-linux_version.Tpo lib/$(DEPDIR)/libcommon_la-linux_version.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/linux_version.c' object='lib/libcommon_la-linux_version.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-linux_version.lo `test -f 'lib/linux_version.c' || echo '$(srcdir)/'`lib/linux_version.c + +lib/libcommon_la-loopdev.lo: lib/loopdev.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-loopdev.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-loopdev.Tpo -c -o lib/libcommon_la-loopdev.lo `test -f 'lib/loopdev.c' || echo '$(srcdir)/'`lib/loopdev.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-loopdev.Tpo lib/$(DEPDIR)/libcommon_la-loopdev.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/loopdev.c' object='lib/libcommon_la-loopdev.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-loopdev.lo `test -f 'lib/loopdev.c' || echo '$(srcdir)/'`lib/loopdev.c + +lib/libcommon_la-plymouth-ctrl.lo: lib/plymouth-ctrl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-plymouth-ctrl.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-plymouth-ctrl.Tpo -c -o lib/libcommon_la-plymouth-ctrl.lo `test -f 'lib/plymouth-ctrl.c' || echo '$(srcdir)/'`lib/plymouth-ctrl.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-plymouth-ctrl.Tpo lib/$(DEPDIR)/libcommon_la-plymouth-ctrl.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/plymouth-ctrl.c' object='lib/libcommon_la-plymouth-ctrl.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-plymouth-ctrl.lo `test -f 'lib/plymouth-ctrl.c' || echo '$(srcdir)/'`lib/plymouth-ctrl.c + +lib/libcommon_la-langinfo.lo: lib/langinfo.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-langinfo.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-langinfo.Tpo -c -o lib/libcommon_la-langinfo.lo `test -f 'lib/langinfo.c' || echo '$(srcdir)/'`lib/langinfo.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-langinfo.Tpo lib/$(DEPDIR)/libcommon_la-langinfo.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/langinfo.c' object='lib/libcommon_la-langinfo.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-langinfo.lo `test -f 'lib/langinfo.c' || echo '$(srcdir)/'`lib/langinfo.c + +lib/libcommon_la-cpuset.lo: lib/cpuset.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-cpuset.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-cpuset.Tpo -c -o lib/libcommon_la-cpuset.lo `test -f 'lib/cpuset.c' || echo '$(srcdir)/'`lib/cpuset.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-cpuset.Tpo lib/$(DEPDIR)/libcommon_la-cpuset.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/cpuset.c' object='lib/libcommon_la-cpuset.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-cpuset.lo `test -f 'lib/cpuset.c' || echo '$(srcdir)/'`lib/cpuset.c + +lib/libcommon_la-path.lo: lib/path.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-path.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-path.Tpo -c -o lib/libcommon_la-path.lo `test -f 'lib/path.c' || echo '$(srcdir)/'`lib/path.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-path.Tpo lib/$(DEPDIR)/libcommon_la-path.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/path.c' object='lib/libcommon_la-path.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-path.lo `test -f 'lib/path.c' || echo '$(srcdir)/'`lib/path.c + +lib/libcommon_la-procutils.lo: lib/procutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-procutils.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-procutils.Tpo -c -o lib/libcommon_la-procutils.lo `test -f 'lib/procutils.c' || echo '$(srcdir)/'`lib/procutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-procutils.Tpo lib/$(DEPDIR)/libcommon_la-procutils.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/procutils.c' object='lib/libcommon_la-procutils.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-procutils.lo `test -f 'lib/procutils.c' || echo '$(srcdir)/'`lib/procutils.c + +lib/libcommon_la-sysfs.lo: lib/sysfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -MT lib/libcommon_la-sysfs.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-sysfs.Tpo -c -o lib/libcommon_la-sysfs.lo `test -f 'lib/sysfs.c' || echo '$(srcdir)/'`lib/sysfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-sysfs.Tpo lib/$(DEPDIR)/libcommon_la-sysfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sysfs.c' object='lib/libcommon_la-sysfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcommon_la_CFLAGS) $(CFLAGS) -c -o lib/libcommon_la-sysfs.lo `test -f 'lib/sysfs.c' || echo '$(srcdir)/'`lib/sysfs.c + +libfdisk/src/libfdisk_la-init.lo: libfdisk/src/init.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-init.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-init.Tpo -c -o libfdisk/src/libfdisk_la-init.lo `test -f 'libfdisk/src/init.c' || echo '$(srcdir)/'`libfdisk/src/init.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-init.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-init.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/init.c' object='libfdisk/src/libfdisk_la-init.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-init.lo `test -f 'libfdisk/src/init.c' || echo '$(srcdir)/'`libfdisk/src/init.c + +libfdisk/src/libfdisk_la-field.lo: libfdisk/src/field.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-field.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-field.Tpo -c -o libfdisk/src/libfdisk_la-field.lo `test -f 'libfdisk/src/field.c' || echo '$(srcdir)/'`libfdisk/src/field.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-field.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-field.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/field.c' object='libfdisk/src/libfdisk_la-field.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-field.lo `test -f 'libfdisk/src/field.c' || echo '$(srcdir)/'`libfdisk/src/field.c + +libfdisk/src/libfdisk_la-item.lo: libfdisk/src/item.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-item.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-item.Tpo -c -o libfdisk/src/libfdisk_la-item.lo `test -f 'libfdisk/src/item.c' || echo '$(srcdir)/'`libfdisk/src/item.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-item.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-item.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/item.c' object='libfdisk/src/libfdisk_la-item.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-item.lo `test -f 'libfdisk/src/item.c' || echo '$(srcdir)/'`libfdisk/src/item.c + +libfdisk/src/libfdisk_la-test.lo: libfdisk/src/test.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-test.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-test.Tpo -c -o libfdisk/src/libfdisk_la-test.lo `test -f 'libfdisk/src/test.c' || echo '$(srcdir)/'`libfdisk/src/test.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-test.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-test.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/test.c' object='libfdisk/src/libfdisk_la-test.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-test.lo `test -f 'libfdisk/src/test.c' || echo '$(srcdir)/'`libfdisk/src/test.c + +libfdisk/src/libfdisk_la-ask.lo: libfdisk/src/ask.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-ask.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-ask.Tpo -c -o libfdisk/src/libfdisk_la-ask.lo `test -f 'libfdisk/src/ask.c' || echo '$(srcdir)/'`libfdisk/src/ask.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-ask.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-ask.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/ask.c' object='libfdisk/src/libfdisk_la-ask.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-ask.lo `test -f 'libfdisk/src/ask.c' || echo '$(srcdir)/'`libfdisk/src/ask.c + +libfdisk/src/libfdisk_la-alignment.lo: libfdisk/src/alignment.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-alignment.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-alignment.Tpo -c -o libfdisk/src/libfdisk_la-alignment.lo `test -f 'libfdisk/src/alignment.c' || echo '$(srcdir)/'`libfdisk/src/alignment.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-alignment.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-alignment.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/alignment.c' object='libfdisk/src/libfdisk_la-alignment.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-alignment.lo `test -f 'libfdisk/src/alignment.c' || echo '$(srcdir)/'`libfdisk/src/alignment.c + +libfdisk/src/libfdisk_la-label.lo: libfdisk/src/label.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-label.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-label.Tpo -c -o libfdisk/src/libfdisk_la-label.lo `test -f 'libfdisk/src/label.c' || echo '$(srcdir)/'`libfdisk/src/label.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-label.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-label.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/label.c' object='libfdisk/src/libfdisk_la-label.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-label.lo `test -f 'libfdisk/src/label.c' || echo '$(srcdir)/'`libfdisk/src/label.c + +libfdisk/src/libfdisk_la-utils.lo: libfdisk/src/utils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-utils.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-utils.Tpo -c -o libfdisk/src/libfdisk_la-utils.lo `test -f 'libfdisk/src/utils.c' || echo '$(srcdir)/'`libfdisk/src/utils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-utils.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-utils.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/utils.c' object='libfdisk/src/libfdisk_la-utils.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-utils.lo `test -f 'libfdisk/src/utils.c' || echo '$(srcdir)/'`libfdisk/src/utils.c + +libfdisk/src/libfdisk_la-context.lo: libfdisk/src/context.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-context.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-context.Tpo -c -o libfdisk/src/libfdisk_la-context.lo `test -f 'libfdisk/src/context.c' || echo '$(srcdir)/'`libfdisk/src/context.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-context.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-context.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/context.c' object='libfdisk/src/libfdisk_la-context.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-context.lo `test -f 'libfdisk/src/context.c' || echo '$(srcdir)/'`libfdisk/src/context.c + +libfdisk/src/libfdisk_la-parttype.lo: libfdisk/src/parttype.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-parttype.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-parttype.Tpo -c -o libfdisk/src/libfdisk_la-parttype.lo `test -f 'libfdisk/src/parttype.c' || echo '$(srcdir)/'`libfdisk/src/parttype.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-parttype.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-parttype.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/parttype.c' object='libfdisk/src/libfdisk_la-parttype.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-parttype.lo `test -f 'libfdisk/src/parttype.c' || echo '$(srcdir)/'`libfdisk/src/parttype.c + +libfdisk/src/libfdisk_la-partition.lo: libfdisk/src/partition.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-partition.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-partition.Tpo -c -o libfdisk/src/libfdisk_la-partition.lo `test -f 'libfdisk/src/partition.c' || echo '$(srcdir)/'`libfdisk/src/partition.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-partition.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-partition.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/partition.c' object='libfdisk/src/libfdisk_la-partition.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-partition.lo `test -f 'libfdisk/src/partition.c' || echo '$(srcdir)/'`libfdisk/src/partition.c + +libfdisk/src/libfdisk_la-table.lo: libfdisk/src/table.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-table.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-table.Tpo -c -o libfdisk/src/libfdisk_la-table.lo `test -f 'libfdisk/src/table.c' || echo '$(srcdir)/'`libfdisk/src/table.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-table.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-table.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/table.c' object='libfdisk/src/libfdisk_la-table.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-table.lo `test -f 'libfdisk/src/table.c' || echo '$(srcdir)/'`libfdisk/src/table.c + +libfdisk/src/libfdisk_la-iter.lo: libfdisk/src/iter.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-iter.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-iter.Tpo -c -o libfdisk/src/libfdisk_la-iter.lo `test -f 'libfdisk/src/iter.c' || echo '$(srcdir)/'`libfdisk/src/iter.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-iter.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-iter.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/iter.c' object='libfdisk/src/libfdisk_la-iter.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-iter.lo `test -f 'libfdisk/src/iter.c' || echo '$(srcdir)/'`libfdisk/src/iter.c + +libfdisk/src/libfdisk_la-script.lo: libfdisk/src/script.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-script.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-script.Tpo -c -o libfdisk/src/libfdisk_la-script.lo `test -f 'libfdisk/src/script.c' || echo '$(srcdir)/'`libfdisk/src/script.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-script.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-script.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/script.c' object='libfdisk/src/libfdisk_la-script.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-script.lo `test -f 'libfdisk/src/script.c' || echo '$(srcdir)/'`libfdisk/src/script.c + +libfdisk/src/libfdisk_la-version.lo: libfdisk/src/version.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-version.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-version.Tpo -c -o libfdisk/src/libfdisk_la-version.lo `test -f 'libfdisk/src/version.c' || echo '$(srcdir)/'`libfdisk/src/version.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-version.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-version.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/version.c' object='libfdisk/src/libfdisk_la-version.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-version.lo `test -f 'libfdisk/src/version.c' || echo '$(srcdir)/'`libfdisk/src/version.c + +libfdisk/src/libfdisk_la-wipe.lo: libfdisk/src/wipe.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-wipe.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-wipe.Tpo -c -o libfdisk/src/libfdisk_la-wipe.lo `test -f 'libfdisk/src/wipe.c' || echo '$(srcdir)/'`libfdisk/src/wipe.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-wipe.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-wipe.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/wipe.c' object='libfdisk/src/libfdisk_la-wipe.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-wipe.lo `test -f 'libfdisk/src/wipe.c' || echo '$(srcdir)/'`libfdisk/src/wipe.c + +libfdisk/src/libfdisk_la-sun.lo: libfdisk/src/sun.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-sun.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-sun.Tpo -c -o libfdisk/src/libfdisk_la-sun.lo `test -f 'libfdisk/src/sun.c' || echo '$(srcdir)/'`libfdisk/src/sun.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-sun.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-sun.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/sun.c' object='libfdisk/src/libfdisk_la-sun.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-sun.lo `test -f 'libfdisk/src/sun.c' || echo '$(srcdir)/'`libfdisk/src/sun.c + +libfdisk/src/libfdisk_la-sgi.lo: libfdisk/src/sgi.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-sgi.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-sgi.Tpo -c -o libfdisk/src/libfdisk_la-sgi.lo `test -f 'libfdisk/src/sgi.c' || echo '$(srcdir)/'`libfdisk/src/sgi.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-sgi.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-sgi.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/sgi.c' object='libfdisk/src/libfdisk_la-sgi.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-sgi.lo `test -f 'libfdisk/src/sgi.c' || echo '$(srcdir)/'`libfdisk/src/sgi.c + +libfdisk/src/libfdisk_la-dos.lo: libfdisk/src/dos.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-dos.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-dos.Tpo -c -o libfdisk/src/libfdisk_la-dos.lo `test -f 'libfdisk/src/dos.c' || echo '$(srcdir)/'`libfdisk/src/dos.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-dos.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-dos.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/dos.c' object='libfdisk/src/libfdisk_la-dos.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-dos.lo `test -f 'libfdisk/src/dos.c' || echo '$(srcdir)/'`libfdisk/src/dos.c + +libfdisk/src/libfdisk_la-bsd.lo: libfdisk/src/bsd.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-bsd.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-bsd.Tpo -c -o libfdisk/src/libfdisk_la-bsd.lo `test -f 'libfdisk/src/bsd.c' || echo '$(srcdir)/'`libfdisk/src/bsd.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-bsd.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-bsd.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/bsd.c' object='libfdisk/src/libfdisk_la-bsd.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-bsd.lo `test -f 'libfdisk/src/bsd.c' || echo '$(srcdir)/'`libfdisk/src/bsd.c + +libfdisk/src/libfdisk_la-gpt.lo: libfdisk/src/gpt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -MT libfdisk/src/libfdisk_la-gpt.lo -MD -MP -MF libfdisk/src/$(DEPDIR)/libfdisk_la-gpt.Tpo -c -o libfdisk/src/libfdisk_la-gpt.lo `test -f 'libfdisk/src/gpt.c' || echo '$(srcdir)/'`libfdisk/src/gpt.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/libfdisk_la-gpt.Tpo libfdisk/src/$(DEPDIR)/libfdisk_la-gpt.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/gpt.c' object='libfdisk/src/libfdisk_la-gpt.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libfdisk_la_CFLAGS) $(CFLAGS) -c -o libfdisk/src/libfdisk_la-gpt.lo `test -f 'libfdisk/src/gpt.c' || echo '$(srcdir)/'`libfdisk/src/gpt.c + +lib/libmount_la-monotonic.lo: lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT lib/libmount_la-monotonic.lo -MD -MP -MF lib/$(DEPDIR)/libmount_la-monotonic.Tpo -c -o lib/libmount_la-monotonic.lo `test -f 'lib/monotonic.c' || echo '$(srcdir)/'`lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libmount_la-monotonic.Tpo lib/$(DEPDIR)/libmount_la-monotonic.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/monotonic.c' object='lib/libmount_la-monotonic.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o lib/libmount_la-monotonic.lo `test -f 'lib/monotonic.c' || echo '$(srcdir)/'`lib/monotonic.c + +libmount/src/libmount_la-cache.lo: libmount/src/cache.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-cache.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-cache.Tpo -c -o libmount/src/libmount_la-cache.lo `test -f 'libmount/src/cache.c' || echo '$(srcdir)/'`libmount/src/cache.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-cache.Tpo libmount/src/$(DEPDIR)/libmount_la-cache.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/cache.c' object='libmount/src/libmount_la-cache.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-cache.lo `test -f 'libmount/src/cache.c' || echo '$(srcdir)/'`libmount/src/cache.c + +libmount/src/libmount_la-fs.lo: libmount/src/fs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-fs.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-fs.Tpo -c -o libmount/src/libmount_la-fs.lo `test -f 'libmount/src/fs.c' || echo '$(srcdir)/'`libmount/src/fs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-fs.Tpo libmount/src/$(DEPDIR)/libmount_la-fs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/fs.c' object='libmount/src/libmount_la-fs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-fs.lo `test -f 'libmount/src/fs.c' || echo '$(srcdir)/'`libmount/src/fs.c + +libmount/src/libmount_la-init.lo: libmount/src/init.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-init.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-init.Tpo -c -o libmount/src/libmount_la-init.lo `test -f 'libmount/src/init.c' || echo '$(srcdir)/'`libmount/src/init.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-init.Tpo libmount/src/$(DEPDIR)/libmount_la-init.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/init.c' object='libmount/src/libmount_la-init.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-init.lo `test -f 'libmount/src/init.c' || echo '$(srcdir)/'`libmount/src/init.c + +libmount/src/libmount_la-iter.lo: libmount/src/iter.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-iter.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-iter.Tpo -c -o libmount/src/libmount_la-iter.lo `test -f 'libmount/src/iter.c' || echo '$(srcdir)/'`libmount/src/iter.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-iter.Tpo libmount/src/$(DEPDIR)/libmount_la-iter.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/iter.c' object='libmount/src/libmount_la-iter.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-iter.lo `test -f 'libmount/src/iter.c' || echo '$(srcdir)/'`libmount/src/iter.c + +libmount/src/libmount_la-lock.lo: libmount/src/lock.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-lock.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-lock.Tpo -c -o libmount/src/libmount_la-lock.lo `test -f 'libmount/src/lock.c' || echo '$(srcdir)/'`libmount/src/lock.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-lock.Tpo libmount/src/$(DEPDIR)/libmount_la-lock.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/lock.c' object='libmount/src/libmount_la-lock.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-lock.lo `test -f 'libmount/src/lock.c' || echo '$(srcdir)/'`libmount/src/lock.c + +libmount/src/libmount_la-optmap.lo: libmount/src/optmap.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-optmap.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-optmap.Tpo -c -o libmount/src/libmount_la-optmap.lo `test -f 'libmount/src/optmap.c' || echo '$(srcdir)/'`libmount/src/optmap.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-optmap.Tpo libmount/src/$(DEPDIR)/libmount_la-optmap.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/optmap.c' object='libmount/src/libmount_la-optmap.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-optmap.lo `test -f 'libmount/src/optmap.c' || echo '$(srcdir)/'`libmount/src/optmap.c + +libmount/src/libmount_la-optstr.lo: libmount/src/optstr.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-optstr.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-optstr.Tpo -c -o libmount/src/libmount_la-optstr.lo `test -f 'libmount/src/optstr.c' || echo '$(srcdir)/'`libmount/src/optstr.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-optstr.Tpo libmount/src/$(DEPDIR)/libmount_la-optstr.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/optstr.c' object='libmount/src/libmount_la-optstr.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-optstr.lo `test -f 'libmount/src/optstr.c' || echo '$(srcdir)/'`libmount/src/optstr.c + +libmount/src/libmount_la-tab.lo: libmount/src/tab.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-tab.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-tab.Tpo -c -o libmount/src/libmount_la-tab.lo `test -f 'libmount/src/tab.c' || echo '$(srcdir)/'`libmount/src/tab.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-tab.Tpo libmount/src/$(DEPDIR)/libmount_la-tab.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/tab.c' object='libmount/src/libmount_la-tab.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-tab.lo `test -f 'libmount/src/tab.c' || echo '$(srcdir)/'`libmount/src/tab.c + +libmount/src/libmount_la-tab_diff.lo: libmount/src/tab_diff.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-tab_diff.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-tab_diff.Tpo -c -o libmount/src/libmount_la-tab_diff.lo `test -f 'libmount/src/tab_diff.c' || echo '$(srcdir)/'`libmount/src/tab_diff.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-tab_diff.Tpo libmount/src/$(DEPDIR)/libmount_la-tab_diff.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/tab_diff.c' object='libmount/src/libmount_la-tab_diff.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-tab_diff.lo `test -f 'libmount/src/tab_diff.c' || echo '$(srcdir)/'`libmount/src/tab_diff.c + +libmount/src/libmount_la-tab_parse.lo: libmount/src/tab_parse.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-tab_parse.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-tab_parse.Tpo -c -o libmount/src/libmount_la-tab_parse.lo `test -f 'libmount/src/tab_parse.c' || echo '$(srcdir)/'`libmount/src/tab_parse.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-tab_parse.Tpo libmount/src/$(DEPDIR)/libmount_la-tab_parse.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/tab_parse.c' object='libmount/src/libmount_la-tab_parse.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-tab_parse.lo `test -f 'libmount/src/tab_parse.c' || echo '$(srcdir)/'`libmount/src/tab_parse.c + +libmount/src/libmount_la-tab_update.lo: libmount/src/tab_update.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-tab_update.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-tab_update.Tpo -c -o libmount/src/libmount_la-tab_update.lo `test -f 'libmount/src/tab_update.c' || echo '$(srcdir)/'`libmount/src/tab_update.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-tab_update.Tpo libmount/src/$(DEPDIR)/libmount_la-tab_update.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/tab_update.c' object='libmount/src/libmount_la-tab_update.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-tab_update.lo `test -f 'libmount/src/tab_update.c' || echo '$(srcdir)/'`libmount/src/tab_update.c + +libmount/src/libmount_la-test.lo: libmount/src/test.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-test.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-test.Tpo -c -o libmount/src/libmount_la-test.lo `test -f 'libmount/src/test.c' || echo '$(srcdir)/'`libmount/src/test.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-test.Tpo libmount/src/$(DEPDIR)/libmount_la-test.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/test.c' object='libmount/src/libmount_la-test.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-test.lo `test -f 'libmount/src/test.c' || echo '$(srcdir)/'`libmount/src/test.c + +libmount/src/libmount_la-utils.lo: libmount/src/utils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-utils.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-utils.Tpo -c -o libmount/src/libmount_la-utils.lo `test -f 'libmount/src/utils.c' || echo '$(srcdir)/'`libmount/src/utils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-utils.Tpo libmount/src/$(DEPDIR)/libmount_la-utils.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/utils.c' object='libmount/src/libmount_la-utils.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-utils.lo `test -f 'libmount/src/utils.c' || echo '$(srcdir)/'`libmount/src/utils.c + +libmount/src/libmount_la-version.lo: libmount/src/version.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-version.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-version.Tpo -c -o libmount/src/libmount_la-version.lo `test -f 'libmount/src/version.c' || echo '$(srcdir)/'`libmount/src/version.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-version.Tpo libmount/src/$(DEPDIR)/libmount_la-version.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/version.c' object='libmount/src/libmount_la-version.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-version.lo `test -f 'libmount/src/version.c' || echo '$(srcdir)/'`libmount/src/version.c + +libmount/src/libmount_la-context.lo: libmount/src/context.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-context.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-context.Tpo -c -o libmount/src/libmount_la-context.lo `test -f 'libmount/src/context.c' || echo '$(srcdir)/'`libmount/src/context.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-context.Tpo libmount/src/$(DEPDIR)/libmount_la-context.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/context.c' object='libmount/src/libmount_la-context.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-context.lo `test -f 'libmount/src/context.c' || echo '$(srcdir)/'`libmount/src/context.c + +libmount/src/libmount_la-context_loopdev.lo: libmount/src/context_loopdev.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-context_loopdev.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-context_loopdev.Tpo -c -o libmount/src/libmount_la-context_loopdev.lo `test -f 'libmount/src/context_loopdev.c' || echo '$(srcdir)/'`libmount/src/context_loopdev.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-context_loopdev.Tpo libmount/src/$(DEPDIR)/libmount_la-context_loopdev.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/context_loopdev.c' object='libmount/src/libmount_la-context_loopdev.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-context_loopdev.lo `test -f 'libmount/src/context_loopdev.c' || echo '$(srcdir)/'`libmount/src/context_loopdev.c + +libmount/src/libmount_la-context_mount.lo: libmount/src/context_mount.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-context_mount.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-context_mount.Tpo -c -o libmount/src/libmount_la-context_mount.lo `test -f 'libmount/src/context_mount.c' || echo '$(srcdir)/'`libmount/src/context_mount.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-context_mount.Tpo libmount/src/$(DEPDIR)/libmount_la-context_mount.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/context_mount.c' object='libmount/src/libmount_la-context_mount.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-context_mount.lo `test -f 'libmount/src/context_mount.c' || echo '$(srcdir)/'`libmount/src/context_mount.c + +libmount/src/libmount_la-context_umount.lo: libmount/src/context_umount.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-context_umount.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-context_umount.Tpo -c -o libmount/src/libmount_la-context_umount.lo `test -f 'libmount/src/context_umount.c' || echo '$(srcdir)/'`libmount/src/context_umount.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-context_umount.Tpo libmount/src/$(DEPDIR)/libmount_la-context_umount.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/context_umount.c' object='libmount/src/libmount_la-context_umount.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-context_umount.lo `test -f 'libmount/src/context_umount.c' || echo '$(srcdir)/'`libmount/src/context_umount.c + +libmount/src/libmount_la-monitor.lo: libmount/src/monitor.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-monitor.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-monitor.Tpo -c -o libmount/src/libmount_la-monitor.lo `test -f 'libmount/src/monitor.c' || echo '$(srcdir)/'`libmount/src/monitor.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-monitor.Tpo libmount/src/$(DEPDIR)/libmount_la-monitor.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/monitor.c' object='libmount/src/libmount_la-monitor.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-monitor.lo `test -f 'libmount/src/monitor.c' || echo '$(srcdir)/'`libmount/src/monitor.c + +libmount/src/libmount_la-btrfs.lo: libmount/src/btrfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -MT libmount/src/libmount_la-btrfs.lo -MD -MP -MF libmount/src/$(DEPDIR)/libmount_la-btrfs.Tpo -c -o libmount/src/libmount_la-btrfs.lo `test -f 'libmount/src/btrfs.c' || echo '$(srcdir)/'`libmount/src/btrfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/libmount_la-btrfs.Tpo libmount/src/$(DEPDIR)/libmount_la-btrfs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/btrfs.c' object='libmount/src/libmount_la-btrfs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmount_la_CFLAGS) $(CFLAGS) -c -o libmount/src/libmount_la-btrfs.lo `test -f 'libmount/src/btrfs.c' || echo '$(srcdir)/'`libmount/src/btrfs.c + +libsmartcols/src/libsmartcols_la-iter.lo: libsmartcols/src/iter.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsmartcols_la_CFLAGS) $(CFLAGS) -MT libsmartcols/src/libsmartcols_la-iter.lo -MD -MP -MF libsmartcols/src/$(DEPDIR)/libsmartcols_la-iter.Tpo -c -o libsmartcols/src/libsmartcols_la-iter.lo `test -f 'libsmartcols/src/iter.c' || echo '$(srcdir)/'`libsmartcols/src/iter.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/src/$(DEPDIR)/libsmartcols_la-iter.Tpo libsmartcols/src/$(DEPDIR)/libsmartcols_la-iter.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/src/iter.c' object='libsmartcols/src/libsmartcols_la-iter.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsmartcols_la_CFLAGS) $(CFLAGS) -c -o libsmartcols/src/libsmartcols_la-iter.lo `test -f 'libsmartcols/src/iter.c' || echo '$(srcdir)/'`libsmartcols/src/iter.c + +libsmartcols/src/libsmartcols_la-symbols.lo: libsmartcols/src/symbols.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsmartcols_la_CFLAGS) $(CFLAGS) -MT libsmartcols/src/libsmartcols_la-symbols.lo -MD -MP -MF libsmartcols/src/$(DEPDIR)/libsmartcols_la-symbols.Tpo -c -o libsmartcols/src/libsmartcols_la-symbols.lo `test -f 'libsmartcols/src/symbols.c' || echo '$(srcdir)/'`libsmartcols/src/symbols.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/src/$(DEPDIR)/libsmartcols_la-symbols.Tpo libsmartcols/src/$(DEPDIR)/libsmartcols_la-symbols.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/src/symbols.c' object='libsmartcols/src/libsmartcols_la-symbols.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsmartcols_la_CFLAGS) $(CFLAGS) -c -o libsmartcols/src/libsmartcols_la-symbols.lo `test -f 'libsmartcols/src/symbols.c' || echo '$(srcdir)/'`libsmartcols/src/symbols.c + +libsmartcols/src/libsmartcols_la-cell.lo: libsmartcols/src/cell.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsmartcols_la_CFLAGS) $(CFLAGS) -MT libsmartcols/src/libsmartcols_la-cell.lo -MD -MP -MF libsmartcols/src/$(DEPDIR)/libsmartcols_la-cell.Tpo -c -o libsmartcols/src/libsmartcols_la-cell.lo `test -f 'libsmartcols/src/cell.c' || echo '$(srcdir)/'`libsmartcols/src/cell.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/src/$(DEPDIR)/libsmartcols_la-cell.Tpo libsmartcols/src/$(DEPDIR)/libsmartcols_la-cell.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/src/cell.c' object='libsmartcols/src/libsmartcols_la-cell.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsmartcols_la_CFLAGS) $(CFLAGS) -c -o libsmartcols/src/libsmartcols_la-cell.lo `test -f 'libsmartcols/src/cell.c' || echo '$(srcdir)/'`libsmartcols/src/cell.c + +libsmartcols/src/libsmartcols_la-column.lo: libsmartcols/src/column.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsmartcols_la_CFLAGS) $(CFLAGS) -MT libsmartcols/src/libsmartcols_la-column.lo -MD -MP -MF libsmartcols/src/$(DEPDIR)/libsmartcols_la-column.Tpo -c -o libsmartcols/src/libsmartcols_la-column.lo `test -f 'libsmartcols/src/column.c' || echo '$(srcdir)/'`libsmartcols/src/column.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/src/$(DEPDIR)/libsmartcols_la-column.Tpo libsmartcols/src/$(DEPDIR)/libsmartcols_la-column.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/src/column.c' object='libsmartcols/src/libsmartcols_la-column.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsmartcols_la_CFLAGS) $(CFLAGS) -c -o libsmartcols/src/libsmartcols_la-column.lo `test -f 'libsmartcols/src/column.c' || echo '$(srcdir)/'`libsmartcols/src/column.c + +libsmartcols/src/libsmartcols_la-line.lo: libsmartcols/src/line.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsmartcols_la_CFLAGS) $(CFLAGS) -MT libsmartcols/src/libsmartcols_la-line.lo -MD -MP -MF libsmartcols/src/$(DEPDIR)/libsmartcols_la-line.Tpo -c -o libsmartcols/src/libsmartcols_la-line.lo `test -f 'libsmartcols/src/line.c' || echo '$(srcdir)/'`libsmartcols/src/line.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/src/$(DEPDIR)/libsmartcols_la-line.Tpo libsmartcols/src/$(DEPDIR)/libsmartcols_la-line.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/src/line.c' object='libsmartcols/src/libsmartcols_la-line.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsmartcols_la_CFLAGS) $(CFLAGS) -c -o libsmartcols/src/libsmartcols_la-line.lo `test -f 'libsmartcols/src/line.c' || echo '$(srcdir)/'`libsmartcols/src/line.c + +libsmartcols/src/libsmartcols_la-table.lo: libsmartcols/src/table.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsmartcols_la_CFLAGS) $(CFLAGS) -MT libsmartcols/src/libsmartcols_la-table.lo -MD -MP -MF libsmartcols/src/$(DEPDIR)/libsmartcols_la-table.Tpo -c -o libsmartcols/src/libsmartcols_la-table.lo `test -f 'libsmartcols/src/table.c' || echo '$(srcdir)/'`libsmartcols/src/table.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/src/$(DEPDIR)/libsmartcols_la-table.Tpo libsmartcols/src/$(DEPDIR)/libsmartcols_la-table.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/src/table.c' object='libsmartcols/src/libsmartcols_la-table.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsmartcols_la_CFLAGS) $(CFLAGS) -c -o libsmartcols/src/libsmartcols_la-table.lo `test -f 'libsmartcols/src/table.c' || echo '$(srcdir)/'`libsmartcols/src/table.c + +libsmartcols/src/libsmartcols_la-table_print.lo: libsmartcols/src/table_print.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsmartcols_la_CFLAGS) $(CFLAGS) -MT libsmartcols/src/libsmartcols_la-table_print.lo -MD -MP -MF libsmartcols/src/$(DEPDIR)/libsmartcols_la-table_print.Tpo -c -o libsmartcols/src/libsmartcols_la-table_print.lo `test -f 'libsmartcols/src/table_print.c' || echo '$(srcdir)/'`libsmartcols/src/table_print.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/src/$(DEPDIR)/libsmartcols_la-table_print.Tpo libsmartcols/src/$(DEPDIR)/libsmartcols_la-table_print.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/src/table_print.c' object='libsmartcols/src/libsmartcols_la-table_print.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsmartcols_la_CFLAGS) $(CFLAGS) -c -o libsmartcols/src/libsmartcols_la-table_print.lo `test -f 'libsmartcols/src/table_print.c' || echo '$(srcdir)/'`libsmartcols/src/table_print.c + +libsmartcols/src/libsmartcols_la-version.lo: libsmartcols/src/version.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsmartcols_la_CFLAGS) $(CFLAGS) -MT libsmartcols/src/libsmartcols_la-version.lo -MD -MP -MF libsmartcols/src/$(DEPDIR)/libsmartcols_la-version.Tpo -c -o libsmartcols/src/libsmartcols_la-version.lo `test -f 'libsmartcols/src/version.c' || echo '$(srcdir)/'`libsmartcols/src/version.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/src/$(DEPDIR)/libsmartcols_la-version.Tpo libsmartcols/src/$(DEPDIR)/libsmartcols_la-version.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/src/version.c' object='libsmartcols/src/libsmartcols_la-version.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsmartcols_la_CFLAGS) $(CFLAGS) -c -o libsmartcols/src/libsmartcols_la-version.lo `test -f 'libsmartcols/src/version.c' || echo '$(srcdir)/'`libsmartcols/src/version.c + +libsmartcols/src/libsmartcols_la-init.lo: libsmartcols/src/init.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsmartcols_la_CFLAGS) $(CFLAGS) -MT libsmartcols/src/libsmartcols_la-init.lo -MD -MP -MF libsmartcols/src/$(DEPDIR)/libsmartcols_la-init.Tpo -c -o libsmartcols/src/libsmartcols_la-init.lo `test -f 'libsmartcols/src/init.c' || echo '$(srcdir)/'`libsmartcols/src/init.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/src/$(DEPDIR)/libsmartcols_la-init.Tpo libsmartcols/src/$(DEPDIR)/libsmartcols_la-init.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/src/init.c' object='libsmartcols/src/libsmartcols_la-init.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsmartcols_la_CFLAGS) $(CFLAGS) -c -o libsmartcols/src/libsmartcols_la-init.lo `test -f 'libsmartcols/src/init.c' || echo '$(srcdir)/'`libsmartcols/src/init.c + +lib/libtcolors_la-colors.lo: lib/colors.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcolors_la_CFLAGS) $(CFLAGS) -MT lib/libtcolors_la-colors.lo -MD -MP -MF lib/$(DEPDIR)/libtcolors_la-colors.Tpo -c -o lib/libtcolors_la-colors.lo `test -f 'lib/colors.c' || echo '$(srcdir)/'`lib/colors.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libtcolors_la-colors.Tpo lib/$(DEPDIR)/libtcolors_la-colors.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/colors.c' object='lib/libtcolors_la-colors.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcolors_la_CFLAGS) $(CFLAGS) -c -o lib/libtcolors_la-colors.lo `test -f 'lib/colors.c' || echo '$(srcdir)/'`lib/colors.c + +lib/libtcolors_la-color-names.lo: lib/color-names.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcolors_la_CFLAGS) $(CFLAGS) -MT lib/libtcolors_la-color-names.lo -MD -MP -MF lib/$(DEPDIR)/libtcolors_la-color-names.Tpo -c -o lib/libtcolors_la-color-names.lo `test -f 'lib/color-names.c' || echo '$(srcdir)/'`lib/color-names.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libtcolors_la-color-names.Tpo lib/$(DEPDIR)/libtcolors_la-color-names.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/color-names.c' object='lib/libtcolors_la-color-names.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcolors_la_CFLAGS) $(CFLAGS) -c -o lib/libtcolors_la-color-names.lo `test -f 'lib/color-names.c' || echo '$(srcdir)/'`lib/color-names.c + +libuuid/src/libuuid_la-clear.lo: libuuid/src/clear.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -MT libuuid/src/libuuid_la-clear.lo -MD -MP -MF libuuid/src/$(DEPDIR)/libuuid_la-clear.Tpo -c -o libuuid/src/libuuid_la-clear.lo `test -f 'libuuid/src/clear.c' || echo '$(srcdir)/'`libuuid/src/clear.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libuuid/src/$(DEPDIR)/libuuid_la-clear.Tpo libuuid/src/$(DEPDIR)/libuuid_la-clear.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libuuid/src/clear.c' object='libuuid/src/libuuid_la-clear.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -c -o libuuid/src/libuuid_la-clear.lo `test -f 'libuuid/src/clear.c' || echo '$(srcdir)/'`libuuid/src/clear.c + +libuuid/src/libuuid_la-compare.lo: libuuid/src/compare.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -MT libuuid/src/libuuid_la-compare.lo -MD -MP -MF libuuid/src/$(DEPDIR)/libuuid_la-compare.Tpo -c -o libuuid/src/libuuid_la-compare.lo `test -f 'libuuid/src/compare.c' || echo '$(srcdir)/'`libuuid/src/compare.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libuuid/src/$(DEPDIR)/libuuid_la-compare.Tpo libuuid/src/$(DEPDIR)/libuuid_la-compare.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libuuid/src/compare.c' object='libuuid/src/libuuid_la-compare.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -c -o libuuid/src/libuuid_la-compare.lo `test -f 'libuuid/src/compare.c' || echo '$(srcdir)/'`libuuid/src/compare.c + +libuuid/src/libuuid_la-copy.lo: libuuid/src/copy.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -MT libuuid/src/libuuid_la-copy.lo -MD -MP -MF libuuid/src/$(DEPDIR)/libuuid_la-copy.Tpo -c -o libuuid/src/libuuid_la-copy.lo `test -f 'libuuid/src/copy.c' || echo '$(srcdir)/'`libuuid/src/copy.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libuuid/src/$(DEPDIR)/libuuid_la-copy.Tpo libuuid/src/$(DEPDIR)/libuuid_la-copy.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libuuid/src/copy.c' object='libuuid/src/libuuid_la-copy.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -c -o libuuid/src/libuuid_la-copy.lo `test -f 'libuuid/src/copy.c' || echo '$(srcdir)/'`libuuid/src/copy.c + +libuuid/src/libuuid_la-gen_uuid.lo: libuuid/src/gen_uuid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -MT libuuid/src/libuuid_la-gen_uuid.lo -MD -MP -MF libuuid/src/$(DEPDIR)/libuuid_la-gen_uuid.Tpo -c -o libuuid/src/libuuid_la-gen_uuid.lo `test -f 'libuuid/src/gen_uuid.c' || echo '$(srcdir)/'`libuuid/src/gen_uuid.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libuuid/src/$(DEPDIR)/libuuid_la-gen_uuid.Tpo libuuid/src/$(DEPDIR)/libuuid_la-gen_uuid.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libuuid/src/gen_uuid.c' object='libuuid/src/libuuid_la-gen_uuid.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -c -o libuuid/src/libuuid_la-gen_uuid.lo `test -f 'libuuid/src/gen_uuid.c' || echo '$(srcdir)/'`libuuid/src/gen_uuid.c + +libuuid/src/libuuid_la-isnull.lo: libuuid/src/isnull.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -MT libuuid/src/libuuid_la-isnull.lo -MD -MP -MF libuuid/src/$(DEPDIR)/libuuid_la-isnull.Tpo -c -o libuuid/src/libuuid_la-isnull.lo `test -f 'libuuid/src/isnull.c' || echo '$(srcdir)/'`libuuid/src/isnull.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libuuid/src/$(DEPDIR)/libuuid_la-isnull.Tpo libuuid/src/$(DEPDIR)/libuuid_la-isnull.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libuuid/src/isnull.c' object='libuuid/src/libuuid_la-isnull.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -c -o libuuid/src/libuuid_la-isnull.lo `test -f 'libuuid/src/isnull.c' || echo '$(srcdir)/'`libuuid/src/isnull.c + +libuuid/src/libuuid_la-pack.lo: libuuid/src/pack.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -MT libuuid/src/libuuid_la-pack.lo -MD -MP -MF libuuid/src/$(DEPDIR)/libuuid_la-pack.Tpo -c -o libuuid/src/libuuid_la-pack.lo `test -f 'libuuid/src/pack.c' || echo '$(srcdir)/'`libuuid/src/pack.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libuuid/src/$(DEPDIR)/libuuid_la-pack.Tpo libuuid/src/$(DEPDIR)/libuuid_la-pack.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libuuid/src/pack.c' object='libuuid/src/libuuid_la-pack.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -c -o libuuid/src/libuuid_la-pack.lo `test -f 'libuuid/src/pack.c' || echo '$(srcdir)/'`libuuid/src/pack.c + +libuuid/src/libuuid_la-parse.lo: libuuid/src/parse.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -MT libuuid/src/libuuid_la-parse.lo -MD -MP -MF libuuid/src/$(DEPDIR)/libuuid_la-parse.Tpo -c -o libuuid/src/libuuid_la-parse.lo `test -f 'libuuid/src/parse.c' || echo '$(srcdir)/'`libuuid/src/parse.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libuuid/src/$(DEPDIR)/libuuid_la-parse.Tpo libuuid/src/$(DEPDIR)/libuuid_la-parse.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libuuid/src/parse.c' object='libuuid/src/libuuid_la-parse.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -c -o libuuid/src/libuuid_la-parse.lo `test -f 'libuuid/src/parse.c' || echo '$(srcdir)/'`libuuid/src/parse.c + +libuuid/src/libuuid_la-unpack.lo: libuuid/src/unpack.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -MT libuuid/src/libuuid_la-unpack.lo -MD -MP -MF libuuid/src/$(DEPDIR)/libuuid_la-unpack.Tpo -c -o libuuid/src/libuuid_la-unpack.lo `test -f 'libuuid/src/unpack.c' || echo '$(srcdir)/'`libuuid/src/unpack.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libuuid/src/$(DEPDIR)/libuuid_la-unpack.Tpo libuuid/src/$(DEPDIR)/libuuid_la-unpack.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libuuid/src/unpack.c' object='libuuid/src/libuuid_la-unpack.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -c -o libuuid/src/libuuid_la-unpack.lo `test -f 'libuuid/src/unpack.c' || echo '$(srcdir)/'`libuuid/src/unpack.c + +libuuid/src/libuuid_la-unparse.lo: libuuid/src/unparse.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -MT libuuid/src/libuuid_la-unparse.lo -MD -MP -MF libuuid/src/$(DEPDIR)/libuuid_la-unparse.Tpo -c -o libuuid/src/libuuid_la-unparse.lo `test -f 'libuuid/src/unparse.c' || echo '$(srcdir)/'`libuuid/src/unparse.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libuuid/src/$(DEPDIR)/libuuid_la-unparse.Tpo libuuid/src/$(DEPDIR)/libuuid_la-unparse.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libuuid/src/unparse.c' object='libuuid/src/libuuid_la-unparse.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -c -o libuuid/src/libuuid_la-unparse.lo `test -f 'libuuid/src/unparse.c' || echo '$(srcdir)/'`libuuid/src/unparse.c + +libuuid/src/libuuid_la-uuid_time.lo: libuuid/src/uuid_time.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -MT libuuid/src/libuuid_la-uuid_time.lo -MD -MP -MF libuuid/src/$(DEPDIR)/libuuid_la-uuid_time.Tpo -c -o libuuid/src/libuuid_la-uuid_time.lo `test -f 'libuuid/src/uuid_time.c' || echo '$(srcdir)/'`libuuid/src/uuid_time.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libuuid/src/$(DEPDIR)/libuuid_la-uuid_time.Tpo libuuid/src/$(DEPDIR)/libuuid_la-uuid_time.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libuuid/src/uuid_time.c' object='libuuid/src/libuuid_la-uuid_time.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -c -o libuuid/src/libuuid_la-uuid_time.lo `test -f 'libuuid/src/uuid_time.c' || echo '$(srcdir)/'`libuuid/src/uuid_time.c + +libuuid/src/libuuid_la-predefined.lo: libuuid/src/predefined.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -MT libuuid/src/libuuid_la-predefined.lo -MD -MP -MF libuuid/src/$(DEPDIR)/libuuid_la-predefined.Tpo -c -o libuuid/src/libuuid_la-predefined.lo `test -f 'libuuid/src/predefined.c' || echo '$(srcdir)/'`libuuid/src/predefined.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libuuid/src/$(DEPDIR)/libuuid_la-predefined.Tpo libuuid/src/$(DEPDIR)/libuuid_la-predefined.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libuuid/src/predefined.c' object='libuuid/src/libuuid_la-predefined.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -c -o libuuid/src/libuuid_la-predefined.lo `test -f 'libuuid/src/predefined.c' || echo '$(srcdir)/'`libuuid/src/predefined.c + +lib/libuuid_la-randutils.lo: lib/randutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -MT lib/libuuid_la-randutils.lo -MD -MP -MF lib/$(DEPDIR)/libuuid_la-randutils.Tpo -c -o lib/libuuid_la-randutils.lo `test -f 'lib/randutils.c' || echo '$(srcdir)/'`lib/randutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libuuid_la-randutils.Tpo lib/$(DEPDIR)/libuuid_la-randutils.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/randutils.c' object='lib/libuuid_la-randutils.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -c -o lib/libuuid_la-randutils.lo `test -f 'lib/randutils.c' || echo '$(srcdir)/'`lib/randutils.c + +lib/libuuid_la-md5.lo: lib/md5.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -MT lib/libuuid_la-md5.lo -MD -MP -MF lib/$(DEPDIR)/libuuid_la-md5.Tpo -c -o lib/libuuid_la-md5.lo `test -f 'lib/md5.c' || echo '$(srcdir)/'`lib/md5.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libuuid_la-md5.Tpo lib/$(DEPDIR)/libuuid_la-md5.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/md5.c' object='lib/libuuid_la-md5.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -c -o lib/libuuid_la-md5.lo `test -f 'lib/md5.c' || echo '$(srcdir)/'`lib/md5.c + +lib/libuuid_la-sha1.lo: lib/sha1.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -MT lib/libuuid_la-sha1.lo -MD -MP -MF lib/$(DEPDIR)/libuuid_la-sha1.Tpo -c -o lib/libuuid_la-sha1.lo `test -f 'lib/sha1.c' || echo '$(srcdir)/'`lib/sha1.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libuuid_la-sha1.Tpo lib/$(DEPDIR)/libuuid_la-sha1.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sha1.c' object='lib/libuuid_la-sha1.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libuuid_la_CFLAGS) $(CFLAGS) -c -o lib/libuuid_la-sha1.lo `test -f 'lib/sha1.c' || echo '$(srcdir)/'`lib/sha1.c + +libmount/python/pylibmount_la-pylibmount.lo: libmount/python/pylibmount.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pylibmount_la_CFLAGS) $(CFLAGS) -MT libmount/python/pylibmount_la-pylibmount.lo -MD -MP -MF libmount/python/$(DEPDIR)/pylibmount_la-pylibmount.Tpo -c -o libmount/python/pylibmount_la-pylibmount.lo `test -f 'libmount/python/pylibmount.c' || echo '$(srcdir)/'`libmount/python/pylibmount.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/python/$(DEPDIR)/pylibmount_la-pylibmount.Tpo libmount/python/$(DEPDIR)/pylibmount_la-pylibmount.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/python/pylibmount.c' object='libmount/python/pylibmount_la-pylibmount.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pylibmount_la_CFLAGS) $(CFLAGS) -c -o libmount/python/pylibmount_la-pylibmount.lo `test -f 'libmount/python/pylibmount.c' || echo '$(srcdir)/'`libmount/python/pylibmount.c + +libmount/python/pylibmount_la-fs.lo: libmount/python/fs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pylibmount_la_CFLAGS) $(CFLAGS) -MT libmount/python/pylibmount_la-fs.lo -MD -MP -MF libmount/python/$(DEPDIR)/pylibmount_la-fs.Tpo -c -o libmount/python/pylibmount_la-fs.lo `test -f 'libmount/python/fs.c' || echo '$(srcdir)/'`libmount/python/fs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/python/$(DEPDIR)/pylibmount_la-fs.Tpo libmount/python/$(DEPDIR)/pylibmount_la-fs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/python/fs.c' object='libmount/python/pylibmount_la-fs.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pylibmount_la_CFLAGS) $(CFLAGS) -c -o libmount/python/pylibmount_la-fs.lo `test -f 'libmount/python/fs.c' || echo '$(srcdir)/'`libmount/python/fs.c + +libmount/python/pylibmount_la-tab.lo: libmount/python/tab.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pylibmount_la_CFLAGS) $(CFLAGS) -MT libmount/python/pylibmount_la-tab.lo -MD -MP -MF libmount/python/$(DEPDIR)/pylibmount_la-tab.Tpo -c -o libmount/python/pylibmount_la-tab.lo `test -f 'libmount/python/tab.c' || echo '$(srcdir)/'`libmount/python/tab.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/python/$(DEPDIR)/pylibmount_la-tab.Tpo libmount/python/$(DEPDIR)/pylibmount_la-tab.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/python/tab.c' object='libmount/python/pylibmount_la-tab.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pylibmount_la_CFLAGS) $(CFLAGS) -c -o libmount/python/pylibmount_la-tab.lo `test -f 'libmount/python/tab.c' || echo '$(srcdir)/'`libmount/python/tab.c + +libmount/python/pylibmount_la-context.lo: libmount/python/context.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pylibmount_la_CFLAGS) $(CFLAGS) -MT libmount/python/pylibmount_la-context.lo -MD -MP -MF libmount/python/$(DEPDIR)/pylibmount_la-context.Tpo -c -o libmount/python/pylibmount_la-context.lo `test -f 'libmount/python/context.c' || echo '$(srcdir)/'`libmount/python/context.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/python/$(DEPDIR)/pylibmount_la-context.Tpo libmount/python/$(DEPDIR)/pylibmount_la-context.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/python/context.c' object='libmount/python/pylibmount_la-context.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pylibmount_la_CFLAGS) $(CFLAGS) -c -o libmount/python/pylibmount_la-context.lo `test -f 'libmount/python/context.c' || echo '$(srcdir)/'`libmount/python/context.c + +misc-utils/blkid-blkid.o: misc-utils/blkid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(blkid_CFLAGS) $(CFLAGS) -MT misc-utils/blkid-blkid.o -MD -MP -MF misc-utils/$(DEPDIR)/blkid-blkid.Tpo -c -o misc-utils/blkid-blkid.o `test -f 'misc-utils/blkid.c' || echo '$(srcdir)/'`misc-utils/blkid.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/blkid-blkid.Tpo misc-utils/$(DEPDIR)/blkid-blkid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/blkid.c' object='misc-utils/blkid-blkid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(blkid_CFLAGS) $(CFLAGS) -c -o misc-utils/blkid-blkid.o `test -f 'misc-utils/blkid.c' || echo '$(srcdir)/'`misc-utils/blkid.c + +misc-utils/blkid-blkid.obj: misc-utils/blkid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(blkid_CFLAGS) $(CFLAGS) -MT misc-utils/blkid-blkid.obj -MD -MP -MF misc-utils/$(DEPDIR)/blkid-blkid.Tpo -c -o misc-utils/blkid-blkid.obj `if test -f 'misc-utils/blkid.c'; then $(CYGPATH_W) 'misc-utils/blkid.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/blkid.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/blkid-blkid.Tpo misc-utils/$(DEPDIR)/blkid-blkid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/blkid.c' object='misc-utils/blkid-blkid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(blkid_CFLAGS) $(CFLAGS) -c -o misc-utils/blkid-blkid.obj `if test -f 'misc-utils/blkid.c'; then $(CYGPATH_W) 'misc-utils/blkid.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/blkid.c'; fi` + +misc-utils/blkid_static-blkid.o: misc-utils/blkid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(blkid_static_CFLAGS) $(CFLAGS) -MT misc-utils/blkid_static-blkid.o -MD -MP -MF misc-utils/$(DEPDIR)/blkid_static-blkid.Tpo -c -o misc-utils/blkid_static-blkid.o `test -f 'misc-utils/blkid.c' || echo '$(srcdir)/'`misc-utils/blkid.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/blkid_static-blkid.Tpo misc-utils/$(DEPDIR)/blkid_static-blkid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/blkid.c' object='misc-utils/blkid_static-blkid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(blkid_static_CFLAGS) $(CFLAGS) -c -o misc-utils/blkid_static-blkid.o `test -f 'misc-utils/blkid.c' || echo '$(srcdir)/'`misc-utils/blkid.c + +misc-utils/blkid_static-blkid.obj: misc-utils/blkid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(blkid_static_CFLAGS) $(CFLAGS) -MT misc-utils/blkid_static-blkid.obj -MD -MP -MF misc-utils/$(DEPDIR)/blkid_static-blkid.Tpo -c -o misc-utils/blkid_static-blkid.obj `if test -f 'misc-utils/blkid.c'; then $(CYGPATH_W) 'misc-utils/blkid.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/blkid.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/blkid_static-blkid.Tpo misc-utils/$(DEPDIR)/blkid_static-blkid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/blkid.c' object='misc-utils/blkid_static-blkid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(blkid_static_CFLAGS) $(CFLAGS) -c -o misc-utils/blkid_static-blkid.obj `if test -f 'misc-utils/blkid.c'; then $(CYGPATH_W) 'misc-utils/blkid.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/blkid.c'; fi` + +misc-utils/cal-cal.o: misc-utils/cal.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cal_CFLAGS) $(CFLAGS) -MT misc-utils/cal-cal.o -MD -MP -MF misc-utils/$(DEPDIR)/cal-cal.Tpo -c -o misc-utils/cal-cal.o `test -f 'misc-utils/cal.c' || echo '$(srcdir)/'`misc-utils/cal.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/cal-cal.Tpo misc-utils/$(DEPDIR)/cal-cal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/cal.c' object='misc-utils/cal-cal.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cal_CFLAGS) $(CFLAGS) -c -o misc-utils/cal-cal.o `test -f 'misc-utils/cal.c' || echo '$(srcdir)/'`misc-utils/cal.c + +misc-utils/cal-cal.obj: misc-utils/cal.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cal_CFLAGS) $(CFLAGS) -MT misc-utils/cal-cal.obj -MD -MP -MF misc-utils/$(DEPDIR)/cal-cal.Tpo -c -o misc-utils/cal-cal.obj `if test -f 'misc-utils/cal.c'; then $(CYGPATH_W) 'misc-utils/cal.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/cal.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/cal-cal.Tpo misc-utils/$(DEPDIR)/cal-cal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/cal.c' object='misc-utils/cal-cal.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cal_CFLAGS) $(CFLAGS) -c -o misc-utils/cal-cal.obj `if test -f 'misc-utils/cal.c'; then $(CYGPATH_W) 'misc-utils/cal.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/cal.c'; fi` + +disk-utils/cfdisk-cfdisk.o: disk-utils/cfdisk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cfdisk_CFLAGS) $(CFLAGS) -MT disk-utils/cfdisk-cfdisk.o -MD -MP -MF disk-utils/$(DEPDIR)/cfdisk-cfdisk.Tpo -c -o disk-utils/cfdisk-cfdisk.o `test -f 'disk-utils/cfdisk.c' || echo '$(srcdir)/'`disk-utils/cfdisk.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/cfdisk-cfdisk.Tpo disk-utils/$(DEPDIR)/cfdisk-cfdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/cfdisk.c' object='disk-utils/cfdisk-cfdisk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cfdisk_CFLAGS) $(CFLAGS) -c -o disk-utils/cfdisk-cfdisk.o `test -f 'disk-utils/cfdisk.c' || echo '$(srcdir)/'`disk-utils/cfdisk.c + +disk-utils/cfdisk-cfdisk.obj: disk-utils/cfdisk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cfdisk_CFLAGS) $(CFLAGS) -MT disk-utils/cfdisk-cfdisk.obj -MD -MP -MF disk-utils/$(DEPDIR)/cfdisk-cfdisk.Tpo -c -o disk-utils/cfdisk-cfdisk.obj `if test -f 'disk-utils/cfdisk.c'; then $(CYGPATH_W) 'disk-utils/cfdisk.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/cfdisk.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/cfdisk-cfdisk.Tpo disk-utils/$(DEPDIR)/cfdisk-cfdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/cfdisk.c' object='disk-utils/cfdisk-cfdisk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cfdisk_CFLAGS) $(CFLAGS) -c -o disk-utils/cfdisk-cfdisk.obj `if test -f 'disk-utils/cfdisk.c'; then $(CYGPATH_W) 'disk-utils/cfdisk.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/cfdisk.c'; fi` + +login-utils/chfn-chfn.o: login-utils/chfn.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -MT login-utils/chfn-chfn.o -MD -MP -MF login-utils/$(DEPDIR)/chfn-chfn.Tpo -c -o login-utils/chfn-chfn.o `test -f 'login-utils/chfn.c' || echo '$(srcdir)/'`login-utils/chfn.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chfn-chfn.Tpo login-utils/$(DEPDIR)/chfn-chfn.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/chfn.c' object='login-utils/chfn-chfn.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -c -o login-utils/chfn-chfn.o `test -f 'login-utils/chfn.c' || echo '$(srcdir)/'`login-utils/chfn.c + +login-utils/chfn-chfn.obj: login-utils/chfn.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -MT login-utils/chfn-chfn.obj -MD -MP -MF login-utils/$(DEPDIR)/chfn-chfn.Tpo -c -o login-utils/chfn-chfn.obj `if test -f 'login-utils/chfn.c'; then $(CYGPATH_W) 'login-utils/chfn.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/chfn.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chfn-chfn.Tpo login-utils/$(DEPDIR)/chfn-chfn.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/chfn.c' object='login-utils/chfn-chfn.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -c -o login-utils/chfn-chfn.obj `if test -f 'login-utils/chfn.c'; then $(CYGPATH_W) 'login-utils/chfn.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/chfn.c'; fi` + +login-utils/chfn-logindefs.o: login-utils/logindefs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -MT login-utils/chfn-logindefs.o -MD -MP -MF login-utils/$(DEPDIR)/chfn-logindefs.Tpo -c -o login-utils/chfn-logindefs.o `test -f 'login-utils/logindefs.c' || echo '$(srcdir)/'`login-utils/logindefs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chfn-logindefs.Tpo login-utils/$(DEPDIR)/chfn-logindefs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/logindefs.c' object='login-utils/chfn-logindefs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -c -o login-utils/chfn-logindefs.o `test -f 'login-utils/logindefs.c' || echo '$(srcdir)/'`login-utils/logindefs.c + +login-utils/chfn-logindefs.obj: login-utils/logindefs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -MT login-utils/chfn-logindefs.obj -MD -MP -MF login-utils/$(DEPDIR)/chfn-logindefs.Tpo -c -o login-utils/chfn-logindefs.obj `if test -f 'login-utils/logindefs.c'; then $(CYGPATH_W) 'login-utils/logindefs.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/logindefs.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chfn-logindefs.Tpo login-utils/$(DEPDIR)/chfn-logindefs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/logindefs.c' object='login-utils/chfn-logindefs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -c -o login-utils/chfn-logindefs.obj `if test -f 'login-utils/logindefs.c'; then $(CYGPATH_W) 'login-utils/logindefs.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/logindefs.c'; fi` + +login-utils/chfn-ch-common.o: login-utils/ch-common.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -MT login-utils/chfn-ch-common.o -MD -MP -MF login-utils/$(DEPDIR)/chfn-ch-common.Tpo -c -o login-utils/chfn-ch-common.o `test -f 'login-utils/ch-common.c' || echo '$(srcdir)/'`login-utils/ch-common.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chfn-ch-common.Tpo login-utils/$(DEPDIR)/chfn-ch-common.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/ch-common.c' object='login-utils/chfn-ch-common.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -c -o login-utils/chfn-ch-common.o `test -f 'login-utils/ch-common.c' || echo '$(srcdir)/'`login-utils/ch-common.c + +login-utils/chfn-ch-common.obj: login-utils/ch-common.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -MT login-utils/chfn-ch-common.obj -MD -MP -MF login-utils/$(DEPDIR)/chfn-ch-common.Tpo -c -o login-utils/chfn-ch-common.obj `if test -f 'login-utils/ch-common.c'; then $(CYGPATH_W) 'login-utils/ch-common.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/ch-common.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chfn-ch-common.Tpo login-utils/$(DEPDIR)/chfn-ch-common.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/ch-common.c' object='login-utils/chfn-ch-common.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -c -o login-utils/chfn-ch-common.obj `if test -f 'login-utils/ch-common.c'; then $(CYGPATH_W) 'login-utils/ch-common.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/ch-common.c'; fi` + +login-utils/chfn-auth.o: login-utils/auth.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -MT login-utils/chfn-auth.o -MD -MP -MF login-utils/$(DEPDIR)/chfn-auth.Tpo -c -o login-utils/chfn-auth.o `test -f 'login-utils/auth.c' || echo '$(srcdir)/'`login-utils/auth.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chfn-auth.Tpo login-utils/$(DEPDIR)/chfn-auth.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/auth.c' object='login-utils/chfn-auth.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -c -o login-utils/chfn-auth.o `test -f 'login-utils/auth.c' || echo '$(srcdir)/'`login-utils/auth.c + +login-utils/chfn-auth.obj: login-utils/auth.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -MT login-utils/chfn-auth.obj -MD -MP -MF login-utils/$(DEPDIR)/chfn-auth.Tpo -c -o login-utils/chfn-auth.obj `if test -f 'login-utils/auth.c'; then $(CYGPATH_W) 'login-utils/auth.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/auth.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chfn-auth.Tpo login-utils/$(DEPDIR)/chfn-auth.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/auth.c' object='login-utils/chfn-auth.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -c -o login-utils/chfn-auth.obj `if test -f 'login-utils/auth.c'; then $(CYGPATH_W) 'login-utils/auth.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/auth.c'; fi` + +login-utils/chfn-libuser.o: login-utils/libuser.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -MT login-utils/chfn-libuser.o -MD -MP -MF login-utils/$(DEPDIR)/chfn-libuser.Tpo -c -o login-utils/chfn-libuser.o `test -f 'login-utils/libuser.c' || echo '$(srcdir)/'`login-utils/libuser.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chfn-libuser.Tpo login-utils/$(DEPDIR)/chfn-libuser.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/libuser.c' object='login-utils/chfn-libuser.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -c -o login-utils/chfn-libuser.o `test -f 'login-utils/libuser.c' || echo '$(srcdir)/'`login-utils/libuser.c + +login-utils/chfn-libuser.obj: login-utils/libuser.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -MT login-utils/chfn-libuser.obj -MD -MP -MF login-utils/$(DEPDIR)/chfn-libuser.Tpo -c -o login-utils/chfn-libuser.obj `if test -f 'login-utils/libuser.c'; then $(CYGPATH_W) 'login-utils/libuser.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/libuser.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chfn-libuser.Tpo login-utils/$(DEPDIR)/chfn-libuser.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/libuser.c' object='login-utils/chfn-libuser.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -c -o login-utils/chfn-libuser.obj `if test -f 'login-utils/libuser.c'; then $(CYGPATH_W) 'login-utils/libuser.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/libuser.c'; fi` + +login-utils/chfn-islocal.o: login-utils/islocal.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -MT login-utils/chfn-islocal.o -MD -MP -MF login-utils/$(DEPDIR)/chfn-islocal.Tpo -c -o login-utils/chfn-islocal.o `test -f 'login-utils/islocal.c' || echo '$(srcdir)/'`login-utils/islocal.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chfn-islocal.Tpo login-utils/$(DEPDIR)/chfn-islocal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/islocal.c' object='login-utils/chfn-islocal.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -c -o login-utils/chfn-islocal.o `test -f 'login-utils/islocal.c' || echo '$(srcdir)/'`login-utils/islocal.c + +login-utils/chfn-islocal.obj: login-utils/islocal.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -MT login-utils/chfn-islocal.obj -MD -MP -MF login-utils/$(DEPDIR)/chfn-islocal.Tpo -c -o login-utils/chfn-islocal.obj `if test -f 'login-utils/islocal.c'; then $(CYGPATH_W) 'login-utils/islocal.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/islocal.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chfn-islocal.Tpo login-utils/$(DEPDIR)/chfn-islocal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/islocal.c' object='login-utils/chfn-islocal.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -c -o login-utils/chfn-islocal.obj `if test -f 'login-utils/islocal.c'; then $(CYGPATH_W) 'login-utils/islocal.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/islocal.c'; fi` + +login-utils/chfn-setpwnam.o: login-utils/setpwnam.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -MT login-utils/chfn-setpwnam.o -MD -MP -MF login-utils/$(DEPDIR)/chfn-setpwnam.Tpo -c -o login-utils/chfn-setpwnam.o `test -f 'login-utils/setpwnam.c' || echo '$(srcdir)/'`login-utils/setpwnam.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chfn-setpwnam.Tpo login-utils/$(DEPDIR)/chfn-setpwnam.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/setpwnam.c' object='login-utils/chfn-setpwnam.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -c -o login-utils/chfn-setpwnam.o `test -f 'login-utils/setpwnam.c' || echo '$(srcdir)/'`login-utils/setpwnam.c + +login-utils/chfn-setpwnam.obj: login-utils/setpwnam.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -MT login-utils/chfn-setpwnam.obj -MD -MP -MF login-utils/$(DEPDIR)/chfn-setpwnam.Tpo -c -o login-utils/chfn-setpwnam.obj `if test -f 'login-utils/setpwnam.c'; then $(CYGPATH_W) 'login-utils/setpwnam.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/setpwnam.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chfn-setpwnam.Tpo login-utils/$(DEPDIR)/chfn-setpwnam.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/setpwnam.c' object='login-utils/chfn-setpwnam.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -c -o login-utils/chfn-setpwnam.obj `if test -f 'login-utils/setpwnam.c'; then $(CYGPATH_W) 'login-utils/setpwnam.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/setpwnam.c'; fi` + +login-utils/chfn-selinux_utils.o: login-utils/selinux_utils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -MT login-utils/chfn-selinux_utils.o -MD -MP -MF login-utils/$(DEPDIR)/chfn-selinux_utils.Tpo -c -o login-utils/chfn-selinux_utils.o `test -f 'login-utils/selinux_utils.c' || echo '$(srcdir)/'`login-utils/selinux_utils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chfn-selinux_utils.Tpo login-utils/$(DEPDIR)/chfn-selinux_utils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/selinux_utils.c' object='login-utils/chfn-selinux_utils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -c -o login-utils/chfn-selinux_utils.o `test -f 'login-utils/selinux_utils.c' || echo '$(srcdir)/'`login-utils/selinux_utils.c + +login-utils/chfn-selinux_utils.obj: login-utils/selinux_utils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -MT login-utils/chfn-selinux_utils.obj -MD -MP -MF login-utils/$(DEPDIR)/chfn-selinux_utils.Tpo -c -o login-utils/chfn-selinux_utils.obj `if test -f 'login-utils/selinux_utils.c'; then $(CYGPATH_W) 'login-utils/selinux_utils.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/selinux_utils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chfn-selinux_utils.Tpo login-utils/$(DEPDIR)/chfn-selinux_utils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/selinux_utils.c' object='login-utils/chfn-selinux_utils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chfn_CFLAGS) $(CFLAGS) -c -o login-utils/chfn-selinux_utils.obj `if test -f 'login-utils/selinux_utils.c'; then $(CYGPATH_W) 'login-utils/selinux_utils.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/selinux_utils.c'; fi` + +login-utils/chsh-chsh.o: login-utils/chsh.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -MT login-utils/chsh-chsh.o -MD -MP -MF login-utils/$(DEPDIR)/chsh-chsh.Tpo -c -o login-utils/chsh-chsh.o `test -f 'login-utils/chsh.c' || echo '$(srcdir)/'`login-utils/chsh.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chsh-chsh.Tpo login-utils/$(DEPDIR)/chsh-chsh.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/chsh.c' object='login-utils/chsh-chsh.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -c -o login-utils/chsh-chsh.o `test -f 'login-utils/chsh.c' || echo '$(srcdir)/'`login-utils/chsh.c + +login-utils/chsh-chsh.obj: login-utils/chsh.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -MT login-utils/chsh-chsh.obj -MD -MP -MF login-utils/$(DEPDIR)/chsh-chsh.Tpo -c -o login-utils/chsh-chsh.obj `if test -f 'login-utils/chsh.c'; then $(CYGPATH_W) 'login-utils/chsh.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/chsh.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chsh-chsh.Tpo login-utils/$(DEPDIR)/chsh-chsh.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/chsh.c' object='login-utils/chsh-chsh.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -c -o login-utils/chsh-chsh.obj `if test -f 'login-utils/chsh.c'; then $(CYGPATH_W) 'login-utils/chsh.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/chsh.c'; fi` + +login-utils/chsh-ch-common.o: login-utils/ch-common.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -MT login-utils/chsh-ch-common.o -MD -MP -MF login-utils/$(DEPDIR)/chsh-ch-common.Tpo -c -o login-utils/chsh-ch-common.o `test -f 'login-utils/ch-common.c' || echo '$(srcdir)/'`login-utils/ch-common.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chsh-ch-common.Tpo login-utils/$(DEPDIR)/chsh-ch-common.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/ch-common.c' object='login-utils/chsh-ch-common.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -c -o login-utils/chsh-ch-common.o `test -f 'login-utils/ch-common.c' || echo '$(srcdir)/'`login-utils/ch-common.c + +login-utils/chsh-ch-common.obj: login-utils/ch-common.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -MT login-utils/chsh-ch-common.obj -MD -MP -MF login-utils/$(DEPDIR)/chsh-ch-common.Tpo -c -o login-utils/chsh-ch-common.obj `if test -f 'login-utils/ch-common.c'; then $(CYGPATH_W) 'login-utils/ch-common.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/ch-common.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chsh-ch-common.Tpo login-utils/$(DEPDIR)/chsh-ch-common.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/ch-common.c' object='login-utils/chsh-ch-common.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -c -o login-utils/chsh-ch-common.obj `if test -f 'login-utils/ch-common.c'; then $(CYGPATH_W) 'login-utils/ch-common.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/ch-common.c'; fi` + +login-utils/chsh-auth.o: login-utils/auth.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -MT login-utils/chsh-auth.o -MD -MP -MF login-utils/$(DEPDIR)/chsh-auth.Tpo -c -o login-utils/chsh-auth.o `test -f 'login-utils/auth.c' || echo '$(srcdir)/'`login-utils/auth.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chsh-auth.Tpo login-utils/$(DEPDIR)/chsh-auth.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/auth.c' object='login-utils/chsh-auth.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -c -o login-utils/chsh-auth.o `test -f 'login-utils/auth.c' || echo '$(srcdir)/'`login-utils/auth.c + +login-utils/chsh-auth.obj: login-utils/auth.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -MT login-utils/chsh-auth.obj -MD -MP -MF login-utils/$(DEPDIR)/chsh-auth.Tpo -c -o login-utils/chsh-auth.obj `if test -f 'login-utils/auth.c'; then $(CYGPATH_W) 'login-utils/auth.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/auth.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chsh-auth.Tpo login-utils/$(DEPDIR)/chsh-auth.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/auth.c' object='login-utils/chsh-auth.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -c -o login-utils/chsh-auth.obj `if test -f 'login-utils/auth.c'; then $(CYGPATH_W) 'login-utils/auth.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/auth.c'; fi` + +login-utils/chsh-libuser.o: login-utils/libuser.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -MT login-utils/chsh-libuser.o -MD -MP -MF login-utils/$(DEPDIR)/chsh-libuser.Tpo -c -o login-utils/chsh-libuser.o `test -f 'login-utils/libuser.c' || echo '$(srcdir)/'`login-utils/libuser.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chsh-libuser.Tpo login-utils/$(DEPDIR)/chsh-libuser.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/libuser.c' object='login-utils/chsh-libuser.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -c -o login-utils/chsh-libuser.o `test -f 'login-utils/libuser.c' || echo '$(srcdir)/'`login-utils/libuser.c + +login-utils/chsh-libuser.obj: login-utils/libuser.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -MT login-utils/chsh-libuser.obj -MD -MP -MF login-utils/$(DEPDIR)/chsh-libuser.Tpo -c -o login-utils/chsh-libuser.obj `if test -f 'login-utils/libuser.c'; then $(CYGPATH_W) 'login-utils/libuser.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/libuser.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chsh-libuser.Tpo login-utils/$(DEPDIR)/chsh-libuser.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/libuser.c' object='login-utils/chsh-libuser.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -c -o login-utils/chsh-libuser.obj `if test -f 'login-utils/libuser.c'; then $(CYGPATH_W) 'login-utils/libuser.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/libuser.c'; fi` + +login-utils/chsh-islocal.o: login-utils/islocal.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -MT login-utils/chsh-islocal.o -MD -MP -MF login-utils/$(DEPDIR)/chsh-islocal.Tpo -c -o login-utils/chsh-islocal.o `test -f 'login-utils/islocal.c' || echo '$(srcdir)/'`login-utils/islocal.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chsh-islocal.Tpo login-utils/$(DEPDIR)/chsh-islocal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/islocal.c' object='login-utils/chsh-islocal.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -c -o login-utils/chsh-islocal.o `test -f 'login-utils/islocal.c' || echo '$(srcdir)/'`login-utils/islocal.c + +login-utils/chsh-islocal.obj: login-utils/islocal.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -MT login-utils/chsh-islocal.obj -MD -MP -MF login-utils/$(DEPDIR)/chsh-islocal.Tpo -c -o login-utils/chsh-islocal.obj `if test -f 'login-utils/islocal.c'; then $(CYGPATH_W) 'login-utils/islocal.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/islocal.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chsh-islocal.Tpo login-utils/$(DEPDIR)/chsh-islocal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/islocal.c' object='login-utils/chsh-islocal.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -c -o login-utils/chsh-islocal.obj `if test -f 'login-utils/islocal.c'; then $(CYGPATH_W) 'login-utils/islocal.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/islocal.c'; fi` + +login-utils/chsh-setpwnam.o: login-utils/setpwnam.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -MT login-utils/chsh-setpwnam.o -MD -MP -MF login-utils/$(DEPDIR)/chsh-setpwnam.Tpo -c -o login-utils/chsh-setpwnam.o `test -f 'login-utils/setpwnam.c' || echo '$(srcdir)/'`login-utils/setpwnam.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chsh-setpwnam.Tpo login-utils/$(DEPDIR)/chsh-setpwnam.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/setpwnam.c' object='login-utils/chsh-setpwnam.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -c -o login-utils/chsh-setpwnam.o `test -f 'login-utils/setpwnam.c' || echo '$(srcdir)/'`login-utils/setpwnam.c + +login-utils/chsh-setpwnam.obj: login-utils/setpwnam.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -MT login-utils/chsh-setpwnam.obj -MD -MP -MF login-utils/$(DEPDIR)/chsh-setpwnam.Tpo -c -o login-utils/chsh-setpwnam.obj `if test -f 'login-utils/setpwnam.c'; then $(CYGPATH_W) 'login-utils/setpwnam.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/setpwnam.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chsh-setpwnam.Tpo login-utils/$(DEPDIR)/chsh-setpwnam.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/setpwnam.c' object='login-utils/chsh-setpwnam.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -c -o login-utils/chsh-setpwnam.obj `if test -f 'login-utils/setpwnam.c'; then $(CYGPATH_W) 'login-utils/setpwnam.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/setpwnam.c'; fi` + +login-utils/chsh-selinux_utils.o: login-utils/selinux_utils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -MT login-utils/chsh-selinux_utils.o -MD -MP -MF login-utils/$(DEPDIR)/chsh-selinux_utils.Tpo -c -o login-utils/chsh-selinux_utils.o `test -f 'login-utils/selinux_utils.c' || echo '$(srcdir)/'`login-utils/selinux_utils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chsh-selinux_utils.Tpo login-utils/$(DEPDIR)/chsh-selinux_utils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/selinux_utils.c' object='login-utils/chsh-selinux_utils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -c -o login-utils/chsh-selinux_utils.o `test -f 'login-utils/selinux_utils.c' || echo '$(srcdir)/'`login-utils/selinux_utils.c + +login-utils/chsh-selinux_utils.obj: login-utils/selinux_utils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -MT login-utils/chsh-selinux_utils.obj -MD -MP -MF login-utils/$(DEPDIR)/chsh-selinux_utils.Tpo -c -o login-utils/chsh-selinux_utils.obj `if test -f 'login-utils/selinux_utils.c'; then $(CYGPATH_W) 'login-utils/selinux_utils.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/selinux_utils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/chsh-selinux_utils.Tpo login-utils/$(DEPDIR)/chsh-selinux_utils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/selinux_utils.c' object='login-utils/chsh-selinux_utils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(chsh_CFLAGS) $(CFLAGS) -c -o login-utils/chsh-selinux_utils.obj `if test -f 'login-utils/selinux_utils.c'; then $(CYGPATH_W) 'login-utils/selinux_utils.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/selinux_utils.c'; fi` + +text-utils/column-column.o: text-utils/column.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(column_CFLAGS) $(CFLAGS) -MT text-utils/column-column.o -MD -MP -MF text-utils/$(DEPDIR)/column-column.Tpo -c -o text-utils/column-column.o `test -f 'text-utils/column.c' || echo '$(srcdir)/'`text-utils/column.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) text-utils/$(DEPDIR)/column-column.Tpo text-utils/$(DEPDIR)/column-column.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='text-utils/column.c' object='text-utils/column-column.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(column_CFLAGS) $(CFLAGS) -c -o text-utils/column-column.o `test -f 'text-utils/column.c' || echo '$(srcdir)/'`text-utils/column.c + +text-utils/column-column.obj: text-utils/column.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(column_CFLAGS) $(CFLAGS) -MT text-utils/column-column.obj -MD -MP -MF text-utils/$(DEPDIR)/column-column.Tpo -c -o text-utils/column-column.obj `if test -f 'text-utils/column.c'; then $(CYGPATH_W) 'text-utils/column.c'; else $(CYGPATH_W) '$(srcdir)/text-utils/column.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) text-utils/$(DEPDIR)/column-column.Tpo text-utils/$(DEPDIR)/column-column.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='text-utils/column.c' object='text-utils/column-column.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(column_CFLAGS) $(CFLAGS) -c -o text-utils/column-column.obj `if test -f 'text-utils/column.c'; then $(CYGPATH_W) 'text-utils/column.c'; else $(CYGPATH_W) '$(srcdir)/text-utils/column.c'; fi` + +sys-utils/dmesg-dmesg.o: sys-utils/dmesg.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dmesg_CFLAGS) $(CFLAGS) -MT sys-utils/dmesg-dmesg.o -MD -MP -MF sys-utils/$(DEPDIR)/dmesg-dmesg.Tpo -c -o sys-utils/dmesg-dmesg.o `test -f 'sys-utils/dmesg.c' || echo '$(srcdir)/'`sys-utils/dmesg.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/dmesg-dmesg.Tpo sys-utils/$(DEPDIR)/dmesg-dmesg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/dmesg.c' object='sys-utils/dmesg-dmesg.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dmesg_CFLAGS) $(CFLAGS) -c -o sys-utils/dmesg-dmesg.o `test -f 'sys-utils/dmesg.c' || echo '$(srcdir)/'`sys-utils/dmesg.c + +sys-utils/dmesg-dmesg.obj: sys-utils/dmesg.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dmesg_CFLAGS) $(CFLAGS) -MT sys-utils/dmesg-dmesg.obj -MD -MP -MF sys-utils/$(DEPDIR)/dmesg-dmesg.Tpo -c -o sys-utils/dmesg-dmesg.obj `if test -f 'sys-utils/dmesg.c'; then $(CYGPATH_W) 'sys-utils/dmesg.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/dmesg.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/dmesg-dmesg.Tpo sys-utils/$(DEPDIR)/dmesg-dmesg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/dmesg.c' object='sys-utils/dmesg-dmesg.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dmesg_CFLAGS) $(CFLAGS) -c -o sys-utils/dmesg-dmesg.obj `if test -f 'sys-utils/dmesg.c'; then $(CYGPATH_W) 'sys-utils/dmesg.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/dmesg.c'; fi` + +lib/dmesg-monotonic.o: lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dmesg_CFLAGS) $(CFLAGS) -MT lib/dmesg-monotonic.o -MD -MP -MF lib/$(DEPDIR)/dmesg-monotonic.Tpo -c -o lib/dmesg-monotonic.o `test -f 'lib/monotonic.c' || echo '$(srcdir)/'`lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/dmesg-monotonic.Tpo lib/$(DEPDIR)/dmesg-monotonic.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/monotonic.c' object='lib/dmesg-monotonic.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dmesg_CFLAGS) $(CFLAGS) -c -o lib/dmesg-monotonic.o `test -f 'lib/monotonic.c' || echo '$(srcdir)/'`lib/monotonic.c + +lib/dmesg-monotonic.obj: lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dmesg_CFLAGS) $(CFLAGS) -MT lib/dmesg-monotonic.obj -MD -MP -MF lib/$(DEPDIR)/dmesg-monotonic.Tpo -c -o lib/dmesg-monotonic.obj `if test -f 'lib/monotonic.c'; then $(CYGPATH_W) 'lib/monotonic.c'; else $(CYGPATH_W) '$(srcdir)/lib/monotonic.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/dmesg-monotonic.Tpo lib/$(DEPDIR)/dmesg-monotonic.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/monotonic.c' object='lib/dmesg-monotonic.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(dmesg_CFLAGS) $(CFLAGS) -c -o lib/dmesg-monotonic.obj `if test -f 'lib/monotonic.c'; then $(CYGPATH_W) 'lib/monotonic.c'; else $(CYGPATH_W) '$(srcdir)/lib/monotonic.c'; fi` + +sys-utils/eject-eject.o: sys-utils/eject.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(eject_CFLAGS) $(CFLAGS) -MT sys-utils/eject-eject.o -MD -MP -MF sys-utils/$(DEPDIR)/eject-eject.Tpo -c -o sys-utils/eject-eject.o `test -f 'sys-utils/eject.c' || echo '$(srcdir)/'`sys-utils/eject.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/eject-eject.Tpo sys-utils/$(DEPDIR)/eject-eject.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/eject.c' object='sys-utils/eject-eject.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(eject_CFLAGS) $(CFLAGS) -c -o sys-utils/eject-eject.o `test -f 'sys-utils/eject.c' || echo '$(srcdir)/'`sys-utils/eject.c + +sys-utils/eject-eject.obj: sys-utils/eject.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(eject_CFLAGS) $(CFLAGS) -MT sys-utils/eject-eject.obj -MD -MP -MF sys-utils/$(DEPDIR)/eject-eject.Tpo -c -o sys-utils/eject-eject.obj `if test -f 'sys-utils/eject.c'; then $(CYGPATH_W) 'sys-utils/eject.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/eject.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/eject-eject.Tpo sys-utils/$(DEPDIR)/eject-eject.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/eject.c' object='sys-utils/eject-eject.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(eject_CFLAGS) $(CFLAGS) -c -o sys-utils/eject-eject.obj `if test -f 'sys-utils/eject.c'; then $(CYGPATH_W) 'sys-utils/eject.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/eject.c'; fi` + +lib/eject-monotonic.o: lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(eject_CFLAGS) $(CFLAGS) -MT lib/eject-monotonic.o -MD -MP -MF lib/$(DEPDIR)/eject-monotonic.Tpo -c -o lib/eject-monotonic.o `test -f 'lib/monotonic.c' || echo '$(srcdir)/'`lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/eject-monotonic.Tpo lib/$(DEPDIR)/eject-monotonic.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/monotonic.c' object='lib/eject-monotonic.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(eject_CFLAGS) $(CFLAGS) -c -o lib/eject-monotonic.o `test -f 'lib/monotonic.c' || echo '$(srcdir)/'`lib/monotonic.c + +lib/eject-monotonic.obj: lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(eject_CFLAGS) $(CFLAGS) -MT lib/eject-monotonic.obj -MD -MP -MF lib/$(DEPDIR)/eject-monotonic.Tpo -c -o lib/eject-monotonic.obj `if test -f 'lib/monotonic.c'; then $(CYGPATH_W) 'lib/monotonic.c'; else $(CYGPATH_W) '$(srcdir)/lib/monotonic.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/eject-monotonic.Tpo lib/$(DEPDIR)/eject-monotonic.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/monotonic.c' object='lib/eject-monotonic.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(eject_CFLAGS) $(CFLAGS) -c -o lib/eject-monotonic.obj `if test -f 'lib/monotonic.c'; then $(CYGPATH_W) 'lib/monotonic.c'; else $(CYGPATH_W) '$(srcdir)/lib/monotonic.c'; fi` + +disk-utils/fdisk-fdisk.o: disk-utils/fdisk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT disk-utils/fdisk-fdisk.o -MD -MP -MF disk-utils/$(DEPDIR)/fdisk-fdisk.Tpo -c -o disk-utils/fdisk-fdisk.o `test -f 'disk-utils/fdisk.c' || echo '$(srcdir)/'`disk-utils/fdisk.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/fdisk-fdisk.Tpo disk-utils/$(DEPDIR)/fdisk-fdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/fdisk.c' object='disk-utils/fdisk-fdisk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o disk-utils/fdisk-fdisk.o `test -f 'disk-utils/fdisk.c' || echo '$(srcdir)/'`disk-utils/fdisk.c + +disk-utils/fdisk-fdisk.obj: disk-utils/fdisk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT disk-utils/fdisk-fdisk.obj -MD -MP -MF disk-utils/$(DEPDIR)/fdisk-fdisk.Tpo -c -o disk-utils/fdisk-fdisk.obj `if test -f 'disk-utils/fdisk.c'; then $(CYGPATH_W) 'disk-utils/fdisk.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/fdisk.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/fdisk-fdisk.Tpo disk-utils/$(DEPDIR)/fdisk-fdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/fdisk.c' object='disk-utils/fdisk-fdisk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o disk-utils/fdisk-fdisk.obj `if test -f 'disk-utils/fdisk.c'; then $(CYGPATH_W) 'disk-utils/fdisk.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/fdisk.c'; fi` + +disk-utils/fdisk-fdisk-menu.o: disk-utils/fdisk-menu.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT disk-utils/fdisk-fdisk-menu.o -MD -MP -MF disk-utils/$(DEPDIR)/fdisk-fdisk-menu.Tpo -c -o disk-utils/fdisk-fdisk-menu.o `test -f 'disk-utils/fdisk-menu.c' || echo '$(srcdir)/'`disk-utils/fdisk-menu.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/fdisk-fdisk-menu.Tpo disk-utils/$(DEPDIR)/fdisk-fdisk-menu.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/fdisk-menu.c' object='disk-utils/fdisk-fdisk-menu.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o disk-utils/fdisk-fdisk-menu.o `test -f 'disk-utils/fdisk-menu.c' || echo '$(srcdir)/'`disk-utils/fdisk-menu.c + +disk-utils/fdisk-fdisk-menu.obj: disk-utils/fdisk-menu.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT disk-utils/fdisk-fdisk-menu.obj -MD -MP -MF disk-utils/$(DEPDIR)/fdisk-fdisk-menu.Tpo -c -o disk-utils/fdisk-fdisk-menu.obj `if test -f 'disk-utils/fdisk-menu.c'; then $(CYGPATH_W) 'disk-utils/fdisk-menu.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/fdisk-menu.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/fdisk-fdisk-menu.Tpo disk-utils/$(DEPDIR)/fdisk-fdisk-menu.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/fdisk-menu.c' object='disk-utils/fdisk-fdisk-menu.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o disk-utils/fdisk-fdisk-menu.obj `if test -f 'disk-utils/fdisk-menu.c'; then $(CYGPATH_W) 'disk-utils/fdisk-menu.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/fdisk-menu.c'; fi` + +disk-utils/fdisk-fdisk-list.o: disk-utils/fdisk-list.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT disk-utils/fdisk-fdisk-list.o -MD -MP -MF disk-utils/$(DEPDIR)/fdisk-fdisk-list.Tpo -c -o disk-utils/fdisk-fdisk-list.o `test -f 'disk-utils/fdisk-list.c' || echo '$(srcdir)/'`disk-utils/fdisk-list.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/fdisk-fdisk-list.Tpo disk-utils/$(DEPDIR)/fdisk-fdisk-list.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/fdisk-list.c' object='disk-utils/fdisk-fdisk-list.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o disk-utils/fdisk-fdisk-list.o `test -f 'disk-utils/fdisk-list.c' || echo '$(srcdir)/'`disk-utils/fdisk-list.c + +disk-utils/fdisk-fdisk-list.obj: disk-utils/fdisk-list.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT disk-utils/fdisk-fdisk-list.obj -MD -MP -MF disk-utils/$(DEPDIR)/fdisk-fdisk-list.Tpo -c -o disk-utils/fdisk-fdisk-list.obj `if test -f 'disk-utils/fdisk-list.c'; then $(CYGPATH_W) 'disk-utils/fdisk-list.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/fdisk-list.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/fdisk-fdisk-list.Tpo disk-utils/$(DEPDIR)/fdisk-fdisk-list.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/fdisk-list.c' object='disk-utils/fdisk-fdisk-list.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o disk-utils/fdisk-fdisk-list.obj `if test -f 'disk-utils/fdisk-list.c'; then $(CYGPATH_W) 'disk-utils/fdisk-list.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/fdisk-list.c'; fi` + +disk-utils/fdisk_static-fdisk.o: disk-utils/fdisk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT disk-utils/fdisk_static-fdisk.o -MD -MP -MF disk-utils/$(DEPDIR)/fdisk_static-fdisk.Tpo -c -o disk-utils/fdisk_static-fdisk.o `test -f 'disk-utils/fdisk.c' || echo '$(srcdir)/'`disk-utils/fdisk.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/fdisk_static-fdisk.Tpo disk-utils/$(DEPDIR)/fdisk_static-fdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/fdisk.c' object='disk-utils/fdisk_static-fdisk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o disk-utils/fdisk_static-fdisk.o `test -f 'disk-utils/fdisk.c' || echo '$(srcdir)/'`disk-utils/fdisk.c + +disk-utils/fdisk_static-fdisk.obj: disk-utils/fdisk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT disk-utils/fdisk_static-fdisk.obj -MD -MP -MF disk-utils/$(DEPDIR)/fdisk_static-fdisk.Tpo -c -o disk-utils/fdisk_static-fdisk.obj `if test -f 'disk-utils/fdisk.c'; then $(CYGPATH_W) 'disk-utils/fdisk.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/fdisk.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/fdisk_static-fdisk.Tpo disk-utils/$(DEPDIR)/fdisk_static-fdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/fdisk.c' object='disk-utils/fdisk_static-fdisk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o disk-utils/fdisk_static-fdisk.obj `if test -f 'disk-utils/fdisk.c'; then $(CYGPATH_W) 'disk-utils/fdisk.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/fdisk.c'; fi` + +disk-utils/fdisk_static-fdisk-menu.o: disk-utils/fdisk-menu.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT disk-utils/fdisk_static-fdisk-menu.o -MD -MP -MF disk-utils/$(DEPDIR)/fdisk_static-fdisk-menu.Tpo -c -o disk-utils/fdisk_static-fdisk-menu.o `test -f 'disk-utils/fdisk-menu.c' || echo '$(srcdir)/'`disk-utils/fdisk-menu.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/fdisk_static-fdisk-menu.Tpo disk-utils/$(DEPDIR)/fdisk_static-fdisk-menu.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/fdisk-menu.c' object='disk-utils/fdisk_static-fdisk-menu.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o disk-utils/fdisk_static-fdisk-menu.o `test -f 'disk-utils/fdisk-menu.c' || echo '$(srcdir)/'`disk-utils/fdisk-menu.c + +disk-utils/fdisk_static-fdisk-menu.obj: disk-utils/fdisk-menu.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT disk-utils/fdisk_static-fdisk-menu.obj -MD -MP -MF disk-utils/$(DEPDIR)/fdisk_static-fdisk-menu.Tpo -c -o disk-utils/fdisk_static-fdisk-menu.obj `if test -f 'disk-utils/fdisk-menu.c'; then $(CYGPATH_W) 'disk-utils/fdisk-menu.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/fdisk-menu.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/fdisk_static-fdisk-menu.Tpo disk-utils/$(DEPDIR)/fdisk_static-fdisk-menu.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/fdisk-menu.c' object='disk-utils/fdisk_static-fdisk-menu.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o disk-utils/fdisk_static-fdisk-menu.obj `if test -f 'disk-utils/fdisk-menu.c'; then $(CYGPATH_W) 'disk-utils/fdisk-menu.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/fdisk-menu.c'; fi` + +disk-utils/fdisk_static-fdisk-list.o: disk-utils/fdisk-list.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT disk-utils/fdisk_static-fdisk-list.o -MD -MP -MF disk-utils/$(DEPDIR)/fdisk_static-fdisk-list.Tpo -c -o disk-utils/fdisk_static-fdisk-list.o `test -f 'disk-utils/fdisk-list.c' || echo '$(srcdir)/'`disk-utils/fdisk-list.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/fdisk_static-fdisk-list.Tpo disk-utils/$(DEPDIR)/fdisk_static-fdisk-list.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/fdisk-list.c' object='disk-utils/fdisk_static-fdisk-list.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o disk-utils/fdisk_static-fdisk-list.o `test -f 'disk-utils/fdisk-list.c' || echo '$(srcdir)/'`disk-utils/fdisk-list.c + +disk-utils/fdisk_static-fdisk-list.obj: disk-utils/fdisk-list.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT disk-utils/fdisk_static-fdisk-list.obj -MD -MP -MF disk-utils/$(DEPDIR)/fdisk_static-fdisk-list.Tpo -c -o disk-utils/fdisk_static-fdisk-list.obj `if test -f 'disk-utils/fdisk-list.c'; then $(CYGPATH_W) 'disk-utils/fdisk-list.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/fdisk-list.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/fdisk_static-fdisk-list.Tpo disk-utils/$(DEPDIR)/fdisk_static-fdisk-list.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/fdisk-list.c' object='disk-utils/fdisk_static-fdisk-list.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o disk-utils/fdisk_static-fdisk-list.obj `if test -f 'disk-utils/fdisk-list.c'; then $(CYGPATH_W) 'disk-utils/fdisk-list.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/fdisk-list.c'; fi` + +misc-utils/fincore-fincore.o: misc-utils/fincore.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fincore_CFLAGS) $(CFLAGS) -MT misc-utils/fincore-fincore.o -MD -MP -MF misc-utils/$(DEPDIR)/fincore-fincore.Tpo -c -o misc-utils/fincore-fincore.o `test -f 'misc-utils/fincore.c' || echo '$(srcdir)/'`misc-utils/fincore.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/fincore-fincore.Tpo misc-utils/$(DEPDIR)/fincore-fincore.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/fincore.c' object='misc-utils/fincore-fincore.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fincore_CFLAGS) $(CFLAGS) -c -o misc-utils/fincore-fincore.o `test -f 'misc-utils/fincore.c' || echo '$(srcdir)/'`misc-utils/fincore.c + +misc-utils/fincore-fincore.obj: misc-utils/fincore.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fincore_CFLAGS) $(CFLAGS) -MT misc-utils/fincore-fincore.obj -MD -MP -MF misc-utils/$(DEPDIR)/fincore-fincore.Tpo -c -o misc-utils/fincore-fincore.obj `if test -f 'misc-utils/fincore.c'; then $(CYGPATH_W) 'misc-utils/fincore.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/fincore.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/fincore-fincore.Tpo misc-utils/$(DEPDIR)/fincore-fincore.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/fincore.c' object='misc-utils/fincore-fincore.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fincore_CFLAGS) $(CFLAGS) -c -o misc-utils/fincore-fincore.obj `if test -f 'misc-utils/fincore.c'; then $(CYGPATH_W) 'misc-utils/fincore.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/fincore.c'; fi` + +misc-utils/findfs-findfs.o: misc-utils/findfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(findfs_CFLAGS) $(CFLAGS) -MT misc-utils/findfs-findfs.o -MD -MP -MF misc-utils/$(DEPDIR)/findfs-findfs.Tpo -c -o misc-utils/findfs-findfs.o `test -f 'misc-utils/findfs.c' || echo '$(srcdir)/'`misc-utils/findfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/findfs-findfs.Tpo misc-utils/$(DEPDIR)/findfs-findfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/findfs.c' object='misc-utils/findfs-findfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(findfs_CFLAGS) $(CFLAGS) -c -o misc-utils/findfs-findfs.o `test -f 'misc-utils/findfs.c' || echo '$(srcdir)/'`misc-utils/findfs.c + +misc-utils/findfs-findfs.obj: misc-utils/findfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(findfs_CFLAGS) $(CFLAGS) -MT misc-utils/findfs-findfs.obj -MD -MP -MF misc-utils/$(DEPDIR)/findfs-findfs.Tpo -c -o misc-utils/findfs-findfs.obj `if test -f 'misc-utils/findfs.c'; then $(CYGPATH_W) 'misc-utils/findfs.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/findfs.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/findfs-findfs.Tpo misc-utils/$(DEPDIR)/findfs-findfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/findfs.c' object='misc-utils/findfs-findfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(findfs_CFLAGS) $(CFLAGS) -c -o misc-utils/findfs-findfs.obj `if test -f 'misc-utils/findfs.c'; then $(CYGPATH_W) 'misc-utils/findfs.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/findfs.c'; fi` + +misc-utils/findmnt-findmnt.o: misc-utils/findmnt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(findmnt_CFLAGS) $(CFLAGS) -MT misc-utils/findmnt-findmnt.o -MD -MP -MF misc-utils/$(DEPDIR)/findmnt-findmnt.Tpo -c -o misc-utils/findmnt-findmnt.o `test -f 'misc-utils/findmnt.c' || echo '$(srcdir)/'`misc-utils/findmnt.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/findmnt-findmnt.Tpo misc-utils/$(DEPDIR)/findmnt-findmnt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/findmnt.c' object='misc-utils/findmnt-findmnt.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(findmnt_CFLAGS) $(CFLAGS) -c -o misc-utils/findmnt-findmnt.o `test -f 'misc-utils/findmnt.c' || echo '$(srcdir)/'`misc-utils/findmnt.c + +misc-utils/findmnt-findmnt.obj: misc-utils/findmnt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(findmnt_CFLAGS) $(CFLAGS) -MT misc-utils/findmnt-findmnt.obj -MD -MP -MF misc-utils/$(DEPDIR)/findmnt-findmnt.Tpo -c -o misc-utils/findmnt-findmnt.obj `if test -f 'misc-utils/findmnt.c'; then $(CYGPATH_W) 'misc-utils/findmnt.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/findmnt.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/findmnt-findmnt.Tpo misc-utils/$(DEPDIR)/findmnt-findmnt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/findmnt.c' object='misc-utils/findmnt-findmnt.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(findmnt_CFLAGS) $(CFLAGS) -c -o misc-utils/findmnt-findmnt.obj `if test -f 'misc-utils/findmnt.c'; then $(CYGPATH_W) 'misc-utils/findmnt.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/findmnt.c'; fi` + +misc-utils/findmnt-findmnt-verify.o: misc-utils/findmnt-verify.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(findmnt_CFLAGS) $(CFLAGS) -MT misc-utils/findmnt-findmnt-verify.o -MD -MP -MF misc-utils/$(DEPDIR)/findmnt-findmnt-verify.Tpo -c -o misc-utils/findmnt-findmnt-verify.o `test -f 'misc-utils/findmnt-verify.c' || echo '$(srcdir)/'`misc-utils/findmnt-verify.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/findmnt-findmnt-verify.Tpo misc-utils/$(DEPDIR)/findmnt-findmnt-verify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/findmnt-verify.c' object='misc-utils/findmnt-findmnt-verify.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(findmnt_CFLAGS) $(CFLAGS) -c -o misc-utils/findmnt-findmnt-verify.o `test -f 'misc-utils/findmnt-verify.c' || echo '$(srcdir)/'`misc-utils/findmnt-verify.c + +misc-utils/findmnt-findmnt-verify.obj: misc-utils/findmnt-verify.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(findmnt_CFLAGS) $(CFLAGS) -MT misc-utils/findmnt-findmnt-verify.obj -MD -MP -MF misc-utils/$(DEPDIR)/findmnt-findmnt-verify.Tpo -c -o misc-utils/findmnt-findmnt-verify.obj `if test -f 'misc-utils/findmnt-verify.c'; then $(CYGPATH_W) 'misc-utils/findmnt-verify.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/findmnt-verify.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/findmnt-findmnt-verify.Tpo misc-utils/$(DEPDIR)/findmnt-findmnt-verify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/findmnt-verify.c' object='misc-utils/findmnt-findmnt-verify.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(findmnt_CFLAGS) $(CFLAGS) -c -o misc-utils/findmnt-findmnt-verify.obj `if test -f 'misc-utils/findmnt-verify.c'; then $(CYGPATH_W) 'misc-utils/findmnt-verify.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/findmnt-verify.c'; fi` + +disk-utils/fsck-fsck.o: disk-utils/fsck.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fsck_CFLAGS) $(CFLAGS) -MT disk-utils/fsck-fsck.o -MD -MP -MF disk-utils/$(DEPDIR)/fsck-fsck.Tpo -c -o disk-utils/fsck-fsck.o `test -f 'disk-utils/fsck.c' || echo '$(srcdir)/'`disk-utils/fsck.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/fsck-fsck.Tpo disk-utils/$(DEPDIR)/fsck-fsck.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/fsck.c' object='disk-utils/fsck-fsck.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fsck_CFLAGS) $(CFLAGS) -c -o disk-utils/fsck-fsck.o `test -f 'disk-utils/fsck.c' || echo '$(srcdir)/'`disk-utils/fsck.c + +disk-utils/fsck-fsck.obj: disk-utils/fsck.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fsck_CFLAGS) $(CFLAGS) -MT disk-utils/fsck-fsck.obj -MD -MP -MF disk-utils/$(DEPDIR)/fsck-fsck.Tpo -c -o disk-utils/fsck-fsck.obj `if test -f 'disk-utils/fsck.c'; then $(CYGPATH_W) 'disk-utils/fsck.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/fsck.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/fsck-fsck.Tpo disk-utils/$(DEPDIR)/fsck-fsck.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/fsck.c' object='disk-utils/fsck-fsck.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fsck_CFLAGS) $(CFLAGS) -c -o disk-utils/fsck-fsck.obj `if test -f 'disk-utils/fsck.c'; then $(CYGPATH_W) 'disk-utils/fsck.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/fsck.c'; fi` + +lib/fsck-monotonic.o: lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fsck_CFLAGS) $(CFLAGS) -MT lib/fsck-monotonic.o -MD -MP -MF lib/$(DEPDIR)/fsck-monotonic.Tpo -c -o lib/fsck-monotonic.o `test -f 'lib/monotonic.c' || echo '$(srcdir)/'`lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/fsck-monotonic.Tpo lib/$(DEPDIR)/fsck-monotonic.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/monotonic.c' object='lib/fsck-monotonic.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fsck_CFLAGS) $(CFLAGS) -c -o lib/fsck-monotonic.o `test -f 'lib/monotonic.c' || echo '$(srcdir)/'`lib/monotonic.c + +lib/fsck-monotonic.obj: lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fsck_CFLAGS) $(CFLAGS) -MT lib/fsck-monotonic.obj -MD -MP -MF lib/$(DEPDIR)/fsck-monotonic.Tpo -c -o lib/fsck-monotonic.obj `if test -f 'lib/monotonic.c'; then $(CYGPATH_W) 'lib/monotonic.c'; else $(CYGPATH_W) '$(srcdir)/lib/monotonic.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/fsck-monotonic.Tpo lib/$(DEPDIR)/fsck-monotonic.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/monotonic.c' object='lib/fsck-monotonic.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fsck_CFLAGS) $(CFLAGS) -c -o lib/fsck-monotonic.obj `if test -f 'lib/monotonic.c'; then $(CYGPATH_W) 'lib/monotonic.c'; else $(CYGPATH_W) '$(srcdir)/lib/monotonic.c'; fi` + +sys-utils/fstrim-fstrim.o: sys-utils/fstrim.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fstrim_CFLAGS) $(CFLAGS) -MT sys-utils/fstrim-fstrim.o -MD -MP -MF sys-utils/$(DEPDIR)/fstrim-fstrim.Tpo -c -o sys-utils/fstrim-fstrim.o `test -f 'sys-utils/fstrim.c' || echo '$(srcdir)/'`sys-utils/fstrim.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/fstrim-fstrim.Tpo sys-utils/$(DEPDIR)/fstrim-fstrim.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/fstrim.c' object='sys-utils/fstrim-fstrim.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fstrim_CFLAGS) $(CFLAGS) -c -o sys-utils/fstrim-fstrim.o `test -f 'sys-utils/fstrim.c' || echo '$(srcdir)/'`sys-utils/fstrim.c + +sys-utils/fstrim-fstrim.obj: sys-utils/fstrim.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fstrim_CFLAGS) $(CFLAGS) -MT sys-utils/fstrim-fstrim.obj -MD -MP -MF sys-utils/$(DEPDIR)/fstrim-fstrim.Tpo -c -o sys-utils/fstrim-fstrim.obj `if test -f 'sys-utils/fstrim.c'; then $(CYGPATH_W) 'sys-utils/fstrim.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/fstrim.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/fstrim-fstrim.Tpo sys-utils/$(DEPDIR)/fstrim-fstrim.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/fstrim.c' object='sys-utils/fstrim-fstrim.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fstrim_CFLAGS) $(CFLAGS) -c -o sys-utils/fstrim-fstrim.obj `if test -f 'sys-utils/fstrim.c'; then $(CYGPATH_W) 'sys-utils/fstrim.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/fstrim.c'; fi` + +misc-utils/logger-logger.o: misc-utils/logger.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(logger_CFLAGS) $(CFLAGS) -MT misc-utils/logger-logger.o -MD -MP -MF misc-utils/$(DEPDIR)/logger-logger.Tpo -c -o misc-utils/logger-logger.o `test -f 'misc-utils/logger.c' || echo '$(srcdir)/'`misc-utils/logger.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/logger-logger.Tpo misc-utils/$(DEPDIR)/logger-logger.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/logger.c' object='misc-utils/logger-logger.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(logger_CFLAGS) $(CFLAGS) -c -o misc-utils/logger-logger.o `test -f 'misc-utils/logger.c' || echo '$(srcdir)/'`misc-utils/logger.c + +misc-utils/logger-logger.obj: misc-utils/logger.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(logger_CFLAGS) $(CFLAGS) -MT misc-utils/logger-logger.obj -MD -MP -MF misc-utils/$(DEPDIR)/logger-logger.Tpo -c -o misc-utils/logger-logger.obj `if test -f 'misc-utils/logger.c'; then $(CYGPATH_W) 'misc-utils/logger.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/logger.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/logger-logger.Tpo misc-utils/$(DEPDIR)/logger-logger.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/logger.c' object='misc-utils/logger-logger.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(logger_CFLAGS) $(CFLAGS) -c -o misc-utils/logger-logger.obj `if test -f 'misc-utils/logger.c'; then $(CYGPATH_W) 'misc-utils/logger.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/logger.c'; fi` + +lib/logger-strutils.o: lib/strutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(logger_CFLAGS) $(CFLAGS) -MT lib/logger-strutils.o -MD -MP -MF lib/$(DEPDIR)/logger-strutils.Tpo -c -o lib/logger-strutils.o `test -f 'lib/strutils.c' || echo '$(srcdir)/'`lib/strutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/logger-strutils.Tpo lib/$(DEPDIR)/logger-strutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strutils.c' object='lib/logger-strutils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(logger_CFLAGS) $(CFLAGS) -c -o lib/logger-strutils.o `test -f 'lib/strutils.c' || echo '$(srcdir)/'`lib/strutils.c + +lib/logger-strutils.obj: lib/strutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(logger_CFLAGS) $(CFLAGS) -MT lib/logger-strutils.obj -MD -MP -MF lib/$(DEPDIR)/logger-strutils.Tpo -c -o lib/logger-strutils.obj `if test -f 'lib/strutils.c'; then $(CYGPATH_W) 'lib/strutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/strutils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/logger-strutils.Tpo lib/$(DEPDIR)/logger-strutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strutils.c' object='lib/logger-strutils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(logger_CFLAGS) $(CFLAGS) -c -o lib/logger-strutils.obj `if test -f 'lib/strutils.c'; then $(CYGPATH_W) 'lib/strutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/strutils.c'; fi` + +lib/logger-strv.o: lib/strv.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(logger_CFLAGS) $(CFLAGS) -MT lib/logger-strv.o -MD -MP -MF lib/$(DEPDIR)/logger-strv.Tpo -c -o lib/logger-strv.o `test -f 'lib/strv.c' || echo '$(srcdir)/'`lib/strv.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/logger-strv.Tpo lib/$(DEPDIR)/logger-strv.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strv.c' object='lib/logger-strv.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(logger_CFLAGS) $(CFLAGS) -c -o lib/logger-strv.o `test -f 'lib/strv.c' || echo '$(srcdir)/'`lib/strv.c + +lib/logger-strv.obj: lib/strv.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(logger_CFLAGS) $(CFLAGS) -MT lib/logger-strv.obj -MD -MP -MF lib/$(DEPDIR)/logger-strv.Tpo -c -o lib/logger-strv.obj `if test -f 'lib/strv.c'; then $(CYGPATH_W) 'lib/strv.c'; else $(CYGPATH_W) '$(srcdir)/lib/strv.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/logger-strv.Tpo lib/$(DEPDIR)/logger-strv.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strv.c' object='lib/logger-strv.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(logger_CFLAGS) $(CFLAGS) -c -o lib/logger-strv.obj `if test -f 'lib/strv.c'; then $(CYGPATH_W) 'lib/strv.c'; else $(CYGPATH_W) '$(srcdir)/lib/strv.c'; fi` + +sys-utils/losetup-losetup.o: sys-utils/losetup.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(losetup_CFLAGS) $(CFLAGS) -MT sys-utils/losetup-losetup.o -MD -MP -MF sys-utils/$(DEPDIR)/losetup-losetup.Tpo -c -o sys-utils/losetup-losetup.o `test -f 'sys-utils/losetup.c' || echo '$(srcdir)/'`sys-utils/losetup.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/losetup-losetup.Tpo sys-utils/$(DEPDIR)/losetup-losetup.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/losetup.c' object='sys-utils/losetup-losetup.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(losetup_CFLAGS) $(CFLAGS) -c -o sys-utils/losetup-losetup.o `test -f 'sys-utils/losetup.c' || echo '$(srcdir)/'`sys-utils/losetup.c + +sys-utils/losetup-losetup.obj: sys-utils/losetup.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(losetup_CFLAGS) $(CFLAGS) -MT sys-utils/losetup-losetup.obj -MD -MP -MF sys-utils/$(DEPDIR)/losetup-losetup.Tpo -c -o sys-utils/losetup-losetup.obj `if test -f 'sys-utils/losetup.c'; then $(CYGPATH_W) 'sys-utils/losetup.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/losetup.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/losetup-losetup.Tpo sys-utils/$(DEPDIR)/losetup-losetup.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/losetup.c' object='sys-utils/losetup-losetup.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(losetup_CFLAGS) $(CFLAGS) -c -o sys-utils/losetup-losetup.obj `if test -f 'sys-utils/losetup.c'; then $(CYGPATH_W) 'sys-utils/losetup.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/losetup.c'; fi` + +sys-utils/losetup_static-losetup.o: sys-utils/losetup.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(losetup_static_CFLAGS) $(CFLAGS) -MT sys-utils/losetup_static-losetup.o -MD -MP -MF sys-utils/$(DEPDIR)/losetup_static-losetup.Tpo -c -o sys-utils/losetup_static-losetup.o `test -f 'sys-utils/losetup.c' || echo '$(srcdir)/'`sys-utils/losetup.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/losetup_static-losetup.Tpo sys-utils/$(DEPDIR)/losetup_static-losetup.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/losetup.c' object='sys-utils/losetup_static-losetup.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(losetup_static_CFLAGS) $(CFLAGS) -c -o sys-utils/losetup_static-losetup.o `test -f 'sys-utils/losetup.c' || echo '$(srcdir)/'`sys-utils/losetup.c + +sys-utils/losetup_static-losetup.obj: sys-utils/losetup.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(losetup_static_CFLAGS) $(CFLAGS) -MT sys-utils/losetup_static-losetup.obj -MD -MP -MF sys-utils/$(DEPDIR)/losetup_static-losetup.Tpo -c -o sys-utils/losetup_static-losetup.obj `if test -f 'sys-utils/losetup.c'; then $(CYGPATH_W) 'sys-utils/losetup.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/losetup.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/losetup_static-losetup.Tpo sys-utils/$(DEPDIR)/losetup_static-losetup.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/losetup.c' object='sys-utils/losetup_static-losetup.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(losetup_static_CFLAGS) $(CFLAGS) -c -o sys-utils/losetup_static-losetup.obj `if test -f 'sys-utils/losetup.c'; then $(CYGPATH_W) 'sys-utils/losetup.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/losetup.c'; fi` + +misc-utils/lsblk-lsblk.o: misc-utils/lsblk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsblk_CFLAGS) $(CFLAGS) -MT misc-utils/lsblk-lsblk.o -MD -MP -MF misc-utils/$(DEPDIR)/lsblk-lsblk.Tpo -c -o misc-utils/lsblk-lsblk.o `test -f 'misc-utils/lsblk.c' || echo '$(srcdir)/'`misc-utils/lsblk.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/lsblk-lsblk.Tpo misc-utils/$(DEPDIR)/lsblk-lsblk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/lsblk.c' object='misc-utils/lsblk-lsblk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsblk_CFLAGS) $(CFLAGS) -c -o misc-utils/lsblk-lsblk.o `test -f 'misc-utils/lsblk.c' || echo '$(srcdir)/'`misc-utils/lsblk.c + +misc-utils/lsblk-lsblk.obj: misc-utils/lsblk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsblk_CFLAGS) $(CFLAGS) -MT misc-utils/lsblk-lsblk.obj -MD -MP -MF misc-utils/$(DEPDIR)/lsblk-lsblk.Tpo -c -o misc-utils/lsblk-lsblk.obj `if test -f 'misc-utils/lsblk.c'; then $(CYGPATH_W) 'misc-utils/lsblk.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/lsblk.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/lsblk-lsblk.Tpo misc-utils/$(DEPDIR)/lsblk-lsblk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/lsblk.c' object='misc-utils/lsblk-lsblk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsblk_CFLAGS) $(CFLAGS) -c -o misc-utils/lsblk-lsblk.obj `if test -f 'misc-utils/lsblk.c'; then $(CYGPATH_W) 'misc-utils/lsblk.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/lsblk.c'; fi` + +misc-utils/lsblk-lsblk-mnt.o: misc-utils/lsblk-mnt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsblk_CFLAGS) $(CFLAGS) -MT misc-utils/lsblk-lsblk-mnt.o -MD -MP -MF misc-utils/$(DEPDIR)/lsblk-lsblk-mnt.Tpo -c -o misc-utils/lsblk-lsblk-mnt.o `test -f 'misc-utils/lsblk-mnt.c' || echo '$(srcdir)/'`misc-utils/lsblk-mnt.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/lsblk-lsblk-mnt.Tpo misc-utils/$(DEPDIR)/lsblk-lsblk-mnt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/lsblk-mnt.c' object='misc-utils/lsblk-lsblk-mnt.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsblk_CFLAGS) $(CFLAGS) -c -o misc-utils/lsblk-lsblk-mnt.o `test -f 'misc-utils/lsblk-mnt.c' || echo '$(srcdir)/'`misc-utils/lsblk-mnt.c + +misc-utils/lsblk-lsblk-mnt.obj: misc-utils/lsblk-mnt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsblk_CFLAGS) $(CFLAGS) -MT misc-utils/lsblk-lsblk-mnt.obj -MD -MP -MF misc-utils/$(DEPDIR)/lsblk-lsblk-mnt.Tpo -c -o misc-utils/lsblk-lsblk-mnt.obj `if test -f 'misc-utils/lsblk-mnt.c'; then $(CYGPATH_W) 'misc-utils/lsblk-mnt.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/lsblk-mnt.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/lsblk-lsblk-mnt.Tpo misc-utils/$(DEPDIR)/lsblk-lsblk-mnt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/lsblk-mnt.c' object='misc-utils/lsblk-lsblk-mnt.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsblk_CFLAGS) $(CFLAGS) -c -o misc-utils/lsblk-lsblk-mnt.obj `if test -f 'misc-utils/lsblk-mnt.c'; then $(CYGPATH_W) 'misc-utils/lsblk-mnt.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/lsblk-mnt.c'; fi` + +misc-utils/lsblk-lsblk-properties.o: misc-utils/lsblk-properties.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsblk_CFLAGS) $(CFLAGS) -MT misc-utils/lsblk-lsblk-properties.o -MD -MP -MF misc-utils/$(DEPDIR)/lsblk-lsblk-properties.Tpo -c -o misc-utils/lsblk-lsblk-properties.o `test -f 'misc-utils/lsblk-properties.c' || echo '$(srcdir)/'`misc-utils/lsblk-properties.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/lsblk-lsblk-properties.Tpo misc-utils/$(DEPDIR)/lsblk-lsblk-properties.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/lsblk-properties.c' object='misc-utils/lsblk-lsblk-properties.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsblk_CFLAGS) $(CFLAGS) -c -o misc-utils/lsblk-lsblk-properties.o `test -f 'misc-utils/lsblk-properties.c' || echo '$(srcdir)/'`misc-utils/lsblk-properties.c + +misc-utils/lsblk-lsblk-properties.obj: misc-utils/lsblk-properties.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsblk_CFLAGS) $(CFLAGS) -MT misc-utils/lsblk-lsblk-properties.obj -MD -MP -MF misc-utils/$(DEPDIR)/lsblk-lsblk-properties.Tpo -c -o misc-utils/lsblk-lsblk-properties.obj `if test -f 'misc-utils/lsblk-properties.c'; then $(CYGPATH_W) 'misc-utils/lsblk-properties.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/lsblk-properties.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/lsblk-lsblk-properties.Tpo misc-utils/$(DEPDIR)/lsblk-lsblk-properties.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/lsblk-properties.c' object='misc-utils/lsblk-lsblk-properties.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsblk_CFLAGS) $(CFLAGS) -c -o misc-utils/lsblk-lsblk-properties.obj `if test -f 'misc-utils/lsblk-properties.c'; then $(CYGPATH_W) 'misc-utils/lsblk-properties.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/lsblk-properties.c'; fi` + +sys-utils/lscpu-lscpu.o: sys-utils/lscpu.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lscpu_CFLAGS) $(CFLAGS) -MT sys-utils/lscpu-lscpu.o -MD -MP -MF sys-utils/$(DEPDIR)/lscpu-lscpu.Tpo -c -o sys-utils/lscpu-lscpu.o `test -f 'sys-utils/lscpu.c' || echo '$(srcdir)/'`sys-utils/lscpu.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/lscpu-lscpu.Tpo sys-utils/$(DEPDIR)/lscpu-lscpu.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/lscpu.c' object='sys-utils/lscpu-lscpu.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lscpu_CFLAGS) $(CFLAGS) -c -o sys-utils/lscpu-lscpu.o `test -f 'sys-utils/lscpu.c' || echo '$(srcdir)/'`sys-utils/lscpu.c + +sys-utils/lscpu-lscpu.obj: sys-utils/lscpu.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lscpu_CFLAGS) $(CFLAGS) -MT sys-utils/lscpu-lscpu.obj -MD -MP -MF sys-utils/$(DEPDIR)/lscpu-lscpu.Tpo -c -o sys-utils/lscpu-lscpu.obj `if test -f 'sys-utils/lscpu.c'; then $(CYGPATH_W) 'sys-utils/lscpu.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/lscpu.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/lscpu-lscpu.Tpo sys-utils/$(DEPDIR)/lscpu-lscpu.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/lscpu.c' object='sys-utils/lscpu-lscpu.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lscpu_CFLAGS) $(CFLAGS) -c -o sys-utils/lscpu-lscpu.obj `if test -f 'sys-utils/lscpu.c'; then $(CYGPATH_W) 'sys-utils/lscpu.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/lscpu.c'; fi` + +sys-utils/lscpu-lscpu-arm.o: sys-utils/lscpu-arm.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lscpu_CFLAGS) $(CFLAGS) -MT sys-utils/lscpu-lscpu-arm.o -MD -MP -MF sys-utils/$(DEPDIR)/lscpu-lscpu-arm.Tpo -c -o sys-utils/lscpu-lscpu-arm.o `test -f 'sys-utils/lscpu-arm.c' || echo '$(srcdir)/'`sys-utils/lscpu-arm.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/lscpu-lscpu-arm.Tpo sys-utils/$(DEPDIR)/lscpu-lscpu-arm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/lscpu-arm.c' object='sys-utils/lscpu-lscpu-arm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lscpu_CFLAGS) $(CFLAGS) -c -o sys-utils/lscpu-lscpu-arm.o `test -f 'sys-utils/lscpu-arm.c' || echo '$(srcdir)/'`sys-utils/lscpu-arm.c + +sys-utils/lscpu-lscpu-arm.obj: sys-utils/lscpu-arm.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lscpu_CFLAGS) $(CFLAGS) -MT sys-utils/lscpu-lscpu-arm.obj -MD -MP -MF sys-utils/$(DEPDIR)/lscpu-lscpu-arm.Tpo -c -o sys-utils/lscpu-lscpu-arm.obj `if test -f 'sys-utils/lscpu-arm.c'; then $(CYGPATH_W) 'sys-utils/lscpu-arm.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/lscpu-arm.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/lscpu-lscpu-arm.Tpo sys-utils/$(DEPDIR)/lscpu-lscpu-arm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/lscpu-arm.c' object='sys-utils/lscpu-lscpu-arm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lscpu_CFLAGS) $(CFLAGS) -c -o sys-utils/lscpu-lscpu-arm.obj `if test -f 'sys-utils/lscpu-arm.c'; then $(CYGPATH_W) 'sys-utils/lscpu-arm.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/lscpu-arm.c'; fi` + +sys-utils/lscpu-lscpu-dmi.o: sys-utils/lscpu-dmi.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lscpu_CFLAGS) $(CFLAGS) -MT sys-utils/lscpu-lscpu-dmi.o -MD -MP -MF sys-utils/$(DEPDIR)/lscpu-lscpu-dmi.Tpo -c -o sys-utils/lscpu-lscpu-dmi.o `test -f 'sys-utils/lscpu-dmi.c' || echo '$(srcdir)/'`sys-utils/lscpu-dmi.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/lscpu-lscpu-dmi.Tpo sys-utils/$(DEPDIR)/lscpu-lscpu-dmi.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/lscpu-dmi.c' object='sys-utils/lscpu-lscpu-dmi.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lscpu_CFLAGS) $(CFLAGS) -c -o sys-utils/lscpu-lscpu-dmi.o `test -f 'sys-utils/lscpu-dmi.c' || echo '$(srcdir)/'`sys-utils/lscpu-dmi.c + +sys-utils/lscpu-lscpu-dmi.obj: sys-utils/lscpu-dmi.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lscpu_CFLAGS) $(CFLAGS) -MT sys-utils/lscpu-lscpu-dmi.obj -MD -MP -MF sys-utils/$(DEPDIR)/lscpu-lscpu-dmi.Tpo -c -o sys-utils/lscpu-lscpu-dmi.obj `if test -f 'sys-utils/lscpu-dmi.c'; then $(CYGPATH_W) 'sys-utils/lscpu-dmi.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/lscpu-dmi.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/lscpu-lscpu-dmi.Tpo sys-utils/$(DEPDIR)/lscpu-lscpu-dmi.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/lscpu-dmi.c' object='sys-utils/lscpu-lscpu-dmi.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lscpu_CFLAGS) $(CFLAGS) -c -o sys-utils/lscpu-lscpu-dmi.obj `if test -f 'sys-utils/lscpu-dmi.c'; then $(CYGPATH_W) 'sys-utils/lscpu-dmi.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/lscpu-dmi.c'; fi` + +sys-utils/lsipc-lsipc.o: sys-utils/lsipc.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsipc_CFLAGS) $(CFLAGS) -MT sys-utils/lsipc-lsipc.o -MD -MP -MF sys-utils/$(DEPDIR)/lsipc-lsipc.Tpo -c -o sys-utils/lsipc-lsipc.o `test -f 'sys-utils/lsipc.c' || echo '$(srcdir)/'`sys-utils/lsipc.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/lsipc-lsipc.Tpo sys-utils/$(DEPDIR)/lsipc-lsipc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/lsipc.c' object='sys-utils/lsipc-lsipc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsipc_CFLAGS) $(CFLAGS) -c -o sys-utils/lsipc-lsipc.o `test -f 'sys-utils/lsipc.c' || echo '$(srcdir)/'`sys-utils/lsipc.c + +sys-utils/lsipc-lsipc.obj: sys-utils/lsipc.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsipc_CFLAGS) $(CFLAGS) -MT sys-utils/lsipc-lsipc.obj -MD -MP -MF sys-utils/$(DEPDIR)/lsipc-lsipc.Tpo -c -o sys-utils/lsipc-lsipc.obj `if test -f 'sys-utils/lsipc.c'; then $(CYGPATH_W) 'sys-utils/lsipc.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/lsipc.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/lsipc-lsipc.Tpo sys-utils/$(DEPDIR)/lsipc-lsipc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/lsipc.c' object='sys-utils/lsipc-lsipc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsipc_CFLAGS) $(CFLAGS) -c -o sys-utils/lsipc-lsipc.obj `if test -f 'sys-utils/lsipc.c'; then $(CYGPATH_W) 'sys-utils/lsipc.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/lsipc.c'; fi` + +sys-utils/lsipc-ipcutils.o: sys-utils/ipcutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsipc_CFLAGS) $(CFLAGS) -MT sys-utils/lsipc-ipcutils.o -MD -MP -MF sys-utils/$(DEPDIR)/lsipc-ipcutils.Tpo -c -o sys-utils/lsipc-ipcutils.o `test -f 'sys-utils/ipcutils.c' || echo '$(srcdir)/'`sys-utils/ipcutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/lsipc-ipcutils.Tpo sys-utils/$(DEPDIR)/lsipc-ipcutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/ipcutils.c' object='sys-utils/lsipc-ipcutils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsipc_CFLAGS) $(CFLAGS) -c -o sys-utils/lsipc-ipcutils.o `test -f 'sys-utils/ipcutils.c' || echo '$(srcdir)/'`sys-utils/ipcutils.c + +sys-utils/lsipc-ipcutils.obj: sys-utils/ipcutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsipc_CFLAGS) $(CFLAGS) -MT sys-utils/lsipc-ipcutils.obj -MD -MP -MF sys-utils/$(DEPDIR)/lsipc-ipcutils.Tpo -c -o sys-utils/lsipc-ipcutils.obj `if test -f 'sys-utils/ipcutils.c'; then $(CYGPATH_W) 'sys-utils/ipcutils.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/ipcutils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/lsipc-ipcutils.Tpo sys-utils/$(DEPDIR)/lsipc-ipcutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/ipcutils.c' object='sys-utils/lsipc-ipcutils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsipc_CFLAGS) $(CFLAGS) -c -o sys-utils/lsipc-ipcutils.obj `if test -f 'sys-utils/ipcutils.c'; then $(CYGPATH_W) 'sys-utils/ipcutils.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/ipcutils.c'; fi` + +misc-utils/lslocks-lslocks.o: misc-utils/lslocks.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lslocks_CFLAGS) $(CFLAGS) -MT misc-utils/lslocks-lslocks.o -MD -MP -MF misc-utils/$(DEPDIR)/lslocks-lslocks.Tpo -c -o misc-utils/lslocks-lslocks.o `test -f 'misc-utils/lslocks.c' || echo '$(srcdir)/'`misc-utils/lslocks.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/lslocks-lslocks.Tpo misc-utils/$(DEPDIR)/lslocks-lslocks.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/lslocks.c' object='misc-utils/lslocks-lslocks.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lslocks_CFLAGS) $(CFLAGS) -c -o misc-utils/lslocks-lslocks.o `test -f 'misc-utils/lslocks.c' || echo '$(srcdir)/'`misc-utils/lslocks.c + +misc-utils/lslocks-lslocks.obj: misc-utils/lslocks.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lslocks_CFLAGS) $(CFLAGS) -MT misc-utils/lslocks-lslocks.obj -MD -MP -MF misc-utils/$(DEPDIR)/lslocks-lslocks.Tpo -c -o misc-utils/lslocks-lslocks.obj `if test -f 'misc-utils/lslocks.c'; then $(CYGPATH_W) 'misc-utils/lslocks.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/lslocks.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/lslocks-lslocks.Tpo misc-utils/$(DEPDIR)/lslocks-lslocks.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/lslocks.c' object='misc-utils/lslocks-lslocks.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lslocks_CFLAGS) $(CFLAGS) -c -o misc-utils/lslocks-lslocks.obj `if test -f 'misc-utils/lslocks.c'; then $(CYGPATH_W) 'misc-utils/lslocks.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/lslocks.c'; fi` + +login-utils/lslogins-lslogins.o: login-utils/lslogins.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lslogins_CFLAGS) $(CFLAGS) -MT login-utils/lslogins-lslogins.o -MD -MP -MF login-utils/$(DEPDIR)/lslogins-lslogins.Tpo -c -o login-utils/lslogins-lslogins.o `test -f 'login-utils/lslogins.c' || echo '$(srcdir)/'`login-utils/lslogins.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/lslogins-lslogins.Tpo login-utils/$(DEPDIR)/lslogins-lslogins.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/lslogins.c' object='login-utils/lslogins-lslogins.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lslogins_CFLAGS) $(CFLAGS) -c -o login-utils/lslogins-lslogins.o `test -f 'login-utils/lslogins.c' || echo '$(srcdir)/'`login-utils/lslogins.c + +login-utils/lslogins-lslogins.obj: login-utils/lslogins.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lslogins_CFLAGS) $(CFLAGS) -MT login-utils/lslogins-lslogins.obj -MD -MP -MF login-utils/$(DEPDIR)/lslogins-lslogins.Tpo -c -o login-utils/lslogins-lslogins.obj `if test -f 'login-utils/lslogins.c'; then $(CYGPATH_W) 'login-utils/lslogins.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/lslogins.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/lslogins-lslogins.Tpo login-utils/$(DEPDIR)/lslogins-lslogins.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/lslogins.c' object='login-utils/lslogins-lslogins.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lslogins_CFLAGS) $(CFLAGS) -c -o login-utils/lslogins-lslogins.obj `if test -f 'login-utils/lslogins.c'; then $(CYGPATH_W) 'login-utils/lslogins.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/lslogins.c'; fi` + +login-utils/lslogins-logindefs.o: login-utils/logindefs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lslogins_CFLAGS) $(CFLAGS) -MT login-utils/lslogins-logindefs.o -MD -MP -MF login-utils/$(DEPDIR)/lslogins-logindefs.Tpo -c -o login-utils/lslogins-logindefs.o `test -f 'login-utils/logindefs.c' || echo '$(srcdir)/'`login-utils/logindefs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/lslogins-logindefs.Tpo login-utils/$(DEPDIR)/lslogins-logindefs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/logindefs.c' object='login-utils/lslogins-logindefs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lslogins_CFLAGS) $(CFLAGS) -c -o login-utils/lslogins-logindefs.o `test -f 'login-utils/logindefs.c' || echo '$(srcdir)/'`login-utils/logindefs.c + +login-utils/lslogins-logindefs.obj: login-utils/logindefs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lslogins_CFLAGS) $(CFLAGS) -MT login-utils/lslogins-logindefs.obj -MD -MP -MF login-utils/$(DEPDIR)/lslogins-logindefs.Tpo -c -o login-utils/lslogins-logindefs.obj `if test -f 'login-utils/logindefs.c'; then $(CYGPATH_W) 'login-utils/logindefs.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/logindefs.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/lslogins-logindefs.Tpo login-utils/$(DEPDIR)/lslogins-logindefs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/logindefs.c' object='login-utils/lslogins-logindefs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lslogins_CFLAGS) $(CFLAGS) -c -o login-utils/lslogins-logindefs.obj `if test -f 'login-utils/logindefs.c'; then $(CYGPATH_W) 'login-utils/logindefs.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/logindefs.c'; fi` + +sys-utils/lsmem-lsmem.o: sys-utils/lsmem.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsmem_CFLAGS) $(CFLAGS) -MT sys-utils/lsmem-lsmem.o -MD -MP -MF sys-utils/$(DEPDIR)/lsmem-lsmem.Tpo -c -o sys-utils/lsmem-lsmem.o `test -f 'sys-utils/lsmem.c' || echo '$(srcdir)/'`sys-utils/lsmem.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/lsmem-lsmem.Tpo sys-utils/$(DEPDIR)/lsmem-lsmem.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/lsmem.c' object='sys-utils/lsmem-lsmem.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsmem_CFLAGS) $(CFLAGS) -c -o sys-utils/lsmem-lsmem.o `test -f 'sys-utils/lsmem.c' || echo '$(srcdir)/'`sys-utils/lsmem.c + +sys-utils/lsmem-lsmem.obj: sys-utils/lsmem.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsmem_CFLAGS) $(CFLAGS) -MT sys-utils/lsmem-lsmem.obj -MD -MP -MF sys-utils/$(DEPDIR)/lsmem-lsmem.Tpo -c -o sys-utils/lsmem-lsmem.obj `if test -f 'sys-utils/lsmem.c'; then $(CYGPATH_W) 'sys-utils/lsmem.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/lsmem.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/lsmem-lsmem.Tpo sys-utils/$(DEPDIR)/lsmem-lsmem.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/lsmem.c' object='sys-utils/lsmem-lsmem.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsmem_CFLAGS) $(CFLAGS) -c -o sys-utils/lsmem-lsmem.obj `if test -f 'sys-utils/lsmem.c'; then $(CYGPATH_W) 'sys-utils/lsmem.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/lsmem.c'; fi` + +sys-utils/lsns-lsns.o: sys-utils/lsns.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsns_CFLAGS) $(CFLAGS) -MT sys-utils/lsns-lsns.o -MD -MP -MF sys-utils/$(DEPDIR)/lsns-lsns.Tpo -c -o sys-utils/lsns-lsns.o `test -f 'sys-utils/lsns.c' || echo '$(srcdir)/'`sys-utils/lsns.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/lsns-lsns.Tpo sys-utils/$(DEPDIR)/lsns-lsns.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/lsns.c' object='sys-utils/lsns-lsns.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsns_CFLAGS) $(CFLAGS) -c -o sys-utils/lsns-lsns.o `test -f 'sys-utils/lsns.c' || echo '$(srcdir)/'`sys-utils/lsns.c + +sys-utils/lsns-lsns.obj: sys-utils/lsns.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsns_CFLAGS) $(CFLAGS) -MT sys-utils/lsns-lsns.obj -MD -MP -MF sys-utils/$(DEPDIR)/lsns-lsns.Tpo -c -o sys-utils/lsns-lsns.obj `if test -f 'sys-utils/lsns.c'; then $(CYGPATH_W) 'sys-utils/lsns.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/lsns.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/lsns-lsns.Tpo sys-utils/$(DEPDIR)/lsns-lsns.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/lsns.c' object='sys-utils/lsns-lsns.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lsns_CFLAGS) $(CFLAGS) -c -o sys-utils/lsns-lsns.obj `if test -f 'sys-utils/lsns.c'; then $(CYGPATH_W) 'sys-utils/lsns.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/lsns.c'; fi` + +disk-utils/mkswap-mkswap.o: disk-utils/mkswap.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mkswap_CFLAGS) $(CFLAGS) -MT disk-utils/mkswap-mkswap.o -MD -MP -MF disk-utils/$(DEPDIR)/mkswap-mkswap.Tpo -c -o disk-utils/mkswap-mkswap.o `test -f 'disk-utils/mkswap.c' || echo '$(srcdir)/'`disk-utils/mkswap.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/mkswap-mkswap.Tpo disk-utils/$(DEPDIR)/mkswap-mkswap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/mkswap.c' object='disk-utils/mkswap-mkswap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mkswap_CFLAGS) $(CFLAGS) -c -o disk-utils/mkswap-mkswap.o `test -f 'disk-utils/mkswap.c' || echo '$(srcdir)/'`disk-utils/mkswap.c + +disk-utils/mkswap-mkswap.obj: disk-utils/mkswap.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mkswap_CFLAGS) $(CFLAGS) -MT disk-utils/mkswap-mkswap.obj -MD -MP -MF disk-utils/$(DEPDIR)/mkswap-mkswap.Tpo -c -o disk-utils/mkswap-mkswap.obj `if test -f 'disk-utils/mkswap.c'; then $(CYGPATH_W) 'disk-utils/mkswap.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/mkswap.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/mkswap-mkswap.Tpo disk-utils/$(DEPDIR)/mkswap-mkswap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/mkswap.c' object='disk-utils/mkswap-mkswap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mkswap_CFLAGS) $(CFLAGS) -c -o disk-utils/mkswap-mkswap.obj `if test -f 'disk-utils/mkswap.c'; then $(CYGPATH_W) 'disk-utils/mkswap.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/mkswap.c'; fi` + +text-utils/more-more.o: text-utils/more.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(more_CFLAGS) $(CFLAGS) -MT text-utils/more-more.o -MD -MP -MF text-utils/$(DEPDIR)/more-more.Tpo -c -o text-utils/more-more.o `test -f 'text-utils/more.c' || echo '$(srcdir)/'`text-utils/more.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) text-utils/$(DEPDIR)/more-more.Tpo text-utils/$(DEPDIR)/more-more.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='text-utils/more.c' object='text-utils/more-more.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(more_CFLAGS) $(CFLAGS) -c -o text-utils/more-more.o `test -f 'text-utils/more.c' || echo '$(srcdir)/'`text-utils/more.c + +text-utils/more-more.obj: text-utils/more.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(more_CFLAGS) $(CFLAGS) -MT text-utils/more-more.obj -MD -MP -MF text-utils/$(DEPDIR)/more-more.Tpo -c -o text-utils/more-more.obj `if test -f 'text-utils/more.c'; then $(CYGPATH_W) 'text-utils/more.c'; else $(CYGPATH_W) '$(srcdir)/text-utils/more.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) text-utils/$(DEPDIR)/more-more.Tpo text-utils/$(DEPDIR)/more-more.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='text-utils/more.c' object='text-utils/more-more.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(more_CFLAGS) $(CFLAGS) -c -o text-utils/more-more.obj `if test -f 'text-utils/more.c'; then $(CYGPATH_W) 'text-utils/more.c'; else $(CYGPATH_W) '$(srcdir)/text-utils/more.c'; fi` + +sys-utils/mount-mount.o: sys-utils/mount.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -MT sys-utils/mount-mount.o -MD -MP -MF sys-utils/$(DEPDIR)/mount-mount.Tpo -c -o sys-utils/mount-mount.o `test -f 'sys-utils/mount.c' || echo '$(srcdir)/'`sys-utils/mount.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/mount-mount.Tpo sys-utils/$(DEPDIR)/mount-mount.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/mount.c' object='sys-utils/mount-mount.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -c -o sys-utils/mount-mount.o `test -f 'sys-utils/mount.c' || echo '$(srcdir)/'`sys-utils/mount.c + +sys-utils/mount-mount.obj: sys-utils/mount.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -MT sys-utils/mount-mount.obj -MD -MP -MF sys-utils/$(DEPDIR)/mount-mount.Tpo -c -o sys-utils/mount-mount.obj `if test -f 'sys-utils/mount.c'; then $(CYGPATH_W) 'sys-utils/mount.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/mount.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/mount-mount.Tpo sys-utils/$(DEPDIR)/mount-mount.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/mount.c' object='sys-utils/mount-mount.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -c -o sys-utils/mount-mount.obj `if test -f 'sys-utils/mount.c'; then $(CYGPATH_W) 'sys-utils/mount.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/mount.c'; fi` + +sys-utils/mount_static-mount.o: sys-utils/mount.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -MT sys-utils/mount_static-mount.o -MD -MP -MF sys-utils/$(DEPDIR)/mount_static-mount.Tpo -c -o sys-utils/mount_static-mount.o `test -f 'sys-utils/mount.c' || echo '$(srcdir)/'`sys-utils/mount.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/mount_static-mount.Tpo sys-utils/$(DEPDIR)/mount_static-mount.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/mount.c' object='sys-utils/mount_static-mount.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -c -o sys-utils/mount_static-mount.o `test -f 'sys-utils/mount.c' || echo '$(srcdir)/'`sys-utils/mount.c + +sys-utils/mount_static-mount.obj: sys-utils/mount.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -MT sys-utils/mount_static-mount.obj -MD -MP -MF sys-utils/$(DEPDIR)/mount_static-mount.Tpo -c -o sys-utils/mount_static-mount.obj `if test -f 'sys-utils/mount.c'; then $(CYGPATH_W) 'sys-utils/mount.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/mount.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/mount_static-mount.Tpo sys-utils/$(DEPDIR)/mount_static-mount.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/mount.c' object='sys-utils/mount_static-mount.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -c -o sys-utils/mount_static-mount.obj `if test -f 'sys-utils/mount.c'; then $(CYGPATH_W) 'sys-utils/mount.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/mount.c'; fi` + +sys-utils/mountpoint-mountpoint.o: sys-utils/mountpoint.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mountpoint_CFLAGS) $(CFLAGS) -MT sys-utils/mountpoint-mountpoint.o -MD -MP -MF sys-utils/$(DEPDIR)/mountpoint-mountpoint.Tpo -c -o sys-utils/mountpoint-mountpoint.o `test -f 'sys-utils/mountpoint.c' || echo '$(srcdir)/'`sys-utils/mountpoint.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/mountpoint-mountpoint.Tpo sys-utils/$(DEPDIR)/mountpoint-mountpoint.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/mountpoint.c' object='sys-utils/mountpoint-mountpoint.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mountpoint_CFLAGS) $(CFLAGS) -c -o sys-utils/mountpoint-mountpoint.o `test -f 'sys-utils/mountpoint.c' || echo '$(srcdir)/'`sys-utils/mountpoint.c + +sys-utils/mountpoint-mountpoint.obj: sys-utils/mountpoint.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mountpoint_CFLAGS) $(CFLAGS) -MT sys-utils/mountpoint-mountpoint.obj -MD -MP -MF sys-utils/$(DEPDIR)/mountpoint-mountpoint.Tpo -c -o sys-utils/mountpoint-mountpoint.obj `if test -f 'sys-utils/mountpoint.c'; then $(CYGPATH_W) 'sys-utils/mountpoint.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/mountpoint.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/mountpoint-mountpoint.Tpo sys-utils/$(DEPDIR)/mountpoint-mountpoint.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/mountpoint.c' object='sys-utils/mountpoint-mountpoint.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mountpoint_CFLAGS) $(CFLAGS) -c -o sys-utils/mountpoint-mountpoint.obj `if test -f 'sys-utils/mountpoint.c'; then $(CYGPATH_W) 'sys-utils/mountpoint.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/mountpoint.c'; fi` + +login-utils/newgrp-newgrp.o: login-utils/newgrp.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(newgrp_CFLAGS) $(CFLAGS) -MT login-utils/newgrp-newgrp.o -MD -MP -MF login-utils/$(DEPDIR)/newgrp-newgrp.Tpo -c -o login-utils/newgrp-newgrp.o `test -f 'login-utils/newgrp.c' || echo '$(srcdir)/'`login-utils/newgrp.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/newgrp-newgrp.Tpo login-utils/$(DEPDIR)/newgrp-newgrp.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/newgrp.c' object='login-utils/newgrp-newgrp.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(newgrp_CFLAGS) $(CFLAGS) -c -o login-utils/newgrp-newgrp.o `test -f 'login-utils/newgrp.c' || echo '$(srcdir)/'`login-utils/newgrp.c + +login-utils/newgrp-newgrp.obj: login-utils/newgrp.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(newgrp_CFLAGS) $(CFLAGS) -MT login-utils/newgrp-newgrp.obj -MD -MP -MF login-utils/$(DEPDIR)/newgrp-newgrp.Tpo -c -o login-utils/newgrp-newgrp.obj `if test -f 'login-utils/newgrp.c'; then $(CYGPATH_W) 'login-utils/newgrp.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/newgrp.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/newgrp-newgrp.Tpo login-utils/$(DEPDIR)/newgrp-newgrp.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/newgrp.c' object='login-utils/newgrp-newgrp.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(newgrp_CFLAGS) $(CFLAGS) -c -o login-utils/newgrp-newgrp.obj `if test -f 'login-utils/newgrp.c'; then $(CYGPATH_W) 'login-utils/newgrp.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/newgrp.c'; fi` + +disk-utils/partx-partx.o: disk-utils/partx.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(partx_CFLAGS) $(CFLAGS) -MT disk-utils/partx-partx.o -MD -MP -MF disk-utils/$(DEPDIR)/partx-partx.Tpo -c -o disk-utils/partx-partx.o `test -f 'disk-utils/partx.c' || echo '$(srcdir)/'`disk-utils/partx.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/partx-partx.Tpo disk-utils/$(DEPDIR)/partx-partx.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/partx.c' object='disk-utils/partx-partx.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(partx_CFLAGS) $(CFLAGS) -c -o disk-utils/partx-partx.o `test -f 'disk-utils/partx.c' || echo '$(srcdir)/'`disk-utils/partx.c + +disk-utils/partx-partx.obj: disk-utils/partx.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(partx_CFLAGS) $(CFLAGS) -MT disk-utils/partx-partx.obj -MD -MP -MF disk-utils/$(DEPDIR)/partx-partx.Tpo -c -o disk-utils/partx-partx.obj `if test -f 'disk-utils/partx.c'; then $(CYGPATH_W) 'disk-utils/partx.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/partx.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/partx-partx.Tpo disk-utils/$(DEPDIR)/partx-partx.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/partx.c' object='disk-utils/partx-partx.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(partx_CFLAGS) $(CFLAGS) -c -o disk-utils/partx-partx.obj `if test -f 'disk-utils/partx.c'; then $(CYGPATH_W) 'disk-utils/partx.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/partx.c'; fi` + +text-utils/pg-pg.o: text-utils/pg.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pg_CFLAGS) $(CFLAGS) -MT text-utils/pg-pg.o -MD -MP -MF text-utils/$(DEPDIR)/pg-pg.Tpo -c -o text-utils/pg-pg.o `test -f 'text-utils/pg.c' || echo '$(srcdir)/'`text-utils/pg.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) text-utils/$(DEPDIR)/pg-pg.Tpo text-utils/$(DEPDIR)/pg-pg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='text-utils/pg.c' object='text-utils/pg-pg.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pg_CFLAGS) $(CFLAGS) -c -o text-utils/pg-pg.o `test -f 'text-utils/pg.c' || echo '$(srcdir)/'`text-utils/pg.c + +text-utils/pg-pg.obj: text-utils/pg.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pg_CFLAGS) $(CFLAGS) -MT text-utils/pg-pg.obj -MD -MP -MF text-utils/$(DEPDIR)/pg-pg.Tpo -c -o text-utils/pg-pg.obj `if test -f 'text-utils/pg.c'; then $(CYGPATH_W) 'text-utils/pg.c'; else $(CYGPATH_W) '$(srcdir)/text-utils/pg.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) text-utils/$(DEPDIR)/pg-pg.Tpo text-utils/$(DEPDIR)/pg-pg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='text-utils/pg.c' object='text-utils/pg-pg.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(pg_CFLAGS) $(CFLAGS) -c -o text-utils/pg-pg.obj `if test -f 'text-utils/pg.c'; then $(CYGPATH_W) 'text-utils/pg.c'; else $(CYGPATH_W) '$(srcdir)/text-utils/pg.c'; fi` + +sys-utils/prlimit-prlimit.o: sys-utils/prlimit.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(prlimit_CFLAGS) $(CFLAGS) -MT sys-utils/prlimit-prlimit.o -MD -MP -MF sys-utils/$(DEPDIR)/prlimit-prlimit.Tpo -c -o sys-utils/prlimit-prlimit.o `test -f 'sys-utils/prlimit.c' || echo '$(srcdir)/'`sys-utils/prlimit.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/prlimit-prlimit.Tpo sys-utils/$(DEPDIR)/prlimit-prlimit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/prlimit.c' object='sys-utils/prlimit-prlimit.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(prlimit_CFLAGS) $(CFLAGS) -c -o sys-utils/prlimit-prlimit.o `test -f 'sys-utils/prlimit.c' || echo '$(srcdir)/'`sys-utils/prlimit.c + +sys-utils/prlimit-prlimit.obj: sys-utils/prlimit.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(prlimit_CFLAGS) $(CFLAGS) -MT sys-utils/prlimit-prlimit.obj -MD -MP -MF sys-utils/$(DEPDIR)/prlimit-prlimit.Tpo -c -o sys-utils/prlimit-prlimit.obj `if test -f 'sys-utils/prlimit.c'; then $(CYGPATH_W) 'sys-utils/prlimit.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/prlimit.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/prlimit-prlimit.Tpo sys-utils/$(DEPDIR)/prlimit-prlimit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/prlimit.c' object='sys-utils/prlimit-prlimit.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(prlimit_CFLAGS) $(CFLAGS) -c -o sys-utils/prlimit-prlimit.obj `if test -f 'sys-utils/prlimit.c'; then $(CYGPATH_W) 'sys-utils/prlimit.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/prlimit.c'; fi` + +sys-utils/rfkill-rfkill.o: sys-utils/rfkill.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rfkill_CFLAGS) $(CFLAGS) -MT sys-utils/rfkill-rfkill.o -MD -MP -MF sys-utils/$(DEPDIR)/rfkill-rfkill.Tpo -c -o sys-utils/rfkill-rfkill.o `test -f 'sys-utils/rfkill.c' || echo '$(srcdir)/'`sys-utils/rfkill.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/rfkill-rfkill.Tpo sys-utils/$(DEPDIR)/rfkill-rfkill.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/rfkill.c' object='sys-utils/rfkill-rfkill.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rfkill_CFLAGS) $(CFLAGS) -c -o sys-utils/rfkill-rfkill.o `test -f 'sys-utils/rfkill.c' || echo '$(srcdir)/'`sys-utils/rfkill.c + +sys-utils/rfkill-rfkill.obj: sys-utils/rfkill.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rfkill_CFLAGS) $(CFLAGS) -MT sys-utils/rfkill-rfkill.obj -MD -MP -MF sys-utils/$(DEPDIR)/rfkill-rfkill.Tpo -c -o sys-utils/rfkill-rfkill.obj `if test -f 'sys-utils/rfkill.c'; then $(CYGPATH_W) 'sys-utils/rfkill.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/rfkill.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/rfkill-rfkill.Tpo sys-utils/$(DEPDIR)/rfkill-rfkill.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/rfkill.c' object='sys-utils/rfkill-rfkill.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rfkill_CFLAGS) $(CFLAGS) -c -o sys-utils/rfkill-rfkill.obj `if test -f 'sys-utils/rfkill.c'; then $(CYGPATH_W) 'sys-utils/rfkill.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/rfkill.c'; fi` + +libfdisk/samples/sample_fdisk_mkpart-mkpart.o: libfdisk/samples/mkpart.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_fdisk_mkpart_CFLAGS) $(CFLAGS) -MT libfdisk/samples/sample_fdisk_mkpart-mkpart.o -MD -MP -MF libfdisk/samples/$(DEPDIR)/sample_fdisk_mkpart-mkpart.Tpo -c -o libfdisk/samples/sample_fdisk_mkpart-mkpart.o `test -f 'libfdisk/samples/mkpart.c' || echo '$(srcdir)/'`libfdisk/samples/mkpart.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/samples/$(DEPDIR)/sample_fdisk_mkpart-mkpart.Tpo libfdisk/samples/$(DEPDIR)/sample_fdisk_mkpart-mkpart.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/samples/mkpart.c' object='libfdisk/samples/sample_fdisk_mkpart-mkpart.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_fdisk_mkpart_CFLAGS) $(CFLAGS) -c -o libfdisk/samples/sample_fdisk_mkpart-mkpart.o `test -f 'libfdisk/samples/mkpart.c' || echo '$(srcdir)/'`libfdisk/samples/mkpart.c + +libfdisk/samples/sample_fdisk_mkpart-mkpart.obj: libfdisk/samples/mkpart.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_fdisk_mkpart_CFLAGS) $(CFLAGS) -MT libfdisk/samples/sample_fdisk_mkpart-mkpart.obj -MD -MP -MF libfdisk/samples/$(DEPDIR)/sample_fdisk_mkpart-mkpart.Tpo -c -o libfdisk/samples/sample_fdisk_mkpart-mkpart.obj `if test -f 'libfdisk/samples/mkpart.c'; then $(CYGPATH_W) 'libfdisk/samples/mkpart.c'; else $(CYGPATH_W) '$(srcdir)/libfdisk/samples/mkpart.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/samples/$(DEPDIR)/sample_fdisk_mkpart-mkpart.Tpo libfdisk/samples/$(DEPDIR)/sample_fdisk_mkpart-mkpart.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/samples/mkpart.c' object='libfdisk/samples/sample_fdisk_mkpart-mkpart.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_fdisk_mkpart_CFLAGS) $(CFLAGS) -c -o libfdisk/samples/sample_fdisk_mkpart-mkpart.obj `if test -f 'libfdisk/samples/mkpart.c'; then $(CYGPATH_W) 'libfdisk/samples/mkpart.c'; else $(CYGPATH_W) '$(srcdir)/libfdisk/samples/mkpart.c'; fi` + +libfdisk/samples/sample_fdisk_mkpart_fullspec-mkpart-fullspec.o: libfdisk/samples/mkpart-fullspec.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_fdisk_mkpart_fullspec_CFLAGS) $(CFLAGS) -MT libfdisk/samples/sample_fdisk_mkpart_fullspec-mkpart-fullspec.o -MD -MP -MF libfdisk/samples/$(DEPDIR)/sample_fdisk_mkpart_fullspec-mkpart-fullspec.Tpo -c -o libfdisk/samples/sample_fdisk_mkpart_fullspec-mkpart-fullspec.o `test -f 'libfdisk/samples/mkpart-fullspec.c' || echo '$(srcdir)/'`libfdisk/samples/mkpart-fullspec.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/samples/$(DEPDIR)/sample_fdisk_mkpart_fullspec-mkpart-fullspec.Tpo libfdisk/samples/$(DEPDIR)/sample_fdisk_mkpart_fullspec-mkpart-fullspec.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/samples/mkpart-fullspec.c' object='libfdisk/samples/sample_fdisk_mkpart_fullspec-mkpart-fullspec.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_fdisk_mkpart_fullspec_CFLAGS) $(CFLAGS) -c -o libfdisk/samples/sample_fdisk_mkpart_fullspec-mkpart-fullspec.o `test -f 'libfdisk/samples/mkpart-fullspec.c' || echo '$(srcdir)/'`libfdisk/samples/mkpart-fullspec.c + +libfdisk/samples/sample_fdisk_mkpart_fullspec-mkpart-fullspec.obj: libfdisk/samples/mkpart-fullspec.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_fdisk_mkpart_fullspec_CFLAGS) $(CFLAGS) -MT libfdisk/samples/sample_fdisk_mkpart_fullspec-mkpart-fullspec.obj -MD -MP -MF libfdisk/samples/$(DEPDIR)/sample_fdisk_mkpart_fullspec-mkpart-fullspec.Tpo -c -o libfdisk/samples/sample_fdisk_mkpart_fullspec-mkpart-fullspec.obj `if test -f 'libfdisk/samples/mkpart-fullspec.c'; then $(CYGPATH_W) 'libfdisk/samples/mkpart-fullspec.c'; else $(CYGPATH_W) '$(srcdir)/libfdisk/samples/mkpart-fullspec.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/samples/$(DEPDIR)/sample_fdisk_mkpart_fullspec-mkpart-fullspec.Tpo libfdisk/samples/$(DEPDIR)/sample_fdisk_mkpart_fullspec-mkpart-fullspec.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/samples/mkpart-fullspec.c' object='libfdisk/samples/sample_fdisk_mkpart_fullspec-mkpart-fullspec.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_fdisk_mkpart_fullspec_CFLAGS) $(CFLAGS) -c -o libfdisk/samples/sample_fdisk_mkpart_fullspec-mkpart-fullspec.obj `if test -f 'libfdisk/samples/mkpart-fullspec.c'; then $(CYGPATH_W) 'libfdisk/samples/mkpart-fullspec.c'; else $(CYGPATH_W) '$(srcdir)/libfdisk/samples/mkpart-fullspec.c'; fi` + +libblkid/samples/sample_mkfs-mkfs.o: libblkid/samples/mkfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_mkfs_CFLAGS) $(CFLAGS) -MT libblkid/samples/sample_mkfs-mkfs.o -MD -MP -MF libblkid/samples/$(DEPDIR)/sample_mkfs-mkfs.Tpo -c -o libblkid/samples/sample_mkfs-mkfs.o `test -f 'libblkid/samples/mkfs.c' || echo '$(srcdir)/'`libblkid/samples/mkfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/samples/$(DEPDIR)/sample_mkfs-mkfs.Tpo libblkid/samples/$(DEPDIR)/sample_mkfs-mkfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/samples/mkfs.c' object='libblkid/samples/sample_mkfs-mkfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_mkfs_CFLAGS) $(CFLAGS) -c -o libblkid/samples/sample_mkfs-mkfs.o `test -f 'libblkid/samples/mkfs.c' || echo '$(srcdir)/'`libblkid/samples/mkfs.c + +libblkid/samples/sample_mkfs-mkfs.obj: libblkid/samples/mkfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_mkfs_CFLAGS) $(CFLAGS) -MT libblkid/samples/sample_mkfs-mkfs.obj -MD -MP -MF libblkid/samples/$(DEPDIR)/sample_mkfs-mkfs.Tpo -c -o libblkid/samples/sample_mkfs-mkfs.obj `if test -f 'libblkid/samples/mkfs.c'; then $(CYGPATH_W) 'libblkid/samples/mkfs.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/samples/mkfs.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/samples/$(DEPDIR)/sample_mkfs-mkfs.Tpo libblkid/samples/$(DEPDIR)/sample_mkfs-mkfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/samples/mkfs.c' object='libblkid/samples/sample_mkfs-mkfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_mkfs_CFLAGS) $(CFLAGS) -c -o libblkid/samples/sample_mkfs-mkfs.obj `if test -f 'libblkid/samples/mkfs.c'; then $(CYGPATH_W) 'libblkid/samples/mkfs.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/samples/mkfs.c'; fi` + +libblkid/samples/sample_partitions-partitions.o: libblkid/samples/partitions.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_partitions_CFLAGS) $(CFLAGS) -MT libblkid/samples/sample_partitions-partitions.o -MD -MP -MF libblkid/samples/$(DEPDIR)/sample_partitions-partitions.Tpo -c -o libblkid/samples/sample_partitions-partitions.o `test -f 'libblkid/samples/partitions.c' || echo '$(srcdir)/'`libblkid/samples/partitions.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/samples/$(DEPDIR)/sample_partitions-partitions.Tpo libblkid/samples/$(DEPDIR)/sample_partitions-partitions.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/samples/partitions.c' object='libblkid/samples/sample_partitions-partitions.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_partitions_CFLAGS) $(CFLAGS) -c -o libblkid/samples/sample_partitions-partitions.o `test -f 'libblkid/samples/partitions.c' || echo '$(srcdir)/'`libblkid/samples/partitions.c + +libblkid/samples/sample_partitions-partitions.obj: libblkid/samples/partitions.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_partitions_CFLAGS) $(CFLAGS) -MT libblkid/samples/sample_partitions-partitions.obj -MD -MP -MF libblkid/samples/$(DEPDIR)/sample_partitions-partitions.Tpo -c -o libblkid/samples/sample_partitions-partitions.obj `if test -f 'libblkid/samples/partitions.c'; then $(CYGPATH_W) 'libblkid/samples/partitions.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/samples/partitions.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/samples/$(DEPDIR)/sample_partitions-partitions.Tpo libblkid/samples/$(DEPDIR)/sample_partitions-partitions.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/samples/partitions.c' object='libblkid/samples/sample_partitions-partitions.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_partitions_CFLAGS) $(CFLAGS) -c -o libblkid/samples/sample_partitions-partitions.obj `if test -f 'libblkid/samples/partitions.c'; then $(CYGPATH_W) 'libblkid/samples/partitions.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/samples/partitions.c'; fi` + +libsmartcols/samples/sample_scols_continuous-continuous.o: libsmartcols/samples/continuous.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_continuous_CFLAGS) $(CFLAGS) -MT libsmartcols/samples/sample_scols_continuous-continuous.o -MD -MP -MF libsmartcols/samples/$(DEPDIR)/sample_scols_continuous-continuous.Tpo -c -o libsmartcols/samples/sample_scols_continuous-continuous.o `test -f 'libsmartcols/samples/continuous.c' || echo '$(srcdir)/'`libsmartcols/samples/continuous.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/samples/$(DEPDIR)/sample_scols_continuous-continuous.Tpo libsmartcols/samples/$(DEPDIR)/sample_scols_continuous-continuous.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/samples/continuous.c' object='libsmartcols/samples/sample_scols_continuous-continuous.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_continuous_CFLAGS) $(CFLAGS) -c -o libsmartcols/samples/sample_scols_continuous-continuous.o `test -f 'libsmartcols/samples/continuous.c' || echo '$(srcdir)/'`libsmartcols/samples/continuous.c + +libsmartcols/samples/sample_scols_continuous-continuous.obj: libsmartcols/samples/continuous.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_continuous_CFLAGS) $(CFLAGS) -MT libsmartcols/samples/sample_scols_continuous-continuous.obj -MD -MP -MF libsmartcols/samples/$(DEPDIR)/sample_scols_continuous-continuous.Tpo -c -o libsmartcols/samples/sample_scols_continuous-continuous.obj `if test -f 'libsmartcols/samples/continuous.c'; then $(CYGPATH_W) 'libsmartcols/samples/continuous.c'; else $(CYGPATH_W) '$(srcdir)/libsmartcols/samples/continuous.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/samples/$(DEPDIR)/sample_scols_continuous-continuous.Tpo libsmartcols/samples/$(DEPDIR)/sample_scols_continuous-continuous.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/samples/continuous.c' object='libsmartcols/samples/sample_scols_continuous-continuous.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_continuous_CFLAGS) $(CFLAGS) -c -o libsmartcols/samples/sample_scols_continuous-continuous.obj `if test -f 'libsmartcols/samples/continuous.c'; then $(CYGPATH_W) 'libsmartcols/samples/continuous.c'; else $(CYGPATH_W) '$(srcdir)/libsmartcols/samples/continuous.c'; fi` + +libsmartcols/samples/sample_scols_fromfile-fromfile.o: libsmartcols/samples/fromfile.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_fromfile_CFLAGS) $(CFLAGS) -MT libsmartcols/samples/sample_scols_fromfile-fromfile.o -MD -MP -MF libsmartcols/samples/$(DEPDIR)/sample_scols_fromfile-fromfile.Tpo -c -o libsmartcols/samples/sample_scols_fromfile-fromfile.o `test -f 'libsmartcols/samples/fromfile.c' || echo '$(srcdir)/'`libsmartcols/samples/fromfile.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/samples/$(DEPDIR)/sample_scols_fromfile-fromfile.Tpo libsmartcols/samples/$(DEPDIR)/sample_scols_fromfile-fromfile.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/samples/fromfile.c' object='libsmartcols/samples/sample_scols_fromfile-fromfile.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_fromfile_CFLAGS) $(CFLAGS) -c -o libsmartcols/samples/sample_scols_fromfile-fromfile.o `test -f 'libsmartcols/samples/fromfile.c' || echo '$(srcdir)/'`libsmartcols/samples/fromfile.c + +libsmartcols/samples/sample_scols_fromfile-fromfile.obj: libsmartcols/samples/fromfile.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_fromfile_CFLAGS) $(CFLAGS) -MT libsmartcols/samples/sample_scols_fromfile-fromfile.obj -MD -MP -MF libsmartcols/samples/$(DEPDIR)/sample_scols_fromfile-fromfile.Tpo -c -o libsmartcols/samples/sample_scols_fromfile-fromfile.obj `if test -f 'libsmartcols/samples/fromfile.c'; then $(CYGPATH_W) 'libsmartcols/samples/fromfile.c'; else $(CYGPATH_W) '$(srcdir)/libsmartcols/samples/fromfile.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/samples/$(DEPDIR)/sample_scols_fromfile-fromfile.Tpo libsmartcols/samples/$(DEPDIR)/sample_scols_fromfile-fromfile.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/samples/fromfile.c' object='libsmartcols/samples/sample_scols_fromfile-fromfile.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_fromfile_CFLAGS) $(CFLAGS) -c -o libsmartcols/samples/sample_scols_fromfile-fromfile.obj `if test -f 'libsmartcols/samples/fromfile.c'; then $(CYGPATH_W) 'libsmartcols/samples/fromfile.c'; else $(CYGPATH_W) '$(srcdir)/libsmartcols/samples/fromfile.c'; fi` + +libsmartcols/samples/sample_scols_maxout-maxout.o: libsmartcols/samples/maxout.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_maxout_CFLAGS) $(CFLAGS) -MT libsmartcols/samples/sample_scols_maxout-maxout.o -MD -MP -MF libsmartcols/samples/$(DEPDIR)/sample_scols_maxout-maxout.Tpo -c -o libsmartcols/samples/sample_scols_maxout-maxout.o `test -f 'libsmartcols/samples/maxout.c' || echo '$(srcdir)/'`libsmartcols/samples/maxout.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/samples/$(DEPDIR)/sample_scols_maxout-maxout.Tpo libsmartcols/samples/$(DEPDIR)/sample_scols_maxout-maxout.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/samples/maxout.c' object='libsmartcols/samples/sample_scols_maxout-maxout.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_maxout_CFLAGS) $(CFLAGS) -c -o libsmartcols/samples/sample_scols_maxout-maxout.o `test -f 'libsmartcols/samples/maxout.c' || echo '$(srcdir)/'`libsmartcols/samples/maxout.c + +libsmartcols/samples/sample_scols_maxout-maxout.obj: libsmartcols/samples/maxout.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_maxout_CFLAGS) $(CFLAGS) -MT libsmartcols/samples/sample_scols_maxout-maxout.obj -MD -MP -MF libsmartcols/samples/$(DEPDIR)/sample_scols_maxout-maxout.Tpo -c -o libsmartcols/samples/sample_scols_maxout-maxout.obj `if test -f 'libsmartcols/samples/maxout.c'; then $(CYGPATH_W) 'libsmartcols/samples/maxout.c'; else $(CYGPATH_W) '$(srcdir)/libsmartcols/samples/maxout.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/samples/$(DEPDIR)/sample_scols_maxout-maxout.Tpo libsmartcols/samples/$(DEPDIR)/sample_scols_maxout-maxout.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/samples/maxout.c' object='libsmartcols/samples/sample_scols_maxout-maxout.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_maxout_CFLAGS) $(CFLAGS) -c -o libsmartcols/samples/sample_scols_maxout-maxout.obj `if test -f 'libsmartcols/samples/maxout.c'; then $(CYGPATH_W) 'libsmartcols/samples/maxout.c'; else $(CYGPATH_W) '$(srcdir)/libsmartcols/samples/maxout.c'; fi` + +libsmartcols/samples/sample_scols_title-title.o: libsmartcols/samples/title.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_title_CFLAGS) $(CFLAGS) -MT libsmartcols/samples/sample_scols_title-title.o -MD -MP -MF libsmartcols/samples/$(DEPDIR)/sample_scols_title-title.Tpo -c -o libsmartcols/samples/sample_scols_title-title.o `test -f 'libsmartcols/samples/title.c' || echo '$(srcdir)/'`libsmartcols/samples/title.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/samples/$(DEPDIR)/sample_scols_title-title.Tpo libsmartcols/samples/$(DEPDIR)/sample_scols_title-title.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/samples/title.c' object='libsmartcols/samples/sample_scols_title-title.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_title_CFLAGS) $(CFLAGS) -c -o libsmartcols/samples/sample_scols_title-title.o `test -f 'libsmartcols/samples/title.c' || echo '$(srcdir)/'`libsmartcols/samples/title.c + +libsmartcols/samples/sample_scols_title-title.obj: libsmartcols/samples/title.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_title_CFLAGS) $(CFLAGS) -MT libsmartcols/samples/sample_scols_title-title.obj -MD -MP -MF libsmartcols/samples/$(DEPDIR)/sample_scols_title-title.Tpo -c -o libsmartcols/samples/sample_scols_title-title.obj `if test -f 'libsmartcols/samples/title.c'; then $(CYGPATH_W) 'libsmartcols/samples/title.c'; else $(CYGPATH_W) '$(srcdir)/libsmartcols/samples/title.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/samples/$(DEPDIR)/sample_scols_title-title.Tpo libsmartcols/samples/$(DEPDIR)/sample_scols_title-title.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/samples/title.c' object='libsmartcols/samples/sample_scols_title-title.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_title_CFLAGS) $(CFLAGS) -c -o libsmartcols/samples/sample_scols_title-title.obj `if test -f 'libsmartcols/samples/title.c'; then $(CYGPATH_W) 'libsmartcols/samples/title.c'; else $(CYGPATH_W) '$(srcdir)/libsmartcols/samples/title.c'; fi` + +libsmartcols/samples/sample_scols_tree-tree.o: libsmartcols/samples/tree.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_tree_CFLAGS) $(CFLAGS) -MT libsmartcols/samples/sample_scols_tree-tree.o -MD -MP -MF libsmartcols/samples/$(DEPDIR)/sample_scols_tree-tree.Tpo -c -o libsmartcols/samples/sample_scols_tree-tree.o `test -f 'libsmartcols/samples/tree.c' || echo '$(srcdir)/'`libsmartcols/samples/tree.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/samples/$(DEPDIR)/sample_scols_tree-tree.Tpo libsmartcols/samples/$(DEPDIR)/sample_scols_tree-tree.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/samples/tree.c' object='libsmartcols/samples/sample_scols_tree-tree.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_tree_CFLAGS) $(CFLAGS) -c -o libsmartcols/samples/sample_scols_tree-tree.o `test -f 'libsmartcols/samples/tree.c' || echo '$(srcdir)/'`libsmartcols/samples/tree.c + +libsmartcols/samples/sample_scols_tree-tree.obj: libsmartcols/samples/tree.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_tree_CFLAGS) $(CFLAGS) -MT libsmartcols/samples/sample_scols_tree-tree.obj -MD -MP -MF libsmartcols/samples/$(DEPDIR)/sample_scols_tree-tree.Tpo -c -o libsmartcols/samples/sample_scols_tree-tree.obj `if test -f 'libsmartcols/samples/tree.c'; then $(CYGPATH_W) 'libsmartcols/samples/tree.c'; else $(CYGPATH_W) '$(srcdir)/libsmartcols/samples/tree.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/samples/$(DEPDIR)/sample_scols_tree-tree.Tpo libsmartcols/samples/$(DEPDIR)/sample_scols_tree-tree.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/samples/tree.c' object='libsmartcols/samples/sample_scols_tree-tree.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_tree_CFLAGS) $(CFLAGS) -c -o libsmartcols/samples/sample_scols_tree-tree.obj `if test -f 'libsmartcols/samples/tree.c'; then $(CYGPATH_W) 'libsmartcols/samples/tree.c'; else $(CYGPATH_W) '$(srcdir)/libsmartcols/samples/tree.c'; fi` + +libsmartcols/samples/sample_scols_wrap-wrap.o: libsmartcols/samples/wrap.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_wrap_CFLAGS) $(CFLAGS) -MT libsmartcols/samples/sample_scols_wrap-wrap.o -MD -MP -MF libsmartcols/samples/$(DEPDIR)/sample_scols_wrap-wrap.Tpo -c -o libsmartcols/samples/sample_scols_wrap-wrap.o `test -f 'libsmartcols/samples/wrap.c' || echo '$(srcdir)/'`libsmartcols/samples/wrap.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/samples/$(DEPDIR)/sample_scols_wrap-wrap.Tpo libsmartcols/samples/$(DEPDIR)/sample_scols_wrap-wrap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/samples/wrap.c' object='libsmartcols/samples/sample_scols_wrap-wrap.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_wrap_CFLAGS) $(CFLAGS) -c -o libsmartcols/samples/sample_scols_wrap-wrap.o `test -f 'libsmartcols/samples/wrap.c' || echo '$(srcdir)/'`libsmartcols/samples/wrap.c + +libsmartcols/samples/sample_scols_wrap-wrap.obj: libsmartcols/samples/wrap.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_wrap_CFLAGS) $(CFLAGS) -MT libsmartcols/samples/sample_scols_wrap-wrap.obj -MD -MP -MF libsmartcols/samples/$(DEPDIR)/sample_scols_wrap-wrap.Tpo -c -o libsmartcols/samples/sample_scols_wrap-wrap.obj `if test -f 'libsmartcols/samples/wrap.c'; then $(CYGPATH_W) 'libsmartcols/samples/wrap.c'; else $(CYGPATH_W) '$(srcdir)/libsmartcols/samples/wrap.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libsmartcols/samples/$(DEPDIR)/sample_scols_wrap-wrap.Tpo libsmartcols/samples/$(DEPDIR)/sample_scols_wrap-wrap.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libsmartcols/samples/wrap.c' object='libsmartcols/samples/sample_scols_wrap-wrap.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_scols_wrap_CFLAGS) $(CFLAGS) -c -o libsmartcols/samples/sample_scols_wrap-wrap.obj `if test -f 'libsmartcols/samples/wrap.c'; then $(CYGPATH_W) 'libsmartcols/samples/wrap.c'; else $(CYGPATH_W) '$(srcdir)/libsmartcols/samples/wrap.c'; fi` + +libblkid/samples/sample_superblocks-superblocks.o: libblkid/samples/superblocks.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_superblocks_CFLAGS) $(CFLAGS) -MT libblkid/samples/sample_superblocks-superblocks.o -MD -MP -MF libblkid/samples/$(DEPDIR)/sample_superblocks-superblocks.Tpo -c -o libblkid/samples/sample_superblocks-superblocks.o `test -f 'libblkid/samples/superblocks.c' || echo '$(srcdir)/'`libblkid/samples/superblocks.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/samples/$(DEPDIR)/sample_superblocks-superblocks.Tpo libblkid/samples/$(DEPDIR)/sample_superblocks-superblocks.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/samples/superblocks.c' object='libblkid/samples/sample_superblocks-superblocks.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_superblocks_CFLAGS) $(CFLAGS) -c -o libblkid/samples/sample_superblocks-superblocks.o `test -f 'libblkid/samples/superblocks.c' || echo '$(srcdir)/'`libblkid/samples/superblocks.c + +libblkid/samples/sample_superblocks-superblocks.obj: libblkid/samples/superblocks.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_superblocks_CFLAGS) $(CFLAGS) -MT libblkid/samples/sample_superblocks-superblocks.obj -MD -MP -MF libblkid/samples/$(DEPDIR)/sample_superblocks-superblocks.Tpo -c -o libblkid/samples/sample_superblocks-superblocks.obj `if test -f 'libblkid/samples/superblocks.c'; then $(CYGPATH_W) 'libblkid/samples/superblocks.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/samples/superblocks.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/samples/$(DEPDIR)/sample_superblocks-superblocks.Tpo libblkid/samples/$(DEPDIR)/sample_superblocks-superblocks.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/samples/superblocks.c' object='libblkid/samples/sample_superblocks-superblocks.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_superblocks_CFLAGS) $(CFLAGS) -c -o libblkid/samples/sample_superblocks-superblocks.obj `if test -f 'libblkid/samples/superblocks.c'; then $(CYGPATH_W) 'libblkid/samples/superblocks.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/samples/superblocks.c'; fi` + +libblkid/samples/sample_topology-topology.o: libblkid/samples/topology.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_topology_CFLAGS) $(CFLAGS) -MT libblkid/samples/sample_topology-topology.o -MD -MP -MF libblkid/samples/$(DEPDIR)/sample_topology-topology.Tpo -c -o libblkid/samples/sample_topology-topology.o `test -f 'libblkid/samples/topology.c' || echo '$(srcdir)/'`libblkid/samples/topology.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/samples/$(DEPDIR)/sample_topology-topology.Tpo libblkid/samples/$(DEPDIR)/sample_topology-topology.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/samples/topology.c' object='libblkid/samples/sample_topology-topology.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_topology_CFLAGS) $(CFLAGS) -c -o libblkid/samples/sample_topology-topology.o `test -f 'libblkid/samples/topology.c' || echo '$(srcdir)/'`libblkid/samples/topology.c + +libblkid/samples/sample_topology-topology.obj: libblkid/samples/topology.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_topology_CFLAGS) $(CFLAGS) -MT libblkid/samples/sample_topology-topology.obj -MD -MP -MF libblkid/samples/$(DEPDIR)/sample_topology-topology.Tpo -c -o libblkid/samples/sample_topology-topology.obj `if test -f 'libblkid/samples/topology.c'; then $(CYGPATH_W) 'libblkid/samples/topology.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/samples/topology.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/samples/$(DEPDIR)/sample_topology-topology.Tpo libblkid/samples/$(DEPDIR)/sample_topology-topology.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/samples/topology.c' object='libblkid/samples/sample_topology-topology.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sample_topology_CFLAGS) $(CFLAGS) -c -o libblkid/samples/sample_topology-topology.obj `if test -f 'libblkid/samples/topology.c'; then $(CYGPATH_W) 'libblkid/samples/topology.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/samples/topology.c'; fi` + +term-utils/script-script.o: term-utils/script.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(script_CFLAGS) $(CFLAGS) -MT term-utils/script-script.o -MD -MP -MF term-utils/$(DEPDIR)/script-script.Tpo -c -o term-utils/script-script.o `test -f 'term-utils/script.c' || echo '$(srcdir)/'`term-utils/script.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) term-utils/$(DEPDIR)/script-script.Tpo term-utils/$(DEPDIR)/script-script.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='term-utils/script.c' object='term-utils/script-script.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(script_CFLAGS) $(CFLAGS) -c -o term-utils/script-script.o `test -f 'term-utils/script.c' || echo '$(srcdir)/'`term-utils/script.c + +term-utils/script-script.obj: term-utils/script.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(script_CFLAGS) $(CFLAGS) -MT term-utils/script-script.obj -MD -MP -MF term-utils/$(DEPDIR)/script-script.Tpo -c -o term-utils/script-script.obj `if test -f 'term-utils/script.c'; then $(CYGPATH_W) 'term-utils/script.c'; else $(CYGPATH_W) '$(srcdir)/term-utils/script.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) term-utils/$(DEPDIR)/script-script.Tpo term-utils/$(DEPDIR)/script-script.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='term-utils/script.c' object='term-utils/script-script.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(script_CFLAGS) $(CFLAGS) -c -o term-utils/script-script.obj `if test -f 'term-utils/script.c'; then $(CYGPATH_W) 'term-utils/script.c'; else $(CYGPATH_W) '$(srcdir)/term-utils/script.c'; fi` + +lib/script-monotonic.o: lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(script_CFLAGS) $(CFLAGS) -MT lib/script-monotonic.o -MD -MP -MF lib/$(DEPDIR)/script-monotonic.Tpo -c -o lib/script-monotonic.o `test -f 'lib/monotonic.c' || echo '$(srcdir)/'`lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/script-monotonic.Tpo lib/$(DEPDIR)/script-monotonic.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/monotonic.c' object='lib/script-monotonic.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(script_CFLAGS) $(CFLAGS) -c -o lib/script-monotonic.o `test -f 'lib/monotonic.c' || echo '$(srcdir)/'`lib/monotonic.c + +lib/script-monotonic.obj: lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(script_CFLAGS) $(CFLAGS) -MT lib/script-monotonic.obj -MD -MP -MF lib/$(DEPDIR)/script-monotonic.Tpo -c -o lib/script-monotonic.obj `if test -f 'lib/monotonic.c'; then $(CYGPATH_W) 'lib/monotonic.c'; else $(CYGPATH_W) '$(srcdir)/lib/monotonic.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/script-monotonic.Tpo lib/$(DEPDIR)/script-monotonic.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/monotonic.c' object='lib/script-monotonic.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(script_CFLAGS) $(CFLAGS) -c -o lib/script-monotonic.obj `if test -f 'lib/monotonic.c'; then $(CYGPATH_W) 'lib/monotonic.c'; else $(CYGPATH_W) '$(srcdir)/lib/monotonic.c'; fi` + +term-utils/setterm-setterm.o: term-utils/setterm.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(setterm_CFLAGS) $(CFLAGS) -MT term-utils/setterm-setterm.o -MD -MP -MF term-utils/$(DEPDIR)/setterm-setterm.Tpo -c -o term-utils/setterm-setterm.o `test -f 'term-utils/setterm.c' || echo '$(srcdir)/'`term-utils/setterm.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) term-utils/$(DEPDIR)/setterm-setterm.Tpo term-utils/$(DEPDIR)/setterm-setterm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='term-utils/setterm.c' object='term-utils/setterm-setterm.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(setterm_CFLAGS) $(CFLAGS) -c -o term-utils/setterm-setterm.o `test -f 'term-utils/setterm.c' || echo '$(srcdir)/'`term-utils/setterm.c + +term-utils/setterm-setterm.obj: term-utils/setterm.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(setterm_CFLAGS) $(CFLAGS) -MT term-utils/setterm-setterm.obj -MD -MP -MF term-utils/$(DEPDIR)/setterm-setterm.Tpo -c -o term-utils/setterm-setterm.obj `if test -f 'term-utils/setterm.c'; then $(CYGPATH_W) 'term-utils/setterm.c'; else $(CYGPATH_W) '$(srcdir)/term-utils/setterm.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) term-utils/$(DEPDIR)/setterm-setterm.Tpo term-utils/$(DEPDIR)/setterm-setterm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='term-utils/setterm.c' object='term-utils/setterm-setterm.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(setterm_CFLAGS) $(CFLAGS) -c -o term-utils/setterm-setterm.obj `if test -f 'term-utils/setterm.c'; then $(CYGPATH_W) 'term-utils/setterm.c'; else $(CYGPATH_W) '$(srcdir)/term-utils/setterm.c'; fi` + +disk-utils/sfdisk-sfdisk.o: disk-utils/sfdisk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfdisk_CFLAGS) $(CFLAGS) -MT disk-utils/sfdisk-sfdisk.o -MD -MP -MF disk-utils/$(DEPDIR)/sfdisk-sfdisk.Tpo -c -o disk-utils/sfdisk-sfdisk.o `test -f 'disk-utils/sfdisk.c' || echo '$(srcdir)/'`disk-utils/sfdisk.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/sfdisk-sfdisk.Tpo disk-utils/$(DEPDIR)/sfdisk-sfdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/sfdisk.c' object='disk-utils/sfdisk-sfdisk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfdisk_CFLAGS) $(CFLAGS) -c -o disk-utils/sfdisk-sfdisk.o `test -f 'disk-utils/sfdisk.c' || echo '$(srcdir)/'`disk-utils/sfdisk.c + +disk-utils/sfdisk-sfdisk.obj: disk-utils/sfdisk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfdisk_CFLAGS) $(CFLAGS) -MT disk-utils/sfdisk-sfdisk.obj -MD -MP -MF disk-utils/$(DEPDIR)/sfdisk-sfdisk.Tpo -c -o disk-utils/sfdisk-sfdisk.obj `if test -f 'disk-utils/sfdisk.c'; then $(CYGPATH_W) 'disk-utils/sfdisk.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/sfdisk.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/sfdisk-sfdisk.Tpo disk-utils/$(DEPDIR)/sfdisk-sfdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/sfdisk.c' object='disk-utils/sfdisk-sfdisk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfdisk_CFLAGS) $(CFLAGS) -c -o disk-utils/sfdisk-sfdisk.obj `if test -f 'disk-utils/sfdisk.c'; then $(CYGPATH_W) 'disk-utils/sfdisk.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/sfdisk.c'; fi` + +disk-utils/sfdisk-fdisk-list.o: disk-utils/fdisk-list.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfdisk_CFLAGS) $(CFLAGS) -MT disk-utils/sfdisk-fdisk-list.o -MD -MP -MF disk-utils/$(DEPDIR)/sfdisk-fdisk-list.Tpo -c -o disk-utils/sfdisk-fdisk-list.o `test -f 'disk-utils/fdisk-list.c' || echo '$(srcdir)/'`disk-utils/fdisk-list.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/sfdisk-fdisk-list.Tpo disk-utils/$(DEPDIR)/sfdisk-fdisk-list.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/fdisk-list.c' object='disk-utils/sfdisk-fdisk-list.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfdisk_CFLAGS) $(CFLAGS) -c -o disk-utils/sfdisk-fdisk-list.o `test -f 'disk-utils/fdisk-list.c' || echo '$(srcdir)/'`disk-utils/fdisk-list.c + +disk-utils/sfdisk-fdisk-list.obj: disk-utils/fdisk-list.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfdisk_CFLAGS) $(CFLAGS) -MT disk-utils/sfdisk-fdisk-list.obj -MD -MP -MF disk-utils/$(DEPDIR)/sfdisk-fdisk-list.Tpo -c -o disk-utils/sfdisk-fdisk-list.obj `if test -f 'disk-utils/fdisk-list.c'; then $(CYGPATH_W) 'disk-utils/fdisk-list.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/fdisk-list.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/sfdisk-fdisk-list.Tpo disk-utils/$(DEPDIR)/sfdisk-fdisk-list.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/fdisk-list.c' object='disk-utils/sfdisk-fdisk-list.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfdisk_CFLAGS) $(CFLAGS) -c -o disk-utils/sfdisk-fdisk-list.obj `if test -f 'disk-utils/fdisk-list.c'; then $(CYGPATH_W) 'disk-utils/fdisk-list.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/fdisk-list.c'; fi` + +disk-utils/sfdisk_static-sfdisk.o: disk-utils/sfdisk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfdisk_static_CFLAGS) $(CFLAGS) -MT disk-utils/sfdisk_static-sfdisk.o -MD -MP -MF disk-utils/$(DEPDIR)/sfdisk_static-sfdisk.Tpo -c -o disk-utils/sfdisk_static-sfdisk.o `test -f 'disk-utils/sfdisk.c' || echo '$(srcdir)/'`disk-utils/sfdisk.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/sfdisk_static-sfdisk.Tpo disk-utils/$(DEPDIR)/sfdisk_static-sfdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/sfdisk.c' object='disk-utils/sfdisk_static-sfdisk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfdisk_static_CFLAGS) $(CFLAGS) -c -o disk-utils/sfdisk_static-sfdisk.o `test -f 'disk-utils/sfdisk.c' || echo '$(srcdir)/'`disk-utils/sfdisk.c + +disk-utils/sfdisk_static-sfdisk.obj: disk-utils/sfdisk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfdisk_static_CFLAGS) $(CFLAGS) -MT disk-utils/sfdisk_static-sfdisk.obj -MD -MP -MF disk-utils/$(DEPDIR)/sfdisk_static-sfdisk.Tpo -c -o disk-utils/sfdisk_static-sfdisk.obj `if test -f 'disk-utils/sfdisk.c'; then $(CYGPATH_W) 'disk-utils/sfdisk.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/sfdisk.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/sfdisk_static-sfdisk.Tpo disk-utils/$(DEPDIR)/sfdisk_static-sfdisk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/sfdisk.c' object='disk-utils/sfdisk_static-sfdisk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfdisk_static_CFLAGS) $(CFLAGS) -c -o disk-utils/sfdisk_static-sfdisk.obj `if test -f 'disk-utils/sfdisk.c'; then $(CYGPATH_W) 'disk-utils/sfdisk.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/sfdisk.c'; fi` + +disk-utils/sfdisk_static-fdisk-list.o: disk-utils/fdisk-list.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfdisk_static_CFLAGS) $(CFLAGS) -MT disk-utils/sfdisk_static-fdisk-list.o -MD -MP -MF disk-utils/$(DEPDIR)/sfdisk_static-fdisk-list.Tpo -c -o disk-utils/sfdisk_static-fdisk-list.o `test -f 'disk-utils/fdisk-list.c' || echo '$(srcdir)/'`disk-utils/fdisk-list.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/sfdisk_static-fdisk-list.Tpo disk-utils/$(DEPDIR)/sfdisk_static-fdisk-list.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/fdisk-list.c' object='disk-utils/sfdisk_static-fdisk-list.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfdisk_static_CFLAGS) $(CFLAGS) -c -o disk-utils/sfdisk_static-fdisk-list.o `test -f 'disk-utils/fdisk-list.c' || echo '$(srcdir)/'`disk-utils/fdisk-list.c + +disk-utils/sfdisk_static-fdisk-list.obj: disk-utils/fdisk-list.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfdisk_static_CFLAGS) $(CFLAGS) -MT disk-utils/sfdisk_static-fdisk-list.obj -MD -MP -MF disk-utils/$(DEPDIR)/sfdisk_static-fdisk-list.Tpo -c -o disk-utils/sfdisk_static-fdisk-list.obj `if test -f 'disk-utils/fdisk-list.c'; then $(CYGPATH_W) 'disk-utils/fdisk-list.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/fdisk-list.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/sfdisk_static-fdisk-list.Tpo disk-utils/$(DEPDIR)/sfdisk_static-fdisk-list.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/fdisk-list.c' object='disk-utils/sfdisk_static-fdisk-list.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sfdisk_static_CFLAGS) $(CFLAGS) -c -o disk-utils/sfdisk_static-fdisk-list.obj `if test -f 'disk-utils/fdisk-list.c'; then $(CYGPATH_W) 'disk-utils/fdisk-list.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/fdisk-list.c'; fi` + +login-utils/su-su.o: login-utils/su.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(su_CFLAGS) $(CFLAGS) -MT login-utils/su-su.o -MD -MP -MF login-utils/$(DEPDIR)/su-su.Tpo -c -o login-utils/su-su.o `test -f 'login-utils/su.c' || echo '$(srcdir)/'`login-utils/su.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/su-su.Tpo login-utils/$(DEPDIR)/su-su.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/su.c' object='login-utils/su-su.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(su_CFLAGS) $(CFLAGS) -c -o login-utils/su-su.o `test -f 'login-utils/su.c' || echo '$(srcdir)/'`login-utils/su.c + +login-utils/su-su.obj: login-utils/su.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(su_CFLAGS) $(CFLAGS) -MT login-utils/su-su.obj -MD -MP -MF login-utils/$(DEPDIR)/su-su.Tpo -c -o login-utils/su-su.obj `if test -f 'login-utils/su.c'; then $(CYGPATH_W) 'login-utils/su.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/su.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/su-su.Tpo login-utils/$(DEPDIR)/su-su.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/su.c' object='login-utils/su-su.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(su_CFLAGS) $(CFLAGS) -c -o login-utils/su-su.obj `if test -f 'login-utils/su.c'; then $(CYGPATH_W) 'login-utils/su.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/su.c'; fi` + +login-utils/su-su-common.o: login-utils/su-common.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(su_CFLAGS) $(CFLAGS) -MT login-utils/su-su-common.o -MD -MP -MF login-utils/$(DEPDIR)/su-su-common.Tpo -c -o login-utils/su-su-common.o `test -f 'login-utils/su-common.c' || echo '$(srcdir)/'`login-utils/su-common.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/su-su-common.Tpo login-utils/$(DEPDIR)/su-su-common.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/su-common.c' object='login-utils/su-su-common.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(su_CFLAGS) $(CFLAGS) -c -o login-utils/su-su-common.o `test -f 'login-utils/su-common.c' || echo '$(srcdir)/'`login-utils/su-common.c + +login-utils/su-su-common.obj: login-utils/su-common.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(su_CFLAGS) $(CFLAGS) -MT login-utils/su-su-common.obj -MD -MP -MF login-utils/$(DEPDIR)/su-su-common.Tpo -c -o login-utils/su-su-common.obj `if test -f 'login-utils/su-common.c'; then $(CYGPATH_W) 'login-utils/su-common.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/su-common.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/su-su-common.Tpo login-utils/$(DEPDIR)/su-su-common.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/su-common.c' object='login-utils/su-su-common.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(su_CFLAGS) $(CFLAGS) -c -o login-utils/su-su-common.obj `if test -f 'login-utils/su-common.c'; then $(CYGPATH_W) 'login-utils/su-common.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/su-common.c'; fi` + +login-utils/su-logindefs.o: login-utils/logindefs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(su_CFLAGS) $(CFLAGS) -MT login-utils/su-logindefs.o -MD -MP -MF login-utils/$(DEPDIR)/su-logindefs.Tpo -c -o login-utils/su-logindefs.o `test -f 'login-utils/logindefs.c' || echo '$(srcdir)/'`login-utils/logindefs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/su-logindefs.Tpo login-utils/$(DEPDIR)/su-logindefs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/logindefs.c' object='login-utils/su-logindefs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(su_CFLAGS) $(CFLAGS) -c -o login-utils/su-logindefs.o `test -f 'login-utils/logindefs.c' || echo '$(srcdir)/'`login-utils/logindefs.c + +login-utils/su-logindefs.obj: login-utils/logindefs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(su_CFLAGS) $(CFLAGS) -MT login-utils/su-logindefs.obj -MD -MP -MF login-utils/$(DEPDIR)/su-logindefs.Tpo -c -o login-utils/su-logindefs.obj `if test -f 'login-utils/logindefs.c'; then $(CYGPATH_W) 'login-utils/logindefs.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/logindefs.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/su-logindefs.Tpo login-utils/$(DEPDIR)/su-logindefs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/logindefs.c' object='login-utils/su-logindefs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(su_CFLAGS) $(CFLAGS) -c -o login-utils/su-logindefs.obj `if test -f 'login-utils/logindefs.c'; then $(CYGPATH_W) 'login-utils/logindefs.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/logindefs.c'; fi` + +disk-utils/swaplabel-swaplabel.o: disk-utils/swaplabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swaplabel_CFLAGS) $(CFLAGS) -MT disk-utils/swaplabel-swaplabel.o -MD -MP -MF disk-utils/$(DEPDIR)/swaplabel-swaplabel.Tpo -c -o disk-utils/swaplabel-swaplabel.o `test -f 'disk-utils/swaplabel.c' || echo '$(srcdir)/'`disk-utils/swaplabel.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/swaplabel-swaplabel.Tpo disk-utils/$(DEPDIR)/swaplabel-swaplabel.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/swaplabel.c' object='disk-utils/swaplabel-swaplabel.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swaplabel_CFLAGS) $(CFLAGS) -c -o disk-utils/swaplabel-swaplabel.o `test -f 'disk-utils/swaplabel.c' || echo '$(srcdir)/'`disk-utils/swaplabel.c + +disk-utils/swaplabel-swaplabel.obj: disk-utils/swaplabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swaplabel_CFLAGS) $(CFLAGS) -MT disk-utils/swaplabel-swaplabel.obj -MD -MP -MF disk-utils/$(DEPDIR)/swaplabel-swaplabel.Tpo -c -o disk-utils/swaplabel-swaplabel.obj `if test -f 'disk-utils/swaplabel.c'; then $(CYGPATH_W) 'disk-utils/swaplabel.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/swaplabel.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/swaplabel-swaplabel.Tpo disk-utils/$(DEPDIR)/swaplabel-swaplabel.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/swaplabel.c' object='disk-utils/swaplabel-swaplabel.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swaplabel_CFLAGS) $(CFLAGS) -c -o disk-utils/swaplabel-swaplabel.obj `if test -f 'disk-utils/swaplabel.c'; then $(CYGPATH_W) 'disk-utils/swaplabel.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/swaplabel.c'; fi` + +lib/swaplabel-swapprober.o: lib/swapprober.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swaplabel_CFLAGS) $(CFLAGS) -MT lib/swaplabel-swapprober.o -MD -MP -MF lib/$(DEPDIR)/swaplabel-swapprober.Tpo -c -o lib/swaplabel-swapprober.o `test -f 'lib/swapprober.c' || echo '$(srcdir)/'`lib/swapprober.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/swaplabel-swapprober.Tpo lib/$(DEPDIR)/swaplabel-swapprober.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/swapprober.c' object='lib/swaplabel-swapprober.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swaplabel_CFLAGS) $(CFLAGS) -c -o lib/swaplabel-swapprober.o `test -f 'lib/swapprober.c' || echo '$(srcdir)/'`lib/swapprober.c + +lib/swaplabel-swapprober.obj: lib/swapprober.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swaplabel_CFLAGS) $(CFLAGS) -MT lib/swaplabel-swapprober.obj -MD -MP -MF lib/$(DEPDIR)/swaplabel-swapprober.Tpo -c -o lib/swaplabel-swapprober.obj `if test -f 'lib/swapprober.c'; then $(CYGPATH_W) 'lib/swapprober.c'; else $(CYGPATH_W) '$(srcdir)/lib/swapprober.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/swaplabel-swapprober.Tpo lib/$(DEPDIR)/swaplabel-swapprober.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/swapprober.c' object='lib/swaplabel-swapprober.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swaplabel_CFLAGS) $(CFLAGS) -c -o lib/swaplabel-swapprober.obj `if test -f 'lib/swapprober.c'; then $(CYGPATH_W) 'lib/swapprober.c'; else $(CYGPATH_W) '$(srcdir)/lib/swapprober.c'; fi` + +sys-utils/swapoff-swapoff.o: sys-utils/swapoff.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapoff_CFLAGS) $(CFLAGS) -MT sys-utils/swapoff-swapoff.o -MD -MP -MF sys-utils/$(DEPDIR)/swapoff-swapoff.Tpo -c -o sys-utils/swapoff-swapoff.o `test -f 'sys-utils/swapoff.c' || echo '$(srcdir)/'`sys-utils/swapoff.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/swapoff-swapoff.Tpo sys-utils/$(DEPDIR)/swapoff-swapoff.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/swapoff.c' object='sys-utils/swapoff-swapoff.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapoff_CFLAGS) $(CFLAGS) -c -o sys-utils/swapoff-swapoff.o `test -f 'sys-utils/swapoff.c' || echo '$(srcdir)/'`sys-utils/swapoff.c + +sys-utils/swapoff-swapoff.obj: sys-utils/swapoff.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapoff_CFLAGS) $(CFLAGS) -MT sys-utils/swapoff-swapoff.obj -MD -MP -MF sys-utils/$(DEPDIR)/swapoff-swapoff.Tpo -c -o sys-utils/swapoff-swapoff.obj `if test -f 'sys-utils/swapoff.c'; then $(CYGPATH_W) 'sys-utils/swapoff.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/swapoff.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/swapoff-swapoff.Tpo sys-utils/$(DEPDIR)/swapoff-swapoff.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/swapoff.c' object='sys-utils/swapoff-swapoff.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapoff_CFLAGS) $(CFLAGS) -c -o sys-utils/swapoff-swapoff.obj `if test -f 'sys-utils/swapoff.c'; then $(CYGPATH_W) 'sys-utils/swapoff.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/swapoff.c'; fi` + +sys-utils/swapoff-swapon-common.o: sys-utils/swapon-common.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapoff_CFLAGS) $(CFLAGS) -MT sys-utils/swapoff-swapon-common.o -MD -MP -MF sys-utils/$(DEPDIR)/swapoff-swapon-common.Tpo -c -o sys-utils/swapoff-swapon-common.o `test -f 'sys-utils/swapon-common.c' || echo '$(srcdir)/'`sys-utils/swapon-common.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/swapoff-swapon-common.Tpo sys-utils/$(DEPDIR)/swapoff-swapon-common.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/swapon-common.c' object='sys-utils/swapoff-swapon-common.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapoff_CFLAGS) $(CFLAGS) -c -o sys-utils/swapoff-swapon-common.o `test -f 'sys-utils/swapon-common.c' || echo '$(srcdir)/'`sys-utils/swapon-common.c + +sys-utils/swapoff-swapon-common.obj: sys-utils/swapon-common.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapoff_CFLAGS) $(CFLAGS) -MT sys-utils/swapoff-swapon-common.obj -MD -MP -MF sys-utils/$(DEPDIR)/swapoff-swapon-common.Tpo -c -o sys-utils/swapoff-swapon-common.obj `if test -f 'sys-utils/swapon-common.c'; then $(CYGPATH_W) 'sys-utils/swapon-common.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/swapon-common.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/swapoff-swapon-common.Tpo sys-utils/$(DEPDIR)/swapoff-swapon-common.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/swapon-common.c' object='sys-utils/swapoff-swapon-common.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapoff_CFLAGS) $(CFLAGS) -c -o sys-utils/swapoff-swapon-common.obj `if test -f 'sys-utils/swapon-common.c'; then $(CYGPATH_W) 'sys-utils/swapon-common.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/swapon-common.c'; fi` + +lib/swapoff-swapprober.o: lib/swapprober.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapoff_CFLAGS) $(CFLAGS) -MT lib/swapoff-swapprober.o -MD -MP -MF lib/$(DEPDIR)/swapoff-swapprober.Tpo -c -o lib/swapoff-swapprober.o `test -f 'lib/swapprober.c' || echo '$(srcdir)/'`lib/swapprober.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/swapoff-swapprober.Tpo lib/$(DEPDIR)/swapoff-swapprober.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/swapprober.c' object='lib/swapoff-swapprober.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapoff_CFLAGS) $(CFLAGS) -c -o lib/swapoff-swapprober.o `test -f 'lib/swapprober.c' || echo '$(srcdir)/'`lib/swapprober.c + +lib/swapoff-swapprober.obj: lib/swapprober.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapoff_CFLAGS) $(CFLAGS) -MT lib/swapoff-swapprober.obj -MD -MP -MF lib/$(DEPDIR)/swapoff-swapprober.Tpo -c -o lib/swapoff-swapprober.obj `if test -f 'lib/swapprober.c'; then $(CYGPATH_W) 'lib/swapprober.c'; else $(CYGPATH_W) '$(srcdir)/lib/swapprober.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/swapoff-swapprober.Tpo lib/$(DEPDIR)/swapoff-swapprober.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/swapprober.c' object='lib/swapoff-swapprober.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapoff_CFLAGS) $(CFLAGS) -c -o lib/swapoff-swapprober.obj `if test -f 'lib/swapprober.c'; then $(CYGPATH_W) 'lib/swapprober.c'; else $(CYGPATH_W) '$(srcdir)/lib/swapprober.c'; fi` + +sys-utils/swapon-swapon.o: sys-utils/swapon.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapon_CFLAGS) $(CFLAGS) -MT sys-utils/swapon-swapon.o -MD -MP -MF sys-utils/$(DEPDIR)/swapon-swapon.Tpo -c -o sys-utils/swapon-swapon.o `test -f 'sys-utils/swapon.c' || echo '$(srcdir)/'`sys-utils/swapon.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/swapon-swapon.Tpo sys-utils/$(DEPDIR)/swapon-swapon.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/swapon.c' object='sys-utils/swapon-swapon.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapon_CFLAGS) $(CFLAGS) -c -o sys-utils/swapon-swapon.o `test -f 'sys-utils/swapon.c' || echo '$(srcdir)/'`sys-utils/swapon.c + +sys-utils/swapon-swapon.obj: sys-utils/swapon.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapon_CFLAGS) $(CFLAGS) -MT sys-utils/swapon-swapon.obj -MD -MP -MF sys-utils/$(DEPDIR)/swapon-swapon.Tpo -c -o sys-utils/swapon-swapon.obj `if test -f 'sys-utils/swapon.c'; then $(CYGPATH_W) 'sys-utils/swapon.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/swapon.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/swapon-swapon.Tpo sys-utils/$(DEPDIR)/swapon-swapon.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/swapon.c' object='sys-utils/swapon-swapon.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapon_CFLAGS) $(CFLAGS) -c -o sys-utils/swapon-swapon.obj `if test -f 'sys-utils/swapon.c'; then $(CYGPATH_W) 'sys-utils/swapon.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/swapon.c'; fi` + +sys-utils/swapon-swapon-common.o: sys-utils/swapon-common.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapon_CFLAGS) $(CFLAGS) -MT sys-utils/swapon-swapon-common.o -MD -MP -MF sys-utils/$(DEPDIR)/swapon-swapon-common.Tpo -c -o sys-utils/swapon-swapon-common.o `test -f 'sys-utils/swapon-common.c' || echo '$(srcdir)/'`sys-utils/swapon-common.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/swapon-swapon-common.Tpo sys-utils/$(DEPDIR)/swapon-swapon-common.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/swapon-common.c' object='sys-utils/swapon-swapon-common.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapon_CFLAGS) $(CFLAGS) -c -o sys-utils/swapon-swapon-common.o `test -f 'sys-utils/swapon-common.c' || echo '$(srcdir)/'`sys-utils/swapon-common.c + +sys-utils/swapon-swapon-common.obj: sys-utils/swapon-common.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapon_CFLAGS) $(CFLAGS) -MT sys-utils/swapon-swapon-common.obj -MD -MP -MF sys-utils/$(DEPDIR)/swapon-swapon-common.Tpo -c -o sys-utils/swapon-swapon-common.obj `if test -f 'sys-utils/swapon-common.c'; then $(CYGPATH_W) 'sys-utils/swapon-common.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/swapon-common.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/swapon-swapon-common.Tpo sys-utils/$(DEPDIR)/swapon-swapon-common.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/swapon-common.c' object='sys-utils/swapon-swapon-common.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapon_CFLAGS) $(CFLAGS) -c -o sys-utils/swapon-swapon-common.obj `if test -f 'sys-utils/swapon-common.c'; then $(CYGPATH_W) 'sys-utils/swapon-common.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/swapon-common.c'; fi` + +lib/swapon-swapprober.o: lib/swapprober.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapon_CFLAGS) $(CFLAGS) -MT lib/swapon-swapprober.o -MD -MP -MF lib/$(DEPDIR)/swapon-swapprober.Tpo -c -o lib/swapon-swapprober.o `test -f 'lib/swapprober.c' || echo '$(srcdir)/'`lib/swapprober.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/swapon-swapprober.Tpo lib/$(DEPDIR)/swapon-swapprober.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/swapprober.c' object='lib/swapon-swapprober.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapon_CFLAGS) $(CFLAGS) -c -o lib/swapon-swapprober.o `test -f 'lib/swapprober.c' || echo '$(srcdir)/'`lib/swapprober.c + +lib/swapon-swapprober.obj: lib/swapprober.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapon_CFLAGS) $(CFLAGS) -MT lib/swapon-swapprober.obj -MD -MP -MF lib/$(DEPDIR)/swapon-swapprober.Tpo -c -o lib/swapon-swapprober.obj `if test -f 'lib/swapprober.c'; then $(CYGPATH_W) 'lib/swapprober.c'; else $(CYGPATH_W) '$(srcdir)/lib/swapprober.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/swapon-swapprober.Tpo lib/$(DEPDIR)/swapon-swapprober.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/swapprober.c' object='lib/swapon-swapprober.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(swapon_CFLAGS) $(CFLAGS) -c -o lib/swapon-swapprober.obj `if test -f 'lib/swapprober.c'; then $(CYGPATH_W) 'lib/swapprober.c'; else $(CYGPATH_W) '$(srcdir)/lib/swapprober.c'; fi` + +lib/test_blkdev-blkdev.o: lib/blkdev.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkdev_CFLAGS) $(CFLAGS) -MT lib/test_blkdev-blkdev.o -MD -MP -MF lib/$(DEPDIR)/test_blkdev-blkdev.Tpo -c -o lib/test_blkdev-blkdev.o `test -f 'lib/blkdev.c' || echo '$(srcdir)/'`lib/blkdev.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_blkdev-blkdev.Tpo lib/$(DEPDIR)/test_blkdev-blkdev.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/blkdev.c' object='lib/test_blkdev-blkdev.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkdev_CFLAGS) $(CFLAGS) -c -o lib/test_blkdev-blkdev.o `test -f 'lib/blkdev.c' || echo '$(srcdir)/'`lib/blkdev.c + +lib/test_blkdev-blkdev.obj: lib/blkdev.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkdev_CFLAGS) $(CFLAGS) -MT lib/test_blkdev-blkdev.obj -MD -MP -MF lib/$(DEPDIR)/test_blkdev-blkdev.Tpo -c -o lib/test_blkdev-blkdev.obj `if test -f 'lib/blkdev.c'; then $(CYGPATH_W) 'lib/blkdev.c'; else $(CYGPATH_W) '$(srcdir)/lib/blkdev.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_blkdev-blkdev.Tpo lib/$(DEPDIR)/test_blkdev-blkdev.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/blkdev.c' object='lib/test_blkdev-blkdev.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkdev_CFLAGS) $(CFLAGS) -c -o lib/test_blkdev-blkdev.obj `if test -f 'lib/blkdev.c'; then $(CYGPATH_W) 'lib/blkdev.c'; else $(CYGPATH_W) '$(srcdir)/lib/blkdev.c'; fi` + +libblkid/src/test_blkid_cache-cache.o: libblkid/src/cache.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_cache_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_cache-cache.o -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_cache-cache.Tpo -c -o libblkid/src/test_blkid_cache-cache.o `test -f 'libblkid/src/cache.c' || echo '$(srcdir)/'`libblkid/src/cache.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_cache-cache.Tpo libblkid/src/$(DEPDIR)/test_blkid_cache-cache.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/cache.c' object='libblkid/src/test_blkid_cache-cache.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_cache_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_cache-cache.o `test -f 'libblkid/src/cache.c' || echo '$(srcdir)/'`libblkid/src/cache.c + +libblkid/src/test_blkid_cache-cache.obj: libblkid/src/cache.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_cache_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_cache-cache.obj -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_cache-cache.Tpo -c -o libblkid/src/test_blkid_cache-cache.obj `if test -f 'libblkid/src/cache.c'; then $(CYGPATH_W) 'libblkid/src/cache.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/cache.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_cache-cache.Tpo libblkid/src/$(DEPDIR)/test_blkid_cache-cache.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/cache.c' object='libblkid/src/test_blkid_cache-cache.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_cache_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_cache-cache.obj `if test -f 'libblkid/src/cache.c'; then $(CYGPATH_W) 'libblkid/src/cache.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/cache.c'; fi` + +libblkid/src/test_blkid_config-config.o: libblkid/src/config.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_config_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_config-config.o -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_config-config.Tpo -c -o libblkid/src/test_blkid_config-config.o `test -f 'libblkid/src/config.c' || echo '$(srcdir)/'`libblkid/src/config.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_config-config.Tpo libblkid/src/$(DEPDIR)/test_blkid_config-config.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/config.c' object='libblkid/src/test_blkid_config-config.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_config_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_config-config.o `test -f 'libblkid/src/config.c' || echo '$(srcdir)/'`libblkid/src/config.c + +libblkid/src/test_blkid_config-config.obj: libblkid/src/config.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_config_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_config-config.obj -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_config-config.Tpo -c -o libblkid/src/test_blkid_config-config.obj `if test -f 'libblkid/src/config.c'; then $(CYGPATH_W) 'libblkid/src/config.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/config.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_config-config.Tpo libblkid/src/$(DEPDIR)/test_blkid_config-config.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/config.c' object='libblkid/src/test_blkid_config-config.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_config_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_config-config.obj `if test -f 'libblkid/src/config.c'; then $(CYGPATH_W) 'libblkid/src/config.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/config.c'; fi` + +libblkid/src/test_blkid_dev-dev.o: libblkid/src/dev.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_dev_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_dev-dev.o -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_dev-dev.Tpo -c -o libblkid/src/test_blkid_dev-dev.o `test -f 'libblkid/src/dev.c' || echo '$(srcdir)/'`libblkid/src/dev.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_dev-dev.Tpo libblkid/src/$(DEPDIR)/test_blkid_dev-dev.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/dev.c' object='libblkid/src/test_blkid_dev-dev.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_dev_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_dev-dev.o `test -f 'libblkid/src/dev.c' || echo '$(srcdir)/'`libblkid/src/dev.c + +libblkid/src/test_blkid_dev-dev.obj: libblkid/src/dev.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_dev_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_dev-dev.obj -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_dev-dev.Tpo -c -o libblkid/src/test_blkid_dev-dev.obj `if test -f 'libblkid/src/dev.c'; then $(CYGPATH_W) 'libblkid/src/dev.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/dev.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_dev-dev.Tpo libblkid/src/$(DEPDIR)/test_blkid_dev-dev.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/dev.c' object='libblkid/src/test_blkid_dev-dev.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_dev_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_dev-dev.obj `if test -f 'libblkid/src/dev.c'; then $(CYGPATH_W) 'libblkid/src/dev.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/dev.c'; fi` + +libblkid/src/test_blkid_devname-devname.o: libblkid/src/devname.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_devname_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_devname-devname.o -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_devname-devname.Tpo -c -o libblkid/src/test_blkid_devname-devname.o `test -f 'libblkid/src/devname.c' || echo '$(srcdir)/'`libblkid/src/devname.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_devname-devname.Tpo libblkid/src/$(DEPDIR)/test_blkid_devname-devname.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/devname.c' object='libblkid/src/test_blkid_devname-devname.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_devname_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_devname-devname.o `test -f 'libblkid/src/devname.c' || echo '$(srcdir)/'`libblkid/src/devname.c + +libblkid/src/test_blkid_devname-devname.obj: libblkid/src/devname.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_devname_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_devname-devname.obj -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_devname-devname.Tpo -c -o libblkid/src/test_blkid_devname-devname.obj `if test -f 'libblkid/src/devname.c'; then $(CYGPATH_W) 'libblkid/src/devname.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/devname.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_devname-devname.Tpo libblkid/src/$(DEPDIR)/test_blkid_devname-devname.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/devname.c' object='libblkid/src/test_blkid_devname-devname.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_devname_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_devname-devname.obj `if test -f 'libblkid/src/devname.c'; then $(CYGPATH_W) 'libblkid/src/devname.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/devname.c'; fi` + +libblkid/src/test_blkid_devno-devno.o: libblkid/src/devno.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_devno_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_devno-devno.o -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_devno-devno.Tpo -c -o libblkid/src/test_blkid_devno-devno.o `test -f 'libblkid/src/devno.c' || echo '$(srcdir)/'`libblkid/src/devno.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_devno-devno.Tpo libblkid/src/$(DEPDIR)/test_blkid_devno-devno.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/devno.c' object='libblkid/src/test_blkid_devno-devno.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_devno_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_devno-devno.o `test -f 'libblkid/src/devno.c' || echo '$(srcdir)/'`libblkid/src/devno.c + +libblkid/src/test_blkid_devno-devno.obj: libblkid/src/devno.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_devno_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_devno-devno.obj -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_devno-devno.Tpo -c -o libblkid/src/test_blkid_devno-devno.obj `if test -f 'libblkid/src/devno.c'; then $(CYGPATH_W) 'libblkid/src/devno.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/devno.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_devno-devno.Tpo libblkid/src/$(DEPDIR)/test_blkid_devno-devno.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/devno.c' object='libblkid/src/test_blkid_devno-devno.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_devno_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_devno-devno.obj `if test -f 'libblkid/src/devno.c'; then $(CYGPATH_W) 'libblkid/src/devno.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/devno.c'; fi` + +libblkid/src/test_blkid_evaluate-evaluate.o: libblkid/src/evaluate.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_evaluate_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_evaluate-evaluate.o -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_evaluate-evaluate.Tpo -c -o libblkid/src/test_blkid_evaluate-evaluate.o `test -f 'libblkid/src/evaluate.c' || echo '$(srcdir)/'`libblkid/src/evaluate.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_evaluate-evaluate.Tpo libblkid/src/$(DEPDIR)/test_blkid_evaluate-evaluate.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/evaluate.c' object='libblkid/src/test_blkid_evaluate-evaluate.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_evaluate_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_evaluate-evaluate.o `test -f 'libblkid/src/evaluate.c' || echo '$(srcdir)/'`libblkid/src/evaluate.c + +libblkid/src/test_blkid_evaluate-evaluate.obj: libblkid/src/evaluate.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_evaluate_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_evaluate-evaluate.obj -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_evaluate-evaluate.Tpo -c -o libblkid/src/test_blkid_evaluate-evaluate.obj `if test -f 'libblkid/src/evaluate.c'; then $(CYGPATH_W) 'libblkid/src/evaluate.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/evaluate.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_evaluate-evaluate.Tpo libblkid/src/$(DEPDIR)/test_blkid_evaluate-evaluate.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/evaluate.c' object='libblkid/src/test_blkid_evaluate-evaluate.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_evaluate_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_evaluate-evaluate.obj `if test -f 'libblkid/src/evaluate.c'; then $(CYGPATH_W) 'libblkid/src/evaluate.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/evaluate.c'; fi` + +libblkid/src/test_blkid_read-read.o: libblkid/src/read.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_read_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_read-read.o -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_read-read.Tpo -c -o libblkid/src/test_blkid_read-read.o `test -f 'libblkid/src/read.c' || echo '$(srcdir)/'`libblkid/src/read.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_read-read.Tpo libblkid/src/$(DEPDIR)/test_blkid_read-read.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/read.c' object='libblkid/src/test_blkid_read-read.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_read_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_read-read.o `test -f 'libblkid/src/read.c' || echo '$(srcdir)/'`libblkid/src/read.c + +libblkid/src/test_blkid_read-read.obj: libblkid/src/read.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_read_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_read-read.obj -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_read-read.Tpo -c -o libblkid/src/test_blkid_read-read.obj `if test -f 'libblkid/src/read.c'; then $(CYGPATH_W) 'libblkid/src/read.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/read.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_read-read.Tpo libblkid/src/$(DEPDIR)/test_blkid_read-read.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/read.c' object='libblkid/src/test_blkid_read-read.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_read_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_read-read.obj `if test -f 'libblkid/src/read.c'; then $(CYGPATH_W) 'libblkid/src/read.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/read.c'; fi` + +libblkid/src/test_blkid_resolve-resolve.o: libblkid/src/resolve.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_resolve_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_resolve-resolve.o -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_resolve-resolve.Tpo -c -o libblkid/src/test_blkid_resolve-resolve.o `test -f 'libblkid/src/resolve.c' || echo '$(srcdir)/'`libblkid/src/resolve.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_resolve-resolve.Tpo libblkid/src/$(DEPDIR)/test_blkid_resolve-resolve.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/resolve.c' object='libblkid/src/test_blkid_resolve-resolve.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_resolve_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_resolve-resolve.o `test -f 'libblkid/src/resolve.c' || echo '$(srcdir)/'`libblkid/src/resolve.c + +libblkid/src/test_blkid_resolve-resolve.obj: libblkid/src/resolve.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_resolve_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_resolve-resolve.obj -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_resolve-resolve.Tpo -c -o libblkid/src/test_blkid_resolve-resolve.obj `if test -f 'libblkid/src/resolve.c'; then $(CYGPATH_W) 'libblkid/src/resolve.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/resolve.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_resolve-resolve.Tpo libblkid/src/$(DEPDIR)/test_blkid_resolve-resolve.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/resolve.c' object='libblkid/src/test_blkid_resolve-resolve.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_resolve_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_resolve-resolve.obj `if test -f 'libblkid/src/resolve.c'; then $(CYGPATH_W) 'libblkid/src/resolve.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/resolve.c'; fi` + +libblkid/src/test_blkid_save-save.o: libblkid/src/save.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_save_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_save-save.o -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_save-save.Tpo -c -o libblkid/src/test_blkid_save-save.o `test -f 'libblkid/src/save.c' || echo '$(srcdir)/'`libblkid/src/save.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_save-save.Tpo libblkid/src/$(DEPDIR)/test_blkid_save-save.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/save.c' object='libblkid/src/test_blkid_save-save.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_save_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_save-save.o `test -f 'libblkid/src/save.c' || echo '$(srcdir)/'`libblkid/src/save.c + +libblkid/src/test_blkid_save-save.obj: libblkid/src/save.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_save_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_save-save.obj -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_save-save.Tpo -c -o libblkid/src/test_blkid_save-save.obj `if test -f 'libblkid/src/save.c'; then $(CYGPATH_W) 'libblkid/src/save.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/save.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_save-save.Tpo libblkid/src/$(DEPDIR)/test_blkid_save-save.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/save.c' object='libblkid/src/test_blkid_save-save.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_save_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_save-save.obj `if test -f 'libblkid/src/save.c'; then $(CYGPATH_W) 'libblkid/src/save.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/save.c'; fi` + +libblkid/src/test_blkid_tag-tag.o: libblkid/src/tag.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_tag_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_tag-tag.o -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_tag-tag.Tpo -c -o libblkid/src/test_blkid_tag-tag.o `test -f 'libblkid/src/tag.c' || echo '$(srcdir)/'`libblkid/src/tag.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_tag-tag.Tpo libblkid/src/$(DEPDIR)/test_blkid_tag-tag.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/tag.c' object='libblkid/src/test_blkid_tag-tag.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_tag_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_tag-tag.o `test -f 'libblkid/src/tag.c' || echo '$(srcdir)/'`libblkid/src/tag.c + +libblkid/src/test_blkid_tag-tag.obj: libblkid/src/tag.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_tag_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_tag-tag.obj -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_tag-tag.Tpo -c -o libblkid/src/test_blkid_tag-tag.obj `if test -f 'libblkid/src/tag.c'; then $(CYGPATH_W) 'libblkid/src/tag.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/tag.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_tag-tag.Tpo libblkid/src/$(DEPDIR)/test_blkid_tag-tag.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/tag.c' object='libblkid/src/test_blkid_tag-tag.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_tag_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_tag-tag.obj `if test -f 'libblkid/src/tag.c'; then $(CYGPATH_W) 'libblkid/src/tag.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/tag.c'; fi` + +libblkid/src/test_blkid_verify-verify.o: libblkid/src/verify.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_verify_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_verify-verify.o -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_verify-verify.Tpo -c -o libblkid/src/test_blkid_verify-verify.o `test -f 'libblkid/src/verify.c' || echo '$(srcdir)/'`libblkid/src/verify.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_verify-verify.Tpo libblkid/src/$(DEPDIR)/test_blkid_verify-verify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/verify.c' object='libblkid/src/test_blkid_verify-verify.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_verify_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_verify-verify.o `test -f 'libblkid/src/verify.c' || echo '$(srcdir)/'`libblkid/src/verify.c + +libblkid/src/test_blkid_verify-verify.obj: libblkid/src/verify.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_verify_CFLAGS) $(CFLAGS) -MT libblkid/src/test_blkid_verify-verify.obj -MD -MP -MF libblkid/src/$(DEPDIR)/test_blkid_verify-verify.Tpo -c -o libblkid/src/test_blkid_verify-verify.obj `if test -f 'libblkid/src/verify.c'; then $(CYGPATH_W) 'libblkid/src/verify.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/verify.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libblkid/src/$(DEPDIR)/test_blkid_verify-verify.Tpo libblkid/src/$(DEPDIR)/test_blkid_verify-verify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libblkid/src/verify.c' object='libblkid/src/test_blkid_verify-verify.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_blkid_verify_CFLAGS) $(CFLAGS) -c -o libblkid/src/test_blkid_verify-verify.obj `if test -f 'libblkid/src/verify.c'; then $(CYGPATH_W) 'libblkid/src/verify.c'; else $(CYGPATH_W) '$(srcdir)/libblkid/src/verify.c'; fi` + +misc-utils/test_cal-cal.o: misc-utils/cal.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_cal_CFLAGS) $(CFLAGS) -MT misc-utils/test_cal-cal.o -MD -MP -MF misc-utils/$(DEPDIR)/test_cal-cal.Tpo -c -o misc-utils/test_cal-cal.o `test -f 'misc-utils/cal.c' || echo '$(srcdir)/'`misc-utils/cal.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/test_cal-cal.Tpo misc-utils/$(DEPDIR)/test_cal-cal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/cal.c' object='misc-utils/test_cal-cal.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_cal_CFLAGS) $(CFLAGS) -c -o misc-utils/test_cal-cal.o `test -f 'misc-utils/cal.c' || echo '$(srcdir)/'`misc-utils/cal.c + +misc-utils/test_cal-cal.obj: misc-utils/cal.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_cal_CFLAGS) $(CFLAGS) -MT misc-utils/test_cal-cal.obj -MD -MP -MF misc-utils/$(DEPDIR)/test_cal-cal.Tpo -c -o misc-utils/test_cal-cal.obj `if test -f 'misc-utils/cal.c'; then $(CYGPATH_W) 'misc-utils/cal.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/cal.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/test_cal-cal.Tpo misc-utils/$(DEPDIR)/test_cal-cal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/cal.c' object='misc-utils/test_cal-cal.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_cal_CFLAGS) $(CFLAGS) -c -o misc-utils/test_cal-cal.obj `if test -f 'misc-utils/cal.c'; then $(CYGPATH_W) 'misc-utils/cal.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/cal.c'; fi` + +lib/test_canonicalize-canonicalize.o: lib/canonicalize.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_canonicalize_CFLAGS) $(CFLAGS) -MT lib/test_canonicalize-canonicalize.o -MD -MP -MF lib/$(DEPDIR)/test_canonicalize-canonicalize.Tpo -c -o lib/test_canonicalize-canonicalize.o `test -f 'lib/canonicalize.c' || echo '$(srcdir)/'`lib/canonicalize.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_canonicalize-canonicalize.Tpo lib/$(DEPDIR)/test_canonicalize-canonicalize.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/canonicalize.c' object='lib/test_canonicalize-canonicalize.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_canonicalize_CFLAGS) $(CFLAGS) -c -o lib/test_canonicalize-canonicalize.o `test -f 'lib/canonicalize.c' || echo '$(srcdir)/'`lib/canonicalize.c + +lib/test_canonicalize-canonicalize.obj: lib/canonicalize.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_canonicalize_CFLAGS) $(CFLAGS) -MT lib/test_canonicalize-canonicalize.obj -MD -MP -MF lib/$(DEPDIR)/test_canonicalize-canonicalize.Tpo -c -o lib/test_canonicalize-canonicalize.obj `if test -f 'lib/canonicalize.c'; then $(CYGPATH_W) 'lib/canonicalize.c'; else $(CYGPATH_W) '$(srcdir)/lib/canonicalize.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_canonicalize-canonicalize.Tpo lib/$(DEPDIR)/test_canonicalize-canonicalize.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/canonicalize.c' object='lib/test_canonicalize-canonicalize.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_canonicalize_CFLAGS) $(CFLAGS) -c -o lib/test_canonicalize-canonicalize.obj `if test -f 'lib/canonicalize.c'; then $(CYGPATH_W) 'lib/canonicalize.c'; else $(CYGPATH_W) '$(srcdir)/lib/canonicalize.c'; fi` + +lib/test_colors-colors.o: lib/colors.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_colors_CFLAGS) $(CFLAGS) -MT lib/test_colors-colors.o -MD -MP -MF lib/$(DEPDIR)/test_colors-colors.Tpo -c -o lib/test_colors-colors.o `test -f 'lib/colors.c' || echo '$(srcdir)/'`lib/colors.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_colors-colors.Tpo lib/$(DEPDIR)/test_colors-colors.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/colors.c' object='lib/test_colors-colors.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_colors_CFLAGS) $(CFLAGS) -c -o lib/test_colors-colors.o `test -f 'lib/colors.c' || echo '$(srcdir)/'`lib/colors.c + +lib/test_colors-colors.obj: lib/colors.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_colors_CFLAGS) $(CFLAGS) -MT lib/test_colors-colors.obj -MD -MP -MF lib/$(DEPDIR)/test_colors-colors.Tpo -c -o lib/test_colors-colors.obj `if test -f 'lib/colors.c'; then $(CYGPATH_W) 'lib/colors.c'; else $(CYGPATH_W) '$(srcdir)/lib/colors.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_colors-colors.Tpo lib/$(DEPDIR)/test_colors-colors.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/colors.c' object='lib/test_colors-colors.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_colors_CFLAGS) $(CFLAGS) -c -o lib/test_colors-colors.obj `if test -f 'lib/colors.c'; then $(CYGPATH_W) 'lib/colors.c'; else $(CYGPATH_W) '$(srcdir)/lib/colors.c'; fi` + +lib/test_colors-color-names.o: lib/color-names.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_colors_CFLAGS) $(CFLAGS) -MT lib/test_colors-color-names.o -MD -MP -MF lib/$(DEPDIR)/test_colors-color-names.Tpo -c -o lib/test_colors-color-names.o `test -f 'lib/color-names.c' || echo '$(srcdir)/'`lib/color-names.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_colors-color-names.Tpo lib/$(DEPDIR)/test_colors-color-names.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/color-names.c' object='lib/test_colors-color-names.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_colors_CFLAGS) $(CFLAGS) -c -o lib/test_colors-color-names.o `test -f 'lib/color-names.c' || echo '$(srcdir)/'`lib/color-names.c + +lib/test_colors-color-names.obj: lib/color-names.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_colors_CFLAGS) $(CFLAGS) -MT lib/test_colors-color-names.obj -MD -MP -MF lib/$(DEPDIR)/test_colors-color-names.Tpo -c -o lib/test_colors-color-names.obj `if test -f 'lib/color-names.c'; then $(CYGPATH_W) 'lib/color-names.c'; else $(CYGPATH_W) '$(srcdir)/lib/color-names.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_colors-color-names.Tpo lib/$(DEPDIR)/test_colors-color-names.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/color-names.c' object='lib/test_colors-color-names.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_colors_CFLAGS) $(CFLAGS) -c -o lib/test_colors-color-names.obj `if test -f 'lib/color-names.c'; then $(CYGPATH_W) 'lib/color-names.c'; else $(CYGPATH_W) '$(srcdir)/lib/color-names.c'; fi` + +login-utils/test_consoles-sulogin-consoles.o: login-utils/sulogin-consoles.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_consoles_CFLAGS) $(CFLAGS) -MT login-utils/test_consoles-sulogin-consoles.o -MD -MP -MF login-utils/$(DEPDIR)/test_consoles-sulogin-consoles.Tpo -c -o login-utils/test_consoles-sulogin-consoles.o `test -f 'login-utils/sulogin-consoles.c' || echo '$(srcdir)/'`login-utils/sulogin-consoles.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/test_consoles-sulogin-consoles.Tpo login-utils/$(DEPDIR)/test_consoles-sulogin-consoles.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/sulogin-consoles.c' object='login-utils/test_consoles-sulogin-consoles.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_consoles_CFLAGS) $(CFLAGS) -c -o login-utils/test_consoles-sulogin-consoles.o `test -f 'login-utils/sulogin-consoles.c' || echo '$(srcdir)/'`login-utils/sulogin-consoles.c + +login-utils/test_consoles-sulogin-consoles.obj: login-utils/sulogin-consoles.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_consoles_CFLAGS) $(CFLAGS) -MT login-utils/test_consoles-sulogin-consoles.obj -MD -MP -MF login-utils/$(DEPDIR)/test_consoles-sulogin-consoles.Tpo -c -o login-utils/test_consoles-sulogin-consoles.obj `if test -f 'login-utils/sulogin-consoles.c'; then $(CYGPATH_W) 'login-utils/sulogin-consoles.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/sulogin-consoles.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/test_consoles-sulogin-consoles.Tpo login-utils/$(DEPDIR)/test_consoles-sulogin-consoles.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/sulogin-consoles.c' object='login-utils/test_consoles-sulogin-consoles.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_consoles_CFLAGS) $(CFLAGS) -c -o login-utils/test_consoles-sulogin-consoles.obj `if test -f 'login-utils/sulogin-consoles.c'; then $(CYGPATH_W) 'login-utils/sulogin-consoles.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/sulogin-consoles.c'; fi` + +lib/test_cpuset-cpuset.o: lib/cpuset.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_cpuset_CFLAGS) $(CFLAGS) -MT lib/test_cpuset-cpuset.o -MD -MP -MF lib/$(DEPDIR)/test_cpuset-cpuset.Tpo -c -o lib/test_cpuset-cpuset.o `test -f 'lib/cpuset.c' || echo '$(srcdir)/'`lib/cpuset.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_cpuset-cpuset.Tpo lib/$(DEPDIR)/test_cpuset-cpuset.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/cpuset.c' object='lib/test_cpuset-cpuset.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_cpuset_CFLAGS) $(CFLAGS) -c -o lib/test_cpuset-cpuset.o `test -f 'lib/cpuset.c' || echo '$(srcdir)/'`lib/cpuset.c + +lib/test_cpuset-cpuset.obj: lib/cpuset.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_cpuset_CFLAGS) $(CFLAGS) -MT lib/test_cpuset-cpuset.obj -MD -MP -MF lib/$(DEPDIR)/test_cpuset-cpuset.Tpo -c -o lib/test_cpuset-cpuset.obj `if test -f 'lib/cpuset.c'; then $(CYGPATH_W) 'lib/cpuset.c'; else $(CYGPATH_W) '$(srcdir)/lib/cpuset.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_cpuset-cpuset.Tpo lib/$(DEPDIR)/test_cpuset-cpuset.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/cpuset.c' object='lib/test_cpuset-cpuset.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_cpuset_CFLAGS) $(CFLAGS) -c -o lib/test_cpuset-cpuset.obj `if test -f 'lib/cpuset.c'; then $(CYGPATH_W) 'lib/cpuset.c'; else $(CYGPATH_W) '$(srcdir)/lib/cpuset.c'; fi` + +sys-utils/test_dmesg-dmesg.o: sys-utils/dmesg.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_dmesg_CFLAGS) $(CFLAGS) -MT sys-utils/test_dmesg-dmesg.o -MD -MP -MF sys-utils/$(DEPDIR)/test_dmesg-dmesg.Tpo -c -o sys-utils/test_dmesg-dmesg.o `test -f 'sys-utils/dmesg.c' || echo '$(srcdir)/'`sys-utils/dmesg.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/test_dmesg-dmesg.Tpo sys-utils/$(DEPDIR)/test_dmesg-dmesg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/dmesg.c' object='sys-utils/test_dmesg-dmesg.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_dmesg_CFLAGS) $(CFLAGS) -c -o sys-utils/test_dmesg-dmesg.o `test -f 'sys-utils/dmesg.c' || echo '$(srcdir)/'`sys-utils/dmesg.c + +sys-utils/test_dmesg-dmesg.obj: sys-utils/dmesg.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_dmesg_CFLAGS) $(CFLAGS) -MT sys-utils/test_dmesg-dmesg.obj -MD -MP -MF sys-utils/$(DEPDIR)/test_dmesg-dmesg.Tpo -c -o sys-utils/test_dmesg-dmesg.obj `if test -f 'sys-utils/dmesg.c'; then $(CYGPATH_W) 'sys-utils/dmesg.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/dmesg.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/test_dmesg-dmesg.Tpo sys-utils/$(DEPDIR)/test_dmesg-dmesg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/dmesg.c' object='sys-utils/test_dmesg-dmesg.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_dmesg_CFLAGS) $(CFLAGS) -c -o sys-utils/test_dmesg-dmesg.obj `if test -f 'sys-utils/dmesg.c'; then $(CYGPATH_W) 'sys-utils/dmesg.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/dmesg.c'; fi` + +lib/test_dmesg-monotonic.o: lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_dmesg_CFLAGS) $(CFLAGS) -MT lib/test_dmesg-monotonic.o -MD -MP -MF lib/$(DEPDIR)/test_dmesg-monotonic.Tpo -c -o lib/test_dmesg-monotonic.o `test -f 'lib/monotonic.c' || echo '$(srcdir)/'`lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_dmesg-monotonic.Tpo lib/$(DEPDIR)/test_dmesg-monotonic.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/monotonic.c' object='lib/test_dmesg-monotonic.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_dmesg_CFLAGS) $(CFLAGS) -c -o lib/test_dmesg-monotonic.o `test -f 'lib/monotonic.c' || echo '$(srcdir)/'`lib/monotonic.c + +lib/test_dmesg-monotonic.obj: lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_dmesg_CFLAGS) $(CFLAGS) -MT lib/test_dmesg-monotonic.obj -MD -MP -MF lib/$(DEPDIR)/test_dmesg-monotonic.Tpo -c -o lib/test_dmesg-monotonic.obj `if test -f 'lib/monotonic.c'; then $(CYGPATH_W) 'lib/monotonic.c'; else $(CYGPATH_W) '$(srcdir)/lib/monotonic.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_dmesg-monotonic.Tpo lib/$(DEPDIR)/test_dmesg-monotonic.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/monotonic.c' object='lib/test_dmesg-monotonic.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_dmesg_CFLAGS) $(CFLAGS) -c -o lib/test_dmesg-monotonic.obj `if test -f 'lib/monotonic.c'; then $(CYGPATH_W) 'lib/monotonic.c'; else $(CYGPATH_W) '$(srcdir)/lib/monotonic.c'; fi` + +libfdisk/src/test_fdisk_ask-ask.o: libfdisk/src/ask.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_ask_CFLAGS) $(CFLAGS) -MT libfdisk/src/test_fdisk_ask-ask.o -MD -MP -MF libfdisk/src/$(DEPDIR)/test_fdisk_ask-ask.Tpo -c -o libfdisk/src/test_fdisk_ask-ask.o `test -f 'libfdisk/src/ask.c' || echo '$(srcdir)/'`libfdisk/src/ask.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/test_fdisk_ask-ask.Tpo libfdisk/src/$(DEPDIR)/test_fdisk_ask-ask.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/ask.c' object='libfdisk/src/test_fdisk_ask-ask.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_ask_CFLAGS) $(CFLAGS) -c -o libfdisk/src/test_fdisk_ask-ask.o `test -f 'libfdisk/src/ask.c' || echo '$(srcdir)/'`libfdisk/src/ask.c + +libfdisk/src/test_fdisk_ask-ask.obj: libfdisk/src/ask.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_ask_CFLAGS) $(CFLAGS) -MT libfdisk/src/test_fdisk_ask-ask.obj -MD -MP -MF libfdisk/src/$(DEPDIR)/test_fdisk_ask-ask.Tpo -c -o libfdisk/src/test_fdisk_ask-ask.obj `if test -f 'libfdisk/src/ask.c'; then $(CYGPATH_W) 'libfdisk/src/ask.c'; else $(CYGPATH_W) '$(srcdir)/libfdisk/src/ask.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/test_fdisk_ask-ask.Tpo libfdisk/src/$(DEPDIR)/test_fdisk_ask-ask.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/ask.c' object='libfdisk/src/test_fdisk_ask-ask.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_ask_CFLAGS) $(CFLAGS) -c -o libfdisk/src/test_fdisk_ask-ask.obj `if test -f 'libfdisk/src/ask.c'; then $(CYGPATH_W) 'libfdisk/src/ask.c'; else $(CYGPATH_W) '$(srcdir)/libfdisk/src/ask.c'; fi` + +libfdisk/src/test_fdisk_gpt-gpt.o: libfdisk/src/gpt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_gpt_CFLAGS) $(CFLAGS) -MT libfdisk/src/test_fdisk_gpt-gpt.o -MD -MP -MF libfdisk/src/$(DEPDIR)/test_fdisk_gpt-gpt.Tpo -c -o libfdisk/src/test_fdisk_gpt-gpt.o `test -f 'libfdisk/src/gpt.c' || echo '$(srcdir)/'`libfdisk/src/gpt.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/test_fdisk_gpt-gpt.Tpo libfdisk/src/$(DEPDIR)/test_fdisk_gpt-gpt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/gpt.c' object='libfdisk/src/test_fdisk_gpt-gpt.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_gpt_CFLAGS) $(CFLAGS) -c -o libfdisk/src/test_fdisk_gpt-gpt.o `test -f 'libfdisk/src/gpt.c' || echo '$(srcdir)/'`libfdisk/src/gpt.c + +libfdisk/src/test_fdisk_gpt-gpt.obj: libfdisk/src/gpt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_gpt_CFLAGS) $(CFLAGS) -MT libfdisk/src/test_fdisk_gpt-gpt.obj -MD -MP -MF libfdisk/src/$(DEPDIR)/test_fdisk_gpt-gpt.Tpo -c -o libfdisk/src/test_fdisk_gpt-gpt.obj `if test -f 'libfdisk/src/gpt.c'; then $(CYGPATH_W) 'libfdisk/src/gpt.c'; else $(CYGPATH_W) '$(srcdir)/libfdisk/src/gpt.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/test_fdisk_gpt-gpt.Tpo libfdisk/src/$(DEPDIR)/test_fdisk_gpt-gpt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/gpt.c' object='libfdisk/src/test_fdisk_gpt-gpt.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_gpt_CFLAGS) $(CFLAGS) -c -o libfdisk/src/test_fdisk_gpt-gpt.obj `if test -f 'libfdisk/src/gpt.c'; then $(CYGPATH_W) 'libfdisk/src/gpt.c'; else $(CYGPATH_W) '$(srcdir)/libfdisk/src/gpt.c'; fi` + +libfdisk/src/test_fdisk_item-item.o: libfdisk/src/item.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_item_CFLAGS) $(CFLAGS) -MT libfdisk/src/test_fdisk_item-item.o -MD -MP -MF libfdisk/src/$(DEPDIR)/test_fdisk_item-item.Tpo -c -o libfdisk/src/test_fdisk_item-item.o `test -f 'libfdisk/src/item.c' || echo '$(srcdir)/'`libfdisk/src/item.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/test_fdisk_item-item.Tpo libfdisk/src/$(DEPDIR)/test_fdisk_item-item.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/item.c' object='libfdisk/src/test_fdisk_item-item.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_item_CFLAGS) $(CFLAGS) -c -o libfdisk/src/test_fdisk_item-item.o `test -f 'libfdisk/src/item.c' || echo '$(srcdir)/'`libfdisk/src/item.c + +libfdisk/src/test_fdisk_item-item.obj: libfdisk/src/item.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_item_CFLAGS) $(CFLAGS) -MT libfdisk/src/test_fdisk_item-item.obj -MD -MP -MF libfdisk/src/$(DEPDIR)/test_fdisk_item-item.Tpo -c -o libfdisk/src/test_fdisk_item-item.obj `if test -f 'libfdisk/src/item.c'; then $(CYGPATH_W) 'libfdisk/src/item.c'; else $(CYGPATH_W) '$(srcdir)/libfdisk/src/item.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/test_fdisk_item-item.Tpo libfdisk/src/$(DEPDIR)/test_fdisk_item-item.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/item.c' object='libfdisk/src/test_fdisk_item-item.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_item_CFLAGS) $(CFLAGS) -c -o libfdisk/src/test_fdisk_item-item.obj `if test -f 'libfdisk/src/item.c'; then $(CYGPATH_W) 'libfdisk/src/item.c'; else $(CYGPATH_W) '$(srcdir)/libfdisk/src/item.c'; fi` + +libfdisk/src/test_fdisk_script-script.o: libfdisk/src/script.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_script_CFLAGS) $(CFLAGS) -MT libfdisk/src/test_fdisk_script-script.o -MD -MP -MF libfdisk/src/$(DEPDIR)/test_fdisk_script-script.Tpo -c -o libfdisk/src/test_fdisk_script-script.o `test -f 'libfdisk/src/script.c' || echo '$(srcdir)/'`libfdisk/src/script.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/test_fdisk_script-script.Tpo libfdisk/src/$(DEPDIR)/test_fdisk_script-script.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/script.c' object='libfdisk/src/test_fdisk_script-script.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_script_CFLAGS) $(CFLAGS) -c -o libfdisk/src/test_fdisk_script-script.o `test -f 'libfdisk/src/script.c' || echo '$(srcdir)/'`libfdisk/src/script.c + +libfdisk/src/test_fdisk_script-script.obj: libfdisk/src/script.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_script_CFLAGS) $(CFLAGS) -MT libfdisk/src/test_fdisk_script-script.obj -MD -MP -MF libfdisk/src/$(DEPDIR)/test_fdisk_script-script.Tpo -c -o libfdisk/src/test_fdisk_script-script.obj `if test -f 'libfdisk/src/script.c'; then $(CYGPATH_W) 'libfdisk/src/script.c'; else $(CYGPATH_W) '$(srcdir)/libfdisk/src/script.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/test_fdisk_script-script.Tpo libfdisk/src/$(DEPDIR)/test_fdisk_script-script.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/script.c' object='libfdisk/src/test_fdisk_script-script.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_script_CFLAGS) $(CFLAGS) -c -o libfdisk/src/test_fdisk_script-script.obj `if test -f 'libfdisk/src/script.c'; then $(CYGPATH_W) 'libfdisk/src/script.c'; else $(CYGPATH_W) '$(srcdir)/libfdisk/src/script.c'; fi` + +libfdisk/src/test_fdisk_utils-utils.o: libfdisk/src/utils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_utils_CFLAGS) $(CFLAGS) -MT libfdisk/src/test_fdisk_utils-utils.o -MD -MP -MF libfdisk/src/$(DEPDIR)/test_fdisk_utils-utils.Tpo -c -o libfdisk/src/test_fdisk_utils-utils.o `test -f 'libfdisk/src/utils.c' || echo '$(srcdir)/'`libfdisk/src/utils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/test_fdisk_utils-utils.Tpo libfdisk/src/$(DEPDIR)/test_fdisk_utils-utils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/utils.c' object='libfdisk/src/test_fdisk_utils-utils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_utils_CFLAGS) $(CFLAGS) -c -o libfdisk/src/test_fdisk_utils-utils.o `test -f 'libfdisk/src/utils.c' || echo '$(srcdir)/'`libfdisk/src/utils.c + +libfdisk/src/test_fdisk_utils-utils.obj: libfdisk/src/utils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_utils_CFLAGS) $(CFLAGS) -MT libfdisk/src/test_fdisk_utils-utils.obj -MD -MP -MF libfdisk/src/$(DEPDIR)/test_fdisk_utils-utils.Tpo -c -o libfdisk/src/test_fdisk_utils-utils.obj `if test -f 'libfdisk/src/utils.c'; then $(CYGPATH_W) 'libfdisk/src/utils.c'; else $(CYGPATH_W) '$(srcdir)/libfdisk/src/utils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/test_fdisk_utils-utils.Tpo libfdisk/src/$(DEPDIR)/test_fdisk_utils-utils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/utils.c' object='libfdisk/src/test_fdisk_utils-utils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_utils_CFLAGS) $(CFLAGS) -c -o libfdisk/src/test_fdisk_utils-utils.obj `if test -f 'libfdisk/src/utils.c'; then $(CYGPATH_W) 'libfdisk/src/utils.c'; else $(CYGPATH_W) '$(srcdir)/libfdisk/src/utils.c'; fi` + +libfdisk/src/test_fdisk_version-version.o: libfdisk/src/version.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_version_CFLAGS) $(CFLAGS) -MT libfdisk/src/test_fdisk_version-version.o -MD -MP -MF libfdisk/src/$(DEPDIR)/test_fdisk_version-version.Tpo -c -o libfdisk/src/test_fdisk_version-version.o `test -f 'libfdisk/src/version.c' || echo '$(srcdir)/'`libfdisk/src/version.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/test_fdisk_version-version.Tpo libfdisk/src/$(DEPDIR)/test_fdisk_version-version.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/version.c' object='libfdisk/src/test_fdisk_version-version.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_version_CFLAGS) $(CFLAGS) -c -o libfdisk/src/test_fdisk_version-version.o `test -f 'libfdisk/src/version.c' || echo '$(srcdir)/'`libfdisk/src/version.c + +libfdisk/src/test_fdisk_version-version.obj: libfdisk/src/version.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_version_CFLAGS) $(CFLAGS) -MT libfdisk/src/test_fdisk_version-version.obj -MD -MP -MF libfdisk/src/$(DEPDIR)/test_fdisk_version-version.Tpo -c -o libfdisk/src/test_fdisk_version-version.obj `if test -f 'libfdisk/src/version.c'; then $(CYGPATH_W) 'libfdisk/src/version.c'; else $(CYGPATH_W) '$(srcdir)/libfdisk/src/version.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libfdisk/src/$(DEPDIR)/test_fdisk_version-version.Tpo libfdisk/src/$(DEPDIR)/test_fdisk_version-version.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libfdisk/src/version.c' object='libfdisk/src/test_fdisk_version-version.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fdisk_version_CFLAGS) $(CFLAGS) -c -o libfdisk/src/test_fdisk_version-version.obj `if test -f 'libfdisk/src/version.c'; then $(CYGPATH_W) 'libfdisk/src/version.c'; else $(CYGPATH_W) '$(srcdir)/libfdisk/src/version.c'; fi` + +lib/test_fileutils-fileutils.o: lib/fileutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fileutils_CFLAGS) $(CFLAGS) -MT lib/test_fileutils-fileutils.o -MD -MP -MF lib/$(DEPDIR)/test_fileutils-fileutils.Tpo -c -o lib/test_fileutils-fileutils.o `test -f 'lib/fileutils.c' || echo '$(srcdir)/'`lib/fileutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_fileutils-fileutils.Tpo lib/$(DEPDIR)/test_fileutils-fileutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fileutils.c' object='lib/test_fileutils-fileutils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fileutils_CFLAGS) $(CFLAGS) -c -o lib/test_fileutils-fileutils.o `test -f 'lib/fileutils.c' || echo '$(srcdir)/'`lib/fileutils.c + +lib/test_fileutils-fileutils.obj: lib/fileutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fileutils_CFLAGS) $(CFLAGS) -MT lib/test_fileutils-fileutils.obj -MD -MP -MF lib/$(DEPDIR)/test_fileutils-fileutils.Tpo -c -o lib/test_fileutils-fileutils.obj `if test -f 'lib/fileutils.c'; then $(CYGPATH_W) 'lib/fileutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/fileutils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_fileutils-fileutils.Tpo lib/$(DEPDIR)/test_fileutils-fileutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fileutils.c' object='lib/test_fileutils-fileutils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_fileutils_CFLAGS) $(CFLAGS) -c -o lib/test_fileutils-fileutils.obj `if test -f 'lib/fileutils.c'; then $(CYGPATH_W) 'lib/fileutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/fileutils.c'; fi` + +login-utils/test_islocal-islocal.o: login-utils/islocal.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_islocal_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT login-utils/test_islocal-islocal.o -MD -MP -MF login-utils/$(DEPDIR)/test_islocal-islocal.Tpo -c -o login-utils/test_islocal-islocal.o `test -f 'login-utils/islocal.c' || echo '$(srcdir)/'`login-utils/islocal.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/test_islocal-islocal.Tpo login-utils/$(DEPDIR)/test_islocal-islocal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/islocal.c' object='login-utils/test_islocal-islocal.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_islocal_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o login-utils/test_islocal-islocal.o `test -f 'login-utils/islocal.c' || echo '$(srcdir)/'`login-utils/islocal.c + +login-utils/test_islocal-islocal.obj: login-utils/islocal.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_islocal_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT login-utils/test_islocal-islocal.obj -MD -MP -MF login-utils/$(DEPDIR)/test_islocal-islocal.Tpo -c -o login-utils/test_islocal-islocal.obj `if test -f 'login-utils/islocal.c'; then $(CYGPATH_W) 'login-utils/islocal.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/islocal.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/test_islocal-islocal.Tpo login-utils/$(DEPDIR)/test_islocal-islocal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/islocal.c' object='login-utils/test_islocal-islocal.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_islocal_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o login-utils/test_islocal-islocal.obj `if test -f 'login-utils/islocal.c'; then $(CYGPATH_W) 'login-utils/islocal.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/islocal.c'; fi` + +lib/test_ismounted-ismounted.o: lib/ismounted.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_ismounted_CFLAGS) $(CFLAGS) -MT lib/test_ismounted-ismounted.o -MD -MP -MF lib/$(DEPDIR)/test_ismounted-ismounted.Tpo -c -o lib/test_ismounted-ismounted.o `test -f 'lib/ismounted.c' || echo '$(srcdir)/'`lib/ismounted.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_ismounted-ismounted.Tpo lib/$(DEPDIR)/test_ismounted-ismounted.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ismounted.c' object='lib/test_ismounted-ismounted.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_ismounted_CFLAGS) $(CFLAGS) -c -o lib/test_ismounted-ismounted.o `test -f 'lib/ismounted.c' || echo '$(srcdir)/'`lib/ismounted.c + +lib/test_ismounted-ismounted.obj: lib/ismounted.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_ismounted_CFLAGS) $(CFLAGS) -MT lib/test_ismounted-ismounted.obj -MD -MP -MF lib/$(DEPDIR)/test_ismounted-ismounted.Tpo -c -o lib/test_ismounted-ismounted.obj `if test -f 'lib/ismounted.c'; then $(CYGPATH_W) 'lib/ismounted.c'; else $(CYGPATH_W) '$(srcdir)/lib/ismounted.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_ismounted-ismounted.Tpo lib/$(DEPDIR)/test_ismounted-ismounted.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ismounted.c' object='lib/test_ismounted-ismounted.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_ismounted_CFLAGS) $(CFLAGS) -c -o lib/test_ismounted-ismounted.obj `if test -f 'lib/ismounted.c'; then $(CYGPATH_W) 'lib/ismounted.c'; else $(CYGPATH_W) '$(srcdir)/lib/ismounted.c'; fi` + +lib/test_linux_version-linux_version.o: lib/linux_version.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_linux_version_CFLAGS) $(CFLAGS) -MT lib/test_linux_version-linux_version.o -MD -MP -MF lib/$(DEPDIR)/test_linux_version-linux_version.Tpo -c -o lib/test_linux_version-linux_version.o `test -f 'lib/linux_version.c' || echo '$(srcdir)/'`lib/linux_version.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_linux_version-linux_version.Tpo lib/$(DEPDIR)/test_linux_version-linux_version.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/linux_version.c' object='lib/test_linux_version-linux_version.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_linux_version_CFLAGS) $(CFLAGS) -c -o lib/test_linux_version-linux_version.o `test -f 'lib/linux_version.c' || echo '$(srcdir)/'`lib/linux_version.c + +lib/test_linux_version-linux_version.obj: lib/linux_version.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_linux_version_CFLAGS) $(CFLAGS) -MT lib/test_linux_version-linux_version.obj -MD -MP -MF lib/$(DEPDIR)/test_linux_version-linux_version.Tpo -c -o lib/test_linux_version-linux_version.obj `if test -f 'lib/linux_version.c'; then $(CYGPATH_W) 'lib/linux_version.c'; else $(CYGPATH_W) '$(srcdir)/lib/linux_version.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_linux_version-linux_version.Tpo lib/$(DEPDIR)/test_linux_version-linux_version.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/linux_version.c' object='lib/test_linux_version-linux_version.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_linux_version_CFLAGS) $(CFLAGS) -c -o lib/test_linux_version-linux_version.obj `if test -f 'lib/linux_version.c'; then $(CYGPATH_W) 'lib/linux_version.c'; else $(CYGPATH_W) '$(srcdir)/lib/linux_version.c'; fi` + +misc-utils/test_logger-logger.o: misc-utils/logger.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_logger_CFLAGS) $(CFLAGS) -MT misc-utils/test_logger-logger.o -MD -MP -MF misc-utils/$(DEPDIR)/test_logger-logger.Tpo -c -o misc-utils/test_logger-logger.o `test -f 'misc-utils/logger.c' || echo '$(srcdir)/'`misc-utils/logger.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/test_logger-logger.Tpo misc-utils/$(DEPDIR)/test_logger-logger.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/logger.c' object='misc-utils/test_logger-logger.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_logger_CFLAGS) $(CFLAGS) -c -o misc-utils/test_logger-logger.o `test -f 'misc-utils/logger.c' || echo '$(srcdir)/'`misc-utils/logger.c + +misc-utils/test_logger-logger.obj: misc-utils/logger.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_logger_CFLAGS) $(CFLAGS) -MT misc-utils/test_logger-logger.obj -MD -MP -MF misc-utils/$(DEPDIR)/test_logger-logger.Tpo -c -o misc-utils/test_logger-logger.obj `if test -f 'misc-utils/logger.c'; then $(CYGPATH_W) 'misc-utils/logger.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/logger.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/test_logger-logger.Tpo misc-utils/$(DEPDIR)/test_logger-logger.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/logger.c' object='misc-utils/test_logger-logger.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_logger_CFLAGS) $(CFLAGS) -c -o misc-utils/test_logger-logger.obj `if test -f 'misc-utils/logger.c'; then $(CYGPATH_W) 'misc-utils/logger.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/logger.c'; fi` + +lib/test_logger-strutils.o: lib/strutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_logger_CFLAGS) $(CFLAGS) -MT lib/test_logger-strutils.o -MD -MP -MF lib/$(DEPDIR)/test_logger-strutils.Tpo -c -o lib/test_logger-strutils.o `test -f 'lib/strutils.c' || echo '$(srcdir)/'`lib/strutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_logger-strutils.Tpo lib/$(DEPDIR)/test_logger-strutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strutils.c' object='lib/test_logger-strutils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_logger_CFLAGS) $(CFLAGS) -c -o lib/test_logger-strutils.o `test -f 'lib/strutils.c' || echo '$(srcdir)/'`lib/strutils.c + +lib/test_logger-strutils.obj: lib/strutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_logger_CFLAGS) $(CFLAGS) -MT lib/test_logger-strutils.obj -MD -MP -MF lib/$(DEPDIR)/test_logger-strutils.Tpo -c -o lib/test_logger-strutils.obj `if test -f 'lib/strutils.c'; then $(CYGPATH_W) 'lib/strutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/strutils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_logger-strutils.Tpo lib/$(DEPDIR)/test_logger-strutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strutils.c' object='lib/test_logger-strutils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_logger_CFLAGS) $(CFLAGS) -c -o lib/test_logger-strutils.obj `if test -f 'lib/strutils.c'; then $(CYGPATH_W) 'lib/strutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/strutils.c'; fi` + +lib/test_logger-strv.o: lib/strv.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_logger_CFLAGS) $(CFLAGS) -MT lib/test_logger-strv.o -MD -MP -MF lib/$(DEPDIR)/test_logger-strv.Tpo -c -o lib/test_logger-strv.o `test -f 'lib/strv.c' || echo '$(srcdir)/'`lib/strv.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_logger-strv.Tpo lib/$(DEPDIR)/test_logger-strv.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strv.c' object='lib/test_logger-strv.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_logger_CFLAGS) $(CFLAGS) -c -o lib/test_logger-strv.o `test -f 'lib/strv.c' || echo '$(srcdir)/'`lib/strv.c + +lib/test_logger-strv.obj: lib/strv.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_logger_CFLAGS) $(CFLAGS) -MT lib/test_logger-strv.obj -MD -MP -MF lib/$(DEPDIR)/test_logger-strv.Tpo -c -o lib/test_logger-strv.obj `if test -f 'lib/strv.c'; then $(CYGPATH_W) 'lib/strv.c'; else $(CYGPATH_W) '$(srcdir)/lib/strv.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_logger-strv.Tpo lib/$(DEPDIR)/test_logger-strv.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strv.c' object='lib/test_logger-strv.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_logger_CFLAGS) $(CFLAGS) -c -o lib/test_logger-strv.obj `if test -f 'lib/strv.c'; then $(CYGPATH_W) 'lib/strv.c'; else $(CYGPATH_W) '$(srcdir)/lib/strv.c'; fi` + +login-utils/test_logindefs-logindefs.o: login-utils/logindefs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_logindefs_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT login-utils/test_logindefs-logindefs.o -MD -MP -MF login-utils/$(DEPDIR)/test_logindefs-logindefs.Tpo -c -o login-utils/test_logindefs-logindefs.o `test -f 'login-utils/logindefs.c' || echo '$(srcdir)/'`login-utils/logindefs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/test_logindefs-logindefs.Tpo login-utils/$(DEPDIR)/test_logindefs-logindefs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/logindefs.c' object='login-utils/test_logindefs-logindefs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_logindefs_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o login-utils/test_logindefs-logindefs.o `test -f 'login-utils/logindefs.c' || echo '$(srcdir)/'`login-utils/logindefs.c + +login-utils/test_logindefs-logindefs.obj: login-utils/logindefs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_logindefs_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT login-utils/test_logindefs-logindefs.obj -MD -MP -MF login-utils/$(DEPDIR)/test_logindefs-logindefs.Tpo -c -o login-utils/test_logindefs-logindefs.obj `if test -f 'login-utils/logindefs.c'; then $(CYGPATH_W) 'login-utils/logindefs.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/logindefs.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) login-utils/$(DEPDIR)/test_logindefs-logindefs.Tpo login-utils/$(DEPDIR)/test_logindefs-logindefs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='login-utils/logindefs.c' object='login-utils/test_logindefs-logindefs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_logindefs_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o login-utils/test_logindefs-logindefs.obj `if test -f 'login-utils/logindefs.c'; then $(CYGPATH_W) 'login-utils/logindefs.c'; else $(CYGPATH_W) '$(srcdir)/login-utils/logindefs.c'; fi` + +lib/test_mangle-mangle.o: lib/mangle.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mangle_CFLAGS) $(CFLAGS) -MT lib/test_mangle-mangle.o -MD -MP -MF lib/$(DEPDIR)/test_mangle-mangle.Tpo -c -o lib/test_mangle-mangle.o `test -f 'lib/mangle.c' || echo '$(srcdir)/'`lib/mangle.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_mangle-mangle.Tpo lib/$(DEPDIR)/test_mangle-mangle.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mangle.c' object='lib/test_mangle-mangle.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mangle_CFLAGS) $(CFLAGS) -c -o lib/test_mangle-mangle.o `test -f 'lib/mangle.c' || echo '$(srcdir)/'`lib/mangle.c + +lib/test_mangle-mangle.obj: lib/mangle.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mangle_CFLAGS) $(CFLAGS) -MT lib/test_mangle-mangle.obj -MD -MP -MF lib/$(DEPDIR)/test_mangle-mangle.Tpo -c -o lib/test_mangle-mangle.obj `if test -f 'lib/mangle.c'; then $(CYGPATH_W) 'lib/mangle.c'; else $(CYGPATH_W) '$(srcdir)/lib/mangle.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_mangle-mangle.Tpo lib/$(DEPDIR)/test_mangle-mangle.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/mangle.c' object='lib/test_mangle-mangle.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mangle_CFLAGS) $(CFLAGS) -c -o lib/test_mangle-mangle.obj `if test -f 'lib/mangle.c'; then $(CYGPATH_W) 'lib/mangle.c'; else $(CYGPATH_W) '$(srcdir)/lib/mangle.c'; fi` + +disk-utils/test_mkfs_minix-mkfs.minix.o: disk-utils/mkfs.minix.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mkfs_minix_CFLAGS) $(CFLAGS) -MT disk-utils/test_mkfs_minix-mkfs.minix.o -MD -MP -MF disk-utils/$(DEPDIR)/test_mkfs_minix-mkfs.minix.Tpo -c -o disk-utils/test_mkfs_minix-mkfs.minix.o `test -f 'disk-utils/mkfs.minix.c' || echo '$(srcdir)/'`disk-utils/mkfs.minix.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/test_mkfs_minix-mkfs.minix.Tpo disk-utils/$(DEPDIR)/test_mkfs_minix-mkfs.minix.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/mkfs.minix.c' object='disk-utils/test_mkfs_minix-mkfs.minix.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mkfs_minix_CFLAGS) $(CFLAGS) -c -o disk-utils/test_mkfs_minix-mkfs.minix.o `test -f 'disk-utils/mkfs.minix.c' || echo '$(srcdir)/'`disk-utils/mkfs.minix.c + +disk-utils/test_mkfs_minix-mkfs.minix.obj: disk-utils/mkfs.minix.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mkfs_minix_CFLAGS) $(CFLAGS) -MT disk-utils/test_mkfs_minix-mkfs.minix.obj -MD -MP -MF disk-utils/$(DEPDIR)/test_mkfs_minix-mkfs.minix.Tpo -c -o disk-utils/test_mkfs_minix-mkfs.minix.obj `if test -f 'disk-utils/mkfs.minix.c'; then $(CYGPATH_W) 'disk-utils/mkfs.minix.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/mkfs.minix.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) disk-utils/$(DEPDIR)/test_mkfs_minix-mkfs.minix.Tpo disk-utils/$(DEPDIR)/test_mkfs_minix-mkfs.minix.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='disk-utils/mkfs.minix.c' object='disk-utils/test_mkfs_minix-mkfs.minix.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mkfs_minix_CFLAGS) $(CFLAGS) -c -o disk-utils/test_mkfs_minix-mkfs.minix.obj `if test -f 'disk-utils/mkfs.minix.c'; then $(CYGPATH_W) 'disk-utils/mkfs.minix.c'; else $(CYGPATH_W) '$(srcdir)/disk-utils/mkfs.minix.c'; fi` + +text-utils/test_more-more.o: text-utils/more.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_more_CFLAGS) $(CFLAGS) -MT text-utils/test_more-more.o -MD -MP -MF text-utils/$(DEPDIR)/test_more-more.Tpo -c -o text-utils/test_more-more.o `test -f 'text-utils/more.c' || echo '$(srcdir)/'`text-utils/more.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) text-utils/$(DEPDIR)/test_more-more.Tpo text-utils/$(DEPDIR)/test_more-more.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='text-utils/more.c' object='text-utils/test_more-more.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_more_CFLAGS) $(CFLAGS) -c -o text-utils/test_more-more.o `test -f 'text-utils/more.c' || echo '$(srcdir)/'`text-utils/more.c + +text-utils/test_more-more.obj: text-utils/more.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_more_CFLAGS) $(CFLAGS) -MT text-utils/test_more-more.obj -MD -MP -MF text-utils/$(DEPDIR)/test_more-more.Tpo -c -o text-utils/test_more-more.obj `if test -f 'text-utils/more.c'; then $(CYGPATH_W) 'text-utils/more.c'; else $(CYGPATH_W) '$(srcdir)/text-utils/more.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) text-utils/$(DEPDIR)/test_more-more.Tpo text-utils/$(DEPDIR)/test_more-more.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='text-utils/more.c' object='text-utils/test_more-more.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_more_CFLAGS) $(CFLAGS) -c -o text-utils/test_more-more.obj `if test -f 'text-utils/more.c'; then $(CYGPATH_W) 'text-utils/more.c'; else $(CYGPATH_W) '$(srcdir)/text-utils/more.c'; fi` + +libmount/src/test_mount_cache-cache.o: libmount/src/cache.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_cache_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_cache-cache.o -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_cache-cache.Tpo -c -o libmount/src/test_mount_cache-cache.o `test -f 'libmount/src/cache.c' || echo '$(srcdir)/'`libmount/src/cache.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_cache-cache.Tpo libmount/src/$(DEPDIR)/test_mount_cache-cache.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/cache.c' object='libmount/src/test_mount_cache-cache.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_cache_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_cache-cache.o `test -f 'libmount/src/cache.c' || echo '$(srcdir)/'`libmount/src/cache.c + +libmount/src/test_mount_cache-cache.obj: libmount/src/cache.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_cache_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_cache-cache.obj -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_cache-cache.Tpo -c -o libmount/src/test_mount_cache-cache.obj `if test -f 'libmount/src/cache.c'; then $(CYGPATH_W) 'libmount/src/cache.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/cache.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_cache-cache.Tpo libmount/src/$(DEPDIR)/test_mount_cache-cache.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/cache.c' object='libmount/src/test_mount_cache-cache.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_cache_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_cache-cache.obj `if test -f 'libmount/src/cache.c'; then $(CYGPATH_W) 'libmount/src/cache.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/cache.c'; fi` + +libmount/src/test_mount_context-context.o: libmount/src/context.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_context_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_context-context.o -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_context-context.Tpo -c -o libmount/src/test_mount_context-context.o `test -f 'libmount/src/context.c' || echo '$(srcdir)/'`libmount/src/context.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_context-context.Tpo libmount/src/$(DEPDIR)/test_mount_context-context.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/context.c' object='libmount/src/test_mount_context-context.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_context_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_context-context.o `test -f 'libmount/src/context.c' || echo '$(srcdir)/'`libmount/src/context.c + +libmount/src/test_mount_context-context.obj: libmount/src/context.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_context_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_context-context.obj -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_context-context.Tpo -c -o libmount/src/test_mount_context-context.obj `if test -f 'libmount/src/context.c'; then $(CYGPATH_W) 'libmount/src/context.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/context.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_context-context.Tpo libmount/src/$(DEPDIR)/test_mount_context-context.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/context.c' object='libmount/src/test_mount_context-context.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_context_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_context-context.obj `if test -f 'libmount/src/context.c'; then $(CYGPATH_W) 'libmount/src/context.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/context.c'; fi` + +libmount/src/test_mount_debug-init.o: libmount/src/init.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_debug_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_debug-init.o -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_debug-init.Tpo -c -o libmount/src/test_mount_debug-init.o `test -f 'libmount/src/init.c' || echo '$(srcdir)/'`libmount/src/init.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_debug-init.Tpo libmount/src/$(DEPDIR)/test_mount_debug-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/init.c' object='libmount/src/test_mount_debug-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_debug_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_debug-init.o `test -f 'libmount/src/init.c' || echo '$(srcdir)/'`libmount/src/init.c + +libmount/src/test_mount_debug-init.obj: libmount/src/init.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_debug_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_debug-init.obj -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_debug-init.Tpo -c -o libmount/src/test_mount_debug-init.obj `if test -f 'libmount/src/init.c'; then $(CYGPATH_W) 'libmount/src/init.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/init.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_debug-init.Tpo libmount/src/$(DEPDIR)/test_mount_debug-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/init.c' object='libmount/src/test_mount_debug-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_debug_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_debug-init.obj `if test -f 'libmount/src/init.c'; then $(CYGPATH_W) 'libmount/src/init.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/init.c'; fi` + +libmount/src/test_mount_lock-lock.o: libmount/src/lock.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_lock_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_lock-lock.o -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_lock-lock.Tpo -c -o libmount/src/test_mount_lock-lock.o `test -f 'libmount/src/lock.c' || echo '$(srcdir)/'`libmount/src/lock.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_lock-lock.Tpo libmount/src/$(DEPDIR)/test_mount_lock-lock.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/lock.c' object='libmount/src/test_mount_lock-lock.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_lock_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_lock-lock.o `test -f 'libmount/src/lock.c' || echo '$(srcdir)/'`libmount/src/lock.c + +libmount/src/test_mount_lock-lock.obj: libmount/src/lock.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_lock_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_lock-lock.obj -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_lock-lock.Tpo -c -o libmount/src/test_mount_lock-lock.obj `if test -f 'libmount/src/lock.c'; then $(CYGPATH_W) 'libmount/src/lock.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/lock.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_lock-lock.Tpo libmount/src/$(DEPDIR)/test_mount_lock-lock.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/lock.c' object='libmount/src/test_mount_lock-lock.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_lock_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_lock-lock.obj `if test -f 'libmount/src/lock.c'; then $(CYGPATH_W) 'libmount/src/lock.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/lock.c'; fi` + +libmount/src/test_mount_monitor-monitor.o: libmount/src/monitor.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_monitor_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_monitor-monitor.o -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_monitor-monitor.Tpo -c -o libmount/src/test_mount_monitor-monitor.o `test -f 'libmount/src/monitor.c' || echo '$(srcdir)/'`libmount/src/monitor.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_monitor-monitor.Tpo libmount/src/$(DEPDIR)/test_mount_monitor-monitor.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/monitor.c' object='libmount/src/test_mount_monitor-monitor.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_monitor_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_monitor-monitor.o `test -f 'libmount/src/monitor.c' || echo '$(srcdir)/'`libmount/src/monitor.c + +libmount/src/test_mount_monitor-monitor.obj: libmount/src/monitor.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_monitor_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_monitor-monitor.obj -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_monitor-monitor.Tpo -c -o libmount/src/test_mount_monitor-monitor.obj `if test -f 'libmount/src/monitor.c'; then $(CYGPATH_W) 'libmount/src/monitor.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/monitor.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_monitor-monitor.Tpo libmount/src/$(DEPDIR)/test_mount_monitor-monitor.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/monitor.c' object='libmount/src/test_mount_monitor-monitor.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_monitor_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_monitor-monitor.obj `if test -f 'libmount/src/monitor.c'; then $(CYGPATH_W) 'libmount/src/monitor.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/monitor.c'; fi` + +libmount/src/test_mount_optstr-optstr.o: libmount/src/optstr.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_optstr_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_optstr-optstr.o -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_optstr-optstr.Tpo -c -o libmount/src/test_mount_optstr-optstr.o `test -f 'libmount/src/optstr.c' || echo '$(srcdir)/'`libmount/src/optstr.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_optstr-optstr.Tpo libmount/src/$(DEPDIR)/test_mount_optstr-optstr.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/optstr.c' object='libmount/src/test_mount_optstr-optstr.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_optstr_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_optstr-optstr.o `test -f 'libmount/src/optstr.c' || echo '$(srcdir)/'`libmount/src/optstr.c + +libmount/src/test_mount_optstr-optstr.obj: libmount/src/optstr.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_optstr_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_optstr-optstr.obj -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_optstr-optstr.Tpo -c -o libmount/src/test_mount_optstr-optstr.obj `if test -f 'libmount/src/optstr.c'; then $(CYGPATH_W) 'libmount/src/optstr.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/optstr.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_optstr-optstr.Tpo libmount/src/$(DEPDIR)/test_mount_optstr-optstr.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/optstr.c' object='libmount/src/test_mount_optstr-optstr.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_optstr_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_optstr-optstr.obj `if test -f 'libmount/src/optstr.c'; then $(CYGPATH_W) 'libmount/src/optstr.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/optstr.c'; fi` + +libmount/src/test_mount_tab-tab.o: libmount/src/tab.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_tab_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_tab-tab.o -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_tab-tab.Tpo -c -o libmount/src/test_mount_tab-tab.o `test -f 'libmount/src/tab.c' || echo '$(srcdir)/'`libmount/src/tab.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_tab-tab.Tpo libmount/src/$(DEPDIR)/test_mount_tab-tab.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/tab.c' object='libmount/src/test_mount_tab-tab.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_tab_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_tab-tab.o `test -f 'libmount/src/tab.c' || echo '$(srcdir)/'`libmount/src/tab.c + +libmount/src/test_mount_tab-tab.obj: libmount/src/tab.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_tab_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_tab-tab.obj -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_tab-tab.Tpo -c -o libmount/src/test_mount_tab-tab.obj `if test -f 'libmount/src/tab.c'; then $(CYGPATH_W) 'libmount/src/tab.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/tab.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_tab-tab.Tpo libmount/src/$(DEPDIR)/test_mount_tab-tab.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/tab.c' object='libmount/src/test_mount_tab-tab.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_tab_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_tab-tab.obj `if test -f 'libmount/src/tab.c'; then $(CYGPATH_W) 'libmount/src/tab.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/tab.c'; fi` + +libmount/src/test_mount_tab_diff-tab_diff.o: libmount/src/tab_diff.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_tab_diff_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_tab_diff-tab_diff.o -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_tab_diff-tab_diff.Tpo -c -o libmount/src/test_mount_tab_diff-tab_diff.o `test -f 'libmount/src/tab_diff.c' || echo '$(srcdir)/'`libmount/src/tab_diff.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_tab_diff-tab_diff.Tpo libmount/src/$(DEPDIR)/test_mount_tab_diff-tab_diff.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/tab_diff.c' object='libmount/src/test_mount_tab_diff-tab_diff.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_tab_diff_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_tab_diff-tab_diff.o `test -f 'libmount/src/tab_diff.c' || echo '$(srcdir)/'`libmount/src/tab_diff.c + +libmount/src/test_mount_tab_diff-tab_diff.obj: libmount/src/tab_diff.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_tab_diff_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_tab_diff-tab_diff.obj -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_tab_diff-tab_diff.Tpo -c -o libmount/src/test_mount_tab_diff-tab_diff.obj `if test -f 'libmount/src/tab_diff.c'; then $(CYGPATH_W) 'libmount/src/tab_diff.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/tab_diff.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_tab_diff-tab_diff.Tpo libmount/src/$(DEPDIR)/test_mount_tab_diff-tab_diff.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/tab_diff.c' object='libmount/src/test_mount_tab_diff-tab_diff.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_tab_diff_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_tab_diff-tab_diff.obj `if test -f 'libmount/src/tab_diff.c'; then $(CYGPATH_W) 'libmount/src/tab_diff.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/tab_diff.c'; fi` + +libmount/src/test_mount_tab_update-tab_update.o: libmount/src/tab_update.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_tab_update_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_tab_update-tab_update.o -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_tab_update-tab_update.Tpo -c -o libmount/src/test_mount_tab_update-tab_update.o `test -f 'libmount/src/tab_update.c' || echo '$(srcdir)/'`libmount/src/tab_update.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_tab_update-tab_update.Tpo libmount/src/$(DEPDIR)/test_mount_tab_update-tab_update.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/tab_update.c' object='libmount/src/test_mount_tab_update-tab_update.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_tab_update_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_tab_update-tab_update.o `test -f 'libmount/src/tab_update.c' || echo '$(srcdir)/'`libmount/src/tab_update.c + +libmount/src/test_mount_tab_update-tab_update.obj: libmount/src/tab_update.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_tab_update_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_tab_update-tab_update.obj -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_tab_update-tab_update.Tpo -c -o libmount/src/test_mount_tab_update-tab_update.obj `if test -f 'libmount/src/tab_update.c'; then $(CYGPATH_W) 'libmount/src/tab_update.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/tab_update.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_tab_update-tab_update.Tpo libmount/src/$(DEPDIR)/test_mount_tab_update-tab_update.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/tab_update.c' object='libmount/src/test_mount_tab_update-tab_update.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_tab_update_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_tab_update-tab_update.obj `if test -f 'libmount/src/tab_update.c'; then $(CYGPATH_W) 'libmount/src/tab_update.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/tab_update.c'; fi` + +libmount/src/test_mount_utils-utils.o: libmount/src/utils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_utils_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_utils-utils.o -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_utils-utils.Tpo -c -o libmount/src/test_mount_utils-utils.o `test -f 'libmount/src/utils.c' || echo '$(srcdir)/'`libmount/src/utils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_utils-utils.Tpo libmount/src/$(DEPDIR)/test_mount_utils-utils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/utils.c' object='libmount/src/test_mount_utils-utils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_utils_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_utils-utils.o `test -f 'libmount/src/utils.c' || echo '$(srcdir)/'`libmount/src/utils.c + +libmount/src/test_mount_utils-utils.obj: libmount/src/utils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_utils_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_utils-utils.obj -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_utils-utils.Tpo -c -o libmount/src/test_mount_utils-utils.obj `if test -f 'libmount/src/utils.c'; then $(CYGPATH_W) 'libmount/src/utils.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/utils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_utils-utils.Tpo libmount/src/$(DEPDIR)/test_mount_utils-utils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/utils.c' object='libmount/src/test_mount_utils-utils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_utils_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_utils-utils.obj `if test -f 'libmount/src/utils.c'; then $(CYGPATH_W) 'libmount/src/utils.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/utils.c'; fi` + +libmount/src/test_mount_version-version.o: libmount/src/version.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_version_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_version-version.o -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_version-version.Tpo -c -o libmount/src/test_mount_version-version.o `test -f 'libmount/src/version.c' || echo '$(srcdir)/'`libmount/src/version.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_version-version.Tpo libmount/src/$(DEPDIR)/test_mount_version-version.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/version.c' object='libmount/src/test_mount_version-version.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_version_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_version-version.o `test -f 'libmount/src/version.c' || echo '$(srcdir)/'`libmount/src/version.c + +libmount/src/test_mount_version-version.obj: libmount/src/version.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_version_CFLAGS) $(CFLAGS) -MT libmount/src/test_mount_version-version.obj -MD -MP -MF libmount/src/$(DEPDIR)/test_mount_version-version.Tpo -c -o libmount/src/test_mount_version-version.obj `if test -f 'libmount/src/version.c'; then $(CYGPATH_W) 'libmount/src/version.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/version.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libmount/src/$(DEPDIR)/test_mount_version-version.Tpo libmount/src/$(DEPDIR)/test_mount_version-version.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libmount/src/version.c' object='libmount/src/test_mount_version-version.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_mount_version_CFLAGS) $(CFLAGS) -c -o libmount/src/test_mount_version-version.obj `if test -f 'libmount/src/version.c'; then $(CYGPATH_W) 'libmount/src/version.c'; else $(CYGPATH_W) '$(srcdir)/libmount/src/version.c'; fi` + +lib/test_pager-pager.o: lib/pager.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_pager_CFLAGS) $(CFLAGS) -MT lib/test_pager-pager.o -MD -MP -MF lib/$(DEPDIR)/test_pager-pager.Tpo -c -o lib/test_pager-pager.o `test -f 'lib/pager.c' || echo '$(srcdir)/'`lib/pager.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_pager-pager.Tpo lib/$(DEPDIR)/test_pager-pager.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/pager.c' object='lib/test_pager-pager.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_pager_CFLAGS) $(CFLAGS) -c -o lib/test_pager-pager.o `test -f 'lib/pager.c' || echo '$(srcdir)/'`lib/pager.c + +lib/test_pager-pager.obj: lib/pager.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_pager_CFLAGS) $(CFLAGS) -MT lib/test_pager-pager.obj -MD -MP -MF lib/$(DEPDIR)/test_pager-pager.Tpo -c -o lib/test_pager-pager.obj `if test -f 'lib/pager.c'; then $(CYGPATH_W) 'lib/pager.c'; else $(CYGPATH_W) '$(srcdir)/lib/pager.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_pager-pager.Tpo lib/$(DEPDIR)/test_pager-pager.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/pager.c' object='lib/test_pager-pager.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_pager_CFLAGS) $(CFLAGS) -c -o lib/test_pager-pager.obj `if test -f 'lib/pager.c'; then $(CYGPATH_W) 'lib/pager.c'; else $(CYGPATH_W) '$(srcdir)/lib/pager.c'; fi` + +lib/test_path-path.o: lib/path.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_path_CFLAGS) $(CFLAGS) -MT lib/test_path-path.o -MD -MP -MF lib/$(DEPDIR)/test_path-path.Tpo -c -o lib/test_path-path.o `test -f 'lib/path.c' || echo '$(srcdir)/'`lib/path.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_path-path.Tpo lib/$(DEPDIR)/test_path-path.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/path.c' object='lib/test_path-path.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_path_CFLAGS) $(CFLAGS) -c -o lib/test_path-path.o `test -f 'lib/path.c' || echo '$(srcdir)/'`lib/path.c + +lib/test_path-path.obj: lib/path.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_path_CFLAGS) $(CFLAGS) -MT lib/test_path-path.obj -MD -MP -MF lib/$(DEPDIR)/test_path-path.Tpo -c -o lib/test_path-path.obj `if test -f 'lib/path.c'; then $(CYGPATH_W) 'lib/path.c'; else $(CYGPATH_W) '$(srcdir)/lib/path.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_path-path.Tpo lib/$(DEPDIR)/test_path-path.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/path.c' object='lib/test_path-path.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_path_CFLAGS) $(CFLAGS) -c -o lib/test_path-path.obj `if test -f 'lib/path.c'; then $(CYGPATH_W) 'lib/path.c'; else $(CYGPATH_W) '$(srcdir)/lib/path.c'; fi` + +lib/test_path-fileutils.o: lib/fileutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_path_CFLAGS) $(CFLAGS) -MT lib/test_path-fileutils.o -MD -MP -MF lib/$(DEPDIR)/test_path-fileutils.Tpo -c -o lib/test_path-fileutils.o `test -f 'lib/fileutils.c' || echo '$(srcdir)/'`lib/fileutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_path-fileutils.Tpo lib/$(DEPDIR)/test_path-fileutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fileutils.c' object='lib/test_path-fileutils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_path_CFLAGS) $(CFLAGS) -c -o lib/test_path-fileutils.o `test -f 'lib/fileutils.c' || echo '$(srcdir)/'`lib/fileutils.c + +lib/test_path-fileutils.obj: lib/fileutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_path_CFLAGS) $(CFLAGS) -MT lib/test_path-fileutils.obj -MD -MP -MF lib/$(DEPDIR)/test_path-fileutils.Tpo -c -o lib/test_path-fileutils.obj `if test -f 'lib/fileutils.c'; then $(CYGPATH_W) 'lib/fileutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/fileutils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_path-fileutils.Tpo lib/$(DEPDIR)/test_path-fileutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fileutils.c' object='lib/test_path-fileutils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_path_CFLAGS) $(CFLAGS) -c -o lib/test_path-fileutils.obj `if test -f 'lib/fileutils.c'; then $(CYGPATH_W) 'lib/fileutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/fileutils.c'; fi` + +lib/test_path-cpuset.o: lib/cpuset.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_path_CFLAGS) $(CFLAGS) -MT lib/test_path-cpuset.o -MD -MP -MF lib/$(DEPDIR)/test_path-cpuset.Tpo -c -o lib/test_path-cpuset.o `test -f 'lib/cpuset.c' || echo '$(srcdir)/'`lib/cpuset.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_path-cpuset.Tpo lib/$(DEPDIR)/test_path-cpuset.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/cpuset.c' object='lib/test_path-cpuset.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_path_CFLAGS) $(CFLAGS) -c -o lib/test_path-cpuset.o `test -f 'lib/cpuset.c' || echo '$(srcdir)/'`lib/cpuset.c + +lib/test_path-cpuset.obj: lib/cpuset.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_path_CFLAGS) $(CFLAGS) -MT lib/test_path-cpuset.obj -MD -MP -MF lib/$(DEPDIR)/test_path-cpuset.Tpo -c -o lib/test_path-cpuset.obj `if test -f 'lib/cpuset.c'; then $(CYGPATH_W) 'lib/cpuset.c'; else $(CYGPATH_W) '$(srcdir)/lib/cpuset.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_path-cpuset.Tpo lib/$(DEPDIR)/test_path-cpuset.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/cpuset.c' object='lib/test_path-cpuset.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_path_CFLAGS) $(CFLAGS) -c -o lib/test_path-cpuset.obj `if test -f 'lib/cpuset.c'; then $(CYGPATH_W) 'lib/cpuset.c'; else $(CYGPATH_W) '$(srcdir)/lib/cpuset.c'; fi` + +lib/test_procutils-procutils.o: lib/procutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_procutils_CFLAGS) $(CFLAGS) -MT lib/test_procutils-procutils.o -MD -MP -MF lib/$(DEPDIR)/test_procutils-procutils.Tpo -c -o lib/test_procutils-procutils.o `test -f 'lib/procutils.c' || echo '$(srcdir)/'`lib/procutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_procutils-procutils.Tpo lib/$(DEPDIR)/test_procutils-procutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/procutils.c' object='lib/test_procutils-procutils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_procutils_CFLAGS) $(CFLAGS) -c -o lib/test_procutils-procutils.o `test -f 'lib/procutils.c' || echo '$(srcdir)/'`lib/procutils.c + +lib/test_procutils-procutils.obj: lib/procutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_procutils_CFLAGS) $(CFLAGS) -MT lib/test_procutils-procutils.obj -MD -MP -MF lib/$(DEPDIR)/test_procutils-procutils.Tpo -c -o lib/test_procutils-procutils.obj `if test -f 'lib/procutils.c'; then $(CYGPATH_W) 'lib/procutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/procutils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_procutils-procutils.Tpo lib/$(DEPDIR)/test_procutils-procutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/procutils.c' object='lib/test_procutils-procutils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_procutils_CFLAGS) $(CFLAGS) -c -o lib/test_procutils-procutils.obj `if test -f 'lib/procutils.c'; then $(CYGPATH_W) 'lib/procutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/procutils.c'; fi` + +lib/test_pwdutils-pwdutils.o: lib/pwdutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_pwdutils_CFLAGS) $(CFLAGS) -MT lib/test_pwdutils-pwdutils.o -MD -MP -MF lib/$(DEPDIR)/test_pwdutils-pwdutils.Tpo -c -o lib/test_pwdutils-pwdutils.o `test -f 'lib/pwdutils.c' || echo '$(srcdir)/'`lib/pwdutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_pwdutils-pwdutils.Tpo lib/$(DEPDIR)/test_pwdutils-pwdutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/pwdutils.c' object='lib/test_pwdutils-pwdutils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_pwdutils_CFLAGS) $(CFLAGS) -c -o lib/test_pwdutils-pwdutils.o `test -f 'lib/pwdutils.c' || echo '$(srcdir)/'`lib/pwdutils.c + +lib/test_pwdutils-pwdutils.obj: lib/pwdutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_pwdutils_CFLAGS) $(CFLAGS) -MT lib/test_pwdutils-pwdutils.obj -MD -MP -MF lib/$(DEPDIR)/test_pwdutils-pwdutils.Tpo -c -o lib/test_pwdutils-pwdutils.obj `if test -f 'lib/pwdutils.c'; then $(CYGPATH_W) 'lib/pwdutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/pwdutils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_pwdutils-pwdutils.Tpo lib/$(DEPDIR)/test_pwdutils-pwdutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/pwdutils.c' object='lib/test_pwdutils-pwdutils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_pwdutils_CFLAGS) $(CFLAGS) -c -o lib/test_pwdutils-pwdutils.obj `if test -f 'lib/pwdutils.c'; then $(CYGPATH_W) 'lib/pwdutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/pwdutils.c'; fi` + +lib/test_randutils-randutils.o: lib/randutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_randutils_CFLAGS) $(CFLAGS) -MT lib/test_randutils-randutils.o -MD -MP -MF lib/$(DEPDIR)/test_randutils-randutils.Tpo -c -o lib/test_randutils-randutils.o `test -f 'lib/randutils.c' || echo '$(srcdir)/'`lib/randutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_randutils-randutils.Tpo lib/$(DEPDIR)/test_randutils-randutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/randutils.c' object='lib/test_randutils-randutils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_randutils_CFLAGS) $(CFLAGS) -c -o lib/test_randutils-randutils.o `test -f 'lib/randutils.c' || echo '$(srcdir)/'`lib/randutils.c + +lib/test_randutils-randutils.obj: lib/randutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_randutils_CFLAGS) $(CFLAGS) -MT lib/test_randutils-randutils.obj -MD -MP -MF lib/$(DEPDIR)/test_randutils-randutils.Tpo -c -o lib/test_randutils-randutils.obj `if test -f 'lib/randutils.c'; then $(CYGPATH_W) 'lib/randutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/randutils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_randutils-randutils.Tpo lib/$(DEPDIR)/test_randutils-randutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/randutils.c' object='lib/test_randutils-randutils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_randutils_CFLAGS) $(CFLAGS) -c -o lib/test_randutils-randutils.obj `if test -f 'lib/randutils.c'; then $(CYGPATH_W) 'lib/randutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/randutils.c'; fi` + +term-utils/test_script-script.o: term-utils/script.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_script_CFLAGS) $(CFLAGS) -MT term-utils/test_script-script.o -MD -MP -MF term-utils/$(DEPDIR)/test_script-script.Tpo -c -o term-utils/test_script-script.o `test -f 'term-utils/script.c' || echo '$(srcdir)/'`term-utils/script.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) term-utils/$(DEPDIR)/test_script-script.Tpo term-utils/$(DEPDIR)/test_script-script.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='term-utils/script.c' object='term-utils/test_script-script.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_script_CFLAGS) $(CFLAGS) -c -o term-utils/test_script-script.o `test -f 'term-utils/script.c' || echo '$(srcdir)/'`term-utils/script.c + +term-utils/test_script-script.obj: term-utils/script.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_script_CFLAGS) $(CFLAGS) -MT term-utils/test_script-script.obj -MD -MP -MF term-utils/$(DEPDIR)/test_script-script.Tpo -c -o term-utils/test_script-script.obj `if test -f 'term-utils/script.c'; then $(CYGPATH_W) 'term-utils/script.c'; else $(CYGPATH_W) '$(srcdir)/term-utils/script.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) term-utils/$(DEPDIR)/test_script-script.Tpo term-utils/$(DEPDIR)/test_script-script.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='term-utils/script.c' object='term-utils/test_script-script.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_script_CFLAGS) $(CFLAGS) -c -o term-utils/test_script-script.obj `if test -f 'term-utils/script.c'; then $(CYGPATH_W) 'term-utils/script.c'; else $(CYGPATH_W) '$(srcdir)/term-utils/script.c'; fi` + +lib/test_script-monotonic.o: lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_script_CFLAGS) $(CFLAGS) -MT lib/test_script-monotonic.o -MD -MP -MF lib/$(DEPDIR)/test_script-monotonic.Tpo -c -o lib/test_script-monotonic.o `test -f 'lib/monotonic.c' || echo '$(srcdir)/'`lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_script-monotonic.Tpo lib/$(DEPDIR)/test_script-monotonic.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/monotonic.c' object='lib/test_script-monotonic.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_script_CFLAGS) $(CFLAGS) -c -o lib/test_script-monotonic.o `test -f 'lib/monotonic.c' || echo '$(srcdir)/'`lib/monotonic.c + +lib/test_script-monotonic.obj: lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_script_CFLAGS) $(CFLAGS) -MT lib/test_script-monotonic.obj -MD -MP -MF lib/$(DEPDIR)/test_script-monotonic.Tpo -c -o lib/test_script-monotonic.obj `if test -f 'lib/monotonic.c'; then $(CYGPATH_W) 'lib/monotonic.c'; else $(CYGPATH_W) '$(srcdir)/lib/monotonic.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_script-monotonic.Tpo lib/$(DEPDIR)/test_script-monotonic.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/monotonic.c' object='lib/test_script-monotonic.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_script_CFLAGS) $(CFLAGS) -c -o lib/test_script-monotonic.obj `if test -f 'lib/monotonic.c'; then $(CYGPATH_W) 'lib/monotonic.c'; else $(CYGPATH_W) '$(srcdir)/lib/monotonic.c'; fi` + +lib/test_strutils-strutils.o: lib/strutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_strutils_CFLAGS) $(CFLAGS) -MT lib/test_strutils-strutils.o -MD -MP -MF lib/$(DEPDIR)/test_strutils-strutils.Tpo -c -o lib/test_strutils-strutils.o `test -f 'lib/strutils.c' || echo '$(srcdir)/'`lib/strutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_strutils-strutils.Tpo lib/$(DEPDIR)/test_strutils-strutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strutils.c' object='lib/test_strutils-strutils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_strutils_CFLAGS) $(CFLAGS) -c -o lib/test_strutils-strutils.o `test -f 'lib/strutils.c' || echo '$(srcdir)/'`lib/strutils.c + +lib/test_strutils-strutils.obj: lib/strutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_strutils_CFLAGS) $(CFLAGS) -MT lib/test_strutils-strutils.obj -MD -MP -MF lib/$(DEPDIR)/test_strutils-strutils.Tpo -c -o lib/test_strutils-strutils.obj `if test -f 'lib/strutils.c'; then $(CYGPATH_W) 'lib/strutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/strutils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_strutils-strutils.Tpo lib/$(DEPDIR)/test_strutils-strutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strutils.c' object='lib/test_strutils-strutils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_strutils_CFLAGS) $(CFLAGS) -c -o lib/test_strutils-strutils.obj `if test -f 'lib/strutils.c'; then $(CYGPATH_W) 'lib/strutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/strutils.c'; fi` + +lib/test_sysfs-sysfs.o: lib/sysfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sysfs_CFLAGS) $(CFLAGS) -MT lib/test_sysfs-sysfs.o -MD -MP -MF lib/$(DEPDIR)/test_sysfs-sysfs.Tpo -c -o lib/test_sysfs-sysfs.o `test -f 'lib/sysfs.c' || echo '$(srcdir)/'`lib/sysfs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_sysfs-sysfs.Tpo lib/$(DEPDIR)/test_sysfs-sysfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sysfs.c' object='lib/test_sysfs-sysfs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sysfs_CFLAGS) $(CFLAGS) -c -o lib/test_sysfs-sysfs.o `test -f 'lib/sysfs.c' || echo '$(srcdir)/'`lib/sysfs.c + +lib/test_sysfs-sysfs.obj: lib/sysfs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sysfs_CFLAGS) $(CFLAGS) -MT lib/test_sysfs-sysfs.obj -MD -MP -MF lib/$(DEPDIR)/test_sysfs-sysfs.Tpo -c -o lib/test_sysfs-sysfs.obj `if test -f 'lib/sysfs.c'; then $(CYGPATH_W) 'lib/sysfs.c'; else $(CYGPATH_W) '$(srcdir)/lib/sysfs.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_sysfs-sysfs.Tpo lib/$(DEPDIR)/test_sysfs-sysfs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/sysfs.c' object='lib/test_sysfs-sysfs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sysfs_CFLAGS) $(CFLAGS) -c -o lib/test_sysfs-sysfs.obj `if test -f 'lib/sysfs.c'; then $(CYGPATH_W) 'lib/sysfs.c'; else $(CYGPATH_W) '$(srcdir)/lib/sysfs.c'; fi` + +lib/test_sysfs-path.o: lib/path.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sysfs_CFLAGS) $(CFLAGS) -MT lib/test_sysfs-path.o -MD -MP -MF lib/$(DEPDIR)/test_sysfs-path.Tpo -c -o lib/test_sysfs-path.o `test -f 'lib/path.c' || echo '$(srcdir)/'`lib/path.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_sysfs-path.Tpo lib/$(DEPDIR)/test_sysfs-path.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/path.c' object='lib/test_sysfs-path.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sysfs_CFLAGS) $(CFLAGS) -c -o lib/test_sysfs-path.o `test -f 'lib/path.c' || echo '$(srcdir)/'`lib/path.c + +lib/test_sysfs-path.obj: lib/path.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sysfs_CFLAGS) $(CFLAGS) -MT lib/test_sysfs-path.obj -MD -MP -MF lib/$(DEPDIR)/test_sysfs-path.Tpo -c -o lib/test_sysfs-path.obj `if test -f 'lib/path.c'; then $(CYGPATH_W) 'lib/path.c'; else $(CYGPATH_W) '$(srcdir)/lib/path.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_sysfs-path.Tpo lib/$(DEPDIR)/test_sysfs-path.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/path.c' object='lib/test_sysfs-path.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sysfs_CFLAGS) $(CFLAGS) -c -o lib/test_sysfs-path.obj `if test -f 'lib/path.c'; then $(CYGPATH_W) 'lib/path.c'; else $(CYGPATH_W) '$(srcdir)/lib/path.c'; fi` + +lib/test_sysfs-fileutils.o: lib/fileutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sysfs_CFLAGS) $(CFLAGS) -MT lib/test_sysfs-fileutils.o -MD -MP -MF lib/$(DEPDIR)/test_sysfs-fileutils.Tpo -c -o lib/test_sysfs-fileutils.o `test -f 'lib/fileutils.c' || echo '$(srcdir)/'`lib/fileutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_sysfs-fileutils.Tpo lib/$(DEPDIR)/test_sysfs-fileutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fileutils.c' object='lib/test_sysfs-fileutils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sysfs_CFLAGS) $(CFLAGS) -c -o lib/test_sysfs-fileutils.o `test -f 'lib/fileutils.c' || echo '$(srcdir)/'`lib/fileutils.c + +lib/test_sysfs-fileutils.obj: lib/fileutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sysfs_CFLAGS) $(CFLAGS) -MT lib/test_sysfs-fileutils.obj -MD -MP -MF lib/$(DEPDIR)/test_sysfs-fileutils.Tpo -c -o lib/test_sysfs-fileutils.obj `if test -f 'lib/fileutils.c'; then $(CYGPATH_W) 'lib/fileutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/fileutils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_sysfs-fileutils.Tpo lib/$(DEPDIR)/test_sysfs-fileutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/fileutils.c' object='lib/test_sysfs-fileutils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sysfs_CFLAGS) $(CFLAGS) -c -o lib/test_sysfs-fileutils.obj `if test -f 'lib/fileutils.c'; then $(CYGPATH_W) 'lib/fileutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/fileutils.c'; fi` + +lib/test_sysfs-cpuset.o: lib/cpuset.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sysfs_CFLAGS) $(CFLAGS) -MT lib/test_sysfs-cpuset.o -MD -MP -MF lib/$(DEPDIR)/test_sysfs-cpuset.Tpo -c -o lib/test_sysfs-cpuset.o `test -f 'lib/cpuset.c' || echo '$(srcdir)/'`lib/cpuset.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_sysfs-cpuset.Tpo lib/$(DEPDIR)/test_sysfs-cpuset.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/cpuset.c' object='lib/test_sysfs-cpuset.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sysfs_CFLAGS) $(CFLAGS) -c -o lib/test_sysfs-cpuset.o `test -f 'lib/cpuset.c' || echo '$(srcdir)/'`lib/cpuset.c + +lib/test_sysfs-cpuset.obj: lib/cpuset.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sysfs_CFLAGS) $(CFLAGS) -MT lib/test_sysfs-cpuset.obj -MD -MP -MF lib/$(DEPDIR)/test_sysfs-cpuset.Tpo -c -o lib/test_sysfs-cpuset.obj `if test -f 'lib/cpuset.c'; then $(CYGPATH_W) 'lib/cpuset.c'; else $(CYGPATH_W) '$(srcdir)/lib/cpuset.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_sysfs-cpuset.Tpo lib/$(DEPDIR)/test_sysfs-cpuset.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/cpuset.c' object='lib/test_sysfs-cpuset.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_sysfs_CFLAGS) $(CFLAGS) -c -o lib/test_sysfs-cpuset.obj `if test -f 'lib/cpuset.c'; then $(CYGPATH_W) 'lib/cpuset.c'; else $(CYGPATH_W) '$(srcdir)/lib/cpuset.c'; fi` + +lib/test_timeutils-timeutils.o: lib/timeutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_timeutils_CFLAGS) $(CFLAGS) -MT lib/test_timeutils-timeutils.o -MD -MP -MF lib/$(DEPDIR)/test_timeutils-timeutils.Tpo -c -o lib/test_timeutils-timeutils.o `test -f 'lib/timeutils.c' || echo '$(srcdir)/'`lib/timeutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_timeutils-timeutils.Tpo lib/$(DEPDIR)/test_timeutils-timeutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/timeutils.c' object='lib/test_timeutils-timeutils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_timeutils_CFLAGS) $(CFLAGS) -c -o lib/test_timeutils-timeutils.o `test -f 'lib/timeutils.c' || echo '$(srcdir)/'`lib/timeutils.c + +lib/test_timeutils-timeutils.obj: lib/timeutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_timeutils_CFLAGS) $(CFLAGS) -MT lib/test_timeutils-timeutils.obj -MD -MP -MF lib/$(DEPDIR)/test_timeutils-timeutils.Tpo -c -o lib/test_timeutils-timeutils.obj `if test -f 'lib/timeutils.c'; then $(CYGPATH_W) 'lib/timeutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/timeutils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_timeutils-timeutils.Tpo lib/$(DEPDIR)/test_timeutils-timeutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/timeutils.c' object='lib/test_timeutils-timeutils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_timeutils_CFLAGS) $(CFLAGS) -c -o lib/test_timeutils-timeutils.obj `if test -f 'lib/timeutils.c'; then $(CYGPATH_W) 'lib/timeutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/timeutils.c'; fi` + +lib/test_timeutils-strutils.o: lib/strutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_timeutils_CFLAGS) $(CFLAGS) -MT lib/test_timeutils-strutils.o -MD -MP -MF lib/$(DEPDIR)/test_timeutils-strutils.Tpo -c -o lib/test_timeutils-strutils.o `test -f 'lib/strutils.c' || echo '$(srcdir)/'`lib/strutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_timeutils-strutils.Tpo lib/$(DEPDIR)/test_timeutils-strutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strutils.c' object='lib/test_timeutils-strutils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_timeutils_CFLAGS) $(CFLAGS) -c -o lib/test_timeutils-strutils.o `test -f 'lib/strutils.c' || echo '$(srcdir)/'`lib/strutils.c + +lib/test_timeutils-strutils.obj: lib/strutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_timeutils_CFLAGS) $(CFLAGS) -MT lib/test_timeutils-strutils.obj -MD -MP -MF lib/$(DEPDIR)/test_timeutils-strutils.Tpo -c -o lib/test_timeutils-strutils.obj `if test -f 'lib/strutils.c'; then $(CYGPATH_W) 'lib/strutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/strutils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_timeutils-strutils.Tpo lib/$(DEPDIR)/test_timeutils-strutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/strutils.c' object='lib/test_timeutils-strutils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_timeutils_CFLAGS) $(CFLAGS) -c -o lib/test_timeutils-strutils.obj `if test -f 'lib/strutils.c'; then $(CYGPATH_W) 'lib/strutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/strutils.c'; fi` + +lib/test_ttyutils-ttyutils.o: lib/ttyutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_ttyutils_CFLAGS) $(CFLAGS) -MT lib/test_ttyutils-ttyutils.o -MD -MP -MF lib/$(DEPDIR)/test_ttyutils-ttyutils.Tpo -c -o lib/test_ttyutils-ttyutils.o `test -f 'lib/ttyutils.c' || echo '$(srcdir)/'`lib/ttyutils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_ttyutils-ttyutils.Tpo lib/$(DEPDIR)/test_ttyutils-ttyutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ttyutils.c' object='lib/test_ttyutils-ttyutils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_ttyutils_CFLAGS) $(CFLAGS) -c -o lib/test_ttyutils-ttyutils.o `test -f 'lib/ttyutils.c' || echo '$(srcdir)/'`lib/ttyutils.c + +lib/test_ttyutils-ttyutils.obj: lib/ttyutils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_ttyutils_CFLAGS) $(CFLAGS) -MT lib/test_ttyutils-ttyutils.obj -MD -MP -MF lib/$(DEPDIR)/test_ttyutils-ttyutils.Tpo -c -o lib/test_ttyutils-ttyutils.obj `if test -f 'lib/ttyutils.c'; then $(CYGPATH_W) 'lib/ttyutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/ttyutils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_ttyutils-ttyutils.Tpo lib/$(DEPDIR)/test_ttyutils-ttyutils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/ttyutils.c' object='lib/test_ttyutils-ttyutils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_ttyutils_CFLAGS) $(CFLAGS) -c -o lib/test_ttyutils-ttyutils.obj `if test -f 'lib/ttyutils.c'; then $(CYGPATH_W) 'lib/ttyutils.c'; else $(CYGPATH_W) '$(srcdir)/lib/ttyutils.c'; fi` + +libuuid/src/test_uuid_parser-test_uuid.o: libuuid/src/test_uuid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_uuid_parser_CFLAGS) $(CFLAGS) -MT libuuid/src/test_uuid_parser-test_uuid.o -MD -MP -MF libuuid/src/$(DEPDIR)/test_uuid_parser-test_uuid.Tpo -c -o libuuid/src/test_uuid_parser-test_uuid.o `test -f 'libuuid/src/test_uuid.c' || echo '$(srcdir)/'`libuuid/src/test_uuid.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libuuid/src/$(DEPDIR)/test_uuid_parser-test_uuid.Tpo libuuid/src/$(DEPDIR)/test_uuid_parser-test_uuid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libuuid/src/test_uuid.c' object='libuuid/src/test_uuid_parser-test_uuid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_uuid_parser_CFLAGS) $(CFLAGS) -c -o libuuid/src/test_uuid_parser-test_uuid.o `test -f 'libuuid/src/test_uuid.c' || echo '$(srcdir)/'`libuuid/src/test_uuid.c + +libuuid/src/test_uuid_parser-test_uuid.obj: libuuid/src/test_uuid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_uuid_parser_CFLAGS) $(CFLAGS) -MT libuuid/src/test_uuid_parser-test_uuid.obj -MD -MP -MF libuuid/src/$(DEPDIR)/test_uuid_parser-test_uuid.Tpo -c -o libuuid/src/test_uuid_parser-test_uuid.obj `if test -f 'libuuid/src/test_uuid.c'; then $(CYGPATH_W) 'libuuid/src/test_uuid.c'; else $(CYGPATH_W) '$(srcdir)/libuuid/src/test_uuid.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libuuid/src/$(DEPDIR)/test_uuid_parser-test_uuid.Tpo libuuid/src/$(DEPDIR)/test_uuid_parser-test_uuid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libuuid/src/test_uuid.c' object='libuuid/src/test_uuid_parser-test_uuid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_uuid_parser_CFLAGS) $(CFLAGS) -c -o libuuid/src/test_uuid_parser-test_uuid.obj `if test -f 'libuuid/src/test_uuid.c'; then $(CYGPATH_W) 'libuuid/src/test_uuid.c'; else $(CYGPATH_W) '$(srcdir)/libuuid/src/test_uuid.c'; fi` + +misc-utils/test_uuidd-test_uuidd.o: misc-utils/test_uuidd.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_uuidd_CFLAGS) $(CFLAGS) -MT misc-utils/test_uuidd-test_uuidd.o -MD -MP -MF misc-utils/$(DEPDIR)/test_uuidd-test_uuidd.Tpo -c -o misc-utils/test_uuidd-test_uuidd.o `test -f 'misc-utils/test_uuidd.c' || echo '$(srcdir)/'`misc-utils/test_uuidd.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/test_uuidd-test_uuidd.Tpo misc-utils/$(DEPDIR)/test_uuidd-test_uuidd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/test_uuidd.c' object='misc-utils/test_uuidd-test_uuidd.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_uuidd_CFLAGS) $(CFLAGS) -c -o misc-utils/test_uuidd-test_uuidd.o `test -f 'misc-utils/test_uuidd.c' || echo '$(srcdir)/'`misc-utils/test_uuidd.c + +misc-utils/test_uuidd-test_uuidd.obj: misc-utils/test_uuidd.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_uuidd_CFLAGS) $(CFLAGS) -MT misc-utils/test_uuidd-test_uuidd.obj -MD -MP -MF misc-utils/$(DEPDIR)/test_uuidd-test_uuidd.Tpo -c -o misc-utils/test_uuidd-test_uuidd.obj `if test -f 'misc-utils/test_uuidd.c'; then $(CYGPATH_W) 'misc-utils/test_uuidd.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/test_uuidd.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/test_uuidd-test_uuidd.Tpo misc-utils/$(DEPDIR)/test_uuidd-test_uuidd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/test_uuidd.c' object='misc-utils/test_uuidd-test_uuidd.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_uuidd_CFLAGS) $(CFLAGS) -c -o misc-utils/test_uuidd-test_uuidd.obj `if test -f 'misc-utils/test_uuidd.c'; then $(CYGPATH_W) 'misc-utils/test_uuidd.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/test_uuidd.c'; fi` + +text-utils/ul-ul.o: text-utils/ul.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ul_CFLAGS) $(CFLAGS) -MT text-utils/ul-ul.o -MD -MP -MF text-utils/$(DEPDIR)/ul-ul.Tpo -c -o text-utils/ul-ul.o `test -f 'text-utils/ul.c' || echo '$(srcdir)/'`text-utils/ul.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) text-utils/$(DEPDIR)/ul-ul.Tpo text-utils/$(DEPDIR)/ul-ul.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='text-utils/ul.c' object='text-utils/ul-ul.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ul_CFLAGS) $(CFLAGS) -c -o text-utils/ul-ul.o `test -f 'text-utils/ul.c' || echo '$(srcdir)/'`text-utils/ul.c + +text-utils/ul-ul.obj: text-utils/ul.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ul_CFLAGS) $(CFLAGS) -MT text-utils/ul-ul.obj -MD -MP -MF text-utils/$(DEPDIR)/ul-ul.Tpo -c -o text-utils/ul-ul.obj `if test -f 'text-utils/ul.c'; then $(CYGPATH_W) 'text-utils/ul.c'; else $(CYGPATH_W) '$(srcdir)/text-utils/ul.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) text-utils/$(DEPDIR)/ul-ul.Tpo text-utils/$(DEPDIR)/ul-ul.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='text-utils/ul.c' object='text-utils/ul-ul.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ul_CFLAGS) $(CFLAGS) -c -o text-utils/ul-ul.obj `if test -f 'text-utils/ul.c'; then $(CYGPATH_W) 'text-utils/ul.c'; else $(CYGPATH_W) '$(srcdir)/text-utils/ul.c'; fi` + +sys-utils/umount-umount.o: sys-utils/umount.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -MT sys-utils/umount-umount.o -MD -MP -MF sys-utils/$(DEPDIR)/umount-umount.Tpo -c -o sys-utils/umount-umount.o `test -f 'sys-utils/umount.c' || echo '$(srcdir)/'`sys-utils/umount.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/umount-umount.Tpo sys-utils/$(DEPDIR)/umount-umount.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/umount.c' object='sys-utils/umount-umount.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -c -o sys-utils/umount-umount.o `test -f 'sys-utils/umount.c' || echo '$(srcdir)/'`sys-utils/umount.c + +sys-utils/umount-umount.obj: sys-utils/umount.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -MT sys-utils/umount-umount.obj -MD -MP -MF sys-utils/$(DEPDIR)/umount-umount.Tpo -c -o sys-utils/umount-umount.obj `if test -f 'sys-utils/umount.c'; then $(CYGPATH_W) 'sys-utils/umount.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/umount.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/umount-umount.Tpo sys-utils/$(DEPDIR)/umount-umount.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/umount.c' object='sys-utils/umount-umount.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -c -o sys-utils/umount-umount.obj `if test -f 'sys-utils/umount.c'; then $(CYGPATH_W) 'sys-utils/umount.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/umount.c'; fi` + +sys-utils/umount_static-umount.o: sys-utils/umount.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -MT sys-utils/umount_static-umount.o -MD -MP -MF sys-utils/$(DEPDIR)/umount_static-umount.Tpo -c -o sys-utils/umount_static-umount.o `test -f 'sys-utils/umount.c' || echo '$(srcdir)/'`sys-utils/umount.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/umount_static-umount.Tpo sys-utils/$(DEPDIR)/umount_static-umount.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/umount.c' object='sys-utils/umount_static-umount.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -c -o sys-utils/umount_static-umount.o `test -f 'sys-utils/umount.c' || echo '$(srcdir)/'`sys-utils/umount.c + +sys-utils/umount_static-umount.obj: sys-utils/umount.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -MT sys-utils/umount_static-umount.obj -MD -MP -MF sys-utils/$(DEPDIR)/umount_static-umount.Tpo -c -o sys-utils/umount_static-umount.obj `if test -f 'sys-utils/umount.c'; then $(CYGPATH_W) 'sys-utils/umount.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/umount.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/umount_static-umount.Tpo sys-utils/$(DEPDIR)/umount_static-umount.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/umount.c' object='sys-utils/umount_static-umount.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -c -o sys-utils/umount_static-umount.obj `if test -f 'sys-utils/umount.c'; then $(CYGPATH_W) 'sys-utils/umount.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/umount.c'; fi` + +sys-utils/unshare-unshare.o: sys-utils/unshare.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(unshare_CFLAGS) $(CFLAGS) -MT sys-utils/unshare-unshare.o -MD -MP -MF sys-utils/$(DEPDIR)/unshare-unshare.Tpo -c -o sys-utils/unshare-unshare.o `test -f 'sys-utils/unshare.c' || echo '$(srcdir)/'`sys-utils/unshare.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/unshare-unshare.Tpo sys-utils/$(DEPDIR)/unshare-unshare.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/unshare.c' object='sys-utils/unshare-unshare.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(unshare_CFLAGS) $(CFLAGS) -c -o sys-utils/unshare-unshare.o `test -f 'sys-utils/unshare.c' || echo '$(srcdir)/'`sys-utils/unshare.c + +sys-utils/unshare-unshare.obj: sys-utils/unshare.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(unshare_CFLAGS) $(CFLAGS) -MT sys-utils/unshare-unshare.obj -MD -MP -MF sys-utils/$(DEPDIR)/unshare-unshare.Tpo -c -o sys-utils/unshare-unshare.obj `if test -f 'sys-utils/unshare.c'; then $(CYGPATH_W) 'sys-utils/unshare.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/unshare.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/unshare-unshare.Tpo sys-utils/$(DEPDIR)/unshare-unshare.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/unshare.c' object='sys-utils/unshare-unshare.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(unshare_CFLAGS) $(CFLAGS) -c -o sys-utils/unshare-unshare.obj `if test -f 'sys-utils/unshare.c'; then $(CYGPATH_W) 'sys-utils/unshare.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/unshare.c'; fi` + +sys-utils/unshare_static-unshare.o: sys-utils/unshare.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(unshare_static_CFLAGS) $(CFLAGS) -MT sys-utils/unshare_static-unshare.o -MD -MP -MF sys-utils/$(DEPDIR)/unshare_static-unshare.Tpo -c -o sys-utils/unshare_static-unshare.o `test -f 'sys-utils/unshare.c' || echo '$(srcdir)/'`sys-utils/unshare.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/unshare_static-unshare.Tpo sys-utils/$(DEPDIR)/unshare_static-unshare.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/unshare.c' object='sys-utils/unshare_static-unshare.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(unshare_static_CFLAGS) $(CFLAGS) -c -o sys-utils/unshare_static-unshare.o `test -f 'sys-utils/unshare.c' || echo '$(srcdir)/'`sys-utils/unshare.c + +sys-utils/unshare_static-unshare.obj: sys-utils/unshare.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(unshare_static_CFLAGS) $(CFLAGS) -MT sys-utils/unshare_static-unshare.obj -MD -MP -MF sys-utils/$(DEPDIR)/unshare_static-unshare.Tpo -c -o sys-utils/unshare_static-unshare.obj `if test -f 'sys-utils/unshare.c'; then $(CYGPATH_W) 'sys-utils/unshare.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/unshare.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/unshare_static-unshare.Tpo sys-utils/$(DEPDIR)/unshare_static-unshare.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/unshare.c' object='sys-utils/unshare_static-unshare.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(unshare_static_CFLAGS) $(CFLAGS) -c -o sys-utils/unshare_static-unshare.obj `if test -f 'sys-utils/unshare.c'; then $(CYGPATH_W) 'sys-utils/unshare.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/unshare.c'; fi` + +misc-utils/uuidd-uuidd.o: misc-utils/uuidd.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidd_CFLAGS) $(CFLAGS) -MT misc-utils/uuidd-uuidd.o -MD -MP -MF misc-utils/$(DEPDIR)/uuidd-uuidd.Tpo -c -o misc-utils/uuidd-uuidd.o `test -f 'misc-utils/uuidd.c' || echo '$(srcdir)/'`misc-utils/uuidd.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/uuidd-uuidd.Tpo misc-utils/$(DEPDIR)/uuidd-uuidd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/uuidd.c' object='misc-utils/uuidd-uuidd.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidd_CFLAGS) $(CFLAGS) -c -o misc-utils/uuidd-uuidd.o `test -f 'misc-utils/uuidd.c' || echo '$(srcdir)/'`misc-utils/uuidd.c + +misc-utils/uuidd-uuidd.obj: misc-utils/uuidd.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidd_CFLAGS) $(CFLAGS) -MT misc-utils/uuidd-uuidd.obj -MD -MP -MF misc-utils/$(DEPDIR)/uuidd-uuidd.Tpo -c -o misc-utils/uuidd-uuidd.obj `if test -f 'misc-utils/uuidd.c'; then $(CYGPATH_W) 'misc-utils/uuidd.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/uuidd.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/uuidd-uuidd.Tpo misc-utils/$(DEPDIR)/uuidd-uuidd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/uuidd.c' object='misc-utils/uuidd-uuidd.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidd_CFLAGS) $(CFLAGS) -c -o misc-utils/uuidd-uuidd.obj `if test -f 'misc-utils/uuidd.c'; then $(CYGPATH_W) 'misc-utils/uuidd.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/uuidd.c'; fi` + +lib/uuidd-monotonic.o: lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidd_CFLAGS) $(CFLAGS) -MT lib/uuidd-monotonic.o -MD -MP -MF lib/$(DEPDIR)/uuidd-monotonic.Tpo -c -o lib/uuidd-monotonic.o `test -f 'lib/monotonic.c' || echo '$(srcdir)/'`lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/uuidd-monotonic.Tpo lib/$(DEPDIR)/uuidd-monotonic.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/monotonic.c' object='lib/uuidd-monotonic.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidd_CFLAGS) $(CFLAGS) -c -o lib/uuidd-monotonic.o `test -f 'lib/monotonic.c' || echo '$(srcdir)/'`lib/monotonic.c + +lib/uuidd-monotonic.obj: lib/monotonic.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidd_CFLAGS) $(CFLAGS) -MT lib/uuidd-monotonic.obj -MD -MP -MF lib/$(DEPDIR)/uuidd-monotonic.Tpo -c -o lib/uuidd-monotonic.obj `if test -f 'lib/monotonic.c'; then $(CYGPATH_W) 'lib/monotonic.c'; else $(CYGPATH_W) '$(srcdir)/lib/monotonic.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/uuidd-monotonic.Tpo lib/$(DEPDIR)/uuidd-monotonic.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/monotonic.c' object='lib/uuidd-monotonic.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidd_CFLAGS) $(CFLAGS) -c -o lib/uuidd-monotonic.obj `if test -f 'lib/monotonic.c'; then $(CYGPATH_W) 'lib/monotonic.c'; else $(CYGPATH_W) '$(srcdir)/lib/monotonic.c'; fi` + +lib/uuidd-timer.o: lib/timer.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidd_CFLAGS) $(CFLAGS) -MT lib/uuidd-timer.o -MD -MP -MF lib/$(DEPDIR)/uuidd-timer.Tpo -c -o lib/uuidd-timer.o `test -f 'lib/timer.c' || echo '$(srcdir)/'`lib/timer.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/uuidd-timer.Tpo lib/$(DEPDIR)/uuidd-timer.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/timer.c' object='lib/uuidd-timer.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidd_CFLAGS) $(CFLAGS) -c -o lib/uuidd-timer.o `test -f 'lib/timer.c' || echo '$(srcdir)/'`lib/timer.c + +lib/uuidd-timer.obj: lib/timer.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidd_CFLAGS) $(CFLAGS) -MT lib/uuidd-timer.obj -MD -MP -MF lib/$(DEPDIR)/uuidd-timer.Tpo -c -o lib/uuidd-timer.obj `if test -f 'lib/timer.c'; then $(CYGPATH_W) 'lib/timer.c'; else $(CYGPATH_W) '$(srcdir)/lib/timer.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/uuidd-timer.Tpo lib/$(DEPDIR)/uuidd-timer.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lib/timer.c' object='lib/uuidd-timer.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidd_CFLAGS) $(CFLAGS) -c -o lib/uuidd-timer.obj `if test -f 'lib/timer.c'; then $(CYGPATH_W) 'lib/timer.c'; else $(CYGPATH_W) '$(srcdir)/lib/timer.c'; fi` + +misc-utils/uuidgen-uuidgen.o: misc-utils/uuidgen.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidgen_CFLAGS) $(CFLAGS) -MT misc-utils/uuidgen-uuidgen.o -MD -MP -MF misc-utils/$(DEPDIR)/uuidgen-uuidgen.Tpo -c -o misc-utils/uuidgen-uuidgen.o `test -f 'misc-utils/uuidgen.c' || echo '$(srcdir)/'`misc-utils/uuidgen.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/uuidgen-uuidgen.Tpo misc-utils/$(DEPDIR)/uuidgen-uuidgen.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/uuidgen.c' object='misc-utils/uuidgen-uuidgen.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidgen_CFLAGS) $(CFLAGS) -c -o misc-utils/uuidgen-uuidgen.o `test -f 'misc-utils/uuidgen.c' || echo '$(srcdir)/'`misc-utils/uuidgen.c + +misc-utils/uuidgen-uuidgen.obj: misc-utils/uuidgen.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidgen_CFLAGS) $(CFLAGS) -MT misc-utils/uuidgen-uuidgen.obj -MD -MP -MF misc-utils/$(DEPDIR)/uuidgen-uuidgen.Tpo -c -o misc-utils/uuidgen-uuidgen.obj `if test -f 'misc-utils/uuidgen.c'; then $(CYGPATH_W) 'misc-utils/uuidgen.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/uuidgen.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/uuidgen-uuidgen.Tpo misc-utils/$(DEPDIR)/uuidgen-uuidgen.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/uuidgen.c' object='misc-utils/uuidgen-uuidgen.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidgen_CFLAGS) $(CFLAGS) -c -o misc-utils/uuidgen-uuidgen.obj `if test -f 'misc-utils/uuidgen.c'; then $(CYGPATH_W) 'misc-utils/uuidgen.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/uuidgen.c'; fi` + +misc-utils/uuidparse-uuidparse.o: misc-utils/uuidparse.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidparse_CFLAGS) $(CFLAGS) -MT misc-utils/uuidparse-uuidparse.o -MD -MP -MF misc-utils/$(DEPDIR)/uuidparse-uuidparse.Tpo -c -o misc-utils/uuidparse-uuidparse.o `test -f 'misc-utils/uuidparse.c' || echo '$(srcdir)/'`misc-utils/uuidparse.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/uuidparse-uuidparse.Tpo misc-utils/$(DEPDIR)/uuidparse-uuidparse.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/uuidparse.c' object='misc-utils/uuidparse-uuidparse.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidparse_CFLAGS) $(CFLAGS) -c -o misc-utils/uuidparse-uuidparse.o `test -f 'misc-utils/uuidparse.c' || echo '$(srcdir)/'`misc-utils/uuidparse.c + +misc-utils/uuidparse-uuidparse.obj: misc-utils/uuidparse.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidparse_CFLAGS) $(CFLAGS) -MT misc-utils/uuidparse-uuidparse.obj -MD -MP -MF misc-utils/$(DEPDIR)/uuidparse-uuidparse.Tpo -c -o misc-utils/uuidparse-uuidparse.obj `if test -f 'misc-utils/uuidparse.c'; then $(CYGPATH_W) 'misc-utils/uuidparse.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/uuidparse.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/uuidparse-uuidparse.Tpo misc-utils/$(DEPDIR)/uuidparse-uuidparse.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/uuidparse.c' object='misc-utils/uuidparse-uuidparse.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidparse_CFLAGS) $(CFLAGS) -c -o misc-utils/uuidparse-uuidparse.obj `if test -f 'misc-utils/uuidparse.c'; then $(CYGPATH_W) 'misc-utils/uuidparse.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/uuidparse.c'; fi` + +term-utils/wall-wall.o: term-utils/wall.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wall_CFLAGS) $(CFLAGS) -MT term-utils/wall-wall.o -MD -MP -MF term-utils/$(DEPDIR)/wall-wall.Tpo -c -o term-utils/wall-wall.o `test -f 'term-utils/wall.c' || echo '$(srcdir)/'`term-utils/wall.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) term-utils/$(DEPDIR)/wall-wall.Tpo term-utils/$(DEPDIR)/wall-wall.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='term-utils/wall.c' object='term-utils/wall-wall.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wall_CFLAGS) $(CFLAGS) -c -o term-utils/wall-wall.o `test -f 'term-utils/wall.c' || echo '$(srcdir)/'`term-utils/wall.c + +term-utils/wall-wall.obj: term-utils/wall.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wall_CFLAGS) $(CFLAGS) -MT term-utils/wall-wall.obj -MD -MP -MF term-utils/$(DEPDIR)/wall-wall.Tpo -c -o term-utils/wall-wall.obj `if test -f 'term-utils/wall.c'; then $(CYGPATH_W) 'term-utils/wall.c'; else $(CYGPATH_W) '$(srcdir)/term-utils/wall.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) term-utils/$(DEPDIR)/wall-wall.Tpo term-utils/$(DEPDIR)/wall-wall.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='term-utils/wall.c' object='term-utils/wall-wall.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wall_CFLAGS) $(CFLAGS) -c -o term-utils/wall-wall.obj `if test -f 'term-utils/wall.c'; then $(CYGPATH_W) 'term-utils/wall.c'; else $(CYGPATH_W) '$(srcdir)/term-utils/wall.c'; fi` + +term-utils/wall-ttymsg.o: term-utils/ttymsg.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wall_CFLAGS) $(CFLAGS) -MT term-utils/wall-ttymsg.o -MD -MP -MF term-utils/$(DEPDIR)/wall-ttymsg.Tpo -c -o term-utils/wall-ttymsg.o `test -f 'term-utils/ttymsg.c' || echo '$(srcdir)/'`term-utils/ttymsg.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) term-utils/$(DEPDIR)/wall-ttymsg.Tpo term-utils/$(DEPDIR)/wall-ttymsg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='term-utils/ttymsg.c' object='term-utils/wall-ttymsg.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wall_CFLAGS) $(CFLAGS) -c -o term-utils/wall-ttymsg.o `test -f 'term-utils/ttymsg.c' || echo '$(srcdir)/'`term-utils/ttymsg.c + +term-utils/wall-ttymsg.obj: term-utils/ttymsg.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wall_CFLAGS) $(CFLAGS) -MT term-utils/wall-ttymsg.obj -MD -MP -MF term-utils/$(DEPDIR)/wall-ttymsg.Tpo -c -o term-utils/wall-ttymsg.obj `if test -f 'term-utils/ttymsg.c'; then $(CYGPATH_W) 'term-utils/ttymsg.c'; else $(CYGPATH_W) '$(srcdir)/term-utils/ttymsg.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) term-utils/$(DEPDIR)/wall-ttymsg.Tpo term-utils/$(DEPDIR)/wall-ttymsg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='term-utils/ttymsg.c' object='term-utils/wall-ttymsg.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wall_CFLAGS) $(CFLAGS) -c -o term-utils/wall-ttymsg.obj `if test -f 'term-utils/ttymsg.c'; then $(CYGPATH_W) 'term-utils/ttymsg.c'; else $(CYGPATH_W) '$(srcdir)/term-utils/ttymsg.c'; fi` + +sys-utils/wdctl-wdctl.o: sys-utils/wdctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wdctl_CFLAGS) $(CFLAGS) -MT sys-utils/wdctl-wdctl.o -MD -MP -MF sys-utils/$(DEPDIR)/wdctl-wdctl.Tpo -c -o sys-utils/wdctl-wdctl.o `test -f 'sys-utils/wdctl.c' || echo '$(srcdir)/'`sys-utils/wdctl.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/wdctl-wdctl.Tpo sys-utils/$(DEPDIR)/wdctl-wdctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/wdctl.c' object='sys-utils/wdctl-wdctl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wdctl_CFLAGS) $(CFLAGS) -c -o sys-utils/wdctl-wdctl.o `test -f 'sys-utils/wdctl.c' || echo '$(srcdir)/'`sys-utils/wdctl.c + +sys-utils/wdctl-wdctl.obj: sys-utils/wdctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wdctl_CFLAGS) $(CFLAGS) -MT sys-utils/wdctl-wdctl.obj -MD -MP -MF sys-utils/$(DEPDIR)/wdctl-wdctl.Tpo -c -o sys-utils/wdctl-wdctl.obj `if test -f 'sys-utils/wdctl.c'; then $(CYGPATH_W) 'sys-utils/wdctl.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/wdctl.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/wdctl-wdctl.Tpo sys-utils/$(DEPDIR)/wdctl-wdctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/wdctl.c' object='sys-utils/wdctl-wdctl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wdctl_CFLAGS) $(CFLAGS) -c -o sys-utils/wdctl-wdctl.obj `if test -f 'sys-utils/wdctl.c'; then $(CYGPATH_W) 'sys-utils/wdctl.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/wdctl.c'; fi` + +misc-utils/wipefs-wipefs.o: misc-utils/wipefs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wipefs_CFLAGS) $(CFLAGS) -MT misc-utils/wipefs-wipefs.o -MD -MP -MF misc-utils/$(DEPDIR)/wipefs-wipefs.Tpo -c -o misc-utils/wipefs-wipefs.o `test -f 'misc-utils/wipefs.c' || echo '$(srcdir)/'`misc-utils/wipefs.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/wipefs-wipefs.Tpo misc-utils/$(DEPDIR)/wipefs-wipefs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/wipefs.c' object='misc-utils/wipefs-wipefs.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wipefs_CFLAGS) $(CFLAGS) -c -o misc-utils/wipefs-wipefs.o `test -f 'misc-utils/wipefs.c' || echo '$(srcdir)/'`misc-utils/wipefs.c + +misc-utils/wipefs-wipefs.obj: misc-utils/wipefs.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wipefs_CFLAGS) $(CFLAGS) -MT misc-utils/wipefs-wipefs.obj -MD -MP -MF misc-utils/$(DEPDIR)/wipefs-wipefs.Tpo -c -o misc-utils/wipefs-wipefs.obj `if test -f 'misc-utils/wipefs.c'; then $(CYGPATH_W) 'misc-utils/wipefs.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/wipefs.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/wipefs-wipefs.Tpo misc-utils/$(DEPDIR)/wipefs-wipefs.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='misc-utils/wipefs.c' object='misc-utils/wipefs-wipefs.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wipefs_CFLAGS) $(CFLAGS) -c -o misc-utils/wipefs-wipefs.obj `if test -f 'misc-utils/wipefs.c'; then $(CYGPATH_W) 'misc-utils/wipefs.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/wipefs.c'; fi` + +term-utils/write-write.o: term-utils/write.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(write_CFLAGS) $(CFLAGS) -MT term-utils/write-write.o -MD -MP -MF term-utils/$(DEPDIR)/write-write.Tpo -c -o term-utils/write-write.o `test -f 'term-utils/write.c' || echo '$(srcdir)/'`term-utils/write.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) term-utils/$(DEPDIR)/write-write.Tpo term-utils/$(DEPDIR)/write-write.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='term-utils/write.c' object='term-utils/write-write.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(write_CFLAGS) $(CFLAGS) -c -o term-utils/write-write.o `test -f 'term-utils/write.c' || echo '$(srcdir)/'`term-utils/write.c + +term-utils/write-write.obj: term-utils/write.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(write_CFLAGS) $(CFLAGS) -MT term-utils/write-write.obj -MD -MP -MF term-utils/$(DEPDIR)/write-write.Tpo -c -o term-utils/write-write.obj `if test -f 'term-utils/write.c'; then $(CYGPATH_W) 'term-utils/write.c'; else $(CYGPATH_W) '$(srcdir)/term-utils/write.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) term-utils/$(DEPDIR)/write-write.Tpo term-utils/$(DEPDIR)/write-write.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='term-utils/write.c' object='term-utils/write-write.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(write_CFLAGS) $(CFLAGS) -c -o term-utils/write-write.obj `if test -f 'term-utils/write.c'; then $(CYGPATH_W) 'term-utils/write.c'; else $(CYGPATH_W) '$(srcdir)/term-utils/write.c'; fi` + +sys-utils/zramctl-zramctl.o: sys-utils/zramctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(zramctl_CFLAGS) $(CFLAGS) -MT sys-utils/zramctl-zramctl.o -MD -MP -MF sys-utils/$(DEPDIR)/zramctl-zramctl.Tpo -c -o sys-utils/zramctl-zramctl.o `test -f 'sys-utils/zramctl.c' || echo '$(srcdir)/'`sys-utils/zramctl.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/zramctl-zramctl.Tpo sys-utils/$(DEPDIR)/zramctl-zramctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/zramctl.c' object='sys-utils/zramctl-zramctl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(zramctl_CFLAGS) $(CFLAGS) -c -o sys-utils/zramctl-zramctl.o `test -f 'sys-utils/zramctl.c' || echo '$(srcdir)/'`sys-utils/zramctl.c + +sys-utils/zramctl-zramctl.obj: sys-utils/zramctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(zramctl_CFLAGS) $(CFLAGS) -MT sys-utils/zramctl-zramctl.obj -MD -MP -MF sys-utils/$(DEPDIR)/zramctl-zramctl.Tpo -c -o sys-utils/zramctl-zramctl.obj `if test -f 'sys-utils/zramctl.c'; then $(CYGPATH_W) 'sys-utils/zramctl.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/zramctl.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sys-utils/$(DEPDIR)/zramctl-zramctl.Tpo sys-utils/$(DEPDIR)/zramctl-zramctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sys-utils/zramctl.c' object='sys-utils/zramctl-zramctl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(zramctl_CFLAGS) $(CFLAGS) -c -o sys-utils/zramctl-zramctl.obj `if test -f 'sys-utils/zramctl.c'; then $(CYGPATH_W) 'sys-utils/zramctl.c'; else $(CYGPATH_W) '$(srcdir)/sys-utils/zramctl.c'; fi` + +.y.c: + $(AM_V_YACC)$(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h `echo $@ | $(am__yacc_c2h)` y.output $*.output -- $(YACCCOMPILE) + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + -rm -rf lib/.libs lib/_libs + -rm -rf libblkid/src/.libs libblkid/src/_libs + -rm -rf libblkid/src/partitions/.libs libblkid/src/partitions/_libs + -rm -rf libblkid/src/superblocks/.libs libblkid/src/superblocks/_libs + -rm -rf libblkid/src/topology/.libs libblkid/src/topology/_libs + -rm -rf libfdisk/src/.libs libfdisk/src/_libs + -rm -rf libmount/python/.libs libmount/python/_libs + -rm -rf libmount/src/.libs libmount/src/_libs + -rm -rf libsmartcols/src/.libs libsmartcols/src/_libs + -rm -rf libuuid/src/.libs libuuid/src/_libs + +distclean-libtool: + -rm -f libtool config.lt +install-pylibmountexecPYTHON: $(pylibmountexec_PYTHON) + @$(NORMAL_INSTALL) + @list='$(pylibmountexec_PYTHON)'; dlist=; list2=; test -n "$(pylibmountexecdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(pylibmountexecdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pylibmountexecdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ + if test -f $$b$$p; then \ + $(am__strip_dir) \ + dlist="$$dlist $$f"; \ + list2="$$list2 $$b$$p"; \ + else :; fi; \ + done; \ + for file in $$list2; do echo $$file; done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pylibmountexecdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(pylibmountexecdir)" || exit $$?; \ + done || exit $$?; \ + if test -n "$$dlist"; then \ + $(am__py_compile) --destdir "$(DESTDIR)" \ + --basedir "$(pylibmountexecdir)" $$dlist; \ + else :; fi + +uninstall-pylibmountexecPYTHON: + @$(NORMAL_UNINSTALL) + @list='$(pylibmountexec_PYTHON)'; test -n "$(pylibmountexecdir)" || list=; \ + py_files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$py_files" || exit 0; \ + dir='$(DESTDIR)$(pylibmountexecdir)'; \ + pyc_files=`echo "$$py_files" | sed 's|$$|c|'`; \ + pyo_files=`echo "$$py_files" | sed 's|$$|o|'`; \ + py_files_pep3147=`echo "$$py_files" | $(am__pep3147_tweak)`; \ + echo "$$py_files_pep3147";\ + pyc_files_pep3147=`echo "$$py_files_pep3147" | sed 's|$$|c|'`; \ + pyo_files_pep3147=`echo "$$py_files_pep3147" | sed 's|$$|o|'`; \ + st=0; \ + for files in \ + "$$py_files" \ + "$$pyc_files" \ + "$$pyo_files" \ + "$$pyc_files_pep3147" \ + "$$pyo_files_pep3147" \ + ; do \ + $(am__uninstall_files_from_dir) || st=$$?; \ + done; \ + exit $$st +install-man1: $(dist_man_MANS) $(man_MANS) + @$(NORMAL_INSTALL) + @list1=''; \ + list2='$(dist_man_MANS) $(man_MANS)'; \ + test -n "$(man1dir)" \ + && test -n "`echo $$list1$$list2`" \ + || exit 0; \ + echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ + { for i in $$list1; do echo "$$i"; done; \ + if test -n "$$list2"; then \ + for i in $$list2; do echo "$$i"; done \ + | sed -n '/\.1[a-z]*$$/p'; \ + fi; \ + } | while read p; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; echo "$$p"; \ + done | \ + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ + sed 'N;N;s,\n, ,g' | { \ + list=; while read file base inst; do \ + if test "$$base" = "$$inst"; then list="$$list $$file"; else \ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ + fi; \ + done; \ + for i in $$list; do echo "$$i"; done | $(am__base_list) | \ + while read files; do \ + test -z "$$files" || { \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ + done; } + +uninstall-man1: + @$(NORMAL_UNINSTALL) + @list=''; test -n "$(man1dir)" || exit 0; \ + files=`{ for i in $$list; do echo "$$i"; done; \ + l2='$(dist_man_MANS) $(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + sed -n '/\.1[a-z]*$$/p'; \ + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ + dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) +install-man3: $(dist_man_MANS) $(man_MANS) + @$(NORMAL_INSTALL) + @list1=''; \ + list2='$(dist_man_MANS) $(man_MANS)'; \ + test -n "$(man3dir)" \ + && test -n "`echo $$list1$$list2`" \ + || exit 0; \ + echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \ + { for i in $$list1; do echo "$$i"; done; \ + if test -n "$$list2"; then \ + for i in $$list2; do echo "$$i"; done \ + | sed -n '/\.3[a-z]*$$/p'; \ + fi; \ + } | while read p; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; echo "$$p"; \ + done | \ + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ + sed 'N;N;s,\n, ,g' | { \ + list=; while read file base inst; do \ + if test "$$base" = "$$inst"; then list="$$list $$file"; else \ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \ + fi; \ + done; \ + for i in $$list; do echo "$$i"; done | $(am__base_list) | \ + while read files; do \ + test -z "$$files" || { \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \ + done; } + +uninstall-man3: + @$(NORMAL_UNINSTALL) + @list=''; test -n "$(man3dir)" || exit 0; \ + files=`{ for i in $$list; do echo "$$i"; done; \ + l2='$(dist_man_MANS) $(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + sed -n '/\.3[a-z]*$$/p'; \ + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ + dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir) +install-man5: $(dist_man_MANS) $(man_MANS) + @$(NORMAL_INSTALL) + @list1=''; \ + list2='$(dist_man_MANS) $(man_MANS)'; \ + test -n "$(man5dir)" \ + && test -n "`echo $$list1$$list2`" \ + || exit 0; \ + echo " $(MKDIR_P) '$(DESTDIR)$(man5dir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(man5dir)" || exit 1; \ + { for i in $$list1; do echo "$$i"; done; \ + if test -n "$$list2"; then \ + for i in $$list2; do echo "$$i"; done \ + | sed -n '/\.5[a-z]*$$/p'; \ + fi; \ + } | while read p; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; echo "$$p"; \ + done | \ + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ + sed 'N;N;s,\n, ,g' | { \ + list=; while read file base inst; do \ + if test "$$base" = "$$inst"; then list="$$list $$file"; else \ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst" || exit $$?; \ + fi; \ + done; \ + for i in $$list; do echo "$$i"; done | $(am__base_list) | \ + while read files; do \ + test -z "$$files" || { \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man5dir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(man5dir)" || exit $$?; }; \ + done; } + +uninstall-man5: + @$(NORMAL_UNINSTALL) + @list=''; test -n "$(man5dir)" || exit 0; \ + files=`{ for i in $$list; do echo "$$i"; done; \ + l2='$(dist_man_MANS) $(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + sed -n '/\.5[a-z]*$$/p'; \ + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ + dir='$(DESTDIR)$(man5dir)'; $(am__uninstall_files_from_dir) +install-man8: $(dist_man_MANS) $(man_MANS) + @$(NORMAL_INSTALL) + @list1=''; \ + list2='$(dist_man_MANS) $(man_MANS)'; \ + test -n "$(man8dir)" \ + && test -n "`echo $$list1$$list2`" \ + || exit 0; \ + echo " $(MKDIR_P) '$(DESTDIR)$(man8dir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(man8dir)" || exit 1; \ + { for i in $$list1; do echo "$$i"; done; \ + if test -n "$$list2"; then \ + for i in $$list2; do echo "$$i"; done \ + | sed -n '/\.8[a-z]*$$/p'; \ + fi; \ + } | while read p; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; echo "$$p"; \ + done | \ + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ + sed 'N;N;s,\n, ,g' | { \ + list=; while read file base inst; do \ + if test "$$base" = "$$inst"; then list="$$list $$file"; else \ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \ + fi; \ + done; \ + for i in $$list; do echo "$$i"; done | $(am__base_list) | \ + while read files; do \ + test -z "$$files" || { \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \ + done; } + +uninstall-man8: + @$(NORMAL_UNINSTALL) + @list=''; test -n "$(man8dir)" || exit 0; \ + files=`{ for i in $$list; do echo "$$i"; done; \ + l2='$(dist_man_MANS) $(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + sed -n '/\.8[a-z]*$$/p'; \ + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ + dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir) +install-dist_bashcompletionDATA: $(dist_bashcompletion_DATA) + @$(NORMAL_INSTALL) + @list='$(dist_bashcompletion_DATA)'; test -n "$(bashcompletiondir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(bashcompletiondir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(bashcompletiondir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(bashcompletiondir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(bashcompletiondir)" || exit $$?; \ + done + +uninstall-dist_bashcompletionDATA: + @$(NORMAL_UNINSTALL) + @list='$(dist_bashcompletion_DATA)'; test -n "$(bashcompletiondir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(bashcompletiondir)'; $(am__uninstall_files_from_dir) +install-pkgconfigDATA: $(pkgconfig_DATA) + @$(NORMAL_INSTALL) + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ + done + +uninstall-pkgconfigDATA: + @$(NORMAL_UNINSTALL) + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) +install-systemdsystemunitDATA: $(systemdsystemunit_DATA) + @$(NORMAL_INSTALL) + @list='$(systemdsystemunit_DATA)'; test -n "$(systemdsystemunitdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(systemdsystemunitdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(systemdsystemunitdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(systemdsystemunitdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(systemdsystemunitdir)" || exit $$?; \ + done + +uninstall-systemdsystemunitDATA: + @$(NORMAL_UNINSTALL) + @list='$(systemdsystemunit_DATA)'; test -n "$(systemdsystemunitdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(systemdsystemunitdir)'; $(am__uninstall_files_from_dir) +install-nodist_blkidincHEADERS: $(nodist_blkidinc_HEADERS) + @$(NORMAL_INSTALL) + @list='$(nodist_blkidinc_HEADERS)'; test -n "$(blkidincdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(blkidincdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(blkidincdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(blkidincdir)'"; \ + $(INSTALL_HEADER) $$files "$(DESTDIR)$(blkidincdir)" || exit $$?; \ + done + +uninstall-nodist_blkidincHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(nodist_blkidinc_HEADERS)'; test -n "$(blkidincdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(blkidincdir)'; $(am__uninstall_files_from_dir) +install-nodist_fdiskincHEADERS: $(nodist_fdiskinc_HEADERS) + @$(NORMAL_INSTALL) + @list='$(nodist_fdiskinc_HEADERS)'; test -n "$(fdiskincdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(fdiskincdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(fdiskincdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(fdiskincdir)'"; \ + $(INSTALL_HEADER) $$files "$(DESTDIR)$(fdiskincdir)" || exit $$?; \ + done + +uninstall-nodist_fdiskincHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(nodist_fdiskinc_HEADERS)'; test -n "$(fdiskincdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(fdiskincdir)'; $(am__uninstall_files_from_dir) +install-nodist_mountincHEADERS: $(nodist_mountinc_HEADERS) + @$(NORMAL_INSTALL) + @list='$(nodist_mountinc_HEADERS)'; test -n "$(mountincdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(mountincdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(mountincdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(mountincdir)'"; \ + $(INSTALL_HEADER) $$files "$(DESTDIR)$(mountincdir)" || exit $$?; \ + done + +uninstall-nodist_mountincHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(nodist_mountinc_HEADERS)'; test -n "$(mountincdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(mountincdir)'; $(am__uninstall_files_from_dir) +install-nodist_smartcolsincHEADERS: $(nodist_smartcolsinc_HEADERS) + @$(NORMAL_INSTALL) + @list='$(nodist_smartcolsinc_HEADERS)'; test -n "$(smartcolsincdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(smartcolsincdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(smartcolsincdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(smartcolsincdir)'"; \ + $(INSTALL_HEADER) $$files "$(DESTDIR)$(smartcolsincdir)" || exit $$?; \ + done + +uninstall-nodist_smartcolsincHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(nodist_smartcolsinc_HEADERS)'; test -n "$(smartcolsincdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(smartcolsincdir)'; $(am__uninstall_files_from_dir) +install-uuidincHEADERS: $(uuidinc_HEADERS) + @$(NORMAL_INSTALL) + @list='$(uuidinc_HEADERS)'; test -n "$(uuidincdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(uuidincdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(uuidincdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(uuidincdir)'"; \ + $(INSTALL_HEADER) $$files "$(DESTDIR)$(uuidincdir)" || exit $$?; \ + done + +uninstall-uuidincHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(uuidinc_HEADERS)'; test -n "$(uuidincdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(uuidincdir)'; $(am__uninstall_files_from_dir) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscope: cscope.files + test ! -s cscope.files \ + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) +clean-cscope: + -rm -f cscope.files +cscope.files: clean-cscope cscopelist +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files + +distdir: $(DISTFILES) + $(am__remove_distdir) + test -d "$(distdir)" || mkdir "$(distdir)" + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-hook + -test -n "$(am__skip_mode_fix)" \ + || find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r "$(distdir)" +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz + $(am__post_remove_distdir) + +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 + $(am__post_remove_distdir) + +dist-lzip: distdir + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz + $(am__post_remove_distdir) +dist-xz: distdir + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz + $(am__post_remove_distdir) + +dist-tarZ: distdir + @echo WARNING: "Support for distribution archives compressed with" \ + "legacy program 'compress' is deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__post_remove_distdir) + +dist-shar: distdir + @echo WARNING: "Support for shar distribution archives is" \ + "deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 + shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz + $(am__post_remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__post_remove_distdir) + +dist dist-all: + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' + $(am__post_remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lz*) \ + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir) + chmod u+w $(distdir) + mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst + chmod a-w $(distdir) + test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && am__cwd=`pwd` \ + && $(am__cd) $(distdir)/_build/sub \ + && ../../configure \ + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + --srcdir=../.. --prefix="$$dc_install_base" \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ + && cd "$$am__cwd" \ + || exit 1 + $(am__post_remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @test -n '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: trying to run $@ with an empty' \ + '$$(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + $(am__cd) '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) \ + $(dist_check_SCRIPTS) + $(MAKE) $(AM_MAKEFLAGS) check-local +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-recursive +all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \ + $(HEADERS) config.h +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(pylibmountexecdir)" "$(DESTDIR)$(usrlib_execdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(usrbin_execdir)" "$(DESTDIR)$(usrsbin_execdir)" "$(DESTDIR)$(getoptexampledir)" "$(DESTDIR)$(usrbin_execdir)" "$(DESTDIR)$(pylibmountexecdir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(bashcompletiondir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(systemdsystemunitdir)" "$(DESTDIR)$(blkidincdir)" "$(DESTDIR)$(fdiskincdir)" "$(DESTDIR)$(mountincdir)" "$(DESTDIR)$(smartcolsincdir)" "$(DESTDIR)$(uuidincdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f disk-utils/$(DEPDIR)/$(am__dirstamp) + -rm -f disk-utils/$(am__dirstamp) + -rm -f lib/$(DEPDIR)/$(am__dirstamp) + -rm -f lib/$(am__dirstamp) + -rm -f libblkid/samples/$(DEPDIR)/$(am__dirstamp) + -rm -f libblkid/samples/$(am__dirstamp) + -rm -f libblkid/src/$(DEPDIR)/$(am__dirstamp) + -rm -f libblkid/src/$(am__dirstamp) + -rm -f libblkid/src/partitions/$(DEPDIR)/$(am__dirstamp) + -rm -f libblkid/src/partitions/$(am__dirstamp) + -rm -f libblkid/src/superblocks/$(DEPDIR)/$(am__dirstamp) + -rm -f libblkid/src/superblocks/$(am__dirstamp) + -rm -f libblkid/src/topology/$(DEPDIR)/$(am__dirstamp) + -rm -f libblkid/src/topology/$(am__dirstamp) + -rm -f libfdisk/samples/$(DEPDIR)/$(am__dirstamp) + -rm -f libfdisk/samples/$(am__dirstamp) + -rm -f libfdisk/src/$(DEPDIR)/$(am__dirstamp) + -rm -f libfdisk/src/$(am__dirstamp) + -rm -f libmount/python/$(DEPDIR)/$(am__dirstamp) + -rm -f libmount/python/$(am__dirstamp) + -rm -f libmount/src/$(DEPDIR)/$(am__dirstamp) + -rm -f libmount/src/$(am__dirstamp) + -rm -f libsmartcols/samples/$(DEPDIR)/$(am__dirstamp) + -rm -f libsmartcols/samples/$(am__dirstamp) + -rm -f libsmartcols/src/$(DEPDIR)/$(am__dirstamp) + -rm -f libsmartcols/src/$(am__dirstamp) + -rm -f libuuid/src/$(DEPDIR)/$(am__dirstamp) + -rm -f libuuid/src/$(am__dirstamp) + -rm -f login-utils/$(DEPDIR)/$(am__dirstamp) + -rm -f login-utils/$(am__dirstamp) + -rm -f misc-utils/$(DEPDIR)/$(am__dirstamp) + -rm -f misc-utils/$(am__dirstamp) + -rm -f schedutils/$(DEPDIR)/$(am__dirstamp) + -rm -f schedutils/$(am__dirstamp) + -rm -f sys-utils/$(DEPDIR)/$(am__dirstamp) + -rm -f sys-utils/$(am__dirstamp) + -rm -f term-utils/$(DEPDIR)/$(am__dirstamp) + -rm -f term-utils/$(am__dirstamp) + -rm -f tests/helpers/$(DEPDIR)/$(am__dirstamp) + -rm -f tests/helpers/$(am__dirstamp) + -rm -f text-utils/$(DEPDIR)/$(am__dirstamp) + -rm -f text-utils/$(am__dirstamp) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -rm -f lib/parse-date.c + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-recursive + +clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ + clean-libtool clean-local clean-noinstLTLIBRARIES \ + clean-noinstPROGRAMS clean-pylibmountexecLTLIBRARIES \ + clean-sbinPROGRAMS clean-usrbin_execPROGRAMS \ + clean-usrlib_execLTLIBRARIES clean-usrsbin_execPROGRAMS \ + mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf disk-utils/$(DEPDIR) lib/$(DEPDIR) libblkid/samples/$(DEPDIR) libblkid/src/$(DEPDIR) libblkid/src/partitions/$(DEPDIR) libblkid/src/superblocks/$(DEPDIR) libblkid/src/topology/$(DEPDIR) libfdisk/samples/$(DEPDIR) libfdisk/src/$(DEPDIR) libmount/python/$(DEPDIR) libmount/src/$(DEPDIR) libsmartcols/samples/$(DEPDIR) libsmartcols/src/$(DEPDIR) libuuid/src/$(DEPDIR) login-utils/$(DEPDIR) misc-utils/$(DEPDIR) schedutils/$(DEPDIR) sys-utils/$(DEPDIR) term-utils/$(DEPDIR) tests/helpers/$(DEPDIR) text-utils/$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-hdr distclean-libtool distclean-local distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: install-dist_bashcompletionDATA \ + install-dist_getoptexampleSCRIPTS install-man \ + install-nodist_blkidincHEADERS install-nodist_fdiskincHEADERS \ + install-nodist_mountincHEADERS \ + install-nodist_smartcolsincHEADERS install-pkgconfigDATA \ + install-systemdsystemunitDATA install-uuidincHEADERS + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-data-hook +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: install-binPROGRAMS install-dist_usrbin_execSCRIPTS \ + install-pylibmountexecLTLIBRARIES install-pylibmountexecPYTHON \ + install-sbinPROGRAMS install-usrbin_execPROGRAMS \ + install-usrlib_execLTLIBRARIES install-usrsbin_execPROGRAMS + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-exec-hook +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: install-man1 install-man3 install-man5 install-man8 + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -rf disk-utils/$(DEPDIR) lib/$(DEPDIR) libblkid/samples/$(DEPDIR) libblkid/src/$(DEPDIR) libblkid/src/partitions/$(DEPDIR) libblkid/src/superblocks/$(DEPDIR) libblkid/src/topology/$(DEPDIR) libfdisk/samples/$(DEPDIR) libfdisk/src/$(DEPDIR) libmount/python/$(DEPDIR) libmount/src/$(DEPDIR) libsmartcols/samples/$(DEPDIR) libsmartcols/src/$(DEPDIR) libuuid/src/$(DEPDIR) login-utils/$(DEPDIR) misc-utils/$(DEPDIR) schedutils/$(DEPDIR) sys-utils/$(DEPDIR) term-utils/$(DEPDIR) tests/helpers/$(DEPDIR) text-utils/$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-binPROGRAMS uninstall-dist_bashcompletionDATA \ + uninstall-dist_getoptexampleSCRIPTS \ + uninstall-dist_usrbin_execSCRIPTS uninstall-man \ + uninstall-nodist_blkidincHEADERS \ + uninstall-nodist_fdiskincHEADERS \ + uninstall-nodist_mountincHEADERS \ + uninstall-nodist_smartcolsincHEADERS uninstall-pkgconfigDATA \ + uninstall-pylibmountexecLTLIBRARIES \ + uninstall-pylibmountexecPYTHON uninstall-sbinPROGRAMS \ + uninstall-systemdsystemunitDATA uninstall-usrbin_execPROGRAMS \ + uninstall-usrlib_execLTLIBRARIES \ + uninstall-usrsbin_execPROGRAMS uninstall-uuidincHEADERS + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) uninstall-hook +uninstall-man: uninstall-man1 uninstall-man3 uninstall-man5 \ + uninstall-man8 + +.MAKE: $(am__recursive_targets) all check check-am install install-am \ + install-data-am install-exec-am install-strip uninstall-am + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ + am--refresh check check-am check-local clean clean-binPROGRAMS \ + clean-checkPROGRAMS clean-cscope clean-generic clean-libtool \ + clean-local clean-noinstLTLIBRARIES clean-noinstPROGRAMS \ + clean-pylibmountexecLTLIBRARIES clean-sbinPROGRAMS \ + clean-usrbin_execPROGRAMS clean-usrlib_execLTLIBRARIES \ + clean-usrsbin_execPROGRAMS cscope cscopelist-am ctags ctags-am \ + dist dist-all dist-bzip2 dist-gzip dist-hook dist-lzip \ + dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \ + distclean-compile distclean-generic distclean-hdr \ + distclean-libtool distclean-local distclean-tags \ + distcleancheck distdir distuninstallcheck dvi dvi-am html \ + html-am info info-am install install-am install-binPROGRAMS \ + install-data install-data-am install-data-hook \ + install-dist_bashcompletionDATA \ + install-dist_getoptexampleSCRIPTS \ + install-dist_usrbin_execSCRIPTS install-dvi install-dvi-am \ + install-exec install-exec-am install-exec-hook install-html \ + install-html-am install-info install-info-am install-man \ + install-man1 install-man3 install-man5 install-man8 \ + install-nodist_blkidincHEADERS install-nodist_fdiskincHEADERS \ + install-nodist_mountincHEADERS \ + install-nodist_smartcolsincHEADERS install-pdf install-pdf-am \ + install-pkgconfigDATA install-ps install-ps-am \ + install-pylibmountexecLTLIBRARIES install-pylibmountexecPYTHON \ + install-sbinPROGRAMS install-strip \ + install-systemdsystemunitDATA install-usrbin_execPROGRAMS \ + install-usrlib_execLTLIBRARIES install-usrsbin_execPROGRAMS \ + install-uuidincHEADERS installcheck installcheck-am \ + installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \ + uninstall-dist_bashcompletionDATA \ + uninstall-dist_getoptexampleSCRIPTS \ + uninstall-dist_usrbin_execSCRIPTS uninstall-hook uninstall-man \ + uninstall-man1 uninstall-man3 uninstall-man5 uninstall-man8 \ + uninstall-nodist_blkidincHEADERS \ + uninstall-nodist_fdiskincHEADERS \ + uninstall-nodist_mountincHEADERS \ + uninstall-nodist_smartcolsincHEADERS uninstall-pkgconfigDATA \ + uninstall-pylibmountexecLTLIBRARIES \ + uninstall-pylibmountexecPYTHON uninstall-sbinPROGRAMS \ + uninstall-systemdsystemunitDATA uninstall-usrbin_execPROGRAMS \ + uninstall-usrlib_execLTLIBRARIES \ + uninstall-usrsbin_execPROGRAMS uninstall-uuidincHEADERS + +.PRECIOUS: Makefile + + +# move lib from $(usrlib_execdir) to $(libdir) if needed +@BUILD_LIBUUID_TRUE@install-exec-hook-libuuid: +@BUILD_LIBUUID_TRUE@ if test "$(usrlib_execdir)" != "$(libdir)" -a -f "$(DESTDIR)$(usrlib_execdir)/libuuid.so"; then \ +@BUILD_LIBUUID_TRUE@ $(MKDIR_P) $(DESTDIR)$(libdir); \ +@BUILD_LIBUUID_TRUE@ mv $(DESTDIR)$(usrlib_execdir)/libuuid.so.* $(DESTDIR)$(libdir); \ +@BUILD_LIBUUID_TRUE@ so_img_name=$$(readlink $(DESTDIR)$(usrlib_execdir)/libuuid.so); \ +@BUILD_LIBUUID_TRUE@ so_img_rel_target=$$(echo $(usrlib_execdir) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \ +@BUILD_LIBUUID_TRUE@ (cd $(DESTDIR)$(usrlib_execdir) && \ +@BUILD_LIBUUID_TRUE@ rm -f libuuid.so && \ +@BUILD_LIBUUID_TRUE@ $(LN_S) $$so_img_rel_target$(libdir)/$$so_img_name libuuid.so); \ +@BUILD_LIBUUID_TRUE@ fi + +@BUILD_LIBUUID_TRUE@uninstall-hook-libuuid: +@BUILD_LIBUUID_TRUE@ rm -f $(DESTDIR)$(libdir)/libuuid.so* + +# move lib from $(usrlib_execdir) to $(libdir) if needed +@BUILD_LIBBLKID_TRUE@install-exec-hook-libblkid: +@BUILD_LIBBLKID_TRUE@ if test "$(usrlib_execdir)" != "$(libdir)" -a -f "$(DESTDIR)$(usrlib_execdir)/libblkid.so"; then \ +@BUILD_LIBBLKID_TRUE@ $(MKDIR_P) $(DESTDIR)$(libdir); \ +@BUILD_LIBBLKID_TRUE@ mv $(DESTDIR)$(usrlib_execdir)/libblkid.so.* $(DESTDIR)$(libdir); \ +@BUILD_LIBBLKID_TRUE@ so_img_name=$$(readlink $(DESTDIR)$(usrlib_execdir)/libblkid.so); \ +@BUILD_LIBBLKID_TRUE@ so_img_rel_target=$$(echo $(usrlib_execdir) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \ +@BUILD_LIBBLKID_TRUE@ (cd $(DESTDIR)$(usrlib_execdir) && \ +@BUILD_LIBBLKID_TRUE@ rm -f libblkid.so && \ +@BUILD_LIBBLKID_TRUE@ $(LN_S) $$so_img_rel_target$(libdir)/$$so_img_name libblkid.so); \ +@BUILD_LIBBLKID_TRUE@ fi + +@BUILD_LIBBLKID_TRUE@uninstall-hook-libblkid: +@BUILD_LIBBLKID_TRUE@ rm -f $(DESTDIR)$(libdir)/libblkid.so* + +# move lib from $(usrlib_execdir) to $(libdir) if needed +@BUILD_LIBMOUNT_TRUE@install-exec-hook-libmount: +@BUILD_LIBMOUNT_TRUE@ if test "$(usrlib_execdir)" != "$(libdir)" -a -f "$(DESTDIR)$(usrlib_execdir)/libmount.so"; then \ +@BUILD_LIBMOUNT_TRUE@ $(MKDIR_P) $(DESTDIR)$(libdir); \ +@BUILD_LIBMOUNT_TRUE@ mv $(DESTDIR)$(usrlib_execdir)/libmount.so.* $(DESTDIR)$(libdir); \ +@BUILD_LIBMOUNT_TRUE@ so_img_name=$$(readlink $(DESTDIR)$(usrlib_execdir)/libmount.so); \ +@BUILD_LIBMOUNT_TRUE@ so_img_rel_target=$$(echo $(usrlib_execdir) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \ +@BUILD_LIBMOUNT_TRUE@ (cd $(DESTDIR)$(usrlib_execdir) && \ +@BUILD_LIBMOUNT_TRUE@ rm -f libmount.so && \ +@BUILD_LIBMOUNT_TRUE@ $(LN_S) $$so_img_rel_target$(libdir)/$$so_img_name libmount.so); \ +@BUILD_LIBMOUNT_TRUE@ fi + +@BUILD_LIBMOUNT_TRUE@uninstall-hook-libmount: +@BUILD_LIBMOUNT_TRUE@ rm -f $(DESTDIR)$(libdir)/libmount.so* + +# move lib from $(usrlib_execdir) to $(libdir) if needed +@BUILD_LIBSMARTCOLS_TRUE@install-exec-hook-libsmartcols: +@BUILD_LIBSMARTCOLS_TRUE@ if test "$(usrlib_execdir)" != "$(libdir)" -a -f "$(DESTDIR)$(usrlib_execdir)/libsmartcols.so"; then \ +@BUILD_LIBSMARTCOLS_TRUE@ $(MKDIR_P) $(DESTDIR)$(libdir); \ +@BUILD_LIBSMARTCOLS_TRUE@ mv $(DESTDIR)$(usrlib_execdir)/libsmartcols.so.* $(DESTDIR)$(libdir); \ +@BUILD_LIBSMARTCOLS_TRUE@ so_img_name=$$(readlink $(DESTDIR)$(usrlib_execdir)/libsmartcols.so); \ +@BUILD_LIBSMARTCOLS_TRUE@ so_img_rel_target=$$(echo $(usrlib_execdir) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \ +@BUILD_LIBSMARTCOLS_TRUE@ (cd $(DESTDIR)$(usrlib_execdir) && \ +@BUILD_LIBSMARTCOLS_TRUE@ rm -f libsmartcols.so && \ +@BUILD_LIBSMARTCOLS_TRUE@ $(LN_S) $$so_img_rel_target$(libdir)/$$so_img_name libsmartcols.so); \ +@BUILD_LIBSMARTCOLS_TRUE@ fi + +@BUILD_LIBSMARTCOLS_TRUE@uninstall-hook-libsmartcols: +@BUILD_LIBSMARTCOLS_TRUE@ rm -f $(DESTDIR)$(libdir)/libsmartcols.so* + +# move lib from $(usrlib_execdir) to $(libdir) if needed +@BUILD_LIBFDISK_TRUE@install-exec-hook-libfdisk: +@BUILD_LIBFDISK_TRUE@ if test "$(usrlib_execdir)" != "$(libdir)" -a -f "$(DESTDIR)$(usrlib_execdir)/libfdisk.so"; then \ +@BUILD_LIBFDISK_TRUE@ $(MKDIR_P) $(DESTDIR)$(libdir); \ +@BUILD_LIBFDISK_TRUE@ mv $(DESTDIR)$(usrlib_execdir)/libfdisk.so.* $(DESTDIR)$(libdir); \ +@BUILD_LIBFDISK_TRUE@ so_img_name=$$(readlink $(DESTDIR)$(usrlib_execdir)/libfdisk.so); \ +@BUILD_LIBFDISK_TRUE@ so_img_rel_target=$$(echo $(usrlib_execdir) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \ +@BUILD_LIBFDISK_TRUE@ (cd $(DESTDIR)$(usrlib_execdir) && \ +@BUILD_LIBFDISK_TRUE@ rm -f libfdisk.so && \ +@BUILD_LIBFDISK_TRUE@ $(LN_S) $$so_img_rel_target$(libdir)/$$so_img_name libfdisk.so); \ +@BUILD_LIBFDISK_TRUE@ fi + +@BUILD_LIBFDISK_TRUE@uninstall-hook-libfdisk: +@BUILD_LIBFDISK_TRUE@ rm -f $(DESTDIR)$(libdir)/libfdisk.so* +@BUILD_WALL_TRUE@@MAKEINSTALL_DO_CHOWN_TRUE@@USE_TTY_GROUP_TRUE@install-exec-hook-wall:: +@BUILD_WALL_TRUE@@MAKEINSTALL_DO_CHOWN_TRUE@@USE_TTY_GROUP_TRUE@ chgrp tty $(DESTDIR)$(usrbin_execdir)/wall +@BUILD_WALL_TRUE@@MAKEINSTALL_DO_CHOWN_TRUE@@USE_TTY_GROUP_TRUE@ chmod g+s $(DESTDIR)$(usrbin_execdir)/wall + +@BUILD_WRITE_TRUE@@MAKEINSTALL_DO_CHOWN_TRUE@@USE_TTY_GROUP_TRUE@install-exec-hook-write:: +@BUILD_WRITE_TRUE@@MAKEINSTALL_DO_CHOWN_TRUE@@USE_TTY_GROUP_TRUE@ chgrp tty $(DESTDIR)$(usrbin_execdir)/write +@BUILD_WRITE_TRUE@@MAKEINSTALL_DO_CHOWN_TRUE@@USE_TTY_GROUP_TRUE@ chmod g+s $(DESTDIR)$(usrbin_execdir)/write + +@BUILD_LAST_TRUE@install-exec-hook-last: +@BUILD_LAST_TRUE@ cd $(DESTDIR)$(usrbin_execdir) && ln -sf last lastb +@BUILD_VIPW_TRUE@install-exec-hook-vipw:: +@BUILD_VIPW_TRUE@ cd $(DESTDIR)$(usrsbin_execdir) && ln -sf vipw vigr + +install-exec-hook: +@BUILD_SU_TRUE@@MAKEINSTALL_DO_CHOWN_TRUE@ chown root:root $(DESTDIR)$(bindir)/su +@BUILD_SU_TRUE@@MAKEINSTALL_DO_SETUID_TRUE@ chmod 4755 $(DESTDIR)$(bindir)/su +@BUILD_VIPW_TRUE@ cd $(DESTDIR)$(usrsbin_execdir) && ln -sf vipw vigr + +@BUILD_SETARCH_TRUE@$(SETARCH_MAN_LINKS): +@BUILD_SETARCH_TRUE@ $(AM_V_at) $(MKDIR_P) sys-utils +@BUILD_SETARCH_TRUE@ $(AM_V_GEN)echo ".so man8/setarch.8" > $@ + +@BUILD_SETARCH_TRUE@install-exec-hook-setarch: +@BUILD_SETARCH_TRUE@ for I in $(SETARCH_LINKS); do \ +@BUILD_SETARCH_TRUE@ cd $(DESTDIR)$(usrbin_execdir) && ln -sf setarch $$I ; \ +@BUILD_SETARCH_TRUE@ done + +@BUILD_SETARCH_TRUE@uninstall-hook-setarch: +@BUILD_SETARCH_TRUE@ for I in $(SETARCH_LINKS); do \ +@BUILD_SETARCH_TRUE@ rm -f $(DESTDIR)$(usrbin_execdir)/$$I ; \ +@BUILD_SETARCH_TRUE@ done + +@BUILD_MOUNT_TRUE@install-exec-hook-mount: +@BUILD_MOUNT_TRUE@@MAKEINSTALL_DO_CHOWN_TRUE@ chown root:root $(DESTDIR)$(bindir)/mount +@BUILD_MOUNT_TRUE@@MAKEINSTALL_DO_SETUID_TRUE@ chmod 4755 $(DESTDIR)$(bindir)/mount +@BUILD_MOUNT_TRUE@@MAKEINSTALL_DO_CHOWN_TRUE@ chown root:root $(DESTDIR)$(bindir)/umount +@BUILD_MOUNT_TRUE@@MAKEINSTALL_DO_SETUID_TRUE@ chmod 4755 $(DESTDIR)$(bindir)/umount + +@BUILD_BASH_COMPLETION_TRUE@@BUILD_RUNUSER_TRUE@install-data-hook-bashcomp-runuser:: +@BUILD_BASH_COMPLETION_TRUE@@BUILD_RUNUSER_TRUE@@BUILD_SU_TRUE@ ln -sf su $(DESTDIR)$(bashcompletiondir)/runuser +@BUILD_BASH_COMPLETION_TRUE@@BUILD_RUNUSER_TRUE@@BUILD_SU_FALSE@ cp $(top_srcdir)/bash-completion/su $(DESTDIR)$(bashcompletiondir)/runuser + +clean-local-tests: + rm -rf $(top_builddir)/tests/output $(top_builddir)/tests/diff + +check-local-tests: $(check_PROGRAMS) + $(AM_V_GEN) $(TS_COMMAND) + +# pylibmountexec module must be installed after usrlib_exec libraries, +# otherwise the libtool relink step will fail to find libmount.la and +# will try -lmount which is possibly not available. +# +# So introduce this dependency rule: +# install-pylibmountexecLTLIBRARIES: install-usrlib_execLTLIBRARIES +@verbatim_pylibmount_dependency@ + +$(PATHFILES): Makefile + @ rm -f $@ $@.tmp + $(AM_V_at) $(MKDIR_P) $$(dirname $@) + $(AM_V_GEN) srcdir=''; \ + test -f ./$@.in || srcdir=$(srcdir)/; \ + $(edit_cmd) $${srcdir}$@.in >$@.tmp + @ mv $@.tmp $@ + +# Arrange so that .tarball-version appears only in the distribution +# tarball, and never in a checked-out repository. +dist-hook: + echo $(VERSION) > $(distdir)/.tarball-version +# Set ChangeLog tag reference. + sed -i "s/log/log;h=$(VERSION)/" $(distdir)/ChangeLog + +distclean-local: + -find . -name \*~ -o -name \*.orig -o -name \*.rej | xargs rm -f + rm -rf autom4te.cache + +checkincludes: + @find * $(RCS_FIND_IGNORE) \ + -name '*.[hcS]' -type f -print | sort -u \ + | xargs $(top_srcdir)/tools/checkincludes.pl + +checkconfig: + @find * $(RCS_FIND_IGNORE) \ + -name '*.[hcS]' -type f -print | sort -u \ + | xargs $(top_srcdir)/tools/checkconfig.sh $(top_srcdir) + +checkmans: + @$(top_srcdir)/tools/checkmans.sh + +checkxalloc: + @ $(top_srcdir)/tools/checkxalloc.sh + +checkdecl: + @ $(top_srcdir)/tools/checkdecl.sh + +checkcompletion: + @ $(top_srcdir)/tools/checkcompletion.sh $(top_srcdir) + +checkusage: + @ $(top_srcdir)/tools/checkusage.sh \ + $(bin_PROGRAMS) $(sbin_PROGRAMS) \ + $(usrbin_exec_PROGRAMS) $(usrsbin_exec_PROGRAMS) +.version: + echo $(VERSION) > $@-t && mv $@-t $@ + +$(CHANGELOG_FILE): + @ if test "x$$PREVIOUS_VERSION" == "x"; then \ + echo "Usage make changelog PREVIOUS_VERSION="; \ + exit 1; \ + fi + @ echo "Changes between v$(PREVIOUS_VERSION) and v$(VERSION)" > $(CHANGELOG_FILE) + @ echo "--------------------------------------------" >> $(CHANGELOG_FILE) + @ echo >> $(CHANGELOG_FILE) + $(AM_V_GEN) git log --stat v$(PREVIOUS_VERSION)..HEAD >> $(CHANGELOG_FILE) +# +# +# smatch scan -- smatch and cgcc are expected in $PATH +# +checksmatch: + $(MAKE) CHECK="smatch --data=$(abs_top_srcdir)/tools/smatch-data" CC=cgcc + +changelog: $(CHANGELOG_FILE) + +install-exec-hook: $(INSTALL_EXEC_HOOKS) + +uninstall-hook: $(UNINSTALL_HOOKS) + +install-data-hook: $(INSTALL_DATA_HOOKS) + +clean-local: $(CLEAN_LOCALS) + +check-local: $(CHECK_LOCALS) + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..bd90b2f --- /dev/null +++ b/NEWS @@ -0,0 +1,1823 @@ +util-linux 2.33.1: Jan 9 2019 +* see Documentation/releases/v2.33.1-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.33/v2.33.1-ChangeLog + +util-linux 2.33: Nov 6 2018 +* see Documentation/releases/v2.33-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.33/v2.33-ChangeLog + +util-linux 2.33-rc2: Oct 19 2018 +* see Documentation/releases/v2.33-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.33/v2.33-rc2-ChangeLog + +util-linux 2.33-rc1: Sep 25 2018 +* see Documentation/releases/v2.33-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.33/v2.33-rc1-ChangeLog + +util-linux 2.32: Mar 21 2018 +* see Documentation/releases/v2.32-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.32/v2.32-ChangeLog + +util-linux 2.32-rc2: Mar 01 2018 +* see Documentation/releases/v2.32-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.32/v2.32-rc2-ChangeLog + +util-linux 2.32-rc1: Feb 13 2018 +* see Documentation/releases/v2.32-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.32/v2.32-rc1-ChangeLog + +util-linux 2.31: Oct 19 2017 +* see Documentation/releases/v2.31-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.31/v2.31-ChangeLog + +util-linux 2.31-rc2: Oct 03 2017 +* see Documentation/releases/v2.31-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.31/v2.31-rc2-ChangeLog + +util-linux 2.31-rc1: Sep 22 2017 +* see Documentation/releases/v2.31-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.31/v2.31-rc1-ChangeLog + +util-linux 2.30: Jun 02 2017 +* see Documentation/releases/v2.30-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.30/v2.30-ChangeLog + +util-linux 2.30-rc2: May 12 2017 +* see Documentation/releases/v2.30-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.30/v2.30-rc2-ChangeLog + +util-linux 2.30-rc1: May 12 2017 +* see Documentation/releases/v2.30-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.30/v2.30-rc1-ChangeLog + +util-linux 2.29: Nov 8 2016 +* see Documentation/releases/v2.29-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.29/v2.29-ChangeLog + +util-linux 2.29-rc2: Oct 19 2016 +* see Documentation/releases/v2.29-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.29/v2.29-rc2-ChangeLog + +util-linux 2.29-rc1: Sep 30 2016 +* see Documentation/releases/v2.29-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.29/v2.29-rc1-ChangeLog + +util-linux 2.28: Apr 12 2016 +* see Documentation/releases/v2.28-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.28/v2.28-ChangeLog + +util-linux 2.28-rc2: Mar 29 2016 +* see Documentation/releases/v2.28-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.28/v2.28-rc2-ChangeLog + +util-linux 2.28-rc1: Mar 11 2016 +* see Documentation/releases/v2.28-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.28/v2.28-rc1-ChangeLog + +util-linux 2.27: Sep 07 2015 +* see Documentation/releases/v2.27-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.27/v2.27-ChangeLog + +util-linux 2.27-rc2: Aug 24 2015 +* see Documentation/releases/v2.27-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.27/v2.27-rc2-ChangeLog + +util-linux 2.27-rc1: Jul 31 2015 +* see Documentation/releases/v2.27-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.27/v2.27-rc1-ChangeLog + +util-linux 2.26: Feb 19 2015 +* see Documentation/releases/v2.26-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.26/v2.26-ChangeLog + +util-linux 2.26-rc2: Feb 4 2015 +* see Documentation/releases/v2.26-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.26/v2.26-rc2-ChangeLog + +util-linux 2.26-rc1: Jan 14 2015 +* see Documentation/releases/v2.26-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.26/v2.26-rc1-ChangeLog + +util-linux 2.25: Jul 22 2014 +* see Documentation/releases/v2.25-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.25/v2.25-ChangeLog + +util-linux 2.25-rc2: Jul 2 2014 +* see Documentation/releases/v2.25-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.25/v2.25-rc2-ChangeLog + +util-linux 2.25-rc1: Jun 18 2014 +* see Documentation/releases/v2.25-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.25/v2.25-rc1-ChangeLog + +util-linux 2.24: Oct 21 2013 +* see Documentation/releases/v2.24-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.24/v2.24-ChangeLog + +util-linux 2.24-rc2: Oct 11 2013 +* see Documentation/releases/v2.24-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.24/v2.24-rc2-ChangeLog + +util-linux 2.24-rc1: Sep 27 2013 +* see Documentation/releases/v2.24-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.24/v2.24-rc1-ChangeLog + +util-linux 2.23: Apr 25 2013 +* see Documentation/releases/v2.23-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.23/v2.23-ChangeLog + +util-linux 2.23-rc2: Apr 10 2013 +* see Documentation/releases/v2.23-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.23/v2.23-rc2-ChangeLog + +util-linux 2.23-rc1: Mar 22 2013 +* see Documentation/releases/v2.23-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.23/v2.23-rc1-ChangeLog + +util-linux 2.22: Sep 04 2012 +* see Documentation/releases/v2.22-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.22/v2.22-ChangeLog + +util-linux 2.22-rc2: Aug 15 2012 +* see Documentation/releases/v2.22-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.22/v2.22-rc2-ChangeLog + +util-linux 2.22-rc1: Jul 27 2012 +* see Documentation/releases/v2.22-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.22/v2.22-rc1-ChangeLog + +util-linux 2.21: Feb 24 2012 +* see Documentation/releases/v2.21-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.21/v2.21-ChangeLog + +util-linux 2.21-rc2: Feb 06 2012 +* see Documentation/releases/v2.21-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.21/v2.21-rc2-ChangeLog + +util-linux 2.21-rc1: Jan 18 2012 +* see Documentation/releases/v2.21-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.21/v2.21-rc1-ChangeLog + +util-linux 2.20: Aug 29 2011 +* see Documentation/releases/v2.20-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.20/v2.20-ChangeLog + +util-linux 2.20-rc2: Aug 17 2011 +* see Documentation/releases/v2.20-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.20/v2.20-rc2-ChangeLog + +util-linux 2.20-rc1: Jul 29 2011 +* see Documentation/releases/v2.20-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.20/v2.20-rc1-ChangeLog + +util-linux 2.19: Feb 10 2011 +* see Documentation/releases/v2.19-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.19/v2.19-ChangeLog + +util-linux 2.19-rc3: Jan 25 2011 +* see Documentation/releases/v2.19-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.19/v2.19-rc3-ChangeLog + +util-linux 2.19-rc2: Jan 25 2011 +* see Documentation/releases/v2.19-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.19/v2.19-rc2-ChangeLog + +util-linux 2.19-rc1: Jan 05 2011 +* see Documentation/releases/v2.19-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.19/v2.19-rc1-ChangeLog + +util-linux-ng 2.18: Jun 30 2010 +* see Documentation/releases/v2.18-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.18/v2.18-ChangeLog + +util-linux-ng 2.18-rc2: Jun 18 2010 +* see Documentation/releases/v2.18-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.18/v2.18-rc2-ChangeLog + +util-linux-ng 2.18-rc1: Jun 7 2010 +* see Documentation/releases/v2.18-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.18/v2.18-rc1-ChangeLog + +util-linux-ng 2.17: Jan 8 2010 +* see Documentation/releases/v2.17-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.17/v2.17-ChangeLog + +util-linux-ng 2.17-rc3: Dec 10 2009 +* see Documentation/releases/v2.17-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.17/v2.17-rc3-ChangeLog + +util-linux-ng 2.17-rc2: Dec 9 2009 +* see Documentation/releases/v2.17-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.17/v2.17-rc2-ChangeLog + +util-linux-ng 2.17-rc1: Nov 20 2009 +* see Documentation/releases/v2.17-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.17/v2.17-rc1-ChangeLog + +util-linux-ng 2.16: Jul 2009 +* see Documentation/releases/v2.16-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.16/v2.16-ChangeLog + +util-linux-ng 2.16-rc2: Jul 2 2009 +* see Documentation/releases/v2.16-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.16/v2.16-rc2-ChangeLog + +util-linux-ng 2.16-rc1: Jun 28 2009 +* see Documentation/releases/v2.16-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.16/v2.16-rc1-ChangeLog + +util-linux-ng 2.15: May 5 2009 +* see Documentation/releases/v2.15-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.15/v2.15-ChangeLog + +util-linux-ng 2.15-rc2: Apr 17 2009 +* see Documentation/releases/v2.15-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.15/v2.15-rc2-ChangeLog + +util-linux-ng 2.15-rc1: Mar 18 2009 +* see Documentation/releases/v2.15-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.15/v2.15-rc1-ChangeLog + +util-linux-ng 2.14: Jun 9 2008 +* see Documentation/releases/v2.14-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.14/v2.14-ChangeLog + +util-linux-ng 2.14-rc3: May 19 2008 +* see Documentation/releases/v2.14-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.14/v2.14-rc3-ChangeLog + +util-linux-ng 2.14-rc2: Apr 28 2008 +* see Documentation/releases/v2.14-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.14/v2.14-rc2-ChangeLog + +util-linux-ng 2.14-rc1: Apr 16 2008 +* see Documentation/releases/v2.14-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.14/v2.14-rc1-ChangeLog + +util-linux-ng 2.13: Aug 28 2007 +* see Documentation/releases/v2.13-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.13/v2.13-ChangeLog + +util-linux-ng 2.13-rc3: Aug 8 2007 +* see Documentation/releases/v2.13-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.13/v2.13-rc3-ChangeLog + +util-linux-ng 2.13-rc2: Jul 17 2007 +* see Documentation/releases/v2.13-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.13/v2.13-rc2-ChangeLog + +util-linux-ng 2.13-rc1: Jul 4 2007 +* see Documentation/releases/v2.13-ReleaseNotes or the complete changelog at + https://www.kernel.org/pub/linux/utils/util-linux/v2.13/v2.13-rc1-ChangeLog + +util-linux 2.13-pre7 + +* mount: default to cifs instead of smbfs for sources + starting with // (Lars Mueller) +* flock: documentation updates (H. Peter Anvin) +* new translation: id +* updated translations: de, it, sl, uk + +util-linux 2.13-pre6 + +* getopt: updated to 1.1.4 +* replaced all *llseek variants with lseek +* misc build system, code and docs cleanups and fixes +* updated translations: fr, it + +util-linux 2.13-pre5 + +* {fsck,mkfs}.cramfs: updated to cramfs-1.1 +* {fsck,mkfs}.cramfs: removed PAGE_CACHE_SIZE usage +* umount: fix "umount -n -r" (Derick Swanepoel) +* misc build system and code cleanups and fixes +* updated translation: ca + +util-linux 2.13-pre4 + +* don't build fdisk on m68k (Mike Frysinger) +* misc build system and documentation fixes +* removed program: clear + +util-linux 2.13-pre3 + +* misc buld system fixes +* cfdisk: fix a segfault with ReiserFS partitions +* umount: disallow -r option for non-root users +* updated translations: da, fr, it, nl, ru, sl, tr + +util-linux 2.13-pre2 + +* flock: replaced with flock-2.0.2 by H. Peter Anvin +* misc build system fixes, libtool is no longer used +* misc code fixes +* updated translations: ca, fi, fr, nl, ru, tr + +util-linux 2.13-pre1 + +* use GNU autoconf/automake/libtool for building +* added schedutils +* removed support for curses implementations other than ncurses +* removed programs: arch, passwd, rescuept, setfdprm, sln +* removed mkminix-0.1/ +* misc fixes and documentation updates +* new translation: vi +* updated translations: ca, de, fi, fr, it, nl, ru, tr + +util-linux 2.12q + +* updated translation: nl + +util-linux 2.12q-pre2 + +* sfdisk: document -G option in --help output +* updated translations: ca, et, fr + +util-linux 2.12q-pre1 + +* new maintainer +* sfdisk: add -G option (Andries Brouwer) +* updated translations: de, es, ru, sv, tr + +util-linux 2.12p + +* cfdisk: fix number of new partition when partitions not in disk order +* fdisk: fix Sun label handling in sector mode +* mkfs: never truncate filename (not that that ever happened) +* more: fix redraw flaw + +util-linux 2.12n,o + +* lomount: revert patch from 2.12j +* lptune.8: -T option is obsolete +* mkswap, mkswap.8, swapon: support labels + (use HAVE_BLKID=no as long as the blkid library doesn't support this) +* umount: allow user unmounting repeatedly mounted nfs mounts + +util-linux 2.12m + +* cfdisk: recognize JFS, support reiserfs labels (flavio.stanchina@tin.it) +* mount: fix option parsing bug +* mount.8: several updates +* swapon.8: document -v option + +util-linux 2.12l + +* Makefile: remove cat-id-tbl.c upon make clean +* fdisk: fixed a bug that would cause a non-update of a sun disklabel +* fdisk: use sectorsize instead of 512 for SGI (Eric Y. Theriault) +* fdisk: use __attribute__((packed)) for alpha, ARM: avoid unaligned accesses +* hwclock: actually use HAVE_tm_gmtoff +* swapon: fix priority handling +* umount: refuse to unmount an empty string + +util-linux 2.12k + +* cfdisk: fixed a signed character bug causing problems for Spanish users +* configure, MCONFIG: detect gcc 3.4.0 and use -mtune option (Matthew Burgess) +* configure: do not run ./conftest (for cross compilation) (NIIBE Yutaka) +* fsck.cramfs: try to get correct PAGE_CACHE_SIZE +* losetup: try to give better error messages +* readprofile: default map file is /boot/System.map +* rdev.8: added historical info on ramdisk +* New French, Spanish, Swedish and Turkish messages + +util-linux 2.12j + +* cal: highlight today (Pádraig Brady) +* lomount: stop reading passwd at NUL, fix lo_encrypt key_size (Wolfram Kleff) +* losetup: add -f option to find an unused loop device + (Alexander Wigen, Remco van Mook) +* more: code cleanup (Joachim Henke) +* mount: add "group" mount option (Martin Dickopp) +* sfdisk: fix 2.6.8 BLKRRPART ioctl damage (Eric Lammerts) +* swapon: let swapon -a skip the swapfiles marked "noauto" (Dale R. Worley) +* umount: fix problem with empty mtab (Bryan Kadzban) +* umount: use special umount program if it exists (Ram Pai) +* New Danish and French messages + +util-linux 2.12i + +* MCONFIG: fix build conditions +* chfn, chsh: add error checking +* cytune: use local header cyclades.h +* fdisk: fix default SGI volume header size (Eric Sandeen) +* fstab.c: use strsignal() instead of sys_siglist[] +* hwclock: use when available on i386 +* hwclock: don't try KDGHWCLK on archs other than __m68k__ +* sfdisk: correct typo in __attribute__used nonsense +* sfdisk: use PACKED on __arm__ (Jeroen Dobbelaere) +* sfdisk: fix warning printout + +util-linux 2.12e,f,g,h + +* cfdisk: avoid crash if no partition table +* elvtune: tell user that this only works on 2.4 kernels +* lomount: clear passwords after use +* mount: accept comments (introduced by \;) in fstab - withdrawn again +* mount: accept comments (specified by comment=) in fstab +* mount: support ocfs, ocfs2 +* [u]mount: be more careful with malloc, try to avoid OOM with many mounts +* sfdisk: __attribute__used nonsense to support gcc 3.4 +* shutdown: do not unmount various virtual filesystems + +util-linux 2.12c,d + +* mount.8: added recent ext2 mount options +* mount: support jfs mount-by-label, improve reiserfs support +* sfdisk: remove strange "ends in a digit" heuristic +* *fdisk: use common disksize() routine + +util-linux 2.12b + +* chsh: improved error message +* dmesg: ask kernel proper buffer size +* losetup: handle 64-bit offsets +* blockdev: also report BLKGETSIZE64 result +* blockdev, elvtune, fdisk: handle new kernel _IOR,_IOW defines +* fdisk: remove strange "ends in a digit" heuristic +* fdisk: also list Solaris as possible type for 0x82 +* mount: added --rbind option +* mount: use blkid, uuid libraries when available +* mount: support reiserfs mount by label +* mount: attempt to use the right definition of dev_t in struct loopinfo +* mount.8: jfs mount options added +* readprofile: new -s option +* rename.1: added ref to mmv.1 +* replay: renamed to scriptreplay; correct typos +* script: do not use locale for time delay floating point number format +* sfdisk: error messages to stderr +* New Catalan, Dutch, Finnish, French, German, Spanish, Swedish, Turkish, + Ukrainian messages + +util-linux 2.12a + +* chfn, chsh, login, vipw: SElinux support +* fdisk: fix for kernels 2.4.15-2.4.17 +* fdisk: fix when all partitions are in use +* hwclock: add a timeout when waiting for a clock update (Göran Weinholt) +* ipcs: compilation fix +* ipcs: shminfo.shmall gives pages +* login: use getutline() instead of getutid() +* login: fix for 64-bit time_t +* mount: efs support +* partx: bigendian fix +* readprofile: support for 64-bit addresses +* setterm: fix klogctl error message (Joern Heissler) +* setterm.1: clarification +* sfdisk: fix check for is_ide_cdrom_or_tape +* umount: skip proc, devfs, devpts on umount -a + +util-linux 2.12 + +* losetup: cryptoloop support +* losetup: -p option specifies fd for passphrase +* fdisk: sgi layout fix +* mount: -p option specifies fd for passphrase +* mount: recognize some PCDOS floppies +* umount: in "umount name", first try to interpret "name" as a mount point + +util-linux 2.12pre + +* Catalan messages (Antoni Bella Pérez) +* Danish messages (Claus Hindsgaul) +* Dutch messages (Taco Witte) +* Finnish messages (Lauri Nurmi) +* French messages (Michel Robitaille) +* German messages (Michael Piefel) +* Slovenian messages (Primož Peterlin) +* Spanish messages (Santiago Vila Doncel) +* Swedish messages (Christian Rose) +* Turkish messages (Nilgün Belma Bugüner) +* cfdisk: localize the Y/N answer, improve printing localized messages +* cfdisk: make various variables long long - some disks are close to 2 TB +* cfdisk: use BLKGETSIZE64 +* fdisk: make various variables unsigned to lengthen the life of 32-bit vars +* fdisk: some sgi fixes (Phillip Kesling) +* fdisk: k=1000, K=1024 +* fdisk: removed last occurrences of HDIO_REQ +* fdisk: use BLKGETSIZE64 +* hwclock: fix rtc test (Heiko Zuerker) +* login: set a timeout on printing the timeout message (Robert Ambrose) +* md5: x86_64 fix (mmj) +* more: POSIX fixes +* mount: do not supply MS_MGC_VAL when there are conflicting flags +* mount: ncp and smb are called smbfs and ncpfs - global change +* mount: add support for xvm mount by label (Eric Sandeen) +* mount: correct hfs magic recognition +* mount: keep original umask - it influences the mount call (mmj) +* raw.8: documented unbinding of raw devices +* readprofile: fixed off-by eight error (Werner Almesberger) +* script: add -c option (Wayne Davison) +* sfdisk.8: added an example of partitioning with logical partitions +* sfdisk: only add a AA55 signature for DOS-type partition tables +* tailf: new (Rik Faith) + +util-linux 2.11z + +* Catalan messages (Antoni Bella Pérez) +* Danish messages (Claus Hindsgaul) +* Dutch messages (Taco Witte) +* Finnish messages (Lauri Nurmi) +* French messages (Michel Robitaille) - HURRAY! +* German messages (Michael Piefel) +* Slovenian messages (Primož Peterlin) +* Spanish messages (Santiago Vila Doncel) +* Swedish messages (Christian Rose) +* Turkish messages (Nilgün Belma Bugüner) +* getopt: replaced getopt-1.1.2 by getopt-1.1.3 (Frodo Looijaard) +* mkcramfs: change default blocksize for ia64 and alpha +* more.help: removed (it is built-in now, and translated) +* mount: add -i option (inhibit calling external mount programs) +* mount: change default: do resolve symlinks +* readprofile: look for System.map also in /boot/System.map-`uname -r` (mmj) +* sfdisk: also translate "start" and "end"; s/MB/MiB/ + +util-linux 2.11y + +* Danish messages (Claus Hindsgaul) +* Finnish messages (Lauri Nurmi) +* German messages (Michael Piefel) +* Spanish messages (Santiago Vila Doncel) +* Swedish messages (Christian Rose) +* cfdisk: improve escape seq recognition when compiled with slang +* fdisk: decimal units +* hwclock/rtc.c: minor cleanup (Joachim Henke) +* ipcs: compilation fix +* more: kill external help file (Joachim Henke) +* mount: fix LABEL= handling for user umount +* mount: don't abort on read error on photocds (György Kövesdi) +* mount.8: add dmask and fmask vfat mount options +* pg: compilation fix (Joachim Henke) +* script: localized time strings (Göran Uddeborg) +* setterm: accept devfs name (Joachim Henke) +* simpleinit: security: refuse initctl_fd if setting FD_CLOEXEC fails +* umount: allow user umount after mount by label or uuid + +util-linux 2.11x + +* Danish messages (Claus Hindsgaul) +* Dutch messages (Taco Witte) +* Finnish messages (Lauri Nurmi) +* German messages (Michael Piefel) +* Swedish messages (Christian Rose) +* Turkish messages (Nilgün Belma Bugüner) +* cfdisk: correct error printout +* fdisk: allow addition of a new partition when logicals all used + but primary free +* hwclock: detect systime jumps backward during setting hwclock +* mkfs.cramfs: do not mmap all files simultaneously +* mkfs.cramfs: make blocksize settable +* mkfs.minix: correct error printout +* mkswap.8: now max 32 swapspaces +* mount: new --rbind flag, for recursive loopback mounts +* mount, umount: new -O option (Michael K. Johnson) +* mount.8: -O and win95 options documented +* setpwnam.c: open temp pw file with O_EXCL +* simpleinit: fix for "spawn too fast" (Denis Vlasenko) +* swapon: new -e option (Erik Troan) + +util-linux 2.11w + +* cfdisk, fdisk: allow slightly larger disk sizes +* fdisk: Makefile: also for m68 (sun3) (Kaj-Michael Lang) +* fdisk: allow to use the last partial cylinder, change display format +* fdisk: do not ask partition number in case there is only one choice +* fdisk: new sunlabel fix +* login: fix possible local root exploit (Wojciech Purczyński) +* more: bigendian fix + +util-linux 2.11v + +* Catalan messages (Antoni Bella Pérez) +* Finnish messages (Lauri Nurmi) +* Very few Russian messages (panivan@yandex.ru) +* Slovenian messages (Primož Peterlin) +* Spanish messages (Santiago Vila Doncel) +* Swedish messages (Christian Rose) +* Turkish messages (Nilgün Belma Bugüner) +* fdisk: add -C, -H, -S command line options +* fdisk: allow changing type 0 +* mkswap: enable use of > 2GB swapspace +* more: translation fix +* mount: set umask (Sebastian Krahmer) +* mount: test both le and be version of cramfs magic (Olaf Hering) +* mount: recognize Oracle magic +* pg: use fseeko64 and ftello64 when available + +util-linux 2.11u + +* Danish messages (Claus Hindsgaul) +* German messages (Michael Piefel) +* Spanish messages (Santiago Vila Doncel) +* Swedish messages (Christian Rose) +* Turkish messages (Nilgün Belma Bugüner) +* configure: for fsck.cramfs, mkfs.cramfs: add test for libz +* text-utils/Makefile: pg fix (Toomas Rosin) +* po/Makefile: typo fix (Silvan Minghetti) +* agetty: use same test as login does to find utmp entry +* fdisk: fix for fdisk on empty disk (Michael D. Black) +* hwclock: compilation fix on alpha +* mount: add mount by label for jfs (Christoph Hellwig) +* mount: add mount by label for evms (Luciano Chavez) +* mount: allow regular files when guessing (Michal Svec) +* partx/gpt.c: fix size computation (Matt Domsch) +* readprofile: new option -b (David Mosberger) +* umount: don't umount devfs upon umount -a (David Gilbert) + +util-linux 2.11t + +* fdformat: remove test on major +* fsck.cramfs: added NLS +* fdisk: fix device names with sundisklabels under devfs (Kaj-Michael Lang) +* fdisk: minor polishing +* hwclock: also handle ENOTTY ioctl return (Maciej W. Rozycki) +* hwclock: minor polishing +* ipcrm.8: minor polishing +* mkfs.cramfs: added NLS +* mkfs.cramfs: added -v (verbose) option, and made default silent +* mount: patch for make -j (RedHat) +* swapoff: minor polishing + +util-linux 2.11s + +* Estonian messages (Meelis Roos) +* French messages: some minor corrections +* German messages (Michael Piefel) +* Spanish messages (Santiago Vila Doncel) +* Swedish messages (Christian Rose) +* Turkish messages (Nilgün Belma Bugüner) +* MCONFIG: allow "make DISABLE_NLS=yes " (Peter Breitenlohner) +* configure: don't run ./conftest - better for cross-compilation (Magnus Damm) +* fdisk: fixes for disks with OSF/1 label +* fsck.cramfs: new (from kernel source) +* hwclock: improved adjtime handling (James P. Rutledge) +* hwclock: remove shhopts stuff +* ipcs: remove unused heading (Michael Kerrisk) +* line: replace by C version - the sh version was broken (Gunnar Ritter) +* login: default root path: added /usr/local/[s]bin (RedHat) +* mkfs.cramfs: new (from kernel source) +* mount: when no type is known, assume that prefix // implies samba (RedHat) +* mount -a: avoid stat on devices that have noauto option (Jeroen Mostert) +* mount by label: ignore RAID partitions (RedHat) +* [u]mount: fstab.c fix (ejb@ql.org) +* pg: new (Gunnar Ritter) +* sfdisk: small BSD partition fix +* swapoff -a: also do swapoff on all files found in /proc/swaps +* swapon -a: skip files already found in /proc/swaps + +util-linux 2.11r + +* Estonian messages (Meelis Roos) +* German messages (Michael Piefel) +* Spanish messages (Santiago Vila Doncel) +* Swedish messages (Christian Rose) +* Turkish messages (Nilgün Belma Bugüner) +* MCONFIG: move $(CFLAGS) to the end to allow overrides (Kevin P. Fleming) +* cal: tiny fix (Mitsuru Chinen) +* fdisk: avoid +* fdisk: x86_64 patch (Mads Martin Jørgensen) +* hwclock.8: zoneinfo is now in /usr/share +* mkswap: report in KiB instead of bytes. + +util-linux 2.11q + +* fdisk: geometry improvement +* login: open tty fix (Denis Vlasenko) +* more: wide character patches (Mitsuru Chinen) +* mount: complain on mount-by-label when label is not unique (Matt Copping) +* partx: add GUID Partition Tables (Matt Domsch) + +util-linux 2.11p + +* Danish messages (Claus Hindsgaul) +* German messages (Karl Eichwalder) +* Spanish messages (Santiago Vila Doncel) +* Swedish messages (Christian Rose) +* Turkish messages (Nilgün Belma Bugüner) +* ipcrm: make POSIX compatible (Andre Corwin Mazzone) +* ipcrm.8: idem +* kill: fixed Makefile +* login: setsid fixes +* mkswap: max size of swap space is very large (Peter Chubb) +* mount: JFS support for mount-by-label (hch) +* nfsmount: check for (hch) +* readprofile: keep track of line numbers (John Levon) +* umount: fix for MNT_DETACH + +util-linux 2.11o + +* Estonian messages (Meelis Roos) +* Japanese messages (Daisuke Yamashita) +* Spanish messages (Santiago Vila Doncel) +* cal: option -s: Sunday is first day of the week +* cal.1: updated +* cfdisk: give not only bytes but also MB or GB for clarity. +* colrm: wide character fix (Elliot Lee) +* *fdisk: added Darwin types (Vincent Bourgonjen) +* fstab.5: updated +* hexdump: -C option +* hwclock: cmos.c: do not include on alpha +* mount: improved detection of ufs (and slowdown of detection of iso9660) +* mount.8: added info on * in /etc/filesystems, shortname option of vfat, + mount --move, udf, return codes +* raw: try /dev/raw/rawctl when /dev/rawctl fails (Thierry Vignaud) +* rc.serial: removed - setserial is no longer in util-linux (kromJx) +* README.admutil: removed - only of historical interest +* README.bootutils-0.1: removed - only of historical interest +* script: security fix +* sfdisk: improved geometry detection; wider columns; default disks from + /proc/partitions +* umount: permission test owner umount +* wall.1: added suid restriction + +util-linux 2.11n + +* Danish messages (Claus Hindsgaul) +* German messages (Karl Eichwalder) +* Swedish messages (Christian Rose) +* Turkish messages now in UTF-8 (Nilgün Belma Bugüner) +* blockdev: add --report option +* cal: fix for wide multibyte-char (Motonobu Ichimura) +* cfdisk: recognize ext3 and reiserfs (Flavio Stanchina) +* fsck.minix: i18n changes +* ipc.{info,texi}: minor correction +* login: compilation fix (Jaroslaw J. Pyszny) +* mount.8: tmpfs mount options (Karl Eichwalder) +* mount: recognize minix v2 +* mount: support mount-by-label also for lvm (Kirby Bohling) +* mount: order guessing of fstypes according to seek offset +* pivot_root: compilation fix for ia64 +* readprofile: byte order auto-detection (Werner Almesberger) + +util-linux 2.11m + +* Danish messages (Claus Hindsgaul) +* German messages (Karl Eichwalder) +* Swedish messages (Christian Rose) +* Turkish messages (Nilgün Belma Bugüner) +* fdisk: added netbsd type (Steven J. Hill) +* more: fix for unsigned char (Rusty Russell) +* mount: added sysv magic (Tim Launchbury) +* setterm: fixed "setterm -foreground default" + +util-linux 2.11l + +* Danish messages (Claus Hindsgaul) +* banner: removed - it is in bsdgames +* fdisk: show partitions with empty type but some other nonzero field +* login: copy the static struct that getpwnam() returns before calling + PAM routines that might themselves use getpwnam(). Abort on problems. + (Olaf Kirch) +* mount: added jfs magic (Christoph Hellwig) +* renice: report the correct new priority after a setpriority() +* umount: add lazy unmount (Christoph Hellwig) + +util-linux 2.11k + + Various potential buffer overflows were pointed out by awayzzz@digibel.org. + Fixes in agetty, hwclock, namei, readprofile, simpleinit, vipw. + (Also added a few [f]close() calls - entirely superfluously.) + +* agetty: avoid possible buffer overflow +* cfdisk: recognize xfs (Nathan Scott) +* cytune: added close() +* fdformat: added close() +* fdisk: added fclose() +* hwclock: avoid possible buffer overflow +* mkfs.minix: added fclose() +* mount: remove the assumption that 635 is the default mount port +* namei: avoid possible buffer overflow +* rdev: added closedir() +* readprofile: avoid possible buffer overflow +* sfdisk: added fclose() +* simpleinit: avoid possible buffer overflow +* swapon: added fclose() +* umount: use tcp when mount was done using tcp (James D Strandboge) +* vipw: avoid possible buffer overflow + +util-linux 2.11j + +* fdisk: fix for AIX label (Olaf Hering) +* fdisk: fix for creating DOS label when BSD label is present +* mount.8: added remark about blocksize to ext2 sb= mount option description. +* partitiontype: new, not installed + +util-linux 2.11i + +* testincl: do not run conftest (Brian Murphy) +* blockdev: corrected ioctl numbers now that BLKBSZGET is in 2.4.10pre3 +* cal: fixed for Hungarian locale +* cal: fixed for multibyte locales (Pablo Saratxaga) +* fdisk: avoid superfluous warning about DOS partitions +* line: new, to support SCO shell scripts (Christoph Hellwig) +* mount: added vxfs magic +* passwd: tiny fix for ARM (Ken Cox) +* replay: replay typescript with timings (Joey Hess) +* script: add -t flag for timing (Joey Hess) + +util-linux 2.11h + +* Turkish messages (Nilgün Belma Bugüner) +* Danish messages (Claus Hindsgaul) +* banner: minor fix (awayzzz@digibel.org) +* mkfs.minix: minix v2 fix +* more.1: improved (Edward Betts) +* mount.8: corrected description of the nwfs uni_xlate mount option +* vipw: make temp files of mode 0600 (Bill Nottingham) +* wall: avoid writing to /dev/:0 + +util-linux 2.11g + +* MCONFIG & configure: fix for gcc 3.0 + Note that nfsmount_xdr.c may give warnings with gcc 3.0, essentially + because of defines in that use things like ntohl(*buf++) + where ntohl(x) is a macro with several occurrences of x. +* blockdev: support for the get/set blocksize ioctls + [not yet in the 2.4.5 kernel] +* fdisk: added Linux/PA-RISC type (Matt Taggart) +* mount: minor fix (Andrey J. Melnikoff) +* mount: added some ext3 stuff (Andrew Morton) +* mount: added heuristics for reiserfs (Andrew Morton) +* mount.8: added ext3 and reiserfs docs (Andrew Morton) + +util-linux 2.11f + +* Czech messages (Jiří Pavlovský) +* fdisk: fix for "reorder" expert command + (use of sfdisk afterwards is still recommended) +* mount: minor fixes + +util-linux 2.11e + +* Danish messages (Claus Hindsgaul) +* Brazilian Portuguese messages (Rodrigo Stulzer Lopes) +* agetty: give tty mode 0600 instead of 0622 +* cal: improved manpage +* cfdisk: add user-friendliness in case of empty disk (Matthew Wilcox) +* dmesg: improved manpage +* fdisk: SuperH fix (ISHIKAWA Mutsumi) +* hwclock: accept alpha options in both upper and lower case + (so as to make the man page correct) +* hwclock: add option --noadjtime (Henrique M. Holschuh) +* login: child must have controlling tty (Michał Moskal) +* more: don't seek unseekable input (David Whedon) +* mount: upon request by Richard Gooch: if the mount point is specified + as symlink, put symlink, not actual mount point in mtab. + (This avoids the long and ugly devfs names, but may break things. + Please complain in case of problems.) +* mount: with mount -a -t nfs: + if we used fallback to nfs v3, don't do so for subsequent mounts +* mount: add heuristics for ext3 (Andrew Morton) +* mount: added quota info to mount.8 +* mount: allow comma-separated type lists, also in fstab +* raw: small fix for ppc + +util-linux 2.11d + +* fdisk: fix for OSF (Will Woods) +* chsh: compilation fix (Ronald Wahl) + +util-linux 2.11c + +* Czech messages (Jiří Pavlovský) +* German messages (Elrond) +* Makefile/MCONFIG improvements (Peter Breitenlohner) +* fdisk: added a few partition types +* fdisk: correct partition numbering for sgi partitions (Nathan Scott) +* fdisk: make it compile on hppa by arbitrarily treating hppa like powerpc + (Matt Taggart) +* fsck.minix: improved localisation (Elrond) +* getopt: updated to version 1.1.2 (Frodo Looijaard) +* hwclock: fixes for IA64 (Thorsten Kukuk) +* hwclock: use /dev/vc/1 when devfs is used (Thomas Koeller) +* hwclock: more devfs support (e.g. /dev/misc/rtc) +* ipcs: add spaces in output (DeWitt Clinton), + correct some error messages (Bobby de Vos) +* login: fix TIOCNOTTY (Andreas Haumer, Adam J. Richter) +* login: add btmp logging of unsuccessful login attempts (Erik Troan) +* login: avoid a SIGHUP race with PAM enabled (Peter 'Luna' Runestig) +* login: copy the static result returned by gethostbyname to avoid + corruption by pam_authenticate via pam_ldap (Andreas Damm) +* login: removed the REDHAT_IGNORED_MAILSIZE hack +* login: unconditionally do vhangup +* login: zero PAM_USER when no username was given (Arkadiusz Miśkiewicz) +* look: dictionary now under /usr/share (Erik Troan) +* mount: add sanitize_env() (Solar Designer) +* mount: another heuristic for vfat (Michal Svec) +* mount: xfs magic has only one endianness (Nathan Scott) +* mount: return failure when tcp used and portmap returns 0 (H. J. Lu) +* rdev: allow unlimited recursion to find the long devfs names + Also, allow major,minor pair the specify device (request by Russell Coker) +* readprofile: array bound check (Andrew Morton) +* script: transmit window changes to child (Joey Hess) +* sfdisk: endian fix for ppc (Gregory Geiselhart) +* sfdisk: new feature: sign is offset from default (Byron Stanoszek) +* sfdisk: add some default devices to list (Luca Montecchiani) +* sfdisk: no partition table on ide tape +* shutdown: close files, unblock signals (Richard Gooch) +* simpleinit: block signals in handlers; add no_reboot option (Richard Gooch) +* swapdev: deleted, it was last used with Linux 0.12. +* umount: mips does support umount2 (Maciej W. Rozycki) +* umount: add sanitize_env() (Solar Designer) +* umount: fix exit status +* wall: do not forget 80th character (Thorsten Kukuk) + +util-linux 2.11b: + +* Danish messages (Claus Hindsgaul) +* umount: mips does not support umount2 (Christoph Martin) +* fdisk: tiny fix +* mount.8: adfs options documented, xfs corrected + +util-linux 2.11a: + +* tsort: deleted - it is part of GNU textutils 2.0 +* mount: fix rootdev() (Richard Kettlewell) +* mount: fix gid of mtab file +* mount: try /proc/filesystems after /etc/filesystems if the latter ends in "*" +* fdisk: added a few system types + +util-linux 2.11: + +* Jump to 2.11 to note that libc-4.5.26 is no longer supported, + and we require libc-4.6.27 (since now snprintf is used). + Also, kbdrate has now been removed. Find it in kbd-1.05. + Added -D_FILE_OFFSET_BITS=64 to CFLAGS. +* Danish messages (Claus Hindsgaul) +* fdisk: avoid loop in case of extended without logical +* ipcs: corrected interchanged report on msg_rtime/msg_stime (Arun Kumar U) +* kill: updated manpage +* last: very much faster with mmap (Marek Zelem) +* login: Applied PAM patch by David MacKenzie +* login: do a setsid in the child (Erik Troan) +* mount: make "mount 192.168.1.8:/ /a -o bg" work again (Bjoern Voigt) +* mount: added constant MS_MOVE +* readprofile: added -M option, updated manpage (Andrew Morton) +* setsid: fork when it would fail otherwise (John Fremlin) +* simpleinit: updated (Richard Gooch et al.) +* vipw: also offer to edit shadow file (Erik Troan) +* xfs docs (Nathan Scott) + +util-linux 2.10s: + +* Danish messages (Claus Hindsgaul) +* fixes to make gcc happy (Joseph S. Myers) +* fix for more on parisc (Richard Hirst) +* change rdev to search subdirectories of /dev (Paul Clements) +* ul fix (Masao Kawamura) - set columns correctly +* cal fix (Brendan Kehoe) - don't overflow weekday array in Gaelic +* fdisk fix (niles@scyld.com) - flush stdout +* fdisk fix - don't forget to write out empty label +* login: make default tty mode 0600 +* script: refuse to write typescript if that is a symlink +* script: accept -V to output version +* whereis: also search /usr/share/man. +* hwclock: improve locale handling +* hwclock: fix for Nautilus (Neoklis Kyriazis) +* isosize: new + +util-linux 2.10r: + +* mount: support mount by uuid or label for xfs (Nathan Scott) +* mount: added probe for minix on bigendian systems (Nathan Scott) +* mount: added probes for cramfs, hfs, hpfs and adfs (Sepp Wijnands) +* mount: change setup; let umount remove at most one line from /etc/mtab +* mount: improve man page +* more, col, colcrt, colrm, column, ul: nls improvements (Masao Kawamura) + +util-linux 2.10q: + +* mount: accept nonnumeric uid= and gid= options +* write and wall: security improvement +* fixed fdformat flaw (Werner Almesberger) +* use right mountport upon umount (Glenn Lingle) +* simpleinit / need / initctl stuff (Richard Gooch) +* Portuguese messages (Rodrigo Stulzer Lopes et al.) + +util-linux 2.10p: + +* mount: don't set up a loop file with -o loop,remount (Marc Mutz) +* fdisk: changes for sectorsize different from 512 +* more: standout fix (Paul Vojta) +* more: improve usage message (Lincoln Myers) +* logger: Added -d option to use datagrams (Gerwin Pfab) +* cal: Added -3 option to also print prev/next month (Michael Charles Pruznick) +* French messages (Christophe Merlet) +* Japanese messages (Daisuke Yamashita) + +util-linux 2.10o: + +* fdformat: fixed to work with kernel 2.4.0test6 (Marek Wojtowicz) +* losetup: also return status when only showing loop device status (ewt) +* mount: do not retry ro if mount was ro; improve error message +* login: not installed suid +* getopt: by default install aux files in /usr/share/misc + +util-linux 2.10n: + +* added blockdev.8 +* change to elvtune (andrea) +* fixed overrun in agetty (vii@penguinpowered.com) +* shutdown: prefer umounting by mount point (rgooch) +* fdisk: added plan9 +* fdisk: remove empty links in chain of extended partitions +* mount: define ALWAYS_STAT +* mount: add replace, after, before, over, bind +* umount: also free loop device when not writing mtab +* lomount: try both /dev/loopN and /dev/loop/N +* hwclock: handle both /dev/rtc and /dev/efirtc (Bill Nottingham) +* script: added -f (flush) option (Ivan Schreter) +* script: added -q (quiet) option (Per Andreas Buer) +* getopt: updated to version 1.1.0 (Frodo Looijaard) +* Czech messages (Jiří Pavlovský) + +util-linux 2.10m: + +* chfn fix when PAM is used (Martin-D. Lacasse) +* do not use LC_NUMERIC part of locale in hwclock when writing /etc/adjtime +* mount status return from smb or ncp fix (Mark Peloquin) +* mount new option -l: also print label when listing mounts +* mount add heuristic for xfs (Martin K. Petersen) +* mount UUID and label cache (Erik Troan) +* mount improve check for `already mounted' in case of label or uuid +* fdisk partition names more devfs-friendly +* fdisk bsdlabel large disk support +* setterm.1: options documented (Colin Watson) +* rename correction +* German, Spanish, French, Italian, Portuguese messages + (Roger Luethi, Beth Powell, Alvaro Antunes) + +util-linux 2.10l: + +* Merged losetup.c and lomount.c +* ANSIfied everything + +util-linux 2.10k: + +* NFS version 4 mount support (Trond Myklebust) +* hwclock fix (Stefan Ring) +* Added -p option to col, as required by SUS (Joseph S. Myers) + +util-linux 2.10j: + +* fdisk fixes (Michal Jaegermann) + +util-linux 2.10i: + +* new directory partx (with code to play with, not to use) +* minor fdisk changes + +util-linux 2.10h: + +* Added pivot_root (Werner Almesberger) +* Added elvtune (Andrea Arcangeli) +* Added need and extended simpleinit and shutdown (Richard Gooch) +* Removed all #include +* errno fixes (Joseph S. Myers) +* IA-64 fixes (Michael K. Johnson) +* fdisk fixes for OSF/1 on Alpha (David Huggins-Daines) +* fdisk sectorsize fix (Greg Hosler) +* mount speed= option to enable mounting bad CDROMs (Marco d'Itri) +* ipcrm deletes several things at once (Frank Zago) + +util-linux 2.10g: + +* fdisk can now sort partitions into order [untested, beware!] +* Update of mkswap for sparc64 (jj) +* Update of raw (Stephen Tweedie): + Control file was /dev/raw, now /dev/rawctl + Access files were /dev/raw*, now /dev/raw/raw* +* Czech messages (Jiří Pavlovský) +* German messages (Daniel Egger) +* losetup locks memory (Frank v Waveren) + +util-linux 2.10f: + +* Security fix for mount (okir) +* Avoid infinite loop in namei (Brett Wuth) +* added clock-ppc.c (from Matsuura Takanori), not merged yet +* deleted clockB subdirectory +* recognize mkdosfs string (Michal Svec) + +util-linux 2.10e: + +* New: rename +* Added option to mkswap so that user can override pagesize +* fdisk -l now reads /proc/partitions when no device was given +* Fixed fdisk.8 (James Manning) +* Added devpts info to mount.8 (Elrond) +* Newline fix for logger output to stdout (Henri Spencer) + +util-linux 2.10d: + +* Do not try to mount something as udf without good reason +* Do not loop in umount if there is a stale lock file +* Allow fdisk twice as many cylinders +* Fixed non-casefolding search in look (Markus Demleitner) + +util-linux 2.10c: + +* Various compilation fixes + +util-linux 2.10b: + +* Fixed smbmount problem (Andrew Tridgell) +* Fixed ddate problem with the day after St. Tib's Day (Brad) +* German messages (Elrond) +* Made kill a bit more standard compliant +* Made some more programs output a version + +util-linux 2.10a: + +* Japanese messages (Daisuke Yamashita) +* French messages and several Debian fixes (Vincent Renardias) +* Fixed infinite loop in mkfs.minix + +util-linux 2.10: + +* Added BSD disklabel code to rescuept +* Added blockdev utility +* Fix losetup return code +* Fix unit display in cfdisk +* Do not redefine _PATH_MAILDIR (so that recent systems can have /var/mail) +* Added --localtime option to hwclock; + added third line (LOCAL/UTC) to /etc/adjtime. +* Add -H option to agetty (David Holland) + +util-linux 2.9z: + +* Japanese messages (Daisuke Yamashita) +* Czech messages (Jiří Pavlovský) +* Added some udf stuff to mount.8 +* Added ioctl for fdisk on bsdlabels + +util-linux 2.9y: + +* Wide character support (Bruno Haible) +* German messages and some small fixes (Elrond) +* Small fix to owner mount option (Erik Troan) +* Don't sleep so long in clock/kd.c (Christian T. Steigies) + +util-linux 2.9x: + +* German messages and a i18n fix (Elrond) +* mount option: allow the owner to mount a device (RedHat) +* ugly: let login open console with O_NONBLOCK (Maciej W. Rozycki) +* UGLY: let login ignore mail that is precisely 523 bytes long (RedHat) +* added mkfs.bfs, mkfs.bfs.8 +* mount now recognizes qnx4 and bfs partitions +* rescuept now recognizes Unixware partitions +* hwclock fix on m68k (Roman Hodek) +* several minor things + +util-linux 2.9w: + +* Updated mount.8 (Yann Droneaud) +* Improved makefiles +* Fixed flaw in fdisk + +util-linux 2.9v: + +* cfdisk no longer believes the kernel's HDGETGEO + (and may be able to partition a 2 TB disk) + +util-linux 2.9u: + +* Czech more.help and messages (Jiří Pavlovský) +* Japanese messages (Daisuke Yamashita) +* fdisk fix (Klaus G. Wagner) +* mount fix (Hirokazu Takahashi) +* agetty: enable hardware flow control (Thorsten Kranzkowski) +* minor cfdisk improvements +* fdisk no longer accepts a default device +* Makefile fix + +util-linux 2.9t: + +* national language support for hwclock +* Japanese messages (both by Daisuke Yamashita) +* German messages and some misc i18n fixes (Elrond) +* Czech messages (Jiří Pavlovský) +* wall fixed for /dev/pts/xx ttys +* make last and wall use getutent() (Sascha Schumann) + [Maybe this is bad: last reading all of wtmp may be too slow. + Revert in case people complain.] +* documented UUID= and LABEL= in fstab.5 +* added some partition types +* swapon: warn only if verbose + +util-linux 2.9s: + +* tunelp patch (Andrea Arcangeli) +* fixed mount race (HJLu) +* German messages (Elrond) + +util-linux 2.9[pqr]: + +* errno->errsv patch (Arnaldo Carvalho de Melo) +* hwclock patch for the Award 4.50g BIOS "2094" bug. (Dave Coffin) +* fdisk patch to correct deletion of last logical partition + +util-linux 2.9o: + +* fix to login by Ambrose C. Li +* improvement to mcookie inspired by a patch from Rik Faith +* more i18n by Arnaldo Carvalho de Melo; pt_BR locale + +util-linux 2.9n: + +* Added -u option to logger (write to user-specified socket; Martin Schultze) +* Added mount.smb script contributed by Greg Galperin +* Some more national language support +* mkfs.minix argument parsing fixed +* write fixed for /dev/pts/xx ttys +* configure adapted for the case of that needs u_char. + +util-linux 2.9m: + +* Added national language support (misiek@pld.ORG.PL) +* minor improvements in mount, fdisk, cfdisk, agetty, more + +util-linux 2.9l: + +* Added /dev/port use to hwclock again - it may be necessary for Jensen. + +util-linux 2.9k: + +* major reshuffle of hwclock stuff; added sparc and alpha code +* fdisk fix +* tiny shutdown fix + +util-linux 2.9j: + +* added configure +* merged three lists of partition types in *fdisk +* multi page display in cfdisk +* test for getlogin() == ""; +* start fixup hwclock + +util-linux 2.9i: + +* fixed 2.9h typo in more +* added -m: `Monday is 1st day' option to cal (Jean-Francois Bignolles) +* changed PAM stuff in login.c (+- mjohnson) +* added warning to cfdisk in case of multiple bootable partitions +* added 2048-byte sector support in fdisk (Oliver Schaertel) + +util-linux 2.9h: + +* mount recognizes "uid=useruid" and "gid=usergid" in /etc/fstab. +* documented the fact that "mount -t smb" will call /sbin/mount.smb. +* mount gives clear error message when fstab does not end in newline. +* swapon checks mode of file +* cfdisk got a more specific exit status (Enrique Zanardi) + +util-linux 2.9g: + +* mount updates (locking, "users" keyword, "/etc/filesystems", + "proto" and "vers" options in nfsmount, ...) + +util-linux 2.9f: + +* made ul handle lines of arbitrary length (Scott Maxwell) +* killed some C/H/S nonsense in fdisk +* fixes for archs with unsigned char type (Ambrose Li) +* fdisk fixes for power pc (Tom Rini) +* added a define for NCURSES_CONST +* fixes for list of signals in kill.c +* fixes for user name length in last.c + +util-linux 2.9e: + +* added a forgotten declaration to login.c (Christian Oyarzun) + +util-linux 2.9d: + +* fixed segfault in umount caused by Wilcox' patch (Steffen Zahn) +* added lnz stuff to fdisk + +util-linux 2.9c: + +* refixed PAM stuff in login.c that was broken in 2.8. + +util-linux 2.9b: + +* split README into INSTALL and HISTORY +* added a sentence to swapon.8 +* behavior of write on non-ASCII fixed +* hwclock adapted to survive a failing mktime() + +util-linux 2.9a: + +* added an include to lib/my_reboot.c so that __GLIBC__ is defined +* added setlocale() to login-utils/chfn.c +* do not recompute MAIL in login-utils/login.c + +util-linux 2.9: + +HIGHLIGHTS for version 2.9: + +1) Removed programs: + - strings. There is a version in binutils. + - frag. (Moved to historic in 2.4, crept back in 2.5. Gone again.) +1a) Not yet removed program: + - setfdprm. It also is in fdutils-5.2 (with an exceptionally + ugly man page). +1b) Removed directory: + - bsd. (The routine getopt() is in libc. err() moved to lib.) +2) Improvements: + - ddate has been fixed to count down to the new, right X-day + - look is now willing to search non-English dictionaries + (i.e., uses locale) + - cal now knows that Dutch day abbreviations have length 2 only + - mcookie does not block when no random stuff is available + - shutdown got a configuration file /etc/shutdown.conf + - fdisk now reads SGI disk labels (thanks to Andreas Neuper) + - mkswap now knows about new swap areas; mkswap.8 has been rewritten + - umount knows about umount2() and forced unmounting of nfs mounts + (however, I don't think it really works) + - mount is now willing to handle file names with embedded spaces + - mount can now mount things by UUID or volume name +3) Uglifications: + - swap.h has been replaced by a private swap_constants.h since + does not compile + - reboot has become a private routine, since libc5 and glibc2 conflict + - a mkminix-0.1 directory contains some patches to let mkfs.minix + work under DOS. (Untested.) +4) Numerous other small changes. + +0xF) Send questions and/or patches to util-linux@math.uio.no + +util-linux 2.9 was released by Andries Brouwer - aeb@cwi.nl +The address util-linux@math.uio.no reaches Rik, Andries, Peter, +Michael, Erik, Nicolai and possibly others. Hwclock stuff is +forwarded to Bryan. + +util-linux 2.8: + +HIGHLIGHTS for version 2.8: + +1) New programs: + - getopt(1) by Frodo Looijaard replaces the older bsd based version. + Keywords: Backward compatible, supports --long options. +1) Removed programs: + - chroot: is no longer in util-linux. Get it free with GNU sh-utils + - hostid: No-one could figure out the right way for this program to + work. Another hostid program is included in poeigl + (see the LSM, Primary-site: ftp.daimi.aau.dk /pub/linux/poe) +2) Various portability enhancements. Among other things hwclock now works + a lot better on non Intel architectures. Should compile with libc 4, 5 + and 6 as well as old and recent kernels. People using non-intel hardware + are encouraged to send patches. +3) rev now only limits linelength to memory capacity +4) dmesg now uses a buffer that matches the kernel buffer in size (8KB) + + +util-linux 2.7: + +HIGHLIGHTS for version 2.7: + +1) util-linux now _requires_ ncurses. Several programs are completely + converted to use terminfo (instead of termcap). + +2) Removed programs: + - clock: Dropped entirely. Use hwclock (included). + - sync: is in gnu fileutils. + - setserial: Is being maintained by Ted Ts'o, he recommends + setserial-2.12 (2.13 is bad luck) + - clear: Included in ncurses + - hostname, domainname, dnsdomainname: It's in net-utils. + - lpcntl. + +3) Bugfixes, additions: + - cfdisk: A much improved version. All known bugs have been fixed. + - sfdisk: A command line fdisk type utility, formerly called fdisk-3.04. + - SECURITY: All known holes in login, chfn, chsh and others have been + plugged. UPGRADE NOW if you haven't already fixed them yourself. + - Should work with libc 4, 5 and 6 (gnulibc), on m68k, intel, alpha + and sparc. + +4) Problems: + - The rpcgen that comes in NetKit-B-0.09 is broken. At least as + packaged with RedHat 4.2 (NetKit-B-0.09-6). There are several + ways to deal with this: + - Don't run rpcgen, the needed pre-generated sources are included + (nfsmount_xdr.c). You must hack mount/Makefile to do this. + - Edit the source emitted by rpcgen so it can compile. This is very + simple if you know C. + - Disable the NFS parts of mount. You have to edit mount/Makefile + to do this. + - Use some other rpcgen. + +util-linux 2.6.1 + +This release was never made public + +See notes for 2.6 for installation instructions. + +This is a incremental release containing some fixes. A new release +will be made later fixing the outstanding bugs. +- Things compiles and works better with recent releases of kernel, + ncurses, and so forth: fdisk, more +- Some fixes to make things compile out of the box on alphas. +- There has been reported a problem with login and /etc/usertty. It + should be fixed. If you still have problems get a recent MAKEDEV and + use it to make new tty devices. They were renumbered sometime during + the 1.3 phase of the kernel. +- ipcs now displays the key of the structures. +- A (harmless?) overflow bug was fixed in login. + +Outstanding bugs: +- login/getty has a denial of service problem. +- Several places needs a bit more polish. +- There are a _lot_ of nonfatal warnings when compiling mount. This will + not necessarily be fixed. + + +util-linux 2.6 + +HIGHLIGHTS for version 2.6: + +0) The first release with me at the helm. PLEASE SEND PATCHES AND + UPDATES TO: util-linux@math.uio.no. + +1) Removed programs: + - md5sum, dsplit: available in GNU textutils. + - syslogd: Sysklogd is now preferred. It is available at + tsx-11.mit.edu:/pub/sources/sbin + sunsite.unc.edu:/pub/Linux/system/Daemons + +2) Bugfixes, additions: + - SECURITY: All known holes in mount have been fixed. UPGRADE NOW + if you haven't already! + - Portability enhancements to the minix filesystem utils (m68k and + Arm patches). + - passwd/chsh/chfn will not mess up the passwd file on a NIS machine + - others too numerous to enumerate. + +3) New programs: + - vigr (it's like vipw) + - Introducing hwclock. A complete rewrite of the latest available + clock source. It supports intel/CMOS, /dev/rtc and linux/m68k + system clock interfaces. Clock supports the same things but is now + obsolete and will not be present in the next release. Start using + hwclock now. Please. + + +util-linux 2.5 + +HIGHLIGHTS for version 2.5: +0) Nicolai Langfeldt is taking over maintenance of util-linux, with the + help of a few others (Michael K. Johnson, Andries Brouwer, and Rik + Faith). + + PLEASE SEND PATCHES AND UPDATES TO: util-linux@math.uio.no + +1) The following packages have been removed. Please use the up-to-date, + canonical versions of these packages from the listed places: + + timezone support (/usr/lib/zoneinfo, libz.a, zic, zdump): + elsie.nci.nih.gov:/pub/tzcode95d.tar.gz + elsie.nci.nih.gov:/pub/tzdata95h.tar.gz + MAKEDEV-C: + sunsite.unc.edu:/pub/Linux/system/Admin/MAKEDEV-C-1.5.tar.gz + MAKEDEV: + sunsite.unc.edu:/pub/Linux/system/Admin/MAKEDEV-2.2.tar.gz + md5sum: + prep.ai.mit.edu:/pub/gnu/textutils-1.3.tar.gz + [The GNU version is now compatible with the Plumb/Lankester + version.] + ksymoops: + Now bundled with the kernel in linux/scripts. + +2) update_state has been removed +3) fdisk now supports NetBSD disklabels courtesy of Bernhard Fastenrath + (and > 8GB disks, courtesy of + Andries Brouwer) +4) mount improved -- many patches from Andries Brouwer for greatly improved + error reporting +5) ddate, chkdupexe, and other programs have been improved and bug fixed +6) util-linux is now a source-only distribution +7) mcookie generates better random numbers and will use /dev/random or + /dev/audio if available +8) chfn, chsh, passwd, and vipw have been updated with security patches + from Zefram . Now, they all use the same + locking, and several security holes have been patched. Further, chsh + and chfn can be configured at compile time to require a password before + updates and chsh can be configured to only use shells from /etc/shells. + + +HIGHLIGHTS for version 2.4 (2.3 was never released): +0) Michael K. Johnson is the interim maintainer + while Rik Faith is working on PhD work. +1) login now makes the login tty mode 600 and places it in group "tty" +2) wall, and write will not write dangerous escape sequences +3) wall and write can be run setgid "tty". If util-linux is compiled for + this option, "mesg y" will only set group write instead of group/other + write. +4) fdisk and cfdisk have been patched with the latest llseek.c. Although I + had a lot of bug reports about fdisk from util-linux-2.2, I was unable + to reproduce any of the problems. Some of the problems appeared to be + related to a failure to reboot the machine after changing the partition + table, and some may have been due to a specific kernel revision problem. + However, this doesn't seem to account for all of the bug reports -- if + this version gives you problem, please send as complete a bug report as + possible. +5) chkdupexe from Nicolai Langfeldt (janl@ifi.uio.no) +6) ctrlaltdel now installs into /sbin instead of /usr/sbin +7) mkfs replacement from Ron Sommeling (sommel@sci.kun.nl) +8) lpcntl removed. Use tunelp instead. +9) ksymoops from Greg McGary +10) mkfs.minix now clears the first 512 bytes of the file system so that + Minix disks won't be confused with MSDOS disks (Daniel Quinlan + (quinlan@yggdrasil.com)) +11) mkswap should now work on an Alpha running Linux +12) frag removed. See + sunsite.unc.edu:/pub/Linux/system/Filesystems/defrag-0.6.tar.gz for the + latest version. +13) mount patches from Andries.Brouwer@cwi.nl and Dan Quinlan + (quinlan@yggdrasil.com). +14) MAKEDEV and MAKEDEV-C updated to the latest versions. +15) Paths updated for FSSTND 1.2. This means that you may need to make + some links. The links you need to make we system dependent. The + ultimate goal is to rename /var/adm to /var/log and have a symbolic + link from /var/adm to /var/log during the transition period. If you + are running an ELF system, you probably won't have to do anything. The + bottom line is that the following files must exist or be pointers to + the old version (used internally by the a.out libraries): + + New Old + + /var/log/wtmp /var/adm/wtmp + /var/log/lastlog /var/adm/lastlog + /var/run/utmp /var/adm/utmp + +HIGHLIGHTS for version 2.2: +1) This is primarily a quick bug-fix release for version 2.1 +2) mkfs wrapper added back in, since e2fsprogs only supplies an fsck wrapper +3) selection removed, since someone appears to be maintaining it now. See + sunsite.unc.edu:/pub/linux/kernel/patches/console for recent sources. + For the time being, I'm keeping a copy in the historic subdirectory of + util-linux. A "make install" should work find from within that + directory. +4) Note that other floppy utilities are available from: + ftp.imag.fr:pub/Linux/ZLIBC/fdutils/fdutils-4.1.src.tar.gz + sunsite.unc.edu:/pub/Linux/system/Misc/fdutils-4.1.src.tar.gz + tsx-11.mit.edu:/pub/linux/sources/sbin/fdutils-4.1.src.tar.gz + + +HIGHLIGHTS for version 2.1: + +1) Directory structure rearrange, with configuration support for those who + use shadow passwords and System V init (no support is provided for these + things, but your utilities won't get overwritten if you do a "make + install" after you properly edit MCONFIG). +2) fdisk and cfdisk should work as expected with 2GB+ disk drives +3) As usual, lots of stuff was updated and added, including mount, vipw, + readprofile +4) Some stuff was also deleted, and can now be found elsewhere: + fsck wrapper: tsx-11.mit.edu:/pub/linux/ALPHA/ext2fs/e2fsprogs* + pwd, su: prep.ai.mit.edu:/pub/gnu/sh-utils* + ed: prep.ai.mit.edu:/pub/gnu/ed* + od: prep.ai.mit.edu:/pub/gnu/textutils* + uudecode/uuencode: prep.ai.mit.edu:/pub/gnu/sharutils* + bdflush/update: ftp.funet.fi:/pub/OS/Linux/PEOPLE/Linus/v1.1/bdflush* + + + +PARTIAL HISTORY OF UTIL-LINUX: + +bsd: + Nothing in this directory gets installed, but some BSD programs need + this support: + err.c: 8.1 (Berkeley) 6/4/93 + err.h: 8.1 (Berkeley) 6/2/93 + getopt.c: 4.13 (Berkeley) 2/23/91 + pathnames.h: 5.3 (Berkeley) 5/9/89 with extensive modifications for + Linux + +disk-utils: + cfdisk: 0.8 BETA (>2GB) from Kevin E. Martin (martin@cs.unc.edu) with + modifications for disks > 2GB. + ftp.cs.unc.edu:/pub/users/martin/linux/cfdisk-0.8.tar.gz + fdformat: Werner Almesberger (almesber@nessie.cs.id.ethz.ch), with + modifications by Marcel Mol (marcel@dutecad.et.tudelft.nl)). + Later, updated with a September 1992 version by Werner. + fdisk: A. V. Le Blanc (LeBlanc@mcc.ac.uk) fdisk 1.5 release, with + patched from Kevin Martin for DOS and OS/2 compatibility (1.5a); + Rik Faith (1.5b, 2.0). + fsck.minix, mkfs.minix: Linus Torvalds, with modifications by: Rik + Faith (faith@cs.unc.edu), Scott Heavner + (sdh@po.cwru.edu), Dr. Wettstein + (greg%wind.uucp@plains.nodak.edu), Daniel + Quinlan (quinlan@yggdrasil.com). + mkfs: David Engel (david@ods.com) and Fred N. van Kempen + (waltje@uWalt.NL.Mugnet.ORG) + Version 1.9 from Ron Sommeling (sommel@sci.kun.nl) + mkswap: Linus Torvalds, with modifications by Mike Jagdis + (jaggy@purplet.demon.co.uk. ) + Version for Alpha from + cage.cs.arizona.edu:/pub/davidm/linux/mkswap-axp-950503.tar.gz + setfdprm: Werner Almesberger (almesber@nessie.cs.id.ethz.ch) + Note that more floppy utilities are available from: + ftp.imag.fr:pub/Linux/ZLIBC/fdutils/fdutils-4.1.src.tar.gz + sunsite.unc.edu:/pub/Linux/system/Misc/fdutils-4.1.src.tar.gz + tsx-11.mit.edu:/pub/linux/sources/sbin/fdutils-4.1.src.tar.gz + llseek.c: from Remy Card's e2fsprogs-0.5b.tar.gz (21Mar95 version) from: + sunsite.unc.edu:/pub/Linux/system/Filesystems/ext2 + +games: + banner: (8.3 (Berkeley) 4/2/94) + ftp.cdrom.com:/pub/bsd-sources/4.4BSD-Lite/usr/src/usr.bin + +login-utils: + agetty: W. Z. Venema, ported by Peter Orbaek . + ftp.daimi.aau.dk:/pub/linux/poe/poeigl-1.37.tar.gz + chfn: Salvatore Valente + chsh: Salvatore Valente + last: 5.11 w/year (Berkeley) 6/29/88; Port by Michael Haardt with + changes by Peter Orbaek. + ftp://ftp.daimi.aau.dk/pub/linux/poe/admutil-1.16.tar.gz + login: 5.40 (Berkeley) 5/9/89; with ports by Michael Glad and Peter Orbaek + ftp.daimi.aau.dk:/pub/linux/poe/poeigl-1.37.tar.gz + mesg: 8.2 (Berkeley) 1/21/94 + ftp.cdrom.com:/pub/bsd-sources/4.4BSD-Lite/usr/src/usr.bin + newgrp: Michael Haardt, with modifications by Peter Orbaek. + ftp://ftp.daimi.aau.dk/pub/linux/poe/admutil-1.16.tar.gz + passwd: Peter Orbaek, with yp modifications by Alvaro Martinez + Echevarria (alvaro@enano.etsit.upm.es) + ftp://ftp.daimi.aau.dk/pub/linux/poe/admutil-1.16.tar.gz + shutdown: Peter Orbaek, with new modifications by Stephen Tweedie, Rik + Faith, and Dave (gentzel@nova.enet.dec.com). + ftp://ftp.daimi.aau.dk/pub/linux/poe/admutil-1.16.tar.gz + simpleinit: Peter Orbaek + ftp.daimi.aau.dk:/pub/linux/poe/poeigl-1.37.tar.gz + vipw: 5.16 (Berkeley) 3/3/91, with modifications by Mike Grupenhoff + + wall: 8.2 (Berkeley) 11/16/93 (With changes so that damaging escape + sequences cannot be sent.) + ftp.cdrom.com:/pub/bsd-sources/4.4BSD-Lite/usr/src/usr.bin + + +misc-utils: + cal: 8.4 (Berkeley) 4/2/94, with modifications by Rik Faith and + Hein@student.tu-clausthal.de (Jochen Hein). + ftp.cdrom.com:/pub/bsd-sources/4.4BSD-Lite/usr/src/usr.bin + chkdupexe: Version 1.2 from "Nicolai Langfeldt" + clear: Rik Faith + ddate: Druel the Chaotic aka Jeremy Johnson aka mpython@gnu.ai.mit.edu, + with modifications by Lee Harvey Oswald Smith, K.S.C. and + substantial updates from Rev. Bro. Lee H:. O:. Smith, KYTP + domainname: Peter Orbaek + ftp.daimi.aau.dk:/pub/linux/poe/poeigl-1.37.tar.gz + dsplit: David Arnstein (arnstein@netcom.com) + gatekeeper.dec.com:/pub/usenet/comp.sources.misc/volume40/dsplit + getopt (getoptprog): jhunix.hcf.jhu.edu: + /pub/public_domain_software/NetBSD/usr/src/usr.bin/getopt + replaced by getopt-1.0.3.tar.gz from Frodo Looijaard, + found at http://huizen.dds.nl/~frodol + hostid: Mitch DSouza (m.dsouza@mrc-apu.cam.ac.uk) + ftp.daimi.aau.dk:/pub/linux/poe/poeigl-1.37.tar.gz + hostname/dnsdomainname: Peter Tobias + This version (1.6) should also be available soon in: + nic.funet.fi:/pub/OS/Linux/PEOPLE/Linus/net-source/base/NetKit-A* + kill: BSD version, modified by Salvatore Valente + logger: 8.1 (Berkeley) 6/6/93, with modifications by Rik Faith + ftp.cdrom.com:/pub/bsd-sources/4.4BSD-Lite/usr/src/usr.bin + look.c: 8.1 (Berkeley) 6/14/93, with modifications by Rik Faith + ftp.cdrom.com:/pub/bsd-sources/4.4BSD-Lite/usr/src/usr.bin + mcookie: Rik Faith (faith@cs.unc.edu) + md5sum: Branki Lankester and Colin Plumb. The MD5 message-digest + algorithm is in the Public Domain. This implementation + calculates message-digest information only, and can NOT be used + for encryption. Therefore it is exportable from the USA. + Original sources in the MIT version of PGP 2.6.2. + namei: Roger S. Southwick, with modifications by Steve Tell. + reset: Rik Faith + script: 5.13 (Berkeley) 3/5/91, with modifications by Rick Sladkey + (jrs@world.std.com), Harald Koenig + (koenig@nova.tat.physik.uni-tuebingen.de). + setterm: Gordon Irlam (gordoni@cs.ua.oz.au), with modifications by + Peter MacDonald, Mika Liljeberg (liljeber@cs.Helsinki.FI), + John Walder (j-walder@uiuc.edu) [for dosemu]. + tsort: 5.3 (Berkeley) 6/1/90 + wuarchive.wustl.edu:/mirrors/4.3-reno + whereis: 5.5 (Berkeley) 4/18/91 + wuarchive.wustl.edu:/mirrors/4.3-reno + write: 8.1 (Berkeley) 6/6/93, with modifications by Mike Grupenhoff + (kashmir@umiacs.umd.edu). With changes so that damaging escape + sequences cannot be sent. + ftp.cdrom.com:/pub/bsd-sources/4.4BSD-Lite/usr/src/usr.bin + + +mount: + mount, umount, swapon + + Rick Sladkey put together the mount-0.99.6.tar.Z package, and Stephen + Tweedie provided updates. The utilities were originally from that + package (all appear to be by Doug Quale (quale@saavik.cs.wisc.edu), + with modifications by H. J. Lu (hlu@eecs.wsu.edu) on 11/25/92; Rick + Sladkey (jrs@world.std.com) in January 1993; and Stephen Tweedie + on 8 October 1993. This distribution mount now + supports NFS stuff. I have modified the man pages. I have also added + a small patch from Hamish Glen Coleman (t933093@minyos.xx.rmit.OZ.AU) + which restores the -o semantics. + + Updated with Rick Sladkey's mount-0.99.14.tar.gz package, and with + extra patches from Rick. Adam J. Richter allowed -t option to be + optional. Patrick J. Volkerding (volkerdi@mhd1.moorhead.msus.edu) and + Mitchum DSouza both provided patches that fixed the (null) problem when + not using -t. Mitchum DSouza + (mitch@mrc-applied-psychology.cambridge.ac.uk) added support for loop + device mounts. Sebastian Lederer + (lederer@next-pc.informatik.uni-bonn.de) added support for sending an + unmount RPC call to the server when an NFS-filesystem is unmounted. + Sander van Malssen (svm@kozmix.hacktic.nl) added support for remounting + readonly file systems readonly. Mike Grupenhoff + added a probe of the superblock for the type + before /proc/filesystems is checked. Andries.Brouwer@cwi.nl fixed up + error reporting. + + Updated with patches from Andries.Brouwer@cwi.nl and Dan Quinlan + (quinlan@yggdrasil.com). And more patches from Andries and others. + +historic/selection: The complete selection-1.5 package, by Andrew Haylett + , 17th June 1993, is included in the historic tree. + Kernel patches are no longer necessary for modern kernels, but these + were tiny so I left them in for historical reasons. The Makefile was + modified for this distribution. With changes from Rick Sladkey. + +sys-utils: + arch: Rik Faith + chroot: Rick Sladkey + clock: Originally from the timesrc-1.2.tar.Z package, Charles Hedrick, + hedrick@cs.rutgers.edu (V1.0); Rob Hooft, hooft@chem.ruu.nl + (V1.1); Harald Koenig (koenig@nova.tat.physik.uni-tuebingen.de) + (V1.2). With additional changes: Hamish Coleman + (hamish@zot.apana.org.au) (V1.2a); Alan Modra + (alan@spri.levels.unisa.edu.au (V1.3, V1.4). + ctrlaltdel: Peter Orbaek + ftp://ftp.daimi.aau.dk/pub/linux/poe/admutil-1.16.tar.gz + cytune: Nick Simicish (njs@scifi.emi.net) and Rik Faith (faith@cs.unc.edu) + dmesg: Theodore Ts'o (tytso@athena.mit.edu); Rick Sladkey + (jrs@world.std.com) + ipcrm: From the ipcdelta.tar.z distribution by krishna + balasub@cis.ohio-state.edu on 3/15/93. ipc.info and ipc.texi + are also from that distribution. + ipcs: Also from the ipcdelta.tar.z distribution by krishna + balasub@cis.ohio-state.edu, with patches from Mike Jagdis + (jaggy@purplet.demon.co.uk) + kbdrate: Rik Faith (faith@cs.unc.edu), with patches from + Andries.Brouwer@cwi.nl and John Bowman + (bowman@hagar.ph.utexas.edu) + ksymoops: 1.7 from Greg McGary + rdev: almesber@nessie.cs.id.ethz.ch (Werner Almesberger), with + modifications from Peter MacDonald, Stephen Tweedie + (sct@dcs.ed.ac.uk), and Dave (gentzel@nova.enet.dec.com) + readprofile: Alessandro Rubini from readprofile-2.0.tar.gz + renice: 8.1 (Berkeley) 6/9/93 + ftp.cdrom.com:/pub/bsd-sources/4.4BSD-Lite/usr/src/usr.bin + setserial: Michael K. Johnson (johnsonm@stolaf.edu) re-released Rick + Sladkey's setserial in January 1993, with changes by + Theodore Ts'o (tytso@mit.edu). I think that Theodore also + did extensive changes for version 2.01, I can't find any + notes about this in the documentation. However, Theodore + Ts'o (tytso@ATHENA.MIT.EDU) released version 2.10, and that + is now included. + setsid: Rick Sladkey + sln: Mike Parker and David MacKenzie (from Linux's libc) + sync: Nick Holloway, with thanks to James Bonfield + tunelp: Michael K. Johnson (johnsonm@nigel.vnet.net) + + +syslogd: + 5.45 (Berkeley) 3/2/91 + + Most of the changes for syslogd come from Rick Sladkey + (jrs@world.std.com), but I'd like to thank other people who sent in + changes (which usually got forwarded to Rick): Carsten Paeth + (calle@calle.in-berlin.de) and Kaz Sasayama (kaz@lilia.iijnet.or.jp). + +text-utils: + col: 5.3 (Berkeley) 2/2/91; with patches from Andries.Brouwer@cwi.nl + and Carl Christofferson (cchris@connected.com) + wuarchive.wustl.edu:/mirrors/4.3-reno/{bin,usr.bin} + colcrt: 8.1 (Berkeley) 6/6/93 (Bill Joy) + ftp.cdrom.com:/pub/bsd-sources/4.4BSD-Lite/usr/src/usr.bin + colrm: 5.4 (Berkeley) 6/1/90 (Jeff Schriebman) + column: 8.3 (Berkeley) 4/2/94 + ftp.cdrom.com:/pub/bsd-sources/4.4BSD-Lite/usr/src/usr.bin + hexdump: 5.5 (Berkeley) 6/1/90 + wuarchive.wustl.edu:/mirrors/4.3-reno/{bin,usr.bin} + more: 5.19 (Berkeley) 6/29/88 (Eric Shienbrood, Geoff Peck, John Foderaro) + rev: 5.2 (Berkeley) 3/21/92; with modifications by Charles Hannum + (mycroft@gnu.ai.mit.edu), Brian Koehmstedt (bpk@gnu.ai.mit.edu), + bjdouma@xs4all.nl + wuarchive.wustl.edu:/mirrors/4.3-reno/{bin,usr.bin} + strings: 5.10 (Berkeley) 5/23/91; with patches from Vitor Duarte + + wuarchive.wustl.edu:/mirrors/4.3-reno/{bin,usr.bin} + ul: 8.1 (Berkeley) 6/6/93 + ftp.cdrom.com:/pub/bsd-sources/4.4BSD-Lite/usr/src/usr.bin + diff --git a/README b/README new file mode 100644 index 0000000..7f07d7d --- /dev/null +++ b/README @@ -0,0 +1,135 @@ + + util-linux + + util-linux is a random collection of Linux utilities + + Note: for the years 2006-2010 this project was named "util-linux-ng". + +MAILING LIST: + + E-MAIL: util-linux@vger.kernel.org + URL: http://vger.kernel.org/vger-lists.html#util-linux + ARCHIVE: https://lore.kernel.org/util-linux/ + + The mailing list will reject email messages that contain: + - more than 100K characters + - html + - spam phrases/keywords + See: http://vger.kernel.org/majordomo-info.html#taboo + +IRC CHANNEL: + + #util-linux at freenode.net: + + irc://chat.freenode.net/util-linux + + The IRC channel and Mailing list are for developers and project + maintainers. For end users it is recommended to utilize the + distribution's support system. + +BUG REPORTING: + + E-MAIL: util-linux@vger.kernel.org + Web: https://github.com/karelzak/util-linux/issues + + This project has no resources to provide support for distribution specific + issues. For end users it is recommended to utilize the distribution's + support system. + +NLS (PO TRANSLATIONS): + + PO files are maintained by: + http://translationproject.org/domain/util-linux.html + +VERSION SCHEMA: + + Standard releases: + .[.] + major = fatal and deep changes + minor = typical release with new features + maint = maintenance releases; bug fixes only + + Development releases: + .-rc + +SOURCE CODE: + + Download archive: + https://www.kernel.org/pub/linux/utils/util-linux/ + + SCM (Source Code Management) Repository: + + Primary repository: + git clone git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git + + Backup repository: + git clone git://github.com/karelzak/util-linux.git + + Web interfaces: + http://git.kernel.org/cgit/utils/util-linux/util-linux.git + https://github.com/karelzak/util-linux + + Note: the GitHub repository may contain temporary development branches too. + + The kernel.org repository contains master (current development) and stable/* + (maintenance) branches only. All master or stable/* changes are always pushed + to both repositories at the same time. + + Repository Branches: 'git branch -a' + master branch + - current development + - the source for stable releases when deemed ready. + - day-to-day status is: 'it works for me'. This means that its + normal state is useful but not well tested. + - long-term development or invasive changes in active development are + forked into separate 'topic' branches from the tip of 'master'. + + stable/ branches + - public releases + - branch name: stable/v.. + - created from the 'master' branch after two or more release + candidates and the final public release. This means that the stable + releases are committed, tagged, and reachable in 'master'. + - these branches then become forked development branches. This means + that any changes made to them diverge from the 'master' branch. + - maintenance releases are part of, and belong to, their respective + stable branch. As such, they are tags(..) and + not branches of their own. They are not part of, visible in, or + have anything to do with the 'master' development branch. In git + terminology: maintenance releases are not reachable from 'master'. + - when initially cloned (as with the 'git clone' command given above) + these branches are created as 'remote tracking branches' and are + only visible by using the -a or -r options to 'git branch'. To + create a local branch use the desired tag with this command: + 'git checkout -b v2.29.2 v2.29.2' + + Tags: 'git tag' + - a new tag object is created for every release. + - tag name: v. + - all tags are signed by the maintainer's PGP key. + + Known Bugs: + - don't use tag v2.13.1 (created and published by mistake), + use v2.13.1-REAL instead. + +WORKFLOW EXAMPLE: + + 1) development (branch: ) + + 2) master release (tags: v2.29-rc1, v2.29-rc2, v2.29, branch: ) + + 3) development (work on v2.30, branch: ) + + 4) fork -- create a new branch based on tag v2.29 + + 4a) new patches or cherry-pick patches from (branch: ) + + 4b) stable release (tag: v2.29.1, branch: ) + + 4c) more patches; another release (tag: v2.29.2, branch: ) + + 5) master release v2.30 (branch: ) + ... + +where 3) and 4) happen simultaneously. + diff --git a/README.licensing b/README.licensing new file mode 100644 index 0000000..5752a95 --- /dev/null +++ b/README.licensing @@ -0,0 +1,22 @@ + +The project util-linux doesn't use the same license for all of the code. +There is code under: + + * GPL-2.0-or-later - GNU General Public License version 2, or any later version + + * GPL-2.0 - GNU General Public License version 2 + + * LGPL-2.1-or-later - GNU Lesser General Public License 2.1 or any later version + + * BSD-3-Clause - BSD 3-Clause "New" or "Revised" License + + * BSD-4-Clause-UC - BSD 4-Clause University of California-Specific + + * Public Domain + +Please, check the source code for more details. A license is usually at the start +of each source file. + +The ./COPYING file (GPL-2.0-or-later) is the default license for code without +an explicitly defined license. + diff --git a/aclocal.m4 b/aclocal.m4 new file mode 100644 index 0000000..0ed68f1 --- /dev/null +++ b/aclocal.m4 @@ -0,0 +1,1811 @@ +# generated automatically by aclocal 1.15.1 -*- Autoconf -*- + +# Copyright (C) 1996-2017 Free Software Foundation, Inc. + +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, +[m4_warning([this file was generated for autoconf 2.69. +You have another version of autoconf. It may work, but is not guaranteed to. +If you have problems, you may need to regenerate the build system entirely. +To do so, use the procedure documented by the package, typically 'autoreconf'.])]) + +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- +# serial 11 (pkg-config-0.29.1) + +dnl Copyright © 2004 Scott James Remnant . +dnl Copyright © 2012-2015 Dan Nicholson +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; either version 2 of the License, or +dnl (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, but +dnl WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +dnl General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +dnl 02111-1307, USA. +dnl +dnl As a special exception to the GNU General Public License, if you +dnl distribute this file as part of a program that contains a +dnl configuration script generated by Autoconf, you may include it under +dnl the same distribution terms that you use for the rest of that +dnl program. + +dnl PKG_PREREQ(MIN-VERSION) +dnl ----------------------- +dnl Since: 0.29 +dnl +dnl Verify that the version of the pkg-config macros are at least +dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's +dnl installed version of pkg-config, this checks the developer's version +dnl of pkg.m4 when generating configure. +dnl +dnl To ensure that this macro is defined, also add: +dnl m4_ifndef([PKG_PREREQ], +dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) +dnl +dnl See the "Since" comment for each macro you use to see what version +dnl of the macros you require. +m4_defun([PKG_PREREQ], +[m4_define([PKG_MACROS_VERSION], [0.29.1]) +m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, + [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) +])dnl PKG_PREREQ + +dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) +dnl ---------------------------------- +dnl Since: 0.16 +dnl +dnl Search for the pkg-config tool and set the PKG_CONFIG variable to +dnl first found in the path. Checks that the version of pkg-config found +dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is +dnl used since that's the first version where most current features of +dnl pkg-config existed. +AC_DEFUN([PKG_PROG_PKG_CONFIG], +[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=m4_default([$1], [0.9.0]) + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + PKG_CONFIG="" + fi +fi[]dnl +])dnl PKG_PROG_PKG_CONFIG + +dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +dnl ------------------------------------------------------------------- +dnl Since: 0.18 +dnl +dnl Check to see whether a particular set of modules exists. Similar to +dnl PKG_CHECK_MODULES(), but does not set variables or print errors. +dnl +dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +dnl only at the first occurence in configure.ac, so if the first place +dnl it's called might be skipped (such as if it is within an "if", you +dnl have to call PKG_CHECK_EXISTS manually +AC_DEFUN([PKG_CHECK_EXISTS], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +if test -n "$PKG_CONFIG" && \ + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then + m4_default([$2], [:]) +m4_ifvaln([$3], [else + $3])dnl +fi]) + +dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) +dnl --------------------------------------------- +dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting +dnl pkg_failed based on the result. +m4_define([_PKG_CONFIG], +[if test -n "$$1"; then + pkg_cv_[]$1="$$1" + elif test -n "$PKG_CONFIG"; then + PKG_CHECK_EXISTS([$3], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes ], + [pkg_failed=yes]) + else + pkg_failed=untried +fi[]dnl +])dnl _PKG_CONFIG + +dnl _PKG_SHORT_ERRORS_SUPPORTED +dnl --------------------------- +dnl Internal check to see if pkg-config supports short errors. +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi[]dnl +])dnl _PKG_SHORT_ERRORS_SUPPORTED + + +dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], +dnl [ACTION-IF-NOT-FOUND]) +dnl -------------------------------------------------------------- +dnl Since: 0.4.0 +dnl +dnl Note that if there is a possibility the first call to +dnl PKG_CHECK_MODULES might not happen, you should be sure to include an +dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac +AC_DEFUN([PKG_CHECK_MODULES], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl + +pkg_failed=no +AC_MSG_CHECKING([for $1]) + +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) +_PKG_CONFIG([$1][_LIBS], [libs], [$2]) + +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS +and $1[]_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details.]) + +if test $pkg_failed = yes; then + AC_MSG_RESULT([no]) + _PKG_SHORT_ERRORS_SUPPORTED + if test $_pkg_short_errors_supported = yes; then + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` + else + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD + + m4_default([$4], [AC_MSG_ERROR( +[Package requirements ($2) were not met: + +$$1_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +_PKG_TEXT])[]dnl + ]) +elif test $pkg_failed = untried; then + AC_MSG_RESULT([no]) + m4_default([$4], [AC_MSG_FAILURE( +[The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +_PKG_TEXT + +To get pkg-config, see .])[]dnl + ]) +else + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS + AC_MSG_RESULT([yes]) + $3 +fi[]dnl +])dnl PKG_CHECK_MODULES + + +dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], +dnl [ACTION-IF-NOT-FOUND]) +dnl --------------------------------------------------------------------- +dnl Since: 0.29 +dnl +dnl Checks for existence of MODULES and gathers its build flags with +dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags +dnl and VARIABLE-PREFIX_LIBS from --libs. +dnl +dnl Note that if there is a possibility the first call to +dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to +dnl include an explicit call to PKG_PROG_PKG_CONFIG in your +dnl configure.ac. +AC_DEFUN([PKG_CHECK_MODULES_STATIC], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +_save_PKG_CONFIG=$PKG_CONFIG +PKG_CONFIG="$PKG_CONFIG --static" +PKG_CHECK_MODULES($@) +PKG_CONFIG=$_save_PKG_CONFIG[]dnl +])dnl PKG_CHECK_MODULES_STATIC + + +dnl PKG_INSTALLDIR([DIRECTORY]) +dnl ------------------------- +dnl Since: 0.27 +dnl +dnl Substitutes the variable pkgconfigdir as the location where a module +dnl should install pkg-config .pc files. By default the directory is +dnl $libdir/pkgconfig, but the default can be changed by passing +dnl DIRECTORY. The user can override through the --with-pkgconfigdir +dnl parameter. +AC_DEFUN([PKG_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([pkgconfigdir], + [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, + [with_pkgconfigdir=]pkg_default) +AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +])dnl PKG_INSTALLDIR + + +dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) +dnl -------------------------------- +dnl Since: 0.27 +dnl +dnl Substitutes the variable noarch_pkgconfigdir as the location where a +dnl module should install arch-independent pkg-config .pc files. By +dnl default the directory is $datadir/pkgconfig, but the default can be +dnl changed by passing DIRECTORY. The user can override through the +dnl --with-noarch-pkgconfigdir parameter. +AC_DEFUN([PKG_NOARCH_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([noarch-pkgconfigdir], + [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, + [with_noarch_pkgconfigdir=]pkg_default) +AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +])dnl PKG_NOARCH_INSTALLDIR + + +dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, +dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +dnl ------------------------------------------- +dnl Since: 0.28 +dnl +dnl Retrieves the value of the pkg-config variable for the given module. +AC_DEFUN([PKG_CHECK_VAR], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl + +_PKG_CONFIG([$1], [variable="][$3]["], [$2]) +AS_VAR_COPY([$1], [pkg_cv_][$1]) + +AS_VAR_IF([$1], [""], [$5], [$4])dnl +])dnl PKG_CHECK_VAR + +dnl PKG_WITH_MODULES(VARIABLE-PREFIX, MODULES, +dnl [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND], +dnl [DESCRIPTION], [DEFAULT]) +dnl ------------------------------------------ +dnl +dnl Prepare a "--with-" configure option using the lowercase +dnl [VARIABLE-PREFIX] name, merging the behaviour of AC_ARG_WITH and +dnl PKG_CHECK_MODULES in a single macro. +AC_DEFUN([PKG_WITH_MODULES], +[ +m4_pushdef([with_arg], m4_tolower([$1])) + +m4_pushdef([description], + [m4_default([$5], [build with ]with_arg[ support])]) + +m4_pushdef([def_arg], [m4_default([$6], [auto])]) +m4_pushdef([def_action_if_found], [AS_TR_SH([with_]with_arg)=yes]) +m4_pushdef([def_action_if_not_found], [AS_TR_SH([with_]with_arg)=no]) + +m4_case(def_arg, + [yes],[m4_pushdef([with_without], [--without-]with_arg)], + [m4_pushdef([with_without],[--with-]with_arg)]) + +AC_ARG_WITH(with_arg, + AS_HELP_STRING(with_without, description[ @<:@default=]def_arg[@:>@]),, + [AS_TR_SH([with_]with_arg)=def_arg]) + +AS_CASE([$AS_TR_SH([with_]with_arg)], + [yes],[PKG_CHECK_MODULES([$1],[$2],$3,$4)], + [auto],[PKG_CHECK_MODULES([$1],[$2], + [m4_n([def_action_if_found]) $3], + [m4_n([def_action_if_not_found]) $4])]) + +m4_popdef([with_arg]) +m4_popdef([description]) +m4_popdef([def_arg]) + +])dnl PKG_WITH_MODULES + +dnl PKG_HAVE_WITH_MODULES(VARIABLE-PREFIX, MODULES, +dnl [DESCRIPTION], [DEFAULT]) +dnl ----------------------------------------------- +dnl +dnl Convenience macro to trigger AM_CONDITIONAL after PKG_WITH_MODULES +dnl check._[VARIABLE-PREFIX] is exported as make variable. +AC_DEFUN([PKG_HAVE_WITH_MODULES], +[ +PKG_WITH_MODULES([$1],[$2],,,[$3],[$4]) + +AM_CONDITIONAL([HAVE_][$1], + [test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"]) +])dnl PKG_HAVE_WITH_MODULES + +dnl PKG_HAVE_DEFINE_WITH_MODULES(VARIABLE-PREFIX, MODULES, +dnl [DESCRIPTION], [DEFAULT]) +dnl ------------------------------------------------------ +dnl +dnl Convenience macro to run AM_CONDITIONAL and AC_DEFINE after +dnl PKG_WITH_MODULES check. HAVE_[VARIABLE-PREFIX] is exported as make +dnl and preprocessor variable. +AC_DEFUN([PKG_HAVE_DEFINE_WITH_MODULES], +[ +PKG_HAVE_WITH_MODULES([$1],[$2],[$3],[$4]) + +AS_IF([test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"], + [AC_DEFINE([HAVE_][$1], 1, [Enable ]m4_tolower([$1])[ support])]) +])dnl PKG_HAVE_DEFINE_WITH_MODULES + +# Copyright (C) 2002-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +# (This private macro should not be called outside this file.) +AC_DEFUN([AM_AUTOMAKE_VERSION], +[am__api_version='1.15' +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to +dnl require some minimum version. Point them to the right macro. +m4_if([$1], [1.15.1], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl +]) + +# _AM_AUTOCONF_VERSION(VERSION) +# ----------------------------- +# aclocal traces this macro to find the Autoconf version. +# This is a private macro too. Using m4_define simplifies +# the logic in aclocal, which can simply ignore this definition. +m4_define([_AM_AUTOCONF_VERSION], []) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], +[AM_AUTOMAKE_VERSION([1.15.1])dnl +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) + +# Copyright (C) 2011-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_AR([ACT-IF-FAIL]) +# ------------------------- +# Try to determine the archiver interface, and trigger the ar-lib wrapper +# if it is needed. If the detection of archiver interface fails, run +# ACT-IF-FAIL (default is to abort configure with a proper error message). +AC_DEFUN([AM_PROG_AR], +[AC_BEFORE([$0], [LT_INIT])dnl +AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl +AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([ar-lib])dnl +AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false]) +: ${AR=ar} + +AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface], + [AC_LANG_PUSH([C]) + am_cv_ar_interface=ar + AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])], + [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD' + AC_TRY_EVAL([am_ar_try]) + if test "$ac_status" -eq 0; then + am_cv_ar_interface=ar + else + am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD' + AC_TRY_EVAL([am_ar_try]) + if test "$ac_status" -eq 0; then + am_cv_ar_interface=lib + else + am_cv_ar_interface=unknown + fi + fi + rm -f conftest.lib libconftest.a + ]) + AC_LANG_POP([C])]) + +case $am_cv_ar_interface in +ar) + ;; +lib) + # Microsoft lib, so override with the ar-lib wrapper script. + # FIXME: It is wrong to rewrite AR. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__AR in this case, + # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something + # similar. + AR="$am_aux_dir/ar-lib $AR" + ;; +unknown) + m4_default([$1], + [AC_MSG_ERROR([could not determine $AR interface])]) + ;; +esac +AC_SUBST([AR])dnl +]) + +# AM_AUX_DIR_EXPAND -*- Autoconf -*- + +# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets +# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to +# '$srcdir', '$srcdir/..', or '$srcdir/../..'. +# +# Of course, Automake must honor this variable whenever it calls a +# tool from the auxiliary directory. The problem is that $srcdir (and +# therefore $ac_aux_dir as well) can be either absolute or relative, +# depending on how configure is run. This is pretty annoying, since +# it makes $ac_aux_dir quite unusable in subdirectories: in the top +# source directory, any form will work fine, but in subdirectories a +# relative path needs to be adjusted first. +# +# $ac_aux_dir/missing +# fails when called from a subdirectory if $ac_aux_dir is relative +# $top_srcdir/$ac_aux_dir/missing +# fails if $ac_aux_dir is absolute, +# fails when called from a subdirectory in a VPATH build with +# a relative $ac_aux_dir +# +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir +# are both prefixed by $srcdir. In an in-source build this is usually +# harmless because $srcdir is '.', but things will broke when you +# start a VPATH build or use an absolute $srcdir. +# +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` +# and then we would define $MISSING as +# MISSING="\${SHELL} $am_aux_dir/missing" +# This will work as long as MISSING is not called from configure, because +# unfortunately $(top_srcdir) has no meaning in configure. +# However there are other variables, like CC, which are often used in +# configure, and could therefore not use this "fixed" $ac_aux_dir. +# +# Another solution, used here, is to always expand $ac_aux_dir to an +# absolute PATH. The drawback is that using absolute paths prevent a +# configured tree to be moved without reconfiguration. + +AC_DEFUN([AM_AUX_DIR_EXPAND], +[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +# Expand $ac_aux_dir to an absolute path. +am_aux_dir=`cd "$ac_aux_dir" && pwd` +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[AC_PREREQ([2.52])dnl + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +AC_SUBST([$1_TRUE])dnl +AC_SUBST([$1_FALSE])dnl +_AM_SUBST_NOTMAKE([$1_TRUE])dnl +_AM_SUBST_NOTMAKE([$1_FALSE])dnl +m4_define([_AM_COND_VALUE_$1], [$2])dnl +if $2; then + $1_TRUE= + $1_FALSE='#' +else + $1_TRUE='#' + $1_FALSE= +fi +AC_CONFIG_COMMANDS_PRE( +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([[conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]]) +fi])]) + +# Copyright (C) 1999-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + + +# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be +# written in clear, in which case automake, when reading aclocal.m4, +# will think it sees a *use*, and therefore will trigger all it's +# C support machinery. Also note that it means that autoscan, seeing +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... + + +# _AM_DEPENDENCIES(NAME) +# ---------------------- +# See how the compiler implements dependency checking. +# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". +# We try a few techniques and use that to set a single cache variable. +# +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular +# dependency, and given that the user is not expected to run this macro, +# just rely on AC_PROG_CC. +AC_DEFUN([_AM_DEPENDENCIES], +[AC_REQUIRE([AM_SET_DEPDIR])dnl +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl +AC_REQUIRE([AM_MAKE_INCLUDE])dnl +AC_REQUIRE([AM_DEP_TRACK])dnl + +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], + [$1], [CXX], [depcc="$CXX" am_compiler_list=], + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], + [$1], [UPC], [depcc="$UPC" am_compiler_list=], + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) + +AC_CACHE_CHECK([dependency style of $depcc], + [am_cv_$1_dependencies_compiler_type], +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_$1_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` + fi + am__universal=false + m4_case([$1], [CC], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac], + [CXX], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac]) + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with '-c' and '-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_$1_dependencies_compiler_type=none +fi +]) +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) +AM_CONDITIONAL([am__fastdep$1], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) +]) + + +# AM_SET_DEPDIR +# ------------- +# Choose a directory name for dependency files. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES. +AC_DEFUN([AM_SET_DEPDIR], +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl +]) + + +# AM_DEP_TRACK +# ------------ +AC_DEFUN([AM_DEP_TRACK], +[AC_ARG_ENABLE([dependency-tracking], [dnl +AS_HELP_STRING( + [--enable-dependency-tracking], + [do not reject slow dependency extractors]) +AS_HELP_STRING( + [--disable-dependency-tracking], + [speeds up one-time build])]) +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' + am__nodep='_no' +fi +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +AC_SUBST([AMDEPBACKSLASH])dnl +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl +AC_SUBST([am__nodep])dnl +_AM_SUBST_NOTMAKE([am__nodep])dnl +]) + +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright (C) 1999-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + + +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[{ + # Older Autoconf quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named 'Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`AS_DIRNAME("$mf")` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running 'make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "$am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`AS_DIRNAME(["$file"])` + AS_MKDIR_P([$dirpart/$fdir]) + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} +])# _AM_OUTPUT_DEPENDENCY_COMMANDS + + +# AM_OUTPUT_DEPENDENCY_COMMANDS +# ----------------------------- +# This macro should only be invoked once -- use via AC_REQUIRE. +# +# This code is only required when automatic dependency tracking +# is enabled. FIXME. This creates each '.P' file that we will +# need in order to bootstrap the dependency handling code. +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], +[AC_CONFIG_COMMANDS([depfiles], + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) +]) + +# Do all the work for Automake. -*- Autoconf -*- + +# Copyright (C) 1996-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This macro actually does too much. Some checks are only needed if +# your package does certain things. But this isn't really a big deal. + +dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. +m4_define([AC_PROG_CC], +m4_defn([AC_PROG_CC]) +[_AM_PROG_CC_C_O +]) + +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) +# AM_INIT_AUTOMAKE([OPTIONS]) +# ----------------------------------------------- +# The call with PACKAGE and VERSION arguments is the old style +# call (pre autoconf-2.50), which is being phased out. PACKAGE +# and VERSION should now be passed to AC_INIT and removed from +# the call to AM_INIT_AUTOMAKE. +# We support both call styles for the transition. After +# the next Automake release, Autoconf can make the AC_INIT +# arguments mandatory, and then we can depend on a new Autoconf +# release and drop the old call support. +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_PREREQ([2.65])dnl +dnl Autoconf wants to disallow AM_ names. We explicitly allow +dnl the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL])dnl +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[AC_DIAGNOSE([obsolete], + [$0: two- and three-arguments forms are deprecated.]) +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. +m4_if( + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), + [ok:ok],, + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) +AM_MISSING_PROG([AUTOCONF], [autoconf]) +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) +AM_MISSING_PROG([AUTOHEADER], [autoheader]) +AM_MISSING_PROG([MAKEINFO], [makeinfo]) +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# +# +AC_SUBST([mkdir_p], ['$(MKDIR_P)']) +# We need awk for the "check" target (and possibly the TAP driver). The +# system "awk" is bad on some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES([CC])], + [m4_define([AC_PROG_CC], + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES([CXX])], + [m4_define([AC_PROG_CXX], + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES([OBJC])], + [m4_define([AC_PROG_OBJC], + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], + [_AM_DEPENDENCIES([OBJCXX])], + [m4_define([AC_PROG_OBJCXX], + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl +]) +AC_REQUIRE([AM_SILENT_RULES])dnl +dnl The testsuite driver may need to know about EXEEXT, so add the +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. +AC_CONFIG_COMMANDS_PRE(dnl +[m4_provide_if([_AM_COMPILER_EXEEXT], + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl + +# POSIX will say in a future version that running "rm -f" with no argument +# is OK; and we want to be able to make that assumption in our Makefile +# recipes. So use an aggressive probe to check that the usage we want is +# actually supported "in the wild" to an acceptable degree. +# See automake bug#10828. +# To make any issue more visible, cause the running configure to be aborted +# by default if the 'rm' program in use doesn't match our expectations; the +# user can still override this though. +if rm -f && rm -fr && rm -rf; then : OK; else + cat >&2 <<'END' +Oops! + +Your 'rm' program seems unable to run without file operands specified +on the command line, even when the '-f' option is present. This is contrary +to the behaviour of most rm programs out there, and not conforming with +the upcoming POSIX standard: + +Please tell bug-automake@gnu.org about your system, including the value +of your $PATH and any error possibly output before this message. This +can help us improve future automake versions. + +END + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then + echo 'Configuration will proceed anyway, since you have set the' >&2 + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 + echo >&2 + else + cat >&2 <<'END' +Aborting the configuration process, to ensure you take notice of the issue. + +You can download and install GNU coreutils to get an 'rm' implementation +that behaves properly: . + +If you want to complete the configuration process using your problematic +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM +to "yes", and re-run configure. + +END + AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) + fi +fi +dnl The trailing newline in this macro's definition is deliberate, for +dnl backward compatibility and to allow trailing 'dnl'-style comments +dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. +]) + +dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further +dnl mangled by Autoconf and run in a shell conditional statement. +m4_define([_AC_COMPILER_EXEEXT], +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) + +# When config.status generates a header, we must update the stamp-h file. +# This file resides in the same directory as the config header +# that is generated. The stamp files are numbered to have different names. + +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the +# loop where config.status creates the headers, so we can generate +# our stamp files there. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], +[# Compute $1's index in $config_headers. +_am_arg=$1 +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) + +# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_SH +# ------------------ +# Define $install_sh. +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +if test x"${install_sh+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi +AC_SUBST([install_sh])]) + +# Copyright (C) 2003-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + +# Check to see how 'make' treats includes. -*- Autoconf -*- + +# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_MAKE_INCLUDE() +# ----------------- +# Check to see how make treats includes. +AC_DEFUN([AM_MAKE_INCLUDE], +[am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +AC_MSG_CHECKING([for style of include used by $am_make]) +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from 'make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac +fi +AC_SUBST([am__include]) +AC_SUBST([am__quote]) +AC_MSG_RESULT([$_am_result]) +rm -f confinc confmf +]) + +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- + +# Copyright (C) 1997-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_MISSING_PROG(NAME, PROGRAM) +# ------------------------------ +AC_DEFUN([AM_MISSING_PROG], +[AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) + +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it is modern enough. +# If it is, set am_missing_run to use it, otherwise, to nothing. +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([missing])dnl +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " +else + am_missing_run= + AC_MSG_WARN(['missing' script is too old or missing]) +fi +]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + +# _AM_SET_OPTION(NAME) +# -------------------- +# Set option NAME. Presently that only means defining a flag for this option. +AC_DEFUN([_AM_SET_OPTION], +[m4_define(_AM_MANGLE_OPTION([$1]), [1])]) + +# _AM_SET_OPTIONS(OPTIONS) +# ------------------------ +# OPTIONS is a space-separated list of Automake options. +AC_DEFUN([_AM_SET_OPTIONS], +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) + +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) +# ------------------------------------------- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +AC_DEFUN([_AM_IF_OPTION], +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) + +# Copyright (C) 1999-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_PROG_CC_C_O +# --------------- +# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC +# to automatically call this. +AC_DEFUN([_AM_PROG_CC_C_O], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([compile])dnl +AC_LANG_PUSH([C])dnl +AC_CACHE_CHECK( + [whether $CC understands -c and -o together], + [am_cv_prog_cc_c_o], + [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) + # Make sure it works both with $CC and with simple cc. + # Following AC_PROG_CC_C_O, we do the test twice because some + # compilers refuse to overwrite an existing .o file with -o, + # though they will create one. + am_cv_prog_cc_c_o=yes + for am_i in 1 2; do + if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ + && test -f conftest2.$ac_objext; then + : OK + else + am_cv_prog_cc_c_o=no + break + fi + done + rm -f core conftest* + unset am_i]) +if test "$am_cv_prog_cc_c_o" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +AC_LANG_POP([C])]) + +# For backward compatibility. +AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) + +# Copyright (C) 1999-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + + +# AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# --------------------------------------------------------------------------- +# Adds support for distributing Python modules and packages. To +# install modules, copy them to $(pythondir), using the python_PYTHON +# automake variable. To install a package with the same name as the +# automake package, install to $(pkgpythondir), or use the +# pkgpython_PYTHON automake variable. +# +# The variables $(pyexecdir) and $(pkgpyexecdir) are provided as +# locations to install python extension modules (shared libraries). +# Another macro is required to find the appropriate flags to compile +# extension modules. +# +# If your package is configured with a different prefix to python, +# users will have to add the install directory to the PYTHONPATH +# environment variable, or create a .pth file (see the python +# documentation for details). +# +# If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will +# cause an error if the version of python installed on the system +# doesn't meet the requirement. MINIMUM-VERSION should consist of +# numbers and dots only. +AC_DEFUN([AM_PATH_PYTHON], + [ + dnl Find a Python interpreter. Python versions prior to 2.0 are not + dnl supported. (2.0 was released on October 16, 2000). + dnl FIXME: Remove the need to hard-code Python versions here. + m4_define_default([_AM_PYTHON_INTERPRETER_LIST], +[python python2 python3 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 dnl + python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0]) + + AC_ARG_VAR([PYTHON], [the Python interpreter]) + + m4_if([$1],[],[ + dnl No version check is needed. + # Find any Python interpreter. + if test -z "$PYTHON"; then + AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :) + fi + am_display_PYTHON=python + ], [ + dnl A version check is needed. + if test -n "$PYTHON"; then + # If the user set $PYTHON, use it and don't search something else. + AC_MSG_CHECKING([whether $PYTHON version is >= $1]) + AM_PYTHON_CHECK_VERSION([$PYTHON], [$1], + [AC_MSG_RESULT([yes])], + [AC_MSG_RESULT([no]) + AC_MSG_ERROR([Python interpreter is too old])]) + am_display_PYTHON=$PYTHON + else + # Otherwise, try each interpreter until we find one that satisfies + # VERSION. + AC_CACHE_CHECK([for a Python interpreter with version >= $1], + [am_cv_pathless_PYTHON],[ + for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do + test "$am_cv_pathless_PYTHON" = none && break + AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break]) + done]) + # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. + if test "$am_cv_pathless_PYTHON" = none; then + PYTHON=: + else + AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON]) + fi + am_display_PYTHON=$am_cv_pathless_PYTHON + fi + ]) + + if test "$PYTHON" = :; then + dnl Run any user-specified action, or abort. + m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])]) + else + + dnl Query Python for its version number. Getting [:3] seems to be + dnl the best way to do this; it's what "site.py" does in the standard + dnl library. + + AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], + [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`]) + AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) + + dnl Use the values of $prefix and $exec_prefix for the corresponding + dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made + dnl distinct variables so they can be overridden if need be. However, + dnl general consensus is that you shouldn't need this ability. + + AC_SUBST([PYTHON_PREFIX], ['${prefix}']) + AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) + + dnl At times (like when building shared libraries) you may want + dnl to know which OS platform Python thinks this is. + + AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], + [am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`]) + AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) + + # Just factor out some code duplication. + am_python_setup_sysconfig="\ +import sys +# Prefer sysconfig over distutils.sysconfig, for better compatibility +# with python 3.x. See automake bug#10227. +try: + import sysconfig +except ImportError: + can_use_sysconfig = 0 +else: + can_use_sysconfig = 1 +# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs: +# +try: + from platform import python_implementation + if python_implementation() == 'CPython' and sys.version[[:3]] == '2.7': + can_use_sysconfig = 0 +except ImportError: + pass" + + dnl Set up 4 directories: + + dnl pythondir -- where to install python scripts. This is the + dnl site-packages directory, not the python standard library + dnl directory like in previous automake betas. This behavior + dnl is more consistent with lispdir.m4 for example. + dnl Query distutils for this directory. + AC_CACHE_CHECK([for $am_display_PYTHON script directory], + [am_cv_python_pythondir], + [if test "x$prefix" = xNONE + then + am_py_prefix=$ac_default_prefix + else + am_py_prefix=$prefix + fi + am_cv_python_pythondir=`$PYTHON -c " +$am_python_setup_sysconfig +if can_use_sysconfig: + sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'}) +else: + from distutils import sysconfig + sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix') +sys.stdout.write(sitedir)"` + case $am_cv_python_pythondir in + $am_py_prefix*) + am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` + am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` + ;; + *) + case $am_py_prefix in + /usr|/System*) ;; + *) + am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages + ;; + esac + ;; + esac + ]) + AC_SUBST([pythondir], [$am_cv_python_pythondir]) + + dnl pkgpythondir -- $PACKAGE directory under pythondir. Was + dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is + dnl more consistent with the rest of automake. + + AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) + + dnl pyexecdir -- directory for installing python extension modules + dnl (shared libraries) + dnl Query distutils for this directory. + AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], + [am_cv_python_pyexecdir], + [if test "x$exec_prefix" = xNONE + then + am_py_exec_prefix=$am_py_prefix + else + am_py_exec_prefix=$exec_prefix + fi + am_cv_python_pyexecdir=`$PYTHON -c " +$am_python_setup_sysconfig +if can_use_sysconfig: + sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'}) +else: + from distutils import sysconfig + sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix') +sys.stdout.write(sitedir)"` + case $am_cv_python_pyexecdir in + $am_py_exec_prefix*) + am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` + am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` + ;; + *) + case $am_py_exec_prefix in + /usr|/System*) ;; + *) + am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages + ;; + esac + ;; + esac + ]) + AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) + + dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) + + AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) + + dnl Run any user-specified action. + $2 + fi + +]) + + +# AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) +# --------------------------------------------------------------------------- +# Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION. +# Run ACTION-IF-FALSE otherwise. +# This test uses sys.hexversion instead of the string equivalent (first +# word of sys.version), in order to cope with versions such as 2.2c1. +# This supports Python 2.0 or higher. (2.0 was released on October 16, 2000). +AC_DEFUN([AM_PYTHON_CHECK_VERSION], + [prog="import sys +# split strings by '.' and convert to numeric. Append some zeros +# because we need at least 4 digits for the hex conversion. +# map returns an iterator in Python 3.0 and a list in 2.x +minver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]] +minverhex = 0 +# xrange is not present in Python 3.0 and range returns an iterator +for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]] +sys.exit(sys.hexversion < minverhex)" + AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) + +# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_RUN_LOG(COMMAND) +# ------------------- +# Run COMMAND, save the exit status in ac_status, and log it. +# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) +AC_DEFUN([AM_RUN_LOG], +[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + (exit $ac_status); }]) + +# Check to make sure that the build environment is sane. -*- Autoconf -*- + +# Copyright (C) 1996-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[[\\\"\#\$\&\'\`$am_lf]]*) + AC_MSG_ERROR([unsafe absolute working directory name]);; +esac +case $srcdir in + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; +esac + +# Do 'set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken + alias in your environment]) + fi + if test "$[2]" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT([yes]) +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi +AC_CONFIG_COMMANDS_PRE( + [AC_MSG_CHECKING([that generated files are newer than configure]) + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + AC_MSG_RESULT([done])]) +rm -f conftest.file +]) + +# Copyright (C) 2009-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_SILENT_RULES([DEFAULT]) +# -------------------------- +# Enable less verbose build rules; with the default set to DEFAULT +# ("yes" being less verbose, "no" or empty being verbose). +AC_DEFUN([AM_SILENT_RULES], +[AC_ARG_ENABLE([silent-rules], [dnl +AS_HELP_STRING( + [--enable-silent-rules], + [less verbose build output (undo: "make V=1")]) +AS_HELP_STRING( + [--disable-silent-rules], + [verbose build output (undo: "make V=0")])dnl +]) +case $enable_silent_rules in @%:@ ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; +esac +dnl +dnl A few 'make' implementations (e.g., NonStop OS and NextStep) +dnl do not support nested variable expansions. +dnl See automake bug#9928 and bug#10237. +am_make=${MAKE-make} +AC_CACHE_CHECK([whether $am_make supports nested variables], + [am_cv_make_support_nested_variables], + [if AS_ECHO([['TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi]) +if test $am_cv_make_support_nested_variables = yes; then + dnl Using '$V' instead of '$(V)' breaks IRIX make. + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AC_SUBST([AM_V])dnl +AM_SUBST_NOTMAKE([AM_V])dnl +AC_SUBST([AM_DEFAULT_V])dnl +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl +AM_BACKSLASH='\' +AC_SUBST([AM_BACKSLASH])dnl +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl +]) + +# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_STRIP +# --------------------- +# One issue with vendor 'install' (even GNU) is that you can't +# specify the program used to strip binaries. This is especially +# annoying in cross-compiling environments, where the build's strip +# is unlikely to handle the host's binaries. +# Fortunately install-sh will honor a STRIPPROG variable, so we +# always use install-sh in "make install-strip", and initialize +# STRIPPROG with the value of the STRIP variable (set by the user). +AC_DEFUN([AM_PROG_INSTALL_STRIP], +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the 'STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. +if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +# Copyright (C) 2006-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. +# This macro is traced by Automake. +AC_DEFUN([_AM_SUBST_NOTMAKE]) + +# AM_SUBST_NOTMAKE(VARIABLE) +# -------------------------- +# Public sister of _AM_SUBST_NOTMAKE. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) + +# Check how to create a tarball. -*- Autoconf -*- + +# Copyright (C) 2004-2017 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_PROG_TAR(FORMAT) +# -------------------- +# Check how to create a tarball in format FORMAT. +# FORMAT should be one of 'v7', 'ustar', or 'pax'. +# +# Substitute a variable $(am__tar) that is a command +# writing to stdout a FORMAT-tarball containing the directory +# $tardir. +# tardir=directory && $(am__tar) > result.tar +# +# Substitute a variable $(am__untar) that extract such +# a tarball read from stdin. +# $(am__untar) < result.tar +# +AC_DEFUN([_AM_PROG_TAR], +[# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AC_SUBST([AMTAR], ['$${TAR-tar}']) + +# We'll loop over all known methods to create a tar archive until one works. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' + +m4_if([$1], [v7], + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], + + [m4_case([$1], + [ustar], + [# The POSIX 1988 'ustar' format is defined with fixed-size fields. + # There is notably a 21 bits limit for the UID and the GID. In fact, + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 + # and bug#13588). + am_max_uid=2097151 # 2^21 - 1 + am_max_gid=$am_max_uid + # The $UID and $GID variables are not portable, so we need to resort + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls + # below are definitely unexpected, so allow the users to see them + # (that is, avoid stderr redirection). + am_uid=`id -u || echo unknown` + am_gid=`id -g || echo unknown` + AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) + if test $am_uid -le $am_max_uid; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + _am_tools=none + fi + AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) + if test $am_gid -le $am_max_gid; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + _am_tools=none + fi], + + [pax], + [], + + [m4_fatal([Unknown tar format])]) + + AC_MSG_CHECKING([how to create a $1 tar archive]) + + # Go ahead even if we have the value already cached. We do so because we + # need to set the values for the 'am__tar' and 'am__untar' variables. + _am_tools=${am_cv_prog_tar_$1-$_am_tools} + + for _am_tool in $_am_tools; do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; do + AM_RUN_LOG([$_am_tar --version]) && break + done + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x $1 -w "$$tardir"' + am__tar_='pax -L -x $1 -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' + am__untar='cpio -i -H $1 -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_$1}" && break + + # tar/untar a dummy directory, and stop if the command works. + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) + rm -rf conftest.dir + if test -s conftest.tar; then + AM_RUN_LOG([$am__untar /dev/null 2>&1 && break + fi + done + rm -rf conftest.dir + + AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) + AC_MSG_RESULT([$am_cv_prog_tar_$1])]) + +AC_SUBST([am__tar]) +AC_SUBST([am__untar]) +]) # _AM_PROG_TAR + +m4_include([m4/ax_check_vscript.m4]) +m4_include([m4/compiler.m4]) +m4_include([m4/gettext.m4]) +m4_include([m4/gtk-doc.m4]) +m4_include([m4/iconv.m4]) +m4_include([m4/intlmacosx.m4]) +m4_include([m4/lib-ld.m4]) +m4_include([m4/lib-link.m4]) +m4_include([m4/lib-prefix.m4]) +m4_include([m4/libtool.m4]) +m4_include([m4/ltoptions.m4]) +m4_include([m4/ltsugar.m4]) +m4_include([m4/ltversion.m4]) +m4_include([m4/lt~obsolete.m4]) +m4_include([m4/nls.m4]) +m4_include([m4/po.m4]) +m4_include([m4/progtest.m4]) +m4_include([m4/tls.m4]) +m4_include([m4/ul.m4]) diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..3625b2d --- /dev/null +++ b/autogen.sh @@ -0,0 +1,151 @@ +#!/bin/sh + +# +# Helps generate autoconf/automake stuff, when code is checked out from SCM. +# +# Copyright (C) 2006-2010 - Karel Zak +# + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +THEDIR=`pwd` +cd $srcdir +DIE=0 + +# provide simple gettext backward compatibility +autopoint_fun () +{ + # we have to deal with set -e ... + ret="0" + + # check against this hardcoded set of alternative gettext versions + gt_ver=`gettext --version |\ + sed -n -e 's/.* \(0\.17\|0\.18\|0\.18\.[1-2]\)$/\1/p'` + + if [ -n "$gt_ver" ]; then + echo "warning: forcing autopoint to use old gettext $gt_ver" + rm -f configure.ac.autogenbak + sed -i.autogenbak configure.ac \ + -e "s/\(AM_GNU_GETTEXT_VERSION\).*/\1([$gt_ver])/" + fi + + autopoint "$@" || ret=$? + + if [ -n "$gt_ver" ]; then + mv configure.ac.autogenbak configure.ac + fi + + return $ret +} + +test -f sys-utils/mount.c || { + echo + echo "You must run this script in the top-level util-linux directory." + echo + DIE=1 +} + +(autopoint --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "You must have autopoint installed to generate the util-linux build system." + echo "The autopoint command is part of the GNU gettext package." + echo + DIE=1 +} +(autoconf --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "You must have autoconf installed to generate the util-linux build system." + echo + DIE=1 +} +(autoheader --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "You must have autoheader installed to generate the util-linux build system." + echo "The autoheader command is part of the GNU autoconf package." + echo + DIE=1 +} + +if ! (bison --version) < /dev/null > /dev/null 2>&1; then + echo + echo "You must have bison installed to build the util-linux." + echo + DIE=1 +else + lexver=$(bison --version | awk '/^bison \(GNU [Bb]ison\)/ { print $4 }') + case "$lexver" in + [2-9].*) + ;; + *) + echo + echo "You must have bison version >= 2.x, but you have $lexver." + echo + DIE=1 + ;; + esac +fi + +LIBTOOLIZE=libtoolize +case `uname` in Darwin*) LIBTOOLIZE=glibtoolize ;; esac +if ! ($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1; then + echo + echo "You must have libtool-2 installed to generate the util-linux build system." + echo + DIE=1 +else + ltver=$($LIBTOOLIZE --version | awk '/^[g]*libtoolize/ { print $4 }') + ltver=${ltver:-"none"} + test ${ltver##2.} = "$ltver" && { + echo + echo "You must have libtool version >= 2.x.x, but you have $ltver." + echo + DIE=1 + } +fi + +(automake --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "You must have automake installed to generate the util-linux build system." + echo + DIE=1 +} + +if test "$DIE" -eq 1; then + exit 1 +fi + +echo +echo "Generating build-system with:" +echo " autopoint: $(autopoint --version | head -1)" +echo " aclocal: $(aclocal --version | head -1)" +echo " autoconf: $(autoconf --version | head -1)" +echo " autoheader: $(autoheader --version | head -1)" +echo " automake: $(automake --version | head -1)" +echo " libtoolize: $($LIBTOOLIZE --version | head -1)" +echo " bison: $(bison --version | head -1)" + +rm -rf autom4te.cache + +set -e +po/update-potfiles +autopoint_fun --force $AP_OPTS +if ! grep -q datarootdir po/Makefile.in.in; then + echo autopoint does not honor dataroot variable, patching. + sed -i -e 's/^datadir *=\(.*\)/datarootdir = @datarootdir@\ +datadir = @datadir@/g' po/Makefile.in.in +fi +$LIBTOOLIZE --force $LT_OPTS +aclocal -I m4 $AL_OPTS +autoconf $AC_OPTS +autoheader $AH_OPTS + +automake --add-missing $AM_OPTS + +cd "$THEDIR" + +echo +echo "Now type '$srcdir/configure' and 'make' to compile." +echo + + diff --git a/bash-completion/Makemodule.am b/bash-completion/Makemodule.am new file mode 100644 index 0000000..61f298a --- /dev/null +++ b/bash-completion/Makemodule.am @@ -0,0 +1,321 @@ +if BUILD_BASH_COMPLETION + +if BUILD_BLKID +dist_bashcompletion_DATA += bash-completion/blkid +endif +if BUILD_CAL +dist_bashcompletion_DATA += bash-completion/cal +endif +if BUILD_COL +dist_bashcompletion_DATA += bash-completion/col +endif +if BUILD_COLCRT +dist_bashcompletion_DATA += bash-completion/colcrt +endif +if BUILD_COLRM +dist_bashcompletion_DATA += bash-completion/colrm +endif +if BUILD_COLUMN +dist_bashcompletion_DATA += bash-completion/column +endif +if BUILD_FINCORE +dist_bashcompletion_DATA += bash-completion/fincore +endif +if BUILD_FINDFS +dist_bashcompletion_DATA += bash-completion/findfs +endif +if BUILD_FINDMNT +dist_bashcompletion_DATA += bash-completion/findmnt +endif +if BUILD_FLOCK +dist_bashcompletion_DATA += bash-completion/flock +endif +if BUILD_GETOPT +dist_bashcompletion_DATA += bash-completion/getopt +endif +if BUILD_HEXDUMP +dist_bashcompletion_DATA += bash-completion/hexdump +endif +if BUILD_IPCMK +dist_bashcompletion_DATA += bash-completion/ipcmk +endif +if BUILD_IPCRM +dist_bashcompletion_DATA += bash-completion/ipcrm +endif +if BUILD_IPCS +dist_bashcompletion_DATA += bash-completion/ipcs +endif +if BUILD_ISOSIZE +dist_bashcompletion_DATA += bash-completion/isosize +endif +if BUILD_LOGGER +dist_bashcompletion_DATA += bash-completion/logger +endif +if BUILD_LOOK +dist_bashcompletion_DATA += bash-completion/look +endif +if BUILD_LSIPC +dist_bashcompletion_DATA += bash-completion/lsipc +endif +if BUILD_LSNS +dist_bashcompletion_DATA += bash-completion/lsns +endif +if BUILD_MCOOKIE +dist_bashcompletion_DATA += bash-completion/mcookie +endif +if BUILD_MKFS +dist_bashcompletion_DATA += bash-completion/mkfs +endif +if BUILD_MKSWAP +dist_bashcompletion_DATA += bash-completion/mkswap +endif +if BUILD_NAMEI +dist_bashcompletion_DATA += bash-completion/namei +endif +if BUILD_PRLIMIT +dist_bashcompletion_DATA += bash-completion/prlimit +endif +if BUILD_READPROFILE +dist_bashcompletion_DATA += bash-completion/readprofile +endif +if BUILD_RENICE +dist_bashcompletion_DATA += bash-completion/renice +endif +if BUILD_REV +dist_bashcompletion_DATA += bash-completion/rev +endif +if BUILD_SCRIPT +dist_bashcompletion_DATA += bash-completion/script +endif +if BUILD_SCRIPTREPLAY +dist_bashcompletion_DATA += bash-completion/scriptreplay +endif +if BUILD_SETSID +dist_bashcompletion_DATA += bash-completion/setsid +endif +if BUILD_WHEREIS +dist_bashcompletion_DATA += bash-completion/whereis +endif +if BUILD_WIPEFS +dist_bashcompletion_DATA += bash-completion/wipefs +endif +if BUILD_FSCK +dist_bashcompletion_DATA += bash-completion/fsck +endif + +if BUILD_BFS +dist_bashcompletion_DATA += bash-completion/mkfs.bfs +endif + +if BUILD_MINIX +dist_bashcompletion_DATA += \ + bash-completion/fsck.minix \ + bash-completion/mkfs.minix +endif + +if BUILD_CRAMFS +dist_bashcompletion_DATA += \ + bash-completion/fsck.cramfs \ + bash-completion/mkfs.cramfs +endif +if BUILD_PARTX +dist_bashcompletion_DATA += \ + bash-completion/addpart \ + bash-completion/delpart \ + bash-completion/resizepart \ + bash-completion/partx +endif +if BUILD_RAW +dist_bashcompletion_DATA += bash-completion/raw +endif +if BUILD_SWAPLABEL +dist_bashcompletion_DATA += bash-completion/swaplabel +endif +if BUILD_FDFORMAT +dist_bashcompletion_DATA += bash-completion/fdformat +endif +if BUILD_BLOCKDEV +dist_bashcompletion_DATA += bash-completion/blockdev +endif + +if BUILD_FDISK +dist_bashcompletion_DATA += bash-completion/fdisk +endif +if BUILD_SFDISK +dist_bashcompletion_DATA += bash-completion/sfdisk +endif +if BUILD_CFDISK +dist_bashcompletion_DATA += bash-completion/cfdisk +endif + +if BUILD_CHFN_CHSH +dist_bashcompletion_DATA += \ + bash-completion/chfn \ + bash-completion/chsh +endif +if BUILD_LAST +dist_bashcompletion_DATA += bash-completion/last +endif +if BUILD_LSLOGINS +dist_bashcompletion_DATA += bash-completion/lslogins +endif +if BUILD_NEWGRP +dist_bashcompletion_DATA += bash-completion/newgrp +endif + +if BUILD_SU +dist_bashcompletion_DATA += bash-completion/su +endif + +if BUILD_RUNUSER +install-data-hook-bashcomp-runuser:: +if BUILD_SU + ln -sf su $(DESTDIR)$(bashcompletiondir)/runuser +else + cp $(top_srcdir)/bash-completion/su $(DESTDIR)$(bashcompletiondir)/runuser +endif +INSTALL_DATA_HOOKS += install-data-hook-bashcomp-runuser +endif + +if BUILD_UTMPDUMP +dist_bashcompletion_DATA += bash-completion/utmpdump +endif +if BUILD_LIBUUID +dist_bashcompletion_DATA += bash-completion/uuidgen +endif +if BUILD_UUIDPARSE +dist_bashcompletion_DATA += bash-completion/uuidparse +endif +if BUILD_UUIDD +dist_bashcompletion_DATA += bash-completion/uuidd +endif +if BUILD_LSBLK +dist_bashcompletion_DATA += bash-completion/lsblk +endif +if BUILD_LSLOCKS +dist_bashcompletion_DATA += bash-completion/lslocks +endif +if BUILD_RENAME +dist_bashcompletion_DATA += bash-completion/rename +endif +if BUILD_CHRT +dist_bashcompletion_DATA += bash-completion/chrt +endif +if BUILD_IONICE +dist_bashcompletion_DATA += bash-completion/ionice +endif +if BUILD_TASKSET +dist_bashcompletion_DATA += bash-completion/taskset +endif + +if BUILD_CHCPU +dist_bashcompletion_DATA += bash-completion/chcpu +endif +if BUILD_CHMEM +dist_bashcompletion_DATA += bash-completion/chmem +endif +if BUILD_EJECT +dist_bashcompletion_DATA += bash-completion/eject +endif +if BUILD_FALLOCATE +dist_bashcompletion_DATA += bash-completion/fallocate +endif +if BUILD_HWCLOCK +dist_bashcompletion_DATA += bash-completion/hwclock +endif +if BUILD_TUNELP +dist_bashcompletion_DATA += bash-completion/tunelp +endif +if BUILD_LSCPU +dist_bashcompletion_DATA += bash-completion/lscpu +endif +if BUILD_LSMEM +dist_bashcompletion_DATA += bash-completion/lsmem +endif +if BUILD_LOSETUP +dist_bashcompletion_DATA += bash-completion/losetup +endif +if BUILD_MOUNT +dist_bashcompletion_DATA += bash-completion/mount +dist_bashcompletion_DATA += bash-completion/umount +endif +if BUILD_MOUNTPOINT +dist_bashcompletion_DATA += bash-completion/mountpoint +endif +if BUILD_NSENTER +dist_bashcompletion_DATA += bash-completion/nsenter +endif +if BUILD_PIVOT_ROOT +dist_bashcompletion_DATA += bash-completion/pivot_root +endif +if BUILD_SETPRIV +dist_bashcompletion_DATA += bash-completion/setpriv +endif +if BUILD_SWAPON +dist_bashcompletion_DATA += bash-completion/swapon +dist_bashcompletion_DATA += bash-completion/swapoff +endif +if BUILD_UNSHARE +dist_bashcompletion_DATA += bash-completion/unshare +endif +if BUILD_WDCTL +dist_bashcompletion_DATA += bash-completion/wdctl +endif +if BUILD_BLKDISCARD +dist_bashcompletion_DATA += bash-completion/blkdiscard +endif +if BUILD_BLKZONE +dist_bashcompletion_DATA += bash-completion/blkzone +endif +if BUILD_CTRLALTDEL +dist_bashcompletion_DATA += bash-completion/ctrlaltdel +endif +if BUILD_DMESG +dist_bashcompletion_DATA += bash-completion/dmesg +endif +if BUILD_FSFREEZE +dist_bashcompletion_DATA += bash-completion/fsfreeze +endif +if BUILD_FSTRIM +dist_bashcompletion_DATA += bash-completion/fstrim +endif +if BUILD_LDATTACH +dist_bashcompletion_DATA += bash-completion/ldattach +endif +if BUILD_RFKILL +dist_bashcompletion_DATA += bash-completion/rfkill +endif +if BUILD_RTCWAKE +dist_bashcompletion_DATA += bash-completion/rtcwake +endif +if BUILD_SETARCH +dist_bashcompletion_DATA += bash-completion/setarch +endif +if BUILD_ZRAMCTL +dist_bashcompletion_DATA += bash-completion/zramctl +endif + +if BUILD_MESG +dist_bashcompletion_DATA += bash-completion/mesg +endif +if BUILD_WALL +dist_bashcompletion_DATA += bash-completion/wall +endif +if BUILD_WRITE +dist_bashcompletion_DATA += bash-completion/write +endif +if BUILD_SETTERM +dist_bashcompletion_DATA += bash-completion/setterm +endif + +if BUILD_MORE +dist_bashcompletion_DATA += bash-completion/more +endif +if BUILD_PG +dist_bashcompletion_DATA += bash-completion/pg +endif +if BUILD_UL +dist_bashcompletion_DATA += bash-completion/ul +endif + +endif # BUILD_BASH_COMPLETION diff --git a/bash-completion/addpart b/bash-completion/addpart new file mode 100644 index 0000000..3179639 --- /dev/null +++ b/bash-completion/addpart @@ -0,0 +1,23 @@ +_addpart_module() +{ + local cur + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + case $COMP_CWORD in + 1) + OPTS="--help --version $(lsblk -pnro name)" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + ;; + 2) + # FIXME: how to determine next free partition number + ;; + 3) + COMPREPLY=( $(compgen -W "start" -- $cur) ) + ;; + 4) + COMPREPLY=( $(compgen -W "length" -- $cur) ) + ;; + esac + return 0 +} +complete -F _addpart_module addpart diff --git a/bash-completion/blkdiscard b/bash-completion/blkdiscard new file mode 100644 index 0000000..64a5c34 --- /dev/null +++ b/bash-completion/blkdiscard @@ -0,0 +1,35 @@ +_blkdiscard_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-o'|'--offset'|'-l'|'--length'|'-p'|'--step') + COMPREPLY=( $(compgen -W "num" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS=" + --offset + --length + --step + --secure + --zeroout + --verbose + --help + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) ) + return 0 +} +complete -F _blkdiscard_module blkdiscard diff --git a/bash-completion/blkid b/bash-completion/blkid new file mode 100644 index 0000000..57b34c3 --- /dev/null +++ b/bash-completion/blkid @@ -0,0 +1,98 @@ +_blkid_module() +{ + local cur prev OPTS OUTPUT_ALL + OUTPUT_ALL='' + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-c'|'--cache-file') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 + ;; + '-o'|'--output') + COMPREPLY=( $(compgen -W "value device export full" -- $cur) ) + return 0 + ;; + '-s'|'--match-tag') + COMPREPLY=( $(compgen -W "tag" -- $cur) ) + return 0 + ;; + '-t'|'--match-token') + COMPREPLY=( $(compgen -W "TYPE= LABEL= UUID=" -- $cur) ) + return 0 + ;; + '-L'|'--label') + COMPREPLY=( $(compgen -W "$(cd /dev/disk/by-label/ 2>/dev/null && echo *)" -- $cur) ) + return 0 + ;; + '-U'|'--uuid') + COMPREPLY=( $(compgen -W "$(cd /dev/disk/by-uuid/ 2>/dev/null && echo *)" -- $cur) ) + return 0 + ;; + '-S'|'--size') + COMPREPLY=( $(compgen -W "size" -- $cur) ) + return 0 + ;; + '-O'|'--offset') + COMPREPLY=( $(compgen -W "offset" -- $cur) ) + return 0 + ;; + '-u'|'--usages') + OUTPUT_ALL={,no}{filesystem,raid,crypto,other} + ;; + '-n'|'--match-types') + OUTPUT_ALL=" + $(awk '{print $NF}' /proc/filesystems) + $(\ls /lib/modules/$(uname -r)/kernel/fs) + " + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + if [ -n "$OUTPUT_ALL" ]; then + local prefix realcur OUTPUT_ALL OUTPUT + realcur="${cur##*,}" + prefix="${cur%$realcur}" + for WORD in $OUTPUT_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + OUTPUT="$WORD ${OUTPUT:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- "$realcur") ) + return 0 + fi + case $cur in + -*) + OPTS=" + --cache-file + --no-encoding + --garbage-collect + --output + --list-filesystems + --match-tag + --match-token + --list-one + --label + --uuid + --probe + --info + --size + --offset + --usages + --match-types + --help + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) ) + return 0 +} +complete -F _blkid_module blkid diff --git a/bash-completion/blkzone b/bash-completion/blkzone new file mode 100755 index 0000000..a50684d --- /dev/null +++ b/bash-completion/blkzone @@ -0,0 +1,52 @@ +_blkzone_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-o'|'--offset') + COMPREPLY=( $(compgen -W "sector" -- $cur) ) + return 0 + ;; + '-l'|'--length') + COMPREPLY=( $(compgen -W "size" -- $cur) ) + return 0 + ;; + '-c'|'--count') + COMPREPLY=( $(compgen -W "number" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + case $prev in + 'report'|'reset') + OPTS="--verbose --offset --length --count" + ;; + *) + OPTS="--help --version" + ;; + esac + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + *) + case $prev in + 'report'|'reset') + ;; + *) + OPTS="report reset" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + ;; + esac + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) ) + return 0 +} +complete -F _blkzone_module blkzone diff --git a/bash-completion/blockdev b/bash-completion/blockdev new file mode 100644 index 0000000..e7aca26 --- /dev/null +++ b/bash-completion/blockdev @@ -0,0 +1,44 @@ +_blockdev_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + DEVS="$(lsblk -pnro name)" + OPTS="-h -V -q + --report + --getsz + --setro + --setrw + --getro + --getdiscardzeroes + --getss + --getpbsz + --getiomin + --getioopt + --getalignoff + --getmaxsect + --getbsz + --setbsz + --getsize64 + --setra + --getra + --setfra + --getfra + --flushbufs + --rereadpt + $DEVS" + case $prev in + '--setbsz') + COMPREPLY=( $(compgen -W "bytes" -- $cur) ) + return 0 + ;; + '--setra'|'--setfra') + COMPREPLY=( $(compgen -W "sectors" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 +} +complete -F _blockdev_module blockdev diff --git a/bash-completion/cal b/bash-completion/cal new file mode 100644 index 0000000..e627bdb --- /dev/null +++ b/bash-completion/cal @@ -0,0 +1,29 @@ +_cal_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + case $cur in + -*) + OPTS=" --one + --three + --months + --sunday + --span + --monday + --julian + --year + --twelve + --week + --color=auto + --color=always + --color=never + --version + --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + return 0 +} +complete -F _cal_module cal diff --git a/bash-completion/cfdisk b/bash-completion/cfdisk new file mode 100644 index 0000000..8921fa3 --- /dev/null +++ b/bash-completion/cfdisk @@ -0,0 +1,29 @@ +_cfdisk_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-L'|'--color') + COMPREPLY=( $(compgen -W "auto never always" -- $cur) ) + return 0 + ;; + '-V'|'--version'|'h'|'--help') + return 0 + ;; + esac + case $cur in + -*) + OPTS=" --color + --zero + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) ) + return 0 +} +complete -F _cfdisk_module cfdisk diff --git a/bash-completion/chcpu b/bash-completion/chcpu new file mode 100644 index 0000000..0d96c25 --- /dev/null +++ b/bash-completion/chcpu @@ -0,0 +1,59 @@ +_chcpu_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-e'|'--enable') + local prefix realcur CPULIST_ALL CPULIST + realcur="${cur##*,}" + prefix="${cur%$realcur}" + CPULIST_ALL=$(sed 's/^/{/; s/-/../g; s/,/} {/g; s/$/}/' /sys/devices/system/cpu/offline) + for WORD in $(eval echo $CPULIST_ALL); do + if ! [[ $prefix == *"$WORD"* ]]; then + CPULIST="$WORD ${CPULIST:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$CPULIST" -S ',' -- $realcur) ) + return 0 + ;; + '-d'|'--disable') + local prefix realcur CPULIST_ALL CPULIST + realcur="${cur##*,}" + prefix="${cur%$realcur}" + CPULIST_ALL=$(sed 's/^/{/; s/-/../g; s/,/} {/g; s/$/}/' /sys/devices/system/cpu/online) + for WORD in $(eval echo $CPULIST_ALL); do + if ! [[ $prefix == *"$WORD"* ]]; then + CPULIST="$WORD ${CPULIST:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$CPULIST" -S ',' -- $realcur) ) + return 0 + ;; + '-c'|'--configure'|'-g'|'--deconfigure') + COMPREPLY=( $(compgen -W "cpu-list" -- $cur) ) + return 0 + ;; + '-p'|'--dispatch') + COMPREPLY=( $(compgen -W "horizontal vertical" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + OPTS="--help + --enable + --disable + --configure + --deconfigure + --dispatch + --rescan + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 +} +complete -F _chcpu_module chcpu diff --git a/bash-completion/chfn b/bash-completion/chfn new file mode 100644 index 0000000..1ca0f72 --- /dev/null +++ b/bash-completion/chfn @@ -0,0 +1,22 @@ +_chfn_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-u'|'--help'|'-v'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--full-name --office --office-phone --home-phone --help --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -u -- $cur) ) + return 0 +} +complete -F _chfn_module chfn diff --git a/bash-completion/chmem b/bash-completion/chmem new file mode 100644 index 0000000..3e3af87 --- /dev/null +++ b/bash-completion/chmem @@ -0,0 +1,30 @@ +_chmem_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS=" + --enable + --disable + --blocks + --verbose + --zone + --help + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "size range blockrange" -- $cur) ) + return 0 +} +complete -F _chmem_module chmem diff --git a/bash-completion/chrt b/bash-completion/chrt new file mode 100644 index 0000000..ce0b915 --- /dev/null +++ b/bash-completion/chrt @@ -0,0 +1,52 @@ +_chrt_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + '-T'|'--sched-runtime'|'-P'|'--sched-period'|'-D'|'--sched-deadline') + COMPREPLY=( $(compgen -W "nanoseconds" -- $cur) ) + return 0 + ;; + esac + case $cur in + -*) + OPTS=" + --all-tasks + --batch + --deadline + --fifo + --help + --idle + --max + --other + --pid + --reset-on-fork + --rr + --sched-deadline + --sched-period + --sched-runtime + --verbose + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local i + for i in ${COMP_WORDS[*]}; do + case $i in + '-p'|'--pid') + COMPREPLY=( $(compgen -W "$(cd /proc && echo [0-9]*)" -- $cur) ) + return 0 + ;; + esac + done + COMPREPLY=( $(compgen -c -- $cur) ) + return 0 +} +complete -F _chrt_module chrt diff --git a/bash-completion/chsh b/bash-completion/chsh new file mode 100644 index 0000000..fbf8add --- /dev/null +++ b/bash-completion/chsh @@ -0,0 +1,26 @@ +_chsh_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-s'|'--shell') + COMPREPLY=( $(compgen -W "$($1 -l)" -- $cur) ) + return 0 + ;; + '-u'|'--help'|'-v'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--shell --list-shells --version --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -u -- $cur) ) + return 0 +} +complete -F _chsh_module chsh diff --git a/bash-completion/col b/bash-completion/col new file mode 100644 index 0000000..cea57b5 --- /dev/null +++ b/bash-completion/col @@ -0,0 +1,27 @@ +_col_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-l'|'--lines') + COMPREPLY=( $(compgen -W "number" -- $cur) ) + return 0 + ;; + '-H'|'--help'|'-V'|'--version') + return 0 + ;; + esac + OPTS="--no-backspaces + --fine + --pass + --tabs + --spaces + --lines + --version + --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 +} +complete -F _col_module col diff --git a/bash-completion/colcrt b/bash-completion/colcrt new file mode 100644 index 0000000..c66d7e6 --- /dev/null +++ b/bash-completion/colcrt @@ -0,0 +1,27 @@ +_colcrt_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS=" --no-underlining + --half-lines + --version + --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _colcrt_module colcrt diff --git a/bash-completion/colrm b/bash-completion/colrm new file mode 100644 index 0000000..622dbaa --- /dev/null +++ b/bash-completion/colrm @@ -0,0 +1,29 @@ +_colrm_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--version --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + case $COMP_CWORD in + 1) + COMPREPLY=( $(compgen -W "startcol" -- $cur) ) + ;; + 2) + COMPREPLY=( $(compgen -W "endcol" -- $cur) ) + ;; + esac + return 0 +} +complete -F _colrm_module colrm diff --git a/bash-completion/column b/bash-completion/column new file mode 100644 index 0000000..c5a998b --- /dev/null +++ b/bash-completion/column @@ -0,0 +1,62 @@ +_column_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-c'|'--output-width') + COMPREPLY=( $(compgen -W "number" -- $cur) ) + return 0 + ;; + '-s'|'--separator'|'-o'|'--output-separator'|'-n'|'--table-name'|'-O') + COMPREPLY=( $(compgen -W "string" -- $cur) ) + return 0 + ;; + '-O'|'--table-order'|'-N'|'--table-columns'|'-E'|'--table-noextreme'|'-H'|'--table-hide'|'-R'|'--table-right'|'-T'|'--table-truncate'|'-W'|'--table-wrap') + COMPREPLY=( $(compgen -W "string" -- $cur) ) + return 0 + ;; + '-r'|'--tree'|'-i'|'--tree-id'|'-p'|'--tree-parent') + COMPREPLY=( $(compgen -W "string" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--columns + --table + --table-name + --table-order + --table-columns + --table-noextreme + --table-noheadings + --table-header-repeat + --table-hide + --table-right + --table-truncate + --table-wrap + --table-empty-lines + --json + --tree + --tree-id + --tree-parent + --output-width + --separator + --output-separator + --fillrows + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _column_module column diff --git a/bash-completion/ctrlaltdel b/bash-completion/ctrlaltdel new file mode 100644 index 0000000..bc8a943 --- /dev/null +++ b/bash-completion/ctrlaltdel @@ -0,0 +1,17 @@ +_ctrlaltdel_module() +{ + local cur prev + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + if [ $COMP_CWORD -eq 1 ]; then + COMPREPLY=( $(compgen -W "hard soft" -- $cur) ) + fi + return 0 +} +complete -F _ctrlaltdel_module ctrlaltdel diff --git a/bash-completion/delpart b/bash-completion/delpart new file mode 100644 index 0000000..d5a92ef --- /dev/null +++ b/bash-completion/delpart @@ -0,0 +1,24 @@ +_delpart_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $COMP_CWORD in + 1) + OPTS="--help --version $(lsblk -pnro name)" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + ;; + 2) + prev="${COMP_WORDS[COMP_CWORD-1]}" + COMPREPLY=( $(compgen -W "$(cat /sys/block/${prev##*/}/*/partition 2>/dev/null)" -- $cur) ) + ;; + esac + return 0 +} +complete -F _delpart_module delpart diff --git a/bash-completion/dmesg b/bash-completion/dmesg new file mode 100644 index 0000000..5073e5b --- /dev/null +++ b/bash-completion/dmesg @@ -0,0 +1,63 @@ + +_dmesg_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-F'|'--file') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 + ;; + '-f'|'--facility') + COMPREPLY=( $(compgen -W "kern user mail daemon auth syslog lpr news" -- $cur) ) + return 0 + ;; + '-l'|'--level'|'-n'|'--console-level') + COMPREPLY=( $(compgen -W "emerg alert crit err warn notice info debug" -- $cur) ) + return 0 + ;; + '-s'|'--buffer-size') + COMPREPLY=( $(compgen -W "size" -- $cur) ) + return 0 + ;; + '--time-format') + COMPREPLY=( $(compgen -W "delta reltime ctime notime iso" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + OPTS="--clear + --read-clear + --console-off + --show-delta + --reltime + --console-on + --file + --facility + --human + --kernel + --color + --level + --console-level + --nopager + --raw + --syslog + --buffer-size + --ctime + --notime + --time-format + --userspace + --follow + --decode + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 +} +complete -F _dmesg_module dmesg diff --git a/bash-completion/eject b/bash-completion/eject new file mode 100644 index 0000000..327ef1b --- /dev/null +++ b/bash-completion/eject @@ -0,0 +1,64 @@ +_eject_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-a'|'--auto'|'-i'|'--manualeject') + COMPREPLY=( $(compgen -W "off on" -- $cur) ) + return 0 + ;; + '-c'|'--changerslot') + # FIXME: there must be way to determine slots + COMPREPLY=( $(compgen -W "slot" -- $cur) ) + return 0 + ;; + '-x'|'--cdspeed') + COMPREPLY=( $(compgen -W "$(eject --listspeed 2>/dev/null)" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--auto + --changerslot + --default + --floppy + --force + --manualeject + --no-unmount + --no-partitions-unmount + --noop + --proc + --tape + --cdrom + --scsi + --trayclose + --traytoggle + --verbose + --cdspeed + --listspeed + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local DEVS + DEVS="$(for I in /sys/class/block/*/removable; do + if [ $(cat $I) -ne 0 ]; then + OLD_IFS=$IFS + IFS='/'; + ARR=($I) + echo "/dev/${ARR[4]}" + IFS=$OLD_IFS + fi + done)" + COMPREPLY=( $(compgen -W "$DEVS" $cur) ) + return 0 +} +complete -F _eject_module eject diff --git a/bash-completion/fallocate b/bash-completion/fallocate new file mode 100644 index 0000000..670874c --- /dev/null +++ b/bash-completion/fallocate @@ -0,0 +1,41 @@ +_fallocate_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-o'|'--offset'|'-l'|'--length') + COMPREPLY=( $(compgen -W "bytes" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS=" + --collapse-range + --dig-holes + --insert-range + --length + --keep-size + --offset + --punch-hole + --zero-range + --posix + --verbose + --help + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _fallocate_module fallocate diff --git a/bash-completion/fdformat b/bash-completion/fdformat new file mode 100644 index 0000000..09cb0a2 --- /dev/null +++ b/bash-completion/fdformat @@ -0,0 +1,29 @@ +_fdformat_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-f'|'--from'|'-t'|'--to'|'-r'|'--repair') + COMPREPLY=( $(compgen -W "track_num" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + DEVS=$(for I in echo /dev/fd*; do if [ -e $I ]; then echo $I; fi; done) + OPTS=" + --from + --to + --repair + --no-verify + --help + --version + $DEVS + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 +} +complete -F _fdformat_module fdformat diff --git a/bash-completion/fdisk b/bash-completion/fdisk new file mode 100644 index 0000000..855de14 --- /dev/null +++ b/bash-completion/fdisk @@ -0,0 +1,97 @@ +_fdisk_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-s'|'--getsz') + COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) ) + return 0 + ;; + '-b'|'--sector-size') + COMPREPLY=( $(compgen -W "512 1024 2048 4096" -- $cur) ) + return 0 + ;; + '-c'|'--compatibility') + COMPREPLY=( $(compgen -W "dos nondos" -- $cur) ) + return 0 + ;; + '-L'|'--color') + COMPREPLY=( $(compgen -W "auto never always" -- $cur) ) + return 0 + ;; + '--output') + local prefix realcur OUTPUT_ALL OUTPUT + realcur="${cur##*,}" + prefix="${cur%$realcur}" + OUTPUT_ALL=" + Attrs + Boot + Bsize + Cpg + Cylinders + Device + End + End-C/H/S + Flags + Fsize + Id + Name + Sectors + Size + Slice + Start + Start-C/H/S + Type + Type-UUID + UUID + " + for WORD in $OUTPUT_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + OUTPUT="$WORD ${OUTPUT:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- "$realcur") ) + return 0 + ;; + '-u'|'--units') + COMPREPLY=( $(compgen -W "cylinders sectors" -- $cur) ) + return 0 + ;; + '-C'|'--cylinders'|'-H'|'--heads'|'-S'|'--sectors') + COMPREPLY=( $(compgen -W "number" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-v'|'--version'|'-V'|'--list') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--sector-size + --protect-boot + --compatibility + --color + --list + --output + --type + --units + --getsz + --bytes + --wipe + --wipe-partitions + --cylinders + --heads + --sectors + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) ) + return 0 +} +complete -F _fdisk_module fdisk diff --git a/bash-completion/fincore b/bash-completion/fincore new file mode 100644 index 0000000..3639763 --- /dev/null +++ b/bash-completion/fincore @@ -0,0 +1,46 @@ +_fincore_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-o'|'--output') + local prefix realcur OUTPUT_ALL OUTPUT + realcur="${cur##*,}" + prefix="${cur%$realcur}" + OUTPUT_ALL='PAGES SIZE FILE RES' + for WORD in $OUTPUT_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + OUTPUT="$WORD ${OUTPUT:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- "$realcur") ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS=" + --json + --bytes + --noheadings + --output + --raw + --help + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- ${cur:-"/"}) ) + return 0 +} +complete -F _fincore_module fincore diff --git a/bash-completion/findfs b/bash-completion/findfs new file mode 100644 index 0000000..5297b86 --- /dev/null +++ b/bash-completion/findfs @@ -0,0 +1,34 @@ +_findfs_module() +{ + local cur prev OPTS findable + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--version --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + for i in $(lsblk -rpno label); do + findable+=" LABEL=$i" + done + for i in $(lsblk -rpno uuid); do + findable+=" UUID=$i" + done + for i in $(lsblk -rpno partlabel); do + findable+=" PARTLABEL=$i" + done + for i in $(lsblk -rpno partuuid); do + findable+=" PARTUUID=$i" + done + COMPREPLY=( $(compgen -W "$findable" -- $cur) ) + return 0 +} +complete -F _findfs_module findfs diff --git a/bash-completion/findmnt b/bash-completion/findmnt new file mode 100644 index 0000000..7270d36 --- /dev/null +++ b/bash-completion/findmnt @@ -0,0 +1,144 @@ +_findmnt_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-p'|'--poll') + COMPREPLY=( $(compgen -W "=list" -- $cur) ) + return 0 + ;; + '-w'|'--timeout') + COMPREPLY=( $(compgen -W "timeout" -- $cur) ) + return 0 + ;; + '-d'|'--direction') + COMPREPLY=( $(compgen -W "forward backward" -- $cur) ) + return 0 + ;; + '-F'|'--tab-file') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 + ;; + '-N'|'--task') + local TID='' I ARR + for I in /proc/*/mountinfo; do IFS=/ read -ra ARR <<< "$I"; TID+="${ARR[2]} "; done + COMPREPLY=( $(compgen -W "$TID" -- $cur) ) + return 0 + ;; + '-O'|'--options') + local MTAB_3RD I + declare -a TMP_ARR + declare -A MNT_OPTS + while read MTAB_3RD; do + IFS=',' read -ra TMP_ARR <<<"$MTAB_3RD" + for I in ${TMP_ARR[@]}; do + MNT_OPTS[$I]='1' + done + done < <($1 -rno OPTIONS) + COMPREPLY=( $(compgen -W "${!MNT_OPTS[@]}" -- $cur) ) + return 0 + ;; + '-o'|'--output') + local prefix realcur OUTPUT_ALL OUTPUT + realcur="${cur##*,}" + prefix="${cur%$realcur}" + + OUTPUT_ALL="SOURCE TARGET FSTYPE OPTIONS VFS-OPTIONS + FS-OPTIONS LABEL UUID PARTLABEL PARTUUID + MAJ\:MIN ACTION OLD-TARGET OLD-OPTIONS + SIZE AVAIL USED USE% FSROOT TID ID + OPT-FIELDS PROPAGATION FREQ PASSNO" + + for WORD in $OUTPUT_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + OUTPUT="$WORD ${OUTPUT:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- $realcur) ) + return 0 + ;; + '-t'|'--types') + local TYPES + TYPES="adfs affs autofs cifs coda coherent cramfs + debugfs devpts efs ext2 ext3 ext4 hfs + hfsplus hpfs iso9660 jfs minix msdos + ncpfs nfs nfs4 ntfs proc qnx4 ramfs + reiserfs romfs squashfs smbfs sysv tmpfs + ubifs udf ufs umsdos usbfs vfat xenix xfs" + COMPREPLY=( $(compgen -W "$TYPES" -- $cur) ) + return 0 + ;; + '-S'|'--source') + local DEV_MPOINT + DEV_MPOINT=$($1 -rno SOURCE | grep ^/dev) + COMPREPLY=( $(compgen -W "$DEV_MPOINT" -- $cur) ) + return 0 + ;; + '-T'|'--target') + local DEV_MPOINT + DEV_MPOINT=$($1 -rno TARGET) + COMPREPLY=( $(compgen -W "$DEV_MPOINT" -- $cur) ) + return 0 + ;; + '-M'|'--mountpoint') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -o dirnames -- ${cur:-"/"}) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--fstab + --mtab + --kernel + --poll + --timeout + --all + --ascii + --canonicalize + --df + --direction + --evaluate + --tab-file + --first-only + --invert + --json + --list + --task + --noheadings + --notruncate + --options + --output + --output-all + --pairs + --raw + --types + --nofsroot + --submounts + --source + --target + --mountpoint + --help + --tree + --real + --pseudo + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local DEV_MPOINT + DEV_MPOINT=$($1 -rno TARGET,SOURCE) + COMPREPLY=( $(compgen -W "$DEV_MPOINT" -- $cur) ) + return 0 +} +complete -F _findmnt_module findmnt diff --git a/bash-completion/flock b/bash-completion/flock new file mode 100644 index 0000000..cb68245 --- /dev/null +++ b/bash-completion/flock @@ -0,0 +1,47 @@ +_flock_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-w'|'--timeout') + COMPREPLY=( $(compgen -W "seconds" -- $cur) ) + return 0 + ;; + '-E'|'--conflict-exit-code') + COMPREPLY=( $(compgen -W "{0..255}" -- $cur) ) + return 0 + ;; + '-c'|'--command') + compopt -o bashdefault + COMPREPLY=( $(compgen -c -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--shared + --exclusive + --unlock + --nonblock + --timeout + --conflict-exit-code + --close + --command + --no-fork + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- ${cur:-"/"}) ) + return 0 +} +complete -F _flock_module flock diff --git a/bash-completion/fsck b/bash-completion/fsck new file mode 100644 index 0000000..e5b4f53 --- /dev/null +++ b/bash-completion/fsck @@ -0,0 +1,39 @@ +_fsck_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-b') + COMPREPLY=( $(compgen -W "superblock" -- $cur) ) + return 0 + ;; + '-B') + COMPREPLY=( $(compgen -W "blocksize" -- $cur) ) + return 0 + ;; + '-j') + COMPREPLY=( $(compgen -W "external_journal" -- $cur) ) + return 0 + ;; + '-l'|'-L') + COMPREPLY=( $(compgen -W "bad_blocks_file" -- $cur) ) + return 0 + ;; + '-?') + return 0 + ;; + esac + case $cur in + -*) + OPTS="-p -n -y -c -f -v -b -B -j -l -L" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "$(find -L /dev/ -path /dev/fd -prune \ + -o -type b -print 2>/dev/null)" -- $cur) ) + return 0 +} +complete -F _fsck_module fsck diff --git a/bash-completion/fsck.cramfs b/bash-completion/fsck.cramfs new file mode 100644 index 0000000..d17d2fe --- /dev/null +++ b/bash-completion/fsck.cramfs @@ -0,0 +1,33 @@ +_fsck.cramfs_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-b'|'--blocksize') + COMPREPLY=( $(compgen -W "size" -- $cur) ) + return 0 + ;; + '--extract') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -o dirnames -- ${cur:-"/"}) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + COMPREPLY=( $(compgen -W "--verbose --blocksize --extract --help --version" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _fsck.cramfs_module fsck.cramfs diff --git a/bash-completion/fsck.minix b/bash-completion/fsck.minix new file mode 100644 index 0000000..ac4571e --- /dev/null +++ b/bash-completion/fsck.minix @@ -0,0 +1,16 @@ +_fsck.minix_module() +{ + local cur OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + case $cur in + -*) + OPTS="--list --auto --repair --verbose --super --uncleared --force --help --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) ) + return 0 +} +complete -F _fsck.minix_module fsck.minix diff --git a/bash-completion/fsfreeze b/bash-completion/fsfreeze new file mode 100644 index 0000000..05bd68e --- /dev/null +++ b/bash-completion/fsfreeze @@ -0,0 +1,24 @@ +_fsfreeze_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--freeze --unfreeze --help --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local MPOINT + MPOINT="$(findmnt -t ext2,ext3,ext4,reiserfs,jfs,xfs -o TARGET -n -r)" + COMPREPLY=( $(compgen -W "$MPOINT" -- $cur) ) + return 0 +} +complete -F _fsfreeze_module fsfreeze diff --git a/bash-completion/fstrim b/bash-completion/fstrim new file mode 100644 index 0000000..d5c1481 --- /dev/null +++ b/bash-completion/fstrim @@ -0,0 +1,36 @@ +_fstrim_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-o'|'--offset'|'-l'|'--length'|'-m'|'--minimum') + COMPREPLY=( $(compgen -W "num" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--all + --fstab + --offset + --length + --minimum + --verbose + --dry-run + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local MPOINTS + MPOINTS=$(findmnt -rno SOURCE,TARGET | awk '/^\/dev/{print $2}') + COMPREPLY=( $(compgen -W "$MPOINTS" -- $cur) ) + return 0 +} +complete -F _fstrim_module fstrim diff --git a/bash-completion/getopt b/bash-completion/getopt new file mode 100644 index 0000000..5e3fca6 --- /dev/null +++ b/bash-completion/getopt @@ -0,0 +1,37 @@ +_getopt_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-l'|'--longoptions') + COMPREPLY=( $(compgen -W "longopts" -- $cur) ) + return 0 + ;; + '-n'|'--name') + COMPREPLY=( $(compgen -W "name" -- $cur) ) + return 0 + ;; + '-o'|'--options') + COMPREPLY=( $(compgen -W "optstring" -- $cur) ) + return 0 + ;; + '-s'|'--shell') + COMPREPLY=( $(compgen -W "sh bash csh tcsh" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--alternative --help --longoptions --name --options --quiet --quiet-output --shell --test --unquoted --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + return 0 +} +complete -F _getopt_module getopt diff --git a/bash-completion/hexdump b/bash-completion/hexdump new file mode 100644 index 0000000..80b1ab6 --- /dev/null +++ b/bash-completion/hexdump @@ -0,0 +1,53 @@ +_hexdump_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-L'|'--color') + COMPREPLY=( $(compgen -W "auto never always" -- $cur) ) + return 0 + ;; + '-e'|'--format') + COMPREPLY=( $(compgen -W "format" -- $cur) ) + return 0 + ;; + '-n'|'--length') + COMPREPLY=( $(compgen -W "length" -- $cur) ) + return 0 + ;; + '-s'|'--skip') + COMPREPLY=( $(compgen -W "offset" -- $cur) ) + return 0 + ;; + '-V'|'--version'|'-h'|'--help') + return 0 + ;; + esac + case $cur in + -*) + OPTS=" --one-byte-octal + --one-byte-char + --canonical + --two-bytes-decimal + --two-bytes-octal + --two-bytes-hex + --color= + --format + --format-file + --length + --skip + --no-squeezing + --version + --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _hexdump_module hexdump diff --git a/bash-completion/hwclock b/bash-completion/hwclock new file mode 100644 index 0000000..faf29af --- /dev/null +++ b/bash-completion/hwclock @@ -0,0 +1,58 @@ +_hwclock_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-f'|'--rtc'|'--adjfile') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 + ;; + '--date'|'--delay') + COMPREPLY=( $(compgen -W "time" -- $cur) ) + return 0 + ;; + '--epoch') + COMPREPLY=( $(compgen -W "year" -- $cur) ) + return 0 + ;; + '-h'|'-?'|'--help'|'-v'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--help + --show + --get + --set + --hctosys + --systohc + --systz + --adjust + --getepoch + --setepoch + --predict + --version + --utc + --localtime + --rtc + --directisa + --date + --delay + --epoch + --update-drift + --noadjfile + --adjfile + --test + --debug" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + return 0 +} +complete -F _hwclock_module hwclock diff --git a/bash-completion/ionice b/bash-completion/ionice new file mode 100644 index 0000000..9608727 --- /dev/null +++ b/bash-completion/ionice @@ -0,0 +1,50 @@ +_ionice_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-c'|'--class') + COMPREPLY=( $(compgen -W "{0..3} none realtime best-effort idle" -- $cur) ) + return 0 + ;; + '-n'|'--classdata') + COMPREPLY=( $(compgen -W "{0..7}" -- $cur) ) + return 0 + ;; + '-P'|'--pgid') + local PGID + PGID="$(awk '{print $5}' /proc/*/stat 2>/dev/null | sort -u)" + COMPREPLY=( $(compgen -W "$PGID" -- $cur) ) + return 0 + ;; + '-p'|'--pid') + local PIDS + PIDS=$(for I in /proc/[0-9]*; do echo ${I##"/proc/"}; done) + COMPREPLY=( $(compgen -W "$PIDS" -- $cur) ) + return 0 + ;; + '-u'|'--uid') + local UIDS + UIDS="$(stat --format='%u' /proc/[0-9]* | sort -u)" + COMPREPLY=( $(compgen -W "$UIDS" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--class --classdata --pid --pgid --ignore --uid --version --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _ionice_module ionice diff --git a/bash-completion/ipcmk b/bash-completion/ipcmk new file mode 100644 index 0000000..696266c --- /dev/null +++ b/bash-completion/ipcmk @@ -0,0 +1,27 @@ +_ipcmk_module() +{ + local cur prev + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-M'|'--shmem') + COMPREPLY=( $(compgen -W "size" -- $cur) ) + return 0 + ;; + '-S'|'--semaphore') + COMPREPLY=( $(compgen -W "number" -- $cur) ) + return 0 + ;; + '-p'|'--mode') + COMPREPLY=( $(compgen -W "mode" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "--shmem --semaphore --queue --mode --help --version" -- $cur) ) + return 0 +} +complete -F _ipcmk_module ipcmk diff --git a/bash-completion/ipcrm b/bash-completion/ipcrm new file mode 100644 index 0000000..1ed03f9 --- /dev/null +++ b/bash-completion/ipcrm @@ -0,0 +1,62 @@ +_ipcrm_module() +{ + local cur prev OPTS KEYIDS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-m'|'--shmem-id') + KEYIDS="$(ipcs -m | awk '{if (3 < NR) {print $2}}')" + COMPREPLY=( $(compgen -W "$KEYIDS" -- $cur) ) + return 0 + ;; + '-M'|'--shmem-key') + KEYIDS="$(ipcs -m | awk '{if (3 < NR) {print $1}}')" + COMPREPLY=( $(compgen -W "$KEYIDS" -- $cur) ) + return 0 + ;; + '-q'|'--queue-id') + KEYIDS="$(ipcs -q | awk '{if (3 < NR) {print $2}}')" + COMPREPLY=( $(compgen -W "$KEYIDS" -- $cur) ) + return 0 + ;; + '-Q'|'--queue-key') + KEYIDS="$(ipcs -q | awk '{if (3 < NR) {print $1}}')" + COMPREPLY=( $(compgen -W "$KEYIDS" -- $cur) ) + return 0 + ;; + '-s'|'--semaphore-id') + KEYIDS="$(ipcs -s | awk '{if (3 < NR) {print $2}}')" + COMPREPLY=( $(compgen -W "$KEYIDS" -- $cur) ) + return 0 + ;; + '-S'|'--semaphore-key') + KEYIDS="$(ipcs -s | awk '{if (3 < NR) {print $1}}')" + COMPREPLY=( $(compgen -W "$KEYIDS" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + '=') + cur=${cur#=} + COMPREPLY=( $(compgen -W "shm msg sem" -- $cur) ) + return 0 + ;; + esac + OPTS=" --shmem-id + --shmem-key + --queue-id + --queue-key + --semaphore-id + --semaphore-key + --all= + --verbose + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 +} +complete -F _ipcrm_module ipcrm diff --git a/bash-completion/ipcs b/bash-completion/ipcs new file mode 100644 index 0000000..ce93e4d --- /dev/null +++ b/bash-completion/ipcs @@ -0,0 +1,33 @@ +_ipcs_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-i'|'--id') + COMPREPLY=( $(compgen -W "id" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + OPTS="--id + --help + --version + --shmems + --queues + --semaphores + --all + --time + --pid + --creator + --limits + --summary + --human + --bytes" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 +} +complete -F _ipcs_module ipcs diff --git a/bash-completion/isosize b/bash-completion/isosize new file mode 100644 index 0000000..fec2f8b --- /dev/null +++ b/bash-completion/isosize @@ -0,0 +1,27 @@ +_isosize_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-d'|'--divisor') + COMPREPLY=( $(compgen -W "number" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + COMPREPLY=( $(compgen -W "--divisor --sectors --help --version" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _isosize_module isosize diff --git a/bash-completion/last b/bash-completion/last new file mode 100644 index 0000000..fcd8021 --- /dev/null +++ b/bash-completion/last @@ -0,0 +1,53 @@ +_last_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-f'|'--file') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 + ;; + '-n'|'--limit') + COMPREPLY=( $(compgen -W "number" -- $cur) ) + return 0 + ;; + '-s'|'--since'|'-t'|'--until'|'-p'|'--present') + COMPREPLY=( $(compgen -W "number" -- $cur) ) + return 0 + ;; + '--time-format') + COMPREPLY=( $(compgen -W "notime short full iso" -- $cur) ) + return 0 + ;; + esac + case $cur in + -*) + OPTS=" + --hostlast + --dns + --file + --fulltimes + --ip + --limit + --nohostname + --since + --until + --present + --fullnames + --system + --time-format + --help + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -u -- $cur) ) + return 0 +} +complete -F _last_module last diff --git a/bash-completion/ldattach b/bash-completion/ldattach new file mode 100644 index 0000000..02b4b5b --- /dev/null +++ b/bash-completion/ldattach @@ -0,0 +1,68 @@ +_ldattach_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-s'|'--speed') + COMPREPLY=( $(compgen -W "speed" -- $cur) ) + return 0 + ;; + '-c'|'--intro-command') + COMPREPLY=( $(compgen -W "string" -- $cur) ) + return 0 + ;; + '-p'|'--pause') + COMPREPLY=( $(compgen -W "seconds" -- $cur) ) + return 0 + ;; + '-i'|'--iflag') + local IFLAGS + IFLAGS="BRKINT ICRNL IGNBRK IGNCR IGNPAR IMAXBEL + INLCR INPCK ISTRIP IUCLC IUTF8 IXANY + IXOFF IXON PARMRK + -BRKINT -ICRNL -IGNBRK -IGNCR -IGNPAR -IMAXBEL + -INLCR -INPCK -ISTRIP -IUCLC -IUTF8 -IXANY + -IXOFF -IXON -PARMRK" + COMPREPLY=( $(compgen -W "$IFLAGS" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--debug + --speed + --intro-command + --pause + --sevenbits + --eightbits + --noparity + --evenparity + --oddparity + --onestopbit + --twostopbits + --iflag + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + /*) + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 + ;; + esac + local LDISC_DEVICE + LDISC_DEVICE="6PACK AX25 GIGASET GIGASET_M101 HCI HDLC IRDA M101 + MOUSE PPP PPS R3964 SLIP STRIP SYNCPPP SYNC_PPP + TTY X25 /dev/" + COMPREPLY=( $(compgen -W "$LDISC_DEVICE" -- $cur) ) + return 0 +} +complete -F _ldattach_module ldattach diff --git a/bash-completion/logger b/bash-completion/logger new file mode 100644 index 0000000..7fb9565 --- /dev/null +++ b/bash-completion/logger @@ -0,0 +1,78 @@ +_logger_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-f'|'--file'|'--journald') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 + ;; + '-n'|'--server') + COMPREPLY=( $(compgen -A hostname -- $cur) ) + return 0 + ;; + '-P'|'--port') + COMPREPLY=( $(compgen -W "$(awk '$1 ~ /^syslog$/ {split($2, a, "/"); print a[1]}' /etc/services)" -- $cur) ) + return 0 + ;; + '-p'|'--priority') + COMPREPLY=( $(compgen -W "{auth,authpriv,cron,daemon,ftp,lpr,mail,news,security}.{alert,crit,debug,emerg,err,error}" -- $cur) ) + return 0 + ;; + '-t'|'--tag') + COMPREPLY=( $(compgen -W "tag" -- $cur) ) + return 0 + ;; + '-u'|'--socket') + COMPREPLY=( $(compgen -W "$(awk '$NF ~ /^\// {print $NF}' /proc/net/unix)" -- $cur) ) + return 0 + ;; + '--socket-errors') + COMPREPLY=( $(compgen -W "on off auto" -- $cur) ) + return 0 + ;; + '--msgid') + COMPREPLY=( $(compgen -W "msgid" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS=" + --file + --help + --id + --journald + --msgid + --no-act + --octet-count + --port + --prio-prefix + --priority + --rfc3164 + --rfc5424 + --server + --size + --skip-empty + --socket + --socket-errors + --stderr + --tag + --tcp + --udp + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + return 0 +} +complete -F _logger_module logger diff --git a/bash-completion/look b/bash-completion/look new file mode 100644 index 0000000..feafe23 --- /dev/null +++ b/bash-completion/look @@ -0,0 +1,35 @@ +_look_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-t'|'--terminate') + COMPREPLY=( $(compgen -W "char" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--alternative --alphanum --ignore-case --terminate --version --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + case $COMP_CWORD in + 1) + COMPREPLY=( $(compgen -W "$(look "$cur")" -- $cur) ) + ;; + 2) + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + ;; + esac + return 0 +} +complete -F _look_module look diff --git a/bash-completion/losetup b/bash-completion/losetup new file mode 100644 index 0000000..d207265 --- /dev/null +++ b/bash-completion/losetup @@ -0,0 +1,79 @@ +_losetup_module() +{ + local cur prev OPTS ARG + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-d'|'--detach') + ARG="$($1 --output NAME | awk '{if (1 < NR) {print}}')" + COMPREPLY=( $(compgen -W "$ARG" -- $cur) ) + return 0 + ;; + '-j'|'--associated') + ARG="$($1 --output BACK-FILE | awk '{if (1 < NR) {print}}')" + COMPREPLY=( $(compgen -W "$ARG" -- $cur) ) + return 0 + ;; + '-c'|'--set-capacity') + ARG="$(for I in /dev/loop[0-9]*; do if [ -e $I ]; then echo $I; fi; done)" + COMPREPLY=( $(compgen -W "$ARG" -- $cur) ) + return 0 + ;; + '-o'|'--offset'|'--sizelimit') + COMPREPLY=( $(compgen -W "number" -- $cur) ) + return 0 + ;; + '-O'|'--output') + local prefix realcur OUTPUT_ALL OUTPUT + realcur="${cur##*,}" + prefix="${cur%$realcur}" + OUTPUT_ALL="NAME AUTOCLEAR BACK-FILE BACK-INO + BACK-MAJ:MIN MAJ:MIN OFFSET PARTSCAN RO + SIZELIMIT DIO" + for WORD in $OUTPUT_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + OUTPUT="$WORD ${OUTPUT:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- $realcur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--all + --detach + --detach-all + --find + --set-capacity + --associated + --nooverlap + --offset + --sizelimit + --partscan + --read-only + --show + --verbose + --json + --list + --noheadings + --output + --output-all + --raw + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _losetup_module losetup diff --git a/bash-completion/lsblk b/bash-completion/lsblk new file mode 100644 index 0000000..bd86f9f --- /dev/null +++ b/bash-completion/lsblk @@ -0,0 +1,89 @@ +_lsblk_module() +{ + local cur prev OPTS LSBLK_COLS_ALL + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + + LSBLK_COLS_ALL=" + NAME KNAME MAJ:MIN FSTYPE MOUNTPOINT LABEL UUID PARTTYPE + PARTLABEL PARTUUID PARTFLAGS RA RO RM HOTPLUG MODEL SERIAL SIZE + STATE OWNER GROUP MODE ALIGNMENT MIN-IO OPT-IO PHY-SEC LOG-SEC + ROTA SCHED RQ-SIZE TYPE DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO + WSAME WWN RAND PKNAME HCTL TRAN SUBSYSTEMS REV VENDOR + " + + case $prev in + '-e'|'--exclude'|'-I'|'--include') + local realcur prefix MAJOR_ALL MAJOR I J + realcur="${cur##*,}" + prefix="${cur%$realcur}" + for I in /sys/dev/block/*; do + J=${I##*/} + MAJOR_ALL="${MAJOR_ALL:-""} ${J%%:*}" + done + for WORD in ${MAJOR_ALL:-""}; do + if ! [[ $prefix == *"$WORD"* ]]; then + MAJOR="$WORD ${MAJOR:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "${MAJOR:-""}" -S ',' -- $realcur) ) + return 0 + ;; + '-o'|'--output') + local prefix realcur LSBLK_COLS + realcur="${cur##*,}" + prefix="${cur%$realcur}" + for WORD in $LSBLK_COLS_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + LSBLK_COLS="$WORD ${LSBLK_COLS:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$LSBLK_COLS" -S ',' -- $realcur) ) + return 0 + ;; + '-x'|'--sort') + compopt -o nospace + COMPREPLY=( $(compgen -W "$LSBLK_COLS_ALL" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--all + --bytes + --nodeps + --discard + --exclude + --fs + --help + --include + --json + --ascii + --list + --perms + --noheadings + --output + --output-all + --paths + --pairs + --raw + --inverse + --topology + --scsi + --sort + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "$($1 -pnro name)" -- $cur) ) + return 0 +} +complete -F _lsblk_module lsblk diff --git a/bash-completion/lscpu b/bash-completion/lscpu new file mode 100644 index 0000000..4d3582f --- /dev/null +++ b/bash-completion/lscpu @@ -0,0 +1,52 @@ +_lscpu_module() +{ + local cur OPTS_ALL + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '--extended='|'=') + local prefix realcur OPTS + cur=${cur#=} + realcur="${cur##*,}" + prefix="${cur%$realcur}" + OPTS_ALL="CPU CORE SOCKET NODE + BOOK DRAWER CACHE POLARIZATION ADDRESS + CONFIGURED ONLINE MAXMHZ MINMHZ" + for WORD in $OPTS_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + OPTS="$WORD ${OPTS:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$OPTS" -S ',' -- $realcur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS_ALL="--all + --online + --offline + --json + --extended= + --parse= + --sysroot + --hex + --physical + --output-all + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS_ALL[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _lscpu_module lscpu diff --git a/bash-completion/lsipc b/bash-completion/lsipc new file mode 100644 index 0000000..a40fe42 --- /dev/null +++ b/bash-completion/lsipc @@ -0,0 +1,71 @@ +_lsipc_module() +{ + local cur prev OPTS ARG + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-i'|'--id') + COMPREPLY=( $(compgen -W "id" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + '--time-format') + COMPREPLY=( $(compgen -W "short full iso" -- $cur) ) + return 0 + ;; + '-o'|'--output') + local prefix realcur OUTPUT_ALL OUTPUT + realcur="${cur##*,}" + prefix="${cur%$realcur}" + OUTPUT_ALL=" + KEY ID OWNER PERMS CUID CUSER CGID + CGROUP UID USER GID GROUP CTIME + + SIZE NATTCH STATUS ATTACH DETACH + COMMAND CPID LPID + + USEDBYTES MSGS SEND RECV LSPID LRPID + + NSEMS OTIME + + RESOURCE DESCRIPTION LIMIT USED USE% + " + for WORD in $OUTPUT_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + OUTPUT="$WORD ${OUTPUT:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- $realcur) ) + return 0 + ;; + esac + OPTS=" + --shmems + --queues + --semaphores + --global + --id + --noheadings + --notruncate + --time-format + --bytes + --creator + --export + --json + --newline + --list + --output + --numeric-perms + --raw + --time + --help + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 +} +complete -F _lsipc_module lsipc diff --git a/bash-completion/lslocks b/bash-completion/lslocks new file mode 100644 index 0000000..fbe75ff --- /dev/null +++ b/bash-completion/lslocks @@ -0,0 +1,50 @@ +_lslocks_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-p'|'--pid') + local PIDS + # /proc/locks can have 8 to 9 fields, see commit + # 55c0d16bab8cc84b72bf11cb2fdd8aa6205ac608 + PIDS="$(awk '{print $(NF-3)}' /proc/locks)" + COMPREPLY=( $(compgen -W "$PIDS" -- $cur) ) + return 0 + ;; + '-o'|'--output') + local prefix realcur OUTPUT_ALL OUTPUT + realcur="${cur##*,}" + prefix="${cur%$realcur}" + OUTPUT_ALL="COMMAND PID TYPE SIZE MODE M START END PATH BLOCKER" + for WORD in $OUTPUT_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + OUTPUT="$WORD ${OUTPUT:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- $realcur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + OPTS=" + --json + --noinaccessible + --noheadings + --output + --output-all + --pid + --raw + --notruncate + --help + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + +} +complete -F _lslocks_module lslocks diff --git a/bash-completion/lslogins b/bash-completion/lslogins new file mode 100755 index 0000000..8651fe9 --- /dev/null +++ b/bash-completion/lslogins @@ -0,0 +1,77 @@ +_lslogins_module() +{ + local cur prev OPTS LSLOGINS_COLS_ALL + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + LSLOGINS_COLS_ALL=" + USER UID GECOS HOMEDIR SHELL NOLOGIN PWD-LOCK PWD-EMPTY + PWD-DENY GROUP GID SUPP-GROUPS SUPP-GIDS LAST-LOGIN LAST-TTY + LAST-HOSTNAME FAILED-LOGIN FAILED-TTY HUSHED PWD-WARN + PWD-CHANGE PWD-MIN PWD-MAX PWD-EXPIR CONTEXT PROC + " + case $prev in + '-g'|'--groups') + COMPREPLY=( $(compgen -W "$(getent group | awk -F: '{print $1}')" -- $cur) ) + return 0 + ;; + '-l'|'--logins') + COMPREPLY=( $(compgen -W "$(getent passwd | awk -F: '{print $1}')" -- $cur) ) + return 0 + ;; + '--time-format') + COMPREPLY=( $(compgen -W "short full iso" -- $cur) ) + return 0 + ;; + '--wtmp-file'|'--btmp-file') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 + ;; + '-o'|'--output') + local prefix realcur LSLOGINS_COLS + realcur="${cur##*,}" + prefix="${cur%$realcur}" + for WORD in $LSLOGINS_COLS_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + LSLOGINS_COLS="$WORD ${LSLOGINS_COLS:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$LSLOGINS_COLS" -S ',' -- $realcur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + COMPREPLY=( $(compgen -W " + --acc-expiration + --colon-separate + --export + --failed + --supp-groups + --groups + --last + --logins + --newline + --noheadings + --notruncate + --output + --output-all + --pwd + --raw + --system-accs + --time-format + --user-accs + --context + --print0 + --wtmp-file + --btmp-file + --help + --version + " -- $cur) ) + return 0 +} +complete -F _lslogins_module lslogins diff --git a/bash-completion/lsmem b/bash-completion/lsmem new file mode 100644 index 0000000..7d6e842 --- /dev/null +++ b/bash-completion/lsmem @@ -0,0 +1,53 @@ +_lsmem_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-o'|'--output') + local prefix realcur OUTPUT_ALL OUTPUT + realcur="${cur##*,}" + prefix="${cur%$realcur}" + OUTPUT_ALL='RANGE SIZE STATE REMOVABLE BLOCK NODE ZONES' + for WORD in $OUTPUT_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + OUTPUT="$WORD ${OUTPUT:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- "$realcur") ) + return 0 + ;; + '-s'|'--sysroot') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -o dirnames -- ${cur:-"/"}) ) + return 0 + ;; + '--summary') + COMPREPLY=( $(compgen -W "never always only" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + OPTS=" + --json + --pairs + --all + --bytes + --noheadings + --output + --output-all + --raw + --sysroot + --summary + --help + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 +} +complete -F _lsmem_module lsmem diff --git a/bash-completion/lsns b/bash-completion/lsns new file mode 100644 index 0000000..8964606 --- /dev/null +++ b/bash-completion/lsns @@ -0,0 +1,57 @@ +_lsns_module() +{ + local cur prev OPTS LSNS_COLS_ALL + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + LSNS_COLS_ALL=" + NS TYPE PATH NPROCS PID PPID COMMAND UID USER + " + case $prev in + '-o'|'--output') + local prefix realcur LSNS_COLS + realcur="${cur##*,}" + prefix="${cur%$realcur}" + for WORD in $LSNS_COLS_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + LSNS_COLS="$WORD ${LSNS_COLS:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$LSNS_COLS" -S ',' -- $realcur) ) + return 0 + ;; + '-p'|'--task') + COMPREPLY=( $(compgen -W "$(cd /proc && echo [0-9]*)" -- $cur) ) + return 0 + ;; + '-t'|'--type') + COMPREPLY=( $(compgen -W "mnt net ipc user pid uts cgroup" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + COMPREPLY=( $(compgen -W " + --json + --list + --noheadings + --output + --output-all + --task + --raw + --notruncate + --type + --help + --version + " -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "mnt net pid uts ipc user" -- $cur ) ) + return 0 +} +complete -F _lsns_module lsns diff --git a/bash-completion/mcookie b/bash-completion/mcookie new file mode 100644 index 0000000..041582f --- /dev/null +++ b/bash-completion/mcookie @@ -0,0 +1,31 @@ +_mcookie_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-f'|'--file') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 + ;; + '-m'|'--max-size') + COMPREPLY=( $(compgen -W "bytes" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--file --max-size --verbose --version --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + return 0 +} +complete -F _mcookie_module mcookie diff --git a/bash-completion/mesg b/bash-completion/mesg new file mode 100644 index 0000000..1f80bab --- /dev/null +++ b/bash-completion/mesg @@ -0,0 +1,22 @@ +_mesg_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--verbose --version --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "y n" -- $cur) ) + return 0 +} +complete -F _mesg_module mesg diff --git a/bash-completion/mkfs b/bash-completion/mkfs new file mode 100644 index 0000000..a278747 --- /dev/null +++ b/bash-completion/mkfs @@ -0,0 +1,27 @@ +_mkfs_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-t'|'--type') + FSTYPES=$(for I in /sbin/mkfs.* /usr/sbin/mkfs.*; do if [ -e $I ]; then echo ${I##*mkfs.}; fi; done) + COMPREPLY=( $(compgen -W "$FSTYPES" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS='--type --verbose --help --version' + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "$(lsblk -pnro name) /path/to/file" -- $cur) ) + return 0 +} +complete -F _mkfs_module mkfs diff --git a/bash-completion/mkfs.bfs b/bash-completion/mkfs.bfs new file mode 100644 index 0000000..75458bb --- /dev/null +++ b/bash-completion/mkfs.bfs @@ -0,0 +1,30 @@ +_mkfs.bfs_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-N'|'--inodes') + COMPREPLY=( $(compgen -W "number" -- $cur) ) + return 0 + ;; + '-V'|'--vname'|'-F'|'--fname') + COMPREPLY=( $(compgen -W "name" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS='--inodes --vname --fname --verbose --help --version' + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "$(lsblk -pnro name) /path/to/file" -- $cur) ) + return 0 +} +complete -F _mkfs.bfs_module mkfs.bfs diff --git a/bash-completion/mkfs.cramfs b/bash-completion/mkfs.cramfs new file mode 100644 index 0000000..af74e12 --- /dev/null +++ b/bash-completion/mkfs.cramfs @@ -0,0 +1,44 @@ +_mkfs.cramfs_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-b') + COMPREPLY=( $(compgen -W "blksize" -- $cur) ) + return 0 + ;; + '-e') + COMPREPLY=( $(compgen -W "edition" -- $cur) ) + return 0 + ;; + '-N') + COMPREPLY=( $(compgen -W "big little host" -- $cur) ) + return 0 + ;; + '-i') + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 + ;; + '-n') + COMPREPLY=( $(compgen -W "name" -- $cur) ) + return 0 + ;; + '-h'|'-V') + return 0 + ;; + esac + case $cur in + -*) + OPTS="-h -v -E -b -e -N -i -n -p -s -z" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _mkfs.cramfs_module mkfs.cramfs diff --git a/bash-completion/mkfs.minix b/bash-completion/mkfs.minix new file mode 100644 index 0000000..e725fd6 --- /dev/null +++ b/bash-completion/mkfs.minix @@ -0,0 +1,32 @@ +_mkfs.minix_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-i'|'--inodes') + COMPREPLY=( $(compgen -W "inodes" -- $cur) ) + return 0 + ;; + '-l'|'--badblocks') + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 + ;; + '-n'|'--namelength') + COMPREPLY=( $(compgen -W "14 30 60" -- $cur) ) + return 0 + ;; + esac + case $cur in + -*) + OPTS="--namelength --inodes --check --badblocks --help --version -1 -2 -3" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) ) + return 0 +} +complete -F _mkfs.minix_module mkfs.minix diff --git a/bash-completion/mkswap b/bash-completion/mkswap new file mode 100644 index 0000000..6ccc214 --- /dev/null +++ b/bash-completion/mkswap @@ -0,0 +1,40 @@ +_mkswap_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-p'|'--pagesize') + COMPREPLY=( $(compgen -W "bytes" -- $cur) ) + return 0 + ;; + '-L'|'--label') + COMPREPLY=( $(compgen -W "label" -- $cur) ) + return 0 + ;; + '-v'|'--swapversion') + COMPREPLY=( $(compgen -W "1" -- $cur) ) + return 0 + ;; + '-U'|'--uuid') + COMPREPLY=( $(compgen -W "$(uuidgen -r)" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--check --force --pagesize --label --swapversion --uuid --version --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _mkswap_module mkswap diff --git a/bash-completion/more b/bash-completion/more new file mode 100644 index 0000000..809cea2 --- /dev/null +++ b/bash-completion/more @@ -0,0 +1,30 @@ +_more_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-V') + return 0 + ;; + esac + case $cur in + -*) + OPTS="-d -f -l -p -c -u -s -number -V" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + +*) + OPTS="+number +/string" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _more_module more diff --git a/bash-completion/mount b/bash-completion/mount new file mode 100644 index 0000000..832947f --- /dev/null +++ b/bash-completion/mount @@ -0,0 +1,101 @@ +_mount_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-t'|'--types') + local prefix realcur TYPES + TYPES=" + $(\ls /lib/modules/$(uname -r)/kernel/fs | awk '{print $1, "no" $1}') + $(awk '{print $NF, "no" $NF}' /proc/filesystems) + " + realcur="${cur##*,}" + prefix="${cur%$realcur}" + for WORD in $TYPES; do + if ! [[ $prefix == *"$WORD"* ]]; then + TYPE_COLS="$WORD ${TYPE_COLS:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$TYPE_COLS" -S ',' -- $realcur) ) + return 0 + ;; + '-L'|'--label') + local LABELS + LABELS="$(lsblk -o LABEL -nr)" + COMPREPLY=( $(compgen -W "$LABELS" -- $cur) ) + return 0 + ;; + '-U'|'--uuid') + local UUIDS + UUIDS="$(lsblk -o UUID -nr)" + COMPREPLY=( $(compgen -W "$UUIDS" -- $cur) ) + return 0 + ;; + '-N'|'--namespace') + local NAMESPACE + NAMESPACE="$(lsns --type mnt --output PATH --noheadings)" + COMPREPLY=( $(compgen -W "$NAMESPACE" -- $cur) ) + return 0 + ;; + '--options-mode') + COMPREPLY=( $(compgen -W "ignore append prepend replace" -- $cur) ) + return 0 + ;; + '--options-source') + COMPREPLY=( $(compgen -W "fstab mtab disable" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS=" --all + --no-canonicalize + --fake + --fork + --fstab + --help + --internal-only + --show-labels + --no-mtab + --options + --options-mode + --options-source + --options-source-force + --test-opts + --read-only + --types + --source + --target + --verbose + --version + --read-write + --namespace + --label + --uuid + --bind + --move + --rbind + --make-shared + --make-slave + --make-private + --make-unbindable + --make-rshared + --make-rslave + --make-rprivate + --make-runbindable" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _mount_module mount diff --git a/bash-completion/mountpoint b/bash-completion/mountpoint new file mode 100644 index 0000000..f14327c --- /dev/null +++ b/bash-completion/mountpoint @@ -0,0 +1,24 @@ +_mountpoint_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--quiet --fs-devno --devno --help --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- ${cur:-"/"}) ) + return 0 +} +complete -F _mountpoint_module mountpoint diff --git a/bash-completion/namei b/bash-completion/namei new file mode 100644 index 0000000..6402735 --- /dev/null +++ b/bash-completion/namei @@ -0,0 +1,24 @@ +_namei_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--help --version --mountpoints --modes --owners --long --nosymlinks --vertical" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _namei_module namei diff --git a/bash-completion/newgrp b/bash-completion/newgrp new file mode 100644 index 0000000..1e39c0f --- /dev/null +++ b/bash-completion/newgrp @@ -0,0 +1,22 @@ +_newgrp_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--version --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -g -- $cur) ) + return 0 +} +complete -F _newgrp_module newgrp diff --git a/bash-completion/nsenter b/bash-completion/nsenter new file mode 100644 index 0000000..ad56f06 --- /dev/null +++ b/bash-completion/nsenter @@ -0,0 +1,63 @@ +_nsenter_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-S'|'--uid') + COMPREPLY=( $(compgen -W "uid" -- $cur) ) + return 0 + ;; + '-G'|'--gid') + COMPREPLY=( $(compgen -W "gid" -- $cur) ) + return 0 + ;; + '-t'|'--target') + local PIDS + PIDS=$(cd /proc && echo [0-9]*) + COMPREPLY=( $(compgen -W "$PIDS" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + '=') + # FIXME: --root and --wd should use get only + # directories as compgen output. If $cur is + # overwrote the same way as below in case segment + # for $prev the command-line will get mangled. + cur=${cur#=} + ;; + -*) + OPTS=" + --all + --target + --mount= + --uts= + --ipc= + --net= + --pid= + --cgroup= + --user= + --setuid + --setgid + --preserve-credentials + --root= + --wd= + --no-fork + --help + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _nsenter_module nsenter diff --git a/bash-completion/partx b/bash-completion/partx new file mode 100644 index 0000000..028146b --- /dev/null +++ b/bash-completion/partx @@ -0,0 +1,65 @@ +_partx_module() +{ + local cur prev OPTS OUTPUT_ALL + COMPREPLY=() + OUTPUT_ALL="NR START END SECTORS SIZE NAME UUID TYPE FLAGS SCHEME" + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-n'|'--nr') + return 0 + ;; + '-o'|'--output') + local realcur prefix OUTPUT + realcur="${cur##*,}" + prefix="${cur%$realcur}" + for WORD in $OUTPUT_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + OUTPUT="$WORD ${OUTPUT:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- $realcur) ) + return 0 + ;; + '-S'|'--sector-size') + COMPREPLY=( $(compgen -W "size" -- $cur) ) + return 0 + ;; + '-t'|'--type') + COMPREPLY=( $(compgen -W "$(partx --list-types)" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS=" + --add + --delete + --update + --show + --bytes + --noheadings + --nr + --output + --output-all + --pairs + --raw + --sector-size + --type + --list-types + --verbose + --help + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) ) + return 0 +} +complete -F _partx_module partx diff --git a/bash-completion/pg b/bash-completion/pg new file mode 100644 index 0000000..8fce130 --- /dev/null +++ b/bash-completion/pg @@ -0,0 +1,33 @@ +_pg_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-p') + COMPREPLY=( $(compgen -W "prompt" -- $cur) ) + return 0 + ;; + '-h'|'-V') + return 0 + ;; + esac + case $cur in + -*) + OPTS="-number -c -e -f -n -p -r -s -h -V" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + +*) + OPTS="+number +/pattern/" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _pg_module pg diff --git a/bash-completion/pivot_root b/bash-completion/pivot_root new file mode 100644 index 0000000..95df4b4 --- /dev/null +++ b/bash-completion/pivot_root @@ -0,0 +1,21 @@ +_pivot_root_module() +{ + local cur prev + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $COMP_CWORD in + 1|2) + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -o dirnames -- ${cur:-"/"}) ) + ;; + esac + return 0 +} +complete -F _pivot_root_module pivot_root diff --git a/bash-completion/prlimit b/bash-completion/prlimit new file mode 100644 index 0000000..fc60c64 --- /dev/null +++ b/bash-completion/prlimit @@ -0,0 +1,69 @@ +_prlimit_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-p'|'--pid') + PIDS=$(cd /proc && echo [0-9]*) + COMPREPLY=( $(compgen -W "$PIDS" -- $cur) ) + return 0 + ;; + '-o'|'--output') + local prefix realcur OUTPUT_ALL OUTPUT + realcur="${cur##*,}" + prefix="${cur%$realcur}" + OUTPUT_ALL="DESCRIPTION RESOURCE SOFT HARD UNITS" + for WORD in $OUTPUT_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + OUTPUT="$WORD ${OUTPUT:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- $realcur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + '=') + cur=${cur#=} + # FIXME: is there anything what could be printed + # as limit value(s) + ;; + -*) + OPTS="--pid + --output + --noheadings + --raw + --verbose + --help + --version + --core= + --data= + --nice= + --fsize= + --sigpending= + --memlock= + --rss= + --nofile= + --msgqueue= + --rtprio= + --stack= + --cpu= + --nproc= + --as= + --locks= + --rttime=" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + compopt -o bashdefault + COMPREPLY=( $(compgen -c -- $cur) ) + return 0 +} +complete -F _prlimit_module prlimit diff --git a/bash-completion/raw b/bash-completion/raw new file mode 100644 index 0000000..20c3261 --- /dev/null +++ b/bash-completion/raw @@ -0,0 +1,23 @@ +_raw_module() +{ + local cur prev + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + local OPTS + OPTS="--query --all --help --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "$(for I in /dev/raw/*; do if [ -e $I ]; then echo $I; fi; done)" -- $cur) ) + return 0 +} +complete -F _raw_module raw diff --git a/bash-completion/readprofile b/bash-completion/readprofile new file mode 100644 index 0000000..bd265a6 --- /dev/null +++ b/bash-completion/readprofile @@ -0,0 +1,37 @@ +_readprofile_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-m'|'--mapfile'|'-p'|'--profile') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 + ;; + '-M'|'--multiplier') + COMPREPLY=( $(compgen -W "multiplier" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + OPTS="--mapfile + --profile + --multiplier + --info + --verbose + --all + --histbin + --counters + --reset + --no-auto + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 +} +complete -F _readprofile_module readprofile diff --git a/bash-completion/rename b/bash-completion/rename new file mode 100644 index 0000000..9fc1cec --- /dev/null +++ b/bash-completion/rename @@ -0,0 +1,34 @@ +_rename_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--verbose --symlink --help --version --no-act --no-override --interactive" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + case $COMP_CWORD in + 1) + COMPREPLY=( $(compgen -W "expression" -- $cur) ) + ;; + 2) + COMPREPLY=( $(compgen -W "replacement" -- $cur) ) + ;; + *) + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + ;; + esac + return 0 +} +complete -F _rename_module rename diff --git a/bash-completion/renice b/bash-completion/renice new file mode 100644 index 0000000..2495f37 --- /dev/null +++ b/bash-completion/renice @@ -0,0 +1,41 @@ +_renice_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-g'|'--pgrp') + local PGRP + PGRP=$(ps -ax -opgrp | sed '1d') + COMPREPLY=( $(compgen -W "$PGRP" -- $cur) ) + return 0 + ;; + '-n'|'--priority') + COMPREPLY=( $(compgen -W "{-20..20}" -- $cur) ) + return 0 + ;; + '-p'|'--pid') + local PIDS + PIDS=$(cd /proc && echo [0-9]*) + COMPREPLY=( $(compgen -W "$PIDS" -- $cur) ) + return 0 + ;; + '-u'|'--user') + COMPREPLY=( $(compgen -u -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + OPTS="--pgrp + --priority + --pid + --user + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 +} +complete -F _renice_module renice diff --git a/bash-completion/resizepart b/bash-completion/resizepart new file mode 100644 index 0000000..7e38503 --- /dev/null +++ b/bash-completion/resizepart @@ -0,0 +1,27 @@ +_resizepart_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $COMP_CWORD in + 1) + OPTS="--help --version $(lsblk -pnro name)" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + ;; + 2) + prev="${COMP_WORDS[COMP_CWORD-1]}" + COMPREPLY=( $(compgen -W "$(cat /sys/block/${prev##*/}/*/partition 2>/dev/null)" -- $cur) ) + ;; + 3) + COMPREPLY="length" + ;; + esac + return 0 +} +complete -F _resizepart_module resizepart diff --git a/bash-completion/rev b/bash-completion/rev new file mode 100644 index 0000000..e5397d5 --- /dev/null +++ b/bash-completion/rev @@ -0,0 +1,24 @@ +_rev_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--version --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _rev_module rev diff --git a/bash-completion/rfkill b/bash-completion/rfkill new file mode 100644 index 0000000..4643666 --- /dev/null +++ b/bash-completion/rfkill @@ -0,0 +1,48 @@ +_rfkill_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + 'list'|'block'|'unblock') + local targets + targets="$(rfkill --output=id,type --noheadings list)" + COMPREPLY=( $(compgen -W "all $targets" -- $cur) ) + return 0; + ;; + '-o'|'--output') + local prefix realcur OUTPUT + realcur="${cur##*,}" + prefix="${cur%$realcur}" + for WORD in "DEVICE TYPE ID SOFT HARD"; do + if ! [[ $prefix == *"$WORD"* ]]; then + OUTPUT="$WORD ${OUTPUT:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- $realcur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + OPTS=" + event + list + block + unblock + --json + --noheadings + --output + --output-all + --raw + --help + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + +} +complete -F _rfkill_module rfkill diff --git a/bash-completion/rtcwake b/bash-completion/rtcwake new file mode 100644 index 0000000..cdee2f3 --- /dev/null +++ b/bash-completion/rtcwake @@ -0,0 +1,59 @@ +_rtcwake_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-A'|'--adjfile') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 + ;; + '-d'|'--device') + local RTC_DEVS + RTC_DEVS=$(cd /sys/class/rtc/ && echo *) + COMPREPLY=( $(compgen -W "$RTC_DEVS" -- $cur) ) + return 0 + ;; + '-m'|'--mode') + COMPREPLY=( $(compgen -W "$(rtcwake --list-modes)" -- $cur) ) + return 0 + ;; + '-s'|'--seconds') + COMPREPLY=( $(compgen -W "seconds" -- $cur) ) + return 0 + ;; + '-t'|'--time') + COMPREPLY=( $(compgen -W "time_t" -- $cur) ) + return 0 + ;; + '--date') + COMPREPLY=( $(compgen -W "YYYYMMDDhhmmss" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + OPTS=" + --auto + --adjfile + --date + --device + --dry-run + --local + --list-modes + --mode + --seconds + --time + --utc + --verbose + --help + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 +} +complete -F _rtcwake_module rtcwake diff --git a/bash-completion/script b/bash-completion/script new file mode 100644 index 0000000..ef8afc6 --- /dev/null +++ b/bash-completion/script @@ -0,0 +1,45 @@ +_script_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-c'|'--command') + compopt -o bashdefault + COMPREPLY=( $(compgen -c -- $cur) ) + return 0 + ;; + '-o'|'--output-limit') + COMPREPLY=( $(compgen -W "size" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + '=') + cur=${cur#=} + ;; + -*) + OPTS="--append + --command + --return + --flush + --force + --quiet + --output-limit + --timing= + --version + --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _script_module script diff --git a/bash-completion/scriptreplay b/bash-completion/scriptreplay new file mode 100644 index 0000000..9e1a790 --- /dev/null +++ b/bash-completion/scriptreplay @@ -0,0 +1,33 @@ +_scriptreplay_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-d'|'--divisor'|'-m'|'--maxdelay') + COMPREPLY=( $(compgen -W "digit" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--timing + --typescript + --divisor + --maxdelay + --version + --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _scriptreplay_module scriptreplay diff --git a/bash-completion/setarch b/bash-completion/setarch new file mode 100644 index 0000000..4496e97 --- /dev/null +++ b/bash-completion/setarch @@ -0,0 +1,44 @@ +_setarch_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + if [ $COMP_CWORD -eq 1 ]; then + COMPREPLY=( $(compgen -W "$($1 --list)" -- $cur) ) + return 0 + fi + case $cur in + -*) + OPTS=" + --32bit + --fdpic-funcptrs + --short-inode + --addr-compat-layout + --addr-no-randomize + --whole-seconds + --sticky-timeouts + --read-implies-exec + --mmap-page-zero + --3gb + --4gb + --uname-2.6 + --verbose + --list + --help + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + compopt -o bashdefault + COMPREPLY=( $(compgen -c -- $cur) ) + return 0 +} +complete -F _setarch_module setarch diff --git a/bash-completion/setpriv b/bash-completion/setpriv new file mode 100644 index 0000000..41bab23 --- /dev/null +++ b/bash-completion/setpriv @@ -0,0 +1,125 @@ +_setpriv_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '--ambient-caps'|'--inh-caps'|'--bounding-set') + local prefix realcur INHERIT_ALL INHERIT + realcur="${cur##*,}" + prefix="${cur%$realcur}" + INHERIT_ALL=$($1 --list-caps| awk '{print $1, "-" $1}') + for WORD in $INHERIT_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + INHERIT="$WORD ${INHERIT:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$INHERIT" -S ',' -- $realcur) ) + return 0 + ;; + '--ruid'|'--euid'|'--reuid') + local UIDS + UIDS=$(getent passwd | awk -F: '{print $1}') + COMPREPLY=( $(compgen -W "$UIDS" -- $cur) ) + return 0 + ;; + '--rgid'|'--egid'|'--regid') + local GIDS + GIDS=$(getent group | awk -F: '{print $1}') + COMPREPLY=( $(compgen -W "$GIDS" -- $cur) ) + return 0 + ;; + '--groups') + local prefix realcur GIDS_ALL GIDS + realcur="${cur##*,}" + prefix="${cur%$realcur}" + GIDS_ALL=$(getent group | awk -F: '{print $3}') + for WORD in $GIDS_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + GIDS="$WORD ${GIDS:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$GIDS" -S ',' -- $realcur) ) + return 0 + ;; + '--securebits') + local prefix realcur SBITS_ALL SBITS WORD + realcur="${cur##*,}" + prefix="${cur%$realcur}" + SBITS_ALL=" + {+,-}keep_caps_locked + {+,-}noroot + {+,-}noroot_locked + {+,-}no_setuid_fixup + {+,-}no_setuid_fixup_locked + " + for WORD in $SBITS_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + SBITS="$WORD ${SBITS:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$SBITS" -S ',' -- $realcur) ) + return 0 + ;; + '--pdeathsig') + local i signals + for i in $(kill -l); do + case $i in + SIG*) + signals+="$i " + ;; + esac + done + COMPREPLY=( $(compgen -W "keep clear $signals" -- $cur) ) + return 0 + ;; + '--selinux-label') + # FIXME: how to list selinux labels? + COMPREPLY=( $(compgen -W "label" -- $cur) ) + return 0 + ;; + '--apparmor-profile') + # FIXME: how to list apparmor profiles? + COMPREPLY=( $(compgen -W "profile" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--dump + --no-new-privs + --ambient-caps + --inh-caps + --bounding-set + --ruid + --euid + --rgid + --egid + --reuid + --regid + --clear-groupsclear + --keep-groupskeep + --groups + --securebits + --pdeathsig + --reset-env + --selinux-label + --apparmor-profile + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + compopt -o bashdefault + COMPREPLY=( $(compgen -c -- $cur) ) + return 0 +} +complete -F _setpriv_module setpriv diff --git a/bash-completion/setsid b/bash-completion/setsid new file mode 100644 index 0000000..955ec27 --- /dev/null +++ b/bash-completion/setsid @@ -0,0 +1,23 @@ +_setsid_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--ctty --wait --help --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + compopt -o bashdefault + COMPREPLY=( $(compgen -c -- $cur) ) + return 0 +} +complete -F _setsid_module setsid diff --git a/bash-completion/setterm b/bash-completion/setterm new file mode 100644 index 0000000..25213df --- /dev/null +++ b/bash-completion/setterm @@ -0,0 +1,127 @@ +_setterm_module() +{ + local bright cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '--term') + local TERM_LIST I + TERM_LIST='' + for I in /usr/share/terminfo/?/*; do + TERM_LIST+="${I##*/} " + done + COMPREPLY=( $(compgen -W "$TERM_LIST" -- $cur) ) + return 0 + ;; + '--foreground'|'--background') + COMPREPLY=( $(compgen -W "black blue cyan default green magenta red white yellow" -- $cur) ) + return 0 + ;; + '--ulcolor'|'--hbcolor'|'bright') + if [ $prev != 'bright' ]; then + bright='bright black grey' + else + bright='' + fi + COMPREPLY=( $(compgen -W "$bright blue cyan green magenta red white yellow" -- $cur) ) + return 0 + ;; + '--cursor'|'--repeat'|'--appcursorkeys'|'--linewrap'|'--inversescreen'|'--bold'|'--half-bright'|'--blink'|'--reverse'|'--underline'|'--msg') + COMPREPLY=( $(compgen -W "off on" -- $cur) ) + return 0 + ;; + '--clear') + COMPREPLY=( $(compgen -W "all rest" -- $cur) ) + return 0 + ;; + '--tabs'|'--clrtabs') + COMPREPLY=( $(compgen -W "tab1 tab2 tab3 tab160" -- $cur) ) + return 0 + ;; + '--regtabs') + COMPREPLY=( $(compgen -W "{1..160}" -- $cur) ) + return 0 + ;; + '--blank') + COMPREPLY=( $(compgen -W "{0..60} force poke" -- $cur) ) + return 0 + ;; + '--dump'|'--append') + local NUM_CONS + NUM_CONS=(/dev/vcsa?*) + COMPREPLY=( $(compgen -W "{1..${#NUM_CONS[*]}}" -- $cur) ) + return 0 + ;; + '--file') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 + ;; + '--msglevel') + COMPREPLY=( $(compgen -W "{0..8}" -- $cur) ) + return 0 + ;; + '--powersave') + COMPREPLY=( $(compgen -W "on vsync hsync powerdown off" -- $cur) ) + return 0 + ;; + '--powerdown') + COMPREPLY=( $(compgen -W "{0..60}" -- $cur) ) + return 0 + ;; + '--blength') + COMPREPLY=( $(compgen -W "0-2000" -- $cur) ) + return 0 + ;; + '--bfreq') + COMPREPLY=( $(compgen -W "freqnumber" -- $cur) ) + return 0 + ;; + '--help'|'--version') + return 0 + ;; + esac + OPTS=" --term + --reset + --resize + --initialize + --cursor + --repeat + --appcursorkeys + --linewrap + --default + --foreground + --background + --ulcolor + --hbcolor + --ulcolor + --hbcolor + --inversescreen + --bold + --half-bright + --blink + --reverse + --underline + --store + --clear + --tabs + --clrtabs + --regtabs + --blank + --dump + --append + --file + --msg + --msglevel + --powersave + --powerdown + --blength + --bfreq + --version + --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 +} +complete -F _setterm_module setterm diff --git a/bash-completion/sfdisk b/bash-completion/sfdisk new file mode 100644 index 0000000..9401f89 --- /dev/null +++ b/bash-completion/sfdisk @@ -0,0 +1,96 @@ +_sfdisk_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-d'|'--dump'|'-J'|'--json'|'-l'|'--list'|'-F'|'--list-free'|'-r'|'--reorder'|'-s'|'--show-size'|'-V'|'--verify'|'-A'|'--activate'|'--delete') + COMPREPLY=( $(compgen -W "$(lsblk -dpnro name)" -- $cur) ) + return 0 + ;; + '-N'|'--partno') + COMPREPLY=( $(compgen -W "number" -- $cur) ) + return 0 + ;; + '--color'|'-w'|'--wipe'|'-W'|'--wipe-partitions') + COMPREPLY=( $(compgen -W "auto never always" -- $cur) ) + return 0 + ;; + '-o'|'--output') + local prefix realcur OUTPUT_ALL OUTPUT + realcur="${cur##*,}" + prefix="${cur%$realcur}" + OUTPUT_ALL=" + Attrs Boot Bsize Cpg Cylinders Device End + End-C/H/S Flags Fsize Id Name Sectors Size + Slice Start Start-C/H/S Type Type-UUID UUID + " + for WORD in $OUTPUT_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + OUTPUT="$WORD ${OUTPUT:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- "$realcur") ) + return 0 + ;; + '-O'|'--backup-file') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-v'|'--version') + return 0 + ;; + esac + case $cur in + '=') + cur=${cur#=} + ;; + -*) + OPTS=" + --activate + --dump + --json + --show-geometry + --list + --list-free + --reorder + --show-size + --list-types + --verify + --delete + --part-label + --part-type + --part-uuid + --part-attrs + --append + --backup + --bytes + --move-data + --force + --color + --partno + --no-act + --no-reread + --no-tell-kernel + --backup-file + --output + --quiet + --wipe + --wipe-partitions + --label + --label-nested + --help + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) ) + return 0 +} +complete -F _sfdisk_module sfdisk diff --git a/bash-completion/su b/bash-completion/su new file mode 100644 index 0000000..3095050 --- /dev/null +++ b/bash-completion/su @@ -0,0 +1,48 @@ +_su_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-'|'-u'|'--user') + COMPREPLY=( $(compgen -u -- $cur) ) + return 0 + ;; + '-g'|'--group'|'-G'|'--supp-group') + COMPREPLY=( $(compgen -g -- $cur) ) + return 0 + ;; + '-s'|'--shell') + COMPREPLY=( $(compgen -W "$(chsh -l)" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS=" --user + --preserve-environment + --whitelist-environment + --group + --supp-group + --login + --command + --session-command + --fast + --shell + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _su_module su +complete -F _su_module runuser diff --git a/bash-completion/swaplabel b/bash-completion/swaplabel new file mode 100644 index 0000000..08aa9cd --- /dev/null +++ b/bash-completion/swaplabel @@ -0,0 +1,32 @@ +_swaplabel_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-L'|'--label') + COMPREPLY=( $(compgen -W "label" -- $cur) ) + return 0 + ;; + '-U'|'--uuid') + COMPREPLY=( $(compgen -W '$(uuidgen)' -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--label --uuid --help --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _swaplabel_module swaplabel diff --git a/bash-completion/swapoff b/bash-completion/swapoff new file mode 100644 index 0000000..40dcf05 --- /dev/null +++ b/bash-completion/swapoff @@ -0,0 +1,38 @@ +_swapoff_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-a'|'--all') + return 0 + ;; + '-U'|'UUID=') + COMPREPLY=( $(compgen -W "$(swapon --show=UUID --noheading)" -- $cur) ) + return 0 + ;; + '-L'|'LABEL=') + COMPREPLY=( $(compgen -W "$(swapon --show=LABEL --noheading)" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="-L + -U + --all + --verbose + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "$(swapon --show=NAME --raw --noheading)" -- $cur) ) + return 0 +} +complete -F _swapoff_module swapoff diff --git a/bash-completion/swapon b/bash-completion/swapon new file mode 100644 index 0000000..a6b6f09 --- /dev/null +++ b/bash-completion/swapon @@ -0,0 +1,84 @@ +_swapon_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-p'|'--priority') + # Priority range is -1 to 32767. Perhaps these + # few are enough. + COMPREPLY=( $(compgen -W "{-1..9} 32767" -- $cur) ) + return 0 + ;; + '--show') + local prefix realcur OUTPUT_ALL OUTPUT + realcur="${cur##*,}" + prefix="${cur%$realcur}" + OUTPUT_ALL="NAME TYPE SIZE USED PRIO UUID LABEL" + for WORD in $OUTPUT_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + OUTPUT="$WORD ${OUTPUT:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- $realcur) ) + return 0 + ;; + '-U'|'UUID=') + local UUIDS + UUIDS="$(lsblk -nrp -o FSTYPE,UUID | awk '$1 ~ /swap/ { print $2 }')" + COMPREPLY=( $(compgen -W "$UUIDS" -- $cur) ) + return 0 + ;; + '-L'|'LABEL=') + local LABELS + LABELS="$(lsblk -nrp -o FSTYPE,LABEL | awk '$1 ~ /swap/ { print $2 }')" + COMPREPLY=( $(compgen -W "$LABELS" -- $cur) ) + return 0 + ;; + 'PARTUUID=') + local PARTUUIDS + PARTUUIDS="$(lsblk -nrp -o FSTYPE,PARTUUID | awk '$1 ~ /swap/ { print $2 }')" + COMPREPLY=( $(compgen -W "$PARTUUIDS" -- $cur) ) + return 0 + ;; + 'PARTLABEL=') + local PARTLABELS + PARTLABELS="$(lsblk -nrp -o FSTYPE,PARTLABEL | awk '$1 ~ /swap/ { print $2 }')" + COMPREPLY=( $(compgen -W "$PARTLABELS" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--all + --discard + --ifexists + --fixpgsz + --priority + --summary + --show + --output-all + --noheadings + --raw + --bytes + --verbose + -L + -U + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local DEVS + DEVS="$(lsblk -nrp -o FSTYPE,NAME | awk '$1 ~ /swap/ { print $2 }')" + compopt -o nospace + COMPREPLY=( $(compgen -fW "$DEVS LABEL= UUID= PARTLABEL= PARTUUID=" -- $cur) ) + return 0 +} +complete -F _swapon_module swapon diff --git a/bash-completion/taskset b/bash-completion/taskset new file mode 100644 index 0000000..7c9a7bd --- /dev/null +++ b/bash-completion/taskset @@ -0,0 +1,47 @@ +_taskset_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-c'|'--cpu-list') + local prefix realcur CPULIST_ALL CPULIST + realcur="${cur##*,}" + prefix="${cur%$realcur}" + CPULIST_ALL=$(sed 's/^/{/; s/-/../g; s/,/} {/g; s/$/}/' /sys/devices/system/cpu/online) + for WORD in $(eval echo $CPULIST_ALL); do + if ! [[ $prefix == *"$WORD"* ]]; then + CPULIST="$WORD ${CPULIST:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$CPULIST" -S ',' -- $realcur) ) + return 0 + ;; + '-p'|'--pid') + local PIDS + # FIXME: the pid argument is ambiguous. When + # setting an affinity the optarg has to be cpu + # mask. The following is good only for getting + # affinity. + PIDS=$(cd /proc && echo [0-9]*) + COMPREPLY=( $(compgen -W "$PIDS" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--all-tasks --pid --cpu-list --help --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + compopt -o bashdefault + COMPREPLY=( $(compgen -c -- $cur) ) + return 0 +} +complete -F _taskset_module taskset diff --git a/bash-completion/tunelp b/bash-completion/tunelp new file mode 100644 index 0000000..2be3d54 --- /dev/null +++ b/bash-completion/tunelp @@ -0,0 +1,51 @@ +_tunelp_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-i'|'--irq'|'-c'|'--chars') + COMPREPLY=( $(compgen -W "number" -- $cur) ) + return 0 + ;; + '-t'|'--time') + COMPREPLY=( $(compgen -W "milliseconds" -- $cur) ) + return 0 + ;; + '-w'|'--wait') + COMPREPLY=( $(compgen -W "microseconds" -- $cur) ) + return 0 + ;; + '-a'|'--abort'|'-o'|'--check-status'|'-C'|'--careful'|'-q'|'--print-irq') + COMPREPLY=( $(compgen -W "off on" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--irq + --time + --chars + --wait + --abort + --check-status + --careful + --status + --reset + --print-irq + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- ${cur:-"/dev/lp"}) ) + return 0 +} +complete -F _tunelp_module tunelp diff --git a/bash-completion/ul b/bash-completion/ul new file mode 100644 index 0000000..449cbe0 --- /dev/null +++ b/bash-completion/ul @@ -0,0 +1,33 @@ +_ul_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-t'|'--terminal') + local TERM_LIST I + TERM_LIST='' + for I in /usr/share/terminfo/?/*; do + TERM_LIST+="${I##*/} " + done + COMPREPLY=( $(compgen -W "$TERM_LIST" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--terminal --indicated --version --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _ul_module ul diff --git a/bash-completion/umount b/bash-completion/umount new file mode 100644 index 0000000..496474a --- /dev/null +++ b/bash-completion/umount @@ -0,0 +1,57 @@ +_umount_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-t'|'--types') + local TYPES + TYPES=" + $(\ls /lib/modules/$(uname -r)/kernel/fs | awk '{print $1, "no" $1}') + $(awk '{print $NF, "no" $NF}' /proc/filesystems) + " + COMPREPLY=( $(compgen -W "$TYPES" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + '-N'|'--namespace') + local NAMESPACE + NAMESPACE="$(lsns --type mnt --output PATH --noheadings)" + COMPREPLY=( $(compgen -W "$NAMESPACE" -- $cur) ) + return 0 + ;; + esac + case $cur in + -*) + OPTS=" --all + --all-targets + --no-canonicalize + --detach-loop + --fake + --force + --internal-only + --namespace + --no-mtab + --lazy + --test-opts + --recursive + --read-only + --types + --quiet + --verbose + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + + local oldifs=$IFS + IFS=$'\n' + COMPREPLY=( $( compgen -W '$(findmnt -lno TARGET | sed "s/\([[:blank:]]\)/\\\\\1/g")' -- "$cur" ) ) + IFS=$oldifs +} +complete -F _umount_module umount diff --git a/bash-completion/unshare b/bash-completion/unshare new file mode 100644 index 0000000..3fda4a1 --- /dev/null +++ b/bash-completion/unshare @@ -0,0 +1,45 @@ +_unshare_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '--propagation') + COMPREPLY=( $(compgen -W "slave shared private unchanged" -- $cur) ) + return 0 + ;; + '-s'|'--setgroups') + COMPREPLY=( $(compgen -W "allow deny" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--mount + --uts + --ipc + --net + --pid + --user + --cgroup + --fork + --kill-child + --mount-proc + --map-root-user + --propagation + --setgroups + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + compopt -o bashdefault + COMPREPLY=( $(compgen -c -- $cur) ) + return 0 +} +complete -F _unshare_module unshare diff --git a/bash-completion/utmpdump b/bash-completion/utmpdump new file mode 100644 index 0000000..fb636c1 --- /dev/null +++ b/bash-completion/utmpdump @@ -0,0 +1,24 @@ +_utmpdump_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--follow --reverse --output --version --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _utmpdump_module utmpdump diff --git a/bash-completion/uuidd b/bash-completion/uuidd new file mode 100644 index 0000000..c8f6697 --- /dev/null +++ b/bash-completion/uuidd @@ -0,0 +1,39 @@ +_uuidd_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-p'|'--pid'|'-s'|'--socket') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 + ;; + '-T'|'--timeout') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -W "timeout" -- $cur) ) + return 0 + ;; + '-n'|'--uuids') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -W "number" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--pid --socket --timeout --kill --random --time --uuids --no-pid --no-fork --socket-activation --debug --quiet --version --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + return 0 +} +complete -F _uuidd_module uuidd diff --git a/bash-completion/uuidgen b/bash-completion/uuidgen new file mode 100644 index 0000000..8e64015 --- /dev/null +++ b/bash-completion/uuidgen @@ -0,0 +1,39 @@ +_uuidgen_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-n'|'--namespace') + COMPREPLY=( $(compgen -W "@dns @url @oid @x500 @x.500" -- "$cur") ) + return 0 + ;; + '-N'|'--name') + COMPREPLY=( $(compgen -W "name" -- "$cur") ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS=" + --random + --time + --namespace + --name + --md5 + --sha1 + --hex + --help + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + return 0 +} +complete -F _uuidgen_module uuidgen diff --git a/bash-completion/uuidparse b/bash-completion/uuidparse new file mode 100644 index 0000000..a646844 --- /dev/null +++ b/bash-completion/uuidparse @@ -0,0 +1,37 @@ +_uuidparse_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-o'|'--output') + local prefix realcur OUTPUT + realcur="${cur##*,}" + prefix="${cur%$realcur}" + for WORD in "UUID VARIANT TYPE TIME"; do + if ! [[ $prefix == *"$WORD"* ]]; then + OUTPUT="$WORD ${OUTPUT:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- $realcur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + OPTS=" + --json + --noheadings + --output + --raw + --help + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + +} +complete -F _uuidparse_module uuidparse diff --git a/bash-completion/wall b/bash-completion/wall new file mode 100644 index 0000000..d2fba9a --- /dev/null +++ b/bash-completion/wall @@ -0,0 +1,32 @@ +_wall_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-t'|'--timeout') + COMPREPLY=( $(compgen -W "seconds" -- $cur) ) + return 0 + ;; + '-g'|'--group') + COMPREPLY=( $(compgen -A 'group' -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--group --nobanner --timeout --version --help" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- $cur) ) + return 0 +} +complete -F _wall_module wall diff --git a/bash-completion/wdctl b/bash-completion/wdctl new file mode 100644 index 0000000..f1a870e --- /dev/null +++ b/bash-completion/wdctl @@ -0,0 +1,70 @@ +_wdctl_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-f'|'--flags') + local FLAGS + FLAGS="ALARMONLY + CARDRESET + EXTERN1 + EXTERN2 + FANFAULT + KEEPALIVEPING + MAGICCLOSE + OVERHEAT + POWEROVER + POWERUNDER + PRETIMEOUT + SETTIMEOUT" + COMPREPLY=( $(compgen -W "$FLAGS" -- $cur) ) + return 0 + ;; + '-o'|'--output') + local prefix realcur OUTPUT_ALL OUTPUT + realcur="${cur##*,}" + prefix="${cur%$realcur}" + OUTPUT_ALL="FLAG DESCRIPTION STATUS BOOT-STATUS DEVICE" + for WORD in $OUTPUT_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + OUTPUT="$WORD ${OUTPUT:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- $realcur) ) + return 0 + ;; + '-s'|'--settimeout') + COMPREPLY=( $(compgen -W "seconds" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS="--flags + --noflags + --noident + --noheadings + --oneline + --output + --raw + --notimeouts + --settimeout + --flags-only + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- ${cur:-"/dev/"}) ) + return 0 +} +complete -F _wdctl_module wdctl diff --git a/bash-completion/whereis b/bash-completion/whereis new file mode 100644 index 0000000..0dcbac3 --- /dev/null +++ b/bash-completion/whereis @@ -0,0 +1,28 @@ +_whereis_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-B'|'-M'|'-S') + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -o dirnames -- ${cur:-"/"}) ) + return 0 + ;; + '-h'|'-V') + return 0 + ;; + esac + case $cur in + -*) + OPTS="-b -B -m -M -s -S -f -u -l" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "file" -- $cur) ) + return 0 +} +complete -F _whereis_module whereis diff --git a/bash-completion/wipefs b/bash-completion/wipefs new file mode 100644 index 0000000..13568ca --- /dev/null +++ b/bash-completion/wipefs @@ -0,0 +1,60 @@ +_wipefs_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-O'|'--output') + local prefix realcur OUTPUT_ALL OUTPUT + realcur="${cur##*,}" + prefix="${cur%$realcur}" + OUTPUT_ALL="UUID LABEL LENGTH TYPE OFFSET USAGE DEVICE" + for WORD in $OUTPUT_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + OUTPUT="$WORD ${OUTPUT:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- $realcur) ) + return 0 + ;; + '-o'|'--offset') + COMPREPLY=( $(compgen -W "offset" -- $cur) ) + return 0 + ;; + '-t'|'--types') + local TYPES + TYPES="$(blkid -k)" + COMPREPLY=( $(compgen -W "$TYPES" -- $cur) ) + return 0 + ;; + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $cur in + -*) + OPTS=" + --all + --backup + --force + --noheadings + --json + --no-act + --offset + --output + --parsable + --quiet + --types + --help + --version + " + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) ) + return 0 +} +complete -F _wipefs_module wipefs diff --git a/bash-completion/write b/bash-completion/write new file mode 100644 index 0000000..7b2d2fa --- /dev/null +++ b/bash-completion/write @@ -0,0 +1,24 @@ +_write_module() +{ + local cur prev + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-h'|'--help'|'-V'|'--version') + return 0 + ;; + esac + case $COMP_CWORD in + 1) + COMPREPLY=( $(compgen -W '$(users)' -- $cur) ) + return 0 + ;; + 2) + COMPREPLY=( $(compgen -W "$(w -h $prev | awk '{print $2}')" -- $cur) ) + return 0 + ;; + esac + return 0 +} +complete -F _write_module write diff --git a/bash-completion/zramctl b/bash-completion/zramctl new file mode 100644 index 0000000..5274a56 --- /dev/null +++ b/bash-completion/zramctl @@ -0,0 +1,60 @@ +_zramctl_module() +{ + local cur prev OPTS + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + case $prev in + '-a'|'--algorithm') + COMPREPLY=( $(compgen -W "lzo lz4 lz4hc deflate 842" -- $cur) ) + return 0 + ;; + '-o'|'--output') + local prefix realcur OUTPUT_ALL OUTPUT + realcur="${cur##*,}" + prefix="${cur%$realcur}" + OUTPUT_ALL="NAME DISKSIZE DATA COMPR ALGORITHM + STREAMS ZERO-PAGES TOTAL MEM-LIMIT MEM-USED + MIGRATED MOUNTPOINT" + for WORD in $OUTPUT_ALL; do + if ! [[ $prefix == *"$WORD"* ]]; then + OUTPUT="$WORD ${OUTPUT:-""}" + fi + done + compopt -o nospace + COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- $realcur) ) + return 0 + ;; + '-s'|'--size') + COMPREPLY=( $(compgen -W "size" -- $cur) ) + return 0 + ;; + '-t'|'--streams') + COMPREPLY=( $(compgen -W "number" -- $cur) ) + return 0 + ;; + esac + case $cur in + -*) + OPTS=" --algorithm + --bytes + --find + --noheadings + --output + --output-all + --raw + --reset + --size + --streams + --help + --version" + COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) + return 0 + ;; + esac + local IFS=$'\n' + compopt -o filenames + COMPREPLY=( $(compgen -f -- ${cur:-"/dev/zram"}) ) + return 0 +} +complete -F _zramctl_module zramctl diff --git a/config.h.in b/config.h.in new file mode 100644 index 0000000..c4027df --- /dev/null +++ b/config.h.in @@ -0,0 +1,859 @@ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD + +/* Enable agetty --reload feature */ +#undef AGETTY_RELOAD + +/* Should chfn and chsh require the user to enter the password? */ +#undef CHFN_CHSH_PASSWORD + +/* Path to hwclock adjtime file */ +#undef CONFIG_ADJTIME_PATH + +/* Define to 1 if translation of program messages to the user's native + language is requested. */ +#undef ENABLE_NLS + +/* search path for fs helpers */ +#undef FS_SEARCH_PATH + +/* Define to 1 if you have the header file. */ +#undef HAVE_ASM_IO_H + +/* Define if btrfs stuff is available */ +#undef HAVE_BTRFS_SUPPORT + +/* Define to 1 if you have the header file. */ +#undef HAVE_BYTESWAP_H + +/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the + CoreFoundation framework. */ +#undef HAVE_CFLOCALECOPYCURRENT + +/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in + the CoreFoundation framework. */ +#undef HAVE_CFPREFERENCESCOPYAPPVALUE + +/* Define to 1 if you have the `clearenv' function. */ +#undef HAVE_CLEARENV + +/* Define to 1 if you have the `clock_gettime' function. */ +#undef HAVE_CLOCK_GETTIME + +/* Define to 1 if the system has the type `cpu_set_t'. */ +#undef HAVE_CPU_SET_T + +/* Define to 1 if you have the header file. */ +#undef HAVE_CRYPT_H + +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +#undef HAVE_DCGETTEXT + +/* Define to 1 if you have the declaration of `CPU_ALLOC', and to 0 if you + don't. */ +#undef HAVE_DECL_CPU_ALLOC + +/* Define to 1 if you have the declaration of `dirfd', and to 0 if you don't. + */ +#undef HAVE_DECL_DIRFD + +/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't. + */ +#undef HAVE_DECL_TZNAME + +/* Define to 1 if you have the declaration of `_NL_TIME_WEEK_1STDAY', and to 0 + if you don't. */ +#undef HAVE_DECL__NL_TIME_WEEK_1STDAY + +/* Define to 1 if you have the `dirfd' function. */ +#undef HAVE_DIRFD + +/* Define to 1 if `dd_fd' is a member of `DIR'. */ +#undef HAVE_DIR_DD_FD + +/* Define to 1 if you have the header file. */ +#undef HAVE_DLFCN_H + +/* Define to 1 if you have the `eaccess' function. */ +#undef HAVE_EACCESS + +/* Define to 1 if you have the header file. */ +#undef HAVE_ENDIAN_H + +/* Define to 1 if have **environ prototype */ +#undef HAVE_ENVIRON_DECL + +/* Define to 1 if you have the `err' function. */ +#undef HAVE_ERR + +/* Define to 1 if you have the header file. */ +#undef HAVE_ERRNO_H + +/* Define to 1 if you have the `errx' function. */ +#undef HAVE_ERRX + +/* Define to 1 if you have the header file. */ +#undef HAVE_ERR_H + +/* Define to 1 if you have the `explicit_bzero' function. */ +#undef HAVE_EXPLICIT_BZERO + +/* Have valid fallocate() function */ +#undef HAVE_FALLOCATE + +/* Define to 1 if you have the header file. */ +#undef HAVE_FCNTL_H + +/* Define to 1 if you have the `fpurge' function. */ +#undef HAVE_FPURGE + +/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ +#undef HAVE_FSEEKO + +/* Define to 1 if you have the `fstatat' function. */ +#undef HAVE_FSTATAT + +/* Define to 1 if you have the `fsync' function. */ +#undef HAVE_FSYNC + +/* Define to 1 if you have the `futimens' function. */ +#undef HAVE_FUTIMENS + +/* Define to 1 if you have the `getdomainname' function. */ +#undef HAVE_GETDOMAINNAME + +/* Define to 1 if you have the `getdtablesize' function. */ +#undef HAVE_GETDTABLESIZE + +/* Define to 1 if you have the `getexecname' function. */ +#undef HAVE_GETEXECNAME + +/* Define to 1 if you have the `getmntinfo' function. */ +#undef HAVE_GETMNTINFO + +/* Define to 1 if you have the header file. */ +#undef HAVE_GETOPT_H + +/* Define to 1 if you have the `getrandom' function. */ +#undef HAVE_GETRANDOM + +/* Define to 1 if you have the `getrlimit' function. */ +#undef HAVE_GETRLIMIT + +/* Define to 1 if you have the `getsgnam' function. */ +#undef HAVE_GETSGNAM + +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + +/* Define to 1 if you have the `getusershell' function. */ +#undef HAVE_GETUSERSHELL + +/* Define if you have the iconv() function and it works. */ +#undef HAVE_ICONV + +/* Define to 1 if you have the `inotify_init' function. */ +#undef HAVE_INOTIFY_INIT + +/* Define to 1 if you have the `inotify_init1' function. */ +#undef HAVE_INOTIFY_INIT1 + +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define to 1 if you have the `ioperm' function. */ +#undef HAVE_IOPERM + +/* Define to 1 if you have the `iopl' function. */ +#undef HAVE_IOPL + +/* Define to 1 if you have the `isnan' function. */ +#undef HAVE_ISNAN + +/* Define to 1 if you have the `jrand48' function. */ +#undef HAVE_JRAND48 + +/* Define if langinfo.h defines ALTMON_x constants */ +#undef HAVE_LANGINFO_ALTMON + +/* Define to 1 if you have the header file. */ +#undef HAVE_LANGINFO_H + +/* Define if langinfo.h defines _NL_ABALTMON_x constants */ +#undef HAVE_LANGINFO_NL_ABALTMON + +/* Define to 1 if you have the header file. */ +#undef HAVE_LASTLOG_H + +/* Define to 1 if you have the `lchown' function. */ +#undef HAVE_LCHOWN + +/* Define to 1 if you have the `audit' library (-laudit). */ +#undef HAVE_LIBAUDIT + +/* Define to 1 if you have the -lblkid. */ +#undef HAVE_LIBBLKID + +/* Define to 1 if you have the `cap-ng' library (-lcap-ng). */ +#undef HAVE_LIBCAP_NG + +/* Do we need -lcrypt? */ +#undef HAVE_LIBCRYPT + +/* Define if libmount available. */ +#undef HAVE_LIBMOUNT + +/* Define if ncurses library available */ +#undef HAVE_LIBNCURSES + +/* Define if ncursesw library available */ +#undef HAVE_LIBNCURSESW + +/* Define to 1 if you have the `readline' library (-lreadline). */ +#undef HAVE_LIBREADLINE + +/* Define if librtas exists */ +#undef HAVE_LIBRTAS + +/* Define if SELinux is available */ +#undef HAVE_LIBSELINUX + +/* Define if libsystemd is available */ +#undef HAVE_LIBSYSTEMD + +/* Define if libtinfo or libtinfow available. */ +#undef HAVE_LIBTINFO + +/* Define to 1 if you have the `udev' library (-ludev). */ +#undef HAVE_LIBUDEV + +/* Define if libuser is available */ +#undef HAVE_LIBUSER + +/* Define to 1 if you have the `utempter' library (-lutempter). */ +#undef HAVE_LIBUTEMPTER + +/* Define to 1 if you have the `util' library (-lutil). */ +#undef HAVE_LIBUTIL + +/* Define to 1 if you have the header file. */ +#undef HAVE_LIBUTIL_H + +/* Define to 1 if you have the -luuid. */ +#undef HAVE_LIBUUID + +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_BLKPG_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_BLKZONED_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_BTRFS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_CDROM_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_COMPILER_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_FALLOC_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_FD_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_FS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_GSMMUX_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_MAJOR_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_NET_NAMESPACE_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_RAW_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_SECUREBITS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_TIOCL_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_VERSION_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_WATCHDOG_H + +/* Define to 1 if you have the `llseek' function. */ +#undef HAVE_LLSEEK + +/* Define to 1 if have llseek prototype */ +#undef HAVE_LLSEEK_PROTOTYPE + +/* Define to 1 if you have the header file. */ +#undef HAVE_LOCALE_H + +/* Define to 1 if the system has the type `loff_t'. */ +#undef HAVE_LOFF_T + +/* Define to 1 if you have the `lseek64' function. */ +#undef HAVE_LSEEK64 + +/* Define to 1 if have lseek64 prototype */ +#undef HAVE_LSEEK64_PROTOTYPE + +/* Define to 1 if you have the header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if you have the `mempcpy' function. */ +#undef HAVE_MEMPCPY + +/* Define to 1 if you have the `mkostemp' function. */ +#undef HAVE_MKOSTEMP + +/* Define to 1 if you have the header file. */ +#undef HAVE_MNTENT_H + +/* Define to 1 if you have the `nanosleep' function. */ +#undef HAVE_NANOSLEEP + +/* Define to 1 if you have the header file. */ +#undef HAVE_NCURSESW_NCURSES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_NCURSESW_TERM_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_NCURSES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_NCURSES_NCURSES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_NCURSES_TERM_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_NETINET_IN_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_NET_IF_DL_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_NET_IF_H + +/* Define to 1 if you have the `ntp_gettime' function. */ +#undef HAVE_NTP_GETTIME + +/* Define to 1 if you have the `openat' function. */ +#undef HAVE_OPENAT + +/* Define to 1 if you have the `open_memstream' function. */ +#undef HAVE_OPEN_MEMSTREAM + +/* Define to 1 if you have the header file. */ +#undef HAVE_PATHS_H + +/* Define to 1 if you have the `personality' function. */ +#undef HAVE_PERSONALITY + +/* Define to 1 if you have the `posix_fadvise' function. */ +#undef HAVE_POSIX_FADVISE + +/* Have valid posix_fallocate() function */ +#undef HAVE_POSIX_FALLOCATE + +/* Define to 1 if you have the `prctl' function. */ +#undef HAVE_PRCTL + +/* Define to 1 if you have the `prlimit' function. */ +#undef HAVE_PRLIMIT + +/* Define if program_invocation_short_name is defined */ +#undef HAVE_PROGRAM_INVOCATION_SHORT_NAME + +/* Define to 1 if you have the header file. */ +#undef HAVE_PTY_H + +/* Define to 1 if you have the `qsort_r' function. */ +#undef HAVE_QSORT_R + +/* Define to 1 if you have the `reboot' function. */ +#undef HAVE_REBOOT + +/* Define if curses library has the resizeterm(). */ +#undef HAVE_RESIZETERM + +/* Define to 1 if you have the `rpmatch' function. */ +#undef HAVE_RPMATCH + +/* Define if struct sockaddr contains sa_len */ +#undef HAVE_SA_LEN + +/* Define to 1 if you have the `scandirat' function. */ +#undef HAVE_SCANDIRAT + +/* scanf %as modifier */ +#undef HAVE_SCANF_AS_MODIFIER + +/* scanf %ms modifier */ +#undef HAVE_SCANF_MS_MODIFIER + +/* Define to 1 if you have the `sched_setattr' function. */ +#undef HAVE_SCHED_SETATTR + +/* Define to 1 if you have the `sched_setscheduler' function. */ +#undef HAVE_SCHED_SETSCHEDULER + +/* Define to 1 if you have the `secure_getenv' function. */ +#undef HAVE_SECURE_GETENV + +/* Define to 1 if you have the `security_get_initial_context' function. */ +#undef HAVE_SECURITY_GET_INITIAL_CONTEXT + +/* Define to 1 if you have the header file. */ +#undef HAVE_SECURITY_OPENPAM_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SECURITY_PAM_APPL_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SECURITY_PAM_MISC_H + +/* Define to 1 if you have the `setns' function. */ +#undef HAVE_SETNS + +/* Define to 1 if you have the `setprogname' function. */ +#undef HAVE_SETPROGNAME + +/* Define to 1 if you have the `setresgid' function. */ +#undef HAVE_SETRESGID + +/* Define to 1 if you have the `setresuid' function. */ +#undef HAVE_SETRESUID + +/* Define to 1 if you have the header file. */ +#undef HAVE_SHADOW_H + +/* Define to 1 if the system has the type `sighandler_t'. */ +#undef HAVE_SIGHANDLER_T + +/* Define to 1 if you have the `sigqueue' function. */ +#undef HAVE_SIGQUEUE + +/* Define to 1 if you have the header file. */ +#undef HAVE_SLANG_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SLANG_SLANG_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SLANG_SLCURSES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SLCURSES_H + +/* Add SMACK support */ +#undef HAVE_SMACK + +/* Define to 1 if you have the `srandom' function. */ +#undef HAVE_SRANDOM + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDIO_EXT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the `strnchr' function. */ +#undef HAVE_STRNCHR + +/* Define to 1 if you have the `strndup' function. */ +#undef HAVE_STRNDUP + +/* Define to 1 if you have the `strnlen' function. */ +#undef HAVE_STRNLEN + +/* Define to 1 if have strsignal function prototype */ +#undef HAVE_STRSIGNAL_DECL + +/* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ +#undef HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC + +/* Define to 1 if `c_line' is a member of `struct termios'. */ +#undef HAVE_STRUCT_TERMIOS_C_LINE + +/* Define to 1 if `tm_zone' is a member of `struct tm'. */ +#undef HAVE_STRUCT_TM_TM_ZONE + +/* Define to 1 if you have the `swapoff' function. */ +#undef HAVE_SWAPOFF + +/* Define to 1 if you have the `swapon' function. */ +#undef HAVE_SWAPON + +/* Define to 1 if you have the `sysconf' function. */ +#undef HAVE_SYSCONF + +/* Define to 1 if you have the `sysinfo' function. */ +#undef HAVE_SYSINFO + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_DISKLABEL_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_DISK_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_ENDIAN_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_FILE_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_IOCCOM_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_IOCTL_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_IO_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_MKDEV_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_MOUNT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_PARAM_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_PRCTL_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_RESOURCE_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SIGNALFD_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SOCKET_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SOCKIO_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SWAP_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SYSCALL_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SYSMACROS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TIMEX_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TIME_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TTYDEFAULTS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_UCRED_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_UN_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_TERM_H + +/* Define to 1 if you have the `timegm' function. */ +#undef HAVE_TIMEGM + +/* Define to 1 if you have the `timer_create' function. */ +#undef HAVE_TIMER_CREATE + +/* Define to 1 if the target supports thread-local storage. */ +#undef HAVE_TLS + +/* Does struct tm have a field tm_gmtoff? */ +#undef HAVE_TM_GMTOFF + +/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use + `HAVE_STRUCT_TM_TM_ZONE' instead. */ +#undef HAVE_TM_ZONE + +/* Define to 1 if you don't have `tm_zone' but do have the external array + `tzname'. */ +#undef HAVE_TZNAME + +/* Define to 1 if the system has the type `union semun'. */ +#undef HAVE_UNION_SEMUN + +/* Define to 1 if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define to 1 if you have the `unlinkat' function. */ +#undef HAVE_UNLINKAT + +/* Define to 1 if you have the `unshare' function. */ +#undef HAVE_UNSHARE + +/* Define to 1 if you have the `updwtmpx' function. */ +#undef HAVE_UPDWTMPX + +/* Define if curses library has the use_default_colors(). */ +#undef HAVE_USE_DEFAULT_COLORS + +/* Define to 1 if you have the `usleep' function. */ +#undef HAVE_USLEEP + +/* Define to 1 if you have the `utimensat' function. */ +#undef HAVE_UTIMENSAT + +/* Define to 1 if you have the header file. */ +#undef HAVE_UTMPX_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_UTMP_H + +/* Define to 1 if you want to use uuid daemon. */ +#undef HAVE_UUIDD + +/* Define to 1 if you have the `vwarnx' function. */ +#undef HAVE_VWARNX + +/* Define to 1 if you have the `warn' function. */ +#undef HAVE_WARN + +/* Define to 1 if you have the `warnx' function. */ +#undef HAVE_WARNX + +/* Do we have wide character support? */ +#undef HAVE_WIDECHAR + +/* Define to 1 if you have the `__fpending' function. */ +#undef HAVE___FPENDING + +/* Define to 1 if you have the `__fpurge' function. */ +#undef HAVE___FPURGE + +/* Define if __progname is defined */ +#undef HAVE___PROGNAME + +/* Define to 1 if you have the `__secure_getenv' function. */ +#undef HAVE___SECURE_GETENV + +/* libblkid date string */ +#undef LIBBLKID_DATE + +/* libblkid version string */ +#undef LIBBLKID_VERSION + +/* libfdisk version string */ +#undef LIBFDISK_VERSION + +/* libmount version string */ +#undef LIBMOUNT_VERSION + +/* libsmartcols version string */ +#undef LIBSMARTCOLS_VERSION + +/* Should login chown /dev/vcsN? */ +#undef LOGIN_CHOWN_VCS + +/* Should login stat() the mailbox? */ +#undef LOGIN_STAT_MAIL + +/* Define to the sub-directory where libtool stores uninstalled libraries. */ +#undef LT_OBJDIR + +/* "Multi-arch triplet for whereis library search path" */ +#undef MULTIARCHTRIPLET + +/* Define to 1 if assertions should be disabled. */ +#undef NDEBUG + +/* Should chsh allow only shells in /etc/shells? */ +#undef ONLY_LISTED_SHELLS + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Should pg ring the bell on invalid keys? */ +#undef PG_BELL + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Fallback syscall number for fallocate */ +#undef SYS_fallocate + +/* Fallback syscall number for ioprio_get */ +#undef SYS_ioprio_get + +/* Fallback syscall number for ioprio_set */ +#undef SYS_ioprio_set + +/* Fallback syscall number for pivot_root */ +#undef SYS_pivot_root + +/* Fallback syscall number for prlimit64 */ +#undef SYS_prlimit64 + +/* Fallback syscall number for sched_getaffinity */ +#undef SYS_sched_getaffinity + +/* Fallback syscall number for sched_setattr */ +#undef SYS_sched_setattr + +/* Fallback syscall number for setns */ +#undef SYS_setns + +/* Fallback syscall number for swapoff */ +#undef SYS_swapoff + +/* Fallback syscall number for swapon */ +#undef SYS_swapon + +/* Fallback syscall number for unshare */ +#undef SYS_unshare + +/* Define to 1 if your declares `struct tm'. */ +#undef TM_IN_SYS_TIME + +/* Enables colorized output from utils by default */ +#undef USE_COLORS_BY_DEFAULT + +/* Define to 1 if want to support mtab. */ +#undef USE_LIBMOUNT_SUPPORT_MTAB + +/* Define to 1 if want to support namepaces. */ +#undef USE_LIBMOUNT_SUPPORT_NAMESPACES + +/* Enable plymouth support feature for sulogin and aggety */ +#undef USE_PLYMOUTH_SUPPORT + +/* Should sulogin use a emergency mount of /dev and /proc? */ +#undef USE_SULOGIN_EMERGENCY_MOUNT + +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable threading extensions on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif + + +/* Should wall and write be installed setgid tty? */ +#undef USE_TTY_GROUP + +/* Define to 1 to remove /bin and /sbin from PATH env.variable */ +#undef USE_USRDIR_PATHS_ONLY + +/* Version number of package */ +#undef VERSION + +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +# undef WORDS_BIGENDIAN +# endif +#endif + +/* Enable MAP_ANON in sys/mman.h on Mac OS X */ +#undef _DARWIN_C_SOURCE + +/* Enable large inode numbers on Mac OS X 10.5. */ +#ifndef _DARWIN_USE_64_BIT_INODE +# define _DARWIN_USE_64_BIT_INODE 1 +#endif + +/* Number of bits in a file offset, on hosts where this is settable. */ +#undef _FILE_OFFSET_BITS + +/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ +#undef _LARGEFILE_SOURCE + +/* Define for large files, on AIX-style hosts. */ +#undef _LARGE_FILES + +/* Define to 1 if on MINIX. */ +#undef _MINIX + +/* Define to 2 if the system does not provide POSIX.1 features except with + this defined. */ +#undef _POSIX_1_SOURCE + +/* Define to 1 if you need to in order for `stat' and other things to work. */ +#undef _POSIX_SOURCE + +/* Define to empty if `const' does not conform to ANSI C. */ +#undef const + +/* Define to empty if the keyword `volatile' does not work. Warning: valid + code using `volatile' can become incorrect without. Disable with care. */ +#undef volatile diff --git a/config/ar-lib b/config/ar-lib new file mode 100755 index 0000000..92bbe08 --- /dev/null +++ b/config/ar-lib @@ -0,0 +1,270 @@ +#!/bin/sh +# Wrapper for Microsoft lib.exe + +me=ar-lib +scriptversion=2012-03-01.08; # UTC + +# Copyright (C) 2010-2017 Free Software Foundation, Inc. +# Written by Peter Rosin . +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to or send patches to +# . + + +# func_error message +func_error () +{ + echo "$me: $1" 1>&2 + exit 1 +} + +file_conv= + +# func_file_conv build_file +# Convert a $build file to $host form and store it in $file +# Currently only supports Windows hosts. +func_file_conv () +{ + file=$1 + case $file in + / | /[!/]*) # absolute file, and not a UNC file + if test -z "$file_conv"; then + # lazily determine how to convert abs files + case `uname -s` in + MINGW*) + file_conv=mingw + ;; + CYGWIN*) + file_conv=cygwin + ;; + *) + file_conv=wine + ;; + esac + fi + case $file_conv in + mingw) + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` + ;; + cygwin) + file=`cygpath -m "$file" || echo "$file"` + ;; + wine) + file=`winepath -w "$file" || echo "$file"` + ;; + esac + ;; + esac +} + +# func_at_file at_file operation archive +# Iterate over all members in AT_FILE performing OPERATION on ARCHIVE +# for each of them. +# When interpreting the content of the @FILE, do NOT use func_file_conv, +# since the user would need to supply preconverted file names to +# binutils ar, at least for MinGW. +func_at_file () +{ + operation=$2 + archive=$3 + at_file_contents=`cat "$1"` + eval set x "$at_file_contents" + shift + + for member + do + $AR -NOLOGO $operation:"$member" "$archive" || exit $? + done +} + +case $1 in + '') + func_error "no command. Try '$0 --help' for more information." + ;; + -h | --h*) + cat <. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to or send patches to +# . + +nl=' +' + +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent tools from complaining about whitespace usage. +IFS=" "" $nl" + +file_conv= + +# func_file_conv build_file lazy +# Convert a $build file to $host form and store it in $file +# Currently only supports Windows hosts. If the determined conversion +# type is listed in (the comma separated) LAZY, no conversion will +# take place. +func_file_conv () +{ + file=$1 + case $file in + / | /[!/]*) # absolute file, and not a UNC file + if test -z "$file_conv"; then + # lazily determine how to convert abs files + case `uname -s` in + MINGW*) + file_conv=mingw + ;; + CYGWIN*) + file_conv=cygwin + ;; + *) + file_conv=wine + ;; + esac + fi + case $file_conv/,$2, in + *,$file_conv,*) + ;; + mingw/*) + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` + ;; + cygwin/*) + file=`cygpath -m "$file" || echo "$file"` + ;; + wine/*) + file=`winepath -w "$file" || echo "$file"` + ;; + esac + ;; + esac +} + +# func_cl_dashL linkdir +# Make cl look for libraries in LINKDIR +func_cl_dashL () +{ + func_file_conv "$1" + if test -z "$lib_path"; then + lib_path=$file + else + lib_path="$lib_path;$file" + fi + linker_opts="$linker_opts -LIBPATH:$file" +} + +# func_cl_dashl library +# Do a library search-path lookup for cl +func_cl_dashl () +{ + lib=$1 + found=no + save_IFS=$IFS + IFS=';' + for dir in $lib_path $LIB + do + IFS=$save_IFS + if $shared && test -f "$dir/$lib.dll.lib"; then + found=yes + lib=$dir/$lib.dll.lib + break + fi + if test -f "$dir/$lib.lib"; then + found=yes + lib=$dir/$lib.lib + break + fi + if test -f "$dir/lib$lib.a"; then + found=yes + lib=$dir/lib$lib.a + break + fi + done + IFS=$save_IFS + + if test "$found" != yes; then + lib=$lib.lib + fi +} + +# func_cl_wrapper cl arg... +# Adjust compile command to suit cl +func_cl_wrapper () +{ + # Assume a capable shell + lib_path= + shared=: + linker_opts= + for arg + do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + eat=1 + case $2 in + *.o | *.[oO][bB][jJ]) + func_file_conv "$2" + set x "$@" -Fo"$file" + shift + ;; + *) + func_file_conv "$2" + set x "$@" -Fe"$file" + shift + ;; + esac + ;; + -I) + eat=1 + func_file_conv "$2" mingw + set x "$@" -I"$file" + shift + ;; + -I*) + func_file_conv "${1#-I}" mingw + set x "$@" -I"$file" + shift + ;; + -l) + eat=1 + func_cl_dashl "$2" + set x "$@" "$lib" + shift + ;; + -l*) + func_cl_dashl "${1#-l}" + set x "$@" "$lib" + shift + ;; + -L) + eat=1 + func_cl_dashL "$2" + ;; + -L*) + func_cl_dashL "${1#-L}" + ;; + -static) + shared=false + ;; + -Wl,*) + arg=${1#-Wl,} + save_ifs="$IFS"; IFS=',' + for flag in $arg; do + IFS="$save_ifs" + linker_opts="$linker_opts $flag" + done + IFS="$save_ifs" + ;; + -Xlinker) + eat=1 + linker_opts="$linker_opts $2" + ;; + -*) + set x "$@" "$1" + shift + ;; + *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) + func_file_conv "$1" + set x "$@" -Tp"$file" + shift + ;; + *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) + func_file_conv "$1" mingw + set x "$@" "$file" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift + done + if test -n "$linker_opts"; then + linker_opts="-link$linker_opts" + fi + exec "$@" $linker_opts + exit 1 +} + +eat= + +case $1 in + '') + echo "$0: No command. Try '$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: compile [--help] [--version] PROGRAM [ARGS] + +Wrapper for compilers which do not understand '-c -o'. +Remove '-o dest.o' from ARGS, run PROGRAM with the remaining +arguments, and rename the output as expected. + +If you are trying to build a whole package this is not the +right script to run: please start by reading the file 'INSTALL'. + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "compile $scriptversion" + exit $? + ;; + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ + icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) + func_cl_wrapper "$@" # Doesn't return... + ;; +esac + +ofile= +cfile= + +for arg +do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + # So we strip '-o arg' only if arg is an object. + eat=1 + case $2 in + *.o | *.obj) + ofile=$2 + ;; + *) + set x "$@" -o "$2" + shift + ;; + esac + ;; + *.c) + cfile=$1 + set x "$@" "$1" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift +done + +if test -z "$ofile" || test -z "$cfile"; then + # If no '-o' option was seen then we might have been invoked from a + # pattern rule where we don't need one. That is ok -- this is a + # normal compilation that the losing compiler can handle. If no + # '.c' file was seen then we are probably linking. That is also + # ok. + exec "$@" +fi + +# Name of file we expect compiler to create. +cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` + +# Create the lock directory. +# Note: use '[/\\:.-]' here to ensure that we don't use the same name +# that we are using for the .o file. Also, base the name on the expected +# object file name, since that is what matters with a parallel build. +lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d +while true; do + if mkdir "$lockdir" >/dev/null 2>&1; then + break + fi + sleep 1 +done +# FIXME: race condition here if user kills between mkdir and trap. +trap "rmdir '$lockdir'; exit 1" 1 2 15 + +# Run the compile. +"$@" +ret=$? + +if test -f "$cofile"; then + test "$cofile" = "$ofile" || mv "$cofile" "$ofile" +elif test -f "${cofile}bj"; then + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" +fi + +rmdir "$lockdir" +exit $ret + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC0" +# time-stamp-end: "; # UTC" +# End: diff --git a/config/config.guess b/config/config.guess new file mode 100755 index 0000000..717b228 --- /dev/null +++ b/config/config.guess @@ -0,0 +1,1476 @@ +#!/bin/sh +# Attempt to guess a canonical system name. +# Copyright 1992-2017 Free Software Foundation, Inc. + +timestamp='2017-08-08' + +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see . +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). +# +# Originally written by Per Bothner; maintained since 2000 by Ben Elliston. +# +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess +# +# Please send patches to . + + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright 1992-2017 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 +fi + +trap 'exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +# Portable tmp directory creation inspired by the Autoconf team. + +set_cc_for_build=' +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; +: ${TMPDIR=/tmp} ; + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; +dummy=$tmp/dummy ; +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; +case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found ; + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; +esac ; set_cc_for_build= ;' + +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. +# (ghazi@noc.rutgers.edu 1994-08-24) +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then + PATH=$PATH:/.attbin ; export PATH +fi + +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown + +case "${UNAME_SYSTEM}" in +Linux|GNU|GNU/*) + # If the system lacks a compiler, then just pick glibc. + # We could probably try harder. + LIBC=gnu + + eval $set_cc_for_build + cat <<-EOF > $dummy.c + #include + #if defined(__UCLIBC__) + LIBC=uclibc + #elif defined(__dietlibc__) + LIBC=dietlibc + #else + LIBC=gnu + #endif + EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` + ;; +esac + +# Note: order is significant - the case branches are not exclusive. + +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or + # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently + # switched to ELF, *-*-netbsd* would select the old + # object file format. This provides both forward + # compatibility and a consistent mechanism for selecting the + # object file format. + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ + /sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || \ + echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + sh5el) machine=sh5le-unknown ;; + earmv*) + arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'` + endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'` + machine=${arch}${endian}-unknown + ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently (or will in the future) and ABI. + case "${UNAME_MACHINE_ARCH}" in + earm*) + os=netbsdelf + ;; + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + eval $set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ELF__ + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac + # Determine ABI tags. + case "${UNAME_MACHINE_ARCH}" in + earm*) + expr='s/^earmv[0-9]/-eabi/;s/eb$//' + abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"` + ;; + esac + # The OS release + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "${UNAME_VERSION}" in + Debian*) + release='-gnu' + ;; + *) + release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2` + ;; + esac + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: + # contains redundant information, the shorter form: + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. + echo "${machine}-${os}${release}${abi}" + exit ;; + *:Bitrig:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} + exit ;; + *:OpenBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} + exit ;; + *:LibertyBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE} + exit ;; + *:ekkoBSD:*:*) + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} + exit ;; + *:SolidBSD:*:*) + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} + exit ;; + macppc:MirBSD:*:*) + echo powerpc-unknown-mirbsd${UNAME_RELEASE} + exit ;; + *:MirBSD:*:*) + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} + exit ;; + *:Sortix:*:*) + echo ${UNAME_MACHINE}-unknown-sortix + exit ;; + *:Redox:*:*) + echo ${UNAME_MACHINE}-unknown-redox + exit ;; + alpha:OSF1:*:*) + case $UNAME_RELEASE in + *4.0) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE=alpha ;; + "EV4.5 (21064)") + UNAME_MACHINE=alpha ;; + "LCA4 (21066/21068)") + UNAME_MACHINE=alpha ;; + "EV5 (21164)") + UNAME_MACHINE=alphaev5 ;; + "EV5.6 (21164A)") + UNAME_MACHINE=alphaev56 ;; + "EV5.6 (21164PC)") + UNAME_MACHINE=alphapca56 ;; + "EV5.7 (21164PC)") + UNAME_MACHINE=alphapca57 ;; + "EV6 (21264)") + UNAME_MACHINE=alphaev6 ;; + "EV6.7 (21264A)") + UNAME_MACHINE=alphaev67 ;; + "EV6.8CB (21264C)") + UNAME_MACHINE=alphaev68 ;; + "EV6.8AL (21264B)") + UNAME_MACHINE=alphaev68 ;; + "EV6.8CX (21264D)") + UNAME_MACHINE=alphaev68 ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE=alphaev69 ;; + "EV7 (21364)") + UNAME_MACHINE=alphaev7 ;; + "EV7.9 (21364A)") + UNAME_MACHINE=alphaev79 ;; + esac + # A Pn.n version is a patched version. + # A Vn.n version is a released version. + # A Tn.n version is a released field test version. + # A Xn.n version is an unreleased experimental baselevel. + # 1.2 uses "1.2" for uname -r. + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. + exitcode=$? + trap '' 0 + exit $exitcode ;; + Alpha\ *:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # Should we change UNAME_MACHINE based on the output of uname instead + # of the specific Alpha model? + echo alpha-pc-interix + exit ;; + 21064:Windows_NT:50:3) + echo alpha-dec-winnt3.5 + exit ;; + Amiga*:UNIX_System_V:4.0:*) + echo m68k-unknown-sysv4 + exit ;; + *:[Aa]miga[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-amigaos + exit ;; + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos + exit ;; + *:OS/390:*:*) + echo i370-ibm-openedition + exit ;; + *:z/VM:*:*) + echo s390-ibm-zvmoe + exit ;; + *:OS400:*:*) + echo powerpc-ibm-os400 + exit ;; + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) + echo arm-acorn-riscix${UNAME_RELEASE} + exit ;; + arm*:riscos:*:*|arm*:RISCOS:*:*) + echo arm-unknown-riscos + exit ;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) + echo hppa1.1-hitachi-hiuxmpp + exit ;; + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. + if test "`(/bin/universe) 2>/dev/null`" = att ; then + echo pyramid-pyramid-sysv3 + else + echo pyramid-pyramid-bsd + fi + exit ;; + NILE*:*:*:dcosx) + echo pyramid-pyramid-svr4 + exit ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit ;; + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7; exit ;; + esac ;; + s390x:SunOS:*:*) + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4H:SunOS:5.*:*) + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) + echo i386-pc-auroraux${UNAME_RELEASE} + exit ;; + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) + eval $set_cc_for_build + SUN_ARCH=i386 + # If there is a compiler, see if it is configured for 64-bit objects. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. + # This test works for both compilers. + if [ "$CC_FOR_BUILD" != no_compiler_found ]; then + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + SUN_ARCH=x86_64 + fi + fi + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:6*:*) + # According to config.sub, this is the proper way to canonicalize + # SunOS6. Hard to guess exactly what SunOS6 will be like, but + # it's likely to be more like Solaris than SunOS4. + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:*:*) + case "`/usr/bin/arch -k`" in + Series*|S4*) + UNAME_RELEASE=`uname -v` + ;; + esac + # Japanese Language versions have a version number like `4.1.3-JL'. + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` + exit ;; + sun3*:SunOS:*:*) + echo m68k-sun-sunos${UNAME_RELEASE} + exit ;; + sun*:*:4.2BSD:*) + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3 + case "`/bin/arch`" in + sun3) + echo m68k-sun-sunos${UNAME_RELEASE} + ;; + sun4) + echo sparc-sun-sunos${UNAME_RELEASE} + ;; + esac + exit ;; + aushp:SunOS:*:*) + echo sparc-auspex-sunos${UNAME_RELEASE} + exit ;; + # The situation for MiNT is a little confusing. The machine name + # can be virtually everything (everything which is not + # "atarist" or "atariste" at least should have a processor + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" + # to the lowercase version "mint" (or "freemint"). Finally + # the system name "TOS" denotes a system which is actually not + # MiNT. But MiNT is downward compatible to TOS, so this should + # be no problem. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) + echo m68k-milan-mint${UNAME_RELEASE} + exit ;; + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) + echo m68k-hades-mint${UNAME_RELEASE} + exit ;; + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint${UNAME_RELEASE} + exit ;; + m68k:machten:*:*) + echo m68k-apple-machten${UNAME_RELEASE} + exit ;; + powerpc:machten:*:*) + echo powerpc-apple-machten${UNAME_RELEASE} + exit ;; + RISC*:Mach:*:*) + echo mips-dec-mach_bsd4.3 + exit ;; + RISC*:ULTRIX:*:*) + echo mips-dec-ultrix${UNAME_RELEASE} + exit ;; + VAX*:ULTRIX*:*:*) + echo vax-dec-ultrix${UNAME_RELEASE} + exit ;; + 2020:CLIX:*:* | 2430:CLIX:*:*) + echo clipper-intergraph-clix${UNAME_RELEASE} + exit ;; + mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c +#ifdef __cplusplus +#include /* for printf() prototype */ + int main (int argc, char *argv[]) { +#else + int main (argc, argv) int argc; char *argv[]; { +#endif + #if defined (host_mips) && defined (MIPSEB) + #if defined (SYSTYPE_SYSV) + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_SVR4) + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); + #endif + #endif + exit (-1); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && + SYSTEM_NAME=`$dummy $dummyarg` && + { echo "$SYSTEM_NAME"; exit; } + echo mips-mips-riscos${UNAME_RELEASE} + exit ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:Power_UNIX:*:*) + echo powerpc-harris-powerunix + exit ;; + m88k:CX/UX:7*:*) + echo m88k-harris-cxux7 + exit ;; + m88k:*:4*:R4*) + echo m88k-motorola-sysv4 + exit ;; + m88k:*:3*:R3*) + echo m88k-motorola-sysv3 + exit ;; + AViiON:dgux:*:*) + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] + then + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ + [ ${TARGET_BINARY_INTERFACE}x = x ] + then + echo m88k-dg-dgux${UNAME_RELEASE} + else + echo m88k-dg-dguxbcs${UNAME_RELEASE} + fi + else + echo i586-dg-dgux${UNAME_RELEASE} + fi + exit ;; + M88*:DolphinOS:*:*) # DolphinOS (SVR3) + echo m88k-dolphin-sysv3 + exit ;; + M88*:*:R3*:*) + # Delta 88k system running SVR3 + echo m88k-motorola-sysv3 + exit ;; + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) + echo m88k-tektronix-sysv3 + exit ;; + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) + echo m68k-tektronix-bsd + exit ;; + *:IRIX*:*:*) + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` + exit ;; + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) + echo i386-ibm-aix + exit ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit ;; + *:AIX:2:3) + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` + then + echo "$SYSTEM_NAME" + else + echo rs6000-ibm-aix3.2.5 + fi + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then + echo rs6000-ibm-aix3.2.4 + else + echo rs6000-ibm-aix3.2 + fi + exit ;; + *:AIX:*:[4567]) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then + IBM_ARCH=rs6000 + else + IBM_ARCH=powerpc + fi + if [ -x /usr/bin/lslpp ] ; then + IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | + awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${IBM_ARCH}-ibm-aix${IBM_REV} + exit ;; + *:AIX:*:*) + echo rs6000-ibm-aix + exit ;; + ibmrt:4.4BSD:*|romp-ibm:BSD:*) + echo romp-ibm-bsd4.4 + exit ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to + exit ;; # report: romp-ibm BSD 4.3 + *:BOSX:*:*) + echo rs6000-bull-bosx + exit ;; + DPX/2?00:B.O.S.:*:*) + echo m68k-bull-sysv3 + exit ;; + 9000/[34]??:4.3bsd:1.*:*) + echo m68k-hp-bsd + exit ;; + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) + echo m68k-hp-bsd4.4 + exit ;; + 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + case "${UNAME_MACHINE}" in + 9000/31? ) HP_ARCH=m68000 ;; + 9000/[34]?? ) HP_ARCH=m68k ;; + 9000/[678][0-9][0-9]) + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 + 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH=hppa2.0n ;; + 64) HP_ARCH=hppa2.0w ;; + '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include + #include + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } +EOF + (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; + esac + if [ ${HP_ARCH} = hppa2.0w ] + then + eval $set_cc_for_build + + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler + # generating 64-bit code. GNU and HP use different nomenclature: + # + # $ CC_FOR_BUILD=cc ./config.guess + # => hppa2.0w-hp-hpux11.23 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess + # => hppa64-hp-hpux11.23 + + if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | + grep -q __LP64__ + then + HP_ARCH=hppa2.0w + else + HP_ARCH=hppa64 + fi + fi + echo ${HP_ARCH}-hp-hpux${HPUX_REV} + exit ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit ;; + 3050*:HI-UX:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + int + main () + { + long cpu = sysconf (_SC_CPU_VERSION); + /* The order matters, because CPU_IS_HP_MC68K erroneously returns + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct + results, however. */ + if (CPU_IS_PA_RISC (cpu)) + { + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; + default: puts ("hppa-hitachi-hiuxwe2"); break; + } + } + else if (CPU_IS_HP_MC68K (cpu)) + puts ("m68k-hitachi-hiuxwe2"); + else puts ("unknown-hitachi-hiuxwe2"); + exit (0); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + echo unknown-hitachi-hiuxwe2 + exit ;; + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) + echo hppa1.1-hp-bsd + exit ;; + 9000/8??:4.3bsd:*:*) + echo hppa1.0-hp-bsd + exit ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) + echo hppa1.0-hp-mpeix + exit ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) + echo hppa1.1-hp-osf + exit ;; + hp8??:OSF1:*:*) + echo hppa1.0-hp-osf + exit ;; + i*86:OSF1:*:*) + if [ -x /usr/sbin/sysversion ] ; then + echo ${UNAME_MACHINE}-unknown-osf1mk + else + echo ${UNAME_MACHINE}-unknown-osf1 + fi + exit ;; + parisc*:Lites*:*:*) + echo hppa1.1-hp-lites + exit ;; + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) + echo c1-convex-bsd + exit ;; + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) + echo c34-convex-bsd + exit ;; + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) + echo c38-convex-bsd + exit ;; + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) + echo c4-convex-bsd + exit ;; + CRAY*Y-MP:*:*:*) + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*[A-Z]90:*:*:*) + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*TS:*:*:*) + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*T3E:*:*:*) + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*SV1:*:*:*) + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + *:UNICOS/mp:*:*) + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` + FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + 5000:UNIX_System_V:4.*:*) + FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} + exit ;; + sparc*:BSD/OS:*:*) + echo sparc-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:BSD/OS:*:*) + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:FreeBSD:*:*) + UNAME_PROCESSOR=`/usr/bin/uname -p` + case ${UNAME_PROCESSOR} in + amd64) + UNAME_PROCESSOR=x86_64 ;; + i386) + UNAME_PROCESSOR=i586 ;; + esac + echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit ;; + i*:CYGWIN*:*) + echo ${UNAME_MACHINE}-pc-cygwin + exit ;; + *:MINGW64*:*) + echo ${UNAME_MACHINE}-pc-mingw64 + exit ;; + *:MINGW*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + exit ;; + *:MSYS*:*) + echo ${UNAME_MACHINE}-pc-msys + exit ;; + i*:windows32*:*) + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 + exit ;; + i*:PW*:*) + echo ${UNAME_MACHINE}-pc-pw32 + exit ;; + *:Interix*:*) + case ${UNAME_MACHINE} in + x86) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + authenticamd | genuineintel | EM64T) + echo x86_64-unknown-interix${UNAME_RELEASE} + exit ;; + IA64) + echo ia64-unknown-interix${UNAME_RELEASE} + exit ;; + esac ;; + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) + echo i${UNAME_MACHINE}-pc-mks + exit ;; + 8664:Windows_NT:*) + echo x86_64-pc-mks + exit ;; + i*:Windows_NT*:* | Pentium*:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we + # UNAME_MACHINE based on the output of uname instead of i386? + echo i586-pc-interix + exit ;; + i*:UWIN*:*) + echo ${UNAME_MACHINE}-pc-uwin + exit ;; + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit ;; + p*:CYGWIN*:*) + echo powerpcle-unknown-cygwin + exit ;; + prep*:SunOS:5.*:*) + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + *:GNU:*:*) + # the GNU system + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + exit ;; + *:GNU/*:*:*) + # other systems with GNU libc and userland + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} + exit ;; + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit ;; + aarch64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + aarch64_be:Linux:*:*) + UNAME_MACHINE=aarch64_be + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC=gnulibc1 ; fi + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + arc:Linux:*:* | arceb:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + arm*:Linux:*:*) + eval $set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ + then + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + else + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi + else + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf + fi + fi + exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + cris:Linux:*:*) + echo ${UNAME_MACHINE}-axis-linux-${LIBC} + exit ;; + crisv32:Linux:*:*) + echo ${UNAME_MACHINE}-axis-linux-${LIBC} + exit ;; + e2k:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + frv:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + hexagon:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + i*86:Linux:*:*) + echo ${UNAME_MACHINE}-pc-linux-${LIBC} + exit ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + k1om:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + mips:Linux:*:* | mips64:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef ${UNAME_MACHINE} + #undef ${UNAME_MACHINE}el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=${UNAME_MACHINE}el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=${UNAME_MACHINE} + #else + CPU= + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } + ;; + mips64el:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + openrisc*:Linux:*:*) + echo or1k-unknown-linux-${LIBC} + exit ;; + or32:Linux:*:* | or1k*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + padre:Linux:*:*) + echo sparc-unknown-linux-${LIBC} + exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-${LIBC} + exit ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; + PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; + *) echo hppa-unknown-linux-${LIBC} ;; + esac + exit ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-${LIBC} + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-${LIBC} + exit ;; + ppc64le:Linux:*:*) + echo powerpc64le-unknown-linux-${LIBC} + exit ;; + ppcle:Linux:*:*) + echo powerpcle-unknown-linux-${LIBC} + exit ;; + riscv32:Linux:*:* | riscv64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux-${LIBC} + exit ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + tile*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + vax:Linux:*:*) + echo ${UNAME_MACHINE}-dec-linux-${LIBC} + exit ;; + x86_64:Linux:*:*) + echo ${UNAME_MACHINE}-pc-linux-${LIBC} + exit ;; + xtensa*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. + echo i386-sequent-sysv4 + exit ;; + i*86:UNIX_SV:4.2MP:2.*) + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, + # I just have to hope. -- rms. + # Use sysv4.2uw... so that sysv4* matches it. + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} + exit ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit ;; + i*86:syllable:*:*) + echo ${UNAME_MACHINE}-pc-syllable + exit ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit ;; + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} + else + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} + fi + exit ;; + i*86:*:5:[678]*) + # UnixWare 7.x, OpenUNIX and OpenServer 6. + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + exit ;; + i*86:*:3.2:*) + if test -f /usr/options/cb.name; then + UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ + && UNAME_MACHINE=i586 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ + && UNAME_MACHINE=i686 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ + && UNAME_MACHINE=i686 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL + else + echo ${UNAME_MACHINE}-pc-sysv32 + fi + exit ;; + pc:*:*:*) + # Left here for compatibility: + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i586. + # Note: whatever this is, it MUST be the same as what config.sub + # prints for the "djgpp" host, or else GDB configure will decide that + # this is a cross-build. + echo i586-pc-msdosdjgpp + exit ;; + Intel:Mach:3*:*) + echo i386-pc-mach3 + exit ;; + paragon:*:*:*) + echo i860-intel-osf1 + exit ;; + i860:*:4.*:*) # i860-SVR4 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 + else # Add other i860-SVR4 vendors below as they are discovered. + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 + fi + exit ;; + mini*:CTIX:SYS*5:*) + # "miniframe" + echo m68010-convergent-sysv + exit ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit ;; + M68*:*:R3V[5678]*:*) + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) + OS_REL='' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; + NCR*:*:4.2:* | MPRAS*:*:4.2:*) + OS_REL='.3' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) + echo m68k-unknown-lynxos${UNAME_RELEASE} + exit ;; + mc68030:UNIX_System_V:4.*:*) + echo m68k-atari-sysv4 + exit ;; + TSUNAMI:LynxOS:2.*:*) + echo sparc-unknown-lynxos${UNAME_RELEASE} + exit ;; + rs6000:LynxOS:2.*:*) + echo rs6000-unknown-lynxos${UNAME_RELEASE} + exit ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit ;; + SM[BE]S:UNIX_SV:*:*) + echo mips-dde-sysv${UNAME_RELEASE} + exit ;; + RM*:ReliantUNIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + RM*:SINIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + *:SINIX-*:*:*) + if uname -p 2>/dev/null >/dev/null ; then + UNAME_MACHINE=`(uname -p) 2>/dev/null` + echo ${UNAME_MACHINE}-sni-sysv4 + else + echo ns32k-sni-sysv + fi + exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says + echo i586-unisys-sysv4 + exit ;; + *:UNIX_System_V:4*:FTX*) + # From Gerald Hewes . + # How about differentiating between stratus architectures? -djm + echo hppa1.1-stratus-sysv4 + exit ;; + *:*:*:FTX*) + # From seanf@swdc.stratus.com. + echo i860-stratus-sysv4 + exit ;; + i*86:VOS:*:*) + # From Paul.Green@stratus.com. + echo ${UNAME_MACHINE}-stratus-vos + exit ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit ;; + mc68*:A/UX:*:*) + echo m68k-apple-aux${UNAME_RELEASE} + exit ;; + news*:NEWS-OS:6*:*) + echo mips-sony-newsos6 + exit ;; + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) + if [ -d /usr/nec ]; then + echo mips-nec-sysv${UNAME_RELEASE} + else + echo mips-unknown-sysv${UNAME_RELEASE} + fi + exit ;; + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. + echo powerpc-be-beos + exit ;; + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. + echo powerpc-apple-beos + exit ;; + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. + echo i586-pc-beos + exit ;; + BePC:Haiku:*:*) # Haiku running on Intel PC compatible. + echo i586-pc-haiku + exit ;; + x86_64:Haiku:*:*) + echo x86_64-unknown-haiku + exit ;; + SX-4:SUPER-UX:*:*) + echo sx4-nec-superux${UNAME_RELEASE} + exit ;; + SX-5:SUPER-UX:*:*) + echo sx5-nec-superux${UNAME_RELEASE} + exit ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit ;; + SX-7:SUPER-UX:*:*) + echo sx7-nec-superux${UNAME_RELEASE} + exit ;; + SX-8:SUPER-UX:*:*) + echo sx8-nec-superux${UNAME_RELEASE} + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux${UNAME_RELEASE} + exit ;; + SX-ACE:SUPER-UX:*:*) + echo sxace-nec-superux${UNAME_RELEASE} + exit ;; + Power*:Rhapsody:*:*) + echo powerpc-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Rhapsody:*:*) + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Darwin:*:*) + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + eval $set_cc_for_build + if test "$UNAME_PROCESSOR" = unknown ; then + UNAME_PROCESSOR=powerpc + fi + if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then + if [ "$CC_FOR_BUILD" != no_compiler_found ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + case $UNAME_PROCESSOR in + i386) UNAME_PROCESSOR=x86_64 ;; + powerpc) UNAME_PROCESSOR=powerpc64 ;; + esac + fi + # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc + if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_PPC >/dev/null + then + UNAME_PROCESSOR=powerpc + fi + fi + elif test "$UNAME_PROCESSOR" = i386 ; then + # Avoid executing cc on OS X 10.9, as it ships with a stub + # that puts up a graphical alert prompting to install + # developer tools. Any system running Mac OS X 10.7 or + # later (Darwin 11 and later) is required to have a 64-bit + # processor. This is not true of the ARM version of Darwin + # that Apple uses in portable devices. + UNAME_PROCESSOR=x86_64 + fi + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} + exit ;; + *:procnto*:*:* | *:QNX:[0123456789]*:*) + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = x86; then + UNAME_PROCESSOR=i386 + UNAME_MACHINE=pc + fi + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} + exit ;; + *:QNX:*:4*) + echo i386-pc-qnx + exit ;; + NEO-*:NONSTOP_KERNEL:*:*) + echo neo-tandem-nsk${UNAME_RELEASE} + exit ;; + NSE-*:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk${UNAME_RELEASE} + exit ;; + NSR-*:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk${UNAME_RELEASE} + exit ;; + NSX-*:NONSTOP_KERNEL:*:*) + echo nsx-tandem-nsk${UNAME_RELEASE} + exit ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit ;; + DS/*:UNIX_System_V:*:*) + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} + exit ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = 386; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + exit ;; + *:DragonFly:*:*) + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "${UNAME_MACHINE}" in + A*) echo alpha-dec-vms ; exit ;; + I*) echo ia64-dec-vms ; exit ;; + V*) echo vax-dec-vms ; exit ;; + esac ;; + *:XENIX:*:SysV) + echo i386-pc-xenix + exit ;; + i*86:skyos:*:*) + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'` + exit ;; + i*86:rdos:*:*) + echo ${UNAME_MACHINE}-pc-rdos + exit ;; + i*86:AROS:*:*) + echo ${UNAME_MACHINE}-pc-aros + exit ;; + x86_64:VMkernel:*:*) + echo ${UNAME_MACHINE}-unknown-esx + exit ;; + amd64:Isilon\ OneFS:*:*) + echo x86_64-unknown-onefs + exit ;; +esac + +cat >&2 </dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} +EOF + +exit 1 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/config/config.rpath b/config/config.rpath new file mode 100755 index 0000000..c38b914 --- /dev/null +++ b/config/config.rpath @@ -0,0 +1,690 @@ +#! /bin/sh +# Output a system dependent set of variables, describing how to set the +# run time search path of shared libraries in an executable. +# +# Copyright 1996-2013 Free Software Foundation, Inc. +# Taken from GNU libtool, 2001 +# Originally by Gordon Matzigkeit , 1996 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. +# +# The first argument passed to this file is the canonical host specification, +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld +# should be set by the caller. +# +# The set of defined variables is at the end of this script. + +# Known limitations: +# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer +# than 256 bytes, otherwise the compiler driver will dump core. The only +# known workaround is to choose shorter directory names for the build +# directory and/or the installation directory. + +# All known linkers require a '.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a +shrext=.so + +host="$1" +host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + +# Code taken from libtool.m4's _LT_CC_BASENAME. + +for cc_temp in $CC""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` + +# Code taken from libtool.m4's _LT_COMPILER_PIC. + +wl= +if test "$GCC" = yes; then + wl='-Wl,' +else + case "$host_os" in + aix*) + wl='-Wl,' + ;; + mingw* | cygwin* | pw32* | os2* | cegcc*) + ;; + hpux9* | hpux10* | hpux11*) + wl='-Wl,' + ;; + irix5* | irix6* | nonstopux*) + wl='-Wl,' + ;; + linux* | k*bsd*-gnu | kopensolaris*-gnu) + case $cc_basename in + ecc*) + wl='-Wl,' + ;; + icc* | ifort*) + wl='-Wl,' + ;; + lf95*) + wl='-Wl,' + ;; + nagfor*) + wl='-Wl,-Wl,,' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) + wl='-Wl,' + ;; + ccc*) + wl='-Wl,' + ;; + xl* | bgxl* | bgf* | mpixl*) + wl='-Wl,' + ;; + como) + wl='-lopt=' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ F* | *Sun*Fortran*) + wl= + ;; + *Sun\ C*) + wl='-Wl,' + ;; + esac + ;; + esac + ;; + newsos6) + ;; + *nto* | *qnx*) + ;; + osf3* | osf4* | osf5*) + wl='-Wl,' + ;; + rdos*) + ;; + solaris*) + case $cc_basename in + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) + wl='-Qoption ld ' + ;; + *) + wl='-Wl,' + ;; + esac + ;; + sunos4*) + wl='-Qoption ld ' + ;; + sysv4 | sysv4.2uw2* | sysv4.3*) + wl='-Wl,' + ;; + sysv4*MP*) + ;; + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + wl='-Wl,' + ;; + unicos*) + wl='-Wl,' + ;; + uts4*) + ;; + esac +fi + +# Code taken from libtool.m4's _LT_LINKER_SHLIBS. + +hardcode_libdir_flag_spec= +hardcode_libdir_separator= +hardcode_direct=no +hardcode_minus_L=no + +case "$host_os" in + cygwin* | mingw* | pw32* | cegcc*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; +esac + +ld_shlibs=yes +if test "$with_gnu_ld" = yes; then + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + # Unlike libtool, we use -rpath here, not --rpath, since the documented + # option of GNU ld is called -rpath, not --rpath. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + case "$host_os" in + aix[3-9]*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + fi + ;; + amigaos*) + case "$host_cpu" in + powerpc) + ;; + m68k) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + esac + ;; + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + cygwin* | mingw* | pw32* | cegcc*) + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + haiku*) + ;; + interix[3-9]*) + hardcode_direct=no + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + netbsd*) + ;; + solaris*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) + ld_shlibs=no + ;; + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' + else + ld_shlibs=no + fi + ;; + esac + ;; + sunos4*) + hardcode_direct=yes + ;; + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + esac + if test "$ld_shlibs" = no; then + hardcode_libdir_flag_spec= + fi +else + case "$host_os" in + aix3*) + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + aix[4-9]*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + else + aix_use_runtimelinking=no + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + fi + hardcode_direct=yes + hardcode_libdir_separator=':' + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + hardcode_direct=unsupported + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + ;; + esac + fi + # Begin _LT_AC_SYS_LIBPATH_AIX. + echo 'int main () { return 0; }' > conftest.c + ${CC} ${LDFLAGS} conftest.c -o conftest + aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` + if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` + fi + if test -z "$aix_libpath"; then + aix_libpath="/usr/lib:/lib" + fi + rm -f conftest.c conftest + # End _LT_AC_SYS_LIBPATH_AIX. + if test "$aix_use_runtimelinking" = yes; then + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + else + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + fi + fi + ;; + amigaos*) + case "$host_cpu" in + powerpc) + ;; + m68k) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + esac + ;; + bsdi[45]*) + ;; + cygwin* | mingw* | pw32* | cegcc*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec=' ' + libext=lib + ;; + darwin* | rhapsody*) + hardcode_direct=no + if { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then + : + else + ld_shlibs=no + fi + ;; + dgux*) + hardcode_libdir_flag_spec='-L$libdir' + ;; + freebsd2.2*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + freebsd2*) + hardcode_direct=yes + hardcode_minus_L=yes + ;; + freebsd* | dragonfly*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + hpux9*) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + hpux10*) + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + fi + ;; + hpux11*) + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + case $host_cpu in + hppa*64*|ia64*) + hardcode_direct=no + ;; + *) + hardcode_direct=yes + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + irix5* | irix6* | nonstopux*) + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + netbsd*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + newsos6) + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + *nto* | *qnx*) + ;; + openbsd*) + if test -f /usr/libexec/ld.so; then + hardcode_direct=yes + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + else + case "$host_os" in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + else + ld_shlibs=no + fi + ;; + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + osf3*) + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + osf4* | osf5*) + if test "$GCC" = yes; then + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + # Both cc and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + hardcode_libdir_separator=: + ;; + solaris*) + hardcode_libdir_flag_spec='-R$libdir' + ;; + sunos4*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + ;; + sysv4) + case $host_vendor in + sni) + hardcode_direct=yes # is this really true??? + ;; + siemens) + hardcode_direct=no + ;; + motorola) + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + ;; + sysv4.3*) + ;; + sysv4*MP*) + if test -d /usr/nec; then + ld_shlibs=yes + fi + ;; + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) + ;; + sysv5* | sco3.2v5* | sco5v6*) + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' + hardcode_libdir_separator=':' + ;; + uts4*) + hardcode_libdir_flag_spec='-L$libdir' + ;; + *) + ld_shlibs=no + ;; + esac +fi + +# Check dynamic linker characteristics +# Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER. +# Unlike libtool.m4, here we don't care about _all_ names of the library, but +# only about the one the linker finds when passed -lNAME. This is the last +# element of library_names_spec in libtool.m4, or possibly two of them if the +# linker has special search rules. +library_names_spec= # the last element of library_names_spec in libtool.m4 +libname_spec='lib$name' +case "$host_os" in + aix3*) + library_names_spec='$libname.a' + ;; + aix[4-9]*) + library_names_spec='$libname$shrext' + ;; + amigaos*) + case "$host_cpu" in + powerpc*) + library_names_spec='$libname$shrext' ;; + m68k) + library_names_spec='$libname.a' ;; + esac + ;; + beos*) + library_names_spec='$libname$shrext' + ;; + bsdi[45]*) + library_names_spec='$libname$shrext' + ;; + cygwin* | mingw* | pw32* | cegcc*) + shrext=.dll + library_names_spec='$libname.dll.a $libname.lib' + ;; + darwin* | rhapsody*) + shrext=.dylib + library_names_spec='$libname$shrext' + ;; + dgux*) + library_names_spec='$libname$shrext' + ;; + freebsd* | dragonfly*) + case "$host_os" in + freebsd[123]*) + library_names_spec='$libname$shrext$versuffix' ;; + *) + library_names_spec='$libname$shrext' ;; + esac + ;; + gnu*) + library_names_spec='$libname$shrext' + ;; + haiku*) + library_names_spec='$libname$shrext' + ;; + hpux9* | hpux10* | hpux11*) + case $host_cpu in + ia64*) + shrext=.so + ;; + hppa*64*) + shrext=.sl + ;; + *) + shrext=.sl + ;; + esac + library_names_spec='$libname$shrext' + ;; + interix[3-9]*) + library_names_spec='$libname$shrext' + ;; + irix5* | irix6* | nonstopux*) + library_names_spec='$libname$shrext' + case "$host_os" in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; + *) libsuff= shlibsuff= ;; + esac + ;; + esac + ;; + linux*oldld* | linux*aout* | linux*coff*) + ;; + linux* | k*bsd*-gnu | kopensolaris*-gnu) + library_names_spec='$libname$shrext' + ;; + knetbsd*-gnu) + library_names_spec='$libname$shrext' + ;; + netbsd*) + library_names_spec='$libname$shrext' + ;; + newsos6) + library_names_spec='$libname$shrext' + ;; + *nto* | *qnx*) + library_names_spec='$libname$shrext' + ;; + openbsd*) + library_names_spec='$libname$shrext$versuffix' + ;; + os2*) + libname_spec='$name' + shrext=.dll + library_names_spec='$libname.a' + ;; + osf3* | osf4* | osf5*) + library_names_spec='$libname$shrext' + ;; + rdos*) + ;; + solaris*) + library_names_spec='$libname$shrext' + ;; + sunos4*) + library_names_spec='$libname$shrext$versuffix' + ;; + sysv4 | sysv4.3*) + library_names_spec='$libname$shrext' + ;; + sysv4*MP*) + library_names_spec='$libname$shrext' + ;; + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + library_names_spec='$libname$shrext' + ;; + tpf*) + library_names_spec='$libname$shrext' + ;; + uts4*) + library_names_spec='$libname$shrext' + ;; +esac + +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' +escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` +shlibext=`echo "$shrext" | sed -e 's,^\.,,'` +escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` +escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` +escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` + +LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). + + +# Please send patches to . +# +# Configuration subroutine to validate and canonicalize a configuration type. +# Supply the specified configuration type as an argument. +# If it is invalid, we print an error message on stderr and exit with code 1. +# Otherwise, we print the canonical config type on stdout and succeed. + +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub + +# This file is supposed to be the same for all GNU packages +# and recognize all the CPU types, system types and aliases +# that are meaningful with *any* GNU software. +# Each package is responsible for reporting which valid configurations +# it does not support. The user should be able to distinguish +# a failure to support a valid configuration from a meaningless +# configuration. + +# The goal of this file is to map all the various variations of a given +# machine specification into a single specification in the form: +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or in some cases, the newer four-part form: +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# It is wrong to echo any other type of specification. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.sub ($timestamp) + +Copyright 1992-2017 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit ;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; +esac + +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). +# Here we must recognize all the valid KERNEL-OS combinations. +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` +case $maybe_os in + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ + linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ + knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ + kopensolaris*-gnu* | cloudabi*-eabi* | \ + storm-chaos* | os2-emx* | rtmk-nova*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + ;; + android-linux) + os=-linux-android + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown + ;; + *) + basic_machine=`echo $1 | sed 's/-[^-]*$//'` + if [ $basic_machine != $1 ] + then os=`echo $1 | sed 's/.*-/-/'` + else os=; fi + ;; +esac + +### Let's recognize common machines as not being operating systems so +### that things like config.sub decstation-3100 work. We also +### recognize some manufacturers as not being operating systems, so we +### can provide default operating systems below. +case $os in + -sun*os*) + # Prevent following clause from handling this invalid input. + ;; + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ + -apple | -axis | -knuth | -cray | -microblaze*) + os= + basic_machine=$1 + ;; + -bluegene*) + os=-cnk + ;; + -sim | -cisco | -oki | -wec | -winbond) + os= + basic_machine=$1 + ;; + -scout) + ;; + -wrs) + os=-vxworks + basic_machine=$1 + ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; + -hiux*) + os=-hiuxwe2 + ;; + -sco6) + os=-sco5v6 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5) + os=-sco3.2v5 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco4) + os=-sco3.2v4 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2.[4-9]*) + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2v[4-9]*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco*) + os=-sco3.2v2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -udk*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -isc) + os=-isc2.2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -clix*) + basic_machine=clipper-intergraph + ;; + -isc*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -lynx*178) + os=-lynxos178 + ;; + -lynx*5) + os=-lynxos5 + ;; + -lynx*) + os=-lynxos + ;; + -ptx*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` + ;; + -windowsnt*) + os=`echo $os | sed -e 's/windowsnt/winnt/'` + ;; + -psos*) + os=-psos + ;; + -mint | -mint[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; +esac + +# Decode aliases for certain CPU-COMPANY combinations. +case $basic_machine in + # Recognize the basic CPU types without company name. + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ + | aarch64 | aarch64_be \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ + | arc | arceb \ + | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ + | avr | avr32 \ + | ba \ + | be32 | be64 \ + | bfin \ + | c4x | c8051 | clipper \ + | d10v | d30v | dlx | dsp16xx \ + | e2k | epiphany \ + | fido | fr30 | frv | ft32 \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | hexagon \ + | i370 | i860 | i960 | ia16 | ia64 \ + | ip2k | iq2000 \ + | k1om \ + | le32 | le64 \ + | lm32 \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64octeon | mips64octeonel \ + | mips64orion | mips64orionel \ + | mips64r5900 | mips64r5900el \ + | mips64vr | mips64vrel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mips64vr5900 | mips64vr5900el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa32r6 | mipsisa32r6el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64r6 | mipsisa64r6el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipsr5900 | mipsr5900el \ + | mipstx39 | mipstx39el \ + | mn10200 | mn10300 \ + | moxie \ + | mt \ + | msp430 \ + | nds32 | nds32le | nds32be \ + | nios | nios2 | nios2eb | nios2el \ + | ns16k | ns32k \ + | open8 | or1k | or1knd | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle \ + | pru \ + | pyramid \ + | riscv32 | riscv64 \ + | rl78 | rx \ + | score \ + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh64 | sh64le \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ + | spu \ + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ + | ubicom32 \ + | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ + | visium \ + | wasm32 \ + | we32k \ + | x86 | xc16x | xstormy16 | xtensa \ + | z8k | z80) + basic_machine=$basic_machine-unknown + ;; + c54x) + basic_machine=tic54x-unknown + ;; + c55x) + basic_machine=tic55x-unknown + ;; + c6x) + basic_machine=tic6x-unknown + ;; + leon|leon[3-9]) + basic_machine=sparc-$basic_machine + ;; + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) + basic_machine=$basic_machine-unknown + os=-none + ;; + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) + ;; + ms1) + basic_machine=mt-unknown + ;; + + strongarm | thumb | xscale) + basic_machine=arm-unknown + ;; + xgate) + basic_machine=$basic_machine-unknown + os=-none + ;; + xscaleeb) + basic_machine=armeb-unknown + ;; + + xscaleel) + basic_machine=armel-unknown + ;; + + # We use `pc' rather than `unknown' + # because (1) that's what they normally are, and + # (2) the word "unknown" tends to confuse beginning users. + i*86 | x86_64) + basic_machine=$basic_machine-pc + ;; + # Object if more than one company name word. + *-*-*) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ + | aarch64-* | aarch64_be-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* | avr32-* \ + | ba-* \ + | be32-* | be64-* \ + | bfin-* | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* \ + | c8051-* | clipper-* | craynv-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ + | e2k-* | elxsi-* \ + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | hexagon-* \ + | i*86-* | i860-* | i960-* | ia16-* | ia64-* \ + | ip2k-* | iq2000-* \ + | k1om-* \ + | le32-* | le64-* \ + | lm32-* \ + | m32c-* | m32r-* | m32rle-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ + | microblaze-* | microblazeel-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ + | mips64octeon-* | mips64octeonel-* \ + | mips64orion-* | mips64orionel-* \ + | mips64r5900-* | mips64r5900el-* \ + | mips64vr-* | mips64vrel-* \ + | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* \ + | mips64vr5000-* | mips64vr5000el-* \ + | mips64vr5900-* | mips64vr5900el-* \ + | mipsisa32-* | mipsisa32el-* \ + | mipsisa32r2-* | mipsisa32r2el-* \ + | mipsisa32r6-* | mipsisa32r6el-* \ + | mipsisa64-* | mipsisa64el-* \ + | mipsisa64r2-* | mipsisa64r2el-* \ + | mipsisa64r6-* | mipsisa64r6el-* \ + | mipsisa64sb1-* | mipsisa64sb1el-* \ + | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipsr5900-* | mipsr5900el-* \ + | mipstx39-* | mipstx39el-* \ + | mmix-* \ + | mt-* \ + | msp430-* \ + | nds32-* | nds32le-* | nds32be-* \ + | nios-* | nios2-* | nios2eb-* | nios2el-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ + | open8-* \ + | or1k*-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ + | pru-* \ + | pyramid-* \ + | riscv32-* | riscv64-* \ + | rl78-* | romp-* | rs6000-* | rx-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ + | sparclite-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \ + | tahoe-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tile*-* \ + | tron-* \ + | ubicom32-* \ + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ + | vax-* \ + | visium-* \ + | wasm32-* \ + | we32k-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* \ + | xstormy16-* | xtensa*-* \ + | ymp-* \ + | z8k-* | z80-*) + ;; + # Recognize the basic CPU types without company name, with glob match. + xtensa*) + basic_machine=$basic_machine-unknown + ;; + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 386bsd) + basic_machine=i386-unknown + os=-bsd + ;; + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + basic_machine=m68000-att + ;; + 3b*) + basic_machine=we32k-att + ;; + a29khif) + basic_machine=a29k-amd + os=-udi + ;; + abacus) + basic_machine=abacus-unknown + ;; + adobe68k) + basic_machine=m68010-adobe + os=-scout + ;; + alliant | fx80) + basic_machine=fx80-alliant + ;; + altos | altos3068) + basic_machine=m68k-altos + ;; + am29k) + basic_machine=a29k-none + os=-bsd + ;; + amd64) + basic_machine=x86_64-pc + ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + amdahl) + basic_machine=580-amdahl + os=-sysv + ;; + amiga | amiga-*) + basic_machine=m68k-unknown + ;; + amigaos | amigados) + basic_machine=m68k-unknown + os=-amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + os=-sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=-sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + os=-bsd + ;; + aros) + basic_machine=i386-pc + os=-aros + ;; + asmjs) + basic_machine=asmjs-unknown + ;; + aux) + basic_machine=m68k-apple + os=-aux + ;; + balance) + basic_machine=ns32k-sequent + os=-dynix + ;; + blackfin) + basic_machine=bfin-unknown + os=-linux + ;; + blackfin-*) + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + bluegene*) + basic_machine=powerpc-ibm + os=-cnk + ;; + c54x-*) + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c55x-*) + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c6x-*) + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; + cegcc) + basic_machine=arm-unknown + os=-cegcc + ;; + convex-c1) + basic_machine=c1-convex + os=-bsd + ;; + convex-c2) + basic_machine=c2-convex + os=-bsd + ;; + convex-c32) + basic_machine=c32-convex + os=-bsd + ;; + convex-c34) + basic_machine=c34-convex + os=-bsd + ;; + convex-c38) + basic_machine=c38-convex + os=-bsd + ;; + cray | j90) + basic_machine=j90-cray + os=-unicos + ;; + craynv) + basic_machine=craynv-cray + os=-unicosmp + ;; + cr16 | cr16-*) + basic_machine=cr16-unknown + os=-elf + ;; + crds | unos) + basic_machine=m68k-crds + ;; + crisv32 | crisv32-* | etraxfs*) + basic_machine=crisv32-axis + ;; + cris | cris-* | etrax*) + basic_machine=cris-axis + ;; + crx) + basic_machine=crx-unknown + os=-elf + ;; + da30 | da30-*) + basic_machine=m68k-da30 + ;; + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) + basic_machine=mips-dec + ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + basic_machine=m68k-motorola + ;; + delta88) + basic_machine=m88k-motorola + os=-sysv3 + ;; + dicos) + basic_machine=i686-pc + os=-dicos + ;; + djgpp) + basic_machine=i586-pc + os=-msdosdjgpp + ;; + dpx20 | dpx20-*) + basic_machine=rs6000-bull + os=-bosx + ;; + dpx2* | dpx2*-bull) + basic_machine=m68k-bull + os=-sysv3 + ;; + e500v[12]) + basic_machine=powerpc-unknown + os=$os"spe" + ;; + e500v[12]-*) + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + os=$os"spe" + ;; + ebmon29k) + basic_machine=a29k-amd + os=-ebmon + ;; + elxsi) + basic_machine=elxsi-elxsi + os=-bsd + ;; + encore | umax | mmax) + basic_machine=ns32k-encore + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=-ose + ;; + fx2800) + basic_machine=i860-alliant + ;; + genix) + basic_machine=ns32k-ns + ;; + gmicro) + basic_machine=tron-gmicro + os=-sysv + ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; + h3050r* | hiux*) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + h8300hms) + basic_machine=h8300-hitachi + os=-hms + ;; + h8300xray) + basic_machine=h8300-hitachi + os=-xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=-hms + ;; + harris) + basic_machine=m88k-harris + os=-sysv3 + ;; + hp300-*) + basic_machine=m68k-hp + ;; + hp300bsd) + basic_machine=m68k-hp + os=-bsd + ;; + hp300hpux) + basic_machine=m68k-hp + os=-hpux + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + basic_machine=m68000-hp + ;; + hp9k3[2-9][0-9]) + basic_machine=m68k-hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + basic_machine=hppa1.1-hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hppa-next) + os=-nextstep3 + ;; + hppaosf) + basic_machine=hppa1.1-hp + os=-osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=-proelf + ;; + i370-ibm* | ibm*) + basic_machine=i370-ibm + ;; + i*86v32) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv32 + ;; + i*86v4*) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv4 + ;; + i*86v) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv + ;; + i*86sol2) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-solaris2 + ;; + i386mach) + basic_machine=i386-mach + os=-mach + ;; + i386-vsta | vsta) + basic_machine=i386-unknown + os=-vsta + ;; + iris | iris4d) + basic_machine=mips-sgi + case $os in + -irix*) + ;; + *) + os=-irix4 + ;; + esac + ;; + isi68 | isi) + basic_machine=m68k-isi + os=-sysv + ;; + leon-*|leon[3-9]-*) + basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'` + ;; + m68knommu) + basic_machine=m68k-unknown + os=-linux + ;; + m68knommu-*) + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + m88k-omron*) + basic_machine=m88k-omron + ;; + magnum | m3230) + basic_machine=mips-mips + os=-sysv + ;; + merlin) + basic_machine=ns32k-utek + os=-sysv + ;; + microblaze*) + basic_machine=microblaze-xilinx + ;; + mingw64) + basic_machine=x86_64-pc + os=-mingw64 + ;; + mingw32) + basic_machine=i686-pc + os=-mingw32 + ;; + mingw32ce) + basic_machine=arm-unknown + os=-mingw32ce + ;; + miniframe) + basic_machine=m68000-convergent + ;; + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; + mips3*-*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` + ;; + mips3*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown + ;; + monitor) + basic_machine=m68k-rom68k + os=-coff + ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; + moxiebox) + basic_machine=moxie-unknown + os=-moxiebox + ;; + msdos) + basic_machine=i386-pc + os=-msdos + ;; + ms1-*) + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` + ;; + msys) + basic_machine=i686-pc + os=-msys + ;; + mvs) + basic_machine=i370-ibm + os=-mvs + ;; + nacl) + basic_machine=le32-unknown + os=-nacl + ;; + ncr3000) + basic_machine=i486-ncr + os=-sysv4 + ;; + netbsd386) + basic_machine=i386-unknown + os=-netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + os=-linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + os=-newsos + ;; + news1000) + basic_machine=m68030-sony + os=-newsos + ;; + news-3600 | risc-news) + basic_machine=mips-sony + os=-newsos + ;; + necv70) + basic_machine=v70-nec + os=-sysv + ;; + next | m*-next ) + basic_machine=m68k-next + case $os in + -nextstep* ) + ;; + -ns2*) + os=-nextstep2 + ;; + *) + os=-nextstep3 + ;; + esac + ;; + nh3000) + basic_machine=m68k-harris + os=-cxux + ;; + nh[45]000) + basic_machine=m88k-harris + os=-cxux + ;; + nindy960) + basic_machine=i960-intel + os=-nindy + ;; + mon960) + basic_machine=i960-intel + os=-mon960 + ;; + nonstopux) + basic_machine=mips-compaq + os=-nonstopux + ;; + np1) + basic_machine=np1-gould + ;; + neo-tandem) + basic_machine=neo-tandem + ;; + nse-tandem) + basic_machine=nse-tandem + ;; + nsr-tandem) + basic_machine=nsr-tandem + ;; + nsx-tandem) + basic_machine=nsx-tandem + ;; + op50n-* | op60c-*) + basic_machine=hppa1.1-oki + os=-proelf + ;; + openrisc | openrisc-*) + basic_machine=or32-unknown + ;; + os400) + basic_machine=powerpc-ibm + os=-os400 + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + os=-ose + ;; + os68k) + basic_machine=m68k-none + os=-os68k + ;; + pa-hitachi) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + paragon) + basic_machine=i860-intel + os=-osf + ;; + parisc) + basic_machine=hppa-unknown + os=-linux + ;; + parisc-*) + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + pbd) + basic_machine=sparc-tti + ;; + pbb) + basic_machine=m68k-tti + ;; + pc532 | pc532-*) + basic_machine=ns32k-pc532 + ;; + pc98) + basic_machine=i386-pc + ;; + pc98-*) + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium | p5 | k5 | k6 | nexgen | viac3) + basic_machine=i586-pc + ;; + pentiumpro | p6 | 6x86 | athlon | athlon_*) + basic_machine=i686-pc + ;; + pentiumii | pentium2 | pentiumiii | pentium3) + basic_machine=i686-pc + ;; + pentium4) + basic_machine=i786-pc + ;; + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumpro-* | p6-* | 6x86-* | athlon-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium4-*) + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pn) + basic_machine=pn-gould + ;; + power) basic_machine=power-ibm + ;; + ppc | ppcbe) basic_machine=powerpc-unknown + ;; + ppc-* | ppcbe-*) + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppcle | powerpclittle) + basic_machine=powerpcle-unknown + ;; + ppcle-* | powerpclittle-*) + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little) + basic_machine=powerpc64le-unknown + ;; + ppc64le-* | powerpc64little-*) + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ps2) + basic_machine=i386-ibm + ;; + pw32) + basic_machine=i586-unknown + os=-pw32 + ;; + rdos | rdos64) + basic_machine=x86_64-pc + os=-rdos + ;; + rdos32) + basic_machine=i386-pc + os=-rdos + ;; + rom68k) + basic_machine=m68k-rom68k + os=-coff + ;; + rm[46]00) + basic_machine=mips-siemens + ;; + rtpc | rtpc-*) + basic_machine=romp-ibm + ;; + s390 | s390-*) + basic_machine=s390-ibm + ;; + s390x | s390x-*) + basic_machine=s390x-ibm + ;; + sa29200) + basic_machine=a29k-amd + os=-udi + ;; + sb1) + basic_machine=mipsisa64sb1-unknown + ;; + sb1el) + basic_machine=mipsisa64sb1el-unknown + ;; + sde) + basic_machine=mipsisa32-sde + os=-elf + ;; + sei) + basic_machine=mips-sei + os=-seiux + ;; + sequent) + basic_machine=i386-sequent + ;; + sh) + basic_machine=sh-hitachi + os=-hms + ;; + sh5el) + basic_machine=sh5le-unknown + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparclite-wrs | simso-wrs) + basic_machine=sparclite-wrs + os=-vxworks + ;; + sps7) + basic_machine=m68k-bull + os=-sysv2 + ;; + spur) + basic_machine=spur-unknown + ;; + st2000) + basic_machine=m68k-tandem + ;; + stratus) + basic_machine=i860-stratus + os=-sysv4 + ;; + strongarm-* | thumb-*) + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + sun2) + basic_machine=m68000-sun + ;; + sun2os3) + basic_machine=m68000-sun + os=-sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + os=-sunos4 + ;; + sun3os3) + basic_machine=m68k-sun + os=-sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + os=-sunos4 + ;; + sun4os3) + basic_machine=sparc-sun + os=-sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + os=-sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + os=-solaris2 + ;; + sun3 | sun3-*) + basic_machine=m68k-sun + ;; + sun4) + basic_machine=sparc-sun + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + ;; + sv1) + basic_machine=sv1-cray + os=-unicos + ;; + symmetry) + basic_machine=i386-sequent + os=-dynix + ;; + t3e) + basic_machine=alphaev5-cray + os=-unicos + ;; + t90) + basic_machine=t90-cray + os=-unicos + ;; + tile*) + basic_machine=$basic_machine-unknown + os=-linux-gnu + ;; + tx39) + basic_machine=mipstx39-unknown + ;; + tx39el) + basic_machine=mipstx39el-unknown + ;; + toad1) + basic_machine=pdp10-xkl + os=-tops20 + ;; + tower | tower-32) + basic_machine=m68k-ncr + ;; + tpf) + basic_machine=s390x-ibm + os=-tpf + ;; + udi29k) + basic_machine=a29k-amd + os=-udi + ;; + ultra3) + basic_machine=a29k-nyu + os=-sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + os=-none + ;; + vaxv) + basic_machine=vax-dec + os=-sysv + ;; + vms) + basic_machine=vax-dec + os=-vms + ;; + vpp*|vx|vx-*) + basic_machine=f301-fujitsu + ;; + vxworks960) + basic_machine=i960-wrs + os=-vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + os=-vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + os=-vxworks + ;; + wasm32) + basic_machine=wasm32-unknown + ;; + w65*) + basic_machine=w65-wdc + os=-none + ;; + w89k-*) + basic_machine=hppa1.1-winbond + os=-proelf + ;; + xbox) + basic_machine=i686-pc + os=-mingw32 + ;; + xps | xps100) + basic_machine=xps100-honeywell + ;; + xscale-* | xscalee[bl]-*) + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` + ;; + ymp) + basic_machine=ymp-cray + os=-unicos + ;; + z8k-*-coff) + basic_machine=z8k-unknown + os=-sim + ;; + z80-*-coff) + basic_machine=z80-unknown + os=-sim + ;; + none) + basic_machine=none-none + os=-none + ;; + +# Here we handle the default manufacturer of certain CPU types. It is in +# some cases the only manufacturer, in others, it is the most popular. + w89k) + basic_machine=hppa1.1-winbond + ;; + op50n) + basic_machine=hppa1.1-oki + ;; + op60c) + basic_machine=hppa1.1-oki + ;; + romp) + basic_machine=romp-ibm + ;; + mmix) + basic_machine=mmix-knuth + ;; + rs6000) + basic_machine=rs6000-ibm + ;; + vax) + basic_machine=vax-dec + ;; + pdp10) + # there are many clones, so DEC is not a safe bet + basic_machine=pdp10-unknown + ;; + pdp11) + basic_machine=pdp11-dec + ;; + we32k) + basic_machine=we32k-att + ;; + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) + basic_machine=sh-unknown + ;; + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) + basic_machine=sparc-sun + ;; + cydra) + basic_machine=cydra-cydrome + ;; + orion) + basic_machine=orion-highlevel + ;; + orion105) + basic_machine=clipper-highlevel + ;; + mac | mpw | mac-mpw) + basic_machine=m68k-apple + ;; + pmac | pmac-mpw) + basic_machine=powerpc-apple + ;; + *-unknown) + # Make sure to match an already-canonicalized machine name. + ;; + *) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; +esac + +# Here we canonicalize certain aliases for manufacturers. +case $basic_machine in + *-digital*) + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` + ;; + *-commodore*) + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` + ;; + *) + ;; +esac + +# Decode manufacturer-specific aliases for certain operating systems. + +if [ x"$os" != x"" ] +then +case $os in + # First match some system type aliases + # that might get confused with valid system types. + # -solaris* is a basic system type, with this one exception. + -auroraux) + os=-auroraux + ;; + -solaris1 | -solaris1.*) + os=`echo $os | sed -e 's|solaris1|sunos4|'` + ;; + -solaris) + os=-solaris2 + ;; + -svr4*) + os=-sysv4 + ;; + -unixware*) + os=-sysv4.2uw + ;; + -gnu/linux*) + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` + ;; + # First accept the basic system types. + # The portable systems comes first. + # Each alternative MUST END IN A *, to match a version number. + # -sysv* is not here because it comes later, after sysvr4. + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ + | -sym* | -kopensolaris* | -plan9* \ + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ + | -aos* | -aros* | -cloudabi* | -sortix* \ + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ + | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \ + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \ + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-musl* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ + | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox*) + # Remember, each alternative MUST END IN *, to match a version number. + ;; + -qnx*) + case $basic_machine in + x86-* | i*86-*) + ;; + *) + os=-nto$os + ;; + esac + ;; + -nto-qnx*) + ;; + -nto*) + os=`echo $os | sed -e 's|nto|nto-qnx|'` + ;; + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) + ;; + -mac*) + os=`echo $os | sed -e 's|mac|macos|'` + ;; + -linux-dietlibc) + os=-linux-dietlibc + ;; + -linux*) + os=`echo $os | sed -e 's|linux|linux-gnu|'` + ;; + -sunos5*) + os=`echo $os | sed -e 's|sunos5|solaris2|'` + ;; + -sunos6*) + os=`echo $os | sed -e 's|sunos6|solaris3|'` + ;; + -opened*) + os=-openedition + ;; + -os400*) + os=-os400 + ;; + -wince*) + os=-wince + ;; + -osfrose*) + os=-osfrose + ;; + -osf*) + os=-osf + ;; + -utek*) + os=-bsd + ;; + -dynix*) + os=-bsd + ;; + -acis*) + os=-aos + ;; + -atheos*) + os=-atheos + ;; + -syllable*) + os=-syllable + ;; + -386bsd) + os=-bsd + ;; + -ctix* | -uts*) + os=-sysv + ;; + -nova*) + os=-rtmk-nova + ;; + -ns2 ) + os=-nextstep2 + ;; + -nsk*) + os=-nsk + ;; + # Preserve the version number of sinix5. + -sinix5.*) + os=`echo $os | sed -e 's|sinix|sysv|'` + ;; + -sinix*) + os=-sysv4 + ;; + -tpf*) + os=-tpf + ;; + -triton*) + os=-sysv3 + ;; + -oss*) + os=-sysv3 + ;; + -svr4) + os=-sysv4 + ;; + -svr3) + os=-sysv3 + ;; + -sysvr4) + os=-sysv4 + ;; + # This must come after -sysvr4. + -sysv*) + ;; + -ose*) + os=-ose + ;; + -es1800*) + os=-ose + ;; + -xenix) + os=-xenix + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -aros*) + os=-aros + ;; + -zvmoe) + os=-zvmoe + ;; + -dicos*) + os=-dicos + ;; + -nacl*) + ;; + -ios) + ;; + -none) + ;; + *) + # Get rid of the `-' at the beginning of $os. + os=`echo $os | sed 's/[^-]*-//'` + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 + exit 1 + ;; +esac +else + +# Here we handle the default operating systems that come with various machines. +# The value should be what the vendor currently ships out the door with their +# machine or put another way, the most popular os provided with the machine. + +# Note that if you're going to try to match "-MANUFACTURER" here (say, +# "-sun"), then you have to tell the case statement up towards the top +# that MANUFACTURER isn't an operating system. Otherwise, code above +# will signal an error saying that MANUFACTURER isn't an operating +# system, and we'll never get to this point. + +case $basic_machine in + score-*) + os=-elf + ;; + spu-*) + os=-elf + ;; + *-acorn) + os=-riscix1.2 + ;; + arm*-rebel) + os=-linux + ;; + arm*-semi) + os=-aout + ;; + c4x-* | tic4x-*) + os=-coff + ;; + c8051-*) + os=-elf + ;; + hexagon-*) + os=-elf + ;; + tic54x-*) + os=-coff + ;; + tic55x-*) + os=-coff + ;; + tic6x-*) + os=-coff + ;; + # This must come before the *-dec entry. + pdp10-*) + os=-tops20 + ;; + pdp11-*) + os=-none + ;; + *-dec | vax-*) + os=-ultrix4.2 + ;; + m68*-apollo) + os=-domain + ;; + i386-sun) + os=-sunos4.0.2 + ;; + m68000-sun) + os=-sunos3 + ;; + m68*-cisco) + os=-aout + ;; + mep-*) + os=-elf + ;; + mips*-cisco) + os=-elf + ;; + mips*-*) + os=-elf + ;; + or32-*) + os=-coff + ;; + *-tti) # must be before sparc entry or we get the wrong os. + os=-sysv3 + ;; + sparc-* | *-sun) + os=-sunos4.1.1 + ;; + pru-*) + os=-elf + ;; + *-be) + os=-beos + ;; + *-haiku) + os=-haiku + ;; + *-ibm) + os=-aix + ;; + *-knuth) + os=-mmixware + ;; + *-wec) + os=-proelf + ;; + *-winbond) + os=-proelf + ;; + *-oki) + os=-proelf + ;; + *-hp) + os=-hpux + ;; + *-hitachi) + os=-hiux + ;; + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) + os=-sysv + ;; + *-cbm) + os=-amigaos + ;; + *-dg) + os=-dgux + ;; + *-dolphin) + os=-sysv3 + ;; + m68k-ccur) + os=-rtu + ;; + m88k-omron*) + os=-luna + ;; + *-next ) + os=-nextstep + ;; + *-sequent) + os=-ptx + ;; + *-crds) + os=-unos + ;; + *-ns) + os=-genix + ;; + i370-*) + os=-mvs + ;; + *-next) + os=-nextstep3 + ;; + *-gould) + os=-sysv + ;; + *-highlevel) + os=-bsd + ;; + *-encore) + os=-bsd + ;; + *-sgi) + os=-irix + ;; + *-siemens) + os=-sysv4 + ;; + *-masscomp) + os=-rtu + ;; + f30[01]-fujitsu | f700-fujitsu) + os=-uxpv + ;; + *-rom68k) + os=-coff + ;; + *-*bug) + os=-coff + ;; + *-apple) + os=-macos + ;; + *-atari*) + os=-mint + ;; + *) + os=-none + ;; +esac +fi + +# Here we handle the case where we know the os, and the CPU type, but not the +# manufacturer. We pick the logical manufacturer. +vendor=unknown +case $basic_machine in + *-unknown) + case $os in + -riscix*) + vendor=acorn + ;; + -sunos*) + vendor=sun + ;; + -cnk*|-aix*) + vendor=ibm + ;; + -beos*) + vendor=be + ;; + -hpux*) + vendor=hp + ;; + -mpeix*) + vendor=hp + ;; + -hiux*) + vendor=hitachi + ;; + -unos*) + vendor=crds + ;; + -dgux*) + vendor=dg + ;; + -luna*) + vendor=omron + ;; + -genix*) + vendor=ns + ;; + -mvs* | -opened*) + vendor=ibm + ;; + -os400*) + vendor=ibm + ;; + -ptx*) + vendor=sequent + ;; + -tpf*) + vendor=ibm + ;; + -vxsim* | -vxworks* | -windiss*) + vendor=wrs + ;; + -aux*) + vendor=apple + ;; + -hms*) + vendor=hitachi + ;; + -mpw* | -macos*) + vendor=apple + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + vendor=atari + ;; + -vos*) + vendor=stratus + ;; + esac + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` + ;; +esac + +echo $basic_machine$os +exit + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/config/depcomp b/config/depcomp new file mode 100755 index 0000000..30379e2 --- /dev/null +++ b/config/depcomp @@ -0,0 +1,791 @@ +#!/bin/sh +# depcomp - compile a program generating dependencies as side-effects + +scriptversion=2016-01-11.22; # UTC + +# Copyright (C) 1999-2017 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Alexandre Oliva . + +case $1 in + '') + echo "$0: No command. Try '$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: depcomp [--help] [--version] PROGRAM [ARGS] + +Run PROGRAMS ARGS to compile a file, generating dependencies +as side-effects. + +Environment variables: + depmode Dependency tracking mode. + source Source file read by 'PROGRAMS ARGS'. + object Object file output by 'PROGRAMS ARGS'. + DEPDIR directory where to store dependencies. + depfile Dependency file to output. + tmpdepfile Temporary file to use when outputting dependencies. + libtool Whether libtool is used (yes/no). + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "depcomp $scriptversion" + exit $? + ;; +esac + +# Get the directory component of the given path, and save it in the +# global variables '$dir'. Note that this directory component will +# be either empty or ending with a '/' character. This is deliberate. +set_dir_from () +{ + case $1 in + */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; + *) dir=;; + esac +} + +# Get the suffix-stripped basename of the given path, and save it the +# global variable '$base'. +set_base_from () +{ + base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` +} + +# If no dependency file was actually created by the compiler invocation, +# we still have to create a dummy depfile, to avoid errors with the +# Makefile "include basename.Plo" scheme. +make_dummy_depfile () +{ + echo "#dummy" > "$depfile" +} + +# Factor out some common post-processing of the generated depfile. +# Requires the auxiliary global variable '$tmpdepfile' to be set. +aix_post_process_depfile () +{ + # If the compiler actually managed to produce a dependency file, + # post-process it. + if test -f "$tmpdepfile"; then + # Each line is of the form 'foo.o: dependency.h'. + # Do two passes, one to just change these to + # $object: dependency.h + # and one to simply output + # dependency.h: + # which is needed to avoid the deleted-header problem. + { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" + sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" + } > "$depfile" + rm -f "$tmpdepfile" + else + make_dummy_depfile + fi +} + +# A tabulation character. +tab=' ' +# A newline character. +nl=' +' +# Character ranges might be problematic outside the C locale. +# These definitions help. +upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ +lower=abcdefghijklmnopqrstuvwxyz +digits=0123456789 +alpha=${upper}${lower} + +if test -z "$depmode" || test -z "$source" || test -z "$object"; then + echo "depcomp: Variables source, object and depmode must be set" 1>&2 + exit 1 +fi + +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. +depfile=${depfile-`echo "$object" | + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} + +rm -f "$tmpdepfile" + +# Avoid interferences from the environment. +gccflag= dashmflag= + +# Some modes work just like other modes, but use different flags. We +# parameterize here, but still list the modes in the big case below, +# to make depend.m4 easier to write. Note that we *cannot* use a case +# here, because this file can only contain one case statement. +if test "$depmode" = hp; then + # HP compiler uses -M and no extra arg. + gccflag=-M + depmode=gcc +fi + +if test "$depmode" = dashXmstdout; then + # This is just like dashmstdout with a different argument. + dashmflag=-xM + depmode=dashmstdout +fi + +cygpath_u="cygpath -u -f -" +if test "$depmode" = msvcmsys; then + # This is just like msvisualcpp but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvisualcpp +fi + +if test "$depmode" = msvc7msys; then + # This is just like msvc7 but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvc7 +fi + +if test "$depmode" = xlc; then + # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. + gccflag=-qmakedep=gcc,-MF + depmode=gcc +fi + +case "$depmode" in +gcc3) +## gcc 3 implements dependency tracking that does exactly what +## we want. Yay! Note: for some reason libtool 1.4 doesn't like +## it if -MD -MP comes after the -MF stuff. Hmm. +## Unfortunately, FreeBSD c89 acceptance of flags depends upon +## the command line argument order; so add the flags where they +## appear in depend2.am. Note that the slowdown incurred here +## affects only configure: in makefiles, %FASTDEP% shortcuts this. + for arg + do + case $arg in + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; + *) set fnord "$@" "$arg" ;; + esac + shift # fnord + shift # $arg + done + "$@" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + mv "$tmpdepfile" "$depfile" + ;; + +gcc) +## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. +## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. +## (see the conditional assignment to $gccflag above). +## There are various ways to get dependency output from gcc. Here's +## why we pick this rather obscure method: +## - Don't want to use -MD because we'd like the dependencies to end +## up in a subdir. Having to rename by hand is ugly. +## (We might end up doing this anyway to support other compilers.) +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like +## -MM, not -M (despite what the docs say). Also, it might not be +## supported by the other compilers which use the 'gcc' depmode. +## - Using -M directly means running the compiler twice (even worse +## than renaming). + if test -z "$gccflag"; then + gccflag=-MD, + fi + "$@" -Wp,"$gccflag$tmpdepfile" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + # The second -e expression handles DOS-style file names with drive + # letters. + sed -e 's/^[^:]*: / /' \ + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" +## This next piece of magic avoids the "deleted header file" problem. +## The problem is that when a header file which appears in a .P file +## is deleted, the dependency causes make to die (because there is +## typically no way to rebuild the header). We avoid this by adding +## dummy dependencies for each header file. Too bad gcc doesn't do +## this for us directly. +## Some versions of gcc put a space before the ':'. On the theory +## that the space means something, we add a space to the output as +## well. hp depmode also adds that space, but also prefixes the VPATH +## to the object. Take care to not repeat it in the output. +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +sgi) + if test "$libtool" = yes; then + "$@" "-Wp,-MDupdate,$tmpdepfile" + else + "$@" -MDupdate "$tmpdepfile" + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files + echo "$object : \\" > "$depfile" + # Clip off the initial element (the dependent). Don't try to be + # clever and replace this with sed code, as IRIX sed won't handle + # lines with more than a fixed number of characters (4096 in + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; + # the IRIX cc adds comments like '#:fec' to the end of the + # dependency line. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ + | tr "$nl" ' ' >> "$depfile" + echo >> "$depfile" + # The second pass generates a dummy entry for each header file. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ + >> "$depfile" + else + make_dummy_depfile + fi + rm -f "$tmpdepfile" + ;; + +xlc) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +aix) + # The C for AIX Compiler uses -M and outputs the dependencies + # in a .u file. In older versions, this file always lives in the + # current directory. Also, the AIX compiler puts '$object:' at the + # start of each line; $object doesn't have directory information. + # Version 6 uses the directory in both cases. + set_dir_from "$object" + set_base_from "$object" + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.u + tmpdepfile2=$base.u + tmpdepfile3=$dir.libs/$base.u + "$@" -Wc,-M + else + tmpdepfile1=$dir$base.u + tmpdepfile2=$dir$base.u + tmpdepfile3=$dir$base.u + "$@" -M + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + aix_post_process_depfile + ;; + +tcc) + # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 + # FIXME: That version still under development at the moment of writing. + # Make that this statement remains true also for stable, released + # versions. + # It will wrap lines (doesn't matter whether long or short) with a + # trailing '\', as in: + # + # foo.o : \ + # foo.c \ + # foo.h \ + # + # It will put a trailing '\' even on the last line, and will use leading + # spaces rather than leading tabs (at least since its commit 0394caf7 + # "Emit spaces for -MD"). + "$@" -MD -MF "$tmpdepfile" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. + # We have to change lines of the first kind to '$object: \'. + sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" + # And for each line of the second kind, we have to emit a 'dep.h:' + # dummy dependency, to avoid the deleted-header problem. + sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" + rm -f "$tmpdepfile" + ;; + +## The order of this option in the case statement is important, since the +## shell code in configure will try each of these formats in the order +## listed in this file. A plain '-MD' option would be understood by many +## compilers, so we must ensure this comes after the gcc and icc options. +pgcc) + # Portland's C compiler understands '-MD'. + # Will always output deps to 'file.d' where file is the root name of the + # source file under compilation, even if file resides in a subdirectory. + # The object file name does not affect the name of the '.d' file. + # pgcc 10.2 will output + # foo.o: sub/foo.c sub/foo.h + # and will wrap long lines using '\' : + # foo.o: sub/foo.c ... \ + # sub/foo.h ... \ + # ... + set_dir_from "$object" + # Use the source, not the object, to determine the base name, since + # that's sadly what pgcc will do too. + set_base_from "$source" + tmpdepfile=$base.d + + # For projects that build the same source file twice into different object + # files, the pgcc approach of using the *source* file root name can cause + # problems in parallel builds. Use a locking strategy to avoid stomping on + # the same $tmpdepfile. + lockdir=$base.d-lock + trap " + echo '$0: caught signal, cleaning up...' >&2 + rmdir '$lockdir' + exit 1 + " 1 2 13 15 + numtries=100 + i=$numtries + while test $i -gt 0; do + # mkdir is a portable test-and-set. + if mkdir "$lockdir" 2>/dev/null; then + # This process acquired the lock. + "$@" -MD + stat=$? + # Release the lock. + rmdir "$lockdir" + break + else + # If the lock is being held by a different process, wait + # until the winning process is done or we timeout. + while test -d "$lockdir" && test $i -gt 0; do + sleep 1 + i=`expr $i - 1` + done + fi + i=`expr $i - 1` + done + trap - 1 2 13 15 + if test $i -le 0; then + echo "$0: failed to acquire lock after $numtries attempts" >&2 + echo "$0: check lockdir '$lockdir'" >&2 + exit 1 + fi + + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each line is of the form `foo.o: dependent.h', + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp2) + # The "hp" stanza above does not work with aCC (C++) and HP's ia64 + # compilers, which have integrated preprocessors. The correct option + # to use with these is +Maked; it writes dependencies to a file named + # 'foo.d', which lands next to the object file, wherever that + # happens to be. + # Much of this is similar to the tru64 case; see comments there. + set_dir_from "$object" + set_base_from "$object" + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir.libs/$base.d + "$@" -Wc,+Maked + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + "$@" +Maked + fi + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" + # Add 'dependent.h:' lines. + sed -ne '2,${ + s/^ *// + s/ \\*$// + s/$/:/ + p + }' "$tmpdepfile" >> "$depfile" + else + make_dummy_depfile + fi + rm -f "$tmpdepfile" "$tmpdepfile2" + ;; + +tru64) + # The Tru64 compiler uses -MD to generate dependencies as a side + # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put + # dependencies in 'foo.d' instead, so we check for that too. + # Subdirectories are respected. + set_dir_from "$object" + set_base_from "$object" + + if test "$libtool" = yes; then + # Libtool generates 2 separate objects for the 2 libraries. These + # two compilations output dependencies in $dir.libs/$base.o.d and + # in $dir$base.o.d. We have to check for both files, because + # one of the two compilations can be disabled. We should prefer + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is + # automatically cleaned when .libs/ is deleted, while ignoring + # the former would cause a distcleancheck panic. + tmpdepfile1=$dir$base.o.d # libtool 1.5 + tmpdepfile2=$dir.libs/$base.o.d # Likewise. + tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 + "$@" -Wc,-MD + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + tmpdepfile3=$dir$base.d + "$@" -MD + fi + + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + # Same post-processing that is required for AIX mode. + aix_post_process_depfile + ;; + +msvc7) + if test "$libtool" = yes; then + showIncludes=-Wc,-showIncludes + else + showIncludes=-showIncludes + fi + "$@" $showIncludes > "$tmpdepfile" + stat=$? + grep -v '^Note: including file: ' "$tmpdepfile" + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + # The first sed program below extracts the file names and escapes + # backslashes for cygpath. The second sed program outputs the file + # name when reading, but also accumulates all include files in the + # hold buffer in order to output them again at the end. This only + # works with sed implementations that can handle large buffers. + sed < "$tmpdepfile" -n ' +/^Note: including file: *\(.*\)/ { + s//\1/ + s/\\/\\\\/g + p +}' | $cygpath_u | sort -u | sed -n ' +s/ /\\ /g +s/\(.*\)/'"$tab"'\1 \\/p +s/.\(.*\) \\/\1:/ +H +$ { + s/.*/'"$tab"'/ + G + p +}' >> "$depfile" + echo >> "$depfile" # make sure the fragment doesn't end with a backslash + rm -f "$tmpdepfile" + ;; + +msvc7msys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +#nosideeffect) + # This comment above is used by automake to tell side-effect + # dependency tracking mechanisms from slower ones. + +dashmstdout) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove '-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + test -z "$dashmflag" && dashmflag=-M + # Require at least two characters before searching for ':' + # in the target name. This is to cope with DOS-style filenames: + # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. + "$@" $dashmflag | + sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this sed invocation + # correctly. Breaking it into two sed invocations is a workaround. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +dashXmstdout) + # This case only exists to satisfy depend.m4. It is never actually + # run, as this mode is specially recognized in the preamble. + exit 1 + ;; + +makedepend) + "$@" || exit $? + # Remove any Libtool call + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + # X makedepend + shift + cleared=no eat=no + for arg + do + case $cleared in + no) + set ""; shift + cleared=yes ;; + esac + if test $eat = yes; then + eat=no + continue + fi + case "$arg" in + -D*|-I*) + set fnord "$@" "$arg"; shift ;; + # Strip any option that makedepend may not understand. Remove + # the object too, otherwise makedepend will parse it as a source file. + -arch) + eat=yes ;; + -*|$object) + ;; + *) + set fnord "$@" "$arg"; shift ;; + esac + done + obj_suffix=`echo "$object" | sed 's/^.*\././'` + touch "$tmpdepfile" + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" + rm -f "$depfile" + # makedepend may prepend the VPATH from the source file name to the object. + # No need to regex-escape $object, excess matching of '.' is harmless. + sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process the last invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed '1,2d' "$tmpdepfile" \ + | tr ' ' "$nl" \ + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" "$tmpdepfile".bak + ;; + +cpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + # Remove '-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + "$@" -E \ + | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + | sed '$ s: \\$::' > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + cat < "$tmpdepfile" >> "$depfile" + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvisualcpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + + IFS=" " + for arg + do + case "$arg" in + -o) + shift + ;; + $object) + shift + ;; + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") + set fnord "$@" + shift + shift + ;; + *) + set fnord "$@" "$arg" + shift + shift + ;; + esac + done + "$@" -E 2>/dev/null | + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" + echo "$tab" >> "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvcmsys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +none) + exec "$@" + ;; + +*) + echo "Unknown depmode $depmode" 1>&2 + exit 1 + ;; +esac + +exit 0 + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC0" +# time-stamp-end: "; # UTC" +# End: diff --git a/config/gtk-doc.make b/config/gtk-doc.make new file mode 100644 index 0000000..74dbd36 --- /dev/null +++ b/config/gtk-doc.make @@ -0,0 +1,247 @@ +# +# WARNING: this is not gtk-doc.make file from gtk-doc project. This +# file has been modified to match with util-linux requirements: +# +# * install files to $datadir +# * don't maintain generated files in git repository +# * don't distribute the final html files +# * don't require --enable-gtk-doc for "make dist" +# * support out-of-tree build ($srcdir != $builddir) +# +# -- kzak, Nov 2009 +# + +#################################### +# Everything below here is generic # +#################################### + +if GTK_DOC_USE_LIBTOOL +GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) +GTKDOC_RUN = $(LIBTOOL) --mode=execute +else +GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) +GTKDOC_RUN = +endif + +# We set GPATH here; this gives us semantics for GNU make +# which are more like other make's VPATH, when it comes to +# whether a source that is a target of one rule is then +# searched for in VPATH/GPATH. +# +GPATH = $(srcdir) + +TARGET_DIR=$(docdir)/$(DOC_MODULE) + +DISTCLEANFILES = + +EXTRA_DIST = \ + $(content_files) \ + $(HTML_IMAGES) \ + $(DOC_MAIN_SGML_FILE) \ + $(DOC_MODULE)-sections.txt +# $(DOC_MODULE)-overrides.txt + +DOC_STAMPS=scan-build.stamp sgml-build.stamp html-build.stamp \ + $(srcdir)/setup.stamp $(srcdir)/sgml.stamp \ + $(srcdir)/html.stamp + +SCANOBJ_FILES = \ + $(DOC_MODULE).args \ + $(DOC_MODULE).hierarchy \ + $(DOC_MODULE).interfaces \ + $(DOC_MODULE).prerequisites \ + $(DOC_MODULE).signals \ + $(DOC_MODULE).types # util-linux: we don't use types + +REPORT_FILES = \ + $(DOC_MODULE)-undocumented.txt \ + $(DOC_MODULE)-undeclared.txt \ + $(DOC_MODULE)-unused.txt + +CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) + +if ENABLE_GTK_DOC +all-local: html-build.stamp +else +all-local: +endif + +docs: html-build.stamp + +$(REPORT_FILES): sgml-build.stamp + +#### setup #### + +setup-build.stamp: + -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ + echo 'gtk-doc: Preparing build'; \ + files=`echo $(EXTRA_DIST) $(expand_content_files) $(srcdir)/$(DOC_MODULE).types`; \ + if test "x$$files" != "x" ; then \ + for file in $$files ; do \ + test -f $(abs_srcdir)/$$file && \ + cp -p $(abs_srcdir)/$$file $(abs_builddir)/; \ + done \ + fi \ + fi + @touch setup-build.stamp + + +setup.stamp: setup-build.stamp + @true + + +#### scan #### + +scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) $(srcdir)/$(DOC_MODULE)-*.txt $(content_files) + + @test -f $(DOC_MODULE)-sections.txt || \ + cp $(srcdir)/$(DOC_MODULE)-sections.txt $(builddir) + + $(AM_V_GEN)gtkdoc-scan --module=$(DOC_MODULE) \ + --source-dir=$(srcdir)/$(DOC_SOURCE_DIR) \ + --source-dir=$(builddir)/$(DOC_SOURCE_DIR) \ + --ignore-decorators="__ul_attribute__\(.*\)" \ + --ignore-headers="$(IGNORE_HFILES)" \ + --output-dir=$(builddir) \ + $(SCAN_OPTIONS) $(EXTRA_HFILES) + + @ if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \ + CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" \ + CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) \ + $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) \ + --module=$(DOC_MODULE) --output-dir=$(builddir) ; \ + else \ + for i in $(SCANOBJ_FILES) ; do \ + test -f $$i || touch $$i ; \ + done \ + fi + @ touch scan-build.stamp + +$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp + @true + +#### templates #### +# +#tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(srcdir)/$(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt +# @echo 'gtk-doc: Rebuilding template files' +# test -z $(builddir)/tmpl || $(MKDIR_P) $(builddir)/tmpl +# gtkdoc-mktmpl --module=$(DOC_MODULE) \ +# $(MKTMPL_OPTIONS) +# touch tmpl-build.stamp +# +#tmpl.stamp: tmpl-build.stamp +# @true +# +#tmpl/*.sgml: +# @true +# + +#### xml #### + +sgml-build.stamp: setup.stamp $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-decl.txt $(DOC_MODULE)-sections.txt $(expand_content_files) + $(AM_V_GEN)gtkdoc-mkdb --module=$(DOC_MODULE) \ + --source-dir=$(srcdir)/$(DOC_SOURCE_DIR) \ + --source-dir=$(builddir)/$(DOC_SOURCE_DIR) \ + --output-format=xml \ + --ignore-files="$(IGNORE_HFILES)" \ + --expand-content-files="$(expand_content_files)" \ + --main-sgml-file=$(srcdir)/$(DOC_MAIN_SGML_FILE) \ + $(MKDB_OPTIONS) + @touch sgml-build.stamp + +sgml.stamp: sgml-build.stamp + @true + +#### html #### + +html-build.stamp: sgml.stamp $(srcdir)/$(DOC_MAIN_SGML_FILE) $(content_files) + @rm -rf $(builddir)/html + @$(MKDIR_P) $(builddir)/html + $(AM_V_GEN)cd $(builddir)/html && \ + gtkdoc-mkhtml --path="$(abs_builddir):$(abs_builddir)/xml:$(abs_srcdir)" \ + $(MKHTML_OPTIONS) \ + $(DOC_MODULE) \ + $(abs_srcdir)/$(DOC_MAIN_SGML_FILE) + + @test "x$(HTML_IMAGES)" = "x" || \ + ( cd $(srcdir) && cp $(HTML_IMAGES) $(abs_builddir)/html ) + + $(AM_V_GEN)gtkdoc-fixxref --module-dir=html \ + --module=$(DOC_MODULE) \ + --html-dir=$(HTML_DIR) \ + $(FIXXREF_OPTIONS) + @touch html-build.stamp + +############## + +clean-local: + rm -f *~ *.bak + rm -rf .libs + +distclean-local: + rm -rf xml html $(REPORT_FILES) *.stamp \ + $(DOC_MODULE)-overrides.txt \ + $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt + test $(abs_builddir) == $(abs_srcdir) || \ + rm -f $(DOC_MODULE)-*.txt $(DOC_MODULE)-*.xml *.xml.in + +install-data-local: + installfiles=`echo $(builddir)/html/*`; \ + if test "$$installfiles" = '$(builddir)/html/*'; \ + then echo '-- Nothing to install' ; \ + else \ + if test -n "$(DOC_MODULE_VERSION)"; then \ + installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ + else \ + installdir="$(DESTDIR)$(TARGET_DIR)"; \ + fi; \ + $(mkinstalldirs) $${installdir} ; \ + for i in $$installfiles; do \ + echo '-- Installing '$$i ; \ + $(INSTALL_DATA) $$i $${installdir}; \ + done; \ + if test -n "$(DOC_MODULE_VERSION)"; then \ + mv -f $${installdir}/$(DOC_MODULE).devhelp2 \ + $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \ + mv -f $${installdir}/$(DOC_MODULE).devhelp \ + $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \ + fi; \ + ! which gtkdoc-rebase >/dev/null 2>&1 || \ + gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir} ; \ + fi + +uninstall-local: + if test -n "$(DOC_MODULE_VERSION)"; then \ + installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ + else \ + installdir="$(DESTDIR)$(TARGET_DIR)"; \ + fi; \ + rm -rf $${installdir} + +# +# Require gtk-doc when making dist +# +if ENABLE_GTK_DOC +dist-check-gtkdoc: +else +dist-check-gtkdoc: + @echo "*** gtk-doc must be installed and enabled in order to make dist" + @false +endif + +#dist-hook: dist-check-gtkdoc dist-hook-local sgml.stamp html-build.stamp +# mkdir $(distdir)/tmpl +# mkdir $(distdir)/xml +# mkdir $(distdir)/html +# -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl +# -cp $(srcdir)/xml/*.xml $(distdir)/xml +# cp $(srcdir)/html/* $(distdir)/html +# -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/ +# -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/ +# cd $(distdir) && rm -f $(DISTCLEANFILES) +# ! which gtkdoc-rebase >/dev/null 2>&1 || \ +# gtkdoc-rebase --online --relative --html-dir=$(distdir)/html +# +#.PHONY : dist-hook-local docs diff --git a/config/install-sh b/config/install-sh new file mode 100755 index 0000000..0360b79 --- /dev/null +++ b/config/install-sh @@ -0,0 +1,501 @@ +#!/bin/sh +# install - install a program, script, or datafile + +scriptversion=2016-01-11.22; # UTC + +# This originates from X11R5 (mit/util/scripts/install.sh), which was +# later released in X11R6 (xc/config/util/install.sh) with the +# following copyright and license. +# +# Copyright (C) 1994 X Consortium +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# Except as contained in this notice, the name of the X Consortium shall not +# be used in advertising or otherwise to promote the sale, use or other deal- +# ings in this Software without prior written authorization from the X Consor- +# tium. +# +# +# FSF changes to this file are in the public domain. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# 'make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. + +tab=' ' +nl=' +' +IFS=" $tab$nl" + +# Set DOITPROG to "echo" to test this script. + +doit=${DOITPROG-} +doit_exec=${doit:-exec} + +# Put in absolute file names if you don't have them in your path; +# or use environment vars. + +chgrpprog=${CHGRPPROG-chgrp} +chmodprog=${CHMODPROG-chmod} +chownprog=${CHOWNPROG-chown} +cmpprog=${CMPPROG-cmp} +cpprog=${CPPROG-cp} +mkdirprog=${MKDIRPROG-mkdir} +mvprog=${MVPROG-mv} +rmprog=${RMPROG-rm} +stripprog=${STRIPPROG-strip} + +posix_mkdir= + +# Desired mode of installed file. +mode=0755 + +chgrpcmd= +chmodcmd=$chmodprog +chowncmd= +mvcmd=$mvprog +rmcmd="$rmprog -f" +stripcmd= + +src= +dst= +dir_arg= +dst_arg= + +copy_on_change=false +is_target_a_directory=possibly + +usage="\ +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE + or: $0 [OPTION]... SRCFILES... DIRECTORY + or: $0 [OPTION]... -t DIRECTORY SRCFILES... + or: $0 [OPTION]... -d DIRECTORIES... + +In the 1st form, copy SRCFILE to DSTFILE. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. +In the 4th, create DIRECTORIES. + +Options: + --help display this help and exit. + --version display version info and exit. + + -c (ignored) + -C install only if different (preserve the last data modification time) + -d create directories instead of installing files. + -g GROUP $chgrpprog installed files to GROUP. + -m MODE $chmodprog installed files to MODE. + -o USER $chownprog installed files to USER. + -s $stripprog installed files. + -t DIRECTORY install into DIRECTORY. + -T report an error if DSTFILE is a directory. + +Environment variables override the default commands: + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG + RMPROG STRIPPROG +" + +while test $# -ne 0; do + case $1 in + -c) ;; + + -C) copy_on_change=true;; + + -d) dir_arg=true;; + + -g) chgrpcmd="$chgrpprog $2" + shift;; + + --help) echo "$usage"; exit $?;; + + -m) mode=$2 + case $mode in + *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac + shift;; + + -o) chowncmd="$chownprog $2" + shift;; + + -s) stripcmd=$stripprog;; + + -t) + is_target_a_directory=always + dst_arg=$2 + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac + shift;; + + -T) is_target_a_directory=never;; + + --version) echo "$0 $scriptversion"; exit $?;; + + --) shift + break;; + + -*) echo "$0: invalid option: $1" >&2 + exit 1;; + + *) break;; + esac + shift +done + +# We allow the use of options -d and -T together, by making -d +# take the precedence; this is for compatibility with GNU install. + +if test -n "$dir_arg"; then + if test -n "$dst_arg"; then + echo "$0: target directory not allowed when installing a directory." >&2 + exit 1 + fi +fi + +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then + # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dst_arg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dst_arg" + shift # fnord + fi + shift # arg + dst_arg=$arg + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac + done +fi + +if test $# -eq 0; then + if test -z "$dir_arg"; then + echo "$0: no input file specified." >&2 + exit 1 + fi + # It's OK to call 'install-sh -d' without argument. + # This can happen when creating conditional directories. + exit 0 +fi + +if test -z "$dir_arg"; then + if test $# -gt 1 || test "$is_target_a_directory" = always; then + if test ! -d "$dst_arg"; then + echo "$0: $dst_arg: Is not a directory." >&2 + exit 1 + fi + fi +fi + +if test -z "$dir_arg"; then + do_exit='(exit $ret); exit $ret' + trap "ret=129; $do_exit" 1 + trap "ret=130; $do_exit" 2 + trap "ret=141; $do_exit" 13 + trap "ret=143; $do_exit" 15 + + # Set umask so as not to create temps with too-generous modes. + # However, 'strip' requires both read and write access to temps. + case $mode in + # Optimize common cases. + *644) cp_umask=133;; + *755) cp_umask=22;; + + *[0-7]) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw='% 200' + fi + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; + *) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw=,u+rw + fi + cp_umask=$mode$u_plus_rw;; + esac +fi + +for src +do + # Protect names problematic for 'test' and other utilities. + case $src in + -* | [=\(\)!]) src=./$src;; + esac + + if test -n "$dir_arg"; then + dst=$src + dstdir=$dst + test -d "$dstdir" + dstdir_status=$? + else + + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if test ! -f "$src" && test ! -d "$src"; then + echo "$0: $src does not exist." >&2 + exit 1 + fi + + if test -z "$dst_arg"; then + echo "$0: no destination specified." >&2 + exit 1 + fi + dst=$dst_arg + + # If destination is a directory, append the input filename; won't work + # if double slashes aren't ignored. + if test -d "$dst"; then + if test "$is_target_a_directory" = never; then + echo "$0: $dst_arg: Is a directory" >&2 + exit 1 + fi + dstdir=$dst + dst=$dstdir/`basename "$src"` + dstdir_status=0 + else + dstdir=`dirname "$dst"` + test -d "$dstdir" + dstdir_status=$? + fi + fi + + obsolete_mkdir_used=false + + if test $dstdir_status != 0; then + case $posix_mkdir in + '') + # Create intermediate dirs using mode 755 as modified by the umask. + # This is like FreeBSD 'install' as of 1997-10-28. + umask=`umask` + case $stripcmd.$umask in + # Optimize common cases. + *[2367][2367]) mkdir_umask=$umask;; + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; + + *[0-7]) + mkdir_umask=`expr $umask + 22 \ + - $umask % 100 % 40 + $umask % 20 \ + - $umask % 10 % 4 + $umask % 2 + `;; + *) mkdir_umask=$umask,go-w;; + esac + + # With -d, create the new directory with the user-specified mode. + # Otherwise, rely on $mkdir_umask. + if test -n "$dir_arg"; then + mkdir_mode=-m$mode + else + mkdir_mode= + fi + + posix_mkdir=false + case $umask in + *[123567][0-7][0-7]) + # POSIX mkdir -p sets u+wx bits regardless of umask, which + # is incompatible with FreeBSD 'install' when (umask & 300) != 0. + ;; + *) + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + + if (umask $mkdir_umask && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + ls_ld_tmpdir=`ls -ld "$tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/d" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null + fi + trap '' 0;; + esac;; + esac + + if + $posix_mkdir && ( + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + ) + then : + else + + # The umask is ridiculous, or mkdir does not conform to POSIX, + # or it failed possibly due to a race condition. Create the + # directory the slow way, step by step, checking for races as we go. + + case $dstdir in + /*) prefix='/';; + [-=\(\)!]*) prefix='./';; + *) prefix='';; + esac + + oIFS=$IFS + IFS=/ + set -f + set fnord $dstdir + shift + set +f + IFS=$oIFS + + prefixes= + + for d + do + test X"$d" = X && continue + + prefix=$prefix$d + if test -d "$prefix"; then + prefixes= + else + if $posix_mkdir; then + (umask=$mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break + # Don't fail if two instances are running concurrently. + test -d "$prefix" || exit 1 + else + case $prefix in + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; + *) qprefix=$prefix;; + esac + prefixes="$prefixes '$qprefix'" + fi + fi + prefix=$prefix/ + done + + if test -n "$prefixes"; then + # Don't fail if two instances are running concurrently. + (umask $mkdir_umask && + eval "\$doit_exec \$mkdirprog $prefixes") || + test -d "$dstdir" || exit 1 + obsolete_mkdir_used=true + fi + fi + fi + + if test -n "$dir_arg"; then + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 + else + + # Make a couple of temp file names in the proper directory. + dsttmp=$dstdir/_inst.$$_ + rmtmp=$dstdir/_rm.$$_ + + # Trap to clean up those temp files at exit. + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + + # Copy the file name to the temp name. + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + + # and set any options; do chmod last to preserve setuid bits. + # + # If any of these fail, we abort the whole thing. If we want to + # ignore errors from any of these, just make sure not to ignore + # errors from the above "$doit $cpprog $src $dsttmp" command. + # + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && + + # If -C, don't bother to copy if it wouldn't change the file. + if $copy_on_change && + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && + set -f && + set X $old && old=:$2:$4:$5:$6 && + set X $new && new=:$2:$4:$5:$6 && + set +f && + test "$old" = "$new" && + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 + then + rm -f "$dsttmp" + else + # Rename the file to the real destination. + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || + + # The rename failed, perhaps because mv can't rename something else + # to itself, or perhaps because mv is so ancient that it does not + # support -f. + { + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + test ! -f "$dst" || + $doit $rmcmd -f "$dst" 2>/dev/null || + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } + } || + { echo "$0: cannot unlink or rename $dst" >&2 + (exit 1); exit 1 + } + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dst" + } + fi || exit 1 + + trap '' 0 + fi +done + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC0" +# time-stamp-end: "; # UTC" +# End: diff --git a/config/ltmain.sh b/config/ltmain.sh new file mode 100644 index 0000000..30be9c8 --- /dev/null +++ b/config/ltmain.sh @@ -0,0 +1,11149 @@ +#! /bin/sh +## DO NOT EDIT - This file generated from ./build-aux/ltmain.in +## by inline-source v2014-01-03.01 + +# libtool (GNU libtool) 2.4.6 +# Provide generalized library-building support services. +# Written by Gordon Matzigkeit , 1996 + +# Copyright (C) 1996-2015 Free Software Foundation, Inc. +# This is free software; see the source for copying conditions. There is NO +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +# GNU Libtool is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + + +PROGRAM=libtool +PACKAGE=libtool +VERSION=2.4.6 +package_revision=2.4.6 + + +## ------ ## +## Usage. ## +## ------ ## + +# Run './libtool --help' for help with using this script from the +# command line. + + +## ------------------------------- ## +## User overridable command paths. ## +## ------------------------------- ## + +# After configure completes, it has a better idea of some of the +# shell tools we need than the defaults used by the functions shared +# with bootstrap, so set those here where they can still be over- +# ridden by the user, but otherwise take precedence. + +: ${AUTOCONF="autoconf"} +: ${AUTOMAKE="automake"} + + +## -------------------------- ## +## Source external libraries. ## +## -------------------------- ## + +# Much of our low-level functionality needs to be sourced from external +# libraries, which are installed to $pkgauxdir. + +# Set a version string for this script. +scriptversion=2015-01-20.17; # UTC + +# General shell script boiler plate, and helper functions. +# Written by Gary V. Vaughan, 2004 + +# Copyright (C) 2004-2015 Free Software Foundation, Inc. +# This is free software; see the source for copying conditions. There is NO +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. + +# As a special exception to the GNU General Public License, if you distribute +# this file as part of a program or library that is built using GNU Libtool, +# you may include this file under the same distribution terms that you use +# for the rest of that program. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNES FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Please report bugs or propose patches to gary@gnu.org. + + +## ------ ## +## Usage. ## +## ------ ## + +# Evaluate this file near the top of your script to gain access to +# the functions and variables defined here: +# +# . `echo "$0" | ${SED-sed} 's|[^/]*$||'`/build-aux/funclib.sh +# +# If you need to override any of the default environment variable +# settings, do that before evaluating this file. + + +## -------------------- ## +## Shell normalisation. ## +## -------------------- ## + +# Some shells need a little help to be as Bourne compatible as possible. +# Before doing anything else, make sure all that help has been provided! + +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac +fi + +# NLS nuisances: We save the old values in case they are required later. +_G_user_locale= +_G_safe_locale= +for _G_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES +do + eval "if test set = \"\${$_G_var+set}\"; then + save_$_G_var=\$$_G_var + $_G_var=C + export $_G_var + _G_user_locale=\"$_G_var=\\\$save_\$_G_var; \$_G_user_locale\" + _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\" + fi" +done + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +# Make sure IFS has a sensible default +sp=' ' +nl=' +' +IFS="$sp $nl" + +# There are apparently some retarded systems that use ';' as a PATH separator! +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + + +## ------------------------- ## +## Locate command utilities. ## +## ------------------------- ## + + +# func_executable_p FILE +# ---------------------- +# Check that FILE is an executable regular file. +func_executable_p () +{ + test -f "$1" && test -x "$1" +} + + +# func_path_progs PROGS_LIST CHECK_FUNC [PATH] +# -------------------------------------------- +# Search for either a program that responds to --version with output +# containing "GNU", or else returned by CHECK_FUNC otherwise, by +# trying all the directories in PATH with each of the elements of +# PROGS_LIST. +# +# CHECK_FUNC should accept the path to a candidate program, and +# set $func_check_prog_result if it truncates its output less than +# $_G_path_prog_max characters. +func_path_progs () +{ + _G_progs_list=$1 + _G_check_func=$2 + _G_PATH=${3-"$PATH"} + + _G_path_prog_max=0 + _G_path_prog_found=false + _G_save_IFS=$IFS; IFS=${PATH_SEPARATOR-:} + for _G_dir in $_G_PATH; do + IFS=$_G_save_IFS + test -z "$_G_dir" && _G_dir=. + for _G_prog_name in $_G_progs_list; do + for _exeext in '' .EXE; do + _G_path_prog=$_G_dir/$_G_prog_name$_exeext + func_executable_p "$_G_path_prog" || continue + case `"$_G_path_prog" --version 2>&1` in + *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;; + *) $_G_check_func $_G_path_prog + func_path_progs_result=$func_check_prog_result + ;; + esac + $_G_path_prog_found && break 3 + done + done + done + IFS=$_G_save_IFS + test -z "$func_path_progs_result" && { + echo "no acceptable sed could be found in \$PATH" >&2 + exit 1 + } +} + + +# We want to be able to use the functions in this file before configure +# has figured out where the best binaries are kept, which means we have +# to search for them ourselves - except when the results are already set +# where we skip the searches. + +# Unless the user overrides by setting SED, search the path for either GNU +# sed, or the sed that truncates its output the least. +test -z "$SED" && { + _G_sed_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ + for _G_i in 1 2 3 4 5 6 7; do + _G_sed_script=$_G_sed_script$nl$_G_sed_script + done + echo "$_G_sed_script" 2>/dev/null | sed 99q >conftest.sed + _G_sed_script= + + func_check_prog_sed () + { + _G_path_prog=$1 + + _G_count=0 + printf 0123456789 >conftest.in + while : + do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo '' >> conftest.nl + "$_G_path_prog" -f conftest.sed conftest.out 2>/dev/null || break + diff conftest.out conftest.nl >/dev/null 2>&1 || break + _G_count=`expr $_G_count + 1` + if test "$_G_count" -gt "$_G_path_prog_max"; then + # Best one so far, save it but keep looking for a better one + func_check_prog_result=$_G_path_prog + _G_path_prog_max=$_G_count + fi + # 10*(2^10) chars as input seems more than enough + test 10 -lt "$_G_count" && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out + } + + func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin + rm -f conftest.sed + SED=$func_path_progs_result +} + + +# Unless the user overrides by setting GREP, search the path for either GNU +# grep, or the grep that truncates its output the least. +test -z "$GREP" && { + func_check_prog_grep () + { + _G_path_prog=$1 + + _G_count=0 + _G_path_prog_max=0 + printf 0123456789 >conftest.in + while : + do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo 'GREP' >> conftest.nl + "$_G_path_prog" -e 'GREP$' -e '-(cannot match)-' conftest.out 2>/dev/null || break + diff conftest.out conftest.nl >/dev/null 2>&1 || break + _G_count=`expr $_G_count + 1` + if test "$_G_count" -gt "$_G_path_prog_max"; then + # Best one so far, save it but keep looking for a better one + func_check_prog_result=$_G_path_prog + _G_path_prog_max=$_G_count + fi + # 10*(2^10) chars as input seems more than enough + test 10 -lt "$_G_count" && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out + } + + func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin + GREP=$func_path_progs_result +} + + +## ------------------------------- ## +## User overridable command paths. ## +## ------------------------------- ## + +# All uppercase variable names are used for environment variables. These +# variables can be overridden by the user before calling a script that +# uses them if a suitable command of that name is not already available +# in the command search PATH. + +: ${CP="cp -f"} +: ${ECHO="printf %s\n"} +: ${EGREP="$GREP -E"} +: ${FGREP="$GREP -F"} +: ${LN_S="ln -s"} +: ${MAKE="make"} +: ${MKDIR="mkdir"} +: ${MV="mv -f"} +: ${RM="rm -f"} +: ${SHELL="${CONFIG_SHELL-/bin/sh}"} + + +## -------------------- ## +## Useful sed snippets. ## +## -------------------- ## + +sed_dirname='s|/[^/]*$||' +sed_basename='s|^.*/||' + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +sed_quote_subst='s|\([`"$\\]\)|\\\1|g' + +# Same as above, but do not quote variable references. +sed_double_quote_subst='s/\(["`\\]\)/\\\1/g' + +# Sed substitution that turns a string into a regex matching for the +# string literally. +sed_make_literal_regex='s|[].[^$\\*\/]|\\&|g' + +# Sed substitution that converts a w32 file name or path +# that contains forward slashes, into one that contains +# (escaped) backslashes. A very naive implementation. +sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' + +# Re-'\' parameter expansions in output of sed_double_quote_subst that +# were '\'-ed in input to the same. If an odd number of '\' preceded a +# '$' in input to sed_double_quote_subst, that '$' was protected from +# expansion. Since each input '\' is now two '\'s, look for any number +# of runs of four '\'s followed by two '\'s and then a '$'. '\' that '$'. +_G_bs='\\' +_G_bs2='\\\\' +_G_bs4='\\\\\\\\' +_G_dollar='\$' +sed_double_backslash="\ + s/$_G_bs4/&\\ +/g + s/^$_G_bs2$_G_dollar/$_G_bs&/ + s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g + s/\n//g" + + +## ----------------- ## +## Global variables. ## +## ----------------- ## + +# Except for the global variables explicitly listed below, the following +# functions in the '^func_' namespace, and the '^require_' namespace +# variables initialised in the 'Resource management' section, sourcing +# this file will not pollute your global namespace with anything +# else. There's no portable way to scope variables in Bourne shell +# though, so actually running these functions will sometimes place +# results into a variable named after the function, and often use +# temporary variables in the '^_G_' namespace. If you are careful to +# avoid using those namespaces casually in your sourcing script, things +# should continue to work as you expect. And, of course, you can freely +# overwrite any of the functions or variables defined here before +# calling anything to customize them. + +EXIT_SUCCESS=0 +EXIT_FAILURE=1 +EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. +EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. + +# Allow overriding, eg assuming that you follow the convention of +# putting '$debug_cmd' at the start of all your functions, you can get +# bash to show function call trace with: +# +# debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name +debug_cmd=${debug_cmd-":"} +exit_cmd=: + +# By convention, finish your script with: +# +# exit $exit_status +# +# so that you can set exit_status to non-zero if you want to indicate +# something went wrong during execution without actually bailing out at +# the point of failure. +exit_status=$EXIT_SUCCESS + +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh +# is ksh but when the shell is invoked as "sh" and the current value of +# the _XPG environment variable is not equal to 1 (one), the special +# positional parameter $0, within a function call, is the name of the +# function. +progpath=$0 + +# The name of this program. +progname=`$ECHO "$progpath" |$SED "$sed_basename"` + +# Make sure we have an absolute progpath for reexecution: +case $progpath in + [\\/]*|[A-Za-z]:\\*) ;; + *[\\/]*) + progdir=`$ECHO "$progpath" |$SED "$sed_dirname"` + progdir=`cd "$progdir" && pwd` + progpath=$progdir/$progname + ;; + *) + _G_IFS=$IFS + IFS=${PATH_SEPARATOR-:} + for progdir in $PATH; do + IFS=$_G_IFS + test -x "$progdir/$progname" && break + done + IFS=$_G_IFS + test -n "$progdir" || progdir=`pwd` + progpath=$progdir/$progname + ;; +esac + + +## ----------------- ## +## Standard options. ## +## ----------------- ## + +# The following options affect the operation of the functions defined +# below, and should be set appropriately depending on run-time para- +# meters passed on the command line. + +opt_dry_run=false +opt_quiet=false +opt_verbose=false + +# Categories 'all' and 'none' are always available. Append any others +# you will pass as the first argument to func_warning from your own +# code. +warning_categories= + +# By default, display warnings according to 'opt_warning_types'. Set +# 'warning_func' to ':' to elide all warnings, or func_fatal_error to +# treat the next displayed warning as a fatal error. +warning_func=func_warn_and_continue + +# Set to 'all' to display all warnings, 'none' to suppress all +# warnings, or a space delimited list of some subset of +# 'warning_categories' to display only the listed warnings. +opt_warning_types=all + + +## -------------------- ## +## Resource management. ## +## -------------------- ## + +# This section contains definitions for functions that each ensure a +# particular resource (a file, or a non-empty configuration variable for +# example) is available, and if appropriate to extract default values +# from pertinent package files. Call them using their associated +# 'require_*' variable to ensure that they are executed, at most, once. +# +# It's entirely deliberate that calling these functions can set +# variables that don't obey the namespace limitations obeyed by the rest +# of this file, in order that that they be as useful as possible to +# callers. + + +# require_term_colors +# ------------------- +# Allow display of bold text on terminals that support it. +require_term_colors=func_require_term_colors +func_require_term_colors () +{ + $debug_cmd + + test -t 1 && { + # COLORTERM and USE_ANSI_COLORS environment variables take + # precedence, because most terminfo databases neglect to describe + # whether color sequences are supported. + test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"} + + if test 1 = "$USE_ANSI_COLORS"; then + # Standard ANSI escape sequences + tc_reset='' + tc_bold=''; tc_standout='' + tc_red=''; tc_green='' + tc_blue=''; tc_cyan='' + else + # Otherwise trust the terminfo database after all. + test -n "`tput sgr0 2>/dev/null`" && { + tc_reset=`tput sgr0` + test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold` + tc_standout=$tc_bold + test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso` + test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1` + test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2` + test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4` + test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5` + } + fi + } + + require_term_colors=: +} + + +## ----------------- ## +## Function library. ## +## ----------------- ## + +# This section contains a variety of useful functions to call in your +# scripts. Take note of the portable wrappers for features provided by +# some modern shells, which will fall back to slower equivalents on +# less featureful shells. + + +# func_append VAR VALUE +# --------------------- +# Append VALUE onto the existing contents of VAR. + + # We should try to minimise forks, especially on Windows where they are + # unreasonably slow, so skip the feature probes when bash or zsh are + # being used: + if test set = "${BASH_VERSION+set}${ZSH_VERSION+set}"; then + : ${_G_HAVE_ARITH_OP="yes"} + : ${_G_HAVE_XSI_OPS="yes"} + # The += operator was introduced in bash 3.1 + case $BASH_VERSION in + [12].* | 3.0 | 3.0*) ;; + *) + : ${_G_HAVE_PLUSEQ_OP="yes"} + ;; + esac + fi + + # _G_HAVE_PLUSEQ_OP + # Can be empty, in which case the shell is probed, "yes" if += is + # useable or anything else if it does not work. + test -z "$_G_HAVE_PLUSEQ_OP" \ + && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \ + && _G_HAVE_PLUSEQ_OP=yes + +if test yes = "$_G_HAVE_PLUSEQ_OP" +then + # This is an XSI compatible shell, allowing a faster implementation... + eval 'func_append () + { + $debug_cmd + + eval "$1+=\$2" + }' +else + # ...otherwise fall back to using expr, which is often a shell builtin. + func_append () + { + $debug_cmd + + eval "$1=\$$1\$2" + } +fi + + +# func_append_quoted VAR VALUE +# ---------------------------- +# Quote VALUE and append to the end of shell variable VAR, separated +# by a space. +if test yes = "$_G_HAVE_PLUSEQ_OP"; then + eval 'func_append_quoted () + { + $debug_cmd + + func_quote_for_eval "$2" + eval "$1+=\\ \$func_quote_for_eval_result" + }' +else + func_append_quoted () + { + $debug_cmd + + func_quote_for_eval "$2" + eval "$1=\$$1\\ \$func_quote_for_eval_result" + } +fi + + +# func_append_uniq VAR VALUE +# -------------------------- +# Append unique VALUE onto the existing contents of VAR, assuming +# entries are delimited by the first character of VALUE. For example: +# +# func_append_uniq options " --another-option option-argument" +# +# will only append to $options if " --another-option option-argument " +# is not already present somewhere in $options already (note spaces at +# each end implied by leading space in second argument). +func_append_uniq () +{ + $debug_cmd + + eval _G_current_value='`$ECHO $'$1'`' + _G_delim=`expr "$2" : '\(.\)'` + + case $_G_delim$_G_current_value$_G_delim in + *"$2$_G_delim"*) ;; + *) func_append "$@" ;; + esac +} + + +# func_arith TERM... +# ------------------ +# Set func_arith_result to the result of evaluating TERMs. + test -z "$_G_HAVE_ARITH_OP" \ + && (eval 'test 2 = $(( 1 + 1 ))') 2>/dev/null \ + && _G_HAVE_ARITH_OP=yes + +if test yes = "$_G_HAVE_ARITH_OP"; then + eval 'func_arith () + { + $debug_cmd + + func_arith_result=$(( $* )) + }' +else + func_arith () + { + $debug_cmd + + func_arith_result=`expr "$@"` + } +fi + + +# func_basename FILE +# ------------------ +# Set func_basename_result to FILE with everything up to and including +# the last / stripped. +if test yes = "$_G_HAVE_XSI_OPS"; then + # If this shell supports suffix pattern removal, then use it to avoid + # forking. Hide the definitions single quotes in case the shell chokes + # on unsupported syntax... + _b='func_basename_result=${1##*/}' + _d='case $1 in + */*) func_dirname_result=${1%/*}$2 ;; + * ) func_dirname_result=$3 ;; + esac' + +else + # ...otherwise fall back to using sed. + _b='func_basename_result=`$ECHO "$1" |$SED "$sed_basename"`' + _d='func_dirname_result=`$ECHO "$1" |$SED "$sed_dirname"` + if test "X$func_dirname_result" = "X$1"; then + func_dirname_result=$3 + else + func_append func_dirname_result "$2" + fi' +fi + +eval 'func_basename () +{ + $debug_cmd + + '"$_b"' +}' + + +# func_dirname FILE APPEND NONDIR_REPLACEMENT +# ------------------------------------------- +# Compute the dirname of FILE. If nonempty, add APPEND to the result, +# otherwise set result to NONDIR_REPLACEMENT. +eval 'func_dirname () +{ + $debug_cmd + + '"$_d"' +}' + + +# func_dirname_and_basename FILE APPEND NONDIR_REPLACEMENT +# -------------------------------------------------------- +# Perform func_basename and func_dirname in a single function +# call: +# dirname: Compute the dirname of FILE. If nonempty, +# add APPEND to the result, otherwise set result +# to NONDIR_REPLACEMENT. +# value returned in "$func_dirname_result" +# basename: Compute filename of FILE. +# value retuned in "$func_basename_result" +# For efficiency, we do not delegate to the functions above but instead +# duplicate the functionality here. +eval 'func_dirname_and_basename () +{ + $debug_cmd + + '"$_b"' + '"$_d"' +}' + + +# func_echo ARG... +# ---------------- +# Echo program name prefixed message. +func_echo () +{ + $debug_cmd + + _G_message=$* + + func_echo_IFS=$IFS + IFS=$nl + for _G_line in $_G_message; do + IFS=$func_echo_IFS + $ECHO "$progname: $_G_line" + done + IFS=$func_echo_IFS +} + + +# func_echo_all ARG... +# -------------------- +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "$*" +} + + +# func_echo_infix_1 INFIX ARG... +# ------------------------------ +# Echo program name, followed by INFIX on the first line, with any +# additional lines not showing INFIX. +func_echo_infix_1 () +{ + $debug_cmd + + $require_term_colors + + _G_infix=$1; shift + _G_indent=$_G_infix + _G_prefix="$progname: $_G_infix: " + _G_message=$* + + # Strip color escape sequences before counting printable length + for _G_tc in "$tc_reset" "$tc_bold" "$tc_standout" "$tc_red" "$tc_green" "$tc_blue" "$tc_cyan" + do + test -n "$_G_tc" && { + _G_esc_tc=`$ECHO "$_G_tc" | $SED "$sed_make_literal_regex"` + _G_indent=`$ECHO "$_G_indent" | $SED "s|$_G_esc_tc||g"` + } + done + _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`" " ## exclude from sc_prohibit_nested_quotes + + func_echo_infix_1_IFS=$IFS + IFS=$nl + for _G_line in $_G_message; do + IFS=$func_echo_infix_1_IFS + $ECHO "$_G_prefix$tc_bold$_G_line$tc_reset" >&2 + _G_prefix=$_G_indent + done + IFS=$func_echo_infix_1_IFS +} + + +# func_error ARG... +# ----------------- +# Echo program name prefixed message to standard error. +func_error () +{ + $debug_cmd + + $require_term_colors + + func_echo_infix_1 " $tc_standout${tc_red}error$tc_reset" "$*" >&2 +} + + +# func_fatal_error ARG... +# ----------------------- +# Echo program name prefixed message to standard error, and exit. +func_fatal_error () +{ + $debug_cmd + + func_error "$*" + exit $EXIT_FAILURE +} + + +# func_grep EXPRESSION FILENAME +# ----------------------------- +# Check whether EXPRESSION matches any line of FILENAME, without output. +func_grep () +{ + $debug_cmd + + $GREP "$1" "$2" >/dev/null 2>&1 +} + + +# func_len STRING +# --------------- +# Set func_len_result to the length of STRING. STRING may not +# start with a hyphen. + test -z "$_G_HAVE_XSI_OPS" \ + && (eval 'x=a/b/c; + test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \ + && _G_HAVE_XSI_OPS=yes + +if test yes = "$_G_HAVE_XSI_OPS"; then + eval 'func_len () + { + $debug_cmd + + func_len_result=${#1} + }' +else + func_len () + { + $debug_cmd + + func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` + } +fi + + +# func_mkdir_p DIRECTORY-PATH +# --------------------------- +# Make sure the entire path to DIRECTORY-PATH is available. +func_mkdir_p () +{ + $debug_cmd + + _G_directory_path=$1 + _G_dir_list= + + if test -n "$_G_directory_path" && test : != "$opt_dry_run"; then + + # Protect directory names starting with '-' + case $_G_directory_path in + -*) _G_directory_path=./$_G_directory_path ;; + esac + + # While some portion of DIR does not yet exist... + while test ! -d "$_G_directory_path"; do + # ...make a list in topmost first order. Use a colon delimited + # list incase some portion of path contains whitespace. + _G_dir_list=$_G_directory_path:$_G_dir_list + + # If the last portion added has no slash in it, the list is done + case $_G_directory_path in */*) ;; *) break ;; esac + + # ...otherwise throw away the child directory and loop + _G_directory_path=`$ECHO "$_G_directory_path" | $SED -e "$sed_dirname"` + done + _G_dir_list=`$ECHO "$_G_dir_list" | $SED 's|:*$||'` + + func_mkdir_p_IFS=$IFS; IFS=: + for _G_dir in $_G_dir_list; do + IFS=$func_mkdir_p_IFS + # mkdir can fail with a 'File exist' error if two processes + # try to create one of the directories concurrently. Don't + # stop in that case! + $MKDIR "$_G_dir" 2>/dev/null || : + done + IFS=$func_mkdir_p_IFS + + # Bail out if we (or some other process) failed to create a directory. + test -d "$_G_directory_path" || \ + func_fatal_error "Failed to create '$1'" + fi +} + + +# func_mktempdir [BASENAME] +# ------------------------- +# Make a temporary directory that won't clash with other running +# libtool processes, and avoids race conditions if possible. If +# given, BASENAME is the basename for that directory. +func_mktempdir () +{ + $debug_cmd + + _G_template=${TMPDIR-/tmp}/${1-$progname} + + if test : = "$opt_dry_run"; then + # Return a directory name, but don't create it in dry-run mode + _G_tmpdir=$_G_template-$$ + else + + # If mktemp works, use that first and foremost + _G_tmpdir=`mktemp -d "$_G_template-XXXXXXXX" 2>/dev/null` + + if test ! -d "$_G_tmpdir"; then + # Failing that, at least try and use $RANDOM to avoid a race + _G_tmpdir=$_G_template-${RANDOM-0}$$ + + func_mktempdir_umask=`umask` + umask 0077 + $MKDIR "$_G_tmpdir" + umask $func_mktempdir_umask + fi + + # If we're not in dry-run mode, bomb out on failure + test -d "$_G_tmpdir" || \ + func_fatal_error "cannot create temporary directory '$_G_tmpdir'" + fi + + $ECHO "$_G_tmpdir" +} + + +# func_normal_abspath PATH +# ------------------------ +# Remove doubled-up and trailing slashes, "." path components, +# and cancel out any ".." path components in PATH after making +# it an absolute path. +func_normal_abspath () +{ + $debug_cmd + + # These SED scripts presuppose an absolute path with a trailing slash. + _G_pathcar='s|^/\([^/]*\).*$|\1|' + _G_pathcdr='s|^/[^/]*||' + _G_removedotparts=':dotsl + s|/\./|/|g + t dotsl + s|/\.$|/|' + _G_collapseslashes='s|/\{1,\}|/|g' + _G_finalslash='s|/*$|/|' + + # Start from root dir and reassemble the path. + func_normal_abspath_result= + func_normal_abspath_tpath=$1 + func_normal_abspath_altnamespace= + case $func_normal_abspath_tpath in + "") + # Empty path, that just means $cwd. + func_stripname '' '/' "`pwd`" + func_normal_abspath_result=$func_stripname_result + return + ;; + # The next three entries are used to spot a run of precisely + # two leading slashes without using negated character classes; + # we take advantage of case's first-match behaviour. + ///*) + # Unusual form of absolute path, do nothing. + ;; + //*) + # Not necessarily an ordinary path; POSIX reserves leading '//' + # and for example Cygwin uses it to access remote file shares + # over CIFS/SMB, so we conserve a leading double slash if found. + func_normal_abspath_altnamespace=/ + ;; + /*) + # Absolute path, do nothing. + ;; + *) + # Relative path, prepend $cwd. + func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath + ;; + esac + + # Cancel out all the simple stuff to save iterations. We also want + # the path to end with a slash for ease of parsing, so make sure + # there is one (and only one) here. + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$_G_removedotparts" -e "$_G_collapseslashes" -e "$_G_finalslash"` + while :; do + # Processed it all yet? + if test / = "$func_normal_abspath_tpath"; then + # If we ascended to the root using ".." the result may be empty now. + if test -z "$func_normal_abspath_result"; then + func_normal_abspath_result=/ + fi + break + fi + func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$_G_pathcar"` + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$_G_pathcdr"` + # Figure out what to do with it + case $func_normal_abspath_tcomponent in + "") + # Trailing empty path component, ignore it. + ;; + ..) + # Parent dir; strip last assembled component from result. + func_dirname "$func_normal_abspath_result" + func_normal_abspath_result=$func_dirname_result + ;; + *) + # Actual path component, append it. + func_append func_normal_abspath_result "/$func_normal_abspath_tcomponent" + ;; + esac + done + # Restore leading double-slash if one was found on entry. + func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result +} + + +# func_notquiet ARG... +# -------------------- +# Echo program name prefixed message only when not in quiet mode. +func_notquiet () +{ + $debug_cmd + + $opt_quiet || func_echo ${1+"$@"} + + # A bug in bash halts the script if the last line of a function + # fails when set -e is in force, so we need another command to + # work around that: + : +} + + +# func_relative_path SRCDIR DSTDIR +# -------------------------------- +# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR. +func_relative_path () +{ + $debug_cmd + + func_relative_path_result= + func_normal_abspath "$1" + func_relative_path_tlibdir=$func_normal_abspath_result + func_normal_abspath "$2" + func_relative_path_tbindir=$func_normal_abspath_result + + # Ascend the tree starting from libdir + while :; do + # check if we have found a prefix of bindir + case $func_relative_path_tbindir in + $func_relative_path_tlibdir) + # found an exact match + func_relative_path_tcancelled= + break + ;; + $func_relative_path_tlibdir*) + # found a matching prefix + func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" + func_relative_path_tcancelled=$func_stripname_result + if test -z "$func_relative_path_result"; then + func_relative_path_result=. + fi + break + ;; + *) + func_dirname $func_relative_path_tlibdir + func_relative_path_tlibdir=$func_dirname_result + if test -z "$func_relative_path_tlibdir"; then + # Have to descend all the way to the root! + func_relative_path_result=../$func_relative_path_result + func_relative_path_tcancelled=$func_relative_path_tbindir + break + fi + func_relative_path_result=../$func_relative_path_result + ;; + esac + done + + # Now calculate path; take care to avoid doubling-up slashes. + func_stripname '' '/' "$func_relative_path_result" + func_relative_path_result=$func_stripname_result + func_stripname '/' '/' "$func_relative_path_tcancelled" + if test -n "$func_stripname_result"; then + func_append func_relative_path_result "/$func_stripname_result" + fi + + # Normalisation. If bindir is libdir, return '.' else relative path. + if test -n "$func_relative_path_result"; then + func_stripname './' '' "$func_relative_path_result" + func_relative_path_result=$func_stripname_result + fi + + test -n "$func_relative_path_result" || func_relative_path_result=. + + : +} + + +# func_quote_for_eval ARG... +# -------------------------- +# Aesthetically quote ARGs to be evaled later. +# This function returns two values: +# i) func_quote_for_eval_result +# double-quoted, suitable for a subsequent eval +# ii) func_quote_for_eval_unquoted_result +# has all characters that are still active within double +# quotes backslashified. +func_quote_for_eval () +{ + $debug_cmd + + func_quote_for_eval_unquoted_result= + func_quote_for_eval_result= + while test 0 -lt $#; do + case $1 in + *[\\\`\"\$]*) + _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;; + *) + _G_unquoted_arg=$1 ;; + esac + if test -n "$func_quote_for_eval_unquoted_result"; then + func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg" + else + func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg" + fi + + case $_G_unquoted_arg in + # Double-quote args containing shell metacharacters to delay + # word splitting, command substitution and variable expansion + # for a subsequent eval. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + _G_quoted_arg=\"$_G_unquoted_arg\" + ;; + *) + _G_quoted_arg=$_G_unquoted_arg + ;; + esac + + if test -n "$func_quote_for_eval_result"; then + func_append func_quote_for_eval_result " $_G_quoted_arg" + else + func_append func_quote_for_eval_result "$_G_quoted_arg" + fi + shift + done +} + + +# func_quote_for_expand ARG +# ------------------------- +# Aesthetically quote ARG to be evaled later; same as above, +# but do not quote variable references. +func_quote_for_expand () +{ + $debug_cmd + + case $1 in + *[\\\`\"]*) + _G_arg=`$ECHO "$1" | $SED \ + -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;; + *) + _G_arg=$1 ;; + esac + + case $_G_arg in + # Double-quote args containing shell metacharacters to delay + # word splitting and command substitution for a subsequent eval. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + _G_arg=\"$_G_arg\" + ;; + esac + + func_quote_for_expand_result=$_G_arg +} + + +# func_stripname PREFIX SUFFIX NAME +# --------------------------------- +# strip PREFIX and SUFFIX from NAME, and store in func_stripname_result. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +if test yes = "$_G_HAVE_XSI_OPS"; then + eval 'func_stripname () + { + $debug_cmd + + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are + # positional parameters, so assign one to ordinary variable first. + func_stripname_result=$3 + func_stripname_result=${func_stripname_result#"$1"} + func_stripname_result=${func_stripname_result%"$2"} + }' +else + func_stripname () + { + $debug_cmd + + case $2 in + .*) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%\\\\$2\$%%"`;; + *) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%$2\$%%"`;; + esac + } +fi + + +# func_show_eval CMD [FAIL_EXP] +# ----------------------------- +# Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP +# is given, then evaluate it. +func_show_eval () +{ + $debug_cmd + + _G_cmd=$1 + _G_fail_exp=${2-':'} + + func_quote_for_expand "$_G_cmd" + eval "func_notquiet $func_quote_for_expand_result" + + $opt_dry_run || { + eval "$_G_cmd" + _G_status=$? + if test 0 -ne "$_G_status"; then + eval "(exit $_G_status); $_G_fail_exp" + fi + } +} + + +# func_show_eval_locale CMD [FAIL_EXP] +# ------------------------------------ +# Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP +# is given, then evaluate it. Use the saved locale for evaluation. +func_show_eval_locale () +{ + $debug_cmd + + _G_cmd=$1 + _G_fail_exp=${2-':'} + + $opt_quiet || { + func_quote_for_expand "$_G_cmd" + eval "func_echo $func_quote_for_expand_result" + } + + $opt_dry_run || { + eval "$_G_user_locale + $_G_cmd" + _G_status=$? + eval "$_G_safe_locale" + if test 0 -ne "$_G_status"; then + eval "(exit $_G_status); $_G_fail_exp" + fi + } +} + + +# func_tr_sh +# ---------- +# Turn $1 into a string suitable for a shell variable name. +# Result is stored in $func_tr_sh_result. All characters +# not in the set a-zA-Z0-9_ are replaced with '_'. Further, +# if $1 begins with a digit, a '_' is prepended as well. +func_tr_sh () +{ + $debug_cmd + + case $1 in + [0-9]* | *[!a-zA-Z0-9_]*) + func_tr_sh_result=`$ECHO "$1" | $SED -e 's/^\([0-9]\)/_\1/' -e 's/[^a-zA-Z0-9_]/_/g'` + ;; + * ) + func_tr_sh_result=$1 + ;; + esac +} + + +# func_verbose ARG... +# ------------------- +# Echo program name prefixed message in verbose mode only. +func_verbose () +{ + $debug_cmd + + $opt_verbose && func_echo "$*" + + : +} + + +# func_warn_and_continue ARG... +# ----------------------------- +# Echo program name prefixed warning message to standard error. +func_warn_and_continue () +{ + $debug_cmd + + $require_term_colors + + func_echo_infix_1 "${tc_red}warning$tc_reset" "$*" >&2 +} + + +# func_warning CATEGORY ARG... +# ---------------------------- +# Echo program name prefixed warning message to standard error. Warning +# messages can be filtered according to CATEGORY, where this function +# elides messages where CATEGORY is not listed in the global variable +# 'opt_warning_types'. +func_warning () +{ + $debug_cmd + + # CATEGORY must be in the warning_categories list! + case " $warning_categories " in + *" $1 "*) ;; + *) func_internal_error "invalid warning category '$1'" ;; + esac + + _G_category=$1 + shift + + case " $opt_warning_types " in + *" $_G_category "*) $warning_func ${1+"$@"} ;; + esac +} + + +# func_sort_ver VER1 VER2 +# ----------------------- +# 'sort -V' is not generally available. +# Note this deviates from the version comparison in automake +# in that it treats 1.5 < 1.5.0, and treats 1.4.4a < 1.4-p3a +# but this should suffice as we won't be specifying old +# version formats or redundant trailing .0 in bootstrap.conf. +# If we did want full compatibility then we should probably +# use m4_version_compare from autoconf. +func_sort_ver () +{ + $debug_cmd + + printf '%s\n%s\n' "$1" "$2" \ + | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n +} + +# func_lt_ver PREV CURR +# --------------------- +# Return true if PREV and CURR are in the correct order according to +# func_sort_ver, otherwise false. Use it like this: +# +# func_lt_ver "$prev_ver" "$proposed_ver" || func_fatal_error "..." +func_lt_ver () +{ + $debug_cmd + + test "x$1" = x`func_sort_ver "$1" "$2" | $SED 1q` +} + + +# Local variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'before-save-hook 'time-stamp) +# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" +# time-stamp-time-zone: "UTC" +# End: +#! /bin/sh + +# Set a version string for this script. +scriptversion=2014-01-07.03; # UTC + +# A portable, pluggable option parser for Bourne shell. +# Written by Gary V. Vaughan, 2010 + +# Copyright (C) 2010-2015 Free Software Foundation, Inc. +# This is free software; see the source for copying conditions. There is NO +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Please report bugs or propose patches to gary@gnu.org. + + +## ------ ## +## Usage. ## +## ------ ## + +# This file is a library for parsing options in your shell scripts along +# with assorted other useful supporting features that you can make use +# of too. +# +# For the simplest scripts you might need only: +# +# #!/bin/sh +# . relative/path/to/funclib.sh +# . relative/path/to/options-parser +# scriptversion=1.0 +# func_options ${1+"$@"} +# eval set dummy "$func_options_result"; shift +# ...rest of your script... +# +# In order for the '--version' option to work, you will need to have a +# suitably formatted comment like the one at the top of this file +# starting with '# Written by ' and ending with '# warranty; '. +# +# For '-h' and '--help' to work, you will also need a one line +# description of your script's purpose in a comment directly above the +# '# Written by ' line, like the one at the top of this file. +# +# The default options also support '--debug', which will turn on shell +# execution tracing (see the comment above debug_cmd below for another +# use), and '--verbose' and the func_verbose function to allow your script +# to display verbose messages only when your user has specified +# '--verbose'. +# +# After sourcing this file, you can plug processing for additional +# options by amending the variables from the 'Configuration' section +# below, and following the instructions in the 'Option parsing' +# section further down. + +## -------------- ## +## Configuration. ## +## -------------- ## + +# You should override these variables in your script after sourcing this +# file so that they reflect the customisations you have added to the +# option parser. + +# The usage line for option parsing errors and the start of '-h' and +# '--help' output messages. You can embed shell variables for delayed +# expansion at the time the message is displayed, but you will need to +# quote other shell meta-characters carefully to prevent them being +# expanded when the contents are evaled. +usage='$progpath [OPTION]...' + +# Short help message in response to '-h' and '--help'. Add to this or +# override it after sourcing this library to reflect the full set of +# options your script accepts. +usage_message="\ + --debug enable verbose shell tracing + -W, --warnings=CATEGORY + report the warnings falling in CATEGORY [all] + -v, --verbose verbosely report processing + --version print version information and exit + -h, --help print short or long help message and exit +" + +# Additional text appended to 'usage_message' in response to '--help'. +long_help_message=" +Warning categories include: + 'all' show all warnings + 'none' turn off all the warnings + 'error' warnings are treated as fatal errors" + +# Help message printed before fatal option parsing errors. +fatal_help="Try '\$progname --help' for more information." + + + +## ------------------------- ## +## Hook function management. ## +## ------------------------- ## + +# This section contains functions for adding, removing, and running hooks +# to the main code. A hook is just a named list of of function, that can +# be run in order later on. + +# func_hookable FUNC_NAME +# ----------------------- +# Declare that FUNC_NAME will run hooks added with +# 'func_add_hook FUNC_NAME ...'. +func_hookable () +{ + $debug_cmd + + func_append hookable_fns " $1" +} + + +# func_add_hook FUNC_NAME HOOK_FUNC +# --------------------------------- +# Request that FUNC_NAME call HOOK_FUNC before it returns. FUNC_NAME must +# first have been declared "hookable" by a call to 'func_hookable'. +func_add_hook () +{ + $debug_cmd + + case " $hookable_fns " in + *" $1 "*) ;; + *) func_fatal_error "'$1' does not accept hook functions." ;; + esac + + eval func_append ${1}_hooks '" $2"' +} + + +# func_remove_hook FUNC_NAME HOOK_FUNC +# ------------------------------------ +# Remove HOOK_FUNC from the list of functions called by FUNC_NAME. +func_remove_hook () +{ + $debug_cmd + + eval ${1}_hooks='`$ECHO "\$'$1'_hooks" |$SED "s| '$2'||"`' +} + + +# func_run_hooks FUNC_NAME [ARG]... +# --------------------------------- +# Run all hook functions registered to FUNC_NAME. +# It is assumed that the list of hook functions contains nothing more +# than a whitespace-delimited list of legal shell function names, and +# no effort is wasted trying to catch shell meta-characters or preserve +# whitespace. +func_run_hooks () +{ + $debug_cmd + + case " $hookable_fns " in + *" $1 "*) ;; + *) func_fatal_error "'$1' does not support hook funcions.n" ;; + esac + + eval _G_hook_fns=\$$1_hooks; shift + + for _G_hook in $_G_hook_fns; do + eval $_G_hook '"$@"' + + # store returned options list back into positional + # parameters for next 'cmd' execution. + eval _G_hook_result=\$${_G_hook}_result + eval set dummy "$_G_hook_result"; shift + done + + func_quote_for_eval ${1+"$@"} + func_run_hooks_result=$func_quote_for_eval_result +} + + + +## --------------- ## +## Option parsing. ## +## --------------- ## + +# In order to add your own option parsing hooks, you must accept the +# full positional parameter list in your hook function, remove any +# options that you action, and then pass back the remaining unprocessed +# options in '_result', escaped suitably for +# 'eval'. Like this: +# +# my_options_prep () +# { +# $debug_cmd +# +# # Extend the existing usage message. +# usage_message=$usage_message' +# -s, --silent don'\''t print informational messages +# ' +# +# func_quote_for_eval ${1+"$@"} +# my_options_prep_result=$func_quote_for_eval_result +# } +# func_add_hook func_options_prep my_options_prep +# +# +# my_silent_option () +# { +# $debug_cmd +# +# # Note that for efficiency, we parse as many options as we can +# # recognise in a loop before passing the remainder back to the +# # caller on the first unrecognised argument we encounter. +# while test $# -gt 0; do +# opt=$1; shift +# case $opt in +# --silent|-s) opt_silent=: ;; +# # Separate non-argument short options: +# -s*) func_split_short_opt "$_G_opt" +# set dummy "$func_split_short_opt_name" \ +# "-$func_split_short_opt_arg" ${1+"$@"} +# shift +# ;; +# *) set dummy "$_G_opt" "$*"; shift; break ;; +# esac +# done +# +# func_quote_for_eval ${1+"$@"} +# my_silent_option_result=$func_quote_for_eval_result +# } +# func_add_hook func_parse_options my_silent_option +# +# +# my_option_validation () +# { +# $debug_cmd +# +# $opt_silent && $opt_verbose && func_fatal_help "\ +# '--silent' and '--verbose' options are mutually exclusive." +# +# func_quote_for_eval ${1+"$@"} +# my_option_validation_result=$func_quote_for_eval_result +# } +# func_add_hook func_validate_options my_option_validation +# +# You'll alse need to manually amend $usage_message to reflect the extra +# options you parse. It's preferable to append if you can, so that +# multiple option parsing hooks can be added safely. + + +# func_options [ARG]... +# --------------------- +# All the functions called inside func_options are hookable. See the +# individual implementations for details. +func_hookable func_options +func_options () +{ + $debug_cmd + + func_options_prep ${1+"$@"} + eval func_parse_options \ + ${func_options_prep_result+"$func_options_prep_result"} + eval func_validate_options \ + ${func_parse_options_result+"$func_parse_options_result"} + + eval func_run_hooks func_options \ + ${func_validate_options_result+"$func_validate_options_result"} + + # save modified positional parameters for caller + func_options_result=$func_run_hooks_result +} + + +# func_options_prep [ARG]... +# -------------------------- +# All initialisations required before starting the option parse loop. +# Note that when calling hook functions, we pass through the list of +# positional parameters. If a hook function modifies that list, and +# needs to propogate that back to rest of this script, then the complete +# modified list must be put in 'func_run_hooks_result' before +# returning. +func_hookable func_options_prep +func_options_prep () +{ + $debug_cmd + + # Option defaults: + opt_verbose=false + opt_warning_types= + + func_run_hooks func_options_prep ${1+"$@"} + + # save modified positional parameters for caller + func_options_prep_result=$func_run_hooks_result +} + + +# func_parse_options [ARG]... +# --------------------------- +# The main option parsing loop. +func_hookable func_parse_options +func_parse_options () +{ + $debug_cmd + + func_parse_options_result= + + # this just eases exit handling + while test $# -gt 0; do + # Defer to hook functions for initial option parsing, so they + # get priority in the event of reusing an option name. + func_run_hooks func_parse_options ${1+"$@"} + + # Adjust func_parse_options positional parameters to match + eval set dummy "$func_run_hooks_result"; shift + + # Break out of the loop if we already parsed every option. + test $# -gt 0 || break + + _G_opt=$1 + shift + case $_G_opt in + --debug|-x) debug_cmd='set -x' + func_echo "enabling shell trace mode" + $debug_cmd + ;; + + --no-warnings|--no-warning|--no-warn) + set dummy --warnings none ${1+"$@"} + shift + ;; + + --warnings|--warning|-W) + test $# = 0 && func_missing_arg $_G_opt && break + case " $warning_categories $1" in + *" $1 "*) + # trailing space prevents matching last $1 above + func_append_uniq opt_warning_types " $1" + ;; + *all) + opt_warning_types=$warning_categories + ;; + *none) + opt_warning_types=none + warning_func=: + ;; + *error) + opt_warning_types=$warning_categories + warning_func=func_fatal_error + ;; + *) + func_fatal_error \ + "unsupported warning category: '$1'" + ;; + esac + shift + ;; + + --verbose|-v) opt_verbose=: ;; + --version) func_version ;; + -\?|-h) func_usage ;; + --help) func_help ;; + + # Separate optargs to long options (plugins may need this): + --*=*) func_split_equals "$_G_opt" + set dummy "$func_split_equals_lhs" \ + "$func_split_equals_rhs" ${1+"$@"} + shift + ;; + + # Separate optargs to short options: + -W*) + func_split_short_opt "$_G_opt" + set dummy "$func_split_short_opt_name" \ + "$func_split_short_opt_arg" ${1+"$@"} + shift + ;; + + # Separate non-argument short options: + -\?*|-h*|-v*|-x*) + func_split_short_opt "$_G_opt" + set dummy "$func_split_short_opt_name" \ + "-$func_split_short_opt_arg" ${1+"$@"} + shift + ;; + + --) break ;; + -*) func_fatal_help "unrecognised option: '$_G_opt'" ;; + *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; + esac + done + + # save modified positional parameters for caller + func_quote_for_eval ${1+"$@"} + func_parse_options_result=$func_quote_for_eval_result +} + + +# func_validate_options [ARG]... +# ------------------------------ +# Perform any sanity checks on option settings and/or unconsumed +# arguments. +func_hookable func_validate_options +func_validate_options () +{ + $debug_cmd + + # Display all warnings if -W was not given. + test -n "$opt_warning_types" || opt_warning_types=" $warning_categories" + + func_run_hooks func_validate_options ${1+"$@"} + + # Bail if the options were screwed! + $exit_cmd $EXIT_FAILURE + + # save modified positional parameters for caller + func_validate_options_result=$func_run_hooks_result +} + + + +## ----------------- ## +## Helper functions. ## +## ----------------- ## + +# This section contains the helper functions used by the rest of the +# hookable option parser framework in ascii-betical order. + + +# func_fatal_help ARG... +# ---------------------- +# Echo program name prefixed message to standard error, followed by +# a help hint, and exit. +func_fatal_help () +{ + $debug_cmd + + eval \$ECHO \""Usage: $usage"\" + eval \$ECHO \""$fatal_help"\" + func_error ${1+"$@"} + exit $EXIT_FAILURE +} + + +# func_help +# --------- +# Echo long help message to standard output and exit. +func_help () +{ + $debug_cmd + + func_usage_message + $ECHO "$long_help_message" + exit 0 +} + + +# func_missing_arg ARGNAME +# ------------------------ +# Echo program name prefixed message to standard error and set global +# exit_cmd. +func_missing_arg () +{ + $debug_cmd + + func_error "Missing argument for '$1'." + exit_cmd=exit +} + + +# func_split_equals STRING +# ------------------------ +# Set func_split_equals_lhs and func_split_equals_rhs shell variables after +# splitting STRING at the '=' sign. +test -z "$_G_HAVE_XSI_OPS" \ + && (eval 'x=a/b/c; + test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \ + && _G_HAVE_XSI_OPS=yes + +if test yes = "$_G_HAVE_XSI_OPS" +then + # This is an XSI compatible shell, allowing a faster implementation... + eval 'func_split_equals () + { + $debug_cmd + + func_split_equals_lhs=${1%%=*} + func_split_equals_rhs=${1#*=} + test "x$func_split_equals_lhs" = "x$1" \ + && func_split_equals_rhs= + }' +else + # ...otherwise fall back to using expr, which is often a shell builtin. + func_split_equals () + { + $debug_cmd + + func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'` + func_split_equals_rhs= + test "x$func_split_equals_lhs" = "x$1" \ + || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'` + } +fi #func_split_equals + + +# func_split_short_opt SHORTOPT +# ----------------------------- +# Set func_split_short_opt_name and func_split_short_opt_arg shell +# variables after splitting SHORTOPT after the 2nd character. +if test yes = "$_G_HAVE_XSI_OPS" +then + # This is an XSI compatible shell, allowing a faster implementation... + eval 'func_split_short_opt () + { + $debug_cmd + + func_split_short_opt_arg=${1#??} + func_split_short_opt_name=${1%"$func_split_short_opt_arg"} + }' +else + # ...otherwise fall back to using expr, which is often a shell builtin. + func_split_short_opt () + { + $debug_cmd + + func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'` + func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'` + } +fi #func_split_short_opt + + +# func_usage +# ---------- +# Echo short help message to standard output and exit. +func_usage () +{ + $debug_cmd + + func_usage_message + $ECHO "Run '$progname --help |${PAGER-more}' for full usage" + exit 0 +} + + +# func_usage_message +# ------------------ +# Echo short help message to standard output. +func_usage_message () +{ + $debug_cmd + + eval \$ECHO \""Usage: $usage"\" + echo + $SED -n 's|^# || + /^Written by/{ + x;p;x + } + h + /^Written by/q' < "$progpath" + echo + eval \$ECHO \""$usage_message"\" +} + + +# func_version +# ------------ +# Echo version message to standard output and exit. +func_version () +{ + $debug_cmd + + printf '%s\n' "$progname $scriptversion" + $SED -n ' + /(C)/!b go + :more + /\./!{ + N + s|\n# | | + b more + } + :go + /^# Written by /,/# warranty; / { + s|^# || + s|^# *$|| + s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2| + p + } + /^# Written by / { + s|^# || + p + } + /^warranty; /q' < "$progpath" + + exit $? +} + + +# Local variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'before-save-hook 'time-stamp) +# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" +# time-stamp-time-zone: "UTC" +# End: + +# Set a version string. +scriptversion='(GNU libtool) 2.4.6' + + +# func_echo ARG... +# ---------------- +# Libtool also displays the current mode in messages, so override +# funclib.sh func_echo with this custom definition. +func_echo () +{ + $debug_cmd + + _G_message=$* + + func_echo_IFS=$IFS + IFS=$nl + for _G_line in $_G_message; do + IFS=$func_echo_IFS + $ECHO "$progname${opt_mode+: $opt_mode}: $_G_line" + done + IFS=$func_echo_IFS +} + + +# func_warning ARG... +# ------------------- +# Libtool warnings are not categorized, so override funclib.sh +# func_warning with this simpler definition. +func_warning () +{ + $debug_cmd + + $warning_func ${1+"$@"} +} + + +## ---------------- ## +## Options parsing. ## +## ---------------- ## + +# Hook in the functions to make sure our own options are parsed during +# the option parsing loop. + +usage='$progpath [OPTION]... [MODE-ARG]...' + +# Short help message in response to '-h'. +usage_message="Options: + --config show all configuration variables + --debug enable verbose shell tracing + -n, --dry-run display commands without modifying any files + --features display basic configuration information and exit + --mode=MODE use operation mode MODE + --no-warnings equivalent to '-Wnone' + --preserve-dup-deps don't remove duplicate dependency libraries + --quiet, --silent don't print informational messages + --tag=TAG use configuration variables from tag TAG + -v, --verbose print more informational messages than default + --version print version information + -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all] + -h, --help, --help-all print short, long, or detailed help message +" + +# Additional text appended to 'usage_message' in response to '--help'. +func_help () +{ + $debug_cmd + + func_usage_message + $ECHO "$long_help_message + +MODE must be one of the following: + + clean remove files from the build directory + compile compile a source file into a libtool object + execute automatically set library path, then run a program + finish complete the installation of libtool libraries + install install libraries or executables + link create a library or an executable + uninstall remove libraries from an installed directory + +MODE-ARGS vary depending on the MODE. When passed as first option, +'--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that. +Try '$progname --help --mode=MODE' for a more detailed description of MODE. + +When reporting a bug, please describe a test case to reproduce it and +include the following information: + + host-triplet: $host + shell: $SHELL + compiler: $LTCC + compiler flags: $LTCFLAGS + linker: $LD (gnu? $with_gnu_ld) + version: $progname (GNU libtool) 2.4.6 + automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` + autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` + +Report bugs to . +GNU libtool home page: . +General help using GNU software: ." + exit 0 +} + + +# func_lo2o OBJECT-NAME +# --------------------- +# Transform OBJECT-NAME from a '.lo' suffix to the platform specific +# object suffix. + +lo2o=s/\\.lo\$/.$objext/ +o2lo=s/\\.$objext\$/.lo/ + +if test yes = "$_G_HAVE_XSI_OPS"; then + eval 'func_lo2o () + { + case $1 in + *.lo) func_lo2o_result=${1%.lo}.$objext ;; + * ) func_lo2o_result=$1 ;; + esac + }' + + # func_xform LIBOBJ-OR-SOURCE + # --------------------------- + # Transform LIBOBJ-OR-SOURCE from a '.o' or '.c' (or otherwise) + # suffix to a '.lo' libtool-object suffix. + eval 'func_xform () + { + func_xform_result=${1%.*}.lo + }' +else + # ...otherwise fall back to using sed. + func_lo2o () + { + func_lo2o_result=`$ECHO "$1" | $SED "$lo2o"` + } + + func_xform () + { + func_xform_result=`$ECHO "$1" | $SED 's|\.[^.]*$|.lo|'` + } +fi + + +# func_fatal_configuration ARG... +# ------------------------------- +# Echo program name prefixed message to standard error, followed by +# a configuration failure hint, and exit. +func_fatal_configuration () +{ + func__fatal_error ${1+"$@"} \ + "See the $PACKAGE documentation for more information." \ + "Fatal configuration error." +} + + +# func_config +# ----------- +# Display the configuration for all the tags in this script. +func_config () +{ + re_begincf='^# ### BEGIN LIBTOOL' + re_endcf='^# ### END LIBTOOL' + + # Default configuration. + $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath" + + # Now print the configurations for the tags. + for tagname in $taglist; do + $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath" + done + + exit $? +} + + +# func_features +# ------------- +# Display the features supported by this script. +func_features () +{ + echo "host: $host" + if test yes = "$build_libtool_libs"; then + echo "enable shared libraries" + else + echo "disable shared libraries" + fi + if test yes = "$build_old_libs"; then + echo "enable static libraries" + else + echo "disable static libraries" + fi + + exit $? +} + + +# func_enable_tag TAGNAME +# ----------------------- +# Verify that TAGNAME is valid, and either flag an error and exit, or +# enable the TAGNAME tag. We also add TAGNAME to the global $taglist +# variable here. +func_enable_tag () +{ + # Global variable: + tagname=$1 + + re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$" + re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$" + sed_extractcf=/$re_begincf/,/$re_endcf/p + + # Validate tagname. + case $tagname in + *[!-_A-Za-z0-9,/]*) + func_fatal_error "invalid tag name: $tagname" + ;; + esac + + # Don't test for the "default" C tag, as we know it's + # there but not specially marked. + case $tagname in + CC) ;; + *) + if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then + taglist="$taglist $tagname" + + # Evaluate the configuration. Be careful to quote the path + # and the sed script, to avoid splitting on whitespace, but + # also don't use non-portable quotes within backquotes within + # quotes we have to do it in 2 steps: + extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` + eval "$extractedcf" + else + func_error "ignoring unknown tag $tagname" + fi + ;; + esac +} + + +# func_check_version_match +# ------------------------ +# Ensure that we are using m4 macros, and libtool script from the same +# release of libtool. +func_check_version_match () +{ + if test "$package_revision" != "$macro_revision"; then + if test "$VERSION" != "$macro_version"; then + if test -z "$macro_version"; then + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the +$progname: definition of this LT_INIT comes from an older release. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION +$progname: and run autoconf again. +_LT_EOF + else + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the +$progname: definition of this LT_INIT comes from $PACKAGE $macro_version. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION +$progname: and run autoconf again. +_LT_EOF + fi + else + cat >&2 <<_LT_EOF +$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, +$progname: but the definition of this LT_INIT comes from revision $macro_revision. +$progname: You should recreate aclocal.m4 with macros from revision $package_revision +$progname: of $PACKAGE $VERSION and run autoconf again. +_LT_EOF + fi + + exit $EXIT_MISMATCH + fi +} + + +# libtool_options_prep [ARG]... +# ----------------------------- +# Preparation for options parsed by libtool. +libtool_options_prep () +{ + $debug_mode + + # Option defaults: + opt_config=false + opt_dlopen= + opt_dry_run=false + opt_help=false + opt_mode= + opt_preserve_dup_deps=false + opt_quiet=false + + nonopt= + preserve_args= + + # Shorthand for --mode=foo, only valid as the first argument + case $1 in + clean|clea|cle|cl) + shift; set dummy --mode clean ${1+"$@"}; shift + ;; + compile|compil|compi|comp|com|co|c) + shift; set dummy --mode compile ${1+"$@"}; shift + ;; + execute|execut|execu|exec|exe|ex|e) + shift; set dummy --mode execute ${1+"$@"}; shift + ;; + finish|finis|fini|fin|fi|f) + shift; set dummy --mode finish ${1+"$@"}; shift + ;; + install|instal|insta|inst|ins|in|i) + shift; set dummy --mode install ${1+"$@"}; shift + ;; + link|lin|li|l) + shift; set dummy --mode link ${1+"$@"}; shift + ;; + uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) + shift; set dummy --mode uninstall ${1+"$@"}; shift + ;; + esac + + # Pass back the list of options. + func_quote_for_eval ${1+"$@"} + libtool_options_prep_result=$func_quote_for_eval_result +} +func_add_hook func_options_prep libtool_options_prep + + +# libtool_parse_options [ARG]... +# --------------------------------- +# Provide handling for libtool specific options. +libtool_parse_options () +{ + $debug_cmd + + # Perform our own loop to consume as many options as possible in + # each iteration. + while test $# -gt 0; do + _G_opt=$1 + shift + case $_G_opt in + --dry-run|--dryrun|-n) + opt_dry_run=: + ;; + + --config) func_config ;; + + --dlopen|-dlopen) + opt_dlopen="${opt_dlopen+$opt_dlopen +}$1" + shift + ;; + + --preserve-dup-deps) + opt_preserve_dup_deps=: ;; + + --features) func_features ;; + + --finish) set dummy --mode finish ${1+"$@"}; shift ;; + + --help) opt_help=: ;; + + --help-all) opt_help=': help-all' ;; + + --mode) test $# = 0 && func_missing_arg $_G_opt && break + opt_mode=$1 + case $1 in + # Valid mode arguments: + clean|compile|execute|finish|install|link|relink|uninstall) ;; + + # Catch anything else as an error + *) func_error "invalid argument for $_G_opt" + exit_cmd=exit + break + ;; + esac + shift + ;; + + --no-silent|--no-quiet) + opt_quiet=false + func_append preserve_args " $_G_opt" + ;; + + --no-warnings|--no-warning|--no-warn) + opt_warning=false + func_append preserve_args " $_G_opt" + ;; + + --no-verbose) + opt_verbose=false + func_append preserve_args " $_G_opt" + ;; + + --silent|--quiet) + opt_quiet=: + opt_verbose=false + func_append preserve_args " $_G_opt" + ;; + + --tag) test $# = 0 && func_missing_arg $_G_opt && break + opt_tag=$1 + func_append preserve_args " $_G_opt $1" + func_enable_tag "$1" + shift + ;; + + --verbose|-v) opt_quiet=false + opt_verbose=: + func_append preserve_args " $_G_opt" + ;; + + # An option not handled by this hook function: + *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; + esac + done + + + # save modified positional parameters for caller + func_quote_for_eval ${1+"$@"} + libtool_parse_options_result=$func_quote_for_eval_result +} +func_add_hook func_parse_options libtool_parse_options + + + +# libtool_validate_options [ARG]... +# --------------------------------- +# Perform any sanity checks on option settings and/or unconsumed +# arguments. +libtool_validate_options () +{ + # save first non-option argument + if test 0 -lt $#; then + nonopt=$1 + shift + fi + + # preserve --debug + test : = "$debug_cmd" || func_append preserve_args " --debug" + + case $host in + # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452 + # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788 + *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*) + # don't eliminate duplications in $postdeps and $predeps + opt_duplicate_compiler_generated_deps=: + ;; + *) + opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps + ;; + esac + + $opt_help || { + # Sanity checks first: + func_check_version_match + + test yes != "$build_libtool_libs" \ + && test yes != "$build_old_libs" \ + && func_fatal_configuration "not configured to build any kind of library" + + # Darwin sucks + eval std_shrext=\"$shrext_cmds\" + + # Only execute mode is allowed to have -dlopen flags. + if test -n "$opt_dlopen" && test execute != "$opt_mode"; then + func_error "unrecognized option '-dlopen'" + $ECHO "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Change the help message to a mode-specific one. + generic_help=$help + help="Try '$progname --help --mode=$opt_mode' for more information." + } + + # Pass back the unparsed argument list + func_quote_for_eval ${1+"$@"} + libtool_validate_options_result=$func_quote_for_eval_result +} +func_add_hook func_validate_options libtool_validate_options + + +# Process options as early as possible so that --help and --version +# can return quickly. +func_options ${1+"$@"} +eval set dummy "$func_options_result"; shift + + + +## ----------- ## +## Main. ## +## ----------- ## + +magic='%%%MAGIC variable%%%' +magic_exe='%%%MAGIC EXE variable%%%' + +# Global variables. +extracted_archives= +extracted_serial=0 + +# If this variable is set in any of the actions, the command in it +# will be execed at the end. This prevents here-documents from being +# left over by shells. +exec_cmd= + + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' +} + +# func_generated_by_libtool +# True iff stdin has been generated by Libtool. This function is only +# a basic sanity check; it will hardly flush out determined imposters. +func_generated_by_libtool_p () +{ + $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 +} + +# func_lalib_p file +# True iff FILE is a libtool '.la' library or '.lo' object file. +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_lalib_p () +{ + test -f "$1" && + $SED -e 4q "$1" 2>/dev/null | func_generated_by_libtool_p +} + +# func_lalib_unsafe_p file +# True iff FILE is a libtool '.la' library or '.lo' object file. +# This function implements the same check as func_lalib_p without +# resorting to external programs. To this end, it redirects stdin and +# closes it afterwards, without saving the original file descriptor. +# As a safety measure, use it only where a negative result would be +# fatal anyway. Works if 'file' does not exist. +func_lalib_unsafe_p () +{ + lalib_p=no + if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then + for lalib_p_l in 1 2 3 4 + do + read lalib_p_line + case $lalib_p_line in + \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; + esac + done + exec 0<&5 5<&- + fi + test yes = "$lalib_p" +} + +# func_ltwrapper_script_p file +# True iff FILE is a libtool wrapper script +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_script_p () +{ + test -f "$1" && + $lt_truncate_bin < "$1" 2>/dev/null | func_generated_by_libtool_p +} + +# func_ltwrapper_executable_p file +# True iff FILE is a libtool wrapper executable +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_executable_p () +{ + func_ltwrapper_exec_suffix= + case $1 in + *.exe) ;; + *) func_ltwrapper_exec_suffix=.exe ;; + esac + $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 +} + +# func_ltwrapper_scriptname file +# Assumes file is an ltwrapper_executable +# uses $file to determine the appropriate filename for a +# temporary ltwrapper_script. +func_ltwrapper_scriptname () +{ + func_dirname_and_basename "$1" "" "." + func_stripname '' '.exe' "$func_basename_result" + func_ltwrapper_scriptname_result=$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper +} + +# func_ltwrapper_p file +# True iff FILE is a libtool wrapper script or wrapper executable +# This function is only a basic sanity check; it will hardly flush out +# determined imposters. +func_ltwrapper_p () +{ + func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" +} + + +# func_execute_cmds commands fail_cmd +# Execute tilde-delimited COMMANDS. +# If FAIL_CMD is given, eval that upon failure. +# FAIL_CMD may read-access the current command in variable CMD! +func_execute_cmds () +{ + $debug_cmd + + save_ifs=$IFS; IFS='~' + for cmd in $1; do + IFS=$sp$nl + eval cmd=\"$cmd\" + IFS=$save_ifs + func_show_eval "$cmd" "${2-:}" + done + IFS=$save_ifs +} + + +# func_source file +# Source FILE, adding directory component if necessary. +# Note that it is not necessary on cygwin/mingw to append a dot to +# FILE even if both FILE and FILE.exe exist: automatic-append-.exe +# behavior happens only for exec(3), not for open(2)! Also, sourcing +# 'FILE.' does not work on cygwin managed mounts. +func_source () +{ + $debug_cmd + + case $1 in + */* | *\\*) . "$1" ;; + *) . "./$1" ;; + esac +} + + +# func_resolve_sysroot PATH +# Replace a leading = in PATH with a sysroot. Store the result into +# func_resolve_sysroot_result +func_resolve_sysroot () +{ + func_resolve_sysroot_result=$1 + case $func_resolve_sysroot_result in + =*) + func_stripname '=' '' "$func_resolve_sysroot_result" + func_resolve_sysroot_result=$lt_sysroot$func_stripname_result + ;; + esac +} + +# func_replace_sysroot PATH +# If PATH begins with the sysroot, replace it with = and +# store the result into func_replace_sysroot_result. +func_replace_sysroot () +{ + case $lt_sysroot:$1 in + ?*:"$lt_sysroot"*) + func_stripname "$lt_sysroot" '' "$1" + func_replace_sysroot_result='='$func_stripname_result + ;; + *) + # Including no sysroot. + func_replace_sysroot_result=$1 + ;; + esac +} + +# func_infer_tag arg +# Infer tagged configuration to use if any are available and +# if one wasn't chosen via the "--tag" command line option. +# Only attempt this if the compiler in the base compile +# command doesn't match the default compiler. +# arg is usually of the form 'gcc ...' +func_infer_tag () +{ + $debug_cmd + + if test -n "$available_tags" && test -z "$tagname"; then + CC_quoted= + for arg in $CC; do + func_append_quoted CC_quoted "$arg" + done + CC_expanded=`func_echo_all $CC` + CC_quoted_expanded=`func_echo_all $CC_quoted` + case $@ in + # Blanks in the command may have been stripped by the calling shell, + # but not from the CC environment variable when configure was run. + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; + # Blanks at the start of $base_compile will cause this to fail + # if we don't check for them as well. + *) + for z in $available_tags; do + if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then + # Evaluate the configuration. + eval "`$SED -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" + CC_quoted= + for arg in $CC; do + # Double-quote args containing other shell metacharacters. + func_append_quoted CC_quoted "$arg" + done + CC_expanded=`func_echo_all $CC` + CC_quoted_expanded=`func_echo_all $CC_quoted` + case "$@ " in + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) + # The compiler in the base compile command matches + # the one in the tagged configuration. + # Assume this is the tagged configuration we want. + tagname=$z + break + ;; + esac + fi + done + # If $tagname still isn't set, then no tagged configuration + # was found and let the user know that the "--tag" command + # line option must be used. + if test -z "$tagname"; then + func_echo "unable to infer tagged configuration" + func_fatal_error "specify a tag with '--tag'" +# else +# func_verbose "using $tagname tagged configuration" + fi + ;; + esac + fi +} + + + +# func_write_libtool_object output_name pic_name nonpic_name +# Create a libtool object file (analogous to a ".la" file), +# but don't create it if we're doing a dry run. +func_write_libtool_object () +{ + write_libobj=$1 + if test yes = "$build_libtool_libs"; then + write_lobj=\'$2\' + else + write_lobj=none + fi + + if test yes = "$build_old_libs"; then + write_oldobj=\'$3\' + else + write_oldobj=none + fi + + $opt_dry_run || { + cat >${write_libobj}T </dev/null` + if test "$?" -eq 0 && test -n "$func_convert_core_file_wine_to_w32_tmp"; then + func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | + $SED -e "$sed_naive_backslashify"` + else + func_convert_core_file_wine_to_w32_result= + fi + fi +} +# end: func_convert_core_file_wine_to_w32 + + +# func_convert_core_path_wine_to_w32 ARG +# Helper function used by path conversion functions when $build is *nix, and +# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly +# configured wine environment available, with the winepath program in $build's +# $PATH. Assumes ARG has no leading or trailing path separator characters. +# +# ARG is path to be converted from $build format to win32. +# Result is available in $func_convert_core_path_wine_to_w32_result. +# Unconvertible file (directory) names in ARG are skipped; if no directory names +# are convertible, then the result may be empty. +func_convert_core_path_wine_to_w32 () +{ + $debug_cmd + + # unfortunately, winepath doesn't convert paths, only file names + func_convert_core_path_wine_to_w32_result= + if test -n "$1"; then + oldIFS=$IFS + IFS=: + for func_convert_core_path_wine_to_w32_f in $1; do + IFS=$oldIFS + func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" + if test -n "$func_convert_core_file_wine_to_w32_result"; then + if test -z "$func_convert_core_path_wine_to_w32_result"; then + func_convert_core_path_wine_to_w32_result=$func_convert_core_file_wine_to_w32_result + else + func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" + fi + fi + done + IFS=$oldIFS + fi +} +# end: func_convert_core_path_wine_to_w32 + + +# func_cygpath ARGS... +# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when +# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) +# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or +# (2), returns the Cygwin file name or path in func_cygpath_result (input +# file name or path is assumed to be in w32 format, as previously converted +# from $build's *nix or MSYS format). In case (3), returns the w32 file name +# or path in func_cygpath_result (input file name or path is assumed to be in +# Cygwin format). Returns an empty string on error. +# +# ARGS are passed to cygpath, with the last one being the file name or path to +# be converted. +# +# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH +# environment variable; do not put it in $PATH. +func_cygpath () +{ + $debug_cmd + + if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then + func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` + if test "$?" -ne 0; then + # on failure, ensure result is empty + func_cygpath_result= + fi + else + func_cygpath_result= + func_error "LT_CYGPATH is empty or specifies non-existent file: '$LT_CYGPATH'" + fi +} +#end: func_cygpath + + +# func_convert_core_msys_to_w32 ARG +# Convert file name or path ARG from MSYS format to w32 format. Return +# result in func_convert_core_msys_to_w32_result. +func_convert_core_msys_to_w32 () +{ + $debug_cmd + + # awkward: cmd appends spaces to result + func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | + $SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"` +} +#end: func_convert_core_msys_to_w32 + + +# func_convert_file_check ARG1 ARG2 +# Verify that ARG1 (a file name in $build format) was converted to $host +# format in ARG2. Otherwise, emit an error message, but continue (resetting +# func_to_host_file_result to ARG1). +func_convert_file_check () +{ + $debug_cmd + + if test -z "$2" && test -n "$1"; then + func_error "Could not determine host file name corresponding to" + func_error " '$1'" + func_error "Continuing, but uninstalled executables may not work." + # Fallback: + func_to_host_file_result=$1 + fi +} +# end func_convert_file_check + + +# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH +# Verify that FROM_PATH (a path in $build format) was converted to $host +# format in TO_PATH. Otherwise, emit an error message, but continue, resetting +# func_to_host_file_result to a simplistic fallback value (see below). +func_convert_path_check () +{ + $debug_cmd + + if test -z "$4" && test -n "$3"; then + func_error "Could not determine the host path corresponding to" + func_error " '$3'" + func_error "Continuing, but uninstalled executables may not work." + # Fallback. This is a deliberately simplistic "conversion" and + # should not be "improved". See libtool.info. + if test "x$1" != "x$2"; then + lt_replace_pathsep_chars="s|$1|$2|g" + func_to_host_path_result=`echo "$3" | + $SED -e "$lt_replace_pathsep_chars"` + else + func_to_host_path_result=$3 + fi + fi +} +# end func_convert_path_check + + +# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG +# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT +# and appending REPL if ORIG matches BACKPAT. +func_convert_path_front_back_pathsep () +{ + $debug_cmd + + case $4 in + $1 ) func_to_host_path_result=$3$func_to_host_path_result + ;; + esac + case $4 in + $2 ) func_append func_to_host_path_result "$3" + ;; + esac +} +# end func_convert_path_front_back_pathsep + + +################################################## +# $build to $host FILE NAME CONVERSION FUNCTIONS # +################################################## +# invoked via '$to_host_file_cmd ARG' +# +# In each case, ARG is the path to be converted from $build to $host format. +# Result will be available in $func_to_host_file_result. + + +# func_to_host_file ARG +# Converts the file name ARG from $build format to $host format. Return result +# in func_to_host_file_result. +func_to_host_file () +{ + $debug_cmd + + $to_host_file_cmd "$1" +} +# end func_to_host_file + + +# func_to_tool_file ARG LAZY +# converts the file name ARG from $build format to toolchain format. Return +# result in func_to_tool_file_result. If the conversion in use is listed +# in (the comma separated) LAZY, no conversion takes place. +func_to_tool_file () +{ + $debug_cmd + + case ,$2, in + *,"$to_tool_file_cmd",*) + func_to_tool_file_result=$1 + ;; + *) + $to_tool_file_cmd "$1" + func_to_tool_file_result=$func_to_host_file_result + ;; + esac +} +# end func_to_tool_file + + +# func_convert_file_noop ARG +# Copy ARG to func_to_host_file_result. +func_convert_file_noop () +{ + func_to_host_file_result=$1 +} +# end func_convert_file_noop + + +# func_convert_file_msys_to_w32 ARG +# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic +# conversion to w32 is not available inside the cwrapper. Returns result in +# func_to_host_file_result. +func_convert_file_msys_to_w32 () +{ + $debug_cmd + + func_to_host_file_result=$1 + if test -n "$1"; then + func_convert_core_msys_to_w32 "$1" + func_to_host_file_result=$func_convert_core_msys_to_w32_result + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_msys_to_w32 + + +# func_convert_file_cygwin_to_w32 ARG +# Convert file name ARG from Cygwin to w32 format. Returns result in +# func_to_host_file_result. +func_convert_file_cygwin_to_w32 () +{ + $debug_cmd + + func_to_host_file_result=$1 + if test -n "$1"; then + # because $build is cygwin, we call "the" cygpath in $PATH; no need to use + # LT_CYGPATH in this case. + func_to_host_file_result=`cygpath -m "$1"` + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_cygwin_to_w32 + + +# func_convert_file_nix_to_w32 ARG +# Convert file name ARG from *nix to w32 format. Requires a wine environment +# and a working winepath. Returns result in func_to_host_file_result. +func_convert_file_nix_to_w32 () +{ + $debug_cmd + + func_to_host_file_result=$1 + if test -n "$1"; then + func_convert_core_file_wine_to_w32 "$1" + func_to_host_file_result=$func_convert_core_file_wine_to_w32_result + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_nix_to_w32 + + +# func_convert_file_msys_to_cygwin ARG +# Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. +# Returns result in func_to_host_file_result. +func_convert_file_msys_to_cygwin () +{ + $debug_cmd + + func_to_host_file_result=$1 + if test -n "$1"; then + func_convert_core_msys_to_w32 "$1" + func_cygpath -u "$func_convert_core_msys_to_w32_result" + func_to_host_file_result=$func_cygpath_result + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_msys_to_cygwin + + +# func_convert_file_nix_to_cygwin ARG +# Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed +# in a wine environment, working winepath, and LT_CYGPATH set. Returns result +# in func_to_host_file_result. +func_convert_file_nix_to_cygwin () +{ + $debug_cmd + + func_to_host_file_result=$1 + if test -n "$1"; then + # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. + func_convert_core_file_wine_to_w32 "$1" + func_cygpath -u "$func_convert_core_file_wine_to_w32_result" + func_to_host_file_result=$func_cygpath_result + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_nix_to_cygwin + + +############################################# +# $build to $host PATH CONVERSION FUNCTIONS # +############################################# +# invoked via '$to_host_path_cmd ARG' +# +# In each case, ARG is the path to be converted from $build to $host format. +# The result will be available in $func_to_host_path_result. +# +# Path separators are also converted from $build format to $host format. If +# ARG begins or ends with a path separator character, it is preserved (but +# converted to $host format) on output. +# +# All path conversion functions are named using the following convention: +# file name conversion function : func_convert_file_X_to_Y () +# path conversion function : func_convert_path_X_to_Y () +# where, for any given $build/$host combination the 'X_to_Y' value is the +# same. If conversion functions are added for new $build/$host combinations, +# the two new functions must follow this pattern, or func_init_to_host_path_cmd +# will break. + + +# func_init_to_host_path_cmd +# Ensures that function "pointer" variable $to_host_path_cmd is set to the +# appropriate value, based on the value of $to_host_file_cmd. +to_host_path_cmd= +func_init_to_host_path_cmd () +{ + $debug_cmd + + if test -z "$to_host_path_cmd"; then + func_stripname 'func_convert_file_' '' "$to_host_file_cmd" + to_host_path_cmd=func_convert_path_$func_stripname_result + fi +} + + +# func_to_host_path ARG +# Converts the path ARG from $build format to $host format. Return result +# in func_to_host_path_result. +func_to_host_path () +{ + $debug_cmd + + func_init_to_host_path_cmd + $to_host_path_cmd "$1" +} +# end func_to_host_path + + +# func_convert_path_noop ARG +# Copy ARG to func_to_host_path_result. +func_convert_path_noop () +{ + func_to_host_path_result=$1 +} +# end func_convert_path_noop + + +# func_convert_path_msys_to_w32 ARG +# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic +# conversion to w32 is not available inside the cwrapper. Returns result in +# func_to_host_path_result. +func_convert_path_msys_to_w32 () +{ + $debug_cmd + + func_to_host_path_result=$1 + if test -n "$1"; then + # Remove leading and trailing path separator characters from ARG. MSYS + # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; + # and winepath ignores them completely. + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" + func_to_host_path_result=$func_convert_core_msys_to_w32_result + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_msys_to_w32 + + +# func_convert_path_cygwin_to_w32 ARG +# Convert path ARG from Cygwin to w32 format. Returns result in +# func_to_host_file_result. +func_convert_path_cygwin_to_w32 () +{ + $debug_cmd + + func_to_host_path_result=$1 + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_cygwin_to_w32 + + +# func_convert_path_nix_to_w32 ARG +# Convert path ARG from *nix to w32 format. Requires a wine environment and +# a working winepath. Returns result in func_to_host_file_result. +func_convert_path_nix_to_w32 () +{ + $debug_cmd + + func_to_host_path_result=$1 + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" + func_to_host_path_result=$func_convert_core_path_wine_to_w32_result + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_nix_to_w32 + + +# func_convert_path_msys_to_cygwin ARG +# Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. +# Returns result in func_to_host_file_result. +func_convert_path_msys_to_cygwin () +{ + $debug_cmd + + func_to_host_path_result=$1 + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" + func_cygpath -u -p "$func_convert_core_msys_to_w32_result" + func_to_host_path_result=$func_cygpath_result + func_convert_path_check : : \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" : "$1" + fi +} +# end func_convert_path_msys_to_cygwin + + +# func_convert_path_nix_to_cygwin ARG +# Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a +# a wine environment, working winepath, and LT_CYGPATH set. Returns result in +# func_to_host_file_result. +func_convert_path_nix_to_cygwin () +{ + $debug_cmd + + func_to_host_path_result=$1 + if test -n "$1"; then + # Remove leading and trailing path separator characters from + # ARG. msys behavior is inconsistent here, cygpath turns them + # into '.;' and ';.', and winepath ignores them completely. + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" + func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" + func_to_host_path_result=$func_cygpath_result + func_convert_path_check : : \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" : "$1" + fi +} +# end func_convert_path_nix_to_cygwin + + +# func_dll_def_p FILE +# True iff FILE is a Windows DLL '.def' file. +# Keep in sync with _LT_DLL_DEF_P in libtool.m4 +func_dll_def_p () +{ + $debug_cmd + + func_dll_def_p_tmp=`$SED -n \ + -e 's/^[ ]*//' \ + -e '/^\(;.*\)*$/d' \ + -e 's/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p' \ + -e q \ + "$1"` + test DEF = "$func_dll_def_p_tmp" +} + + +# func_mode_compile arg... +func_mode_compile () +{ + $debug_cmd + + # Get the compilation command and the source file. + base_compile= + srcfile=$nonopt # always keep a non-empty value in "srcfile" + suppress_opt=yes + suppress_output= + arg_mode=normal + libobj= + later= + pie_flag= + + for arg + do + case $arg_mode in + arg ) + # do not "continue". Instead, add this to base_compile + lastarg=$arg + arg_mode=normal + ;; + + target ) + libobj=$arg + arg_mode=normal + continue + ;; + + normal ) + # Accept any command-line options. + case $arg in + -o) + test -n "$libobj" && \ + func_fatal_error "you cannot specify '-o' more than once" + arg_mode=target + continue + ;; + + -pie | -fpie | -fPIE) + func_append pie_flag " $arg" + continue + ;; + + -shared | -static | -prefer-pic | -prefer-non-pic) + func_append later " $arg" + continue + ;; + + -no-suppress) + suppress_opt=no + continue + ;; + + -Xcompiler) + arg_mode=arg # the next one goes into the "base_compile" arg list + continue # The current "srcfile" will either be retained or + ;; # replaced later. I would guess that would be a bug. + + -Wc,*) + func_stripname '-Wc,' '' "$arg" + args=$func_stripname_result + lastarg= + save_ifs=$IFS; IFS=, + for arg in $args; do + IFS=$save_ifs + func_append_quoted lastarg "$arg" + done + IFS=$save_ifs + func_stripname ' ' '' "$lastarg" + lastarg=$func_stripname_result + + # Add the arguments to base_compile. + func_append base_compile " $lastarg" + continue + ;; + + *) + # Accept the current argument as the source file. + # The previous "srcfile" becomes the current argument. + # + lastarg=$srcfile + srcfile=$arg + ;; + esac # case $arg + ;; + esac # case $arg_mode + + # Aesthetically quote the previous argument. + func_append_quoted base_compile "$lastarg" + done # for arg + + case $arg_mode in + arg) + func_fatal_error "you must specify an argument for -Xcompile" + ;; + target) + func_fatal_error "you must specify a target with '-o'" + ;; + *) + # Get the name of the library object. + test -z "$libobj" && { + func_basename "$srcfile" + libobj=$func_basename_result + } + ;; + esac + + # Recognize several different file suffixes. + # If the user specifies -o file.o, it is replaced with file.lo + case $libobj in + *.[cCFSifmso] | \ + *.ada | *.adb | *.ads | *.asm | \ + *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ + *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup) + func_xform "$libobj" + libobj=$func_xform_result + ;; + esac + + case $libobj in + *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;; + *) + func_fatal_error "cannot determine name of library object from '$libobj'" + ;; + esac + + func_infer_tag $base_compile + + for arg in $later; do + case $arg in + -shared) + test yes = "$build_libtool_libs" \ + || func_fatal_configuration "cannot build a shared library" + build_old_libs=no + continue + ;; + + -static) + build_libtool_libs=no + build_old_libs=yes + continue + ;; + + -prefer-pic) + pic_mode=yes + continue + ;; + + -prefer-non-pic) + pic_mode=no + continue + ;; + esac + done + + func_quote_for_eval "$libobj" + test "X$libobj" != "X$func_quote_for_eval_result" \ + && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \ + && func_warning "libobj name '$libobj' may not contain shell special characters." + func_dirname_and_basename "$obj" "/" "" + objname=$func_basename_result + xdir=$func_dirname_result + lobj=$xdir$objdir/$objname + + test -z "$base_compile" && \ + func_fatal_help "you must specify a compilation command" + + # Delete any leftover library objects. + if test yes = "$build_old_libs"; then + removelist="$obj $lobj $libobj ${libobj}T" + else + removelist="$lobj $libobj ${libobj}T" + fi + + # On Cygwin there's no "real" PIC flag so we must build both object types + case $host_os in + cygwin* | mingw* | pw32* | os2* | cegcc*) + pic_mode=default + ;; + esac + if test no = "$pic_mode" && test pass_all != "$deplibs_check_method"; then + # non-PIC code in shared libraries is not supported + pic_mode=default + fi + + # Calculate the filename of the output object if compiler does + # not support -o with -c + if test no = "$compiler_c_o"; then + output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.$objext + lockfile=$output_obj.lock + else + output_obj= + need_locks=no + lockfile= + fi + + # Lock this critical section if it is needed + # We use this script file to make the link, it avoids creating a new file + if test yes = "$need_locks"; then + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do + func_echo "Waiting for $lockfile to be removed" + sleep 2 + done + elif test warn = "$need_locks"; then + if test -f "$lockfile"; then + $ECHO "\ +*** ERROR, $lockfile exists and contains: +`cat $lockfile 2>/dev/null` + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support '-c' and '-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + func_append removelist " $output_obj" + $ECHO "$srcfile" > "$lockfile" + fi + + $opt_dry_run || $RM $removelist + func_append removelist " $lockfile" + trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 + + func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 + srcfile=$func_to_tool_file_result + func_quote_for_eval "$srcfile" + qsrcfile=$func_quote_for_eval_result + + # Only build a PIC object if we are building libtool libraries. + if test yes = "$build_libtool_libs"; then + # Without this assignment, base_compile gets emptied. + fbsd_hideous_sh_bug=$base_compile + + if test no != "$pic_mode"; then + command="$base_compile $qsrcfile $pic_flag" + else + # Don't build PIC code + command="$base_compile $qsrcfile" + fi + + func_mkdir_p "$xdir$objdir" + + if test -z "$output_obj"; then + # Place PIC objects in $objdir + func_append command " -o $lobj" + fi + + func_show_eval_locale "$command" \ + 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' + + if test warn = "$need_locks" && + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then + $ECHO "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support '-c' and '-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed, then go on to compile the next one + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then + func_show_eval '$MV "$output_obj" "$lobj"' \ + 'error=$?; $opt_dry_run || $RM $removelist; exit $error' + fi + + # Allow error messages only from the first compilation. + if test yes = "$suppress_opt"; then + suppress_output=' >/dev/null 2>&1' + fi + fi + + # Only build a position-dependent object if we build old libraries. + if test yes = "$build_old_libs"; then + if test yes != "$pic_mode"; then + # Don't build PIC code + command="$base_compile $qsrcfile$pie_flag" + else + command="$base_compile $qsrcfile $pic_flag" + fi + if test yes = "$compiler_c_o"; then + func_append command " -o $obj" + fi + + # Suppress compiler output if we already did a PIC compilation. + func_append command "$suppress_output" + func_show_eval_locale "$command" \ + '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' + + if test warn = "$need_locks" && + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then + $ECHO "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support '-c' and '-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $opt_dry_run || $RM $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then + func_show_eval '$MV "$output_obj" "$obj"' \ + 'error=$?; $opt_dry_run || $RM $removelist; exit $error' + fi + fi + + $opt_dry_run || { + func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" + + # Unlock the critical section if it was locked + if test no != "$need_locks"; then + removelist=$lockfile + $RM "$lockfile" + fi + } + + exit $EXIT_SUCCESS +} + +$opt_help || { + test compile = "$opt_mode" && func_mode_compile ${1+"$@"} +} + +func_mode_help () +{ + # We need to display help for each of the modes. + case $opt_mode in + "") + # Generic help is extracted from the usage comments + # at the start of this file. + func_help + ;; + + clean) + $ECHO \ +"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... + +Remove files from the build directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed +to RM. + +If FILE is a libtool library, object or program, all the files associated +with it are deleted. Otherwise, only FILE itself is deleted using RM." + ;; + + compile) + $ECHO \ +"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE + +Compile a source file into a libtool library object. + +This mode accepts the following additional options: + + -o OUTPUT-FILE set the output file name to OUTPUT-FILE + -no-suppress do not suppress compiler output for multiple passes + -prefer-pic try to build PIC objects only + -prefer-non-pic try to build non-PIC objects only + -shared do not build a '.o' file suitable for static linking + -static only build a '.o' file suitable for static linking + -Wc,FLAG pass FLAG directly to the compiler + +COMPILE-COMMAND is a command to be used in creating a 'standard' object file +from the given SOURCEFILE. + +The output file name is determined by removing the directory component from +SOURCEFILE, then substituting the C source code suffix '.c' with the +library object suffix, '.lo'." + ;; + + execute) + $ECHO \ +"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... + +Automatically set library path, then run a program. + +This mode accepts the following additional options: + + -dlopen FILE add the directory containing FILE to the library path + +This mode sets the library path environment variable according to '-dlopen' +flags. + +If any of the ARGS are libtool executable wrappers, then they are translated +into their corresponding uninstalled binary, and any of their required library +directories are added to the library path. + +Then, COMMAND is executed, with ARGS as arguments." + ;; + + finish) + $ECHO \ +"Usage: $progname [OPTION]... --mode=finish [LIBDIR]... + +Complete the installation of libtool libraries. + +Each LIBDIR is a directory that contains libtool libraries. + +The commands that this mode executes may require superuser privileges. Use +the '--dry-run' option if you just want to see what would be executed." + ;; + + install) + $ECHO \ +"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... + +Install executables or libraries. + +INSTALL-COMMAND is the installation command. The first component should be +either the 'install' or 'cp' program. + +The following components of INSTALL-COMMAND are treated specially: + + -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation + +The rest of the components are interpreted as arguments to that command (only +BSD-compatible install options are recognized)." + ;; + + link) + $ECHO \ +"Usage: $progname [OPTION]... --mode=link LINK-COMMAND... + +Link object files or libraries together to form another library, or to +create an executable program. + +LINK-COMMAND is a command using the C compiler that you would use to create +a program from several object files. + +The following components of LINK-COMMAND are treated specially: + + -all-static do not do any dynamic linking at all + -avoid-version do not add a version suffix if possible + -bindir BINDIR specify path to binaries directory (for systems where + libraries must be found in the PATH setting at runtime) + -dlopen FILE '-dlpreopen' FILE if it cannot be dlopened at runtime + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) + -export-symbols SYMFILE + try to export only the symbols listed in SYMFILE + -export-symbols-regex REGEX + try to export only the symbols matching REGEX + -LLIBDIR search LIBDIR for required installed libraries + -lNAME OUTPUT-FILE requires the installed library libNAME + -module build a library that can dlopened + -no-fast-install disable the fast-install mode + -no-install link a not-installable executable + -no-undefined declare that a library does not refer to external symbols + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects + -objectlist FILE use a list of object files found in FILE to specify objects + -os2dllname NAME force a short DLL name on OS/2 (no effect on other OSes) + -precious-files-regex REGEX + don't remove output files matching REGEX + -release RELEASE specify package release information + -rpath LIBDIR the created library will eventually be installed in LIBDIR + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries + -shared only do dynamic linking of libtool libraries + -shrext SUFFIX override the standard shared library file extension + -static do not do any dynamic linking of uninstalled libtool libraries + -static-libtool-libs + do not do any dynamic linking of libtool libraries + -version-info CURRENT[:REVISION[:AGE]] + specify library version info [each variable defaults to 0] + -weak LIBNAME declare that the target provides the LIBNAME interface + -Wc,FLAG + -Xcompiler FLAG pass linker-specific FLAG directly to the compiler + -Wl,FLAG + -Xlinker FLAG pass linker-specific FLAG directly to the linker + -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) + +All other options (arguments beginning with '-') are ignored. + +Every other argument is treated as a filename. Files ending in '.la' are +treated as uninstalled libtool libraries, other files are standard or library +object files. + +If the OUTPUT-FILE ends in '.la', then a libtool library is created, +only library objects ('.lo' files) may be specified, and '-rpath' is +required, except when creating a convenience library. + +If OUTPUT-FILE ends in '.a' or '.lib', then a standard library is created +using 'ar' and 'ranlib', or on Windows using 'lib'. + +If OUTPUT-FILE ends in '.lo' or '.$objext', then a reloadable object file +is created, otherwise an executable program is created." + ;; + + uninstall) + $ECHO \ +"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... + +Remove libraries from an installation directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed +to RM. + +If FILE is a libtool library, all the files associated with it are deleted. +Otherwise, only FILE itself is deleted using RM." + ;; + + *) + func_fatal_help "invalid operation mode '$opt_mode'" + ;; + esac + + echo + $ECHO "Try '$progname --help' for more information about other modes." +} + +# Now that we've collected a possible --mode arg, show help if necessary +if $opt_help; then + if test : = "$opt_help"; then + func_mode_help + else + { + func_help noexit + for opt_mode in compile link execute install finish uninstall clean; do + func_mode_help + done + } | $SED -n '1p; 2,$s/^Usage:/ or: /p' + { + func_help noexit + for opt_mode in compile link execute install finish uninstall clean; do + echo + func_mode_help + done + } | + $SED '1d + /^When reporting/,/^Report/{ + H + d + } + $x + /information about other modes/d + /more detailed .*MODE/d + s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' + fi + exit $? +fi + + +# func_mode_execute arg... +func_mode_execute () +{ + $debug_cmd + + # The first argument is the command name. + cmd=$nonopt + test -z "$cmd" && \ + func_fatal_help "you must specify a COMMAND" + + # Handle -dlopen flags immediately. + for file in $opt_dlopen; do + test -f "$file" \ + || func_fatal_help "'$file' is not a file" + + dir= + case $file in + *.la) + func_resolve_sysroot "$file" + file=$func_resolve_sysroot_result + + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$file" \ + || func_fatal_help "'$lib' is not a valid libtool archive" + + # Read the libtool library. + dlname= + library_names= + func_source "$file" + + # Skip this library if it cannot be dlopened. + if test -z "$dlname"; then + # Warn if it was a shared library. + test -n "$library_names" && \ + func_warning "'$file' was not linked with '-export-dynamic'" + continue + fi + + func_dirname "$file" "" "." + dir=$func_dirname_result + + if test -f "$dir/$objdir/$dlname"; then + func_append dir "/$objdir" + else + if test ! -f "$dir/$dlname"; then + func_fatal_error "cannot find '$dlname' in '$dir' or '$dir/$objdir'" + fi + fi + ;; + + *.lo) + # Just add the directory containing the .lo file. + func_dirname "$file" "" "." + dir=$func_dirname_result + ;; + + *) + func_warning "'-dlopen' is ignored for non-libtool libraries and objects" + continue + ;; + esac + + # Get the absolute pathname. + absdir=`cd "$dir" && pwd` + test -n "$absdir" && dir=$absdir + + # Now add the directory to shlibpath_var. + if eval "test -z \"\$$shlibpath_var\""; then + eval "$shlibpath_var=\"\$dir\"" + else + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" + fi + done + + # This variable tells wrapper scripts just to set shlibpath_var + # rather than running their programs. + libtool_execute_magic=$magic + + # Check if any of the arguments is a wrapper script. + args= + for file + do + case $file in + -* | *.la | *.lo ) ;; + *) + # Do a test to see if this is really a libtool program. + if func_ltwrapper_script_p "$file"; then + func_source "$file" + # Transform arg to wrapped name. + file=$progdir/$program + elif func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + func_source "$func_ltwrapper_scriptname_result" + # Transform arg to wrapped name. + file=$progdir/$program + fi + ;; + esac + # Quote arguments (to preserve shell metacharacters). + func_append_quoted args "$file" + done + + if $opt_dry_run; then + # Display what would be done. + if test -n "$shlibpath_var"; then + eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" + echo "export $shlibpath_var" + fi + $ECHO "$cmd$args" + exit $EXIT_SUCCESS + else + if test -n "$shlibpath_var"; then + # Export the shlibpath_var. + eval "export $shlibpath_var" + fi + + # Restore saved environment variables + for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES + do + eval "if test \"\${save_$lt_var+set}\" = set; then + $lt_var=\$save_$lt_var; export $lt_var + else + $lt_unset $lt_var + fi" + done + + # Now prepare to actually exec the command. + exec_cmd=\$cmd$args + fi +} + +test execute = "$opt_mode" && func_mode_execute ${1+"$@"} + + +# func_mode_finish arg... +func_mode_finish () +{ + $debug_cmd + + libs= + libdirs= + admincmds= + + for opt in "$nonopt" ${1+"$@"} + do + if test -d "$opt"; then + func_append libdirs " $opt" + + elif test -f "$opt"; then + if func_lalib_unsafe_p "$opt"; then + func_append libs " $opt" + else + func_warning "'$opt' is not a valid libtool archive" + fi + + else + func_fatal_error "invalid argument '$opt'" + fi + done + + if test -n "$libs"; then + if test -n "$lt_sysroot"; then + sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` + sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" + else + sysroot_cmd= + fi + + # Remove sysroot references + if $opt_dry_run; then + for lib in $libs; do + echo "removing references to $lt_sysroot and '=' prefixes from $lib" + done + else + tmpdir=`func_mktempdir` + for lib in $libs; do + $SED -e "$sysroot_cmd s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ + > $tmpdir/tmp-la + mv -f $tmpdir/tmp-la $lib + done + ${RM}r "$tmpdir" + fi + fi + + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + for libdir in $libdirs; do + if test -n "$finish_cmds"; then + # Do each command in the finish commands. + func_execute_cmds "$finish_cmds" 'admincmds="$admincmds +'"$cmd"'"' + fi + if test -n "$finish_eval"; then + # Do the single finish_eval. + eval cmds=\"$finish_eval\" + $opt_dry_run || eval "$cmds" || func_append admincmds " + $cmds" + fi + done + fi + + # Exit here if they wanted silent mode. + $opt_quiet && exit $EXIT_SUCCESS + + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + echo "----------------------------------------------------------------------" + echo "Libraries have been installed in:" + for libdir in $libdirs; do + $ECHO " $libdir" + done + echo + echo "If you ever happen to want to link against installed libraries" + echo "in a given directory, LIBDIR, you must either use libtool, and" + echo "specify the full pathname of the library, or use the '-LLIBDIR'" + echo "flag during linking and do at least one of the following:" + if test -n "$shlibpath_var"; then + echo " - add LIBDIR to the '$shlibpath_var' environment variable" + echo " during execution" + fi + if test -n "$runpath_var"; then + echo " - add LIBDIR to the '$runpath_var' environment variable" + echo " during linking" + fi + if test -n "$hardcode_libdir_flag_spec"; then + libdir=LIBDIR + eval flag=\"$hardcode_libdir_flag_spec\" + + $ECHO " - use the '$flag' linker flag" + fi + if test -n "$admincmds"; then + $ECHO " - have your system administrator run these commands:$admincmds" + fi + if test -f /etc/ld.so.conf; then + echo " - have your system administrator add LIBDIR to '/etc/ld.so.conf'" + fi + echo + + echo "See any operating system documentation about shared libraries for" + case $host in + solaris2.[6789]|solaris2.1[0-9]) + echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" + echo "pages." + ;; + *) + echo "more information, such as the ld(1) and ld.so(8) manual pages." + ;; + esac + echo "----------------------------------------------------------------------" + fi + exit $EXIT_SUCCESS +} + +test finish = "$opt_mode" && func_mode_finish ${1+"$@"} + + +# func_mode_install arg... +func_mode_install () +{ + $debug_cmd + + # There may be an optional sh(1) argument at the beginning of + # install_prog (especially on Windows NT). + if test "$SHELL" = "$nonopt" || test /bin/sh = "$nonopt" || + # Allow the use of GNU shtool's install command. + case $nonopt in *shtool*) :;; *) false;; esac + then + # Aesthetically quote it. + func_quote_for_eval "$nonopt" + install_prog="$func_quote_for_eval_result " + arg=$1 + shift + else + install_prog= + arg=$nonopt + fi + + # The real first argument should be the name of the installation program. + # Aesthetically quote it. + func_quote_for_eval "$arg" + func_append install_prog "$func_quote_for_eval_result" + install_shared_prog=$install_prog + case " $install_prog " in + *[\\\ /]cp\ *) install_cp=: ;; + *) install_cp=false ;; + esac + + # We need to accept at least all the BSD install flags. + dest= + files= + opts= + prev= + install_type= + isdir=false + stripme= + no_mode=: + for arg + do + arg2= + if test -n "$dest"; then + func_append files " $dest" + dest=$arg + continue + fi + + case $arg in + -d) isdir=: ;; + -f) + if $install_cp; then :; else + prev=$arg + fi + ;; + -g | -m | -o) + prev=$arg + ;; + -s) + stripme=" -s" + continue + ;; + -*) + ;; + *) + # If the previous option needed an argument, then skip it. + if test -n "$prev"; then + if test X-m = "X$prev" && test -n "$install_override_mode"; then + arg2=$install_override_mode + no_mode=false + fi + prev= + else + dest=$arg + continue + fi + ;; + esac + + # Aesthetically quote the argument. + func_quote_for_eval "$arg" + func_append install_prog " $func_quote_for_eval_result" + if test -n "$arg2"; then + func_quote_for_eval "$arg2" + fi + func_append install_shared_prog " $func_quote_for_eval_result" + done + + test -z "$install_prog" && \ + func_fatal_help "you must specify an install program" + + test -n "$prev" && \ + func_fatal_help "the '$prev' option requires an argument" + + if test -n "$install_override_mode" && $no_mode; then + if $install_cp; then :; else + func_quote_for_eval "$install_override_mode" + func_append install_shared_prog " -m $func_quote_for_eval_result" + fi + fi + + if test -z "$files"; then + if test -z "$dest"; then + func_fatal_help "no file or destination specified" + else + func_fatal_help "you must specify a destination" + fi + fi + + # Strip any trailing slash from the destination. + func_stripname '' '/' "$dest" + dest=$func_stripname_result + + # Check to see that the destination is a directory. + test -d "$dest" && isdir=: + if $isdir; then + destdir=$dest + destname= + else + func_dirname_and_basename "$dest" "" "." + destdir=$func_dirname_result + destname=$func_basename_result + + # Not a directory, so check to see that there is only one file specified. + set dummy $files; shift + test "$#" -gt 1 && \ + func_fatal_help "'$dest' is not a directory" + fi + case $destdir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + for file in $files; do + case $file in + *.lo) ;; + *) + func_fatal_help "'$destdir' must be an absolute directory name" + ;; + esac + done + ;; + esac + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic=$magic + + staticlibs= + future_libdirs= + current_libdirs= + for file in $files; do + + # Do each installation. + case $file in + *.$libext) + # Do the static libraries later. + func_append staticlibs " $file" + ;; + + *.la) + func_resolve_sysroot "$file" + file=$func_resolve_sysroot_result + + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$file" \ + || func_fatal_help "'$file' is not a valid libtool archive" + + library_names= + old_library= + relink_command= + func_source "$file" + + # Add the libdir to current_libdirs if it is the destination. + if test "X$destdir" = "X$libdir"; then + case "$current_libdirs " in + *" $libdir "*) ;; + *) func_append current_libdirs " $libdir" ;; + esac + else + # Note the libdir as a future libdir. + case "$future_libdirs " in + *" $libdir "*) ;; + *) func_append future_libdirs " $libdir" ;; + esac + fi + + func_dirname "$file" "/" "" + dir=$func_dirname_result + func_append dir "$objdir" + + if test -n "$relink_command"; then + # Determine the prefix the user has applied to our future dir. + inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` + + # Don't allow the user to place us outside of our expected + # location b/c this prevents finding dependent libraries that + # are installed to the same prefix. + # At present, this check doesn't affect windows .dll's that + # are installed into $libdir/../bin (currently, that works fine) + # but it's something to keep an eye on. + test "$inst_prefix_dir" = "$destdir" && \ + func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir" + + if test -n "$inst_prefix_dir"; then + # Stick the inst_prefix_dir data into the link command. + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` + else + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` + fi + + func_warning "relinking '$file'" + func_show_eval "$relink_command" \ + 'func_fatal_error "error: relink '\''$file'\'' with the above command before installing it"' + fi + + # See the names of the shared library. + set dummy $library_names; shift + if test -n "$1"; then + realname=$1 + shift + + srcname=$realname + test -n "$relink_command" && srcname=${realname}T + + # Install the shared library and build the symlinks. + func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ + 'exit $?' + tstripme=$stripme + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + case $realname in + *.dll.a) + tstripme= + ;; + esac + ;; + os2*) + case $realname in + *_dll.a) + tstripme= + ;; + esac + ;; + esac + if test -n "$tstripme" && test -n "$striplib"; then + func_show_eval "$striplib $destdir/$realname" 'exit $?' + fi + + if test "$#" -gt 0; then + # Delete the old symlinks, and create new ones. + # Try 'ln -sf' first, because the 'ln' binary might depend on + # the symlink we replace! Solaris /bin/ln does not understand -f, + # so we also need to try rm && ln -s. + for linkname + do + test "$linkname" != "$realname" \ + && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" + done + fi + + # Do each command in the postinstall commands. + lib=$destdir/$realname + func_execute_cmds "$postinstall_cmds" 'exit $?' + fi + + # Install the pseudo-library for information purposes. + func_basename "$file" + name=$func_basename_result + instname=$dir/${name}i + func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' + + # Maybe install the static library, too. + test -n "$old_library" && func_append staticlibs " $dir/$old_library" + ;; + + *.lo) + # Install (i.e. copy) a libtool object. + + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile=$destdir/$destname + else + func_basename "$file" + destfile=$func_basename_result + destfile=$destdir/$destfile + fi + + # Deduce the name of the destination old-style object file. + case $destfile in + *.lo) + func_lo2o "$destfile" + staticdest=$func_lo2o_result + ;; + *.$objext) + staticdest=$destfile + destfile= + ;; + *) + func_fatal_help "cannot copy a libtool object to '$destfile'" + ;; + esac + + # Install the libtool object if requested. + test -n "$destfile" && \ + func_show_eval "$install_prog $file $destfile" 'exit $?' + + # Install the old object if enabled. + if test yes = "$build_old_libs"; then + # Deduce the name of the old-style object file. + func_lo2o "$file" + staticobj=$func_lo2o_result + func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' + fi + exit $EXIT_SUCCESS + ;; + + *) + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile=$destdir/$destname + else + func_basename "$file" + destfile=$func_basename_result + destfile=$destdir/$destfile + fi + + # If the file is missing, and there is a .exe on the end, strip it + # because it is most likely a libtool script we actually want to + # install + stripped_ext= + case $file in + *.exe) + if test ! -f "$file"; then + func_stripname '' '.exe' "$file" + file=$func_stripname_result + stripped_ext=.exe + fi + ;; + esac + + # Do a test to see if this is really a libtool program. + case $host in + *cygwin* | *mingw*) + if func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + wrapper=$func_ltwrapper_scriptname_result + else + func_stripname '' '.exe' "$file" + wrapper=$func_stripname_result + fi + ;; + *) + wrapper=$file + ;; + esac + if func_ltwrapper_script_p "$wrapper"; then + notinst_deplibs= + relink_command= + + func_source "$wrapper" + + # Check the variables that should have been set. + test -z "$generated_by_libtool_version" && \ + func_fatal_error "invalid libtool wrapper script '$wrapper'" + + finalize=: + for lib in $notinst_deplibs; do + # Check to see that each library is installed. + libdir= + if test -f "$lib"; then + func_source "$lib" + fi + libfile=$libdir/`$ECHO "$lib" | $SED 's%^.*/%%g'` + if test -n "$libdir" && test ! -f "$libfile"; then + func_warning "'$lib' has not been installed in '$libdir'" + finalize=false + fi + done + + relink_command= + func_source "$wrapper" + + outputname= + if test no = "$fast_install" && test -n "$relink_command"; then + $opt_dry_run || { + if $finalize; then + tmpdir=`func_mktempdir` + func_basename "$file$stripped_ext" + file=$func_basename_result + outputname=$tmpdir/$file + # Replace the output file specification. + relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` + + $opt_quiet || { + func_quote_for_expand "$relink_command" + eval "func_echo $func_quote_for_expand_result" + } + if eval "$relink_command"; then : + else + func_error "error: relink '$file' with the above command before installing it" + $opt_dry_run || ${RM}r "$tmpdir" + continue + fi + file=$outputname + else + func_warning "cannot relink '$file'" + fi + } + else + # Install the binary that we compiled earlier. + file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` + fi + fi + + # remove .exe since cygwin /usr/bin/install will append another + # one anyway + case $install_prog,$host in + */usr/bin/install*,*cygwin*) + case $file:$destfile in + *.exe:*.exe) + # this is ok + ;; + *.exe:*) + destfile=$destfile.exe + ;; + *:*.exe) + func_stripname '' '.exe' "$destfile" + destfile=$func_stripname_result + ;; + esac + ;; + esac + func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' + $opt_dry_run || if test -n "$outputname"; then + ${RM}r "$tmpdir" + fi + ;; + esac + done + + for file in $staticlibs; do + func_basename "$file" + name=$func_basename_result + + # Set up the ranlib parameters. + oldlib=$destdir/$name + func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 + tool_oldlib=$func_to_tool_file_result + + func_show_eval "$install_prog \$file \$oldlib" 'exit $?' + + if test -n "$stripme" && test -n "$old_striplib"; then + func_show_eval "$old_striplib $tool_oldlib" 'exit $?' + fi + + # Do each command in the postinstall commands. + func_execute_cmds "$old_postinstall_cmds" 'exit $?' + done + + test -n "$future_libdirs" && \ + func_warning "remember to run '$progname --finish$future_libdirs'" + + if test -n "$current_libdirs"; then + # Maybe just do a dry run. + $opt_dry_run && current_libdirs=" -n$current_libdirs" + exec_cmd='$SHELL "$progpath" $preserve_args --finish$current_libdirs' + else + exit $EXIT_SUCCESS + fi +} + +test install = "$opt_mode" && func_mode_install ${1+"$@"} + + +# func_generate_dlsyms outputname originator pic_p +# Extract symbols from dlprefiles and create ${outputname}S.o with +# a dlpreopen symbol table. +func_generate_dlsyms () +{ + $debug_cmd + + my_outputname=$1 + my_originator=$2 + my_pic_p=${3-false} + my_prefix=`$ECHO "$my_originator" | $SED 's%[^a-zA-Z0-9]%_%g'` + my_dlsyms= + + if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then + if test -n "$NM" && test -n "$global_symbol_pipe"; then + my_dlsyms=${my_outputname}S.c + else + func_error "not configured to extract global symbols from dlpreopened files" + fi + fi + + if test -n "$my_dlsyms"; then + case $my_dlsyms in + "") ;; + *.c) + # Discover the nlist of each of the dlfiles. + nlist=$output_objdir/$my_outputname.nm + + func_show_eval "$RM $nlist ${nlist}S ${nlist}T" + + # Parse the name list into a source file. + func_verbose "creating $output_objdir/$my_dlsyms" + + $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ +/* $my_dlsyms - symbol resolution table for '$my_outputname' dlsym emulation. */ +/* Generated by $PROGRAM (GNU $PACKAGE) $VERSION */ + +#ifdef __cplusplus +extern \"C\" { +#endif + +#if defined __GNUC__ && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) +#pragma GCC diagnostic ignored \"-Wstrict-prototypes\" +#endif + +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE +/* DATA imports from DLLs on WIN32 can't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT_DLSYM_CONST +#elif defined __osf__ +/* This system does not cope well with relocations in const data. */ +# define LT_DLSYM_CONST +#else +# define LT_DLSYM_CONST const +#endif + +#define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0) + +/* External symbol declarations for the compiler. */\ +" + + if test yes = "$dlself"; then + func_verbose "generating symbol list for '$output'" + + $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" + + # Add our own program objects to the symbol list. + progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` + for progfile in $progfiles; do + func_to_tool_file "$progfile" func_convert_file_msys_to_w32 + func_verbose "extracting global C symbols from '$func_to_tool_file_result'" + $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'" + done + + if test -n "$exclude_expsyms"; then + $opt_dry_run || { + eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + } + fi + + if test -n "$export_symbols_regex"; then + $opt_dry_run || { + eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + } + fi + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + export_symbols=$output_objdir/$outputname.exp + $opt_dry_run || { + $RM $export_symbols + eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' + case $host in + *cygwin* | *mingw* | *cegcc* ) + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' + eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' + ;; + esac + } + else + $opt_dry_run || { + eval "$SED -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' + eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' + eval '$MV "$nlist"T "$nlist"' + case $host in + *cygwin* | *mingw* | *cegcc* ) + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' + eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' + ;; + esac + } + fi + fi + + for dlprefile in $dlprefiles; do + func_verbose "extracting global C symbols from '$dlprefile'" + func_basename "$dlprefile" + name=$func_basename_result + case $host in + *cygwin* | *mingw* | *cegcc* ) + # if an import library, we need to obtain dlname + if func_win32_import_lib_p "$dlprefile"; then + func_tr_sh "$dlprefile" + eval "curr_lafile=\$libfile_$func_tr_sh_result" + dlprefile_dlbasename= + if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then + # Use subshell, to avoid clobbering current variable values + dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` + if test -n "$dlprefile_dlname"; then + func_basename "$dlprefile_dlname" + dlprefile_dlbasename=$func_basename_result + else + # no lafile. user explicitly requested -dlpreopen . + $sharedlib_from_linklib_cmd "$dlprefile" + dlprefile_dlbasename=$sharedlib_from_linklib_result + fi + fi + $opt_dry_run || { + if test -n "$dlprefile_dlbasename"; then + eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' + else + func_warning "Could not compute DLL name from $name" + eval '$ECHO ": $name " >> "$nlist"' + fi + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | + $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" + } + else # not an import lib + $opt_dry_run || { + eval '$ECHO ": $name " >> "$nlist"' + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" + } + fi + ;; + *) + $opt_dry_run || { + eval '$ECHO ": $name " >> "$nlist"' + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" + } + ;; + esac + done + + $opt_dry_run || { + # Make sure we have at least an empty file. + test -f "$nlist" || : > "$nlist" + + if test -n "$exclude_expsyms"; then + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T + $MV "$nlist"T "$nlist" + fi + + # Try sorting and uniquifying the output. + if $GREP -v "^: " < "$nlist" | + if sort -k 3 /dev/null 2>&1; then + sort -k 3 + else + sort +2 + fi | + uniq > "$nlist"S; then + : + else + $GREP -v "^: " < "$nlist" > "$nlist"S + fi + + if test -f "$nlist"S; then + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' + else + echo '/* NONE */' >> "$output_objdir/$my_dlsyms" + fi + + func_show_eval '$RM "${nlist}I"' + if test -n "$global_symbol_to_import"; then + eval "$global_symbol_to_import"' < "$nlist"S > "$nlist"I' + fi + + echo >> "$output_objdir/$my_dlsyms" "\ + +/* The mapping between symbol names and symbols. */ +typedef struct { + const char *name; + void *address; +} lt_dlsymlist; +extern LT_DLSYM_CONST lt_dlsymlist +lt_${my_prefix}_LTX_preloaded_symbols[];\ +" + + if test -s "$nlist"I; then + echo >> "$output_objdir/$my_dlsyms" "\ +static void lt_syminit(void) +{ + LT_DLSYM_CONST lt_dlsymlist *symbol = lt_${my_prefix}_LTX_preloaded_symbols; + for (; symbol->name; ++symbol) + {" + $SED 's/.*/ if (STREQ (symbol->name, \"&\")) symbol->address = (void *) \&&;/' < "$nlist"I >> "$output_objdir/$my_dlsyms" + echo >> "$output_objdir/$my_dlsyms" "\ + } +}" + fi + echo >> "$output_objdir/$my_dlsyms" "\ +LT_DLSYM_CONST lt_dlsymlist +lt_${my_prefix}_LTX_preloaded_symbols[] = +{ {\"$my_originator\", (void *) 0}," + + if test -s "$nlist"I; then + echo >> "$output_objdir/$my_dlsyms" "\ + {\"@INIT@\", (void *) <_syminit}," + fi + + case $need_lib_prefix in + no) + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" + ;; + *) + eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" + ;; + esac + echo >> "$output_objdir/$my_dlsyms" "\ + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt_${my_prefix}_LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif\ +" + } # !$opt_dry_run + + pic_flag_for_symtable= + case "$compile_command " in + *" -static "*) ;; + *) + case $host in + # compiling the symbol table file with pic_flag works around + # a FreeBSD bug that causes programs to crash when -lm is + # linked before any other PIC object. But we must not use + # pic_flag when linking with -static. The problem exists in + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. + *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) + pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; + *-*-hpux*) + pic_flag_for_symtable=" $pic_flag" ;; + *) + $my_pic_p && pic_flag_for_symtable=" $pic_flag" + ;; + esac + ;; + esac + symtab_cflags= + for arg in $LTCFLAGS; do + case $arg in + -pie | -fpie | -fPIE) ;; + *) func_append symtab_cflags " $arg" ;; + esac + done + + # Now compile the dynamic symbol file. + func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' + + # Clean up the generated files. + func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T" "${nlist}I"' + + # Transform the symbol file into the correct name. + symfileobj=$output_objdir/${my_outputname}S.$objext + case $host in + *cygwin* | *mingw* | *cegcc* ) + if test -f "$output_objdir/$my_outputname.def"; then + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` + else + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` + fi + ;; + *) + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` + ;; + esac + ;; + *) + func_fatal_error "unknown suffix for '$my_dlsyms'" + ;; + esac + else + # We keep going just in case the user didn't refer to + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe + # really was required. + + # Nullify the symbol file. + compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` + fi +} + +# func_cygming_gnu_implib_p ARG +# This predicate returns with zero status (TRUE) if +# ARG is a GNU/binutils-style import library. Returns +# with nonzero status (FALSE) otherwise. +func_cygming_gnu_implib_p () +{ + $debug_cmd + + func_to_tool_file "$1" func_convert_file_msys_to_w32 + func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'` + test -n "$func_cygming_gnu_implib_tmp" +} + +# func_cygming_ms_implib_p ARG +# This predicate returns with zero status (TRUE) if +# ARG is an MS-style import library. Returns +# with nonzero status (FALSE) otherwise. +func_cygming_ms_implib_p () +{ + $debug_cmd + + func_to_tool_file "$1" func_convert_file_msys_to_w32 + func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'` + test -n "$func_cygming_ms_implib_tmp" +} + +# func_win32_libid arg +# return the library type of file 'arg' +# +# Need a lot of goo to handle *both* DLLs and import libs +# Has to be a shell function in order to 'eat' the argument +# that is supplied when $file_magic_command is called. +# Despite the name, also deal with 64 bit binaries. +func_win32_libid () +{ + $debug_cmd + + win32_libid_type=unknown + win32_fileres=`file -L $1 2>/dev/null` + case $win32_fileres in + *ar\ archive\ import\ library*) # definitely import + win32_libid_type="x86 archive import" + ;; + *ar\ archive*) # could be an import, or static + # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | + $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then + case $nm_interface in + "MS dumpbin") + if func_cygming_ms_implib_p "$1" || + func_cygming_gnu_implib_p "$1" + then + win32_nmres=import + else + win32_nmres= + fi + ;; + *) + func_to_tool_file "$1" func_convert_file_msys_to_w32 + win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" | + $SED -n -e ' + 1,100{ + / I /{ + s|.*|import| + p + q + } + }'` + ;; + esac + case $win32_nmres in + import*) win32_libid_type="x86 archive import";; + *) win32_libid_type="x86 archive static";; + esac + fi + ;; + *DLL*) + win32_libid_type="x86 DLL" + ;; + *executable*) # but shell scripts are "executable" too... + case $win32_fileres in + *MS\ Windows\ PE\ Intel*) + win32_libid_type="x86 DLL" + ;; + esac + ;; + esac + $ECHO "$win32_libid_type" +} + +# func_cygming_dll_for_implib ARG +# +# Platform-specific function to extract the +# name of the DLL associated with the specified +# import library ARG. +# Invoked by eval'ing the libtool variable +# $sharedlib_from_linklib_cmd +# Result is available in the variable +# $sharedlib_from_linklib_result +func_cygming_dll_for_implib () +{ + $debug_cmd + + sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"` +} + +# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs +# +# The is the core of a fallback implementation of a +# platform-specific function to extract the name of the +# DLL associated with the specified import library LIBNAME. +# +# SECTION_NAME is either .idata$6 or .idata$7, depending +# on the platform and compiler that created the implib. +# +# Echos the name of the DLL associated with the +# specified import library. +func_cygming_dll_for_implib_fallback_core () +{ + $debug_cmd + + match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"` + $OBJDUMP -s --section "$1" "$2" 2>/dev/null | + $SED '/^Contents of section '"$match_literal"':/{ + # Place marker at beginning of archive member dllname section + s/.*/====MARK====/ + p + d + } + # These lines can sometimes be longer than 43 characters, but + # are always uninteresting + /:[ ]*file format pe[i]\{,1\}-/d + /^In archive [^:]*:/d + # Ensure marker is printed + /^====MARK====/p + # Remove all lines with less than 43 characters + /^.\{43\}/!d + # From remaining lines, remove first 43 characters + s/^.\{43\}//' | + $SED -n ' + # Join marker and all lines until next marker into a single line + /^====MARK====/ b para + H + $ b para + b + :para + x + s/\n//g + # Remove the marker + s/^====MARK====// + # Remove trailing dots and whitespace + s/[\. \t]*$// + # Print + /./p' | + # we now have a list, one entry per line, of the stringified + # contents of the appropriate section of all members of the + # archive that possess that section. Heuristic: eliminate + # all those that have a first or second character that is + # a '.' (that is, objdump's representation of an unprintable + # character.) This should work for all archives with less than + # 0x302f exports -- but will fail for DLLs whose name actually + # begins with a literal '.' or a single character followed by + # a '.'. + # + # Of those that remain, print the first one. + $SED -e '/^\./d;/^.\./d;q' +} + +# func_cygming_dll_for_implib_fallback ARG +# Platform-specific function to extract the +# name of the DLL associated with the specified +# import library ARG. +# +# This fallback implementation is for use when $DLLTOOL +# does not support the --identify-strict option. +# Invoked by eval'ing the libtool variable +# $sharedlib_from_linklib_cmd +# Result is available in the variable +# $sharedlib_from_linklib_result +func_cygming_dll_for_implib_fallback () +{ + $debug_cmd + + if func_cygming_gnu_implib_p "$1"; then + # binutils import library + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"` + elif func_cygming_ms_implib_p "$1"; then + # ms-generated import library + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"` + else + # unknown + sharedlib_from_linklib_result= + fi +} + + +# func_extract_an_archive dir oldlib +func_extract_an_archive () +{ + $debug_cmd + + f_ex_an_ar_dir=$1; shift + f_ex_an_ar_oldlib=$1 + if test yes = "$lock_old_archive_extraction"; then + lockfile=$f_ex_an_ar_oldlib.lock + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do + func_echo "Waiting for $lockfile to be removed" + sleep 2 + done + fi + func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ + 'stat=$?; rm -f "$lockfile"; exit $stat' + if test yes = "$lock_old_archive_extraction"; then + $opt_dry_run || rm -f "$lockfile" + fi + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then + : + else + func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" + fi +} + + +# func_extract_archives gentop oldlib ... +func_extract_archives () +{ + $debug_cmd + + my_gentop=$1; shift + my_oldlibs=${1+"$@"} + my_oldobjs= + my_xlib= + my_xabs= + my_xdir= + + for my_xlib in $my_oldlibs; do + # Extract the objects. + case $my_xlib in + [\\/]* | [A-Za-z]:[\\/]*) my_xabs=$my_xlib ;; + *) my_xabs=`pwd`"/$my_xlib" ;; + esac + func_basename "$my_xlib" + my_xlib=$func_basename_result + my_xlib_u=$my_xlib + while :; do + case " $extracted_archives " in + *" $my_xlib_u "*) + func_arith $extracted_serial + 1 + extracted_serial=$func_arith_result + my_xlib_u=lt$extracted_serial-$my_xlib ;; + *) break ;; + esac + done + extracted_archives="$extracted_archives $my_xlib_u" + my_xdir=$my_gentop/$my_xlib_u + + func_mkdir_p "$my_xdir" + + case $host in + *-darwin*) + func_verbose "Extracting $my_xabs" + # Do not bother doing anything if just a dry run + $opt_dry_run || { + darwin_orig_dir=`pwd` + cd $my_xdir || exit $? + darwin_archive=$my_xabs + darwin_curdir=`pwd` + func_basename "$darwin_archive" + darwin_base_archive=$func_basename_result + darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` + if test -n "$darwin_arches"; then + darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` + darwin_arch= + func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" + for darwin_arch in $darwin_arches; do + func_mkdir_p "unfat-$$/$darwin_base_archive-$darwin_arch" + $LIPO -thin $darwin_arch -output "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" "$darwin_archive" + cd "unfat-$$/$darwin_base_archive-$darwin_arch" + func_extract_an_archive "`pwd`" "$darwin_base_archive" + cd "$darwin_curdir" + $RM "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" + done # $darwin_arches + ## Okay now we've a bunch of thin objects, gotta fatten them up :) + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$sed_basename" | sort -u` + darwin_file= + darwin_files= + for darwin_file in $darwin_filelist; do + darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` + $LIPO -create -output "$darwin_file" $darwin_files + done # $darwin_filelist + $RM -rf unfat-$$ + cd "$darwin_orig_dir" + else + cd $darwin_orig_dir + func_extract_an_archive "$my_xdir" "$my_xabs" + fi # $darwin_arches + } # !$opt_dry_run + ;; + *) + func_extract_an_archive "$my_xdir" "$my_xabs" + ;; + esac + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` + done + + func_extract_archives_result=$my_oldobjs +} + + +# func_emit_wrapper [arg=no] +# +# Emit a libtool wrapper script on stdout. +# Don't directly open a file because we may want to +# incorporate the script contents within a cygwin/mingw +# wrapper executable. Must ONLY be called from within +# func_mode_link because it depends on a number of variables +# set therein. +# +# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR +# variable will take. If 'yes', then the emitted script +# will assume that the directory where it is stored is +# the $objdir directory. This is a cygwin/mingw-specific +# behavior. +func_emit_wrapper () +{ + func_emit_wrapper_arg1=${1-no} + + $ECHO "\ +#! $SHELL + +# $output - temporary wrapper script for $objdir/$outputname +# Generated by $PROGRAM (GNU $PACKAGE) $VERSION +# +# The $output program cannot be directly executed until all the libtool +# libraries that it depends on are installed. +# +# This wrapper script should never be moved out of the build directory. +# If it is, it will not operate correctly. + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +sed_quote_subst='$sed_quote_subst' + +# Be Bourne compatible +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +relink_command=\"$relink_command\" + +# This environment variable determines our operation mode. +if test \"\$libtool_install_magic\" = \"$magic\"; then + # install mode needs the following variables: + generated_by_libtool_version='$macro_version' + notinst_deplibs='$notinst_deplibs' +else + # When we are sourced in execute mode, \$file and \$ECHO are already set. + if test \"\$libtool_execute_magic\" != \"$magic\"; then + file=\"\$0\"" + + qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` + $ECHO "\ + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$1 +_LTECHO_EOF' +} + ECHO=\"$qECHO\" + fi + +# Very basic option parsing. These options are (a) specific to +# the libtool wrapper, (b) are identical between the wrapper +# /script/ and the wrapper /executable/ that is used only on +# windows platforms, and (c) all begin with the string "--lt-" +# (application programs are unlikely to have options that match +# this pattern). +# +# There are only two supported options: --lt-debug and +# --lt-dump-script. There is, deliberately, no --lt-help. +# +# The first argument to this parsing function should be the +# script's $0 value, followed by "$@". +lt_option_debug= +func_parse_lt_options () +{ + lt_script_arg0=\$0 + shift + for lt_opt + do + case \"\$lt_opt\" in + --lt-debug) lt_option_debug=1 ;; + --lt-dump-script) + lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\` + test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=. + lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\` + cat \"\$lt_dump_D/\$lt_dump_F\" + exit 0 + ;; + --lt-*) + \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2 + exit 1 + ;; + esac + done + + # Print the debug banner immediately: + if test -n \"\$lt_option_debug\"; then + echo \"$outputname:$output:\$LINENO: libtool wrapper (GNU $PACKAGE) $VERSION\" 1>&2 + fi +} + +# Used when --lt-debug. Prints its arguments to stdout +# (redirection is the responsibility of the caller) +func_lt_dump_args () +{ + lt_dump_args_N=1; + for lt_arg + do + \$ECHO \"$outputname:$output:\$LINENO: newargv[\$lt_dump_args_N]: \$lt_arg\" + lt_dump_args_N=\`expr \$lt_dump_args_N + 1\` + done +} + +# Core function for launching the target application +func_exec_program_core () +{ +" + case $host in + # Backslashes separate directories on plain windows + *-*-mingw | *-*-os2* | *-cegcc*) + $ECHO "\ + if test -n \"\$lt_option_debug\"; then + \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir\\\\\$program\" 1>&2 + func_lt_dump_args \${1+\"\$@\"} 1>&2 + fi + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} +" + ;; + + *) + $ECHO "\ + if test -n \"\$lt_option_debug\"; then + \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir/\$program\" 1>&2 + func_lt_dump_args \${1+\"\$@\"} 1>&2 + fi + exec \"\$progdir/\$program\" \${1+\"\$@\"} +" + ;; + esac + $ECHO "\ + \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 + exit 1 +} + +# A function to encapsulate launching the target application +# Strips options in the --lt-* namespace from \$@ and +# launches target application with the remaining arguments. +func_exec_program () +{ + case \" \$* \" in + *\\ --lt-*) + for lt_wr_arg + do + case \$lt_wr_arg in + --lt-*) ;; + *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; + esac + shift + done ;; + esac + func_exec_program_core \${1+\"\$@\"} +} + + # Parse options + func_parse_lt_options \"\$0\" \${1+\"\$@\"} + + # Find the directory that this script lives in. + thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` + test \"x\$thisdir\" = \"x\$file\" && thisdir=. + + # Follow symbolic links until we get to the real thisdir. + file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` + while test -n \"\$file\"; do + destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` + + # If there was a directory component, then change thisdir. + if test \"x\$destdir\" != \"x\$file\"; then + case \"\$destdir\" in + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; + *) thisdir=\"\$thisdir/\$destdir\" ;; + esac + fi + + file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\` + file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` + done + + # Usually 'no', except on cygwin/mingw when embedded into + # the cwrapper. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 + if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then + # special case for '.' + if test \"\$thisdir\" = \".\"; then + thisdir=\`pwd\` + fi + # remove .libs from thisdir + case \"\$thisdir\" in + *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; + $objdir ) thisdir=. ;; + esac + fi + + # Try to get the absolute directory name. + absdir=\`cd \"\$thisdir\" && pwd\` + test -n \"\$absdir\" && thisdir=\"\$absdir\" +" + + if test yes = "$fast_install"; then + $ECHO "\ + program=lt-'$outputname'$exeext + progdir=\"\$thisdir/$objdir\" + + if test ! -f \"\$progdir/\$program\" || + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | $SED 1q\`; \\ + test \"X\$file\" != \"X\$progdir/\$program\"; }; then + + file=\"\$\$-\$program\" + + if test ! -d \"\$progdir\"; then + $MKDIR \"\$progdir\" + else + $RM \"\$progdir/\$file\" + fi" + + $ECHO "\ + + # relink executable if necessary + if test -n \"\$relink_command\"; then + if relink_command_output=\`eval \$relink_command 2>&1\`; then : + else + \$ECHO \"\$relink_command_output\" >&2 + $RM \"\$progdir/\$file\" + exit 1 + fi + fi + + $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || + { $RM \"\$progdir/\$program\"; + $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } + $RM \"\$progdir/\$file\" + fi" + else + $ECHO "\ + program='$outputname' + progdir=\"\$thisdir/$objdir\" +" + fi + + $ECHO "\ + + if test -f \"\$progdir/\$program\"; then" + + # fixup the dll searchpath if we need to. + # + # Fix the DLL searchpath if we need to. Do this before prepending + # to shlibpath, because on Windows, both are PATH and uninstalled + # libraries must come first. + if test -n "$dllsearchpath"; then + $ECHO "\ + # Add the dll search path components to the executable PATH + PATH=$dllsearchpath:\$PATH +" + fi + + # Export our shlibpath_var if we have one. + if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then + $ECHO "\ + # Add our own library path to $shlibpath_var + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" + + # Some systems cannot cope with colon-terminated $shlibpath_var + # The second colon is a workaround for a bug in BeOS R4 sed + $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\` + + export $shlibpath_var +" + fi + + $ECHO "\ + if test \"\$libtool_execute_magic\" != \"$magic\"; then + # Run the actual program with our arguments. + func_exec_program \${1+\"\$@\"} + fi + else + # The program doesn't exist. + \$ECHO \"\$0: error: '\$progdir/\$program' does not exist\" 1>&2 + \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 + \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 + exit 1 + fi +fi\ +" +} + + +# func_emit_cwrapperexe_src +# emit the source code for a wrapper executable on stdout +# Must ONLY be called from within func_mode_link because +# it depends on a number of variable set therein. +func_emit_cwrapperexe_src () +{ + cat < +#include +#ifdef _MSC_VER +# include +# include +# include +#else +# include +# include +# ifdef __CYGWIN__ +# include +# endif +#endif +#include +#include +#include +#include +#include +#include +#include +#include + +#define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0) + +/* declarations of non-ANSI functions */ +#if defined __MINGW32__ +# ifdef __STRICT_ANSI__ +int _putenv (const char *); +# endif +#elif defined __CYGWIN__ +# ifdef __STRICT_ANSI__ +char *realpath (const char *, char *); +int putenv (char *); +int setenv (const char *, const char *, int); +# endif +/* #elif defined other_platform || defined ... */ +#endif + +/* portability defines, excluding path handling macros */ +#if defined _MSC_VER +# define setmode _setmode +# define stat _stat +# define chmod _chmod +# define getcwd _getcwd +# define putenv _putenv +# define S_IXUSR _S_IEXEC +#elif defined __MINGW32__ +# define setmode _setmode +# define stat _stat +# define chmod _chmod +# define getcwd _getcwd +# define putenv _putenv +#elif defined __CYGWIN__ +# define HAVE_SETENV +# define FOPEN_WB "wb" +/* #elif defined other platforms ... */ +#endif + +#if defined PATH_MAX +# define LT_PATHMAX PATH_MAX +#elif defined MAXPATHLEN +# define LT_PATHMAX MAXPATHLEN +#else +# define LT_PATHMAX 1024 +#endif + +#ifndef S_IXOTH +# define S_IXOTH 0 +#endif +#ifndef S_IXGRP +# define S_IXGRP 0 +#endif + +/* path handling portability macros */ +#ifndef DIR_SEPARATOR +# define DIR_SEPARATOR '/' +# define PATH_SEPARATOR ':' +#endif + +#if defined _WIN32 || defined __MSDOS__ || defined __DJGPP__ || \ + defined __OS2__ +# define HAVE_DOS_BASED_FILE_SYSTEM +# define FOPEN_WB "wb" +# ifndef DIR_SEPARATOR_2 +# define DIR_SEPARATOR_2 '\\' +# endif +# ifndef PATH_SEPARATOR_2 +# define PATH_SEPARATOR_2 ';' +# endif +#endif + +#ifndef DIR_SEPARATOR_2 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) +#else /* DIR_SEPARATOR_2 */ +# define IS_DIR_SEPARATOR(ch) \ + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) +#endif /* DIR_SEPARATOR_2 */ + +#ifndef PATH_SEPARATOR_2 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) +#else /* PATH_SEPARATOR_2 */ +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) +#endif /* PATH_SEPARATOR_2 */ + +#ifndef FOPEN_WB +# define FOPEN_WB "w" +#endif +#ifndef _O_BINARY +# define _O_BINARY 0 +#endif + +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) +#define XFREE(stale) do { \ + if (stale) { free (stale); stale = 0; } \ +} while (0) + +#if defined LT_DEBUGWRAPPER +static int lt_debug = 1; +#else +static int lt_debug = 0; +#endif + +const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ + +void *xmalloc (size_t num); +char *xstrdup (const char *string); +const char *base_name (const char *name); +char *find_executable (const char *wrapper); +char *chase_symlinks (const char *pathspec); +int make_executable (const char *path); +int check_executable (const char *path); +char *strendzap (char *str, const char *pat); +void lt_debugprintf (const char *file, int line, const char *fmt, ...); +void lt_fatal (const char *file, int line, const char *message, ...); +static const char *nonnull (const char *s); +static const char *nonempty (const char *s); +void lt_setenv (const char *name, const char *value); +char *lt_extend_str (const char *orig_value, const char *add, int to_end); +void lt_update_exe_path (const char *name, const char *value); +void lt_update_lib_path (const char *name, const char *value); +char **prepare_spawn (char **argv); +void lt_dump_script (FILE *f); +EOF + + cat <= 0) + && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) + return 1; + else + return 0; +} + +int +make_executable (const char *path) +{ + int rval = 0; + struct stat st; + + lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", + nonempty (path)); + if ((!path) || (!*path)) + return 0; + + if (stat (path, &st) >= 0) + { + rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); + } + return rval; +} + +/* Searches for the full path of the wrapper. Returns + newly allocated full path name if found, NULL otherwise + Does not chase symlinks, even on platforms that support them. +*/ +char * +find_executable (const char *wrapper) +{ + int has_slash = 0; + const char *p; + const char *p_next; + /* static buffer for getcwd */ + char tmp[LT_PATHMAX + 1]; + size_t tmp_len; + char *concat_name; + + lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", + nonempty (wrapper)); + + if ((wrapper == NULL) || (*wrapper == '\0')) + return NULL; + + /* Absolute path? */ +#if defined HAVE_DOS_BASED_FILE_SYSTEM + if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') + { + concat_name = xstrdup (wrapper); + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } + else + { +#endif + if (IS_DIR_SEPARATOR (wrapper[0])) + { + concat_name = xstrdup (wrapper); + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } +#if defined HAVE_DOS_BASED_FILE_SYSTEM + } +#endif + + for (p = wrapper; *p; p++) + if (*p == '/') + { + has_slash = 1; + break; + } + if (!has_slash) + { + /* no slashes; search PATH */ + const char *path = getenv ("PATH"); + if (path != NULL) + { + for (p = path; *p; p = p_next) + { + const char *q; + size_t p_len; + for (q = p; *q; q++) + if (IS_PATH_SEPARATOR (*q)) + break; + p_len = (size_t) (q - p); + p_next = (*q == '\0' ? q : q + 1); + if (p_len == 0) + { + /* empty path: current directory */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", + nonnull (strerror (errno))); + tmp_len = strlen (tmp); + concat_name = + XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, tmp, tmp_len); + concat_name[tmp_len] = '/'; + strcpy (concat_name + tmp_len + 1, wrapper); + } + else + { + concat_name = + XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, p, p_len); + concat_name[p_len] = '/'; + strcpy (concat_name + p_len + 1, wrapper); + } + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + } + } + /* not found in PATH; assume curdir */ + } + /* Relative path | not found in path: prepend cwd */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", + nonnull (strerror (errno))); + tmp_len = strlen (tmp); + concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); + memcpy (concat_name, tmp, tmp_len); + concat_name[tmp_len] = '/'; + strcpy (concat_name + tmp_len + 1, wrapper); + + if (check_executable (concat_name)) + return concat_name; + XFREE (concat_name); + return NULL; +} + +char * +chase_symlinks (const char *pathspec) +{ +#ifndef S_ISLNK + return xstrdup (pathspec); +#else + char buf[LT_PATHMAX]; + struct stat s; + char *tmp_pathspec = xstrdup (pathspec); + char *p; + int has_symlinks = 0; + while (strlen (tmp_pathspec) && !has_symlinks) + { + lt_debugprintf (__FILE__, __LINE__, + "checking path component for symlinks: %s\n", + tmp_pathspec); + if (lstat (tmp_pathspec, &s) == 0) + { + if (S_ISLNK (s.st_mode) != 0) + { + has_symlinks = 1; + break; + } + + /* search backwards for last DIR_SEPARATOR */ + p = tmp_pathspec + strlen (tmp_pathspec) - 1; + while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) + p--; + if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) + { + /* no more DIR_SEPARATORS left */ + break; + } + *p = '\0'; + } + else + { + lt_fatal (__FILE__, __LINE__, + "error accessing file \"%s\": %s", + tmp_pathspec, nonnull (strerror (errno))); + } + } + XFREE (tmp_pathspec); + + if (!has_symlinks) + { + return xstrdup (pathspec); + } + + tmp_pathspec = realpath (pathspec, buf); + if (tmp_pathspec == 0) + { + lt_fatal (__FILE__, __LINE__, + "could not follow symlinks for %s", pathspec); + } + return xstrdup (tmp_pathspec); +#endif +} + +char * +strendzap (char *str, const char *pat) +{ + size_t len, patlen; + + assert (str != NULL); + assert (pat != NULL); + + len = strlen (str); + patlen = strlen (pat); + + if (patlen <= len) + { + str += len - patlen; + if (STREQ (str, pat)) + *str = '\0'; + } + return str; +} + +void +lt_debugprintf (const char *file, int line, const char *fmt, ...) +{ + va_list args; + if (lt_debug) + { + (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line); + va_start (args, fmt); + (void) vfprintf (stderr, fmt, args); + va_end (args); + } +} + +static void +lt_error_core (int exit_status, const char *file, + int line, const char *mode, + const char *message, va_list ap) +{ + fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); + vfprintf (stderr, message, ap); + fprintf (stderr, ".\n"); + + if (exit_status >= 0) + exit (exit_status); +} + +void +lt_fatal (const char *file, int line, const char *message, ...) +{ + va_list ap; + va_start (ap, message); + lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); + va_end (ap); +} + +static const char * +nonnull (const char *s) +{ + return s ? s : "(null)"; +} + +static const char * +nonempty (const char *s) +{ + return (s && !*s) ? "(empty)" : nonnull (s); +} + +void +lt_setenv (const char *name, const char *value) +{ + lt_debugprintf (__FILE__, __LINE__, + "(lt_setenv) setting '%s' to '%s'\n", + nonnull (name), nonnull (value)); + { +#ifdef HAVE_SETENV + /* always make a copy, for consistency with !HAVE_SETENV */ + char *str = xstrdup (value); + setenv (name, str, 1); +#else + size_t len = strlen (name) + 1 + strlen (value) + 1; + char *str = XMALLOC (char, len); + sprintf (str, "%s=%s", name, value); + if (putenv (str) != EXIT_SUCCESS) + { + XFREE (str); + } +#endif + } +} + +char * +lt_extend_str (const char *orig_value, const char *add, int to_end) +{ + char *new_value; + if (orig_value && *orig_value) + { + size_t orig_value_len = strlen (orig_value); + size_t add_len = strlen (add); + new_value = XMALLOC (char, add_len + orig_value_len + 1); + if (to_end) + { + strcpy (new_value, orig_value); + strcpy (new_value + orig_value_len, add); + } + else + { + strcpy (new_value, add); + strcpy (new_value + add_len, orig_value); + } + } + else + { + new_value = xstrdup (add); + } + return new_value; +} + +void +lt_update_exe_path (const char *name, const char *value) +{ + lt_debugprintf (__FILE__, __LINE__, + "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", + nonnull (name), nonnull (value)); + + if (name && *name && value && *value) + { + char *new_value = lt_extend_str (getenv (name), value, 0); + /* some systems can't cope with a ':'-terminated path #' */ + size_t len = strlen (new_value); + while ((len > 0) && IS_PATH_SEPARATOR (new_value[len-1])) + { + new_value[--len] = '\0'; + } + lt_setenv (name, new_value); + XFREE (new_value); + } +} + +void +lt_update_lib_path (const char *name, const char *value) +{ + lt_debugprintf (__FILE__, __LINE__, + "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", + nonnull (name), nonnull (value)); + + if (name && *name && value && *value) + { + char *new_value = lt_extend_str (getenv (name), value, 0); + lt_setenv (name, new_value); + XFREE (new_value); + } +} + +EOF + case $host_os in + mingw*) + cat <<"EOF" + +/* Prepares an argument vector before calling spawn(). + Note that spawn() does not by itself call the command interpreter + (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : + ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); + GetVersionEx(&v); + v.dwPlatformId == VER_PLATFORM_WIN32_NT; + }) ? "cmd.exe" : "command.com"). + Instead it simply concatenates the arguments, separated by ' ', and calls + CreateProcess(). We must quote the arguments since Win32 CreateProcess() + interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a + special way: + - Space and tab are interpreted as delimiters. They are not treated as + delimiters if they are surrounded by double quotes: "...". + - Unescaped double quotes are removed from the input. Their only effect is + that within double quotes, space and tab are treated like normal + characters. + - Backslashes not followed by double quotes are not special. + - But 2*n+1 backslashes followed by a double quote become + n backslashes followed by a double quote (n >= 0): + \" -> " + \\\" -> \" + \\\\\" -> \\" + */ +#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" +#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" +char ** +prepare_spawn (char **argv) +{ + size_t argc; + char **new_argv; + size_t i; + + /* Count number of arguments. */ + for (argc = 0; argv[argc] != NULL; argc++) + ; + + /* Allocate new argument vector. */ + new_argv = XMALLOC (char *, argc + 1); + + /* Put quoted arguments into the new argument vector. */ + for (i = 0; i < argc; i++) + { + const char *string = argv[i]; + + if (string[0] == '\0') + new_argv[i] = xstrdup ("\"\""); + else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) + { + int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); + size_t length; + unsigned int backslashes; + const char *s; + char *quoted_string; + char *p; + + length = 0; + backslashes = 0; + if (quote_around) + length++; + for (s = string; *s != '\0'; s++) + { + char c = *s; + if (c == '"') + length += backslashes + 1; + length++; + if (c == '\\') + backslashes++; + else + backslashes = 0; + } + if (quote_around) + length += backslashes + 1; + + quoted_string = XMALLOC (char, length + 1); + + p = quoted_string; + backslashes = 0; + if (quote_around) + *p++ = '"'; + for (s = string; *s != '\0'; s++) + { + char c = *s; + if (c == '"') + { + unsigned int j; + for (j = backslashes + 1; j > 0; j--) + *p++ = '\\'; + } + *p++ = c; + if (c == '\\') + backslashes++; + else + backslashes = 0; + } + if (quote_around) + { + unsigned int j; + for (j = backslashes; j > 0; j--) + *p++ = '\\'; + *p++ = '"'; + } + *p = '\0'; + + new_argv[i] = quoted_string; + } + else + new_argv[i] = (char *) string; + } + new_argv[argc] = NULL; + + return new_argv; +} +EOF + ;; + esac + + cat <<"EOF" +void lt_dump_script (FILE* f) +{ +EOF + func_emit_wrapper yes | + $SED -n -e ' +s/^\(.\{79\}\)\(..*\)/\1\ +\2/ +h +s/\([\\"]\)/\\\1/g +s/$/\\n/ +s/\([^\n]*\).*/ fputs ("\1", f);/p +g +D' + cat <<"EOF" +} +EOF +} +# end: func_emit_cwrapperexe_src + +# func_win32_import_lib_p ARG +# True if ARG is an import lib, as indicated by $file_magic_cmd +func_win32_import_lib_p () +{ + $debug_cmd + + case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in + *import*) : ;; + *) false ;; + esac +} + +# func_suncc_cstd_abi +# !!ONLY CALL THIS FOR SUN CC AFTER $compile_command IS FULLY EXPANDED!! +# Several compiler flags select an ABI that is incompatible with the +# Cstd library. Avoid specifying it if any are in CXXFLAGS. +func_suncc_cstd_abi () +{ + $debug_cmd + + case " $compile_command " in + *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*) + suncc_use_cstd_abi=no + ;; + *) + suncc_use_cstd_abi=yes + ;; + esac +} + +# func_mode_link arg... +func_mode_link () +{ + $debug_cmd + + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + # It is impossible to link a dll without this setting, and + # we shouldn't force the makefile maintainer to figure out + # what system we are compiling for in order to pass an extra + # flag for every libtool invocation. + # allow_undefined=no + + # FIXME: Unfortunately, there are problems with the above when trying + # to make a dll that has undefined symbols, in which case not + # even a static library is built. For now, we need to specify + # -no-undefined on the libtool link line when we can be certain + # that all symbols are satisfied, otherwise we get a static library. + allow_undefined=yes + ;; + *) + allow_undefined=yes + ;; + esac + libtool_args=$nonopt + base_compile="$nonopt $@" + compile_command=$nonopt + finalize_command=$nonopt + + compile_rpath= + finalize_rpath= + compile_shlibpath= + finalize_shlibpath= + convenience= + old_convenience= + deplibs= + old_deplibs= + compiler_flags= + linker_flags= + dllsearchpath= + lib_search_path=`pwd` + inst_prefix_dir= + new_inherited_linker_flags= + + avoid_version=no + bindir= + dlfiles= + dlprefiles= + dlself=no + export_dynamic=no + export_symbols= + export_symbols_regex= + generated= + libobjs= + ltlibs= + module=no + no_install=no + objs= + os2dllname= + non_pic_objects= + precious_files_regex= + prefer_static_libs=no + preload=false + prev= + prevarg= + release= + rpath= + xrpath= + perm_rpath= + temp_rpath= + thread_safe=no + vinfo= + vinfo_number=no + weak_libs= + single_module=$wl-single_module + func_infer_tag $base_compile + + # We need to know -static, to get the right output filenames. + for arg + do + case $arg in + -shared) + test yes != "$build_libtool_libs" \ + && func_fatal_configuration "cannot build a shared library" + build_old_libs=no + break + ;; + -all-static | -static | -static-libtool-libs) + case $arg in + -all-static) + if test yes = "$build_libtool_libs" && test -z "$link_static_flag"; then + func_warning "complete static linking is impossible in this configuration" + fi + if test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + ;; + -static) + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=built + ;; + -static-libtool-libs) + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + ;; + esac + build_libtool_libs=no + build_old_libs=yes + break + ;; + esac + done + + # See if our shared archives depend on static archives. + test -n "$old_archive_from_new_cmds" && build_old_libs=yes + + # Go through the arguments, transforming them on the way. + while test "$#" -gt 0; do + arg=$1 + shift + func_quote_for_eval "$arg" + qarg=$func_quote_for_eval_unquoted_result + func_append libtool_args " $func_quote_for_eval_result" + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + output) + func_append compile_command " @OUTPUT@" + func_append finalize_command " @OUTPUT@" + ;; + esac + + case $prev in + bindir) + bindir=$arg + prev= + continue + ;; + dlfiles|dlprefiles) + $preload || { + # Add the symbol object into the linking commands. + func_append compile_command " @SYMFILE@" + func_append finalize_command " @SYMFILE@" + preload=: + } + case $arg in + *.la | *.lo) ;; # We handle these cases below. + force) + if test no = "$dlself"; then + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + self) + if test dlprefiles = "$prev"; then + dlself=yes + elif test dlfiles = "$prev" && test yes != "$dlopen_self"; then + dlself=yes + else + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + *) + if test dlfiles = "$prev"; then + func_append dlfiles " $arg" + else + func_append dlprefiles " $arg" + fi + prev= + continue + ;; + esac + ;; + expsyms) + export_symbols=$arg + test -f "$arg" \ + || func_fatal_error "symbol file '$arg' does not exist" + prev= + continue + ;; + expsyms_regex) + export_symbols_regex=$arg + prev= + continue + ;; + framework) + case $host in + *-*-darwin*) + case "$deplibs " in + *" $qarg.ltframework "*) ;; + *) func_append deplibs " $qarg.ltframework" # this is fixed later + ;; + esac + ;; + esac + prev= + continue + ;; + inst_prefix) + inst_prefix_dir=$arg + prev= + continue + ;; + mllvm) + # Clang does not use LLVM to link, so we can simply discard any + # '-mllvm $arg' options when doing the link step. + prev= + continue + ;; + objectlist) + if test -f "$arg"; then + save_arg=$arg + moreargs= + for fil in `cat "$save_arg"` + do +# func_append moreargs " $fil" + arg=$fil + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if func_lalib_unsafe_p "$arg"; then + pic_object= + non_pic_object= + + # Read the .lo file + func_source "$arg" + + if test -z "$pic_object" || + test -z "$non_pic_object" || + test none = "$pic_object" && + test none = "$non_pic_object"; then + func_fatal_error "cannot find name of object for '$arg'" + fi + + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir=$func_dirname_result + + if test none != "$pic_object"; then + # Prepend the subdirectory the object is found in. + pic_object=$xdir$pic_object + + if test dlfiles = "$prev"; then + if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then + func_append dlfiles " $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test dlprefiles = "$prev"; then + # Preload the old-style object. + func_append dlprefiles " $pic_object" + prev= + fi + + # A PIC object. + func_append libobjs " $pic_object" + arg=$pic_object + fi + + # Non-PIC object. + if test none != "$non_pic_object"; then + # Prepend the subdirectory the object is found in. + non_pic_object=$xdir$non_pic_object + + # A standard non-PIC object + func_append non_pic_objects " $non_pic_object" + if test -z "$pic_object" || test none = "$pic_object"; then + arg=$non_pic_object + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object=$pic_object + func_append non_pic_objects " $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if $opt_dry_run; then + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir=$func_dirname_result + + func_lo2o "$arg" + pic_object=$xdir$objdir/$func_lo2o_result + non_pic_object=$xdir$func_lo2o_result + func_append libobjs " $pic_object" + func_append non_pic_objects " $non_pic_object" + else + func_fatal_error "'$arg' is not a valid libtool object" + fi + fi + done + else + func_fatal_error "link input file '$arg' does not exist" + fi + arg=$save_arg + prev= + continue + ;; + os2dllname) + os2dllname=$arg + prev= + continue + ;; + precious_regex) + precious_files_regex=$arg + prev= + continue + ;; + release) + release=-$arg + prev= + continue + ;; + rpath | xrpath) + # We need an absolute path. + case $arg in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + func_fatal_error "only absolute run-paths are allowed" + ;; + esac + if test rpath = "$prev"; then + case "$rpath " in + *" $arg "*) ;; + *) func_append rpath " $arg" ;; + esac + else + case "$xrpath " in + *" $arg "*) ;; + *) func_append xrpath " $arg" ;; + esac + fi + prev= + continue + ;; + shrext) + shrext_cmds=$arg + prev= + continue + ;; + weak) + func_append weak_libs " $arg" + prev= + continue + ;; + xcclinker) + func_append linker_flags " $qarg" + func_append compiler_flags " $qarg" + prev= + func_append compile_command " $qarg" + func_append finalize_command " $qarg" + continue + ;; + xcompiler) + func_append compiler_flags " $qarg" + prev= + func_append compile_command " $qarg" + func_append finalize_command " $qarg" + continue + ;; + xlinker) + func_append linker_flags " $qarg" + func_append compiler_flags " $wl$qarg" + prev= + func_append compile_command " $wl$qarg" + func_append finalize_command " $wl$qarg" + continue + ;; + *) + eval "$prev=\"\$arg\"" + prev= + continue + ;; + esac + fi # test -n "$prev" + + prevarg=$arg + + case $arg in + -all-static) + if test -n "$link_static_flag"; then + # See comment for -static flag below, for more details. + func_append compile_command " $link_static_flag" + func_append finalize_command " $link_static_flag" + fi + continue + ;; + + -allow-undefined) + # FIXME: remove this flag sometime in the future. + func_fatal_error "'-allow-undefined' must not be used because it is the default" + ;; + + -avoid-version) + avoid_version=yes + continue + ;; + + -bindir) + prev=bindir + continue + ;; + + -dlopen) + prev=dlfiles + continue + ;; + + -dlpreopen) + prev=dlprefiles + continue + ;; + + -export-dynamic) + export_dynamic=yes + continue + ;; + + -export-symbols | -export-symbols-regex) + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then + func_fatal_error "more than one -exported-symbols argument is not allowed" + fi + if test X-export-symbols = "X$arg"; then + prev=expsyms + else + prev=expsyms_regex + fi + continue + ;; + + -framework) + prev=framework + continue + ;; + + -inst-prefix-dir) + prev=inst_prefix + continue + ;; + + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* + # so, if we see these flags be careful not to treat them like -L + -L[A-Z][A-Z]*:*) + case $with_gcc/$host in + no/*-*-irix* | /*-*-irix*) + func_append compile_command " $arg" + func_append finalize_command " $arg" + ;; + esac + continue + ;; + + -L*) + func_stripname "-L" '' "$arg" + if test -z "$func_stripname_result"; then + if test "$#" -gt 0; then + func_fatal_error "require no space between '-L' and '$1'" + else + func_fatal_error "need path for '-L' option" + fi + fi + func_resolve_sysroot "$func_stripname_result" + dir=$func_resolve_sysroot_result + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + absdir=`cd "$dir" && pwd` + test -z "$absdir" && \ + func_fatal_error "cannot determine absolute directory name of '$dir'" + dir=$absdir + ;; + esac + case "$deplibs " in + *" -L$dir "* | *" $arg "*) + # Will only happen for absolute or sysroot arguments + ;; + *) + # Preserve sysroot, but never include relative directories + case $dir in + [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;; + *) func_append deplibs " -L$dir" ;; + esac + func_append lib_search_path " $dir" + ;; + esac + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$dir:"*) ;; + ::) dllsearchpath=$dir;; + *) func_append dllsearchpath ":$dir";; + esac + case :$dllsearchpath: in + *":$testbindir:"*) ;; + ::) dllsearchpath=$testbindir;; + *) func_append dllsearchpath ":$testbindir";; + esac + ;; + esac + continue + ;; + + -l*) + if test X-lc = "X$arg" || test X-lm = "X$arg"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) + # These systems don't actually have a C or math library (as such) + continue + ;; + *-*-os2*) + # These systems don't actually have a C library (as such) + test X-lc = "X$arg" && continue + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) + # Do not include libc due to us having libc/libc_r. + test X-lc = "X$arg" && continue + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C and math libraries are in the System framework + func_append deplibs " System.ltframework" + continue + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + test X-lc = "X$arg" && continue + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + test X-lc = "X$arg" && continue + ;; + esac + elif test X-lc_r = "X$arg"; then + case $host in + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; + esac + fi + func_append deplibs " $arg" + continue + ;; + + -mllvm) + prev=mllvm + continue + ;; + + -module) + module=yes + continue + ;; + + # Tru64 UNIX uses -model [arg] to determine the layout of C++ + # classes, name mangling, and exception handling. + # Darwin uses the -arch flag to determine output architecture. + -model|-arch|-isysroot|--sysroot) + func_append compiler_flags " $arg" + func_append compile_command " $arg" + func_append finalize_command " $arg" + prev=xcompiler + continue + ;; + + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ + |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) + func_append compiler_flags " $arg" + func_append compile_command " $arg" + func_append finalize_command " $arg" + case "$new_inherited_linker_flags " in + *" $arg "*) ;; + * ) func_append new_inherited_linker_flags " $arg" ;; + esac + continue + ;; + + -multi_module) + single_module=$wl-multi_module + continue + ;; + + -no-fast-install) + fast_install=no + continue + ;; + + -no-install) + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) + # The PATH hackery in wrapper scripts is required on Windows + # and Darwin in order for the loader to find any dlls it needs. + func_warning "'-no-install' is ignored for $host" + func_warning "assuming '-no-fast-install' instead" + fast_install=no + ;; + *) no_install=yes ;; + esac + continue + ;; + + -no-undefined) + allow_undefined=no + continue + ;; + + -objectlist) + prev=objectlist + continue + ;; + + -os2dllname) + prev=os2dllname + continue + ;; + + -o) prev=output ;; + + -precious-files-regex) + prev=precious_regex + continue + ;; + + -release) + prev=release + continue + ;; + + -rpath) + prev=rpath + continue + ;; + + -R) + prev=xrpath + continue + ;; + + -R*) + func_stripname '-R' '' "$arg" + dir=$func_stripname_result + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + =*) + func_stripname '=' '' "$dir" + dir=$lt_sysroot$func_stripname_result + ;; + *) + func_fatal_error "only absolute run-paths are allowed" + ;; + esac + case "$xrpath " in + *" $dir "*) ;; + *) func_append xrpath " $dir" ;; + esac + continue + ;; + + -shared) + # The effects of -shared are defined in a previous loop. + continue + ;; + + -shrext) + prev=shrext + continue + ;; + + -static | -static-libtool-libs) + # The effects of -static are defined in a previous loop. + # We used to do the same as -all-static on platforms that + # didn't have a PIC flag, but the assumption that the effects + # would be equivalent was wrong. It would break on at least + # Digital Unix and AIX. + continue + ;; + + -thread-safe) + thread_safe=yes + continue + ;; + + -version-info) + prev=vinfo + continue + ;; + + -version-number) + prev=vinfo + vinfo_number=yes + continue + ;; + + -weak) + prev=weak + continue + ;; + + -Wc,*) + func_stripname '-Wc,' '' "$arg" + args=$func_stripname_result + arg= + save_ifs=$IFS; IFS=, + for flag in $args; do + IFS=$save_ifs + func_quote_for_eval "$flag" + func_append arg " $func_quote_for_eval_result" + func_append compiler_flags " $func_quote_for_eval_result" + done + IFS=$save_ifs + func_stripname ' ' '' "$arg" + arg=$func_stripname_result + ;; + + -Wl,*) + func_stripname '-Wl,' '' "$arg" + args=$func_stripname_result + arg= + save_ifs=$IFS; IFS=, + for flag in $args; do + IFS=$save_ifs + func_quote_for_eval "$flag" + func_append arg " $wl$func_quote_for_eval_result" + func_append compiler_flags " $wl$func_quote_for_eval_result" + func_append linker_flags " $func_quote_for_eval_result" + done + IFS=$save_ifs + func_stripname ' ' '' "$arg" + arg=$func_stripname_result + ;; + + -Xcompiler) + prev=xcompiler + continue + ;; + + -Xlinker) + prev=xlinker + continue + ;; + + -XCClinker) + prev=xcclinker + continue + ;; + + # -msg_* for osf cc + -msg_*) + func_quote_for_eval "$arg" + arg=$func_quote_for_eval_result + ;; + + # Flags to be passed through unchanged, with rationale: + # -64, -mips[0-9] enable 64-bit mode for the SGI compiler + # -r[0-9][0-9]* specify processor for the SGI compiler + # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler + # +DA*, +DD* enable 64-bit mode for the HP compiler + # -q* compiler args for the IBM compiler + # -m*, -t[45]*, -txscale* architecture-specific flags for GCC + # -F/path path to uninstalled frameworks, gcc on darwin + # -p, -pg, --coverage, -fprofile-* profiling flags for GCC + # -fstack-protector* stack protector flags for GCC + # @file GCC response files + # -tp=* Portland pgcc target processor selection + # --sysroot=* for sysroot support + # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization + # -specs=* GCC specs files + # -stdlib=* select c++ std lib with clang + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ + -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ + -specs=*) + func_quote_for_eval "$arg" + arg=$func_quote_for_eval_result + func_append compile_command " $arg" + func_append finalize_command " $arg" + func_append compiler_flags " $arg" + continue + ;; + + -Z*) + if test os2 = "`expr $host : '.*\(os2\)'`"; then + # OS/2 uses -Zxxx to specify OS/2-specific options + compiler_flags="$compiler_flags $arg" + func_append compile_command " $arg" + func_append finalize_command " $arg" + case $arg in + -Zlinker | -Zstack) + prev=xcompiler + ;; + esac + continue + else + # Otherwise treat like 'Some other compiler flag' below + func_quote_for_eval "$arg" + arg=$func_quote_for_eval_result + fi + ;; + + # Some other compiler flag. + -* | +*) + func_quote_for_eval "$arg" + arg=$func_quote_for_eval_result + ;; + + *.$objext) + # A standard object. + func_append objs " $arg" + ;; + + *.lo) + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if func_lalib_unsafe_p "$arg"; then + pic_object= + non_pic_object= + + # Read the .lo file + func_source "$arg" + + if test -z "$pic_object" || + test -z "$non_pic_object" || + test none = "$pic_object" && + test none = "$non_pic_object"; then + func_fatal_error "cannot find name of object for '$arg'" + fi + + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir=$func_dirname_result + + test none = "$pic_object" || { + # Prepend the subdirectory the object is found in. + pic_object=$xdir$pic_object + + if test dlfiles = "$prev"; then + if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then + func_append dlfiles " $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test dlprefiles = "$prev"; then + # Preload the old-style object. + func_append dlprefiles " $pic_object" + prev= + fi + + # A PIC object. + func_append libobjs " $pic_object" + arg=$pic_object + } + + # Non-PIC object. + if test none != "$non_pic_object"; then + # Prepend the subdirectory the object is found in. + non_pic_object=$xdir$non_pic_object + + # A standard non-PIC object + func_append non_pic_objects " $non_pic_object" + if test -z "$pic_object" || test none = "$pic_object"; then + arg=$non_pic_object + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object=$pic_object + func_append non_pic_objects " $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if $opt_dry_run; then + # Extract subdirectory from the argument. + func_dirname "$arg" "/" "" + xdir=$func_dirname_result + + func_lo2o "$arg" + pic_object=$xdir$objdir/$func_lo2o_result + non_pic_object=$xdir$func_lo2o_result + func_append libobjs " $pic_object" + func_append non_pic_objects " $non_pic_object" + else + func_fatal_error "'$arg' is not a valid libtool object" + fi + fi + ;; + + *.$libext) + # An archive. + func_append deplibs " $arg" + func_append old_deplibs " $arg" + continue + ;; + + *.la) + # A libtool-controlled library. + + func_resolve_sysroot "$arg" + if test dlfiles = "$prev"; then + # This library was specified with -dlopen. + func_append dlfiles " $func_resolve_sysroot_result" + prev= + elif test dlprefiles = "$prev"; then + # The library was specified with -dlpreopen. + func_append dlprefiles " $func_resolve_sysroot_result" + prev= + else + func_append deplibs " $func_resolve_sysroot_result" + fi + continue + ;; + + # Some other compiler argument. + *) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + func_quote_for_eval "$arg" + arg=$func_quote_for_eval_result + ;; + esac # arg + + # Now actually substitute the argument into the commands. + if test -n "$arg"; then + func_append compile_command " $arg" + func_append finalize_command " $arg" + fi + done # argument parsing loop + + test -n "$prev" && \ + func_fatal_help "the '$prevarg' option requires an argument" + + if test yes = "$export_dynamic" && test -n "$export_dynamic_flag_spec"; then + eval arg=\"$export_dynamic_flag_spec\" + func_append compile_command " $arg" + func_append finalize_command " $arg" + fi + + oldlibs= + # calculate the name of the file, without its directory + func_basename "$output" + outputname=$func_basename_result + libobjs_save=$libobjs + + if test -n "$shlibpath_var"; then + # get the directories listed in $shlibpath_var + eval shlib_search_path=\`\$ECHO \"\$$shlibpath_var\" \| \$SED \'s/:/ /g\'\` + else + shlib_search_path= + fi + eval sys_lib_search_path=\"$sys_lib_search_path_spec\" + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" + + # Definition is injected by LT_CONFIG during libtool generation. + func_munge_path_list sys_lib_dlsearch_path "$LT_SYS_LIBRARY_PATH" + + func_dirname "$output" "/" "" + output_objdir=$func_dirname_result$objdir + func_to_tool_file "$output_objdir/" + tool_output_objdir=$func_to_tool_file_result + # Create the object directory. + func_mkdir_p "$output_objdir" + + # Determine the type of output + case $output in + "") + func_fatal_help "you must specify an output file" + ;; + *.$libext) linkmode=oldlib ;; + *.lo | *.$objext) linkmode=obj ;; + *.la) linkmode=lib ;; + *) linkmode=prog ;; # Anything else should be a program. + esac + + specialdeplibs= + + libs= + # Find all interdependent deplibs by searching for libraries + # that are linked more than once (e.g. -la -lb -la) + for deplib in $deplibs; do + if $opt_preserve_dup_deps; then + case "$libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append libs " $deplib" + done + + if test lib = "$linkmode"; then + libs="$predeps $libs $compiler_lib_search_path $postdeps" + + # Compute libraries that are listed more than once in $predeps + # $postdeps and mark them as special (i.e., whose duplicates are + # not to be eliminated). + pre_post_deps= + if $opt_duplicate_compiler_generated_deps; then + for pre_post_dep in $predeps $postdeps; do + case "$pre_post_deps " in + *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;; + esac + func_append pre_post_deps " $pre_post_dep" + done + fi + pre_post_deps= + fi + + deplibs= + newdependency_libs= + newlib_search_path= + need_relink=no # whether we're linking any uninstalled libtool libraries + notinst_deplibs= # not-installed libtool libraries + notinst_path= # paths that contain not-installed libtool libraries + + case $linkmode in + lib) + passes="conv dlpreopen link" + for file in $dlfiles $dlprefiles; do + case $file in + *.la) ;; + *) + func_fatal_help "libraries can '-dlopen' only libtool libraries: $file" + ;; + esac + done + ;; + prog) + compile_deplibs= + finalize_deplibs= + alldeplibs=false + newdlfiles= + newdlprefiles= + passes="conv scan dlopen dlpreopen link" + ;; + *) passes="conv" + ;; + esac + + for pass in $passes; do + # The preopen pass in lib mode reverses $deplibs; put it back here + # so that -L comes before libs that need it for instance... + if test lib,link = "$linkmode,$pass"; then + ## FIXME: Find the place where the list is rebuilt in the wrong + ## order, and fix it there properly + tmp_deplibs= + for deplib in $deplibs; do + tmp_deplibs="$deplib $tmp_deplibs" + done + deplibs=$tmp_deplibs + fi + + if test lib,link = "$linkmode,$pass" || + test prog,scan = "$linkmode,$pass"; then + libs=$deplibs + deplibs= + fi + if test prog = "$linkmode"; then + case $pass in + dlopen) libs=$dlfiles ;; + dlpreopen) libs=$dlprefiles ;; + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; + esac + fi + if test lib,dlpreopen = "$linkmode,$pass"; then + # Collect and forward deplibs of preopened libtool libs + for lib in $dlprefiles; do + # Ignore non-libtool-libs + dependency_libs= + func_resolve_sysroot "$lib" + case $lib in + *.la) func_source "$func_resolve_sysroot_result" ;; + esac + + # Collect preopened libtool deplibs, except any this library + # has declared as weak libs + for deplib in $dependency_libs; do + func_basename "$deplib" + deplib_base=$func_basename_result + case " $weak_libs " in + *" $deplib_base "*) ;; + *) func_append deplibs " $deplib" ;; + esac + done + done + libs=$dlprefiles + fi + if test dlopen = "$pass"; then + # Collect dlpreopened libraries + save_deplibs=$deplibs + deplibs= + fi + + for deplib in $libs; do + lib= + found=false + case $deplib in + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ + |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) + if test prog,link = "$linkmode,$pass"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + func_append compiler_flags " $deplib" + if test lib = "$linkmode"; then + case "$new_inherited_linker_flags " in + *" $deplib "*) ;; + * ) func_append new_inherited_linker_flags " $deplib" ;; + esac + fi + fi + continue + ;; + -l*) + if test lib != "$linkmode" && test prog != "$linkmode"; then + func_warning "'-l' is ignored for archives/objects" + continue + fi + func_stripname '-l' '' "$deplib" + name=$func_stripname_result + if test lib = "$linkmode"; then + searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" + else + searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" + fi + for searchdir in $searchdirs; do + for search_ext in .la $std_shrext .so .a; do + # Search the libtool library + lib=$searchdir/lib$name$search_ext + if test -f "$lib"; then + if test .la = "$search_ext"; then + found=: + else + found=false + fi + break 2 + fi + done + done + if $found; then + # deplib is a libtool library + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, + # We need to do some special things here, and not later. + if test yes = "$allow_libtool_libs_with_static_runtimes"; then + case " $predeps $postdeps " in + *" $deplib "*) + if func_lalib_p "$lib"; then + library_names= + old_library= + func_source "$lib" + for l in $old_library $library_names; do + ll=$l + done + if test "X$ll" = "X$old_library"; then # only static version available + found=false + func_dirname "$lib" "" "." + ladir=$func_dirname_result + lib=$ladir/$old_library + if test prog,link = "$linkmode,$pass"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs" + fi + continue + fi + fi + ;; + *) ;; + esac + fi + else + # deplib doesn't seem to be a libtool library + if test prog,link = "$linkmode,$pass"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs" + fi + continue + fi + ;; # -l + *.ltframework) + if test prog,link = "$linkmode,$pass"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + if test lib = "$linkmode"; then + case "$new_inherited_linker_flags " in + *" $deplib "*) ;; + * ) func_append new_inherited_linker_flags " $deplib" ;; + esac + fi + fi + continue + ;; + -L*) + case $linkmode in + lib) + deplibs="$deplib $deplibs" + test conv = "$pass" && continue + newdependency_libs="$deplib $newdependency_libs" + func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" + ;; + prog) + if test conv = "$pass"; then + deplibs="$deplib $deplibs" + continue + fi + if test scan = "$pass"; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" + ;; + *) + func_warning "'-L' is ignored for archives/objects" + ;; + esac # linkmode + continue + ;; # -L + -R*) + if test link = "$pass"; then + func_stripname '-R' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + dir=$func_resolve_sysroot_result + # Make sure the xrpath contains only unique directories. + case "$xrpath " in + *" $dir "*) ;; + *) func_append xrpath " $dir" ;; + esac + fi + deplibs="$deplib $deplibs" + continue + ;; + *.la) + func_resolve_sysroot "$deplib" + lib=$func_resolve_sysroot_result + ;; + *.$libext) + if test conv = "$pass"; then + deplibs="$deplib $deplibs" + continue + fi + case $linkmode in + lib) + # Linking convenience modules into shared libraries is allowed, + # but linking other static libraries is non-portable. + case " $dlpreconveniencelibs " in + *" $deplib "*) ;; + *) + valid_a_lib=false + case $deplibs_check_method in + match_pattern*) + set dummy $deplibs_check_method; shift + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` + if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ + | $EGREP "$match_pattern_regex" > /dev/null; then + valid_a_lib=: + fi + ;; + pass_all) + valid_a_lib=: + ;; + esac + if $valid_a_lib; then + echo + $ECHO "*** Warning: Linking the shared library $output against the" + $ECHO "*** static library $deplib is not portable!" + deplibs="$deplib $deplibs" + else + echo + $ECHO "*** Warning: Trying to link with static lib archive $deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because the file extensions .$libext of this argument makes me believe" + echo "*** that it is just a static archive that I should not use here." + fi + ;; + esac + continue + ;; + prog) + if test link != "$pass"; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + continue + ;; + esac # linkmode + ;; # *.$libext + *.lo | *.$objext) + if test conv = "$pass"; then + deplibs="$deplib $deplibs" + elif test prog = "$linkmode"; then + if test dlpreopen = "$pass" || test yes != "$dlopen_support" || test no = "$build_libtool_libs"; then + # If there is no dlopen support or we're linking statically, + # we need to preload. + func_append newdlprefiles " $deplib" + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + func_append newdlfiles " $deplib" + fi + fi + continue + ;; + %DEPLIBS%) + alldeplibs=: + continue + ;; + esac # case $deplib + + $found || test -f "$lib" \ + || func_fatal_error "cannot find the library '$lib' or unhandled argument '$deplib'" + + # Check to see that this really is a libtool archive. + func_lalib_unsafe_p "$lib" \ + || func_fatal_error "'$lib' is not a valid libtool archive" + + func_dirname "$lib" "" "." + ladir=$func_dirname_result + + dlname= + dlopen= + dlpreopen= + libdir= + library_names= + old_library= + inherited_linker_flags= + # If the library was installed with an old release of libtool, + # it will not redefine variables installed, or shouldnotlink + installed=yes + shouldnotlink=no + avoidtemprpath= + + + # Read the .la file + func_source "$lib" + + # Convert "-framework foo" to "foo.ltframework" + if test -n "$inherited_linker_flags"; then + tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` + for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do + case " $new_inherited_linker_flags " in + *" $tmp_inherited_linker_flag "*) ;; + *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";; + esac + done + fi + dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + if test lib,link = "$linkmode,$pass" || + test prog,scan = "$linkmode,$pass" || + { test prog != "$linkmode" && test lib != "$linkmode"; }; then + test -n "$dlopen" && func_append dlfiles " $dlopen" + test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" + fi + + if test conv = "$pass"; then + # Only check for convenience libraries + deplibs="$lib $deplibs" + if test -z "$libdir"; then + if test -z "$old_library"; then + func_fatal_error "cannot find name of link library for '$lib'" + fi + # It is a libtool convenience library, so add in its objects. + func_append convenience " $ladir/$objdir/$old_library" + func_append old_convenience " $ladir/$objdir/$old_library" + elif test prog != "$linkmode" && test lib != "$linkmode"; then + func_fatal_error "'$lib' is not a convenience library" + fi + tmp_libs= + for deplib in $dependency_libs; do + deplibs="$deplib $deplibs" + if $opt_preserve_dup_deps; then + case "$tmp_libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append tmp_libs " $deplib" + done + continue + fi # $pass = conv + + + # Get the name of the library we link against. + linklib= + if test -n "$old_library" && + { test yes = "$prefer_static_libs" || + test built,no = "$prefer_static_libs,$installed"; }; then + linklib=$old_library + else + for l in $old_library $library_names; do + linklib=$l + done + fi + if test -z "$linklib"; then + func_fatal_error "cannot find name of link library for '$lib'" + fi + + # This library was specified with -dlopen. + if test dlopen = "$pass"; then + test -z "$libdir" \ + && func_fatal_error "cannot -dlopen a convenience library: '$lib'" + if test -z "$dlname" || + test yes != "$dlopen_support" || + test no = "$build_libtool_libs" + then + # If there is no dlname, no dlopen support or we're linking + # statically, we need to preload. We also need to preload any + # dependent libraries so libltdl's deplib preloader doesn't + # bomb out in the load deplibs phase. + func_append dlprefiles " $lib $dependency_libs" + else + func_append newdlfiles " $lib" + fi + continue + fi # $pass = dlopen + + # We need an absolute path. + case $ladir in + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir=$ladir ;; + *) + abs_ladir=`cd "$ladir" && pwd` + if test -z "$abs_ladir"; then + func_warning "cannot determine absolute directory name of '$ladir'" + func_warning "passing it literally to the linker, although it might fail" + abs_ladir=$ladir + fi + ;; + esac + func_basename "$lib" + laname=$func_basename_result + + # Find the relevant object directory and library name. + if test yes = "$installed"; then + if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then + func_warning "library '$lib' was moved." + dir=$ladir + absdir=$abs_ladir + libdir=$abs_ladir + else + dir=$lt_sysroot$libdir + absdir=$lt_sysroot$libdir + fi + test yes = "$hardcode_automatic" && avoidtemprpath=yes + else + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then + dir=$ladir + absdir=$abs_ladir + # Remove this search path later + func_append notinst_path " $abs_ladir" + else + dir=$ladir/$objdir + absdir=$abs_ladir/$objdir + # Remove this search path later + func_append notinst_path " $abs_ladir" + fi + fi # $installed = yes + func_stripname 'lib' '.la' "$laname" + name=$func_stripname_result + + # This library was specified with -dlpreopen. + if test dlpreopen = "$pass"; then + if test -z "$libdir" && test prog = "$linkmode"; then + func_fatal_error "only libraries may -dlpreopen a convenience library: '$lib'" + fi + case $host in + # special handling for platforms with PE-DLLs. + *cygwin* | *mingw* | *cegcc* ) + # Linker will automatically link against shared library if both + # static and shared are present. Therefore, ensure we extract + # symbols from the import library if a shared library is present + # (otherwise, the dlopen module name will be incorrect). We do + # this by putting the import library name into $newdlprefiles. + # We recover the dlopen module name by 'saving' the la file + # name in a special purpose variable, and (later) extracting the + # dlname from the la file. + if test -n "$dlname"; then + func_tr_sh "$dir/$linklib" + eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" + func_append newdlprefiles " $dir/$linklib" + else + func_append newdlprefiles " $dir/$old_library" + # Keep a list of preopened convenience libraries to check + # that they are being used correctly in the link pass. + test -z "$libdir" && \ + func_append dlpreconveniencelibs " $dir/$old_library" + fi + ;; + * ) + # Prefer using a static library (so that no silly _DYNAMIC symbols + # are required to link). + if test -n "$old_library"; then + func_append newdlprefiles " $dir/$old_library" + # Keep a list of preopened convenience libraries to check + # that they are being used correctly in the link pass. + test -z "$libdir" && \ + func_append dlpreconveniencelibs " $dir/$old_library" + # Otherwise, use the dlname, so that lt_dlopen finds it. + elif test -n "$dlname"; then + func_append newdlprefiles " $dir/$dlname" + else + func_append newdlprefiles " $dir/$linklib" + fi + ;; + esac + fi # $pass = dlpreopen + + if test -z "$libdir"; then + # Link the convenience library + if test lib = "$linkmode"; then + deplibs="$dir/$old_library $deplibs" + elif test prog,link = "$linkmode,$pass"; then + compile_deplibs="$dir/$old_library $compile_deplibs" + finalize_deplibs="$dir/$old_library $finalize_deplibs" + else + deplibs="$lib $deplibs" # used for prog,scan pass + fi + continue + fi + + + if test prog = "$linkmode" && test link != "$pass"; then + func_append newlib_search_path " $ladir" + deplibs="$lib $deplibs" + + linkalldeplibs=false + if test no != "$link_all_deplibs" || test -z "$library_names" || + test no = "$build_libtool_libs"; then + linkalldeplibs=: + fi + + tmp_libs= + for deplib in $dependency_libs; do + case $deplib in + -L*) func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" + ;; + esac + # Need to link against all dependency_libs? + if $linkalldeplibs; then + deplibs="$deplib $deplibs" + else + # Need to hardcode shared library paths + # or/and link against static libraries + newdependency_libs="$deplib $newdependency_libs" + fi + if $opt_preserve_dup_deps; then + case "$tmp_libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append tmp_libs " $deplib" + done # for deplib + continue + fi # $linkmode = prog... + + if test prog,link = "$linkmode,$pass"; then + if test -n "$library_names" && + { { test no = "$prefer_static_libs" || + test built,yes = "$prefer_static_libs,$installed"; } || + test -z "$old_library"; }; then + # We need to hardcode the library path + if test -n "$shlibpath_var" && test -z "$avoidtemprpath"; then + # Make sure the rpath contains only unique directories. + case $temp_rpath: in + *"$absdir:"*) ;; + *) func_append temp_rpath "$absdir:" ;; + esac + fi + + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) func_append compile_rpath " $absdir" ;; + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + ;; + esac + fi # $linkmode,$pass = prog,link... + + if $alldeplibs && + { test pass_all = "$deplibs_check_method" || + { test yes = "$build_libtool_libs" && + test -n "$library_names"; }; }; then + # We only need to search for static libraries + continue + fi + fi + + link_static=no # Whether the deplib will be linked statically + use_static_libs=$prefer_static_libs + if test built = "$use_static_libs" && test yes = "$installed"; then + use_static_libs=no + fi + if test -n "$library_names" && + { test no = "$use_static_libs" || test -z "$old_library"; }; then + case $host in + *cygwin* | *mingw* | *cegcc* | *os2*) + # No point in relinking DLLs because paths are not encoded + func_append notinst_deplibs " $lib" + need_relink=no + ;; + *) + if test no = "$installed"; then + func_append notinst_deplibs " $lib" + need_relink=yes + fi + ;; + esac + # This is a shared library + + # Warn about portability, can't link against -module's on some + # systems (darwin). Don't bleat about dlopened modules though! + dlopenmodule= + for dlpremoduletest in $dlprefiles; do + if test "X$dlpremoduletest" = "X$lib"; then + dlopenmodule=$dlpremoduletest + break + fi + done + if test -z "$dlopenmodule" && test yes = "$shouldnotlink" && test link = "$pass"; then + echo + if test prog = "$linkmode"; then + $ECHO "*** Warning: Linking the executable $output against the loadable module" + else + $ECHO "*** Warning: Linking the shared library $output against the loadable module" + fi + $ECHO "*** $linklib is not portable!" + fi + if test lib = "$linkmode" && + test yes = "$hardcode_into_libs"; then + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) func_append compile_rpath " $absdir" ;; + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + ;; + esac + fi + + if test -n "$old_archive_from_expsyms_cmds"; then + # figure out the soname + set dummy $library_names + shift + realname=$1 + shift + libname=`eval "\\$ECHO \"$libname_spec\""` + # use dlname if we got it. it's perfectly good, no? + if test -n "$dlname"; then + soname=$dlname + elif test -n "$soname_spec"; then + # bleh windows + case $host in + *cygwin* | mingw* | *cegcc* | *os2*) + func_arith $current - $age + major=$func_arith_result + versuffix=-$major + ;; + esac + eval soname=\"$soname_spec\" + else + soname=$realname + fi + + # Make a new name for the extract_expsyms_cmds to use + soroot=$soname + func_basename "$soroot" + soname=$func_basename_result + func_stripname 'lib' '.dll' "$soname" + newlib=libimp-$func_stripname_result.a + + # If the library has no export list, then create one now + if test -f "$output_objdir/$soname-def"; then : + else + func_verbose "extracting exported symbol list from '$soname'" + func_execute_cmds "$extract_expsyms_cmds" 'exit $?' + fi + + # Create $newlib + if test -f "$output_objdir/$newlib"; then :; else + func_verbose "generating import library for '$soname'" + func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' + fi + # make sure the library variables are pointing to the new library + dir=$output_objdir + linklib=$newlib + fi # test -n "$old_archive_from_expsyms_cmds" + + if test prog = "$linkmode" || test relink != "$opt_mode"; then + add_shlibpath= + add_dir= + add= + lib_linked=yes + case $hardcode_action in + immediate | unsupported) + if test no = "$hardcode_direct"; then + add=$dir/$linklib + case $host in + *-*-sco3.2v5.0.[024]*) add_dir=-L$dir ;; + *-*-sysv4*uw2*) add_dir=-L$dir ;; + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ + *-*-unixware7*) add_dir=-L$dir ;; + *-*-darwin* ) + # if the lib is a (non-dlopened) module then we cannot + # link against it, someone is ignoring the earlier warnings + if /usr/bin/file -L $add 2> /dev/null | + $GREP ": [^:]* bundle" >/dev/null; then + if test "X$dlopenmodule" != "X$lib"; then + $ECHO "*** Warning: lib $linklib is a module, not a shared library" + if test -z "$old_library"; then + echo + echo "*** And there doesn't seem to be a static archive available" + echo "*** The link will probably fail, sorry" + else + add=$dir/$old_library + fi + elif test -n "$old_library"; then + add=$dir/$old_library + fi + fi + esac + elif test no = "$hardcode_minus_L"; then + case $host in + *-*-sunos*) add_shlibpath=$dir ;; + esac + add_dir=-L$dir + add=-l$name + elif test no = "$hardcode_shlibpath_var"; then + add_shlibpath=$dir + add=-l$name + else + lib_linked=no + fi + ;; + relink) + if test yes = "$hardcode_direct" && + test no = "$hardcode_direct_absolute"; then + add=$dir/$linklib + elif test yes = "$hardcode_minus_L"; then + add_dir=-L$absdir + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + func_append add_dir " -L$inst_prefix_dir$libdir" + ;; + esac + fi + add=-l$name + elif test yes = "$hardcode_shlibpath_var"; then + add_shlibpath=$dir + add=-l$name + else + lib_linked=no + fi + ;; + *) lib_linked=no ;; + esac + + if test yes != "$lib_linked"; then + func_fatal_configuration "unsupported hardcode properties" + fi + + if test -n "$add_shlibpath"; then + case :$compile_shlibpath: in + *":$add_shlibpath:"*) ;; + *) func_append compile_shlibpath "$add_shlibpath:" ;; + esac + fi + if test prog = "$linkmode"; then + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" + test -n "$add" && compile_deplibs="$add $compile_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + if test yes != "$hardcode_direct" && + test yes != "$hardcode_minus_L" && + test yes = "$hardcode_shlibpath_var"; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) func_append finalize_shlibpath "$libdir:" ;; + esac + fi + fi + fi + + if test prog = "$linkmode" || test relink = "$opt_mode"; then + add_shlibpath= + add_dir= + add= + # Finalize command for both is simple: just hardcode it. + if test yes = "$hardcode_direct" && + test no = "$hardcode_direct_absolute"; then + add=$libdir/$linklib + elif test yes = "$hardcode_minus_L"; then + add_dir=-L$libdir + add=-l$name + elif test yes = "$hardcode_shlibpath_var"; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) func_append finalize_shlibpath "$libdir:" ;; + esac + add=-l$name + elif test yes = "$hardcode_automatic"; then + if test -n "$inst_prefix_dir" && + test -f "$inst_prefix_dir$libdir/$linklib"; then + add=$inst_prefix_dir$libdir/$linklib + else + add=$libdir/$linklib + fi + else + # We cannot seem to hardcode it, guess we'll fake it. + add_dir=-L$libdir + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + func_append add_dir " -L$inst_prefix_dir$libdir" + ;; + esac + fi + add=-l$name + fi + + if test prog = "$linkmode"; then + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" + test -n "$add" && finalize_deplibs="$add $finalize_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + fi + fi + elif test prog = "$linkmode"; then + # Here we assume that one of hardcode_direct or hardcode_minus_L + # is not unsupported. This is valid on all known static and + # shared platforms. + if test unsupported != "$hardcode_direct"; then + test -n "$old_library" && linklib=$old_library + compile_deplibs="$dir/$linklib $compile_deplibs" + finalize_deplibs="$dir/$linklib $finalize_deplibs" + else + compile_deplibs="-l$name -L$dir $compile_deplibs" + finalize_deplibs="-l$name -L$dir $finalize_deplibs" + fi + elif test yes = "$build_libtool_libs"; then + # Not a shared library + if test pass_all != "$deplibs_check_method"; then + # We're trying link a shared library against a static one + # but the system doesn't support it. + + # Just print a warning and add the library to dependency_libs so + # that the program can be linked against the static library. + echo + $ECHO "*** Warning: This system cannot link to static lib archive $lib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have." + if test yes = "$module"; then + echo "*** But as you try to build a module library, libtool will still create " + echo "*** a static module, that should work as long as the dlopening application" + echo "*** is linked with the -dlopen flag to resolve symbols at runtime." + if test -z "$global_symbol_pipe"; then + echo + echo "*** However, this would only work if libtool was able to extract symbol" + echo "*** lists from a program, using 'nm' or equivalent, but libtool could" + echo "*** not find such a program. So, this module is probably useless." + echo "*** 'nm' from GNU binutils and a full rebuild may help." + fi + if test no = "$build_old_libs"; then + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + else + deplibs="$dir/$old_library $deplibs" + link_static=yes + fi + fi # link shared/static library? + + if test lib = "$linkmode"; then + if test -n "$dependency_libs" && + { test yes != "$hardcode_into_libs" || + test yes = "$build_old_libs" || + test yes = "$link_static"; }; then + # Extract -R from dependency_libs + temp_deplibs= + for libdir in $dependency_libs; do + case $libdir in + -R*) func_stripname '-R' '' "$libdir" + temp_xrpath=$func_stripname_result + case " $xrpath " in + *" $temp_xrpath "*) ;; + *) func_append xrpath " $temp_xrpath";; + esac;; + *) func_append temp_deplibs " $libdir";; + esac + done + dependency_libs=$temp_deplibs + fi + + func_append newlib_search_path " $absdir" + # Link against this library + test no = "$link_static" && newdependency_libs="$abs_ladir/$laname $newdependency_libs" + # ... and its dependency_libs + tmp_libs= + for deplib in $dependency_libs; do + newdependency_libs="$deplib $newdependency_libs" + case $deplib in + -L*) func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result";; + *) func_resolve_sysroot "$deplib" ;; + esac + if $opt_preserve_dup_deps; then + case "$tmp_libs " in + *" $func_resolve_sysroot_result "*) + func_append specialdeplibs " $func_resolve_sysroot_result" ;; + esac + fi + func_append tmp_libs " $func_resolve_sysroot_result" + done + + if test no != "$link_all_deplibs"; then + # Add the search paths of all dependency libraries + for deplib in $dependency_libs; do + path= + case $deplib in + -L*) path=$deplib ;; + *.la) + func_resolve_sysroot "$deplib" + deplib=$func_resolve_sysroot_result + func_dirname "$deplib" "" "." + dir=$func_dirname_result + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) absdir=$dir ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + func_warning "cannot determine absolute directory name of '$dir'" + absdir=$dir + fi + ;; + esac + if $GREP "^installed=no" $deplib > /dev/null; then + case $host in + *-*-darwin*) + depdepl= + eval deplibrary_names=`$SED -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` + if test -n "$deplibrary_names"; then + for tmp in $deplibrary_names; do + depdepl=$tmp + done + if test -f "$absdir/$objdir/$depdepl"; then + depdepl=$absdir/$objdir/$depdepl + darwin_install_name=`$OTOOL -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` + if test -z "$darwin_install_name"; then + darwin_install_name=`$OTOOL64 -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` + fi + func_append compiler_flags " $wl-dylib_file $wl$darwin_install_name:$depdepl" + func_append linker_flags " -dylib_file $darwin_install_name:$depdepl" + path= + fi + fi + ;; + *) + path=-L$absdir/$objdir + ;; + esac + else + eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + test -z "$libdir" && \ + func_fatal_error "'$deplib' is not a valid libtool archive" + test "$absdir" != "$libdir" && \ + func_warning "'$deplib' seems to be moved" + + path=-L$absdir + fi + ;; + esac + case " $deplibs " in + *" $path "*) ;; + *) deplibs="$path $deplibs" ;; + esac + done + fi # link_all_deplibs != no + fi # linkmode = lib + done # for deplib in $libs + if test link = "$pass"; then + if test prog = "$linkmode"; then + compile_deplibs="$new_inherited_linker_flags $compile_deplibs" + finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" + else + compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + fi + fi + dependency_libs=$newdependency_libs + if test dlpreopen = "$pass"; then + # Link the dlpreopened libraries before other libraries + for deplib in $save_deplibs; do + deplibs="$deplib $deplibs" + done + fi + if test dlopen != "$pass"; then + test conv = "$pass" || { + # Make sure lib_search_path contains only unique directories. + lib_search_path= + for dir in $newlib_search_path; do + case "$lib_search_path " in + *" $dir "*) ;; + *) func_append lib_search_path " $dir" ;; + esac + done + newlib_search_path= + } + + if test prog,link = "$linkmode,$pass"; then + vars="compile_deplibs finalize_deplibs" + else + vars=deplibs + fi + for var in $vars dependency_libs; do + # Add libraries to $var in reverse order + eval tmp_libs=\"\$$var\" + new_libs= + for deplib in $tmp_libs; do + # FIXME: Pedantically, this is the right thing to do, so + # that some nasty dependency loop isn't accidentally + # broken: + #new_libs="$deplib $new_libs" + # Pragmatically, this seems to cause very few problems in + # practice: + case $deplib in + -L*) new_libs="$deplib $new_libs" ;; + -R*) ;; + *) + # And here is the reason: when a library appears more + # than once as an explicit dependence of a library, or + # is implicitly linked in more than once by the + # compiler, it is considered special, and multiple + # occurrences thereof are not removed. Compare this + # with having the same library being listed as a + # dependency of multiple other libraries: in this case, + # we know (pedantically, we assume) the library does not + # need to be listed more than once, so we keep only the + # last copy. This is not always right, but it is rare + # enough that we require users that really mean to play + # such unportable linking tricks to link the library + # using -Wl,-lname, so that libtool does not consider it + # for duplicate removal. + case " $specialdeplibs " in + *" $deplib "*) new_libs="$deplib $new_libs" ;; + *) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$deplib $new_libs" ;; + esac + ;; + esac + ;; + esac + done + tmp_libs= + for deplib in $new_libs; do + case $deplib in + -L*) + case " $tmp_libs " in + *" $deplib "*) ;; + *) func_append tmp_libs " $deplib" ;; + esac + ;; + *) func_append tmp_libs " $deplib" ;; + esac + done + eval $var=\"$tmp_libs\" + done # for var + fi + + # Add Sun CC postdeps if required: + test CXX = "$tagname" && { + case $host_os in + linux*) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C++ 5.9 + func_suncc_cstd_abi + + if test no != "$suncc_use_cstd_abi"; then + func_append postdeps ' -library=Cstd -library=Crun' + fi + ;; + esac + ;; + + solaris*) + func_cc_basename "$CC" + case $func_cc_basename_result in + CC* | sunCC*) + func_suncc_cstd_abi + + if test no != "$suncc_use_cstd_abi"; then + func_append postdeps ' -library=Cstd -library=Crun' + fi + ;; + esac + ;; + esac + } + + # Last step: remove runtime libs from dependency_libs + # (they stay in deplibs) + tmp_libs= + for i in $dependency_libs; do + case " $predeps $postdeps $compiler_lib_search_path " in + *" $i "*) + i= + ;; + esac + if test -n "$i"; then + func_append tmp_libs " $i" + fi + done + dependency_libs=$tmp_libs + done # for pass + if test prog = "$linkmode"; then + dlfiles=$newdlfiles + fi + if test prog = "$linkmode" || test lib = "$linkmode"; then + dlprefiles=$newdlprefiles + fi + + case $linkmode in + oldlib) + if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then + func_warning "'-dlopen' is ignored for archives" + fi + + case " $deplibs" in + *\ -l* | *\ -L*) + func_warning "'-l' and '-L' are ignored for archives" ;; + esac + + test -n "$rpath" && \ + func_warning "'-rpath' is ignored for archives" + + test -n "$xrpath" && \ + func_warning "'-R' is ignored for archives" + + test -n "$vinfo" && \ + func_warning "'-version-info/-version-number' is ignored for archives" + + test -n "$release" && \ + func_warning "'-release' is ignored for archives" + + test -n "$export_symbols$export_symbols_regex" && \ + func_warning "'-export-symbols' is ignored for archives" + + # Now set the variables for building old libraries. + build_libtool_libs=no + oldlibs=$output + func_append objs "$old_deplibs" + ;; + + lib) + # Make sure we only generate libraries of the form 'libNAME.la'. + case $outputname in + lib*) + func_stripname 'lib' '.la' "$outputname" + name=$func_stripname_result + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + ;; + *) + test no = "$module" \ + && func_fatal_help "libtool library '$output' must begin with 'lib'" + + if test no != "$need_lib_prefix"; then + # Add the "lib" prefix for modules if required + func_stripname '' '.la' "$outputname" + name=$func_stripname_result + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + else + func_stripname '' '.la' "$outputname" + libname=$func_stripname_result + fi + ;; + esac + + if test -n "$objs"; then + if test pass_all != "$deplibs_check_method"; then + func_fatal_error "cannot build libtool library '$output' from non-libtool objects on this host:$objs" + else + echo + $ECHO "*** Warning: Linking the shared library $output against the non-libtool" + $ECHO "*** objects $objs is not portable!" + func_append libobjs " $objs" + fi + fi + + test no = "$dlself" \ + || func_warning "'-dlopen self' is ignored for libtool libraries" + + set dummy $rpath + shift + test 1 -lt "$#" \ + && func_warning "ignoring multiple '-rpath's for a libtool library" + + install_libdir=$1 + + oldlibs= + if test -z "$rpath"; then + if test yes = "$build_libtool_libs"; then + # Building a libtool convenience library. + # Some compilers have problems with a '.al' extension so + # convenience libraries should have the same extension an + # archive normally would. + oldlibs="$output_objdir/$libname.$libext $oldlibs" + build_libtool_libs=convenience + build_old_libs=yes + fi + + test -n "$vinfo" && \ + func_warning "'-version-info/-version-number' is ignored for convenience libraries" + + test -n "$release" && \ + func_warning "'-release' is ignored for convenience libraries" + else + + # Parse the version information argument. + save_ifs=$IFS; IFS=: + set dummy $vinfo 0 0 0 + shift + IFS=$save_ifs + + test -n "$7" && \ + func_fatal_help "too many parameters to '-version-info'" + + # convert absolute version numbers to libtool ages + # this retains compatibility with .la files and attempts + # to make the code below a bit more comprehensible + + case $vinfo_number in + yes) + number_major=$1 + number_minor=$2 + number_revision=$3 + # + # There are really only two kinds -- those that + # use the current revision as the major version + # and those that subtract age and use age as + # a minor version. But, then there is irix + # that has an extra 1 added just for fun + # + case $version_type in + # correct linux to gnu/linux during the next big refactor + darwin|freebsd-elf|linux|osf|windows|none) + func_arith $number_major + $number_minor + current=$func_arith_result + age=$number_minor + revision=$number_revision + ;; + freebsd-aout|qnx|sunos) + current=$number_major + revision=$number_minor + age=0 + ;; + irix|nonstopux) + func_arith $number_major + $number_minor + current=$func_arith_result + age=$number_minor + revision=$number_minor + lt_irix_increment=no + ;; + esac + ;; + no) + current=$1 + revision=$2 + age=$3 + ;; + esac + + # Check that each of the things are valid numbers. + case $current in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "CURRENT '$current' must be a nonnegative integer" + func_fatal_error "'$vinfo' is not valid version information" + ;; + esac + + case $revision in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "REVISION '$revision' must be a nonnegative integer" + func_fatal_error "'$vinfo' is not valid version information" + ;; + esac + + case $age in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + func_error "AGE '$age' must be a nonnegative integer" + func_fatal_error "'$vinfo' is not valid version information" + ;; + esac + + if test "$age" -gt "$current"; then + func_error "AGE '$age' is greater than the current interface number '$current'" + func_fatal_error "'$vinfo' is not valid version information" + fi + + # Calculate the version variables. + major= + versuffix= + verstring= + case $version_type in + none) ;; + + darwin) + # Like Linux, but with the current version available in + # verstring for coding it into the library header + func_arith $current - $age + major=.$func_arith_result + versuffix=$major.$age.$revision + # Darwin ld doesn't like 0 for these options... + func_arith $current + 1 + minor_current=$func_arith_result + xlcverstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision" + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" + # On Darwin other compilers + case $CC in + nagfor*) + verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision" + ;; + *) + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" + ;; + esac + ;; + + freebsd-aout) + major=.$current + versuffix=.$current.$revision + ;; + + freebsd-elf) + func_arith $current - $age + major=.$func_arith_result + versuffix=$major.$age.$revision + ;; + + irix | nonstopux) + if test no = "$lt_irix_increment"; then + func_arith $current - $age + else + func_arith $current - $age + 1 + fi + major=$func_arith_result + + case $version_type in + nonstopux) verstring_prefix=nonstopux ;; + *) verstring_prefix=sgi ;; + esac + verstring=$verstring_prefix$major.$revision + + # Add in all the interfaces that we are compatible with. + loop=$revision + while test 0 -ne "$loop"; do + func_arith $revision - $loop + iface=$func_arith_result + func_arith $loop - 1 + loop=$func_arith_result + verstring=$verstring_prefix$major.$iface:$verstring + done + + # Before this point, $major must not contain '.'. + major=.$major + versuffix=$major.$revision + ;; + + linux) # correct to gnu/linux during the next big refactor + func_arith $current - $age + major=.$func_arith_result + versuffix=$major.$age.$revision + ;; + + osf) + func_arith $current - $age + major=.$func_arith_result + versuffix=.$current.$age.$revision + verstring=$current.$age.$revision + + # Add in all the interfaces that we are compatible with. + loop=$age + while test 0 -ne "$loop"; do + func_arith $current - $loop + iface=$func_arith_result + func_arith $loop - 1 + loop=$func_arith_result + verstring=$verstring:$iface.0 + done + + # Make executables depend on our current version. + func_append verstring ":$current.0" + ;; + + qnx) + major=.$current + versuffix=.$current + ;; + + sco) + major=.$current + versuffix=.$current + ;; + + sunos) + major=.$current + versuffix=.$current.$revision + ;; + + windows) + # Use '-' rather than '.', since we only want one + # extension on DOS 8.3 file systems. + func_arith $current - $age + major=$func_arith_result + versuffix=-$major + ;; + + *) + func_fatal_configuration "unknown library version type '$version_type'" + ;; + esac + + # Clear the version info if we defaulted, and they specified a release. + if test -z "$vinfo" && test -n "$release"; then + major= + case $version_type in + darwin) + # we can't check for "0.0" in archive_cmds due to quoting + # problems, so we reset it completely + verstring= + ;; + *) + verstring=0.0 + ;; + esac + if test no = "$need_version"; then + versuffix= + else + versuffix=.0.0 + fi + fi + + # Remove version info from name if versioning should be avoided + if test yes,no = "$avoid_version,$need_version"; then + major= + versuffix= + verstring= + fi + + # Check to see if the archive will have undefined symbols. + if test yes = "$allow_undefined"; then + if test unsupported = "$allow_undefined_flag"; then + if test yes = "$build_old_libs"; then + func_warning "undefined symbols not allowed in $host shared libraries; building static only" + build_libtool_libs=no + else + func_fatal_error "can't build $host shared library unless -no-undefined is specified" + fi + fi + else + # Don't allow undefined symbols. + allow_undefined_flag=$no_undefined_flag + fi + + fi + + func_generate_dlsyms "$libname" "$libname" : + func_append libobjs " $symfileobj" + test " " = "$libobjs" && libobjs= + + if test relink != "$opt_mode"; then + # Remove our outputs, but don't remove object files since they + # may have been created when compiling PIC objects. + removelist= + tempremovelist=`$ECHO "$output_objdir/*"` + for p in $tempremovelist; do + case $p in + *.$objext | *.gcno) + ;; + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/$libname$release.*) + if test -n "$precious_files_regex"; then + if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 + then + continue + fi + fi + func_append removelist " $p" + ;; + *) ;; + esac + done + test -n "$removelist" && \ + func_show_eval "${RM}r \$removelist" + fi + + # Now set the variables for building old libraries. + if test yes = "$build_old_libs" && test convenience != "$build_libtool_libs"; then + func_append oldlibs " $output_objdir/$libname.$libext" + + # Transform .lo files to .o files. + oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; $lo2o" | $NL2SP` + fi + + # Eliminate all temporary directories. + #for path in $notinst_path; do + # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` + # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` + # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` + #done + + if test -n "$xrpath"; then + # If the user specified any rpath flags, then add them. + temp_xrpath= + for libdir in $xrpath; do + func_replace_sysroot "$libdir" + func_append temp_xrpath " -R$func_replace_sysroot_result" + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + done + if test yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; then + dependency_libs="$temp_xrpath $dependency_libs" + fi + fi + + # Make sure dlfiles contains only unique files that won't be dlpreopened + old_dlfiles=$dlfiles + dlfiles= + for lib in $old_dlfiles; do + case " $dlprefiles $dlfiles " in + *" $lib "*) ;; + *) func_append dlfiles " $lib" ;; + esac + done + + # Make sure dlprefiles contains only unique files + old_dlprefiles=$dlprefiles + dlprefiles= + for lib in $old_dlprefiles; do + case "$dlprefiles " in + *" $lib "*) ;; + *) func_append dlprefiles " $lib" ;; + esac + done + + if test yes = "$build_libtool_libs"; then + if test -n "$rpath"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) + # these systems don't actually have a c library (as such)! + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C library is in the System framework + func_append deplibs " System.ltframework" + ;; + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc due to us having libc/libc_r. + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test yes = "$build_libtool_need_lc"; then + func_append deplibs " -lc" + fi + ;; + esac + fi + + # Transform deplibs into only deplibs that can be linked in shared. + name_save=$name + libname_save=$libname + release_save=$release + versuffix_save=$versuffix + major_save=$major + # I'm not sure if I'm treating the release correctly. I think + # release should show up in the -l (ie -lgmp5) so we don't want to + # add it in twice. Is that correct? + release= + versuffix= + major= + newdeplibs= + droppeddeps=no + case $deplibs_check_method in + pass_all) + # Don't check for shared/static. Everything works. + # This might be a little naive. We might want to check + # whether the library exists or not. But this is on + # osf3 & osf4 and I'm not really sure... Just + # implementing what was already the behavior. + newdeplibs=$deplibs + ;; + test_compile) + # This code stresses the "libraries are programs" paradigm to its + # limits. Maybe even breaks it. We compile a program, linking it + # against the deplibs as a proxy for the library. Then we can check + # whether they linked in statically or dynamically with ldd. + $opt_dry_run || $RM conftest.c + cat > conftest.c </dev/null` + $nocaseglob + else + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` + fi + for potent_lib in $potential_libs; do + # Follow soft links. + if ls -lLd "$potent_lib" 2>/dev/null | + $GREP " -> " >/dev/null; then + continue + fi + # The statement above tries to avoid entering an + # endless loop below, in case of cyclic links. + # We might still enter an endless loop, since a link + # loop can be closed while we follow links, + # but so what? + potlib=$potent_lib + while test -h "$potlib" 2>/dev/null; do + potliblink=`ls -ld $potlib | $SED 's/.* -> //'` + case $potliblink in + [\\/]* | [A-Za-z]:[\\/]*) potlib=$potliblink;; + *) potlib=`$ECHO "$potlib" | $SED 's|[^/]*$||'`"$potliblink";; + esac + done + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | + $SED -e 10q | + $EGREP "$file_magic_regex" > /dev/null; then + func_append newdeplibs " $a_deplib" + a_deplib= + break 2 + fi + done + done + fi + if test -n "$a_deplib"; then + droppeddeps=yes + echo + $ECHO "*** Warning: linker path does not have real file for library $a_deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib"; then + $ECHO "*** with $libname but no candidates were found. (...for file magic test)" + else + $ECHO "*** with $libname and none of the candidates passed a file format test" + $ECHO "*** using a file magic. Last file checked: $potlib" + fi + fi + ;; + *) + # Add a -L argument. + func_append newdeplibs " $a_deplib" + ;; + esac + done # Gone through all deplibs. + ;; + match_pattern*) + set dummy $deplibs_check_method; shift + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` + for a_deplib in $deplibs; do + case $a_deplib in + -l*) + func_stripname -l '' "$a_deplib" + name=$func_stripname_result + if test yes = "$allow_libtool_libs_with_static_runtimes"; then + case " $predeps $postdeps " in + *" $a_deplib "*) + func_append newdeplibs " $a_deplib" + a_deplib= + ;; + esac + fi + if test -n "$a_deplib"; then + libname=`eval "\\$ECHO \"$libname_spec\""` + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do + potential_libs=`ls $i/$libname[.-]* 2>/dev/null` + for potent_lib in $potential_libs; do + potlib=$potent_lib # see symlink-check above in file_magic test + if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ + $EGREP "$match_pattern_regex" > /dev/null; then + func_append newdeplibs " $a_deplib" + a_deplib= + break 2 + fi + done + done + fi + if test -n "$a_deplib"; then + droppeddeps=yes + echo + $ECHO "*** Warning: linker path does not have real file for library $a_deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib"; then + $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" + else + $ECHO "*** with $libname and none of the candidates passed a file format test" + $ECHO "*** using a regex pattern. Last file checked: $potlib" + fi + fi + ;; + *) + # Add a -L argument. + func_append newdeplibs " $a_deplib" + ;; + esac + done # Gone through all deplibs. + ;; + none | unknown | *) + newdeplibs= + tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` + if test yes = "$allow_libtool_libs_with_static_runtimes"; then + for i in $predeps $postdeps; do + # can't use Xsed below, because $i might contain '/' + tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s|$i||"` + done + fi + case $tmp_deplibs in + *[!\ \ ]*) + echo + if test none = "$deplibs_check_method"; then + echo "*** Warning: inter-library dependencies are not supported in this platform." + else + echo "*** Warning: inter-library dependencies are not known to be supported." + fi + echo "*** All declared inter-library dependencies are being dropped." + droppeddeps=yes + ;; + esac + ;; + esac + versuffix=$versuffix_save + major=$major_save + release=$release_save + libname=$libname_save + name=$name_save + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library with the System framework + newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` + ;; + esac + + if test yes = "$droppeddeps"; then + if test yes = "$module"; then + echo + echo "*** Warning: libtool could not satisfy all declared inter-library" + $ECHO "*** dependencies of module $libname. Therefore, libtool will create" + echo "*** a static module, that should work as long as the dlopening" + echo "*** application is linked with the -dlopen flag." + if test -z "$global_symbol_pipe"; then + echo + echo "*** However, this would only work if libtool was able to extract symbol" + echo "*** lists from a program, using 'nm' or equivalent, but libtool could" + echo "*** not find such a program. So, this module is probably useless." + echo "*** 'nm' from GNU binutils and a full rebuild may help." + fi + if test no = "$build_old_libs"; then + oldlibs=$output_objdir/$libname.$libext + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + else + echo "*** The inter-library dependencies that have been dropped here will be" + echo "*** automatically added whenever a program is linked with this library" + echo "*** or is declared to -dlopen it." + + if test no = "$allow_undefined"; then + echo + echo "*** Since this library must not contain undefined symbols," + echo "*** because either the platform does not support them or" + echo "*** it was explicitly requested with -no-undefined," + echo "*** libtool will only create a static version of it." + if test no = "$build_old_libs"; then + oldlibs=$output_objdir/$libname.$libext + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + fi + fi + # Done checking deplibs! + deplibs=$newdeplibs + fi + # Time to change all our "foo.ltframework" stuff back to "-framework foo" + case $host in + *-*-darwin*) + newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + ;; + esac + + # move library search paths that coincide with paths to not yet + # installed libraries to the beginning of the library search list + new_libs= + for path in $notinst_path; do + case " $new_libs " in + *" -L$path/$objdir "*) ;; + *) + case " $deplibs " in + *" -L$path/$objdir "*) + func_append new_libs " -L$path/$objdir" ;; + esac + ;; + esac + done + for deplib in $deplibs; do + case $deplib in + -L*) + case " $new_libs " in + *" $deplib "*) ;; + *) func_append new_libs " $deplib" ;; + esac + ;; + *) func_append new_libs " $deplib" ;; + esac + done + deplibs=$new_libs + + # All the library-specific variables (install_libdir is set above). + library_names= + old_library= + dlname= + + # Test again, we may have decided not to build it any more + if test yes = "$build_libtool_libs"; then + # Remove $wl instances when linking with ld. + # FIXME: should test the right _cmds variable. + case $archive_cmds in + *\$LD\ *) wl= ;; + esac + if test yes = "$hardcode_into_libs"; then + # Hardcode the library paths + hardcode_libdirs= + dep_rpath= + rpath=$finalize_rpath + test relink = "$opt_mode" || rpath=$compile_rpath$rpath + for libdir in $rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + func_replace_sysroot "$libdir" + libdir=$func_replace_sysroot_result + if test -z "$hardcode_libdirs"; then + hardcode_libdirs=$libdir + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + func_append dep_rpath " $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) func_append perm_rpath " $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir=$hardcode_libdirs + eval "dep_rpath=\"$hardcode_libdir_flag_spec\"" + fi + if test -n "$runpath_var" && test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + func_append rpath "$dir:" + done + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" + fi + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" + fi + + shlibpath=$finalize_shlibpath + test relink = "$opt_mode" || shlibpath=$compile_shlibpath$shlibpath + if test -n "$shlibpath"; then + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" + fi + + # Get the real and link names of the library. + eval shared_ext=\"$shrext_cmds\" + eval library_names=\"$library_names_spec\" + set dummy $library_names + shift + realname=$1 + shift + + if test -n "$soname_spec"; then + eval soname=\"$soname_spec\" + else + soname=$realname + fi + if test -z "$dlname"; then + dlname=$soname + fi + + lib=$output_objdir/$realname + linknames= + for link + do + func_append linknames " $link" + done + + # Use standard objects if they are pic + test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` + test "X$libobjs" = "X " && libobjs= + + delfiles= + if test -n "$export_symbols" && test -n "$include_expsyms"; then + $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" + export_symbols=$output_objdir/$libname.uexp + func_append delfiles " $export_symbols" + fi + + orig_export_symbols= + case $host_os in + cygwin* | mingw* | cegcc*) + if test -n "$export_symbols" && test -z "$export_symbols_regex"; then + # exporting using user supplied symfile + func_dll_def_p "$export_symbols" || { + # and it's NOT already a .def file. Must figure out + # which of the given symbols are data symbols and tag + # them as such. So, trigger use of export_symbols_cmds. + # export_symbols gets reassigned inside the "prepare + # the list of exported symbols" if statement, so the + # include_expsyms logic still works. + orig_export_symbols=$export_symbols + export_symbols= + always_export_symbols=yes + } + fi + ;; + esac + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + if test yes = "$always_export_symbols" || test -n "$export_symbols_regex"; then + func_verbose "generating symbol list for '$libname.la'" + export_symbols=$output_objdir/$libname.exp + $opt_dry_run || $RM $export_symbols + cmds=$export_symbols_cmds + save_ifs=$IFS; IFS='~' + for cmd1 in $cmds; do + IFS=$save_ifs + # Take the normal branch if the nm_file_list_spec branch + # doesn't work or if tool conversion is not needed. + case $nm_file_list_spec~$to_tool_file_cmd in + *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) + try_normal_branch=yes + eval cmd=\"$cmd1\" + func_len " $cmd" + len=$func_len_result + ;; + *) + try_normal_branch=no + ;; + esac + if test yes = "$try_normal_branch" \ + && { test "$len" -lt "$max_cmd_len" \ + || test "$max_cmd_len" -le -1; } + then + func_show_eval "$cmd" 'exit $?' + skipped_export=false + elif test -n "$nm_file_list_spec"; then + func_basename "$output" + output_la=$func_basename_result + save_libobjs=$libobjs + save_output=$output + output=$output_objdir/$output_la.nm + func_to_tool_file "$output" + libobjs=$nm_file_list_spec$func_to_tool_file_result + func_append delfiles " $output" + func_verbose "creating $NM input file list: $output" + for obj in $save_libobjs; do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" + done > "$output" + eval cmd=\"$cmd1\" + func_show_eval "$cmd" 'exit $?' + output=$save_output + libobjs=$save_libobjs + skipped_export=false + else + # The command line is too long to execute in one step. + func_verbose "using reloadable object file for export list..." + skipped_export=: + # Break out early, otherwise skipped_export may be + # set to false by a later but shorter cmd. + break + fi + done + IFS=$save_ifs + if test -n "$export_symbols_regex" && test : != "$skipped_export"; then + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + func_show_eval '$MV "${export_symbols}T" "$export_symbols"' + fi + fi + fi + + if test -n "$export_symbols" && test -n "$include_expsyms"; then + tmp_export_symbols=$export_symbols + test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' + fi + + if test : != "$skipped_export" && test -n "$orig_export_symbols"; then + # The given exports_symbols file has to be filtered, so filter it. + func_verbose "filter symbol list for '$libname.la' to tag DATA exports" + # FIXME: $output_objdir/$libname.filter potentially contains lots of + # 's' commands, which not all seds can handle. GNU sed should be fine + # though. Also, the filter scales superlinearly with the number of + # global variables. join(1) would be nice here, but unfortunately + # isn't a blessed tool. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter + func_append delfiles " $export_symbols $output_objdir/$libname.filter" + export_symbols=$output_objdir/$libname.def + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols + fi + + tmp_deplibs= + for test_deplib in $deplibs; do + case " $convenience " in + *" $test_deplib "*) ;; + *) + func_append tmp_deplibs " $test_deplib" + ;; + esac + done + deplibs=$tmp_deplibs + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec" && + test yes = "$compiler_needs_object" && + test -z "$libobjs"; then + # extract the archives, so we have objects to list. + # TODO: could optimize this to just extract one archive. + whole_archive_flag_spec= + fi + if test -n "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + test "X$libobjs" = "X " && libobjs= + else + gentop=$output_objdir/${outputname}x + func_append generated " $gentop" + + func_extract_archives $gentop $convenience + func_append libobjs " $func_extract_archives_result" + test "X$libobjs" = "X " && libobjs= + fi + fi + + if test yes = "$thread_safe" && test -n "$thread_safe_flag_spec"; then + eval flag=\"$thread_safe_flag_spec\" + func_append linker_flags " $flag" + fi + + # Make a backup of the uninstalled library when relinking + if test relink = "$opt_mode"; then + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? + fi + + # Do each of the archive commands. + if test yes = "$module" && test -n "$module_cmds"; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + eval test_cmds=\"$module_expsym_cmds\" + cmds=$module_expsym_cmds + else + eval test_cmds=\"$module_cmds\" + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + eval test_cmds=\"$archive_expsym_cmds\" + cmds=$archive_expsym_cmds + else + eval test_cmds=\"$archive_cmds\" + cmds=$archive_cmds + fi + fi + + if test : != "$skipped_export" && + func_len " $test_cmds" && + len=$func_len_result && + test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then + : + else + # The command line is too long to link in one step, link piecewise + # or, if using GNU ld and skipped_export is not :, use a linker + # script. + + # Save the value of $output and $libobjs because we want to + # use them later. If we have whole_archive_flag_spec, we + # want to use save_libobjs as it was before + # whole_archive_flag_spec was expanded, because we can't + # assume the linker understands whole_archive_flag_spec. + # This may have to be revisited, in case too many + # convenience libraries get linked in and end up exceeding + # the spec. + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + fi + save_output=$output + func_basename "$output" + output_la=$func_basename_result + + # Clear the reloadable object creation command queue and + # initialize k to one. + test_cmds= + concat_cmds= + objlist= + last_robj= + k=1 + + if test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then + output=$output_objdir/$output_la.lnkscript + func_verbose "creating GNU ld script: $output" + echo 'INPUT (' > $output + for obj in $save_libobjs + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" >> $output + done + echo ')' >> $output + func_append delfiles " $output" + func_to_tool_file "$output" + output=$func_to_tool_file_result + elif test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then + output=$output_objdir/$output_la.lnk + func_verbose "creating linker input file list: $output" + : > $output + set x $save_libobjs + shift + firstobj= + if test yes = "$compiler_needs_object"; then + firstobj="$1 " + shift + fi + for obj + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" >> $output + done + func_append delfiles " $output" + func_to_tool_file "$output" + output=$firstobj\"$file_list_spec$func_to_tool_file_result\" + else + if test -n "$save_libobjs"; then + func_verbose "creating reloadable object files..." + output=$output_objdir/$output_la-$k.$objext + eval test_cmds=\"$reload_cmds\" + func_len " $test_cmds" + len0=$func_len_result + len=$len0 + + # Loop over the list of objects to be linked. + for obj in $save_libobjs + do + func_len " $obj" + func_arith $len + $func_len_result + len=$func_arith_result + if test -z "$objlist" || + test "$len" -lt "$max_cmd_len"; then + func_append objlist " $obj" + else + # The command $test_cmds is almost too long, add a + # command to the queue. + if test 1 -eq "$k"; then + # The first file doesn't have a previous command to add. + reload_objs=$objlist + eval concat_cmds=\"$reload_cmds\" + else + # All subsequent reloadable object files will link in + # the last one created. + reload_objs="$objlist $last_robj" + eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\" + fi + last_robj=$output_objdir/$output_la-$k.$objext + func_arith $k + 1 + k=$func_arith_result + output=$output_objdir/$output_la-$k.$objext + objlist=" $obj" + func_len " $last_robj" + func_arith $len0 + $func_len_result + len=$func_arith_result + fi + done + # Handle the remaining objects by creating one last + # reloadable object file. All subsequent reloadable object + # files will link in the last one created. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + reload_objs="$objlist $last_robj" + eval concat_cmds=\"\$concat_cmds$reload_cmds\" + if test -n "$last_robj"; then + eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" + fi + func_append delfiles " $output" + + else + output= + fi + + ${skipped_export-false} && { + func_verbose "generating symbol list for '$libname.la'" + export_symbols=$output_objdir/$libname.exp + $opt_dry_run || $RM $export_symbols + libobjs=$output + # Append the command to create the export file. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" + if test -n "$last_robj"; then + eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" + fi + } + + test -n "$save_libobjs" && + func_verbose "creating a temporary reloadable object file: $output" + + # Loop through the commands generated above and execute them. + save_ifs=$IFS; IFS='~' + for cmd in $concat_cmds; do + IFS=$save_ifs + $opt_quiet || { + func_quote_for_expand "$cmd" + eval "func_echo $func_quote_for_expand_result" + } + $opt_dry_run || eval "$cmd" || { + lt_exit=$? + + # Restore the uninstalled library and exit + if test relink = "$opt_mode"; then + ( cd "$output_objdir" && \ + $RM "${realname}T" && \ + $MV "${realname}U" "$realname" ) + fi + + exit $lt_exit + } + done + IFS=$save_ifs + + if test -n "$export_symbols_regex" && ${skipped_export-false}; then + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + func_show_eval '$MV "${export_symbols}T" "$export_symbols"' + fi + fi + + ${skipped_export-false} && { + if test -n "$export_symbols" && test -n "$include_expsyms"; then + tmp_export_symbols=$export_symbols + test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' + fi + + if test -n "$orig_export_symbols"; then + # The given exports_symbols file has to be filtered, so filter it. + func_verbose "filter symbol list for '$libname.la' to tag DATA exports" + # FIXME: $output_objdir/$libname.filter potentially contains lots of + # 's' commands, which not all seds can handle. GNU sed should be fine + # though. Also, the filter scales superlinearly with the number of + # global variables. join(1) would be nice here, but unfortunately + # isn't a blessed tool. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter + func_append delfiles " $export_symbols $output_objdir/$libname.filter" + export_symbols=$output_objdir/$libname.def + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols + fi + } + + libobjs=$output + # Restore the value of output. + output=$save_output + + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + test "X$libobjs" = "X " && libobjs= + fi + # Expand the library linking commands again to reset the + # value of $libobjs for piecewise linking. + + # Do each of the archive commands. + if test yes = "$module" && test -n "$module_cmds"; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + cmds=$module_expsym_cmds + else + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + cmds=$archive_expsym_cmds + else + cmds=$archive_cmds + fi + fi + fi + + if test -n "$delfiles"; then + # Append the command to remove temporary files to $cmds. + eval cmds=\"\$cmds~\$RM $delfiles\" + fi + + # Add any objects from preloaded convenience libraries + if test -n "$dlprefiles"; then + gentop=$output_objdir/${outputname}x + func_append generated " $gentop" + + func_extract_archives $gentop $dlprefiles + func_append libobjs " $func_extract_archives_result" + test "X$libobjs" = "X " && libobjs= + fi + + save_ifs=$IFS; IFS='~' + for cmd in $cmds; do + IFS=$sp$nl + eval cmd=\"$cmd\" + IFS=$save_ifs + $opt_quiet || { + func_quote_for_expand "$cmd" + eval "func_echo $func_quote_for_expand_result" + } + $opt_dry_run || eval "$cmd" || { + lt_exit=$? + + # Restore the uninstalled library and exit + if test relink = "$opt_mode"; then + ( cd "$output_objdir" && \ + $RM "${realname}T" && \ + $MV "${realname}U" "$realname" ) + fi + + exit $lt_exit + } + done + IFS=$save_ifs + + # Restore the uninstalled library and exit + if test relink = "$opt_mode"; then + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? + + if test -n "$convenience"; then + if test -z "$whole_archive_flag_spec"; then + func_show_eval '${RM}r "$gentop"' + fi + fi + + exit $EXIT_SUCCESS + fi + + # Create links to the real library. + for linkname in $linknames; do + if test "$realname" != "$linkname"; then + func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' + fi + done + + # If -module or -export-dynamic was specified, set the dlname. + if test yes = "$module" || test yes = "$export_dynamic"; then + # On all known operating systems, these are identical. + dlname=$soname + fi + fi + ;; + + obj) + if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then + func_warning "'-dlopen' is ignored for objects" + fi + + case " $deplibs" in + *\ -l* | *\ -L*) + func_warning "'-l' and '-L' are ignored for objects" ;; + esac + + test -n "$rpath" && \ + func_warning "'-rpath' is ignored for objects" + + test -n "$xrpath" && \ + func_warning "'-R' is ignored for objects" + + test -n "$vinfo" && \ + func_warning "'-version-info' is ignored for objects" + + test -n "$release" && \ + func_warning "'-release' is ignored for objects" + + case $output in + *.lo) + test -n "$objs$old_deplibs" && \ + func_fatal_error "cannot build library object '$output' from non-libtool objects" + + libobj=$output + func_lo2o "$libobj" + obj=$func_lo2o_result + ;; + *) + libobj= + obj=$output + ;; + esac + + # Delete the old objects. + $opt_dry_run || $RM $obj $libobj + + # Objects from convenience libraries. This assumes + # single-version convenience libraries. Whenever we create + # different ones for PIC/non-PIC, this we'll have to duplicate + # the extraction. + reload_conv_objs= + gentop= + # if reload_cmds runs $LD directly, get rid of -Wl from + # whole_archive_flag_spec and hope we can get by with turning comma + # into space. + case $reload_cmds in + *\$LD[\ \$]*) wl= ;; + esac + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" + test -n "$wl" || tmp_whole_archive_flags=`$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` + reload_conv_objs=$reload_objs\ $tmp_whole_archive_flags + else + gentop=$output_objdir/${obj}x + func_append generated " $gentop" + + func_extract_archives $gentop $convenience + reload_conv_objs="$reload_objs $func_extract_archives_result" + fi + fi + + # If we're not building shared, we need to use non_pic_objs + test yes = "$build_libtool_libs" || libobjs=$non_pic_objects + + # Create the old-style object. + reload_objs=$objs$old_deplibs' '`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; /\.lib$/d; $lo2o" | $NL2SP`' '$reload_conv_objs + + output=$obj + func_execute_cmds "$reload_cmds" 'exit $?' + + # Exit if we aren't doing a library object file. + if test -z "$libobj"; then + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + exit $EXIT_SUCCESS + fi + + test yes = "$build_libtool_libs" || { + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + # Create an invalid libtool object if no PIC, so that we don't + # accidentally link it into a program. + # $show "echo timestamp > $libobj" + # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? + exit $EXIT_SUCCESS + } + + if test -n "$pic_flag" || test default != "$pic_mode"; then + # Only do commands if we really have different PIC objects. + reload_objs="$libobjs $reload_conv_objs" + output=$libobj + func_execute_cmds "$reload_cmds" 'exit $?' + fi + + if test -n "$gentop"; then + func_show_eval '${RM}r "$gentop"' + fi + + exit $EXIT_SUCCESS + ;; + + prog) + case $host in + *cygwin*) func_stripname '' '.exe' "$output" + output=$func_stripname_result.exe;; + esac + test -n "$vinfo" && \ + func_warning "'-version-info' is ignored for programs" + + test -n "$release" && \ + func_warning "'-release' is ignored for programs" + + $preload \ + && test unknown,unknown,unknown = "$dlopen_support,$dlopen_self,$dlopen_self_static" \ + && func_warning "'LT_INIT([dlopen])' not used. Assuming no dlopen support." + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library is the System framework + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` + ;; + esac + + case $host in + *-*-darwin*) + # Don't allow lazy linking, it breaks C++ global constructors + # But is supposedly fixed on 10.4 or later (yay!). + if test CXX = "$tagname"; then + case ${MACOSX_DEPLOYMENT_TARGET-10.0} in + 10.[0123]) + func_append compile_command " $wl-bind_at_load" + func_append finalize_command " $wl-bind_at_load" + ;; + esac + fi + # Time to change all our "foo.ltframework" stuff back to "-framework foo" + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + ;; + esac + + + # move library search paths that coincide with paths to not yet + # installed libraries to the beginning of the library search list + new_libs= + for path in $notinst_path; do + case " $new_libs " in + *" -L$path/$objdir "*) ;; + *) + case " $compile_deplibs " in + *" -L$path/$objdir "*) + func_append new_libs " -L$path/$objdir" ;; + esac + ;; + esac + done + for deplib in $compile_deplibs; do + case $deplib in + -L*) + case " $new_libs " in + *" $deplib "*) ;; + *) func_append new_libs " $deplib" ;; + esac + ;; + *) func_append new_libs " $deplib" ;; + esac + done + compile_deplibs=$new_libs + + + func_append compile_command " $compile_deplibs" + func_append finalize_command " $finalize_deplibs" + + if test -n "$rpath$xrpath"; then + # If the user specified any rpath flags, then add them. + for libdir in $rpath $xrpath; do + # This is the magic to use -rpath. + case "$finalize_rpath " in + *" $libdir "*) ;; + *) func_append finalize_rpath " $libdir" ;; + esac + done + fi + + # Now hardcode the library paths + rpath= + hardcode_libdirs= + for libdir in $compile_rpath $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs=$libdir + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + func_append rpath " $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) func_append perm_rpath " $libdir" ;; + esac + fi + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) + testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$libdir:"*) ;; + ::) dllsearchpath=$libdir;; + *) func_append dllsearchpath ":$libdir";; + esac + case :$dllsearchpath: in + *":$testbindir:"*) ;; + ::) dllsearchpath=$testbindir;; + *) func_append dllsearchpath ":$testbindir";; + esac + ;; + esac + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir=$hardcode_libdirs + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + compile_rpath=$rpath + + rpath= + hardcode_libdirs= + for libdir in $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs=$libdir + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + func_append rpath " $flag" + fi + elif test -n "$runpath_var"; then + case "$finalize_perm_rpath " in + *" $libdir "*) ;; + *) func_append finalize_perm_rpath " $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir=$hardcode_libdirs + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + finalize_rpath=$rpath + + if test -n "$libobjs" && test yes = "$build_old_libs"; then + # Transform all the library objects into standard objects. + compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` + finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` + fi + + func_generate_dlsyms "$outputname" "@PROGRAM@" false + + # template prelinking step + if test -n "$prelink_cmds"; then + func_execute_cmds "$prelink_cmds" 'exit $?' + fi + + wrappers_required=: + case $host in + *cegcc* | *mingw32ce*) + # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. + wrappers_required=false + ;; + *cygwin* | *mingw* ) + test yes = "$build_libtool_libs" || wrappers_required=false + ;; + *) + if test no = "$need_relink" || test yes != "$build_libtool_libs"; then + wrappers_required=false + fi + ;; + esac + $wrappers_required || { + # Replace the output file specification. + compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'` + link_command=$compile_command$compile_rpath + + # We have no uninstalled library dependencies, so finalize right now. + exit_status=0 + func_show_eval "$link_command" 'exit_status=$?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + + # Delete the generated files. + if test -f "$output_objdir/${outputname}S.$objext"; then + func_show_eval '$RM "$output_objdir/${outputname}S.$objext"' + fi + + exit $exit_status + } + + if test -n "$compile_shlibpath$finalize_shlibpath"; then + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" + fi + if test -n "$finalize_shlibpath"; then + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" + fi + + compile_var= + finalize_var= + if test -n "$runpath_var"; then + if test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + func_append rpath "$dir:" + done + compile_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + if test -n "$finalize_perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $finalize_perm_rpath; do + func_append rpath "$dir:" + done + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + fi + + if test yes = "$no_install"; then + # We don't need to create a wrapper script. + link_command=$compile_var$compile_command$compile_rpath + # Replace the output file specification. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'` + # Delete the old output file. + $opt_dry_run || $RM $output + # Link the executable and exit + func_show_eval "$link_command" 'exit $?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + + exit $EXIT_SUCCESS + fi + + case $hardcode_action,$fast_install in + relink,*) + # Fast installation is not supported + link_command=$compile_var$compile_command$compile_rpath + relink_command=$finalize_var$finalize_command$finalize_rpath + + func_warning "this platform does not like uninstalled shared libraries" + func_warning "'$output' will be relinked during installation" + ;; + *,yes) + link_command=$finalize_var$compile_command$finalize_rpath + relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` + ;; + *,no) + link_command=$compile_var$compile_command$compile_rpath + relink_command=$finalize_var$finalize_command$finalize_rpath + ;; + *,needless) + link_command=$finalize_var$compile_command$finalize_rpath + relink_command= + ;; + esac + + # Replace the output file specification. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` + + # Delete the old output files. + $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname + + func_show_eval "$link_command" 'exit $?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output_objdir/$outputname" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + + # Now create the wrapper script. + func_verbose "creating $output" + + # Quote the relink command for shipping. + if test -n "$relink_command"; then + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + func_quote_for_eval "$var_value" + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" + fi + done + relink_command="(cd `pwd`; $relink_command)" + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` + fi + + # Only actually do things if not in dry run mode. + $opt_dry_run || { + # win32 will think the script is a binary if it has + # a .exe suffix, so we strip it off here. + case $output in + *.exe) func_stripname '' '.exe' "$output" + output=$func_stripname_result ;; + esac + # test for cygwin because mv fails w/o .exe extensions + case $host in + *cygwin*) + exeext=.exe + func_stripname '' '.exe' "$outputname" + outputname=$func_stripname_result ;; + *) exeext= ;; + esac + case $host in + *cygwin* | *mingw* ) + func_dirname_and_basename "$output" "" "." + output_name=$func_basename_result + output_path=$func_dirname_result + cwrappersource=$output_path/$objdir/lt-$output_name.c + cwrapper=$output_path/$output_name.exe + $RM $cwrappersource $cwrapper + trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 + + func_emit_cwrapperexe_src > $cwrappersource + + # The wrapper executable is built using the $host compiler, + # because it contains $host paths and files. If cross- + # compiling, it, like the target executable, must be + # executed on the $host or under an emulation environment. + $opt_dry_run || { + $LTCC $LTCFLAGS -o $cwrapper $cwrappersource + $STRIP $cwrapper + } + + # Now, create the wrapper script for func_source use: + func_ltwrapper_scriptname $cwrapper + $RM $func_ltwrapper_scriptname_result + trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 + $opt_dry_run || { + # note: this script will not be executed, so do not chmod. + if test "x$build" = "x$host"; then + $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result + else + func_emit_wrapper no > $func_ltwrapper_scriptname_result + fi + } + ;; + * ) + $RM $output + trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 + + func_emit_wrapper no > $output + chmod +x $output + ;; + esac + } + exit $EXIT_SUCCESS + ;; + esac + + # See if we need to build an old-fashioned archive. + for oldlib in $oldlibs; do + + case $build_libtool_libs in + convenience) + oldobjs="$libobjs_save $symfileobj" + addlibs=$convenience + build_libtool_libs=no + ;; + module) + oldobjs=$libobjs_save + addlibs=$old_convenience + build_libtool_libs=no + ;; + *) + oldobjs="$old_deplibs $non_pic_objects" + $preload && test -f "$symfileobj" \ + && func_append oldobjs " $symfileobj" + addlibs=$old_convenience + ;; + esac + + if test -n "$addlibs"; then + gentop=$output_objdir/${outputname}x + func_append generated " $gentop" + + func_extract_archives $gentop $addlibs + func_append oldobjs " $func_extract_archives_result" + fi + + # Do each command in the archive commands. + if test -n "$old_archive_from_new_cmds" && test yes = "$build_libtool_libs"; then + cmds=$old_archive_from_new_cmds + else + + # Add any objects from preloaded convenience libraries + if test -n "$dlprefiles"; then + gentop=$output_objdir/${outputname}x + func_append generated " $gentop" + + func_extract_archives $gentop $dlprefiles + func_append oldobjs " $func_extract_archives_result" + fi + + # POSIX demands no paths to be encoded in archives. We have + # to avoid creating archives with duplicate basenames if we + # might have to extract them afterwards, e.g., when creating a + # static archive out of a convenience library, or when linking + # the entirety of a libtool archive into another (currently + # not supported by libtool). + if (for obj in $oldobjs + do + func_basename "$obj" + $ECHO "$func_basename_result" + done | sort | sort -uc >/dev/null 2>&1); then + : + else + echo "copying selected object files to avoid basename conflicts..." + gentop=$output_objdir/${outputname}x + func_append generated " $gentop" + func_mkdir_p "$gentop" + save_oldobjs=$oldobjs + oldobjs= + counter=1 + for obj in $save_oldobjs + do + func_basename "$obj" + objbase=$func_basename_result + case " $oldobjs " in + " ") oldobjs=$obj ;; + *[\ /]"$objbase "*) + while :; do + # Make sure we don't pick an alternate name that also + # overlaps. + newobj=lt$counter-$objbase + func_arith $counter + 1 + counter=$func_arith_result + case " $oldobjs " in + *[\ /]"$newobj "*) ;; + *) if test ! -f "$gentop/$newobj"; then break; fi ;; + esac + done + func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" + func_append oldobjs " $gentop/$newobj" + ;; + *) func_append oldobjs " $obj" ;; + esac + done + fi + func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 + tool_oldlib=$func_to_tool_file_result + eval cmds=\"$old_archive_cmds\" + + func_len " $cmds" + len=$func_len_result + if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then + cmds=$old_archive_cmds + elif test -n "$archiver_list_spec"; then + func_verbose "using command file archive linking..." + for obj in $oldobjs + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" + done > $output_objdir/$libname.libcmd + func_to_tool_file "$output_objdir/$libname.libcmd" + oldobjs=" $archiver_list_spec$func_to_tool_file_result" + cmds=$old_archive_cmds + else + # the command line is too long to link in one step, link in parts + func_verbose "using piecewise archive linking..." + save_RANLIB=$RANLIB + RANLIB=: + objlist= + concat_cmds= + save_oldobjs=$oldobjs + oldobjs= + # Is there a better way of finding the last object in the list? + for obj in $save_oldobjs + do + last_oldobj=$obj + done + eval test_cmds=\"$old_archive_cmds\" + func_len " $test_cmds" + len0=$func_len_result + len=$len0 + for obj in $save_oldobjs + do + func_len " $obj" + func_arith $len + $func_len_result + len=$func_arith_result + func_append objlist " $obj" + if test "$len" -lt "$max_cmd_len"; then + : + else + # the above command should be used before it gets too long + oldobjs=$objlist + if test "$obj" = "$last_oldobj"; then + RANLIB=$save_RANLIB + fi + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\$concat_cmds$old_archive_cmds\" + objlist= + len=$len0 + fi + done + RANLIB=$save_RANLIB + oldobjs=$objlist + if test -z "$oldobjs"; then + eval cmds=\"\$concat_cmds\" + else + eval cmds=\"\$concat_cmds~\$old_archive_cmds\" + fi + fi + fi + func_execute_cmds "$cmds" 'exit $?' + done + + test -n "$generated" && \ + func_show_eval "${RM}r$generated" + + # Now create the libtool archive. + case $output in + *.la) + old_library= + test yes = "$build_old_libs" && old_library=$libname.$libext + func_verbose "creating $output" + + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + func_quote_for_eval "$var_value" + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" + fi + done + # Quote the link command for shipping. + relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` + if test yes = "$hardcode_automatic"; then + relink_command= + fi + + # Only create the output if not a dry run. + $opt_dry_run || { + for installed in no yes; do + if test yes = "$installed"; then + if test -z "$install_libdir"; then + break + fi + output=$output_objdir/${outputname}i + # Replace all uninstalled libtool libraries with the installed ones + newdependency_libs= + for deplib in $dependency_libs; do + case $deplib in + *.la) + func_basename "$deplib" + name=$func_basename_result + func_resolve_sysroot "$deplib" + eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result` + test -z "$libdir" && \ + func_fatal_error "'$deplib' is not a valid libtool archive" + func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name" + ;; + -L*) + func_stripname -L '' "$deplib" + func_replace_sysroot "$func_stripname_result" + func_append newdependency_libs " -L$func_replace_sysroot_result" + ;; + -R*) + func_stripname -R '' "$deplib" + func_replace_sysroot "$func_stripname_result" + func_append newdependency_libs " -R$func_replace_sysroot_result" + ;; + *) func_append newdependency_libs " $deplib" ;; + esac + done + dependency_libs=$newdependency_libs + newdlfiles= + + for lib in $dlfiles; do + case $lib in + *.la) + func_basename "$lib" + name=$func_basename_result + eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + test -z "$libdir" && \ + func_fatal_error "'$lib' is not a valid libtool archive" + func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name" + ;; + *) func_append newdlfiles " $lib" ;; + esac + done + dlfiles=$newdlfiles + newdlprefiles= + for lib in $dlprefiles; do + case $lib in + *.la) + # Only pass preopened files to the pseudo-archive (for + # eventual linking with the app. that links it) if we + # didn't already link the preopened objects directly into + # the library: + func_basename "$lib" + name=$func_basename_result + eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + test -z "$libdir" && \ + func_fatal_error "'$lib' is not a valid libtool archive" + func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name" + ;; + esac + done + dlprefiles=$newdlprefiles + else + newdlfiles= + for lib in $dlfiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;; + *) abs=`pwd`"/$lib" ;; + esac + func_append newdlfiles " $abs" + done + dlfiles=$newdlfiles + newdlprefiles= + for lib in $dlprefiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;; + *) abs=`pwd`"/$lib" ;; + esac + func_append newdlprefiles " $abs" + done + dlprefiles=$newdlprefiles + fi + $RM $output + # place dlname in correct position for cygwin + # In fact, it would be nice if we could use this code for all target + # systems that can't hard-code library paths into their executables + # and that have no shared library path variable independent of PATH, + # but it turns out we can't easily determine that from inspecting + # libtool variables, so we have to hard-code the OSs to which it + # applies here; at the moment, that means platforms that use the PE + # object format with DLL files. See the long comment at the top of + # tests/bindir.at for full details. + tdlname=$dlname + case $host,$output,$installed,$module,$dlname in + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) + # If a -bindir argument was supplied, place the dll there. + if test -n "$bindir"; then + func_relative_path "$install_libdir" "$bindir" + tdlname=$func_relative_path_result/$dlname + else + # Otherwise fall back on heuristic. + tdlname=../bin/$dlname + fi + ;; + esac + $ECHO > $output "\ +# $outputname - a libtool library file +# Generated by $PROGRAM (GNU $PACKAGE) $VERSION +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='$tdlname' + +# Names of this library. +library_names='$library_names' + +# The name of the static archive. +old_library='$old_library' + +# Linker flags that cannot go in dependency_libs. +inherited_linker_flags='$new_inherited_linker_flags' + +# Libraries that this one depends upon. +dependency_libs='$dependency_libs' + +# Names of additional weak libraries provided by this library +weak_library_names='$weak_libs' + +# Version information for $libname. +current=$current +age=$age +revision=$revision + +# Is this an already installed library? +installed=$installed + +# Should we warn about portability when linking against -modules? +shouldnotlink=$module + +# Files to dlopen/dlpreopen +dlopen='$dlfiles' +dlpreopen='$dlprefiles' + +# Directory that this library needs to be installed in: +libdir='$install_libdir'" + if test no,yes = "$installed,$need_relink"; then + $ECHO >> $output "\ +relink_command=\"$relink_command\"" + fi + done + } + + # Do a symbolic link so that the libtool archive can be found in + # LD_LIBRARY_PATH before the program is installed. + func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' + ;; + esac + exit $EXIT_SUCCESS +} + +if test link = "$opt_mode" || test relink = "$opt_mode"; then + func_mode_link ${1+"$@"} +fi + + +# func_mode_uninstall arg... +func_mode_uninstall () +{ + $debug_cmd + + RM=$nonopt + files= + rmforce=false + exit_status=0 + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic=$magic + + for arg + do + case $arg in + -f) func_append RM " $arg"; rmforce=: ;; + -*) func_append RM " $arg" ;; + *) func_append files " $arg" ;; + esac + done + + test -z "$RM" && \ + func_fatal_help "you must specify an RM program" + + rmdirs= + + for file in $files; do + func_dirname "$file" "" "." + dir=$func_dirname_result + if test . = "$dir"; then + odir=$objdir + else + odir=$dir/$objdir + fi + func_basename "$file" + name=$func_basename_result + test uninstall = "$opt_mode" && odir=$dir + + # Remember odir for removal later, being careful to avoid duplicates + if test clean = "$opt_mode"; then + case " $rmdirs " in + *" $odir "*) ;; + *) func_append rmdirs " $odir" ;; + esac + fi + + # Don't error if the file doesn't exist and rm -f was used. + if { test -L "$file"; } >/dev/null 2>&1 || + { test -h "$file"; } >/dev/null 2>&1 || + test -f "$file"; then + : + elif test -d "$file"; then + exit_status=1 + continue + elif $rmforce; then + continue + fi + + rmfiles=$file + + case $name in + *.la) + # Possibly a libtool archive, so verify it. + if func_lalib_p "$file"; then + func_source $dir/$name + + # Delete the libtool libraries and symlinks. + for n in $library_names; do + func_append rmfiles " $odir/$n" + done + test -n "$old_library" && func_append rmfiles " $odir/$old_library" + + case $opt_mode in + clean) + case " $library_names " in + *" $dlname "*) ;; + *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;; + esac + test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i" + ;; + uninstall) + if test -n "$library_names"; then + # Do each command in the postuninstall commands. + func_execute_cmds "$postuninstall_cmds" '$rmforce || exit_status=1' + fi + + if test -n "$old_library"; then + # Do each command in the old_postuninstall commands. + func_execute_cmds "$old_postuninstall_cmds" '$rmforce || exit_status=1' + fi + # FIXME: should reinstall the best remaining shared library. + ;; + esac + fi + ;; + + *.lo) + # Possibly a libtool object, so verify it. + if func_lalib_p "$file"; then + + # Read the .lo file + func_source $dir/$name + + # Add PIC object to the list of files to remove. + if test -n "$pic_object" && test none != "$pic_object"; then + func_append rmfiles " $dir/$pic_object" + fi + + # Add non-PIC object to the list of files to remove. + if test -n "$non_pic_object" && test none != "$non_pic_object"; then + func_append rmfiles " $dir/$non_pic_object" + fi + fi + ;; + + *) + if test clean = "$opt_mode"; then + noexename=$name + case $file in + *.exe) + func_stripname '' '.exe' "$file" + file=$func_stripname_result + func_stripname '' '.exe' "$name" + noexename=$func_stripname_result + # $file with .exe has already been added to rmfiles, + # add $file without .exe + func_append rmfiles " $file" + ;; + esac + # Do a test to see if this is a libtool program. + if func_ltwrapper_p "$file"; then + if func_ltwrapper_executable_p "$file"; then + func_ltwrapper_scriptname "$file" + relink_command= + func_source $func_ltwrapper_scriptname_result + func_append rmfiles " $func_ltwrapper_scriptname_result" + else + relink_command= + func_source $dir/$noexename + fi + + # note $name still contains .exe if it was in $file originally + # as does the version of $file that was added into $rmfiles + func_append rmfiles " $odir/$name $odir/${name}S.$objext" + if test yes = "$fast_install" && test -n "$relink_command"; then + func_append rmfiles " $odir/lt-$name" + fi + if test "X$noexename" != "X$name"; then + func_append rmfiles " $odir/lt-$noexename.c" + fi + fi + fi + ;; + esac + func_show_eval "$RM $rmfiles" 'exit_status=1' + done + + # Try to remove the $objdir's in the directories where we deleted files + for dir in $rmdirs; do + if test -d "$dir"; then + func_show_eval "rmdir $dir >/dev/null 2>&1" + fi + done + + exit $exit_status +} + +if test uninstall = "$opt_mode" || test clean = "$opt_mode"; then + func_mode_uninstall ${1+"$@"} +fi + +test -z "$opt_mode" && { + help=$generic_help + func_fatal_help "you must specify a MODE" +} + +test -z "$exec_cmd" && \ + func_fatal_help "invalid operation mode '$opt_mode'" + +if test -n "$exec_cmd"; then + eval exec "$exec_cmd" + exit $EXIT_FAILURE +fi + +exit $exit_status + + +# The TAGs below are defined such that we never get into a situation +# where we disable both kinds of libraries. Given conflicting +# choices, we go for a static library, that is the most portable, +# since we can't tell whether shared libraries were disabled because +# the user asked for that or because the platform doesn't support +# them. This is particularly important on AIX, because we don't +# support having both static and shared libraries enabled at the same +# time on that platform, so we default to a shared-only configuration. +# If a disable-shared tag is given, we'll fallback to a static-only +# configuration. But we'll never go from static-only to shared-only. + +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared +build_libtool_libs=no +build_old_libs=yes +# ### END LIBTOOL TAG CONFIG: disable-shared + +# ### BEGIN LIBTOOL TAG CONFIG: disable-static +build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` +# ### END LIBTOOL TAG CONFIG: disable-static + +# Local Variables: +# mode:shell-script +# sh-indentation:2 +# End: diff --git a/config/missing b/config/missing new file mode 100755 index 0000000..b7e571e --- /dev/null +++ b/config/missing @@ -0,0 +1,215 @@ +#!/bin/sh +# Common wrapper for a few potentially missing GNU programs. + +scriptversion=2016-01-11.22; # UTC + +# Copyright (C) 1996-2017 Free Software Foundation, Inc. +# Originally written by Fran,cois Pinard , 1996. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +if test $# -eq 0; then + echo 1>&2 "Try '$0 --help' for more information" + exit 1 +fi + +case $1 in + + --is-lightweight) + # Used by our autoconf macros to check whether the available missing + # script is modern enough. + exit 0 + ;; + + --run) + # Back-compat with the calling convention used by older automake. + shift + ;; + + -h|--h|--he|--hel|--help) + echo "\ +$0 [OPTION]... PROGRAM [ARGUMENT]... + +Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due +to PROGRAM being missing or too old. + +Options: + -h, --help display this help and exit + -v, --version output version information and exit + +Supported PROGRAM values: + aclocal autoconf autoheader autom4te automake makeinfo + bison yacc flex lex help2man + +Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and +'g' are ignored when checking the name. + +Send bug reports to ." + exit $? + ;; + + -v|--v|--ve|--ver|--vers|--versi|--versio|--version) + echo "missing $scriptversion (GNU Automake)" + exit $? + ;; + + -*) + echo 1>&2 "$0: unknown '$1' option" + echo 1>&2 "Try '$0 --help' for more information" + exit 1 + ;; + +esac + +# Run the given program, remember its exit status. +"$@"; st=$? + +# If it succeeded, we are done. +test $st -eq 0 && exit 0 + +# Also exit now if we it failed (or wasn't found), and '--version' was +# passed; such an option is passed most likely to detect whether the +# program is present and works. +case $2 in --version|--help) exit $st;; esac + +# Exit code 63 means version mismatch. This often happens when the user +# tries to use an ancient version of a tool on a file that requires a +# minimum version. +if test $st -eq 63; then + msg="probably too old" +elif test $st -eq 127; then + # Program was missing. + msg="missing on your system" +else + # Program was found and executed, but failed. Give up. + exit $st +fi + +perl_URL=http://www.perl.org/ +flex_URL=http://flex.sourceforge.net/ +gnu_software_URL=http://www.gnu.org/software + +program_details () +{ + case $1 in + aclocal|automake) + echo "The '$1' program is part of the GNU Automake package:" + echo "<$gnu_software_URL/automake>" + echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" + echo "<$gnu_software_URL/autoconf>" + echo "<$gnu_software_URL/m4/>" + echo "<$perl_URL>" + ;; + autoconf|autom4te|autoheader) + echo "The '$1' program is part of the GNU Autoconf package:" + echo "<$gnu_software_URL/autoconf/>" + echo "It also requires GNU m4 and Perl in order to run:" + echo "<$gnu_software_URL/m4/>" + echo "<$perl_URL>" + ;; + esac +} + +give_advice () +{ + # Normalize program name to check for. + normalized_program=`echo "$1" | sed ' + s/^gnu-//; t + s/^gnu//; t + s/^g//; t'` + + printf '%s\n' "'$1' is $msg." + + configure_deps="'configure.ac' or m4 files included by 'configure.ac'" + case $normalized_program in + autoconf*) + echo "You should only need it if you modified 'configure.ac'," + echo "or m4 files included by it." + program_details 'autoconf' + ;; + autoheader*) + echo "You should only need it if you modified 'acconfig.h' or" + echo "$configure_deps." + program_details 'autoheader' + ;; + automake*) + echo "You should only need it if you modified 'Makefile.am' or" + echo "$configure_deps." + program_details 'automake' + ;; + aclocal*) + echo "You should only need it if you modified 'acinclude.m4' or" + echo "$configure_deps." + program_details 'aclocal' + ;; + autom4te*) + echo "You might have modified some maintainer files that require" + echo "the 'autom4te' program to be rebuilt." + program_details 'autom4te' + ;; + bison*|yacc*) + echo "You should only need it if you modified a '.y' file." + echo "You may want to install the GNU Bison package:" + echo "<$gnu_software_URL/bison/>" + ;; + lex*|flex*) + echo "You should only need it if you modified a '.l' file." + echo "You may want to install the Fast Lexical Analyzer package:" + echo "<$flex_URL>" + ;; + help2man*) + echo "You should only need it if you modified a dependency" \ + "of a man page." + echo "You may want to install the GNU Help2man package:" + echo "<$gnu_software_URL/help2man/>" + ;; + makeinfo*) + echo "You should only need it if you modified a '.texi' file, or" + echo "any other file indirectly affecting the aspect of the manual." + echo "You might want to install the Texinfo package:" + echo "<$gnu_software_URL/texinfo/>" + echo "The spurious makeinfo call might also be the consequence of" + echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" + echo "want to install GNU make:" + echo "<$gnu_software_URL/make/>" + ;; + *) + echo "You might have modified some files without having the proper" + echo "tools for further handling them. Check the 'README' file, it" + echo "often tells you about the needed prerequisites for installing" + echo "this package. You may also peek at any GNU archive site, in" + echo "case some other package contains this missing '$1' program." + ;; + esac +} + +give_advice "$1" | sed -e '1s/^/WARNING: /' \ + -e '2,$s/^/ /' >&2 + +# Propagate the correct exit status (expected to be 127 for a program +# not found, 63 for a program that failed due to version mismatch). +exit $st + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC0" +# time-stamp-end: "; # UTC" +# End: diff --git a/config/py-compile b/config/py-compile new file mode 100755 index 0000000..3693d96 --- /dev/null +++ b/config/py-compile @@ -0,0 +1,170 @@ +#!/bin/sh +# py-compile - Compile a Python program + +scriptversion=2016-01-11.22; # UTC + +# Copyright (C) 2000-2017 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to or send patches to +# . + +if [ -z "$PYTHON" ]; then + PYTHON=python +fi + +me=py-compile + +usage_error () +{ + echo "$me: $*" >&2 + echo "Try '$me --help' for more information." >&2 + exit 1 +} + +basedir= +destdir= +while test $# -ne 0; do + case "$1" in + --basedir) + if test $# -lt 2; then + usage_error "option '--basedir' requires an argument" + else + basedir=$2 + fi + shift + ;; + --destdir) + if test $# -lt 2; then + usage_error "option '--destdir' requires an argument" + else + destdir=$2 + fi + shift + ;; + -h|--help) + cat <<\EOF +Usage: py-compile [--help] [--version] [--basedir DIR] [--destdir DIR] FILES..." + +Byte compile some python scripts FILES. Use --destdir to specify any +leading directory path to the FILES that you don't want to include in the +byte compiled file. Specify --basedir for any additional path information you +do want to be shown in the byte compiled file. + +Example: + py-compile --destdir /tmp/pkg-root --basedir /usr/share/test test.py test2.py + +Report bugs to . +EOF + exit $? + ;; + -v|--version) + echo "$me $scriptversion" + exit $? + ;; + --) + shift + break + ;; + -*) + usage_error "unrecognized option '$1'" + ;; + *) + break + ;; + esac + shift +done + +files=$* +if test -z "$files"; then + usage_error "no files given" +fi + +# if basedir was given, then it should be prepended to filenames before +# byte compilation. +if [ -z "$basedir" ]; then + pathtrans="path = file" +else + pathtrans="path = os.path.join('$basedir', file)" +fi + +# if destdir was given, then it needs to be prepended to the filename to +# byte compile but not go into the compiled file. +if [ -z "$destdir" ]; then + filetrans="filepath = path" +else + filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)" +fi + +$PYTHON -c " +import sys, os, py_compile, imp + +files = '''$files''' + +sys.stdout.write('Byte-compiling python modules...\n') +for file in files.split(): + $pathtrans + $filetrans + if not os.path.exists(filepath) or not (len(filepath) >= 3 + and filepath[-3:] == '.py'): + continue + sys.stdout.write(file) + sys.stdout.flush() + if hasattr(imp, 'get_tag'): + py_compile.compile(filepath, imp.cache_from_source(filepath), path) + else: + py_compile.compile(filepath, filepath + 'c', path) +sys.stdout.write('\n')" || exit $? + +# this will fail for python < 1.5, but that doesn't matter ... +$PYTHON -O -c " +import sys, os, py_compile, imp + +# pypy does not use .pyo optimization +if hasattr(sys, 'pypy_translation_info'): + sys.exit(0) + +files = '''$files''' +sys.stdout.write('Byte-compiling python modules (optimized versions) ...\n') +for file in files.split(): + $pathtrans + $filetrans + if not os.path.exists(filepath) or not (len(filepath) >= 3 + and filepath[-3:] == '.py'): + continue + sys.stdout.write(file) + sys.stdout.flush() + if hasattr(imp, 'get_tag'): + py_compile.compile(filepath, imp.cache_from_source(filepath, False), path) + else: + py_compile.compile(filepath, filepath + 'o', path) +sys.stdout.write('\n')" 2>/dev/null || : + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC0" +# time-stamp-end: "; # UTC" +# End: diff --git a/config/ylwrap b/config/ylwrap new file mode 100755 index 0000000..85ee253 --- /dev/null +++ b/config/ylwrap @@ -0,0 +1,247 @@ +#!/bin/sh +# ylwrap - wrapper for lex/yacc invocations. + +scriptversion=2016-01-11.22; # UTC + +# Copyright (C) 1996-2017 Free Software Foundation, Inc. +# +# Written by Tom Tromey . +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to or send patches to +# . + +get_dirname () +{ + case $1 in + */*|*\\*) printf '%s\n' "$1" | sed -e 's|\([\\/]\)[^\\/]*$|\1|';; + # Otherwise, we want the empty string (not "."). + esac +} + +# guard FILE +# ---------- +# The CPP macro used to guard inclusion of FILE. +guard () +{ + printf '%s\n' "$1" \ + | sed \ + -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ + -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g' \ + -e 's/__*/_/g' +} + +# quote_for_sed [STRING] +# ---------------------- +# Return STRING (or stdin) quoted to be used as a sed pattern. +quote_for_sed () +{ + case $# in + 0) cat;; + 1) printf '%s\n' "$1";; + esac \ + | sed -e 's|[][\\.*]|\\&|g' +} + +case "$1" in + '') + echo "$0: No files given. Try '$0 --help' for more information." 1>&2 + exit 1 + ;; + --basedir) + basedir=$2 + shift 2 + ;; + -h|--h*) + cat <<\EOF +Usage: ylwrap [--help|--version] INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]... + +Wrapper for lex/yacc invocations, renaming files as desired. + + INPUT is the input file + OUTPUT is one file PROG generates + DESIRED is the file we actually want instead of OUTPUT + PROGRAM is program to run + ARGS are passed to PROG + +Any number of OUTPUT,DESIRED pairs may be used. + +Report bugs to . +EOF + exit $? + ;; + -v|--v*) + echo "ylwrap $scriptversion" + exit $? + ;; +esac + + +# The input. +input=$1 +shift +# We'll later need for a correct munging of "#line" directives. +input_sub_rx=`get_dirname "$input" | quote_for_sed` +case $input in + [\\/]* | ?:[\\/]*) + # Absolute path; do nothing. + ;; + *) + # Relative path. Make it absolute. + input=`pwd`/$input + ;; +esac +input_rx=`get_dirname "$input" | quote_for_sed` + +# Since DOS filename conventions don't allow two dots, +# the DOS version of Bison writes out y_tab.c instead of y.tab.c +# and y_tab.h instead of y.tab.h. Test to see if this is the case. +y_tab_nodot=false +if test -f y_tab.c || test -f y_tab.h; then + y_tab_nodot=true +fi + +# The parser itself, the first file, is the destination of the .y.c +# rule in the Makefile. +parser=$1 + +# A sed program to s/FROM/TO/g for all the FROM/TO so that, for +# instance, we rename #include "y.tab.h" into #include "parse.h" +# during the conversion from y.tab.c to parse.c. +sed_fix_filenames= + +# Also rename header guards, as Bison 2.7 for instance uses its header +# guard in its implementation file. +sed_fix_header_guards= + +while test $# -ne 0; do + if test x"$1" = x"--"; then + shift + break + fi + from=$1 + # Handle y_tab.c and y_tab.h output by DOS + if $y_tab_nodot; then + case $from in + "y.tab.c") from=y_tab.c;; + "y.tab.h") from=y_tab.h;; + esac + fi + shift + to=$1 + shift + sed_fix_filenames="${sed_fix_filenames}s|"`quote_for_sed "$from"`"|$to|g;" + sed_fix_header_guards="${sed_fix_header_guards}s|"`guard "$from"`"|"`guard "$to"`"|g;" +done + +# The program to run. +prog=$1 +shift +# Make any relative path in $prog absolute. +case $prog in + [\\/]* | ?:[\\/]*) ;; + *[\\/]*) prog=`pwd`/$prog ;; +esac + +dirname=ylwrap$$ +do_exit="cd '`pwd`' && rm -rf $dirname > /dev/null 2>&1;"' (exit $ret); exit $ret' +trap "ret=129; $do_exit" 1 +trap "ret=130; $do_exit" 2 +trap "ret=141; $do_exit" 13 +trap "ret=143; $do_exit" 15 +mkdir $dirname || exit 1 + +cd $dirname + +case $# in + 0) "$prog" "$input" ;; + *) "$prog" "$@" "$input" ;; +esac +ret=$? + +if test $ret -eq 0; then + for from in * + do + to=`printf '%s\n' "$from" | sed "$sed_fix_filenames"` + if test -f "$from"; then + # If $2 is an absolute path name, then just use that, + # otherwise prepend '../'. + case $to in + [\\/]* | ?:[\\/]*) target=$to;; + *) target=../$to;; + esac + + # Do not overwrite unchanged header files to avoid useless + # recompilations. Always update the parser itself: it is the + # destination of the .y.c rule in the Makefile. Divert the + # output of all other files to a temporary file so we can + # compare them to existing versions. + if test $from != $parser; then + realtarget=$target + target=tmp-`printf '%s\n' "$target" | sed 's|.*[\\/]||g'` + fi + + # Munge "#line" or "#" directives. Don't let the resulting + # debug information point at an absolute srcdir. Use the real + # output file name, not yy.lex.c for instance. Adjust the + # include guards too. + sed -e "/^#/!b" \ + -e "s|$input_rx|$input_sub_rx|" \ + -e "$sed_fix_filenames" \ + -e "$sed_fix_header_guards" \ + "$from" >"$target" || ret=$? + + # Check whether files must be updated. + if test "$from" != "$parser"; then + if test -f "$realtarget" && cmp -s "$realtarget" "$target"; then + echo "$to is unchanged" + rm -f "$target" + else + echo "updating $to" + mv -f "$target" "$realtarget" + fi + fi + else + # A missing file is only an error for the parser. This is a + # blatant hack to let us support using "yacc -d". If -d is not + # specified, don't fail when the header file is "missing". + if test "$from" = "$parser"; then + ret=1 + fi + fi + done +fi + +# Remove the directory. +cd .. +rm -rf $dirname + +exit $ret + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC0" +# time-stamp-end: "; # UTC" +# End: diff --git a/configure b/configure new file mode 100755 index 0000000..4a56d72 --- /dev/null +++ b/configure @@ -0,0 +1,35296 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.69 for util-linux 2.33.1. +# +# Report bugs to . +# +# +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +# Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then + _as_can_reexec=no; export _as_can_reexec; + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 + fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1 +test -x / || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1 + + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + PATH=/empty FPATH=/empty; export PATH FPATH + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org and kzak@redhat.com +$0: about your system, including any error possibly output +$0: before this message. Then install a modern shell, or +$0: manually run the script under such a shell if you do +$0: have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall + # in an infinite loop. This has already happened in practice. + _as_can_reexec=no; export _as_can_reexec + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + +SHELL=${CONFIG_SHELL-/bin/sh} + + +test -n "$DJDIR" || exec 7<&0 &1 + +# Name of the host. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME='util-linux' +PACKAGE_TARNAME='util-linux' +PACKAGE_VERSION='2.33.1' +PACKAGE_STRING='util-linux 2.33.1' +PACKAGE_BUGREPORT='kzak@redhat.com' +PACKAGE_URL='http://www.kernel.org/pub/linux/utils/util-linux/' + +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef STDC_HEADERS +# include +# include +#else +# ifdef HAVE_STDLIB_H +# include +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include +# endif +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" + +ac_unique_file="sys-utils/mount.c" +ac_default_prefix=/usr +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +ac_c_werror_flag= +gt_needs= +ac_subst_vars='am__EXEEXT_FALSE +am__EXEEXT_TRUE +LTLIBOBJS +LIBOBJS +ADJTIME_PATH +SOLIB_LDFLAGS +SOLIB_CFLAGS +DAEMON_LDFLAGS +DAEMON_CFLAGS +SUID_LDFLAGS +SUID_CFLAGS +MAKEINSTALL_DO_SETUID_FALSE +MAKEINSTALL_DO_SETUID_TRUE +MAKEINSTALL_DO_CHOWN_FALSE +MAKEINSTALL_DO_CHOWN_TRUE +USE_TTY_GROUP_FALSE +USE_TTY_GROUP_TRUE +verbatim_pylibmount_dependency +BUILD_PYLIBMOUNT_FALSE +BUILD_PYLIBMOUNT_TRUE +PYTHON_LIBS +PYTHON_CFLAGS +pkgpyexecdir +pyexecdir +pkgpythondir +pythondir +PYTHON_PLATFORM +PYTHON_EXEC_PREFIX +PYTHON_PREFIX +PYTHON_VERSION +PYTHON +BUILD_BASH_COMPLETION_FALSE +BUILD_BASH_COMPLETION_TRUE +bashcompletiondir +systemdsystemunitdir +HAVE_SYSTEMD_FALSE +HAVE_SYSTEMD_TRUE +SYSTEMD_JOURNAL_LIBS +SYSTEMD_JOURNAL_CFLAGS +SYSTEMD_DAEMON_LIBS +SYSTEMD_DAEMON_CFLAGS +SYSTEMD_LIBS +SYSTEMD_CFLAGS +HAVE_BTRFS_FALSE +HAVE_BTRFS_TRUE +BUILD_WRITE_FALSE +BUILD_WRITE_TRUE +BUILD_WALL_FALSE +BUILD_WALL_TRUE +BUILD_CHRT_FALSE +BUILD_CHRT_TRUE +BUILD_TASKSET_FALSE +BUILD_TASKSET_TRUE +BUILD_IONICE_FALSE +BUILD_IONICE_TRUE +BUILD_SETTERM_FALSE +BUILD_SETTERM_TRUE +BUILD_PG_FALSE +BUILD_PG_TRUE +BUILD_MORE_FALSE +BUILD_MORE_TRUE +BUILD_UL_FALSE +BUILD_UL_TRUE +BUILD_RUNUSER_FALSE +BUILD_RUNUSER_TRUE +BUILD_SU_FALSE +BUILD_SU_TRUE +BUILD_SULOGIN_FALSE +BUILD_SULOGIN_TRUE +BUILD_NOLOGIN_FALSE +BUILD_NOLOGIN_TRUE +BUILD_LOGIN_FALSE +BUILD_LOGIN_TRUE +CHFN_CHSH_PASSWORD_FALSE +CHFN_CHSH_PASSWORD_TRUE +BUILD_CHFN_CHSH_FALSE +BUILD_CHFN_CHSH_TRUE +HAVE_USER_FALSE +HAVE_USER_TRUE +LIBUSER_LIBS +LIBUSER_CFLAGS +BUILD_NEWGRP_FALSE +BUILD_NEWGRP_TRUE +BUILD_VIPW_FALSE +BUILD_VIPW_TRUE +BUILD_RENAME_FALSE +BUILD_RENAME_TRUE +BUILD_RAW_FALSE +BUILD_RAW_TRUE +BUILD_MESG_FALSE +BUILD_MESG_TRUE +BUILD_LINE_FALSE +BUILD_LINE_TRUE +BUILD_UTMPDUMP_FALSE +BUILD_UTMPDUMP_TRUE +BUILD_LAST_FALSE +BUILD_LAST_TRUE +BUILD_KILL_FALSE +BUILD_KILL_TRUE +BUILD_TUNELP_FALSE +BUILD_TUNELP_TRUE +BUILD_REV_FALSE +BUILD_REV_TRUE +BUILD_HEXDUMP_FALSE +BUILD_HEXDUMP_TRUE +BUILD_COLUMN_FALSE +BUILD_COLUMN_TRUE +BUILD_COLRM_FALSE +BUILD_COLRM_TRUE +BUILD_COLCRT_FALSE +BUILD_COLCRT_TRUE +BUILD_COL_FALSE +BUILD_COL_TRUE +BUILD_SCRIPTREPLAY_FALSE +BUILD_SCRIPTREPLAY_TRUE +BUILD_SCRIPT_FALSE +BUILD_SCRIPT_TRUE +BUILD_SETARCH_FALSE +BUILD_SETARCH_TRUE +BUILD_RTCWAKE_FALSE +BUILD_RTCWAKE_TRUE +BUILD_LDATTACH_FALSE +BUILD_LDATTACH_TRUE +BUILD_BLKZONE_FALSE +BUILD_BLKZONE_TRUE +BUILD_BLKDISCARD_FALSE +BUILD_BLKDISCARD_TRUE +BUILD_FSFREEZE_FALSE +BUILD_FSFREEZE_TRUE +BUILD_FINCORE_FALSE +BUILD_FINCORE_TRUE +BUILD_CTRLALTDEL_FALSE +BUILD_CTRLALTDEL_TRUE +BUILD_DMESG_FALSE +BUILD_DMESG_TRUE +BUILD_READPROFILE_FALSE +BUILD_READPROFILE_TRUE +BUILD_SETSID_FALSE +BUILD_SETSID_TRUE +BUILD_RFKILL_FALSE +BUILD_RFKILL_TRUE +BUILD_RENICE_FALSE +BUILD_RENICE_TRUE +BUILD_LSNS_FALSE +BUILD_LSNS_TRUE +BUILD_LSIPC_FALSE +BUILD_LSIPC_TRUE +BUILD_CHOOM_FALSE +BUILD_CHOOM_TRUE +BUILD_IPCS_FALSE +BUILD_IPCS_TRUE +BUILD_IPCRM_FALSE +BUILD_IPCRM_TRUE +BUILD_IPCMK_FALSE +BUILD_IPCMK_TRUE +BUILD_CHMEM_FALSE +BUILD_CHMEM_TRUE +BUILD_LSMEM_FALSE +BUILD_LSMEM_TRUE +BUILD_FLOCK_FALSE +BUILD_FLOCK_TRUE +BUILD_PIVOT_ROOT_FALSE +BUILD_PIVOT_ROOT_TRUE +BUILD_SWITCH_ROOT_FALSE +BUILD_SWITCH_ROOT_TRUE +BUILD_LSLOCKS_FALSE +BUILD_LSLOCKS_TRUE +BUILD_PRLIMIT_FALSE +BUILD_PRLIMIT_TRUE +BUILD_BLOCKDEV_FALSE +BUILD_BLOCKDEV_TRUE +BUILD_GETOPT_FALSE +BUILD_GETOPT_TRUE +BUILD_WHEREIS_FALSE +BUILD_WHEREIS_TRUE +BUILD_NAMEI_FALSE +BUILD_NAMEI_TRUE +BUILD_MCOOKIE_FALSE +BUILD_MCOOKIE_TRUE +BUILD_LOOK_FALSE +BUILD_LOOK_TRUE +BUILD_LOGGER_FALSE +BUILD_LOGGER_TRUE +BUILD_CAL_FALSE +BUILD_CAL_TRUE +BUILD_MKSWAP_FALSE +BUILD_MKSWAP_TRUE +BUILD_SWAPLABEL_FALSE +BUILD_SWAPLABEL_TRUE +BUILD_WDCTL_FALSE +BUILD_WDCTL_TRUE +BUILD_CHCPU_FALSE +BUILD_CHCPU_TRUE +BUILD_LSLOGINS_FALSE +BUILD_LSLOGINS_TRUE +BUILD_LSCPU_FALSE +BUILD_LSCPU_TRUE +BUILD_LSBLK_FALSE +BUILD_LSBLK_TRUE +BUILD_SWAPON_FALSE +BUILD_SWAPON_TRUE +BUILD_FSTRIM_FALSE +BUILD_FSTRIM_TRUE +BUILD_ISOSIZE_FALSE +BUILD_ISOSIZE_TRUE +BUILD_MKFS_FALSE +BUILD_MKFS_TRUE +BUILD_HWCLOCK_FALSE +BUILD_HWCLOCK_TRUE +BUILD_FDFORMAT_FALSE +BUILD_FDFORMAT_TRUE +BUILD_MINIX_FALSE +BUILD_MINIX_TRUE +BUILD_BFS_FALSE +BUILD_BFS_TRUE +BUILD_CRAMFS_FALSE +BUILD_CRAMFS_TRUE +USE_PLYMOUTH_SUPPORT_FALSE +USE_PLYMOUTH_SUPPORT_TRUE +BUILD_AGETTY_FALSE +BUILD_AGETTY_TRUE +BUILD_EJECT_FALSE +BUILD_EJECT_TRUE +BUILD_SETPRIV_FALSE +BUILD_SETPRIV_TRUE +HAVE_CAP_NG_FALSE +HAVE_CAP_NG_TRUE +BUILD_NSENTER_FALSE +BUILD_NSENTER_TRUE +BUILD_UNSHARE_FALSE +BUILD_UNSHARE_TRUE +BUILD_FALLOCATE_FALSE +BUILD_FALLOCATE_TRUE +BUILD_MOUNTPOINT_FALSE +BUILD_MOUNTPOINT_TRUE +BUILD_FINDMNT_FALSE +BUILD_FINDMNT_TRUE +BUILD_WIPEFS_FALSE +BUILD_WIPEFS_TRUE +BUILD_FINDFS_FALSE +BUILD_FINDFS_TRUE +BUILD_BLKID_FALSE +BUILD_BLKID_TRUE +BUILD_UUIDPARSE_FALSE +BUILD_UUIDPARSE_TRUE +BUILD_UUIDGEN_FALSE +BUILD_UUIDGEN_TRUE +BUILD_UUIDD_FALSE +BUILD_UUIDD_TRUE +BUILD_PARTX_FALSE +BUILD_PARTX_TRUE +BUILD_FSCK_FALSE +BUILD_FSCK_TRUE +BUILD_ZRAMCTL_FALSE +BUILD_ZRAMCTL_TRUE +BUILD_LOSETUP_FALSE +BUILD_LOSETUP_TRUE +BUILD_MOUNT_FALSE +BUILD_MOUNT_TRUE +BUILD_CFDISK_FALSE +BUILD_CFDISK_TRUE +BUILD_SFDISK_FALSE +BUILD_SFDISK_TRUE +BUILD_FDISK_FALSE +BUILD_FDISK_TRUE +LIBFDISK_VERSION_INFO +LIBFDISK_PATCH_VERSION +LIBFDISK_MINOR_VERSION +LIBFDISK_MAJOR_VERSION +LIBFDISK_VERSION +LIBFDISK_PC_REQUIRES +BUILD_LIBFDISK_TESTS_FALSE +BUILD_LIBFDISK_TESTS_TRUE +BUILD_LIBFDISK_FALSE +BUILD_LIBFDISK_TRUE +LIBSMARTCOLS_VERSION_INFO +LIBSMARTCOLS_VERSION +BUILD_LIBSMARTCOLS_FALSE +BUILD_LIBSMARTCOLS_TRUE +LIBMOUNT_VERSION_INFO +LIBMOUNT_PATCH_VERSION +LIBMOUNT_MINOR_VERSION +LIBMOUNT_MAJOR_VERSION +LIBMOUNT_VERSION +BUILD_LIBMOUNT_TESTS_FALSE +BUILD_LIBMOUNT_TESTS_TRUE +BUILD_LIBMOUNT_FALSE +BUILD_LIBMOUNT_TRUE +BUILD_LIBBLKID_TESTS_FALSE +BUILD_LIBBLKID_TESTS_TRUE +BUILD_LIBBLKID_FALSE +BUILD_LIBBLKID_TRUE +LIBBLKID_VERSION_INFO +LIBBLKID_VERSION +LIBBLKID_DATE +BUILD_LIBUUID_FALSE +BUILD_LIBUUID_TRUE +LIBUUID_VERSION_INFO +LIBUUID_VERSION +HAVE_UTEMPTER_FALSE +HAVE_UTEMPTER_TRUE +READLINE_LIBS_STATIC +READLINE_LIBS +HAVE_READLINE_FALSE +HAVE_READLINE_TRUE +HAVE_TINFO_FALSE +HAVE_TINFO_TRUE +TINFO_LIBS_STATIC +TINFO_LIBS +TINFO_CFLAGS +TINFOW_LIBS +TINFOW_CFLAGS +HAVE_SLANG_FALSE +HAVE_SLANG_TRUE +HAVE_NCURSES_FALSE +HAVE_NCURSES_TRUE +NCURSES_LIBS +NCURSES_CFLAGS +NCURSES5_CONFIG +NCURSES6_CONFIG +NCURSESW_LIBS +NCURSESW_CFLAGS +NCURSESW5_CONFIG +NCURSESW6_CONFIG +HAVE_UDEV_FALSE +HAVE_UDEV_TRUE +HAVE_AUDIT_FALSE +HAVE_AUDIT_TRUE +SELINUX_LIBS_STATIC +SELINUX_LIBS +SELINUX_CFLAGS +HAVE_SELINUX_FALSE +HAVE_SELINUX_TRUE +HAVE_LIBCRYPT_FALSE +HAVE_LIBCRYPT_TRUE +HAVE_CPU_SET_T_FALSE +HAVE_CPU_SET_T_TRUE +HAVE_UTIL_FALSE +HAVE_UTIL_TRUE +HAVE_STATIC_UNSHARE_FALSE +HAVE_STATIC_UNSHARE_TRUE +HAVE_STATIC_NSENTER_FALSE +HAVE_STATIC_NSENTER_TRUE +HAVE_STATIC_BLKID_FALSE +HAVE_STATIC_BLKID_TRUE +HAVE_STATIC_SFDISK_FALSE +HAVE_STATIC_SFDISK_TRUE +HAVE_STATIC_FDISK_FALSE +HAVE_STATIC_FDISK_TRUE +HAVE_STATIC_UMOUNT_FALSE +HAVE_STATIC_UMOUNT_TRUE +HAVE_STATIC_MOUNT_FALSE +HAVE_STATIC_MOUNT_TRUE +HAVE_STATIC_LOSETUP_FALSE +HAVE_STATIC_LOSETUP_TRUE +HAVE_DIRFD_FALSE +HAVE_DIRFD_TRUE +SOCKET_LIBS +RTAS_LIBS +REALTIME_LIBS +MATH_LIBS +HAVE_OPENAT_FALSE +HAVE_OPENAT_TRUE +HAVE_LANGINFO_FALSE +HAVE_LANGINFO_TRUE +HAVE_LINUXPAM_FALSE +HAVE_LINUXPAM_TRUE +POSUB +LTLIBINTL +LIBINTL +INTLLIBS +LTLIBICONV +LIBICONV +INTL_MACOSX_LIBS +XGETTEXT_EXTRA_OPTIONS +MSGMERGE +XGETTEXT_015 +XGETTEXT +GMSGFMT_015 +MSGFMT_015 +GMSGFMT +MSGFMT +GETTEXT_MACRO_VERSION +USE_NLS +ARCH_HPPA_FALSE +ARCH_HPPA_TRUE +ARCH_MIPS_FALSE +ARCH_MIPS_TRUE +ARCH_M68K_FALSE +ARCH_M68K_TRUE +ARCH_PPC_FALSE +ARCH_PPC_TRUE +ARCH_SPARC_FALSE +ARCH_SPARC_TRUE +ARCH_S390_FALSE +ARCH_S390_TRUE +ARCH_IA64_FALSE +ARCH_IA64_TRUE +ARCH_86_64_FALSE +ARCH_86_64_TRUE +ARCH_I86_FALSE +ARCH_I86_TRUE +BSD_FALSE +BSD_TRUE +DARWIN_FALSE +DARWIN_TRUE +LINUX_FALSE +LINUX_TRUE +XSLTPROC +GTK_DOC_USE_LIBTOOL_FALSE +GTK_DOC_USE_LIBTOOL_TRUE +ENABLE_GTK_DOC_FALSE +ENABLE_GTK_DOC_TRUE +GTKDOC_CHECK +HTML_DIR +PKG_CONFIG_LIBDIR +PKG_CONFIG_PATH +PKG_CONFIG +HAVE_VSCRIPT_COMPLEX_FALSE +HAVE_VSCRIPT_COMPLEX_TRUE +HAVE_VSCRIPT_FALSE +HAVE_VSCRIPT_TRUE +VSCRIPT_LDFLAGS +LT_SYS_LIBRARY_PATH +OTOOL64 +OTOOL +LIPO +NMEDIT +DSYMUTIL +MANIFEST_TOOL +RANLIB +DLLTOOL +OBJDUMP +LN_S +NM +ac_ct_DUMPBIN +DUMPBIN +LD +FGREP +SED +LIBTOOL +NO_UNUSED_WARN_CFLAGS +PYTHON_WARN_CFLAGS +BSD_WARN_CFLAGS +WARN_CFLAGS +host_os +host_vendor +host_cpu +host +build_os +build_vendor +build_cpu +build +YFLAGS +YACC +usrlib_execdir +usrsbin_execdir +usrbin_execdir +runstatedir +ac_ct_AR +AR +AM_BACKSLASH +AM_DEFAULT_VERBOSITY +AM_DEFAULT_V +AM_V +am__fastdepCC_FALSE +am__fastdepCC_TRUE +CCDEPMODE +am__nodep +AMDEPBACKSLASH +AMDEP_FALSE +AMDEP_TRUE +am__quote +am__include +DEPDIR +am__untar +am__tar +AMTAR +am__leading_dot +SET_MAKE +AWK +mkdir_p +MKDIR_P +INSTALL_STRIP_PROGRAM +STRIP +install_sh +MAKEINFO +AUTOHEADER +AUTOMAKE +AUTOCONF +ACLOCAL +VERSION +PACKAGE +CYGPATH_W +am__isrc +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +EGREP +GREP +CPP +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +enable_dependency_tracking +enable_silent_rules +enable_asan +enable_shared +enable_static +with_pic +enable_fast_install +with_aix_soname +with_gnu_ld +with_sysroot +enable_libtool_lock +enable_symvers +with_html_dir +enable_gtk_doc +enable_largefile +enable_assert +enable_nls +enable_rpath +with_libiconv_prefix +with_libintl_prefix +enable_static_programs +enable_all_programs +enable_tls +with_util +enable_widechar +with_selinux +with_audit +with_udev +with_ncursesw +with_ncurses +with_slang +with_tinfo +with_readline +with_utempter +enable_libuuid +enable_libuuid_force_uuidd +enable_libblkid +enable_libmount +enable_libmount_support_mtab +enable_libsmartcols +enable_libfdisk +enable_fdisks +enable_mount +enable_losetup +enable_zramctl +enable_fsck +enable_partx +enable_uuidd +enable_mountpoint +enable_fallocate +enable_unshare +enable_nsenter +with_cap_ng +enable_setpriv +enable_eject +enable_agetty +enable_plymouth_support +with_libz +enable_cramfs +enable_bfs +enable_minix +enable_fdformat +enable_hwclock +enable_lslogins +enable_wdctl +enable_cal +enable_logger +enable_switch_root +enable_pivot_root +enable_lsmem +enable_chmem +enable_ipcrm +enable_ipcs +enable_rfkill +enable_tunelp +enable_kill +enable_last +enable_utmpdump +enable_line +enable_mesg +enable_raw +enable_rename +enable_vipw +enable_newgrp +with_user +enable_chfn_chsh_password +enable_chfn_chsh +enable_chsh_only_listed +enable_login +enable_login_chown_vcs +enable_login_stat_mail +enable_nologin +enable_sulogin +enable_su +enable_runuser +enable_ul +enable_more +enable_pg +enable_setterm +enable_schedutils +enable_wall +enable_write +with_btrfs +with_systemd +with_systemdsystemunitdir +with_smack +with_bashcompletiondir +enable_bash_completion +with_python +enable_pylibmount +enable_pg_bell +enable_fs_paths_default +enable_fs_paths_extra +enable_use_tty_group +enable_sulogin_emergency_mount +enable_usrdir_path +enable_makeinstall_chown +enable_makeinstall_setuid +enable_colors_default +' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +CPP +YACC +YFLAGS +LT_SYS_LIBRARY_PATH +PKG_CONFIG +PKG_CONFIG_PATH +PKG_CONFIG_LIBDIR +SELINUX_CFLAGS +SELINUX_LIBS +NCURSESW_CFLAGS +NCURSESW_LIBS +NCURSES_CFLAGS +NCURSES_LIBS +TINFOW_CFLAGS +TINFOW_LIBS +TINFO_CFLAGS +TINFO_LIBS +LIBUSER_CFLAGS +LIBUSER_LIBS +SYSTEMD_CFLAGS +SYSTEMD_LIBS +SYSTEMD_DAEMON_CFLAGS +SYSTEMD_DAEMON_LIBS +SYSTEMD_JOURNAL_CFLAGS +SYSTEMD_JOURNAL_LIBS +PYTHON +PYTHON_CFLAGS +PYTHON_LIBS +SUID_CFLAGS +SUID_LDFLAGS +DAEMON_CFLAGS +DAEMON_LDFLAGS +SOLIB_CFLAGS +SOLIB_LDFLAGS +ADJTIME_PATH' + + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *=) ac_optarg= ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; + + -without-* | --without-*) + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) as_fn_error $? "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information" + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + as_fn_error $? "missing argument to $ac_option" +fi + +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + as_fn_error $? "working directory cannot be determined" +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + as_fn_error $? "pwd does not report name of working directory" + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures util-linux 2.33.1 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking ...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/util-linux] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of util-linux 2.33.1:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-dependency-tracking + do not reject slow dependency extractors + --disable-dependency-tracking + speeds up one-time build + --enable-silent-rules less verbose build output (undo: "make V=1") + --disable-silent-rules verbose build output (undo: "make V=0") + --enable-asan compile with Address Sanitizer + --enable-shared[=PKGS] build shared libraries [default=yes] + --enable-static[=PKGS] build static libraries [default=yes] + --enable-fast-install[=PKGS] + optimize for fast installation [default=yes] + --disable-libtool-lock avoid locking (might break parallel builds) + --disable-symvers disable library symbol versioning [default=auto] + --enable-gtk-doc use gtk-doc to build documentation [[default=no]] + --disable-largefile omit support for large files + --disable-assert turn off assertions + --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths + --enable-static-programs=LIST + link static the programs in LIST (comma-separated, + supported for losetup, mount, umount, fdisk, sfdisk, + blkid, nsenter, unshare) + --disable-all-programs disable everything, might be overridden by + --enable- + --disable-tls disable use of thread local support + --disable-widechar do not compile wide character support + --disable-libuuid do not build libuuid and uuid utilities + --enable-libuuid-force-uuidd + support uuidd even though the daemon is not built + --disable-libblkid do not build libblkid and many related utilities + --disable-libmount do not build libmount + --enable-libmount-support-mtab + support /etc/mtab (default is use + /proc/self/mountinfo) + --disable-libsmartcols do not build libsmartcols + --disable-libfdisk do not build libfdisk + --disable-fdisks do not build fdisk(8), sfdisk(8) and cfdisk(8) + --disable-mount do not build mount(8) and umount(8) + --disable-losetup do not build losetup + --disable-zramctl do not build zramctl + --disable-fsck do not build fsck + --disable-partx do not build addpart, delpart, partx + --disable-uuidd do not build the uuid daemon + --disable-mountpoint do not build mountpoint + --disable-fallocate do not build fallocate + --disable-unshare do not build unshare + --disable-nsenter do not build nsenter + --disable-setpriv do not build setpriv + --disable-eject do not build eject + --disable-agetty do not build agetty + --disable-plymouth_support + don not care about plymouth in sylogin(8) and + agetty(8) + --disable-cramfs do not build fsck.cramfs, mkfs.cramfs + --disable-bfs do not build mkfs.bfs + --disable-minix do not build fsck.minix, mkfs.minix + --disable-fdformat do not build fdformat + --disable-hwclock do not build hwclock + --disable-lslogins do not build lslogins + --disable-wdctl do not build wdctl + --disable-cal do not build cal + --disable-logger do not build logger + --disable-switch_root do not build switch_root + --disable-pivot_root do not build pivot_root + --disable-lsmem do not build lsmem + --disable-chmem do not build chmem + --disable-ipcrm do not build ipcrm + --disable-ipcs do not build ipcs + --disable-rfkill do not build rfkill + --enable-tunelp build tunelp + --disable-kill do not build kill + --disable-last do not build last + --disable-utmpdump do not build utmpdump + --enable-line build line + --disable-mesg do not build mesg + --disable-raw do not build raw + --disable-rename do not build rename + --enable-vipw build vipw + --enable-newgrp build newgrp + --disable-chfn-chsh-password + do not require the user to enter the password in + chfn and chsh + --enable-chfn-chsh build chfn and chsh + --disable-chsh-only-listed + chsh: allow shells not in /etc/shells + --disable-login do not build login + --enable-login-chown-vcs + let login chown /dev/vcsN + --enable-login-stat-mail + let login stat() the mailbox + --disable-nologin do not build nologin + --disable-sulogin do not build sulogin + --disable-su do not build su + --disable-runuser do not build runuser + --disable-ul do not build ul + --disable-more do not build more + --enable-pg build pg + --disable-setterm do not build setterm + --disable-schedutils do not build chrt, ionice, taskset + --disable-wall do not build wall + --enable-write build write + --disable-bash-completion + do not install bash completion files + --disable-pylibmount do not build pylibmount + --disable-pg-bell let pg not ring the bell on invalid keys + --enable-fs-paths-default=paths + default search path for fs helpers + [/sbin:/sbin/fs.d:/sbin/fs] + --enable-fs-paths-extra=paths + additional search paths for fs helpers + --disable-use-tty-group do not install wall and write setgid tty + --enable-sulogin-emergency-mount + use emergency mount of /dev and /proc for sulogin + --enable-usrdir-path use only /usr paths in PATH env. variable + (recommended on systems with /bin -> /usr/bin + symlinks) + --disable-makeinstall-chown + do not do chown-like operations during "make + install" + --disable-makeinstall-setuid + do not do setuid chmod operations during "make + install" + --disable-colors-default + do not colorize output from utils by default + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use + both] + --with-aix-soname=aix|svr4|both + shared library versioning (aka "SONAME") variant to + provide on AIX, [default=aix]. + --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-sysroot[=DIR] Search for dependent libraries within DIR (or the + compiler's sysroot if not specified). + --with-html-dir=PATH path to installed docs + --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib + --without-libiconv-prefix don't search for libiconv in includedir and libdir + --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib + --without-libintl-prefix don't search for libintl in includedir and libdir + --without-util compile without libutil + --with-selinux compile with SELinux support + --with-audit compile with audit support + --without-udev compile without udev support + --without-ncursesw do not build with wide-char ncurses + --with-ncurses build with non-wide ncurses + --with-slang compile cfdisk with slang rather than ncurses + --without-tinfo compile without libtinfo + --without-readline do not build with GNU Readline support + --with-utempter compile script(1) with libutempter + --without-cap-ng compile without libcap-ng + --without-libz compile without libz + --without-user compile without libuser (remote chsh) + --without-btrfs do not build with btrfs support + --without-systemd do not build with systemd support + --with-systemdsystemunitdir=DIR + directory for systemd unit files (requires systemd + support) + --with-smack build with SMACK support + --with-bashcompletiondir=DIR + Bash completions directory + --without-python do not build python bindings, use + --with-python={2,3} to force version + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + LIBS libraries to pass to the linker, e.g. -l + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if + you have headers in a nonstandard directory + CPP C preprocessor + YACC The `Yet Another Compiler Compiler' implementation to use. + Defaults to the first program found out of: `bison -y', `byacc', + `yacc'. + YFLAGS The list of arguments that will be passed by default to $YACC. + This script will default YFLAGS to the empty string to avoid a + default value of `-d' given by some make applications. + LT_SYS_LIBRARY_PATH + User-defined run-time library search path. + PKG_CONFIG path to pkg-config utility + PKG_CONFIG_PATH + directories to add to pkg-config's search path + PKG_CONFIG_LIBDIR + path overriding pkg-config's built-in search path + SELINUX_CFLAGS + C compiler flags for SELINUX, overriding pkg-config + SELINUX_LIBS + linker flags for SELINUX, overriding pkg-config + NCURSESW_CFLAGS + C compiler flags for NCURSESW, overriding pkg-config + NCURSESW_LIBS + linker flags for NCURSESW, overriding pkg-config + NCURSES_CFLAGS + C compiler flags for NCURSES, overriding pkg-config + NCURSES_LIBS + linker flags for NCURSES, overriding pkg-config + TINFOW_CFLAGS + C compiler flags for TINFOW, overriding pkg-config + TINFOW_LIBS linker flags for TINFOW, overriding pkg-config + TINFO_CFLAGS + C compiler flags for TINFO, overriding pkg-config + TINFO_LIBS linker flags for TINFO, overriding pkg-config + LIBUSER_CFLAGS + C compiler flags for LIBUSER, overriding pkg-config + LIBUSER_LIBS + linker flags for LIBUSER, overriding pkg-config + SYSTEMD_CFLAGS + C compiler flags for SYSTEMD, overriding pkg-config + SYSTEMD_LIBS + linker flags for SYSTEMD, overriding pkg-config + SYSTEMD_DAEMON_CFLAGS + C compiler flags for SYSTEMD_DAEMON, overriding pkg-config + SYSTEMD_DAEMON_LIBS + linker flags for SYSTEMD_DAEMON, overriding pkg-config + SYSTEMD_JOURNAL_CFLAGS + C compiler flags for SYSTEMD_JOURNAL, overriding pkg-config + SYSTEMD_JOURNAL_LIBS + linker flags for SYSTEMD_JOURNAL, overriding pkg-config + PYTHON the Python interpreter + PYTHON_CFLAGS + C compiler flags for PYTHON, overriding pkg-config + PYTHON_LIBS linker flags for PYTHON, overriding pkg-config + SUID_CFLAGS CFLAGS used for binaries which are usually with the suid bit + SUID_LDFLAGS + LDFLAGS used for binaries which are usually with the suid bit + DAEMON_CFLAGS + CFLAGS used for binaries which are usually executed as daemons + DAEMON_LDFLAGS + LDFLAGS used for binaries which are usually executed as daemons + SOLIB_CFLAGS + CFLAGS used for shared libraries + SOLIB_LDFLAGS + LDFLAGS used for shared libraries + ADJTIME_PATH + Path to hwclock adjtime file, default /etc/adjtime + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to . +util-linux home page: . +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +util-linux configure 2.33.1 +generated by GNU Autoconf 2.69 + +Copyright (C) 2012 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +# ac_fn_c_try_compile LINENO +# -------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_compile + +# ac_fn_c_try_cpp LINENO +# ---------------------- +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } > conftest.i && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_cpp + +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if eval \${$3+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +( $as_echo "## ------------------------------ ## +## Report this to kzak@redhat.com ## +## ------------------------------ ##" + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_mongrel + +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + test -x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link + +# ac_fn_c_check_func LINENO FUNC VAR +# ---------------------------------- +# Tests whether FUNC exists, setting the cache variable VAR accordingly +ac_fn_c_check_func () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case declares $2. + For example, HP-UX 11i declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main () +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_func + +# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES +# ---------------------------------------------------- +# Tries to find if the field MEMBER exists in type AGGR, after including +# INCLUDES, setting cache variable VAR accordingly. +ac_fn_c_check_member () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 +$as_echo_n "checking for $2.$3... " >&6; } +if eval \${$4+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$5 +int +main () +{ +static $2 ac_aggr; +if (ac_aggr.$3) +return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$4=yes" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$5 +int +main () +{ +static $2 ac_aggr; +if (sizeof ac_aggr.$3) +return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$4=yes" +else + eval "$4=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$4 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_member + +# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES +# --------------------------------------------- +# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR +# accordingly. +ac_fn_c_check_decl () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + as_decl_name=`echo $2|sed 's/ *(.*//'` + as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 +$as_echo_n "checking whether $as_decl_name is declared... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +#ifndef $as_decl_name +#ifdef __cplusplus + (void) $as_decl_use; +#else + (void) $as_decl_name; +#endif +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_decl + +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES +# ------------------------------------------- +# Tests whether TYPE exists after having included INCLUDES, setting cache +# variable VAR accordingly. +ac_fn_c_check_type () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=no" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +if (sizeof ($2)) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +if (sizeof (($2))) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + eval "$3=yes" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_type +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by util-linux $as_me 2.33.1, which was +generated by GNU Autoconf 2.69. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done +done +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + $as_echo "## ---------------- ## +## Cache variables. ## +## ---------------- ##" + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + $as_echo "## ----------------- ## +## Output variables. ## +## ----------------- ##" + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + $as_echo "## ------------------- ## +## File substitutions. ## +## ------------------- ##" + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + $as_echo "## ----------- ## +## confdefs.h. ## +## ----------- ##" + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + # We do not want a PATH search for config.site. + case $CONFIG_SITE in #(( + -*) ac_site_file1=./$CONFIG_SITE;; + */*) ac_site_file1=$CONFIG_SITE;; + *) ac_site_file1=./$CONFIG_SITE;; + esac +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" \ + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "failed to load site script $ac_site_file +See \`config.log' for more details" "$LINENO" 5; } + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +gt_needs="$gt_needs " +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + + + + +ac_aux_dir= +for ac_dir in config "$srcdir"/config; do + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + + +# Expand $ac_aux_dir to an absolute path. +am_aux_dir=`cd "$ac_aux_dir" && pwd` + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { { ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "C compiler cannot create executables +See \`config.log' for more details" "$LINENO" 5; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext + +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details" "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if ${ac_cv_objext+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of object files: cannot compile +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +struct stat; +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } +if ${am_cv_prog_cc_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF + # Make sure it works both with $CC and with simple cc. + # Following AC_PROG_CC_C_O, we do the test twice because some + # compilers refuse to overwrite an existing .o file with -o, + # though they will create one. + am_cv_prog_cc_c_o=yes + for am_i in 1 2; do + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } \ + && test -f conftest2.$ac_objext; then + : OK + else + am_cv_prog_cc_c_o=no + break + fi + done + rm -f core conftest* + unset am_i +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 +$as_echo "$am_cv_prog_cc_c_o" >&6; } +if test "$am_cv_prog_cc_c_o" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if ${ac_cv_prog_CPP+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } +if ${ac_cv_path_GREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_GREP" || continue +# Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_GREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_GREP=$GREP +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +$as_echo "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } +if ${ac_cv_path_EGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + if test -z "$EGREP"; then + ac_path_EGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_EGREP" || continue +# Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_EGREP=$EGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if ${ac_cv_header_stdc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" +if test "x$ac_cv_header_minix_config_h" = xyes; then : + MINIX=yes +else + MINIX= +fi + + + if test "$MINIX" = yes; then + +$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h + + +$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h + + +$as_echo "#define _MINIX 1" >>confdefs.h + + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if ${ac_cv_safe_to_define___extensions__+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_safe_to_define___extensions__=yes +else + ac_cv_safe_to_define___extensions__=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } + test $ac_cv_safe_to_define___extensions__ = yes && + $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h + + $as_echo "#define _ALL_SOURCE 1" >>confdefs.h + + $as_echo "#define _GNU_SOURCE 1" >>confdefs.h + + $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h + + +am__api_version='1.15' + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if ${ac_cv_path_install+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[\\\"\#\$\&\'\`$am_lf]*) + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; +esac +case $srcdir in + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; +esac + +# Do 'set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken + alias in your environment" "$LINENO" 5 + fi + if test "$2" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done + test "$2" = conftest.file + ) +then + # Ok. + : +else + as_fn_error $? "newly created file is older than distributed files! +Check your system clock" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi + +rm -f conftest.file + +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. +# By default was `s,x,x', remove it if useless. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " +else + am_missing_run= + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} +fi + +if test x"${install_sh+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi + +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the 'STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } +if test -z "$MKDIR_P"; then + if ${ac_cv_path_mkdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done + done +IFS=$as_save_IFS + +fi + + test -d ./--version && rmdir ./--version + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" + else + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + MKDIR_P="$ac_install_sh -d" + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +$as_echo "$MKDIR_P" >&6; } + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 +$as_echo_n "checking for style of include used by $am_make... " >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from 'make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 +$as_echo "$_am_result" >&6; } +rm -f confinc confmf + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then : + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' + am__nodep='_no' +fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=1;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE='util-linux' + VERSION='2.33.1' + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# +# +mkdir_p='$(MKDIR_P)' + +# We need awk for the "check" target (and possibly the TAP driver). The +# system "awk" is bad on some platforms. +# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AMTAR='$${TAR-tar}' + + +# We'll loop over all known methods to create a tar archive until one works. +_am_tools='gnutar pax cpio none' + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5 +$as_echo_n "checking how to create a pax tar archive... " >&6; } + + # Go ahead even if we have the value already cached. We do so because we + # need to set the values for the 'am__tar' and 'am__untar' variables. + _am_tools=${am_cv_prog_tar_pax-$_am_tools} + + for _am_tool in $_am_tools; do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; do + { echo "$as_me:$LINENO: $_am_tar --version" >&5 + ($_am_tar --version) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && break + done + am__tar="$_am_tar --format=posix -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=posix -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x pax -w "$$tardir"' + am__tar_='pax -L -x pax -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H pax -L' + am__tar_='find "$tardir" -print | cpio -o -H pax -L' + am__untar='cpio -i -H pax -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_pax}" && break + + # tar/untar a dummy directory, and stop if the command works. + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 + (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + rm -rf conftest.dir + if test -s conftest.tar; then + { echo "$as_me:$LINENO: $am__untar &5 + ($am__untar &5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 + (cat conftest.dir/file) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break + fi + done + rm -rf conftest.dir + + if ${am_cv_prog_tar_pax+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_prog_tar_pax=$_am_tool +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5 +$as_echo "$am_cv_prog_tar_pax" >&6; } + + + + + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CC_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with '-c' and '-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + + +# POSIX will say in a future version that running "rm -f" with no argument +# is OK; and we want to be able to make that assumption in our Makefile +# recipes. So use an aggressive probe to check that the usage we want is +# actually supported "in the wild" to an acceptable degree. +# See automake bug#10828. +# To make any issue more visible, cause the running configure to be aborted +# by default if the 'rm' program in use doesn't match our expectations; the +# user can still override this though. +if rm -f && rm -fr && rm -rf; then : OK; else + cat >&2 <<'END' +Oops! + +Your 'rm' program seems unable to run without file operands specified +on the command line, even when the '-f' option is present. This is contrary +to the behaviour of most rm programs out there, and not conforming with +the upcoming POSIX standard: + +Please tell bug-automake@gnu.org about your system, including the value +of your $PATH and any error possibly output before this message. This +can help us improve future automake versions. + +END + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then + echo 'Configuration will proceed anyway, since you have set the' >&2 + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 + echo >&2 + else + cat >&2 <<'END' +Aborting the configuration process, to ensure you take notice of the issue. + +You can download and install GNU coreutils to get an 'rm' implementation +that behaves properly: . + +If you want to complete the configuration process using your problematic +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM +to "yes", and re-run configure. + +END + as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 + fi +fi + + +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=0;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + +if test -n "$ac_tool_prefix"; then + for ac_prog in ar lib "link -lib" + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AR="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AR" && break + done +fi +if test -z "$AR"; then + ac_ct_AR=$AR + for ac_prog in ar lib "link -lib" +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_AR="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +$as_echo "$ac_ct_AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_AR" && break +done + + if test "x$ac_ct_AR" = x; then + AR="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + AR=$ac_ct_AR + fi +fi + +: ${AR=ar} + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 +$as_echo_n "checking the archiver ($AR) interface... " >&6; } +if ${am_cv_ar_interface+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + am_cv_ar_interface=ar + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int some_variable = 0; +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 + (eval $am_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -eq 0; then + am_cv_ar_interface=ar + else + am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 + (eval $am_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -eq 0; then + am_cv_ar_interface=lib + else + am_cv_ar_interface=unknown + fi + fi + rm -f conftest.lib libconftest.a + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 +$as_echo "$am_cv_ar_interface" >&6; } + +case $am_cv_ar_interface in +ar) + ;; +lib) + # Microsoft lib, so override with the ar-lib wrapper script. + # FIXME: It is wrong to rewrite AR. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__AR in this case, + # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something + # similar. + AR="$am_aux_dir/ar-lib $AR" + ;; +unknown) + as_fn_error $? "could not determine $AR interface" "$LINENO" 5 + ;; +esac + + + + + +PACKAGE_VERSION_MAJOR=$(echo $PACKAGE_VERSION | awk -F. '{print $1}') +PACKAGE_VERSION_MINOR=$(echo $PACKAGE_VERSION | awk -F. '{ + sub("-.*","",$2); print $2}') +PACKAGE_VERSION_RELEASE=$(echo $PACKAGE_VERSION | awk -F. '{ + sub("-.*","",$3); print $3 ~ /^[0-9]+$/ ? $3 : 0}') + +LIBBLKID_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE" +LIBBLKID_DATE="09-Jan-2019" +LIBBLKID_LT_MAJOR=1 +LIBBLKID_LT_MINOR=1 +LIBBLKID_LT_MICRO=0 +LIBBLKID_VERSION_INFO=`expr $LIBBLKID_LT_MAJOR + $LIBBLKID_LT_MINOR`:$LIBBLKID_LT_MICRO:$LIBBLKID_LT_MINOR + +LIBUUID_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE" +LIBUUID_LT_MAJOR=1 +LIBUUID_LT_MINOR=3 +LIBUUID_LT_MICRO=0 +LIBUUID_VERSION_INFO=`expr $LIBUUID_LT_MAJOR + $LIBUUID_LT_MINOR`:$LIBUUID_LT_MICRO:$LIBUUID_LT_MINOR + +LIBMOUNT_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE" +LIBMOUNT_LT_MAJOR=1 +LIBMOUNT_LT_MINOR=1 +LIBMOUNT_LT_MICRO=0 +LIBMOUNT_VERSION_INFO=`expr $LIBMOUNT_LT_MAJOR + $LIBMOUNT_LT_MINOR`:$LIBMOUNT_LT_MICRO:$LIBMOUNT_LT_MINOR + +LIBSMARTCOLS_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE" +LIBSMARTCOLS_LT_MAJOR=1 +LIBSMARTCOLS_LT_MINOR=1 +LIBSMARTCOLS_LT_MICRO=0 +LIBSMARTCOLS_VERSION_INFO=`expr $LIBSMARTCOLS_LT_MAJOR + $LIBSMARTCOLS_LT_MINOR`:$LIBSMARTCOLS_LT_MICRO:$LIBSMARTCOLS_LT_MINOR + +LIBFDISK_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE" +LIBFDISK_LT_MAJOR=1 +LIBFDISK_LT_MINOR=1 +LIBFDISK_LT_MICRO=0 +LIBFDISK_VERSION_INFO=`expr $LIBFDISK_LT_MAJOR + $LIBFDISK_LT_MINOR`:$LIBFDISK_LT_MICRO:$LIBFDISK_LT_MINOR + +# Check whether exec_prefix=/usr: +case $exec_prefix:$prefix in #( + NONE:NONE | NONE:/usr | /usr:*) : + { $as_echo "$as_me:${as_lineno-$LINENO}: Default --exec-prefix detected." >&5 +$as_echo "$as_me: Default --exec-prefix detected." >&6;} + case $bindir in #( + '${exec_prefix}/bin') : + bindir=/bin; { $as_echo "$as_me:${as_lineno-$LINENO}: --bindir defaults to /bin" >&5 +$as_echo "$as_me: --bindir defaults to /bin" >&6;} ;; #( + *) : + ;; +esac + case $sbindir in #( + '${exec_prefix}/sbin') : + sbindir=/sbin; { $as_echo "$as_me:${as_lineno-$LINENO}: --sbindir defaults to /sbin" >&5 +$as_echo "$as_me: --sbindir defaults to /sbin" >&6;} ;; #( + *) : + ;; +esac + case $libdir in #( + '${exec_prefix}/lib') : + libdir=/lib; { $as_echo "$as_me:${as_lineno-$LINENO}: --libdir defaults to /lib" >&5 +$as_echo "$as_me: --libdir defaults to /lib" >&6;} ;; #( + *) : + ;; +esac + case $libdir in #( + '${exec_prefix}/lib64') : + libdir=/lib64; { $as_echo "$as_me:${as_lineno-$LINENO}: --libdir defaults to /lib64" >&5 +$as_echo "$as_me: --libdir defaults to /lib64" >&6;} ;; #( + *) : + ;; +esac + + ;; #( + *) : + ;; +esac + + +# default for old versions without $runstatedir +if test x"$runstatedir" = x; then : + runstatedir='${localstatedir}/run' +fi + +# our default if $localstatedir unchanged +case $localstatedir:$runstatedir in #( + NONE:'${localstatedir}/run' | /var:'${localstatedir}/run' | NONE:'/run' ) : + runstatedir=/run; { $as_echo "$as_me:${as_lineno-$LINENO}: --runstatedir defaults to /run" >&5 +$as_echo "$as_me: --runstatedir defaults to /run" >&6;} + ;; #( + *) : + ;; +esac + + + + +# The original default values of {bin,sbin,lib}dir +usrbin_execdir='${exec_prefix}/bin' + + +usrsbin_execdir='${exec_prefix}/sbin' + + +case $libdir in #( + '${exec_prefix}/'* | '${prefix}/'* | /usr/* | "${prefix}"/* ) : + usrlib_execdir=$libdir ;; #( + *) : + usrlib_execdir='${exec_prefix}'$libdir + ;; +esac + + + + + + case $ac_cv_prog_cc_stdc in #( + no) : + ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #( + *) : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 +$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } +if ${ac_cv_prog_cc_c99+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c99=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +#include + +// Check varargs macros. These examples are taken from C99 6.10.3.5. +#define debug(...) fprintf (stderr, __VA_ARGS__) +#define showlist(...) puts (#__VA_ARGS__) +#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) +static void +test_varargs_macros (void) +{ + int x = 1234; + int y = 5678; + debug ("Flag"); + debug ("X = %d\n", x); + showlist (The first, second, and third items.); + report (x>y, "x is %d but y is %d", x, y); +} + +// Check long long types. +#define BIG64 18446744073709551615ull +#define BIG32 4294967295ul +#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) +#if !BIG_OK + your preprocessor is broken; +#endif +#if BIG_OK +#else + your preprocessor is broken; +#endif +static long long int bignum = -9223372036854775807LL; +static unsigned long long int ubignum = BIG64; + +struct incomplete_array +{ + int datasize; + double data[]; +}; + +struct named_init { + int number; + const wchar_t *name; + double average; +}; + +typedef const char *ccp; + +static inline int +test_restrict (ccp restrict text) +{ + // See if C++-style comments work. + // Iterate through items via the restricted pointer. + // Also check for declarations in for loops. + for (unsigned int i = 0; *(text+i) != '\0'; ++i) + continue; + return 0; +} + +// Check varargs and va_copy. +static void +test_varargs (const char *format, ...) +{ + va_list args; + va_start (args, format); + va_list args_copy; + va_copy (args_copy, args); + + const char *str; + int number; + float fnumber; + + while (*format) + { + switch (*format++) + { + case 's': // string + str = va_arg (args_copy, const char *); + break; + case 'd': // int + number = va_arg (args_copy, int); + break; + case 'f': // float + fnumber = va_arg (args_copy, double); + break; + default: + break; + } + } + va_end (args_copy); + va_end (args); +} + +int +main () +{ + + // Check bool. + _Bool success = false; + + // Check restrict. + if (test_restrict ("String literal") == 0) + success = true; + char *restrict newvar = "Another string"; + + // Check varargs. + test_varargs ("s, d' f .", "string", 65, 34.234); + test_varargs_macros (); + + // Check flexible array members. + struct incomplete_array *ia = + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); + ia->datasize = 10; + for (int i = 0; i < ia->datasize; ++i) + ia->data[i] = i * 1.234; + + // Check named initializers. + struct named_init ni = { + .number = 34, + .name = L"Test wide string", + .average = 543.34343, + }; + + ni.number = 58; + + int dynamic_array[ni.number]; + dynamic_array[ni.number - 1] = 543; + + // work around unused variable warnings + return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' + || dynamic_array[ni.number - 1] != 543); + + ; + return 0; +} +_ACEOF +for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c99=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c99" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c99" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c99" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 +$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c99" != xno; then : + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +struct stat; +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 +else + ac_cv_prog_cc_stdc=no +fi + +fi + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 +$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } + if ${ac_cv_prog_cc_stdc+:} false; then : + $as_echo_n "(cached) " >&6 +fi + + case $ac_cv_prog_cc_stdc in #( + no) : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; #( + '') : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; #( + *) : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 +$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;; +esac + +for ac_prog in 'bison -y' byacc +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_YACC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$YACC"; then + ac_cv_prog_YACC="$YACC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_YACC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +YACC=$ac_cv_prog_YACC +if test -n "$YACC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 +$as_echo "$YACC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$YACC" && break +done +test -n "$YACC" || YACC="yacc" + +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +$as_echo_n "checking build system type... " >&6; } +if ${ac_cv_build+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_build_alias=$build_alias +test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` +test "x$ac_build_alias" = x && + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +$as_echo "$ac_cv_build" >&6; } +case $ac_cv_build in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; +esac +build=$ac_cv_build +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_build +shift +build_cpu=$1 +build_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +build_os=$* +IFS=$ac_save_IFS +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +$as_echo_n "checking host system type... " >&6; } +if ${ac_cv_host+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build +else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +$as_echo "$ac_cv_host" >&6; } +case $ac_cv_host in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; +esac +host=$ac_cv_host +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_host +shift +host_cpu=$1 +host_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +host_os=$* +IFS=$ac_save_IFS +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 +$as_echo_n "checking for an ANSI C-conforming const... " >&6; } +if ${ac_cv_c_const+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + +#ifndef __cplusplus + /* Ultrix mips cc rejects this sort of thing. */ + typedef int charset[2]; + const charset cs = { 0, 0 }; + /* SunOS 4.1.1 cc rejects this. */ + char const *const *pcpcc; + char **ppc; + /* NEC SVR4.0.2 mips cc rejects this. */ + struct point {int x, y;}; + static struct point const zero = {0,0}; + /* AIX XL C 1.02.0.0 rejects this. + It does not let you subtract one const X* pointer from another in + an arm of an if-expression whose if-part is not a constant + expression */ + const char *g = "string"; + pcpcc = &g + (g ? g-g : 0); + /* HPUX 7.0 cc rejects these. */ + ++pcpcc; + ppc = (char**) pcpcc; + pcpcc = (char const *const *) ppc; + { /* SCO 3.2v4 cc rejects this sort of thing. */ + char tx; + char *t = &tx; + char const *s = 0 ? (char *) 0 : (char const *) 0; + + *t++ = 0; + if (s) return 0; + } + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ + int x[] = {25, 17}; + const int *foo = &x[0]; + ++foo; + } + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ + typedef const int *iptr; + iptr p = 0; + ++p; + } + { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ + struct s { int j; const int *ap[3]; } bx; + struct s *b = &bx; b->j = 5; + } + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ + const int foo = 10; + if (!foo) return 0; + } + return !cs[0] && !zero.x; +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_const=yes +else + ac_cv_c_const=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 +$as_echo "$ac_cv_c_const" >&6; } +if test $ac_cv_c_const = no; then + +$as_echo "#define const /**/" >>confdefs.h + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 +$as_echo_n "checking for working volatile... " >&6; } +if ${ac_cv_c_volatile+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + +volatile int x; +int * volatile y = (int *) 0; +return !x && !y; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_volatile=yes +else + ac_cv_c_volatile=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 +$as_echo "$ac_cv_c_volatile" >&6; } +if test $ac_cv_c_volatile = no; then + +$as_echo "#define volatile /**/" >>confdefs.h + +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 +$as_echo_n "checking whether byte ordering is bigendian... " >&6; } +if ${ac_cv_c_bigendian+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_bigendian=unknown + # See if we're dealing with a universal compiler. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __APPLE_CC__ + not a universal capable compiler + #endif + typedef int dummy; + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + # Check for potential -arch flags. It is not universal unless + # there are at least two -arch flags with different values. + ac_arch= + ac_prev= + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do + if test -n "$ac_prev"; then + case $ac_word in + i?86 | x86_64 | ppc | ppc64) + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then + ac_arch=$ac_word + else + ac_cv_c_bigendian=universal + break + fi + ;; + esac + ac_prev= + elif test "x$ac_word" = "x-arch"; then + ac_prev=arch + fi + done +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test $ac_cv_c_bigendian = unknown; then + # See if sys/param.h defines the BYTE_ORDER macro. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + +int +main () +{ +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ + && LITTLE_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + # It does; now see whether it defined to BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + +int +main () +{ +#if BYTE_ORDER != BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main () +{ +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + # It does; now see whether it defined to _BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main () +{ +#ifndef _BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_bigendian=yes +else + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # Compile a test program. + if test "$cross_compiling" = yes; then : + # Try to guess by grepping values from an object file. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +short int ascii_mm[] = + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; + short int ascii_ii[] = + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; + int use_ascii (int i) { + return ascii_mm[i] + ascii_ii[i]; + } + short int ebcdic_ii[] = + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; + short int ebcdic_mm[] = + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; + int use_ebcdic (int i) { + return ebcdic_mm[i] + ebcdic_ii[i]; + } + extern int foo; + +int +main () +{ +return use_ascii (foo) == use_ebcdic (foo); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then + ac_cv_c_bigendian=yes + fi + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then + if test "$ac_cv_c_bigendian" = unknown; then + ac_cv_c_bigendian=no + else + # finding both strings is unlikely to happen, but who knows? + ac_cv_c_bigendian=unknown + fi + fi +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ + + /* Are we little or big endian? From Harbison&Steele. */ + union + { + long int l; + char c[sizeof (long int)]; + } u; + u.l = 1; + return u.c[sizeof (long int) - 1] == 1; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ac_cv_c_bigendian=no +else + ac_cv_c_bigendian=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 +$as_echo "$ac_cv_c_bigendian" >&6; } + case $ac_cv_c_bigendian in #( + yes) + $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h +;; #( + no) + ;; #( + universal) + +$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h + + ;; #( + *) + as_fn_error $? "unknown endianness + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; + esac + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fno-common" >&5 +$as_echo_n "checking whether compiler handles -fno-common... " >&6; } +if ${ul_cv_warn__fno_common+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -fno-common" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__fno_common=yes +else + ul_cv_warn__fno_common=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__fno_common" >&5 +$as_echo "$ul_cv_warn__fno_common" >&6; } + if test "x$ul_cv_warn__fno_common" = xyes; then : + as_fn_append WARN_CFLAGS " -fno-common" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wall" >&5 +$as_echo_n "checking whether compiler handles -Wall... " >&6; } +if ${ul_cv_warn__Wall+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wall" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wall=yes +else + ul_cv_warn__Wall=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wall" >&5 +$as_echo "$ul_cv_warn__Wall" >&6; } + if test "x$ul_cv_warn__Wall" = xyes; then : + as_fn_append WARN_CFLAGS " -Wall" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Werror=sequence-point" >&5 +$as_echo_n "checking whether compiler handles -Werror=sequence-point... " >&6; } +if ${ul_cv_warn__Werror_sequence_point+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Werror=sequence-point" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Werror_sequence_point=yes +else + ul_cv_warn__Werror_sequence_point=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Werror_sequence_point" >&5 +$as_echo "$ul_cv_warn__Werror_sequence_point" >&6; } + if test "x$ul_cv_warn__Werror_sequence_point" = xyes; then : + as_fn_append WARN_CFLAGS " -Werror=sequence-point" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wextra" >&5 +$as_echo_n "checking whether compiler handles -Wextra... " >&6; } +if ${ul_cv_warn__Wextra+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wextra" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wextra=yes +else + ul_cv_warn__Wextra=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wextra" >&5 +$as_echo "$ul_cv_warn__Wextra" >&6; } + if test "x$ul_cv_warn__Wextra" = xyes; then : + as_fn_append WARN_CFLAGS " -Wextra" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wextra-semi" >&5 +$as_echo_n "checking whether compiler handles -Wextra-semi... " >&6; } +if ${ul_cv_warn__Wextra_semi+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wextra-semi" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wextra_semi=yes +else + ul_cv_warn__Wextra_semi=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wextra_semi" >&5 +$as_echo "$ul_cv_warn__Wextra_semi" >&6; } + if test "x$ul_cv_warn__Wextra_semi" = xyes; then : + as_fn_append WARN_CFLAGS " -Wextra-semi" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wembedded-directive" >&5 +$as_echo_n "checking whether compiler handles -Wembedded-directive... " >&6; } +if ${ul_cv_warn__Wembedded_directive+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wembedded-directive" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wembedded_directive=yes +else + ul_cv_warn__Wembedded_directive=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wembedded_directive" >&5 +$as_echo "$ul_cv_warn__Wembedded_directive" >&6; } + if test "x$ul_cv_warn__Wembedded_directive" = xyes; then : + as_fn_append WARN_CFLAGS " -Wembedded-directive" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wmissing-declarations" >&5 +$as_echo_n "checking whether compiler handles -Wmissing-declarations... " >&6; } +if ${ul_cv_warn__Wmissing_declarations+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wmissing-declarations" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wmissing_declarations=yes +else + ul_cv_warn__Wmissing_declarations=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wmissing_declarations" >&5 +$as_echo "$ul_cv_warn__Wmissing_declarations" >&6; } + if test "x$ul_cv_warn__Wmissing_declarations" = xyes; then : + as_fn_append WARN_CFLAGS " -Wmissing-declarations" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wmissing-parameter-type" >&5 +$as_echo_n "checking whether compiler handles -Wmissing-parameter-type... " >&6; } +if ${ul_cv_warn__Wmissing_parameter_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wmissing-parameter-type" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wmissing_parameter_type=yes +else + ul_cv_warn__Wmissing_parameter_type=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wmissing_parameter_type" >&5 +$as_echo "$ul_cv_warn__Wmissing_parameter_type" >&6; } + if test "x$ul_cv_warn__Wmissing_parameter_type" = xyes; then : + as_fn_append WARN_CFLAGS " -Wmissing-parameter-type" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wmissing-prototypes" >&5 +$as_echo_n "checking whether compiler handles -Wmissing-prototypes... " >&6; } +if ${ul_cv_warn__Wmissing_prototypes+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wmissing-prototypes" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wmissing_prototypes=yes +else + ul_cv_warn__Wmissing_prototypes=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wmissing_prototypes" >&5 +$as_echo "$ul_cv_warn__Wmissing_prototypes" >&6; } + if test "x$ul_cv_warn__Wmissing_prototypes" = xyes; then : + as_fn_append WARN_CFLAGS " -Wmissing-prototypes" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-missing-field-initializers" >&5 +$as_echo_n "checking whether compiler handles -Wno-missing-field-initializers... " >&6; } +if ${ul_cv_warn__Wno_missing_field_initializers+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wno-missing-field-initializers" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wno_missing_field_initializers=yes +else + ul_cv_warn__Wno_missing_field_initializers=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wno_missing_field_initializers" >&5 +$as_echo "$ul_cv_warn__Wno_missing_field_initializers" >&6; } + if test "x$ul_cv_warn__Wno_missing_field_initializers" = xyes; then : + as_fn_append WARN_CFLAGS " -Wno-missing-field-initializers" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wredundant-decls" >&5 +$as_echo_n "checking whether compiler handles -Wredundant-decls... " >&6; } +if ${ul_cv_warn__Wredundant_decls+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wredundant-decls" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wredundant_decls=yes +else + ul_cv_warn__Wredundant_decls=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wredundant_decls" >&5 +$as_echo "$ul_cv_warn__Wredundant_decls" >&6; } + if test "x$ul_cv_warn__Wredundant_decls" = xyes; then : + as_fn_append WARN_CFLAGS " -Wredundant-decls" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wsign-compare" >&5 +$as_echo_n "checking whether compiler handles -Wsign-compare... " >&6; } +if ${ul_cv_warn__Wsign_compare+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wsign-compare" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wsign_compare=yes +else + ul_cv_warn__Wsign_compare=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wsign_compare" >&5 +$as_echo "$ul_cv_warn__Wsign_compare" >&6; } + if test "x$ul_cv_warn__Wsign_compare" = xyes; then : + as_fn_append WARN_CFLAGS " -Wsign-compare" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wtype-limits" >&5 +$as_echo_n "checking whether compiler handles -Wtype-limits... " >&6; } +if ${ul_cv_warn__Wtype_limits+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wtype-limits" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wtype_limits=yes +else + ul_cv_warn__Wtype_limits=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wtype_limits" >&5 +$as_echo "$ul_cv_warn__Wtype_limits" >&6; } + if test "x$ul_cv_warn__Wtype_limits" = xyes; then : + as_fn_append WARN_CFLAGS " -Wtype-limits" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wuninitialized" >&5 +$as_echo_n "checking whether compiler handles -Wuninitialized... " >&6; } +if ${ul_cv_warn__Wuninitialized+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wuninitialized" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wuninitialized=yes +else + ul_cv_warn__Wuninitialized=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wuninitialized" >&5 +$as_echo "$ul_cv_warn__Wuninitialized" >&6; } + if test "x$ul_cv_warn__Wuninitialized" = xyes; then : + as_fn_append WARN_CFLAGS " -Wuninitialized" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wunused-but-set-parameter" >&5 +$as_echo_n "checking whether compiler handles -Wunused-but-set-parameter... " >&6; } +if ${ul_cv_warn__Wunused_but_set_parameter+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wunused-but-set-parameter" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wunused_but_set_parameter=yes +else + ul_cv_warn__Wunused_but_set_parameter=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wunused_but_set_parameter" >&5 +$as_echo "$ul_cv_warn__Wunused_but_set_parameter" >&6; } + if test "x$ul_cv_warn__Wunused_but_set_parameter" = xyes; then : + as_fn_append WARN_CFLAGS " -Wunused-but-set-parameter" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wunused-but-set-variable" >&5 +$as_echo_n "checking whether compiler handles -Wunused-but-set-variable... " >&6; } +if ${ul_cv_warn__Wunused_but_set_variable+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wunused-but-set-variable" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wunused_but_set_variable=yes +else + ul_cv_warn__Wunused_but_set_variable=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wunused_but_set_variable" >&5 +$as_echo "$ul_cv_warn__Wunused_but_set_variable" >&6; } + if test "x$ul_cv_warn__Wunused_but_set_variable" = xyes; then : + as_fn_append WARN_CFLAGS " -Wunused-but-set-variable" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wunused-parameter" >&5 +$as_echo_n "checking whether compiler handles -Wunused-parameter... " >&6; } +if ${ul_cv_warn__Wunused_parameter+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wunused-parameter" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wunused_parameter=yes +else + ul_cv_warn__Wunused_parameter=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wunused_parameter" >&5 +$as_echo "$ul_cv_warn__Wunused_parameter" >&6; } + if test "x$ul_cv_warn__Wunused_parameter" = xyes; then : + as_fn_append WARN_CFLAGS " -Wunused-parameter" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wunused-result" >&5 +$as_echo_n "checking whether compiler handles -Wunused-result... " >&6; } +if ${ul_cv_warn__Wunused_result+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wunused-result" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wunused_result=yes +else + ul_cv_warn__Wunused_result=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wunused_result" >&5 +$as_echo "$ul_cv_warn__Wunused_result" >&6; } + if test "x$ul_cv_warn__Wunused_result" = xyes; then : + as_fn_append WARN_CFLAGS " -Wunused-result" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wunused-variable" >&5 +$as_echo_n "checking whether compiler handles -Wunused-variable... " >&6; } +if ${ul_cv_warn__Wunused_variable+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wunused-variable" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wunused_variable=yes +else + ul_cv_warn__Wunused_variable=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wunused_variable" >&5 +$as_echo "$ul_cv_warn__Wunused_variable" >&6; } + if test "x$ul_cv_warn__Wunused_variable" = xyes; then : + as_fn_append WARN_CFLAGS " -Wunused-variable" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wnested-externs" >&5 +$as_echo_n "checking whether compiler handles -Wnested-externs... " >&6; } +if ${ul_cv_warn__Wnested_externs+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wnested-externs" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wnested_externs=yes +else + ul_cv_warn__Wnested_externs=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wnested_externs" >&5 +$as_echo "$ul_cv_warn__Wnested_externs" >&6; } + if test "x$ul_cv_warn__Wnested_externs" = xyes; then : + as_fn_append WARN_CFLAGS " -Wnested-externs" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wpointer-arith" >&5 +$as_echo_n "checking whether compiler handles -Wpointer-arith... " >&6; } +if ${ul_cv_warn__Wpointer_arith+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wpointer-arith" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wpointer_arith=yes +else + ul_cv_warn__Wpointer_arith=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wpointer_arith" >&5 +$as_echo "$ul_cv_warn__Wpointer_arith" >&6; } + if test "x$ul_cv_warn__Wpointer_arith" = xyes; then : + as_fn_append WARN_CFLAGS " -Wpointer-arith" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wstrict-prototypes" >&5 +$as_echo_n "checking whether compiler handles -Wstrict-prototypes... " >&6; } +if ${ul_cv_warn__Wstrict_prototypes+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wstrict-prototypes" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wstrict_prototypes=yes +else + ul_cv_warn__Wstrict_prototypes=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wstrict_prototypes" >&5 +$as_echo "$ul_cv_warn__Wstrict_prototypes" >&6; } + if test "x$ul_cv_warn__Wstrict_prototypes" = xyes; then : + as_fn_append WARN_CFLAGS " -Wstrict-prototypes" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wformat-security" >&5 +$as_echo_n "checking whether compiler handles -Wformat-security... " >&6; } +if ${ul_cv_warn__Wformat_security+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wformat-security" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wformat_security=yes +else + ul_cv_warn__Wformat_security=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wformat_security" >&5 +$as_echo "$ul_cv_warn__Wformat_security" >&6; } + if test "x$ul_cv_warn__Wformat_security" = xyes; then : + as_fn_append WARN_CFLAGS " -Wformat-security" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wimplicit-function-declaration" >&5 +$as_echo_n "checking whether compiler handles -Wimplicit-function-declaration... " >&6; } +if ${ul_cv_warn__Wimplicit_function_declaration+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wimplicit-function-declaration" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wimplicit_function_declaration=yes +else + ul_cv_warn__Wimplicit_function_declaration=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wimplicit_function_declaration" >&5 +$as_echo "$ul_cv_warn__Wimplicit_function_declaration" >&6; } + if test "x$ul_cv_warn__Wimplicit_function_declaration" = xyes; then : + as_fn_append WARN_CFLAGS " -Wimplicit-function-declaration" +fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wdiscarded-qualifiers" >&5 +$as_echo_n "checking whether compiler handles -Wdiscarded-qualifiers... " >&6; } +if ${ul_cv_warn__Wdiscarded_qualifiers+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wdiscarded-qualifiers" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wdiscarded_qualifiers=yes +else + ul_cv_warn__Wdiscarded_qualifiers=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wdiscarded_qualifiers" >&5 +$as_echo "$ul_cv_warn__Wdiscarded_qualifiers" >&6; } + if test "x$ul_cv_warn__Wdiscarded_qualifiers" = xyes; then : + as_fn_append WARN_CFLAGS " -Wdiscarded-qualifiers" +fi + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-clobbered" >&5 +$as_echo_n "checking whether compiler handles -Wno-clobbered... " >&6; } +if ${ul_cv_warn__Wno_clobbered+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wno-clobbered" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wno_clobbered=yes +else + ul_cv_warn__Wno_clobbered=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wno_clobbered" >&5 +$as_echo "$ul_cv_warn__Wno_clobbered" >&6; } + if test "x$ul_cv_warn__Wno_clobbered" = xyes; then : + as_fn_append BSD_WARN_CFLAGS " -Wno-clobbered" +fi + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-cast-function-type" >&5 +$as_echo_n "checking whether compiler handles -Wno-cast-function-type... " >&6; } +if ${ul_cv_warn__Wno_cast_function_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wno-cast-function-type" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wno_cast_function_type=yes +else + ul_cv_warn__Wno_cast_function_type=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wno_cast_function_type" >&5 +$as_echo "$ul_cv_warn__Wno_cast_function_type" >&6; } + if test "x$ul_cv_warn__Wno_cast_function_type" = xyes; then : + as_fn_append PYTHON_WARN_CFLAGS " -Wno-cast-function-type" +fi + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-unused-parameter" >&5 +$as_echo_n "checking whether compiler handles -Wno-unused-parameter... " >&6; } +if ${ul_cv_warn__Wno_unused_parameter+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -Wno-unused-parameter" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__Wno_unused_parameter=yes +else + ul_cv_warn__Wno_unused_parameter=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__Wno_unused_parameter" >&5 +$as_echo "$ul_cv_warn__Wno_unused_parameter" >&6; } + if test "x$ul_cv_warn__Wno_unused_parameter" = xyes; then : + as_fn_append NO_UNUSED_WARN_CFLAGS " -Wno-unused-parameter" +fi + + + + +# Check whether --enable-asan was given. +if test "${enable_asan+set}" = set; then : + enableval=$enable_asan; +else + enable_asan=no + +fi + +if test "x$enable_asan" = xyes; then : + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fsanitize=address" >&5 +$as_echo_n "checking whether compiler handles -fsanitize=address... " >&6; } +if ${ul_cv_warn__fsanitize_address+:} false; then : + $as_echo_n "(cached) " >&6 +else + + # store AC_LANG_WERROR status, then turn it on + save_ac_c_werror_flag="${ac_c_werror_flag}" + +ac_c_werror_flag=yes + + ul_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="-Werror ${CPPFLAGS} -fsanitize=address" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ul_cv_warn__fsanitize_address=yes +else + ul_cv_warn__fsanitize_address=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext + # restore AC_LANG_WERROR + ac_c_werror_flag="${save_ac_c_werror_flag}" + + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_warn__fsanitize_address" >&5 +$as_echo "$ul_cv_warn__fsanitize_address" >&6; } + if test "x$ul_cv_warn__fsanitize_address" = xyes; then : + as_fn_append WARN_CFLAGS " -fsanitize=address" +fi + + +fi + + + +case `pwd` in + *\ * | *\ *) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; +esac + + + +macro_version='2.4.6' +macro_revision='2.4.6' + + + + + + + + + + + + + +ltmain=$ac_aux_dir/ltmain.sh + +# Backslashify metacharacters that are still active within +# double-quoted strings. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\(["`\\]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to delay expansion of an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 +$as_echo_n "checking how to print strings... " >&6; } +# Test print first, because it will be a builtin if present. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='print -r --' +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='printf %s\n' +else + # Use this function as a fallback that always works. + func_fallback_echo () + { + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' + } + ECHO='func_fallback_echo' +fi + +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "" +} + +case $ECHO in + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 +$as_echo "printf" >&6; } ;; + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 +$as_echo "print -r" >&6; } ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 +$as_echo "cat" >&6; } ;; +esac + + + + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 +$as_echo_n "checking for a sed that does not truncate output... " >&6; } +if ${ac_cv_path_SED+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ + for ac_i in 1 2 3 4 5 6 7; do + ac_script="$ac_script$as_nl$ac_script" + done + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed + { ac_script=; unset ac_script;} + if test -z "$SED"; then + ac_path_SED_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_SED" || continue +# Check for GNU ac_path_SED and select it if it is found. + # Check for GNU $ac_path_SED +case `"$ac_path_SED" --version 2>&1` in +*GNU*) + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo '' >> "conftest.nl" + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_SED_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_SED="$ac_path_SED" + ac_path_SED_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_SED_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_SED"; then + as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 + fi +else + ac_cv_path_SED=$SED +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 +$as_echo "$ac_cv_path_SED" >&6; } + SED="$ac_cv_path_SED" + rm -f conftest.sed + +test -z "$SED" && SED=sed +Xsed="$SED -e 1s/^X//" + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 +$as_echo_n "checking for fgrep... " >&6; } +if ${ac_cv_path_FGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 + then ac_cv_path_FGREP="$GREP -F" + else + if test -z "$FGREP"; then + ac_path_FGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in fgrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_FGREP" || continue +# Check for GNU ac_path_FGREP and select it if it is found. + # Check for GNU $ac_path_FGREP +case `"$ac_path_FGREP" --version 2>&1` in +*GNU*) + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'FGREP' >> "conftest.nl" + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_FGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_FGREP="$ac_path_FGREP" + ac_path_FGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_FGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_FGREP"; then + as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_FGREP=$FGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 +$as_echo "$ac_cv_path_FGREP" >&6; } + FGREP="$ac_cv_path_FGREP" + + +test -z "$GREP" && GREP=grep + + + + + + + + + + + + + + + + + + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +ac_prog=ld +if test yes = "$GCC"; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 +$as_echo_n "checking for ld used by $CC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return, which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | ?:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD=$ac_prog + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test yes = "$with_gnu_ld"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${lt_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS=$lt_save_ifs + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD=$ac_dir/$ac_prog + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${lt_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU lds only accept -v. +case `$LD -v 2>&1 &5 +$as_echo "$lt_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$lt_cv_prog_gnu_ld + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } +if ${lt_cv_path_NM+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM=$NM +else + lt_nm_to_check=${ac_tool_prefix}nm + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then + lt_nm_to_check="$lt_nm_to_check nm" + fi + for lt_tmp_nm in $lt_nm_to_check; do + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do + IFS=$lt_save_ifs + test -z "$ac_dir" && ac_dir=. + tmp_nm=$ac_dir/$lt_tmp_nm + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the 'sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty + case $build_os in + mingw*) lt_bad_file=conftest.nm/nofile ;; + *) lt_bad_file=/dev/null ;; + esac + case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in + *$lt_bad_file* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break 2 + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break 2 + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + ;; + esac + fi + done + IFS=$lt_save_ifs + done + : ${lt_cv_path_NM=no} +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 +$as_echo "$lt_cv_path_NM" >&6; } +if test no != "$lt_cv_path_NM"; then + NM=$lt_cv_path_NM +else + # Didn't find any BSD compatible name lister, look for dumpbin. + if test -n "$DUMPBIN"; then : + # Let the user override the test. + else + if test -n "$ac_tool_prefix"; then + for ac_prog in dumpbin "link -dump" + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DUMPBIN+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DUMPBIN"; then + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DUMPBIN=$ac_cv_prog_DUMPBIN +if test -n "$DUMPBIN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 +$as_echo "$DUMPBIN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$DUMPBIN" && break + done +fi +if test -z "$DUMPBIN"; then + ac_ct_DUMPBIN=$DUMPBIN + for ac_prog in dumpbin "link -dump" +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DUMPBIN"; then + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN +if test -n "$ac_ct_DUMPBIN"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 +$as_echo "$ac_ct_DUMPBIN" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_DUMPBIN" && break +done + + if test "x$ac_ct_DUMPBIN" = x; then + DUMPBIN=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DUMPBIN=$ac_ct_DUMPBIN + fi +fi + + case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols -headers" + ;; + *) + DUMPBIN=: + ;; + esac + fi + + if test : != "$DUMPBIN"; then + NM=$DUMPBIN + fi +fi +test -z "$NM" && NM=nm + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 +$as_echo_n "checking the name lister ($NM) interface... " >&6; } +if ${lt_cv_nm_interface+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_nm_interface="BSD nm" + echo "int some_variable = 0;" > conftest.$ac_ext + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) + (eval "$ac_compile" 2>conftest.err) + cat conftest.err >&5 + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) + cat conftest.err >&5 + (eval echo "\"\$as_me:$LINENO: output\"" >&5) + cat conftest.out >&5 + if $GREP 'External.*some_variable' conftest.out > /dev/null; then + lt_cv_nm_interface="MS dumpbin" + fi + rm -f conftest* +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 +$as_echo "$lt_cv_nm_interface" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +$as_echo_n "checking whether ln -s works... " >&6; } +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 +$as_echo "no, using $LN_S" >&6; } +fi + +# find the maximum length of command line arguments +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 +$as_echo_n "checking the maximum length of command line arguments... " >&6; } +if ${lt_cv_sys_max_cmd_len+:} false; then : + $as_echo_n "(cached) " >&6 +else + i=0 + teststring=ABCD + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw* | cegcc*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + mint*) + # On MiNT this can take a long time and run out of memory. + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 + ;; + + os2*) + # The test takes a long time on OS/2. + lt_cv_sys_max_cmd_len=8192 + ;; + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len" && \ + test undefined != "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + # Make teststring a little bigger before we do anything with it. + # a 1K string should be a reasonable start. + for i in 1 2 3 4 5 6 7 8; do + teststring=$teststring$teststring + done + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while { test X`env echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && + test 17 != "$i" # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + # Only check the string length outside the loop. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` + teststring= + # Add a significant safety factor because C++ compilers can tack on + # massive amounts of additional arguments before passing them to the + # linker. It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi + ;; + esac + +fi + +if test -n "$lt_cv_sys_max_cmd_len"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 +$as_echo "$lt_cv_sys_max_cmd_len" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 +$as_echo "none" >&6; } +fi +max_cmd_len=$lt_cv_sys_max_cmd_len + + + + + + +: ${CP="cp -f"} +: ${MV="mv -f"} +: ${RM="rm -f"} + +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + lt_unset=unset +else + lt_unset=false +fi + + + + + +# test EBCDIC or ASCII +case `echo X|tr X '\101'` in + A) # ASCII based system + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr + lt_SP2NL='tr \040 \012' + lt_NL2SP='tr \015\012 \040\040' + ;; + *) # EBCDIC based system + lt_SP2NL='tr \100 \n' + lt_NL2SP='tr \r\n \100\100' + ;; +esac + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 +$as_echo_n "checking how to convert $build file names to $host format... " >&6; } +if ${lt_cv_to_host_file_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 + ;; + esac + ;; + *-*-cygwin* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin + ;; + esac + ;; + * ) # unhandled hosts (and "normal" native builds) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; +esac + +fi + +to_host_file_cmd=$lt_cv_to_host_file_cmd +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 +$as_echo "$lt_cv_to_host_file_cmd" >&6; } + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 +$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } +if ${lt_cv_to_tool_file_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + #assume ordinary cross tools, or native build. +lt_cv_to_tool_file_cmd=func_convert_file_noop +case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 + ;; + esac + ;; +esac + +fi + +to_tool_file_cmd=$lt_cv_to_tool_file_cmd +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 +$as_echo "$lt_cv_to_tool_file_cmd" >&6; } + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 +$as_echo_n "checking for $LD option to reload object files... " >&6; } +if ${lt_cv_ld_reload_flag+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_reload_flag='-r' +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 +$as_echo "$lt_cv_ld_reload_flag" >&6; } +reload_flag=$lt_cv_ld_reload_flag +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' +case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + if test yes != "$GCC"; then + reload_cmds=false + fi + ;; + darwin*) + if test yes = "$GCC"; then + reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' + else + reload_cmds='$LD$reload_flag -o $output$reload_objs' + fi + ;; +esac + + + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. +set dummy ${ac_tool_prefix}objdump; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OBJDUMP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OBJDUMP"; then + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OBJDUMP=$ac_cv_prog_OBJDUMP +if test -n "$OBJDUMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 +$as_echo "$OBJDUMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OBJDUMP"; then + ac_ct_OBJDUMP=$OBJDUMP + # Extract the first word of "objdump", so it can be a program name with args. +set dummy objdump; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OBJDUMP"; then + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_OBJDUMP="objdump" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP +if test -n "$ac_ct_OBJDUMP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 +$as_echo "$ac_ct_OBJDUMP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OBJDUMP" = x; then + OBJDUMP="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OBJDUMP=$ac_ct_OBJDUMP + fi +else + OBJDUMP="$ac_cv_prog_OBJDUMP" +fi + +test -z "$OBJDUMP" && OBJDUMP=objdump + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 +$as_echo_n "checking how to recognize dependent libraries... " >&6; } +if ${lt_cv_deplibs_check_method+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# 'unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# that responds to the $file_magic_cmd with a given extended regex. +# If you have 'file' or equivalent on your system and you're not sure +# whether 'pass_all' will *always* work, you probably want this one. + +case $host_os in +aix[4-9]*) + lt_cv_deplibs_check_method=pass_all + ;; + +beos*) + lt_cv_deplibs_check_method=pass_all + ;; + +bsdi[45]*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; + +cygwin*) + # func_win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + ;; + +mingw* | pw32*) + # Base MSYS/MinGW do not provide the 'file' command needed by + # func_win32_libid shell function, so use a weaker test based on 'objdump', + # unless we find 'file', for example because we are cross-compiling. + if ( file / ) >/dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + # Keep this pattern in sync with the one in func_win32_libid. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + ;; + +cegcc*) + # use the weaker test based on 'objdump'. See mingw*. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +haiku*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +interix[3-9]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +*nto* | *qnx*) + lt_cv_deplibs_check_method=pass_all + ;; + +openbsd* | bitrig*) + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +rdos*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + pc) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +tpf*) + lt_cv_deplibs_check_method=pass_all + ;; +os2*) + lt_cv_deplibs_check_method=pass_all + ;; +esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 +$as_echo "$lt_cv_deplibs_check_method" >&6; } + +file_magic_glob= +want_nocaseglob=no +if test "$build" = "$host"; then + case $host_os in + mingw* | pw32*) + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then + want_nocaseglob=yes + else + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` + fi + ;; + esac +fi + +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown + + + + + + + + + + + + + + + + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DLLTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DLLTOOL"; then + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DLLTOOL=$ac_cv_prog_DLLTOOL +if test -n "$DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 +$as_echo "$DLLTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_DLLTOOL"; then + ac_ct_DLLTOOL=$DLLTOOL + # Extract the first word of "dlltool", so it can be a program name with args. +set dummy dlltool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DLLTOOL"; then + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_DLLTOOL="dlltool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL +if test -n "$ac_ct_DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 +$as_echo "$ac_ct_DLLTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_DLLTOOL" = x; then + DLLTOOL="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DLLTOOL=$ac_ct_DLLTOOL + fi +else + DLLTOOL="$ac_cv_prog_DLLTOOL" +fi + +test -z "$DLLTOOL" && DLLTOOL=dlltool + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 +$as_echo_n "checking how to associate runtime and link libraries... " >&6; } +if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_sharedlib_from_linklib_cmd='unknown' + +case $host_os in +cygwin* | mingw* | pw32* | cegcc*) + # two different shell functions defined in ltmain.sh; + # decide which one to use based on capabilities of $DLLTOOL + case `$DLLTOOL --help 2>&1` in + *--identify-strict*) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib + ;; + *) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback + ;; + esac + ;; +*) + # fallback: assume linklib IS sharedlib + lt_cv_sharedlib_from_linklib_cmd=$ECHO + ;; +esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO + + + + + + + +if test -n "$ac_tool_prefix"; then + for ac_prog in ar + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AR="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AR" && break + done +fi +if test -z "$AR"; then + ac_ct_AR=$AR + for ac_prog in ar +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_AR="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +$as_echo "$ac_ct_AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_AR" && break +done + + if test "x$ac_ct_AR" = x; then + AR="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + AR=$ac_ct_AR + fi +fi + +: ${AR=ar} +: ${AR_FLAGS=cru} + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 +$as_echo_n "checking for archiver @FILE support... " >&6; } +if ${lt_cv_ar_at_file+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ar_at_file=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + echo conftest.$ac_objext > conftest.lst + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 + (eval $lt_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test 0 -eq "$ac_status"; then + # Ensure the archiver fails upon bogus file names. + rm -f conftest.$ac_objext libconftest.a + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 + (eval $lt_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test 0 -ne "$ac_status"; then + lt_cv_ar_at_file=@ + fi + fi + rm -f conftest.* libconftest.a + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 +$as_echo "$lt_cv_ar_at_file" >&6; } + +if test no = "$lt_cv_ar_at_file"; then + archiver_list_spec= +else + archiver_list_spec=$lt_cv_ar_at_file +fi + + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +test -z "$STRIP" && STRIP=: + + + + + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + +test -z "$RANLIB" && RANLIB=: + + + + + + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + bitrig* | openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" +fi + +case $host_os in + darwin*) + lock_old_archive_extraction=yes ;; + *) + lock_old_archive_extraction=no ;; +esac + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# Check for command to grab the raw symbol name followed by C symbol from nm. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } +if ${lt_cv_sys_global_symbol_pipe+:} false; then : + $as_echo_n "(cached) " >&6 +else + +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[BCDEGRST]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[BCDT]' + ;; +cygwin* | mingw* | pw32* | cegcc*) + symcode='[ABCDGISTW]' + ;; +hpux*) + if test ia64 = "$host_cpu"; then + symcode='[ABCDEGRST]' + fi + ;; +irix* | nonstopux*) + symcode='[BCDEGRST]' + ;; +osf*) + symcode='[BCDEGQRST]' + ;; +solaris*) + symcode='[BDRT]' + ;; +sco3.2v5*) + symcode='[DT]' + ;; +sysv4.2uw2*) + symcode='[DT]' + ;; +sysv5* | sco5v6* | unixware* | OpenUNIX*) + symcode='[ABDT]' + ;; +sysv4) + symcode='[DFNSTU]' + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[ABCDGIRSTW]' ;; +esac + +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + # Gets list of data symbols to import. + lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" + # Adjust the below global symbol transforms to fixup imported variables. + lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" + lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" + lt_c_name_lib_hook="\ + -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ + -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" +else + # Disable hooks by default. + lt_cv_sys_global_symbol_to_import= + lt_cdecl_hook= + lt_c_name_hook= + lt_c_name_lib_hook= +fi + +# Transform an extracted symbol line into a proper C declaration. +# Some systems (esp. on ia64) link data and code symbols differently, +# so use this general approach. +lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +$lt_cdecl_hook\ +" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ +" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ +$lt_c_name_hook\ +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" + +# Transform an extracted symbol line into symbol name with lib prefix and +# symbol address. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ +$lt_c_name_lib_hook\ +" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ +" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ +" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# Try without a prefix underscore, then with it. +for ac_symprfx in "" "_"; do + + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" + + # Write the raw and C identifiers. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then + # Fake it for dumpbin and say T for any non-static function, + # D for any global variable and I for any imported variable. + # Also find C++ and __fastcall symbols from MSVC++, + # which start with @ or ?. + lt_cv_sys_global_symbol_pipe="$AWK '"\ +" {last_section=section; section=\$ 3};"\ +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ +" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ +" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ +" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ +" \$ 0!~/External *\|/{next};"\ +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ +" {if(hide[section]) next};"\ +" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ +" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ +" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ +" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ +" ' prfx=^$ac_symprfx" + else + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + fi + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <<_LT_EOF +#ifdef __cplusplus +extern "C" { +#endif +char nm_test_var; +void nm_test_func(void); +void nm_test_func(void){} +#ifdef __cplusplus +} +#endif +int main(){nm_test_var='a';nm_test_func();return(0);} +_LT_EOF + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + # Now try to grab the symbols. + nlist=conftest.nm + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then + cat <<_LT_EOF > conftest.$ac_ext +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE +/* DATA imports from DLLs on WIN32 can't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT_DLSYM_CONST +#elif defined __osf__ +/* This system does not cope well with relocations in const data. */ +# define LT_DLSYM_CONST +#else +# define LT_DLSYM_CONST const +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +_LT_EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' + + cat <<_LT_EOF >> conftest.$ac_ext + +/* The mapping between symbol names and symbols. */ +LT_DLSYM_CONST struct { + const char *name; + void *address; +} +lt__PROGRAM__LTX_preloaded_symbols[] = +{ + { "@PROGRAM@", (void *) 0 }, +_LT_EOF + $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext + cat <<\_LT_EOF >> conftest.$ac_ext + {0, (void *) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt__PROGRAM__LTX_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif +_LT_EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_globsym_save_LIBS=$LIBS + lt_globsym_save_CFLAGS=$CFLAGS + LIBS=conftstm.$ac_objext + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s conftest$ac_exeext; then + pipe_works=yes + fi + LIBS=$lt_globsym_save_LIBS + CFLAGS=$lt_globsym_save_CFLAGS + else + echo "cannot find nm_test_func in $nlist" >&5 + fi + else + echo "cannot find nm_test_var in $nlist" >&5 + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 + fi + else + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi + rm -rf conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test yes = "$pipe_works"; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done + +fi + +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 +$as_echo "failed" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +$as_echo "ok" >&6; } +fi + +# Response file support. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + nm_file_list_spec='@' +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then + nm_file_list_spec='@' +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 +$as_echo_n "checking for sysroot... " >&6; } + +# Check whether --with-sysroot was given. +if test "${with_sysroot+set}" = set; then : + withval=$with_sysroot; +else + with_sysroot=no +fi + + +lt_sysroot= +case $with_sysroot in #( + yes) + if test yes = "$GCC"; then + lt_sysroot=`$CC --print-sysroot 2>/dev/null` + fi + ;; #( + /*) + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + ;; #( + no|'') + ;; #( + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 +$as_echo "$with_sysroot" >&6; } + as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 + ;; +esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 +$as_echo "${lt_sysroot:-no}" >&6; } + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 +$as_echo_n "checking for a working dd... " >&6; } +if ${ac_cv_path_lt_DD+:} false; then : + $as_echo_n "(cached) " >&6 +else + printf 0123456789abcdef0123456789abcdef >conftest.i +cat conftest.i conftest.i >conftest2.i +: ${lt_DD:=$DD} +if test -z "$lt_DD"; then + ac_path_lt_DD_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in dd; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_lt_DD" || continue +if "$ac_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then + cmp -s conftest.i conftest.out \ + && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: +fi + $ac_path_lt_DD_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_lt_DD"; then + : + fi +else + ac_cv_path_lt_DD=$lt_DD +fi + +rm -f conftest.i conftest2.i conftest.out +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 +$as_echo "$ac_cv_path_lt_DD" >&6; } + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 +$as_echo_n "checking how to truncate binary pipes... " >&6; } +if ${lt_cv_truncate_bin+:} false; then : + $as_echo_n "(cached) " >&6 +else + printf 0123456789abcdef0123456789abcdef >conftest.i +cat conftest.i conftest.i >conftest2.i +lt_cv_truncate_bin= +if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then + cmp -s conftest.i conftest.out \ + && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" +fi +rm -f conftest.i conftest2.i conftest.out +test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 +$as_echo "$lt_cv_truncate_bin" >&6; } + + + + + + + +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. +func_cc_basename () +{ + for cc_temp in $*""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac + done + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` +} + +# Check whether --enable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then : + enableval=$enable_libtool_lock; +fi + +test no = "$enable_libtool_lock" || enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out what ABI is being produced by ac_compile, and set mode + # options accordingly. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE=32 + ;; + *ELF-64*) + HPUX_IA64_MODE=64 + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out what ABI is being produced by ac_compile, and set linker + # options accordingly. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + if test yes = "$lt_cv_prog_gnu_ld"; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +mips64*-*linux*) + # Find out what ABI is being produced by ac_compile, and set linker + # options accordingly. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + emul=elf + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + emul="${emul}32" + ;; + *64-bit*) + emul="${emul}64" + ;; + esac + case `/usr/bin/file conftest.$ac_objext` in + *MSB*) + emul="${emul}btsmip" + ;; + *LSB*) + emul="${emul}ltsmip" + ;; + esac + case `/usr/bin/file conftest.$ac_objext` in + *N32*) + emul="${emul}n32" + ;; + esac + LD="${LD-ld} -m $emul" + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) + # Find out what ABI is being produced by ac_compile, and set linker + # options accordingly. Note that the listed cases only cover the + # situations where additional linker options are needed (such as when + # doing 32-bit compilation for a host where ld defaults to 64-bit, or + # vice versa); the common cases where no linker options are needed do + # not appear in the list. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + case `/usr/bin/file conftest.o` in + *x86-64*) + LD="${LD-ld} -m elf32_x86_64" + ;; + *) + LD="${LD-ld} -m elf_i386" + ;; + esac + ;; + powerpc64le-*linux*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + powerpcle-*linux*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*|s390*-*tpf*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS -belf" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 +$as_echo_n "checking whether the C compiler needs -belf... " >&6; } +if ${lt_cv_cc_needs_belf+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_cc_needs_belf=yes +else + lt_cv_cc_needs_belf=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 +$as_echo "$lt_cv_cc_needs_belf" >&6; } + if test yes != "$lt_cv_cc_needs_belf"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS=$SAVE_CFLAGS + fi + ;; +*-*solaris*) + # Find out what ABI is being produced by ac_compile, and set linker + # options accordingly. + echo 'int i;' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) + case $host in + i?86-*-solaris*|x86_64-*-solaris*) + LD="${LD-ld} -m elf_x86_64" + ;; + sparc*-*-solaris*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + # GNU ld 2.21 introduced _sol2 emulations. Use them if available. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then + LD=${LD-ld}_sol2 + fi + ;; + *) + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then + LD="${LD-ld} -64" + fi + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; +esac + +need_locks=$enable_libtool_lock + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. +set dummy ${ac_tool_prefix}mt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$MANIFEST_TOOL"; then + ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL +if test -n "$MANIFEST_TOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 +$as_echo "$MANIFEST_TOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then + ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL + # Extract the first word of "mt", so it can be a program name with args. +set dummy mt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_MANIFEST_TOOL"; then + ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL +if test -n "$ac_ct_MANIFEST_TOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_MANIFEST_TOOL" = x; then + MANIFEST_TOOL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL + fi +else + MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" +fi + +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } +if ${lt_cv_path_mainfest_tool+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_path_mainfest_tool=no + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out + cat conftest.err >&5 + if $GREP 'Manifest Tool' conftest.out > /dev/null; then + lt_cv_path_mainfest_tool=yes + fi + rm -f conftest* +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 +$as_echo "$lt_cv_path_mainfest_tool" >&6; } +if test yes != "$lt_cv_path_mainfest_tool"; then + MANIFEST_TOOL=: +fi + + + + + + + case $host_os in + rhapsody* | darwin*) + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_DSYMUTIL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$DSYMUTIL"; then + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +DSYMUTIL=$ac_cv_prog_DSYMUTIL +if test -n "$DSYMUTIL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 +$as_echo "$DSYMUTIL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_DSYMUTIL"; then + ac_ct_DSYMUTIL=$DSYMUTIL + # Extract the first word of "dsymutil", so it can be a program name with args. +set dummy dsymutil; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_DSYMUTIL"; then + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL +if test -n "$ac_ct_DSYMUTIL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 +$as_echo "$ac_ct_DSYMUTIL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_DSYMUTIL" = x; then + DSYMUTIL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DSYMUTIL=$ac_ct_DSYMUTIL + fi +else + DSYMUTIL="$ac_cv_prog_DSYMUTIL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_NMEDIT+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NMEDIT"; then + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +NMEDIT=$ac_cv_prog_NMEDIT +if test -n "$NMEDIT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 +$as_echo "$NMEDIT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_NMEDIT"; then + ac_ct_NMEDIT=$NMEDIT + # Extract the first word of "nmedit", so it can be a program name with args. +set dummy nmedit; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_NMEDIT"; then + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_NMEDIT="nmedit" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT +if test -n "$ac_ct_NMEDIT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 +$as_echo "$ac_ct_NMEDIT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_NMEDIT" = x; then + NMEDIT=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + NMEDIT=$ac_ct_NMEDIT + fi +else + NMEDIT="$ac_cv_prog_NMEDIT" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. +set dummy ${ac_tool_prefix}lipo; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_LIPO+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$LIPO"; then + ac_cv_prog_LIPO="$LIPO" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_LIPO="${ac_tool_prefix}lipo" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +LIPO=$ac_cv_prog_LIPO +if test -n "$LIPO"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 +$as_echo "$LIPO" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_LIPO"; then + ac_ct_LIPO=$LIPO + # Extract the first word of "lipo", so it can be a program name with args. +set dummy lipo; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_LIPO+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_LIPO"; then + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_LIPO="lipo" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO +if test -n "$ac_ct_LIPO"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 +$as_echo "$ac_ct_LIPO" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_LIPO" = x; then + LIPO=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + LIPO=$ac_ct_LIPO + fi +else + LIPO="$ac_cv_prog_LIPO" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. +set dummy ${ac_tool_prefix}otool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OTOOL"; then + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_OTOOL="${ac_tool_prefix}otool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OTOOL=$ac_cv_prog_OTOOL +if test -n "$OTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 +$as_echo "$OTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OTOOL"; then + ac_ct_OTOOL=$OTOOL + # Extract the first word of "otool", so it can be a program name with args. +set dummy otool; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OTOOL"; then + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_OTOOL="otool" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL +if test -n "$ac_ct_OTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 +$as_echo "$ac_ct_OTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OTOOL" = x; then + OTOOL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OTOOL=$ac_ct_OTOOL + fi +else + OTOOL="$ac_cv_prog_OTOOL" +fi + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. +set dummy ${ac_tool_prefix}otool64; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_OTOOL64+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$OTOOL64"; then + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +OTOOL64=$ac_cv_prog_OTOOL64 +if test -n "$OTOOL64"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 +$as_echo "$OTOOL64" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_OTOOL64"; then + ac_ct_OTOOL64=$OTOOL64 + # Extract the first word of "otool64", so it can be a program name with args. +set dummy otool64; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_OTOOL64"; then + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_OTOOL64="otool64" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 +if test -n "$ac_ct_OTOOL64"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 +$as_echo "$ac_ct_OTOOL64" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_OTOOL64" = x; then + OTOOL64=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + OTOOL64=$ac_ct_OTOOL64 + fi +else + OTOOL64="$ac_cv_prog_OTOOL64" +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 +$as_echo_n "checking for -single_module linker flag... " >&6; } +if ${lt_cv_apple_cc_single_mod+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_apple_cc_single_mod=no + if test -z "$LT_MULTI_MODULE"; then + # By default we will add the -single_module flag. You can override + # by either setting the environment variable LT_MULTI_MODULE + # non-empty at configure time, or by adding -multi_module to the + # link flags. + rm -rf libconftest.dylib* + echo "int foo(void){return 1;}" > conftest.c + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ +-dynamiclib -Wl,-single_module conftest.c" >&5 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err + _lt_result=$? + # If there is a non-empty error log, and "single_module" + # appears in it, assume the flag caused a linker warning + if test -s conftest.err && $GREP single_module conftest.err; then + cat conftest.err >&5 + # Otherwise, if the output was created with a 0 exit code from + # the compiler, it worked. + elif test -f libconftest.dylib && test 0 = "$_lt_result"; then + lt_cv_apple_cc_single_mod=yes + else + cat conftest.err >&5 + fi + rm -rf libconftest.dylib* + rm -f conftest.* + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 +$as_echo "$lt_cv_apple_cc_single_mod" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } +if ${lt_cv_ld_exported_symbols_list+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_ld_exported_symbols_list=yes +else + lt_cv_ld_exported_symbols_list=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$save_LDFLAGS + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 +$as_echo_n "checking for -force_load linker flag... " >&6; } +if ${lt_cv_ld_force_load+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_force_load=no + cat > conftest.c << _LT_EOF +int forced_loaded() { return 2;} +_LT_EOF + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 + echo "$AR cru libconftest.a conftest.o" >&5 + $AR cru libconftest.a conftest.o 2>&5 + echo "$RANLIB libconftest.a" >&5 + $RANLIB libconftest.a 2>&5 + cat > conftest.c << _LT_EOF +int main() { return 0;} +_LT_EOF + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err + _lt_result=$? + if test -s conftest.err && $GREP force_load conftest.err; then + cat conftest.err >&5 + elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then + lt_cv_ld_force_load=yes + else + cat conftest.err >&5 + fi + rm -f conftest.err libconftest.a conftest conftest.c + rm -rf conftest.dSYM + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 +$as_echo "$lt_cv_ld_force_load" >&6; } + case $host_os in + rhapsody* | darwin1.[012]) + _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; + darwin1.*) + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; + darwin*) # darwin 5.x on + # if running on 10.5 or later, the deployment target defaults + # to the OS version, if on x86, and 10.4, the deployment + # target defaults to 10.4. Don't you love it? + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in + 10.0,*86*-darwin8*|10.0,*-darwin[91]*) + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; + 10.[012][,.]*) + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; + 10.*) + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; + esac + ;; + esac + if test yes = "$lt_cv_apple_cc_single_mod"; then + _lt_dar_single_mod='$single_module' + fi + if test yes = "$lt_cv_ld_exported_symbols_list"; then + _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' + else + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' + fi + if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then + _lt_dsymutil='~$DSYMUTIL $lib || :' + else + _lt_dsymutil= + fi + ;; + esac + +# func_munge_path_list VARIABLE PATH +# ----------------------------------- +# VARIABLE is name of variable containing _space_ separated list of +# directories to be munged by the contents of PATH, which is string +# having a format: +# "DIR[:DIR]:" +# string "DIR[ DIR]" will be prepended to VARIABLE +# ":DIR[:DIR]" +# string "DIR[ DIR]" will be appended to VARIABLE +# "DIRP[:DIRP]::[DIRA:]DIRA" +# string "DIRP[ DIRP]" will be prepended to VARIABLE and string +# "DIRA[ DIRA]" will be appended to VARIABLE +# "DIR[:DIR]" +# VARIABLE will be replaced by "DIR[ DIR]" +func_munge_path_list () +{ + case x$2 in + x) + ;; + *:) + eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" + ;; + x:*) + eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" + ;; + *::*) + eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" + eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" + ;; + *) + eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" + ;; + esac +} + +for ac_header in dlfcn.h +do : + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default +" +if test "x$ac_cv_header_dlfcn_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_DLFCN_H 1 +_ACEOF + +fi + +done + + + + + +# Set options + + + + enable_dlopen=no + + + enable_win32_dll=no + + + # Check whether --enable-shared was given. +if test "${enable_shared+set}" = set; then : + enableval=$enable_shared; p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for pkg in $enableval; do + IFS=$lt_save_ifs + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS=$lt_save_ifs + ;; + esac +else + enable_shared=yes +fi + + + + + + + + + + # Check whether --enable-static was given. +if test "${enable_static+set}" = set; then : + enableval=$enable_static; p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for pkg in $enableval; do + IFS=$lt_save_ifs + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS=$lt_save_ifs + ;; + esac +else + enable_static=yes +fi + + + + + + + + + + +# Check whether --with-pic was given. +if test "${with_pic+set}" = set; then : + withval=$with_pic; lt_p=${PACKAGE-default} + case $withval in + yes|no) pic_mode=$withval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for lt_pkg in $withval; do + IFS=$lt_save_ifs + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS=$lt_save_ifs + ;; + esac +else + pic_mode=default +fi + + + + + + + + + # Check whether --enable-fast-install was given. +if test "${enable_fast_install+set}" = set; then : + enableval=$enable_fast_install; p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for pkg in $enableval; do + IFS=$lt_save_ifs + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS=$lt_save_ifs + ;; + esac +else + enable_fast_install=yes +fi + + + + + + + + + shared_archive_member_spec= +case $host,$enable_shared in +power*-*-aix[5-9]*,yes) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 +$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } + +# Check whether --with-aix-soname was given. +if test "${with_aix_soname+set}" = set; then : + withval=$with_aix_soname; case $withval in + aix|svr4|both) + ;; + *) + as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 + ;; + esac + lt_cv_with_aix_soname=$with_aix_soname +else + if ${lt_cv_with_aix_soname+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_with_aix_soname=aix +fi + + with_aix_soname=$lt_cv_with_aix_soname +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 +$as_echo "$with_aix_soname" >&6; } + if test aix != "$with_aix_soname"; then + # For the AIX way of multilib, we name the shared archive member + # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', + # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. + # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, + # the AIX toolchain works better with OBJECT_MODE set (default 32). + if test 64 = "${OBJECT_MODE-32}"; then + shared_archive_member_spec=shr_64 + else + shared_archive_member_spec=shr + fi + fi + ;; +*) + with_aix_soname=aix + ;; +esac + + + + + + + + + + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS=$ltmain + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +test -z "$LN_S" && LN_S="ln -s" + + + + + + + + + + + + + + +if test -n "${ZSH_VERSION+set}"; then + setopt NO_GLOB_SUBST +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 +$as_echo_n "checking for objdir... " >&6; } +if ${lt_cv_objdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 +$as_echo "$lt_cv_objdir" >&6; } +objdir=$lt_cv_objdir + + + + + +cat >>confdefs.h <<_ACEOF +#define LT_OBJDIR "$lt_cv_objdir/" +_ACEOF + + + + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test set != "${COLLECT_NAMES+set}"; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Global variables: +ofile=libtool +can_build_shared=yes + +# All known linkers require a '.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a + +with_gnu_ld=$lt_cv_prog_gnu_ld + +old_CC=$CC +old_CFLAGS=$CFLAGS + +# Set sane defaults for various variables +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS +test -z "$LD" && LD=ld +test -z "$ac_objext" && ac_objext=o + +func_cc_basename $compiler +cc_basename=$func_cc_basename_result + + +# Only perform the check for file, if the check method requires it +test -z "$MAGIC_CMD" && MAGIC_CMD=file +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } +if ${lt_cv_path_MAGIC_CMD+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD=$MAGIC_CMD + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS=$lt_save_ifs + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/${ac_tool_prefix}file"; then + lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD=$lt_cv_path_MAGIC_CMD + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS=$lt_save_ifs + MAGIC_CMD=$lt_save_MAGIC_CMD + ;; +esac +fi + +MAGIC_CMD=$lt_cv_path_MAGIC_CMD +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + + +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 +$as_echo_n "checking for file... " >&6; } +if ${lt_cv_path_MAGIC_CMD+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD=$MAGIC_CMD + lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS=$lt_save_ifs + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/file"; then + lt_cv_path_MAGIC_CMD=$ac_dir/"file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD=$lt_cv_path_MAGIC_CMD + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <<_LT_EOF 1>&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +_LT_EOF + fi ;; + esac + fi + break + fi + done + IFS=$lt_save_ifs + MAGIC_CMD=$lt_save_MAGIC_CMD + ;; +esac +fi + +MAGIC_CMD=$lt_cv_path_MAGIC_CMD +if test -n "$MAGIC_CMD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 +$as_echo "$MAGIC_CMD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + else + MAGIC_CMD=: + fi +fi + + fi + ;; +esac + +# Use C for the default configuration in the libtool script + +lt_save_CC=$CC +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +objext=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}' + + + + + + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + +# Save the default compiler, since it gets overwritten when the other +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. +compiler_DEFAULT=$CC + +# save warnings/boilerplate of simple test code +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$RM conftest* + +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$RM -r conftest* + + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + +lt_prog_compiler_no_builtin_flag= + +if test yes = "$GCC"; then + case $cc_basename in + nvcc*) + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; + *) + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; + esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } +if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } + +if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" +else + : +fi + +fi + + + + + + + lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + + + if test yes = "$GCC"; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test ia64 = "$host_cpu"; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + lt_prog_compiler_pic='-fPIC' + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + lt_prog_compiler_pic='-fPIC' + ;; + m68k) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the '-m68020' flag to GCC prevents building anything better, + # like '-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + esac + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + lt_prog_compiler_pic='-DDLL_EXPORT' + case $host_os in + os2*) + lt_prog_compiler_static='$wl-static' + ;; + esac + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + lt_prog_compiler_static= + ;; + + hpux*) + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag + # sets the default TLS model and affects inlining. + case $host_cpu in + hppa*64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + interix[3-9]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + lt_prog_compiler_wl='-Xlinker ' + if test -n "$lt_prog_compiler_pic"; then + lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" + fi + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test ia64 = "$host_cpu"; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + case $cc_basename in + nagfor*) + # NAG Fortran compiler + lt_prog_compiler_wl='-Wl,-Wl,,' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + esac + ;; + + mingw* | cygwin* | pw32* | os2* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + case $host_os in + os2*) + lt_prog_compiler_static='$wl-static' + ;; + esac + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='$wl-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) + case $cc_basename in + # old Intel for x86_64, which still supported -KPIC. + ecc*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + # icc used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. + icc* | ifort*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + # Lahey Fortran 8.1. + lf95*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='--shared' + lt_prog_compiler_static='--static' + ;; + nagfor*) + # NAG Fortran compiler + lt_prog_compiler_wl='-Wl,-Wl,,' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + tcc*) + # Fabrice Bellard et al's Tiny C Compiler + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' + ;; + ccc*) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-qpic' + lt_prog_compiler_static='-qstaticlink' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='' + ;; + *Sun\ F* | *Sun*Fortran*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Qoption ld ' + ;; + *Sun\ C*) + # Sun C 5.9 + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Wl,' + ;; + *Intel*\ [CF]*Compiler*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + *Portland\ Group*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' + ;; + esac + ;; + esac + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + *nto* | *qnx*) + # QNX uses GNU C++, but need to define -shared option too, otherwise + # it will coredump. + lt_prog_compiler_pic='-fPIC -shared' + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + rdos*) + lt_prog_compiler_static='-non_shared' + ;; + + solaris*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + case $cc_basename in + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) + lt_prog_compiler_wl='-Qoption ld ';; + *) + lt_prog_compiler_wl='-Wl,';; + esac + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + unicos*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_can_build_shared=no + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +case $host_os in + # For platforms that do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } +if ${lt_cv_prog_compiler_pic+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 +$as_echo "$lt_cv_prog_compiler_pic" >&6; } +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } +if ${lt_cv_prog_compiler_pic_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_pic_works=yes + fi + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } + +if test yes = "$lt_cv_prog_compiler_pic_works"; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi + + + + + + + + + + + +# +# Check to make sure the static flag actually works. +# +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } +if ${lt_cv_prog_compiler_static_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_static_works=no + save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_static_works=yes + fi + else + lt_cv_prog_compiler_static_works=yes + fi + fi + $RM -r conftest* + LDFLAGS=$save_LDFLAGS + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 +$as_echo "$lt_cv_prog_compiler_static_works" >&6; } + +if test yes = "$lt_cv_prog_compiler_static_works"; then + : +else + lt_prog_compiler_static= +fi + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if ${lt_cv_prog_compiler_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . 2>&5 + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +if ${lt_cv_prog_compiler_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_c_o=no + $RM -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . 2>&5 + $RM conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files + $RM out/* && rmdir out + cd .. + $RM -r conftest + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +$as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + + + +hard_links=nottested +if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then + # do not overwrite the value of need_locks provided by the user + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 +$as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $RM conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 +$as_echo "$hard_links" >&6; } + if test no = "$hard_links"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 +$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + runpath_var= + allow_undefined_flag= + always_export_symbols=no + archive_cmds= + archive_expsym_cmds= + compiler_needs_object=no + enable_shared_with_static_runtimes=no + export_dynamic_flag_spec= + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + hardcode_automatic=no + hardcode_direct=no + hardcode_direct_absolute=no + hardcode_libdir_flag_spec= + hardcode_libdir_separator= + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + inherit_rpath=no + link_all_deplibs=unknown + module_cmds= + module_expsym_cmds= + old_archive_from_new_cmds= + old_archive_from_expsyms_cmds= + thread_safe_flag_spec= + whole_archive_flag_spec= + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ' (' and ')$', so one must not match beginning or + # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', + # as well as any symbol that contains 'd'. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + # Exclude shared library initialization/finalization symbols. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test yes != "$GCC"; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd* | bitrig*) + with_gnu_ld=no + ;; + esac + + ld_shlibs=yes + + # On some targets, GNU ld is compatible enough with the native linker + # that we're better off using the native interface for both. + lt_use_gnu_ld_interface=no + if test yes = "$with_gnu_ld"; then + case $host_os in + aix*) + # The AIX port of GNU ld has always aspired to compatibility + # with the native linker. However, as the warning in the GNU ld + # block says, versions before 2.19.5* couldn't really create working + # shared libraries, regardless of the interface used. + case `$LD -v 2>&1` in + *\ \(GNU\ Binutils\)\ 2.19.5*) ;; + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; + *\ \(GNU\ Binutils\)\ [3-9]*) ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + fi + + if test yes = "$lt_use_gnu_ld_interface"; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='$wl' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' + export_dynamic_flag_spec='$wl--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' + else + whole_archive_flag_spec= + fi + supports_anon_versioning=no + case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in + *GNU\ gold*) supports_anon_versioning=yes ;; + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix[3-9]*) + # On AIX/PPC, the GNU linker is very broken + if test ia64 != "$host_cpu"; then + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: the GNU linker, at least up to release 2.19, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to install binutils +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. +*** You will then need to restart the configuration process. + +_LT_EOF + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + archive_expsym_cmds='' + ;; + m68k) + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + esac + ;; + + beos*) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + else + ld_shlibs=no + fi + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + export_dynamic_flag_spec='$wl--export-all-symbols' + allow_undefined_flag=unsupported + always_export_symbols=no + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' + exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file, use it as + # is; otherwise, prepend EXPORTS... + archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs=no + fi + ;; + + haiku*) + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + link_all_deplibs=yes + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + shrext_cmds=.dll + archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ + $ECHO EXPORTS >> $output_objdir/$libname.def~ + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ + emximp -o $lib $output_objdir/$libname.def' + archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ + $ECHO EXPORTS >> $output_objdir/$libname.def~ + prefix_cmds="$SED"~ + if test EXPORTS = "`$SED 1q $export_symbols`"; then + prefix_cmds="$prefix_cmds -e 1d"; + fi~ + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ + emximp -o $lib $output_objdir/$libname.def' + old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' + enable_shared_with_static_runtimes=yes + ;; + + interix[3-9]*) + hardcode_direct=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='$wl-rpath,$libdir' + export_dynamic_flag_spec='$wl-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) + tmp_diet=no + if test linux-dietlibc = "$host_os"; then + case $cc_basename in + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) + esac + fi + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ + && test no = "$tmp_diet" + then + tmp_addflag=' $pic_flag' + tmp_sharedflag='-shared' + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group f77 and f90 compilers + whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + lf95*) # Lahey Fortran 8.1 + whole_archive_flag_spec= + tmp_sharedflag='--shared' ;; + nagfor*) # NAGFOR 5.3 + tmp_sharedflag='-Wl,-shared' ;; + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) + tmp_sharedflag='-qmkshrobj' + tmp_addflag= ;; + nvcc*) # Cuda Compiler Driver 2.2 + whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' + compiler_needs_object=yes + ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' + compiler_needs_object=yes + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + esac + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + + if test yes = "$supports_anon_versioning"; then + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' + fi + + case $cc_basename in + tcc*) + export_dynamic_flag_spec='-rdynamic' + ;; + xlf* | bgf* | bgxlf* | mpixlf*) + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' + if test yes = "$supports_anon_versioning"; then + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + fi + ;; + esac + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + # For security reasons, it is highly recommended that you always + # use absolute paths for naming shared libraries, and exclude the + # DT_RUNPATH tag from executables and libraries. But doing so + # requires that you compile everything twice, which is a pain. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + ;; + + sunos4*) + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + *) + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + + if test no = "$ld_shlibs"; then + runpath_var= + hardcode_libdir_flag_spec= + export_dynamic_flag_spec= + whole_archive_flag_spec= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag=unsupported + always_export_symbols=yes + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + + aix[4-9]*) + if test ia64 = "$host_cpu"; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag= + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to GNU nm, but means don't demangle to AIX nm. + # Without the "-l" option, or with the "-B" option, AIX nm treats + # weak defined symbols like other global defined symbols, whereas + # GNU nm marks them as "W". + # While the 'weak' keyword is ignored in the Export File, we need + # it in the Import File for the 'aix-soname' feature, so we have + # to replace the "-B" option with "-P" for AIX nm. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # have runtime linking enabled, and use it for executables. + # For shared libraries, we enable/disable runtime linking + # depending on the kind of the shared library created - + # when "with_aix_soname,aix_use_runtimelinking" is: + # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables + # "aix,yes" lib.so shared, rtl:yes, for executables + # lib.a static archive + # "both,no" lib.so.V(shr.o) shared, rtl:yes + # lib.a(lib.so.V) shared, rtl:no, for executables + # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables + # lib.a(lib.so.V) shared, rtl:no + # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables + # lib.a static archive + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) + for ld_flag in $LDFLAGS; do + if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then + aix_use_runtimelinking=yes + break + fi + done + if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then + # With aix-soname=svr4, we create the lib.so.V shared archives only, + # so we don't have lib.a shared libs to link our executables. + # We have to force runtime linking in this case. + aix_use_runtimelinking=yes + LDFLAGS="$LDFLAGS -Wl,-brtl" + fi + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds='' + hardcode_direct=yes + hardcode_direct_absolute=yes + hardcode_libdir_separator=':' + link_all_deplibs=yes + file_list_spec='$wl-f,' + case $with_aix_soname,$aix_use_runtimelinking in + aix,*) ;; # traditional, no import file + svr4,* | *,yes) # use import file + # The Import File defines what to hardcode. + hardcode_direct=no + hardcode_direct_absolute=no + ;; + esac + + if test yes = "$GCC"; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`$CC -print-prog-name=collect2` + if test -f "$collect2name" && + strings "$collect2name" | $GREP resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + ;; + esac + shared_flag='-shared' + if test yes = "$aix_use_runtimelinking"; then + shared_flag="$shared_flag "'$wl-G' + fi + # Need to ensure runtime linking is disabled for the traditional + # shared library, or the linker may eventually find shared libraries + # /with/ Import File - we do not want to mix them. + shared_flag_aix='-shared' + shared_flag_svr4='-shared $wl-G' + else + # not using gcc + if test ia64 = "$host_cpu"; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test yes = "$aix_use_runtimelinking"; then + shared_flag='$wl-G' + else + shared_flag='$wl-bM:SRE' + fi + shared_flag_aix='$wl-bM:SRE' + shared_flag_svr4='$wl-G' + fi + fi + + export_dynamic_flag_spec='$wl-bexpall' + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols=yes + if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an + # empty executable. + if test set = "${lt_cv_aix_libpath+set}"; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath_+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=/usr/lib:/lib + fi + +fi + + aix_libpath=$lt_cv_aix_libpath_ +fi + + hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag + else + if test ia64 = "$host_cpu"; then + hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an + # empty executable. + if test set = "${lt_cv_aix_libpath+set}"; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath_+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=/usr/lib:/lib + fi + +fi + + aix_libpath=$lt_cv_aix_libpath_ +fi + + hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag=' $wl-bernotok' + allow_undefined_flag=' $wl-berok' + if test yes = "$with_gnu_ld"; then + # We only use this code for GNU lds that support --whole-archive. + whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec='$convenience' + fi + archive_cmds_need_lc=yes + archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' + # -brtl affects multiple linker settings, -berok does not and is overridden later + compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' + if test svr4 != "$with_aix_soname"; then + # This is similar to how AIX traditionally builds its shared libraries. + archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' + fi + if test aix != "$with_aix_soname"; then + archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' + else + # used by -dlpreopen to get the symbols + archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' + fi + archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' + fi + fi + ;; + + amigaos*) + case $host_cpu in + powerpc) + # see comment about AmigaOS4 .so support + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' + archive_expsym_cmds='' + ;; + m68k) + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + esac + ;; + + bsdi[45]*) + export_dynamic_flag_spec=-rdynamic + ;; + + cygwin* | mingw* | pw32* | cegcc*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + case $cc_basename in + cl*) + # Native MSVC + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + always_export_symbols=yes + file_list_spec='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=.dll + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' + archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then + cp "$export_symbols" "$output_objdir/$soname.def"; + echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; + else + $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, )='true' + enable_shared_with_static_runtimes=yes + exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + # Don't use ranlib + old_postinstall_cmds='chmod 644 $oldlib' + postlink_cmds='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile=$lt_outputfile.exe + lt_tool_outputfile=$lt_tool_outputfile.exe + ;; + esac~ + if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # Assume MSVC wrapper + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=.dll + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_from_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' + enable_shared_with_static_runtimes=yes + ;; + esac + ;; + + darwin* | rhapsody*) + + + archive_cmds_need_lc=no + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + if test yes = "$lt_cv_ld_force_load"; then + whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + + else + whole_archive_flag_spec='' + fi + link_all_deplibs=yes + allow_undefined_flag=$_lt_dar_allow_undefined + case $cc_basename in + ifort*|nagfor*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test yes = "$_lt_dar_can_shared"; then + output_verbose_link_cmd=func_echo_all + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" + archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" + module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" + + else + ld_shlibs=no + fi + + ;; + + dgux*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2.*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + hpux9*) + if test yes = "$GCC"; then + archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' + else + archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec='$wl+b $wl$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + export_dynamic_flag_spec='$wl-E' + ;; + + hpux10*) + if test yes,no = "$GCC,$with_gnu_ld"; then + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test no = "$with_gnu_ld"; then + hardcode_libdir_flag_spec='$wl+b $wl$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + hardcode_direct_absolute=yes + export_dynamic_flag_spec='$wl-E' + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + fi + ;; + + hpux11*) + if test yes,no = "$GCC,$with_gnu_ld"; then + case $host_cpu in + hppa*64*) + archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + + # Older versions of the 11.00 compiler do not understand -b yet + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 +$as_echo_n "checking if $CC understands -b... " >&6; } +if ${lt_cv_prog_compiler__b+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler__b=no + save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS -b" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler__b=yes + fi + else + lt_cv_prog_compiler__b=yes + fi + fi + $RM -r conftest* + LDFLAGS=$save_LDFLAGS + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 +$as_echo "$lt_cv_prog_compiler__b" >&6; } + +if test yes = "$lt_cv_prog_compiler__b"; then + archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' +else + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' +fi + + ;; + esac + fi + if test no = "$with_gnu_ld"; then + hardcode_libdir_flag_spec='$wl+b $wl$libdir' + hardcode_libdir_separator=: + + case $host_cpu in + hppa*64*|ia64*) + hardcode_direct=no + hardcode_shlibpath_var=no + ;; + *) + hardcode_direct=yes + hardcode_direct_absolute=yes + export_dynamic_flag_spec='$wl-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test yes = "$GCC"; then + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' + # Try to use the -exported_symbol ld option, if it does not + # work, assume that -exports_file does not work either and + # implicitly export all symbols. + # This should be the same for all languages, so no per-tag cache variable. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 +$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } +if ${lt_cv_irix_exported_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int foo (void) { return 0; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + lt_cv_irix_exported_symbol=yes +else + lt_cv_irix_exported_symbol=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$save_LDFLAGS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 +$as_echo "$lt_cv_irix_exported_symbol" >&6; } + if test yes = "$lt_cv_irix_exported_symbol"; then + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' + fi + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' + fi + archive_cmds_need_lc='no' + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' + hardcode_libdir_separator=: + inherit_rpath=yes + link_all_deplibs=yes + ;; + + linux*) + case $cc_basename in + tcc*) + # Fabrice Bellard et al's Tiny C Compiler + ld_shlibs=yes + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + newsos6) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + + *nto* | *qnx*) + ;; + + openbsd* | bitrig*) + if test -f /usr/libexec/ld.so; then + hardcode_direct=yes + hardcode_shlibpath_var=no + hardcode_direct_absolute=yes + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' + hardcode_libdir_flag_spec='$wl-rpath,$libdir' + export_dynamic_flag_spec='$wl-E' + else + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='$wl-rpath,$libdir' + fi + else + ld_shlibs=no + fi + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + shrext_cmds=.dll + archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ + $ECHO EXPORTS >> $output_objdir/$libname.def~ + emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ + emximp -o $lib $output_objdir/$libname.def' + archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ + $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ + $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ + $ECHO EXPORTS >> $output_objdir/$libname.def~ + prefix_cmds="$SED"~ + if test EXPORTS = "`$SED 1q $export_symbols`"; then + prefix_cmds="$prefix_cmds -e 1d"; + fi~ + prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ + cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ + $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ + emximp -o $lib $output_objdir/$libname.def' + old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' + enable_shared_with_static_runtimes=yes + ;; + + osf3*) + if test yes = "$GCC"; then + allow_undefined_flag=' $wl-expect_unresolved $wl\*' + archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' + fi + archive_cmds_need_lc='no' + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' + hardcode_libdir_separator=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test yes = "$GCC"; then + allow_undefined_flag=' $wl-expect_unresolved $wl\*' + archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' + hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + archive_cmds_need_lc='no' + hardcode_libdir_separator=: + ;; + + solaris*) + no_undefined_flag=' -z defs' + if test yes = "$GCC"; then + wlarc='$wl' + archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + else + case `$CC -V 2>&1` in + *"Compilers 5.0"*) + wlarc='' + archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' + ;; + *) + wlarc='$wl' + archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ + $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + ;; + esac + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpath_var=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands '-z linker_flag'. GCC discards it without '$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test yes = "$GCC"; then + whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' + else + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' + fi + ;; + esac + link_all_deplibs=yes + ;; + + sunos4*) + if test sequent = "$host_vendor"; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv4.3*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) + no_undefined_flag='$wl-z,text' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no + runpath_var='LD_RUN_PATH' + + if test yes = "$GCC"; then + archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We CANNOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + no_undefined_flag='$wl-z,text' + allow_undefined_flag='$wl-z,nodefs' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='$wl-R,$libdir' + hardcode_libdir_separator=':' + link_all_deplibs=yes + export_dynamic_flag_spec='$wl-Bexport' + runpath_var='LD_RUN_PATH' + + if test yes = "$GCC"; then + archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + *) + ld_shlibs=no + ;; + esac + + if test sni = "$host_vendor"; then + case $host in + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + export_dynamic_flag_spec='$wl-Blargedynsym' + ;; + esac + fi + fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 +$as_echo "$ld_shlibs" >&6; } +test no = "$ld_shlibs" && can_build_shared=no + +with_gnu_ld=$with_gnu_ld + + + + + + + + + + + + + + + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc=yes + + if test yes,yes = "$GCC,$enable_shared"; then + case $archive_cmds in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } +if ${lt_cv_archive_cmds_need_lc+:} false; then : + $as_echo_n "(cached) " >&6 +else + $RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + pic_flag=$lt_prog_compiler_pic + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + then + lt_cv_archive_cmds_need_lc=no + else + lt_cv_archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc + ;; + esac + fi + ;; +esac + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 +$as_echo_n "checking dynamic linker characteristics... " >&6; } + +if test yes = "$GCC"; then + case $host_os in + darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; + *) lt_awk_arg='/^libraries:/' ;; + esac + case $host_os in + mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; + *) lt_sed_strip_eq='s|=/|/|g' ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` + case $lt_search_path_spec in + *\;*) + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` + ;; + *) + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` + ;; + esac + # Ok, now we have the path, separated by spaces, we can step through it + # and add multilib dir if necessary... + lt_tmp_lt_search_path_spec= + lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` + # ...but if some path component already ends with the multilib dir we assume + # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). + case "$lt_multi_os_dir; $lt_search_path_spec " in + "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) + lt_multi_os_dir= + ;; + esac + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" + elif test -n "$lt_multi_os_dir"; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' +BEGIN {RS = " "; FS = "/|\n";} { + lt_foo = ""; + lt_count = 0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo = "/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[lt_foo]++; } + if (lt_freq[lt_foo] == 1) { print lt_foo; } +}'` + # AWK program above erroneously prepends '/' to C:/dos/paths + # for these hosts. + case $host_os in + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + $SED 's|/\([A-Za-z]:\)|\1|g'` ;; + esac + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=.so +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + + + +case $host_os in +aix3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname$release$shared_ext$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='$libname$release$shared_ext$major' + ;; + +aix[4-9]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test ia64 = "$host_cpu"; then + # AIX 5 supports IA64 + library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line '#! .'. This would cause the generated library to + # depend on '.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # Using Import Files as archive members, it is possible to support + # filename-based versioning of shared library archives on AIX. While + # this would work for both with and without runtime linking, it will + # prevent static linking of such archives. So we do filename-based + # shared library versioning with .so extension only, which is used + # when both runtime linking and shared linking is enabled. + # Unfortunately, runtime linking may impact performance, so we do + # not want this to be the default eventually. Also, we use the + # versioned .so libs for executables only if there is the -brtl + # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. + # To allow for filename-based versioning support, we need to create + # libNAME.so.V as an archive file, containing: + # *) an Import File, referring to the versioned filename of the + # archive as well as the shared archive member, telling the + # bitwidth (32 or 64) of that shared object, and providing the + # list of exported symbols of that shared object, eventually + # decorated with the 'weak' keyword + # *) the shared object with the F_LOADONLY flag set, to really avoid + # it being seen by the linker. + # At run time we better use the real file rather than another symlink, + # but for link time we create the symlink libNAME.so -> libNAME.so.V + + case $with_aix_soname,$aix_use_runtimelinking in + # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + aix,yes) # traditional libtool + dynamic_linker='AIX unversionable lib.so' + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + ;; + aix,no) # traditional AIX only + dynamic_linker='AIX lib.a(lib.so.V)' + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='$libname$release.a $libname.a' + soname_spec='$libname$release$shared_ext$major' + ;; + svr4,*) # full svr4 only + dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' + # We do not specify a path in Import Files, so LIBPATH fires. + shlibpath_overrides_runpath=yes + ;; + *,yes) # both, prefer svr4 + dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" + library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' + # unpreferred sharedlib libNAME.a needs extra handling + postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' + postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' + # We do not specify a path in Import Files, so LIBPATH fires. + shlibpath_overrides_runpath=yes + ;; + *,no) # both, prefer aix + dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" + library_names_spec='$libname$release.a $libname.a' + soname_spec='$libname$release$shared_ext$major' + # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling + postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' + postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' + ;; + esac + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + case $host_cpu in + powerpc) + # Since July 2007 AmigaOS4 officially supports .so libraries. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + ;; + m68k) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + esac + ;; + +beos*) + library_names_spec='$libname$shared_ext' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[45]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32* | cegcc*) + version_type=windows + shrext_cmds=.dll + need_version=no + need_lib_prefix=no + + case $GCC,$cc_basename in + yes,*) + # gcc + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \$file`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' + + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' + ;; + esac + dynamic_linker='Win32 ld.exe' + ;; + + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' + library_names_spec='$libname.dll.lib' + + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec=$LIB + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \$file`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' + ;; + + *) + # Assume MSVC wrapper + library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' + dynamic_linker='Win32 ld.exe' + ;; + esac + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' + soname_spec='$libname$release$major$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[23].*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2.*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +haiku*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=no + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + if test 32 = "$HPUX_IA64_MODE"; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + sys_lib_dlsearch_path_spec=/usr/lib/hpux32 + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + sys_lib_dlsearch_path_spec=/usr/lib/hpux64 + fi + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... + postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 + ;; + +interix[3-9]*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test yes = "$lt_cv_prog_gnu_ld"; then + version_type=linux # correct to gnu/linux during the next big refactor + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='$libname$release$shared_ext$major' + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" + sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +linux*android*) + version_type=none # Android doesn't support versioned libraries. + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext' + soname_spec='$libname$release$shared_ext' + finish_cmds= + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + dynamic_linker='Android linker' + # Don't embed -rpath directories since the linker doesn't support them. + hardcode_libdir_flag_spec='-L$libdir' + ;; + +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + + # Some binutils ld are patched to set DT_RUNPATH + if ${lt_cv_shlibpath_overrides_runpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : + lt_cv_shlibpath_overrides_runpath=yes +fi +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + +fi + + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath + + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # Add ABI-specific directories to the system library path. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + + # Ideally, we could use ldconfig to report *all* directores which are + # searched for libraries, however this is still not possible. Aside from not + # being certain /sbin/ldconfig is available, command + # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, + # even though it is searched at run-time. Try to do the best guess by + # appending ld.so.conf contents (and includes) to the search path. + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +*nto* | *qnx*) + version_type=qnx + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='ldqnx.so' + ;; + +openbsd* | bitrig*) + version_type=sunos + sys_lib_dlsearch_path_spec=/usr/lib + need_lib_prefix=no + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then + need_version=no + else + need_version=yes + fi + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +os2*) + libname_spec='$name' + version_type=windows + shrext_cmds=.dll + need_version=no + need_lib_prefix=no + # OS/2 can only load a DLL with a base name of 8 characters or less. + soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; + v=$($ECHO $release$versuffix | tr -d .-); + n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); + $ECHO $n$v`$shared_ext' + library_names_spec='${libname}_dll.$libext' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=BEGINLIBPATH + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + postinstall_cmds='base_file=`basename \$file`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname~ + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; + fi' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='$libname$release$shared_ext$major' + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test yes = "$with_gnu_ld"; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec; then + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' + soname_spec='$libname$shared_ext.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=sco + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + if test yes = "$with_gnu_ld"; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +tpf*) + # TPF is a cross-target only. Preferred cross-host = GNU/Linux. + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +uts4*) + version_type=linux # correct to gnu/linux during the next big refactor + library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' + soname_spec='$libname$release$shared_ext$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +$as_echo "$dynamic_linker" >&6; } +test no = "$dynamic_linker" && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test yes = "$GCC"; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then + sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec +fi + +if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then + sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec +fi + +# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... +configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec + +# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code +func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" + +# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool +configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 +$as_echo_n "checking how to hardcode library paths into programs... " >&6; } +hardcode_action= +if test -n "$hardcode_libdir_flag_spec" || + test -n "$runpath_var" || + test yes = "$hardcode_automatic"; then + + # We can hardcode non-existent directories. + if test no != "$hardcode_direct" && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && + test no != "$hardcode_minus_L"; then + # Linking always hardcodes the temporary library directory. + hardcode_action=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action=unsupported +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 +$as_echo "$hardcode_action" >&6; } + +if test relink = "$hardcode_action" || + test yes = "$inherit_rpath"; then + # Fast installation is not supported + enable_fast_install=no +elif test yes = "$shlibpath_overrides_runpath" || + test no = "$enable_shared"; then + # Fast installation is not necessary + enable_fast_install=needless +fi + + + + + + + if test yes != "$enable_dlopen"; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen=load_add_on + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32* | cegcc*) + lt_cv_dlopen=LoadLibrary + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen=dlopen + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if ${ac_cv_lib_dl_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl +else + + lt_cv_dlopen=dyld + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + tpf*) + # Don't try to run any link tests for TPF. We know it's impossible + # because TPF is a cross-compiler, and we know how we open DSOs. + lt_cv_dlopen=dlopen + lt_cv_dlopen_libs= + lt_cv_dlopen_self=no + ;; + + *) + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" +if test "x$ac_cv_func_shl_load" = xyes; then : + lt_cv_dlopen=shl_load +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 +$as_echo_n "checking for shl_load in -ldld... " >&6; } +if ${ac_cv_lib_dld_shl_load+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char shl_load (); +int +main () +{ +return shl_load (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_shl_load=yes +else + ac_cv_lib_dld_shl_load=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 +$as_echo "$ac_cv_lib_dld_shl_load" >&6; } +if test "x$ac_cv_lib_dld_shl_load" = xyes; then : + lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld +else + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" +if test "x$ac_cv_func_dlopen" = xyes; then : + lt_cv_dlopen=dlopen +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +$as_echo_n "checking for dlopen in -ldl... " >&6; } +if ${ac_cv_lib_dl_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dl_dlopen=yes +else + ac_cv_lib_dl_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 +$as_echo_n "checking for dlopen in -lsvld... " >&6; } +if ${ac_cv_lib_svld_dlopen+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_svld_dlopen=yes +else + ac_cv_lib_svld_dlopen=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 +$as_echo "$ac_cv_lib_svld_dlopen" >&6; } +if test "x$ac_cv_lib_svld_dlopen" = xyes; then : + lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 +$as_echo_n "checking for dld_link in -ldld... " >&6; } +if ${ac_cv_lib_dld_dld_link+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dld_link (); +int +main () +{ +return dld_link (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_dld_dld_link=yes +else + ac_cv_lib_dld_dld_link=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 +$as_echo "$ac_cv_lib_dld_dld_link" >&6; } +if test "x$ac_cv_lib_dld_dld_link" = xyes; then : + lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test no = "$lt_cv_dlopen"; then + enable_dlopen=no + else + enable_dlopen=yes + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS=$CPPFLAGS + test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS=$LDFLAGS + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS=$LIBS + LIBS="$lt_cv_dlopen_libs $LIBS" + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 +$as_echo_n "checking whether a program can dlopen itself... " >&6; } +if ${lt_cv_dlopen_self+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test yes = "$cross_compiling"; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +#line $LINENO "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +/* When -fvisibility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +} +_LT_EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 +$as_echo "$lt_cv_dlopen_self" >&6; } + + if test yes = "$lt_cv_dlopen_self"; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } +if ${lt_cv_dlopen_self_static+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test yes = "$cross_compiling"; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +#line $LINENO "configure" +#include "confdefs.h" + +#if HAVE_DLFCN_H +#include +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +/* When -fvisibility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } + /* dlclose (self); */ + } + else + puts (dlerror ()); + + return status; +} +_LT_EOF + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + (eval $ac_link) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 +$as_echo "$lt_cv_dlopen_self_static" >&6; } + fi + + CPPFLAGS=$save_CPPFLAGS + LDFLAGS=$save_LDFLAGS + LIBS=$save_LIBS + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + + + + + + + + + + + + + + + + +striplib= +old_striplib= +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 +$as_echo_n "checking whether stripping libraries is possible... " >&6; } +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP"; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + fi + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ;; + esac +fi + + + + + + + + + + + + + # Report what library types will actually be built + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 +$as_echo_n "checking if libtool supports shared libraries... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 +$as_echo "$can_build_shared" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 +$as_echo_n "checking whether to build shared libraries... " >&6; } + test no = "$can_build_shared" && enable_shared=no + + # On AIX, shared libraries and static libraries use the same namespace, and + # are all built from PIC. + case $host_os in + aix3*) + test yes = "$enable_shared" && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + + aix[4-9]*) + if test ia64 != "$host_cpu"; then + case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in + yes,aix,yes) ;; # shared object as lib.so file only + yes,svr4,*) ;; # shared object as lib.so archive member only + yes,*) enable_static=no ;; # shared object in lib.a archive as well + esac + fi + ;; + esac + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 +$as_echo "$enable_shared" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 +$as_echo_n "checking whether to build static libraries... " >&6; } + # Make sure either enable_shared or enable_static is yes. + test yes = "$enable_shared" || enable_static=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 +$as_echo "$enable_static" >&6; } + + + + +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC=$lt_save_CC + + + + + + + + + + + + + + + + ac_config_commands="$ac_config_commands libtool" + + + + +# Only expand once: + + + + + + # Check whether --enable-symvers was given. +if test "${enable_symvers+set}" = set; then : + enableval=$enable_symvers; want_symvers=$enableval +else + want_symvers=yes + +fi + + + if test x$want_symvers = xyes; then : + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker version script flag" >&5 +$as_echo_n "checking linker version script flag... " >&6; } +if ${ax_cv_check_vscript_flag+:} false; then : + $as_echo_n "(cached) " >&6 +else + + ax_cv_check_vscript_flag=unsupported + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + ax_check_vscript_save_flags="$LDFLAGS" + echo "V1 { global: show; local: *; };" > conftest.map + if test x = xyes; then : + + echo "{" >> conftest.map + +fi + LDFLAGS="$LDFLAGS -Wl,--version-script,conftest.map" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int show, hide; +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + ax_cv_check_vscript_flag=--version-script + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$ax_check_vscript_save_flags" + rm -f conftest.map + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + if test x$ax_cv_check_vscript_flag = xunsupported; then : + + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + ax_check_vscript_save_flags="$LDFLAGS" + echo "V1 { global: show; local: *; };" > conftest.map + if test x = xyes; then : + + echo "{" >> conftest.map + +fi + LDFLAGS="$LDFLAGS -Wl,-M,conftest.map" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int show, hide; +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ax_cv_check_vscript_flag=-M +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$ax_check_vscript_save_flags" + rm -f conftest.map + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +fi + + + if test x$ax_cv_check_vscript_flag != xunsupported; then : + + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + ax_check_vscript_save_flags="$LDFLAGS" + echo "V1 { global: show; local: *; };" > conftest.map + if test xyes = xyes; then : + + echo "{" >> conftest.map + +fi + LDFLAGS="$LDFLAGS -Wl,$ax_cv_check_vscript_flag,conftest.map" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int show, hide; +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ax_cv_check_vscript_flag=unsupported +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$ax_check_vscript_save_flags" + rm -f conftest.map + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_vscript_flag" >&5 +$as_echo "$ax_cv_check_vscript_flag" >&6; } + + + if test x$ax_cv_check_vscript_flag != xunsupported; then : + + ax_check_vscript_flag=$ax_cv_check_vscript_flag + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if version scripts can use complex wildcards" >&5 +$as_echo_n "checking if version scripts can use complex wildcards... " >&6; } +if ${ax_cv_check_vscript_complex_wildcards+:} false; then : + $as_echo_n "(cached) " >&6 +else + + ax_cv_check_vscript_complex_wildcards=no + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + ax_check_vscript_save_flags="$LDFLAGS" + echo "V1 { global: sh*; local: *; };" > conftest.map + if test x = xyes; then : + + echo "{" >> conftest.map + +fi + LDFLAGS="$LDFLAGS -Wl,$ax_cv_check_vscript_flag,conftest.map" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int show, hide; +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + ax_cv_check_vscript_complex_wildcards=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$ax_check_vscript_save_flags" + rm -f conftest.map + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_vscript_complex_wildcards" >&5 +$as_echo "$ax_cv_check_vscript_complex_wildcards" >&6; } + ax_check_vscript_complex_wildcards="$ax_cv_check_vscript_complex_wildcards" + +else + + ax_check_vscript_flag= + ax_check_vscript_complex_wildcards=no + +fi + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker version script flag" >&5 +$as_echo_n "checking linker version script flag... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } + + ax_check_vscript_flag= + ax_check_vscript_complex_wildcards=no + +fi + + if test x$ax_check_vscript_flag != x; then : + + VSCRIPT_LDFLAGS="-Wl,$ax_check_vscript_flag" + + +fi + + if test x$ax_check_vscript_flag != x; then + HAVE_VSCRIPT_TRUE= + HAVE_VSCRIPT_FALSE='#' +else + HAVE_VSCRIPT_TRUE='#' + HAVE_VSCRIPT_FALSE= +fi + + if test x$ax_check_vscript_complex_wildcards = xyes; then + HAVE_VSCRIPT_COMPLEX_TRUE= + HAVE_VSCRIPT_COMPLEX_FALSE='#' +else + HAVE_VSCRIPT_COMPLEX_TRUE='#' + HAVE_VSCRIPT_COMPLEX_FALSE= +fi + + + + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=0.9.0 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + + + +# Check whether --with-html-dir was given. +if test "${with_html_dir+set}" = set; then : + withval=$with_html_dir; +else + with_html_dir='${datadir}/gtk-doc/html' +fi + + HTML_DIR="$with_html_dir" + + + # Check whether --enable-gtk-doc was given. +if test "${enable_gtk_doc+set}" = set; then : + enableval=$enable_gtk_doc; +else + enable_gtk_doc=no +fi + + + if test x$enable_gtk_doc = xyes; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.10\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.10") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + : +else + as_fn_error $? "You need to have gtk-doc >= 1.10 installed to build gtk-doc" "$LINENO" 5 +fi + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 +$as_echo_n "checking whether to build gtk-doc documentation... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5 +$as_echo "$enable_gtk_doc" >&6; } + + for ac_prog in gtkdoc-check +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GTKDOC_CHECK+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GTKDOC_CHECK in + [\\/]* | ?:[\\/]*) + ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK +if test -n "$GTKDOC_CHECK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5 +$as_echo "$GTKDOC_CHECK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$GTKDOC_CHECK" && break +done + + + if test x$enable_gtk_doc = xyes; then + ENABLE_GTK_DOC_TRUE= + ENABLE_GTK_DOC_FALSE='#' +else + ENABLE_GTK_DOC_TRUE='#' + ENABLE_GTK_DOC_FALSE= +fi + + if test -n "$LIBTOOL"; then + GTK_DOC_USE_LIBTOOL_TRUE= + GTK_DOC_USE_LIBTOOL_FALSE='#' +else + GTK_DOC_USE_LIBTOOL_TRUE='#' + GTK_DOC_USE_LIBTOOL_FALSE= +fi + + +# Extract the first word of "xsltproc", so it can be a program name with args. +set dummy xsltproc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XSLTPROC+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $XSLTPROC in + [\\/]* | ?:[\\/]*) + ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +XSLTPROC=$ac_cv_path_XSLTPROC +if test -n "$XSLTPROC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 +$as_echo "$XSLTPROC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + +linux_os=no +bsd_os=no +case ${host_os} in #( + *linux*) : + linux_os=yes ;; #( + *darwin*) : + darwin_os=yes ;; #( + *bsd*) : + bsd_os=yes ;; #( + *) : + ;; +esac + if test "x$linux_os" = xyes; then + LINUX_TRUE= + LINUX_FALSE='#' +else + LINUX_TRUE='#' + LINUX_FALSE= +fi + + if test "x$darwin_os" = xyes; then + DARWIN_TRUE= + DARWIN_FALSE='#' +else + DARWIN_TRUE='#' + DARWIN_FALSE= +fi + + if test "x$bsd_os" = xyes; then + BSD_TRUE= + BSD_FALSE='#' +else + BSD_TRUE='#' + BSD_FALSE= +fi + + +if test "x$darwin_os" = xyes; then : + + +$as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + +fi + + + cpu_I86=false + case "$host" in + i?86-*) cpu_I86=true ;; + esac + if test "x$cpu_I86" = xtrue; then + ARCH_I86_TRUE= + ARCH_I86_FALSE='#' +else + ARCH_I86_TRUE='#' + ARCH_I86_FALSE= +fi + + + + cpu_86_64=false + case "$host" in + x86_64*) cpu_86_64=true ;; + esac + if test "x$cpu_86_64" = xtrue; then + ARCH_86_64_TRUE= + ARCH_86_64_FALSE='#' +else + ARCH_86_64_TRUE='#' + ARCH_86_64_FALSE= +fi + + + + cpu_IA64=false + case "$host" in + ia64*) cpu_IA64=true ;; + esac + if test "x$cpu_IA64" = xtrue; then + ARCH_IA64_TRUE= + ARCH_IA64_FALSE='#' +else + ARCH_IA64_TRUE='#' + ARCH_IA64_FALSE= +fi + + + + cpu_S390=false + case "$host" in + s390*) cpu_S390=true ;; + esac + if test "x$cpu_S390" = xtrue; then + ARCH_S390_TRUE= + ARCH_S390_FALSE='#' +else + ARCH_S390_TRUE='#' + ARCH_S390_FALSE= +fi + + + + cpu_SPARC=false + case "$host" in + sparc*) cpu_SPARC=true ;; + esac + if test "x$cpu_SPARC" = xtrue; then + ARCH_SPARC_TRUE= + ARCH_SPARC_FALSE='#' +else + ARCH_SPARC_TRUE='#' + ARCH_SPARC_FALSE= +fi + + + + cpu_PPC=false + case "$host" in + ppc*|powerpc*) cpu_PPC=true ;; + esac + if test "x$cpu_PPC" = xtrue; then + ARCH_PPC_TRUE= + ARCH_PPC_FALSE='#' +else + ARCH_PPC_TRUE='#' + ARCH_PPC_FALSE= +fi + + + + cpu_M68K=false + case "$host" in + m68*) cpu_M68K=true ;; + esac + if test "x$cpu_M68K" = xtrue; then + ARCH_M68K_TRUE= + ARCH_M68K_FALSE='#' +else + ARCH_M68K_TRUE='#' + ARCH_M68K_FALSE= +fi + + + + cpu_MIPS=false + case "$host" in + mips*) cpu_MIPS=true ;; + esac + if test "x$cpu_MIPS" = xtrue; then + ARCH_MIPS_TRUE= + ARCH_MIPS_FALSE='#' +else + ARCH_MIPS_TRUE='#' + ARCH_MIPS_FALSE= +fi + + + + cpu_HPPA=false + case "$host" in + hppa*|parisc*) cpu_HPPA=true ;; + esac + if test "x$cpu_HPPA" = xtrue; then + ARCH_HPPA_TRUE= + ARCH_HPPA_FALSE='#' +else + ARCH_HPPA_TRUE='#' + ARCH_HPPA_FALSE= +fi + + + +# Check whether --enable-largefile was given. +if test "${enable_largefile+set}" = set; then : + enableval=$enable_largefile; +fi + +if test "$enable_largefile" != no; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 +$as_echo_n "checking for special C compiler options needed for large files... " >&6; } +if ${ac_cv_sys_largefile_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_sys_largefile_CC=no + if test "$GCC" != yes; then + ac_save_CC=$CC + while :; do + # IRIX 6.2 and later do not support large files by default, + # so use the C compiler's -n32 option if that helps. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF + if ac_fn_c_try_compile "$LINENO"; then : + break +fi +rm -f core conftest.err conftest.$ac_objext + CC="$CC -n32" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_largefile_CC=' -n32'; break +fi +rm -f core conftest.err conftest.$ac_objext + break + done + CC=$ac_save_CC + rm -f conftest.$ac_ext + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 +$as_echo "$ac_cv_sys_largefile_CC" >&6; } + if test "$ac_cv_sys_largefile_CC" != no; then + CC=$CC$ac_cv_sys_largefile_CC + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 +$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } +if ${ac_cv_sys_file_offset_bits+:} false; then : + $as_echo_n "(cached) " >&6 +else + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=no; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#define _FILE_OFFSET_BITS 64 +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_file_offset_bits=64; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_file_offset_bits=unknown + break +done +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 +$as_echo "$ac_cv_sys_file_offset_bits" >&6; } +case $ac_cv_sys_file_offset_bits in #( + no | unknown) ;; + *) +cat >>confdefs.h <<_ACEOF +#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits +_ACEOF +;; +esac +rm -rf conftest* + if test $ac_cv_sys_file_offset_bits = unknown; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 +$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } +if ${ac_cv_sys_large_files+:} false; then : + $as_echo_n "(cached) " >&6 +else + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=no; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#define _LARGE_FILES 1 +#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply define LARGE_OFF_T to be 9223372036854775807, + since some C++ compilers masquerading as C compilers + incorrectly reject 9223372036854775807. */ +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]; +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_sys_large_files=1; break +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_sys_large_files=unknown + break +done +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 +$as_echo "$ac_cv_sys_large_files" >&6; } +case $ac_cv_sys_large_files in #( + no | unknown) ;; + *) +cat >>confdefs.h <<_ACEOF +#define _LARGE_FILES $ac_cv_sys_large_files +_ACEOF +;; +esac +rm -rf conftest* + fi + + +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5 +$as_echo_n "checking whether to enable assertions... " >&6; } + # Check whether --enable-assert was given. +if test "${enable_assert+set}" = set; then : + enableval=$enable_assert; ac_enable_assert=$enableval + if test "x$enableval" = xno; then : + +$as_echo "#define NDEBUG 1" >>confdefs.h + +elif test "x$enableval" != xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5 +$as_echo "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;} + ac_enable_assert=yes +fi +else + ac_enable_assert=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_assert" >&5 +$as_echo "$ac_enable_assert" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 +$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } +if ${ac_cv_struct_tm+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include + +int +main () +{ +struct tm tm; + int *p = &tm.tm_sec; + return !p; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_struct_tm=time.h +else + ac_cv_struct_tm=sys/time.h +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 +$as_echo "$ac_cv_struct_tm" >&6; } +if test $ac_cv_struct_tm = sys/time.h; then + +$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h + +fi + +ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include +#include <$ac_cv_struct_tm> + +" +if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_TM_TM_ZONE 1 +_ACEOF + + +fi + +if test "$ac_cv_member_struct_tm_tm_zone" = yes; then + +$as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h + +else + ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include +" +if test "x$ac_cv_have_decl_tzname" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_TZNAME $ac_have_decl +_ACEOF + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 +$as_echo_n "checking for tzname... " >&6; } +if ${ac_cv_var_tzname+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#if !HAVE_DECL_TZNAME +extern char *tzname[]; +#endif + +int +main () +{ +return tzname[0][0]; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_var_tzname=yes +else + ac_cv_var_tzname=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5 +$as_echo "$ac_cv_var_tzname" >&6; } + if test $ac_cv_var_tzname = yes; then + +$as_echo "#define HAVE_TZNAME 1" >>confdefs.h + + fi +fi + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + + + + + GETTEXT_MACRO_VERSION=0.18 + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which + # contains only /bin. Note that ksh looks also at the FPATH variable, + # so we have to set that as well for the test. + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + || PATH_SEPARATOR=';' + } +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGFMT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + echo "$as_me: trying $ac_dir/$ac_word..." >&5 + if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + + case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; + *) MSGFMT_015=$MSGFMT ;; + esac + + case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; + *) GMSGFMT_015=$GMSGFMT ;; + esac + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which + # contains only /bin. Note that ksh looks also at the FPATH variable, + # so we have to set that as well for the test. + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + || PATH_SEPARATOR=';' + } +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$XGETTEXT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + echo "$as_me: trying $ac_dir/$ac_word..." >&5 + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + rm -f messages.po + + case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; + *) XGETTEXT_015=$XGETTEXT ;; + esac + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which + # contains only /bin. Note that ksh looks also at the FPATH variable, + # so we have to set that as well for the test. + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + || PATH_SEPARATOR=';' + } +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGMERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGMERGE" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + echo "$as_me: trying $ac_dir/$ac_word..." >&5 + if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then + ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" + ;; +esac +fi +MSGMERGE="$ac_cv_path_MSGMERGE" +if test "$MSGMERGE" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$localedir" || localedir='${datadir}/locale' + + + test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= + + + ac_config_commands="$ac_config_commands po-directories" + + + + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which + # contains only /bin. Note that ksh looks also at the FPATH variable, + # so we have to set that as well for the test. + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ + || PATH_SEPARATOR=';' + } +fi + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 +$as_echo_n "checking for ld used by $CC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | ?:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` + while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } +fi +if ${acl_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$LD"; then + acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$acl_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$acl_cv_path_LD" -v 2>&1 &5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${acl_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 +else + # I'd rather use --version here, but apparently some GNU lds only accept -v. +case `$LD -v 2>&1 &5 +$as_echo "$acl_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$acl_cv_prog_gnu_ld + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 +$as_echo_n "checking for shared library run path origin... " >&6; } +if ${acl_cv_rpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 +$as_echo "$acl_cv_rpath" >&6; } + wl="$acl_cv_wl" + acl_libext="$acl_cv_libext" + acl_shlibext="$acl_cv_shlibext" + acl_libname_spec="$acl_cv_libname_spec" + acl_library_names_spec="$acl_cv_library_names_spec" + acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + acl_hardcode_direct="$acl_cv_hardcode_direct" + acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath was given. +if test "${enable_rpath+set}" = set; then : + enableval=$enable_rpath; : +else + enable_rpath=yes +fi + + + + + acl_libdirstem=lib + acl_libdirstem2= + case "$host_os" in + solaris*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 +$as_echo_n "checking for 64-bit host... " >&6; } +if ${gl_cv_solaris_64bit+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#ifdef _LP64 +sixtyfour bits +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "sixtyfour bits" >/dev/null 2>&1; then : + gl_cv_solaris_64bit=yes +else + gl_cv_solaris_64bit=no +fi +rm -f conftest* + + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 +$as_echo "$gl_cv_solaris_64bit" >&6; } + if test $gl_cv_solaris_64bit = yes; then + acl_libdirstem=lib/64 + case "$host_cpu" in + sparc*) acl_libdirstem2=lib/sparcv9 ;; + i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; + esac + fi + ;; + *) + searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` + if test -n "$searchpath"; then + acl_save_IFS="${IFS= }"; IFS=":" + for searchdir in $searchpath; do + if test -d "$searchdir"; then + case "$searchdir" in + */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; + */../ | */.. ) + # Better ignore directories of this form. They are misleading. + ;; + *) searchdir=`cd "$searchdir" && pwd` + case "$searchdir" in + */lib64 ) acl_libdirstem=lib64 ;; + esac ;; + esac + fi + done + IFS="$acl_save_IFS" + fi + ;; + esac + test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" + + + + + + + + + + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +# Check whether --with-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then : + withval=$with_libiconv_prefix; + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/$acl_libdirstem" + if test "$acl_libdirstem2" != "$acl_libdirstem" \ + && ! test -d "$withval/$acl_libdirstem"; then + additional_libdir="$withval/$acl_libdirstem2" + fi + fi + fi + +fi + + LIBICONV= + LTLIBICONV= + INCICONV= + LIBICONV_PREFIX= + HAVE_LIBICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name + if test -n "$acl_shlibext"; then + shrext=".$acl_shlibext" # typically: shrext=.so + else + shrext= + fi + if test $use_additional = yes; then + dir="$additional_libdir" + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no \ + || test "X$found_dir" = "X/usr/$acl_libdirstem" \ + || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$acl_hardcode_direct" = yes; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$acl_hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */$acl_libdirstem | */$acl_libdirstem/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` + if test "$name" = 'iconv'; then + LIBICONV_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + */$acl_libdirstem2 | */$acl_libdirstem2/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` + if test "$name" = 'iconv'; then + LIBICONV_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ + && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ + || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$acl_hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +CFPreferencesCopyAppValue(NULL, NULL) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFPreferencesCopyAppValue=yes +else + gt_cv_func_CFPreferencesCopyAppValue=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + +$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 +$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } +if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +CFLocaleCopyCurrent(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_CFLocaleCopyCurrent=yes +else + gt_cv_func_CFLocaleCopyCurrent=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 +$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } + if test $gt_cv_func_CFLocaleCopyCurrent = yes; then + +$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h + + fi + INTL_MACOSX_LIBS= + if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" + fi + + + + + + + LIBINTL= + LTLIBINTL= + POSUB= + + case " $gt_needs " in + *" need-formatstring-macros "*) gt_api_version=3 ;; + *" need-ngettext "*) gt_api_version=2 ;; + *) gt_api_version=1 ;; + esac + gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" + gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" + + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + + + if test $gt_api_version -ge 3; then + gt_revision_test_code=' +#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +' + else + gt_revision_test_code= + fi + if test $gt_api_version -ge 2; then + gt_expression_test_code=' + * ngettext ("", "", 0)' + else + gt_expression_test_code= + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 +$as_echo_n "checking for GNU gettext in libc... " >&6; } +if eval \${$gt_func_gnugettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +$gt_revision_test_code +extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings; + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libc=yes" +else + eval "$gt_func_gnugettext_libc=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$gt_func_gnugettext_libc + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if ${am_cv_func_iconv+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 +$as_echo_n "checking for working iconv... " >&6; } +if ${am_cv_func_iconv_works+:} false; then : + $as_echo_n "(cached) " >&6 +else + + am_save_LIBS="$LIBS" + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi + if test "$cross_compiling" = yes; then : + + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include +int main () +{ + int result = 0; + /* Test against AIX 5.1 bug: Failures are not distinguishable from successful + returns. */ + { + iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); + if (cd_utf8_to_88591 != (iconv_t)(-1)) + { + static const char input[] = "\342\202\254"; /* EURO SIGN */ + char buf[10]; + const char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_utf8_to_88591, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 1; + iconv_close (cd_utf8_to_88591); + } + } + /* Test against Solaris 10 bug: Failures are not distinguishable from + successful returns. */ + { + iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); + if (cd_ascii_to_88591 != (iconv_t)(-1)) + { + static const char input[] = "\263"; + char buf[10]; + const char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_ascii_to_88591, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res == 0) + result |= 2; + iconv_close (cd_ascii_to_88591); + } + } + /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static const char input[] = "\304"; + static char buf[2] = { (char)0xDE, (char)0xAD }; + const char *inptr = input; + size_t inbytesleft = 1; + char *outptr = buf; + size_t outbytesleft = 1; + size_t res = iconv (cd_88591_to_utf8, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) + result |= 4; + iconv_close (cd_88591_to_utf8); + } + } +#if 0 /* This bug could be worked around by the caller. */ + /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ + { + iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); + if (cd_88591_to_utf8 != (iconv_t)(-1)) + { + static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; + char buf[50]; + const char *inptr = input; + size_t inbytesleft = strlen (input); + char *outptr = buf; + size_t outbytesleft = sizeof (buf); + size_t res = iconv (cd_88591_to_utf8, + (char **) &inptr, &inbytesleft, + &outptr, &outbytesleft); + if ((int)res > 0) + result |= 8; + iconv_close (cd_88591_to_utf8); + } + } +#endif + /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is + provided. */ + if (/* Try standardized names. */ + iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) + /* Try IRIX, OSF/1 names. */ + && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) + /* Try AIX names. */ + && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) + /* Try HP-UX names. */ + && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) + result |= 16; + return result; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + am_cv_func_iconv_works=yes +else + am_cv_func_iconv_works=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + LIBS="$am_save_LIBS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 +$as_echo "$am_cv_func_iconv_works" >&6; } + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; + *) am_func_iconv=yes ;; + esac + else + am_func_iconv=no am_cv_lib_iconv=no + fi + if test "$am_func_iconv" = yes; then + +$as_echo "#define HAVE_ICONV 1" >>confdefs.h + + fi + if test "$am_cv_lib_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + + + + + + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +# Check whether --with-libintl-prefix was given. +if test "${with_libintl_prefix+set}" = set; then : + withval=$with_libintl_prefix; + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/$acl_libdirstem" + if test "$acl_libdirstem2" != "$acl_libdirstem" \ + && ! test -d "$withval/$acl_libdirstem"; then + additional_libdir="$withval/$acl_libdirstem2" + fi + fi + fi + +fi + + LIBINTL= + LTLIBINTL= + INCINTL= + LIBINTL_PREFIX= + HAVE_LIBINTL= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='intl ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name + if test -n "$acl_shlibext"; then + shrext=".$acl_shlibext" # typically: shrext=.so + else + shrext= + fi + if test $use_additional = yes; then + dir="$additional_libdir" + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$acl_shlibext"; then + if test -f "$dir/$libname$shrext"; then + found_dir="$dir" + found_so="$dir/$libname$shrext" + else + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then + ver=`(cd "$dir" && \ + for f in "$libname$shrext".*; do echo "$f"; done \ + | sed -e "s,^$libname$shrext\\\\.,," \ + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ + | sed 1q ) 2>/dev/null` + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then + found_dir="$dir" + found_so="$dir/$libname$shrext.$ver" + fi + else + eval library_names=\"$acl_library_names_spec\" + for f in $library_names; do + if test -f "$dir/$f"; then + found_dir="$dir" + found_so="$dir/$f" + break + fi + done + fi + fi + fi + if test "X$found_dir" = "X"; then + if test -f "$dir/$libname.$acl_libext"; then + found_dir="$dir" + found_a="$dir/$libname.$acl_libext" + fi + fi + if test "X$found_dir" != "X"; then + if test -f "$dir/$libname.la"; then + found_la="$dir/$libname.la" + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no \ + || test "X$found_dir" = "X/usr/$acl_libdirstem" \ + || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$acl_hardcode_direct" = yes; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" + fi + if test "$acl_hardcode_minus_L" != no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */$acl_libdirstem | */$acl_libdirstem/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` + if test "$name" = 'intl'; then + LIBINTL_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + */$acl_libdirstem2 | */$acl_libdirstem2/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` + if test "$name" = 'intl'; then + LIBINTL_PREFIX="$basedir" + fi + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ + && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ + || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then + if test -n "$GCC"; then + case $host_os in + linux* | gnu* | k*bsd*-gnu) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" + ;; + esac + done + fi + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$acl_hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$acl_hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" + done + fi + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 +$as_echo_n "checking for GNU gettext in libintl... " >&6; } +if eval \${$gt_func_gnugettext_libintl+:} false; then : + $as_echo_n "(cached) " >&6 +else + gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +$gt_revision_test_code +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libintl=yes" +else + eval "$gt_func_gnugettext_libintl=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +$gt_revision_test_code +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); + +int +main () +{ + +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + eval "$gt_func_gnugettext_libintl=yes" + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" +fi +eval ac_res=\$$gt_func_gnugettext_libintl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + fi + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ + || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + + + if test -n "$INTL_MACOSX_LIBS"; then + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" + LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" + fi + fi + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + +$as_echo "#define ENABLE_NLS 1" >>confdefs.h + + else + USE_NLS=no + fi + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 +$as_echo_n "checking whether to use NLS... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + if test "$USE_NLS" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 +$as_echo_n "checking where the gettext function comes from... " >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 +$as_echo "$gt_source" >&6; } + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 +$as_echo_n "checking how to link with libintl... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 +$as_echo "$LIBINTL" >&6; } + + for element in $INCINTL; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + fi + + +$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h + + +$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h + + fi + + POSUB=po + fi + + + + INTLLIBS="$LIBINTL" + + + + + + + +if test -d "$srcdir/po"; then : + + ALL_LINGUAS=`cd $srcdir/po > /dev/null && echo *.po | sed 's/\.po//g'` + +else + + 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" + +fi + +for ac_header in linux/compiler.h linux/blkpg.h linux/major.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " +#ifdef HAVE_LINUX_COMPILER_H +#include +#endif + +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + +for ac_header in \ + asm/io.h \ + err.h \ + errno.h \ + fcntl.h \ + getopt.h \ + inttypes.h \ + lastlog.h \ + libutil.h \ + linux/btrfs.h \ + linux/cdrom.h \ + linux/falloc.h \ + linux/watchdog.h \ + linux/fd.h \ + linux/raw.h \ + linux/tiocl.h \ + linux/version.h \ + linux/securebits.h \ + linux/net_namespace.h \ + locale.h \ + mntent.h \ + net/if.h \ + net/if_dl.h \ + netinet/in.h \ + paths.h \ + pty.h \ + security/pam_appl.h \ + stdint.h \ + stdio_ext.h \ + stdlib.h \ + endian.h \ + byteswap.h \ + sys/endian.h \ + sys/disk.h \ + sys/disklabel.h \ + sys/file.h \ + sys/io.h \ + sys/ioccom.h \ + sys/ioctl.h \ + sys/mkdev.h \ + sys/mount.h \ + sys/param.h \ + sys/prctl.h \ + sys/resource.h \ + sys/signalfd.h \ + sys/socket.h \ + sys/sockio.h \ + sys/stat.h \ + sys/sysmacros.h \ + sys/swap.h \ + sys/syscall.h \ + sys/time.h \ + sys/timex.h \ + sys/ttydefaults.h \ + sys/types.h \ + sys/ucred.h \ + sys/un.h \ + unistd.h \ + shadow.h \ + utmp.h \ + utmpx.h \ + +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +# There is a collision in old kernel-headers. The both files mount.h and fs.h +# define MS_* macros. Fixed by kernel commit e462ec50cb5fad19f6003a3d8087f4a0945dd2b1. +# +for ac_header in linux/fs.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_MOUNT_H + # include + # include + #endif + +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_header in linux/gsmmux.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef LINUX_GSMMUX_H + # include + #endif + +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_header in security/pam_misc.h +do : + ac_fn_c_check_header_compile "$LINENO" "security/pam_misc.h" "ac_cv_header_security_pam_misc_h" " +#ifdef HAVE_SECURITY_PAM_APPL_H +#include +#endif + +" +if test "x$ac_cv_header_security_pam_misc_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SECURITY_PAM_MISC_H 1 +_ACEOF + if true; then + HAVE_LINUXPAM_TRUE= + HAVE_LINUXPAM_FALSE='#' +else + HAVE_LINUXPAM_TRUE='#' + HAVE_LINUXPAM_FALSE= +fi + +else + if false; then + HAVE_LINUXPAM_TRUE= + HAVE_LINUXPAM_FALSE='#' +else + HAVE_LINUXPAM_TRUE='#' + HAVE_LINUXPAM_FALSE= +fi + +fi + +done + + +for ac_header in linux/blkzoned.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "linux/blkzoned.h" "ac_cv_header_linux_blkzoned_h" "$ac_includes_default" +if test "x$ac_cv_header_linux_blkzoned_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LINUX_BLKZONED_H 1 +_ACEOF + +fi + +done + + +for ac_header in security/openpam.h +do : + ac_fn_c_check_header_compile "$LINENO" "security/openpam.h" "ac_cv_header_security_openpam_h" " +#ifdef HAVE_SECURITY_PAM_APPL_H +#include +#endif + +" +if test "x$ac_cv_header_security_openpam_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SECURITY_OPENPAM_H 1 +_ACEOF + +fi + +done + + +for ac_header in langinfo.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "$ac_includes_default" +if test "x$ac_cv_header_langinfo_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LANGINFO_H 1 +_ACEOF + if true; then + HAVE_LANGINFO_TRUE= + HAVE_LANGINFO_FALSE='#' +else + HAVE_LANGINFO_TRUE='#' + HAVE_LANGINFO_FALSE= +fi + +else + if false; then + HAVE_LANGINFO_TRUE= + HAVE_LANGINFO_FALSE='#' +else + HAVE_LANGINFO_TRUE='#' + HAVE_LANGINFO_FALSE= +fi + +fi + +done + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ALTMON_x constants" >&5 +$as_echo_n "checking whether langinfo.h defines ALTMON_x constants... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + +int +main () +{ + + char *str; + str = nl_langinfo (ALTMON_1); + str = nl_langinfo (ALTMON_2); + str = nl_langinfo (ALTMON_3); + str = nl_langinfo (ALTMON_4); + str = nl_langinfo (ALTMON_5); + str = nl_langinfo (ALTMON_6); + str = nl_langinfo (ALTMON_7); + str = nl_langinfo (ALTMON_8); + str = nl_langinfo (ALTMON_9); + str = nl_langinfo (ALTMON_10); + str = nl_langinfo (ALTMON_11); + str = nl_langinfo (ALTMON_12); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +$as_echo "#define HAVE_LANGINFO_ALTMON 1" >>confdefs.h + + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines _NL_ABALTMON_x constants" >&5 +$as_echo_n "checking whether langinfo.h defines _NL_ABALTMON_x constants... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + +int +main () +{ + + char *str; + str = nl_langinfo (_NL_ABALTMON_1); + str = nl_langinfo (_NL_ABALTMON_2); + str = nl_langinfo (_NL_ABALTMON_3); + str = nl_langinfo (_NL_ABALTMON_4); + str = nl_langinfo (_NL_ABALTMON_5); + str = nl_langinfo (_NL_ABALTMON_6); + str = nl_langinfo (_NL_ABALTMON_7); + str = nl_langinfo (_NL_ABALTMON_8); + str = nl_langinfo (_NL_ABALTMON_9); + str = nl_langinfo (_NL_ABALTMON_10); + str = nl_langinfo (_NL_ABALTMON_11); + str = nl_langinfo (_NL_ABALTMON_12); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +$as_echo "#define HAVE_LANGINFO_NL_ABALTMON 1" >>confdefs.h + + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +have_linux_version_h=$ac_cv_header_linux_version_h +have_linux_blkzoned_h=$ac_cv_header_linux_blkzoned_h +have_linux_btrfs_h=$ac_cv_header_linux_btrfs_h +have_linux_raw_h=$ac_cv_header_linux_raw_h +have_linux_securebits_h=$ac_cv_header_linux_securebits_h +have_linux_watchdog_h=$ac_cv_header_linux_watchdog_h +have_security_pam_appl_h=$ac_cv_header_security_pam_appl_h +have_security_pam_misc_h=$ac_cv_header_security_pam_misc_h +have_security_openpam_h=$ac_cv_header_security_openpam_h +have_shadow_h=$ac_cv_header_shadow_h +have_sys_signalfd_h=$ac_cv_header_sys_signalfd_h +have_utmpx_h=$ac_cv_header_utmpx_h + +case $linux_os:$have_linux_version_h in #( + yes:no) : + as_fn_error $? "kernel headers required on Linux" "$LINENO" 5 + ;; #( + *) : + ;; +esac + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ + + int a = 0; + struct tm *tm = localtime(0); + if (a == -1) /* false */ + sleep(tm->tm_gmtoff); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h + + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +ac_fn_c_check_member "$LINENO" "struct termios" "c_line" "ac_cv_member_struct_termios_c_line" "#include +" +if test "x$ac_cv_member_struct_termios_c_line" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_TERMIOS_C_LINE 1 +_ACEOF + + +fi + + +ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim.tv_nsec" "ac_cv_member_struct_stat_st_mtim_tv_nsec" "#include +" +if test "x$ac_cv_member_struct_stat_st_mtim_tv_nsec" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 +_ACEOF + + +fi + + +ac_fn_c_check_decl "$LINENO" "_NL_TIME_WEEK_1STDAY" "ac_cv_have_decl__NL_TIME_WEEK_1STDAY" "#include +" +if test "x$ac_cv_have_decl__NL_TIME_WEEK_1STDAY" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL__NL_TIME_WEEK_1STDAY $ac_have_decl +_ACEOF + + +ac_fn_c_check_decl "$LINENO" "llseek" "ac_cv_have_decl_llseek" "#include +" +if test "x$ac_cv_have_decl_llseek" = xyes; then : + +$as_echo "#define HAVE_LLSEEK_PROTOTYPE 1" >>confdefs.h + +fi + + +ac_fn_c_check_decl "$LINENO" "lseek64" "ac_cv_have_decl_lseek64" "#define _LARGEFILE_SOURCE + #define _LARGEFILE64_SOURCE + #include +" +if test "x$ac_cv_have_decl_lseek64" = xyes; then : + +$as_echo "#define HAVE_LSEEK64_PROTOTYPE 1" >>confdefs.h + +fi + + +ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default" +if test "x$ac_cv_have_decl_environ" = xyes; then : + +$as_echo "#define HAVE_ENVIRON_DECL 1" >>confdefs.h + +fi + + +ac_fn_c_check_decl "$LINENO" "strsignal" "ac_cv_have_decl_strsignal" "$ac_includes_default" +if test "x$ac_cv_have_decl_strsignal" = xyes; then : + +$as_echo "#define HAVE_STRSIGNAL_DECL 1" >>confdefs.h + +fi + + +ac_fn_c_check_decl "$LINENO" "TIOCGLCKTRMIOS" "ac_cv_have_decl_TIOCGLCKTRMIOS" "#include +" +if test "x$ac_cv_have_decl_TIOCGLCKTRMIOS" = xyes; then : + have_tiocglcktrmios=yes +else + have_tiocglcktrmios=no +fi + +ac_fn_c_check_decl "$LINENO" "SOCK_CLOEXEC" "ac_cv_have_decl_SOCK_CLOEXEC" "#include + #include +" +if test "x$ac_cv_have_decl_SOCK_CLOEXEC" = xyes; then : + have_sock_cloexec=yes +else + have_sock_cloexec=no +fi + +ac_fn_c_check_decl "$LINENO" "SOCK_NONBLOCK" "ac_cv_have_decl_SOCK_NONBLOCK" "#include + #include +" +if test "x$ac_cv_have_decl_SOCK_NONBLOCK" = xyes; then : + have_sock_nonblock=yes +else + have_sock_nonblock=no +fi + +ac_fn_c_check_decl "$LINENO" "SO_PASSCRED" "ac_cv_have_decl_SO_PASSCRED" "#include + #include +" +if test "x$ac_cv_have_decl_SO_PASSCRED" = xyes; then : + have_so_passcred=yes +else + have_so_passcred=no +fi + + +for ac_func in \ + clearenv \ + __fpurge \ + fpurge \ + __fpending \ + secure_getenv \ + __secure_getenv \ + eaccess \ + err \ + errx \ + explicit_bzero \ + fsync \ + utimensat \ + getdomainname \ + getdtablesize \ + getexecname \ + getmntinfo \ + getrandom \ + getrlimit \ + getsgnam \ + inotify_init \ + jrand48 \ + lchown \ + llseek \ + lseek64 \ + mempcpy \ + mkostemp \ + nanosleep \ + ntp_gettime \ + personality \ + posix_fadvise \ + prctl \ + qsort_r \ + rpmatch \ + scandirat \ + setprogname \ + setresgid \ + setresuid \ + sched_setattr \ + sched_setscheduler \ + sigqueue \ + srandom \ + strnchr \ + strndup \ + strnlen \ + sysconf \ + sysinfo \ + timegm \ + usleep \ + vwarnx \ + warn \ + warnx \ + +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 +$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } +if ${ac_cv_sys_largefile_source+:} false; then : + $as_echo_n "(cached) " >&6 +else + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include /* for off_t */ + #include +int +main () +{ +int (*fp) (FILE *, off_t, int) = fseeko; + return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_sys_largefile_source=no; break +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#define _LARGEFILE_SOURCE 1 +#include /* for off_t */ + #include +int +main () +{ +int (*fp) (FILE *, off_t, int) = fseeko; + return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_sys_largefile_source=1; break +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + ac_cv_sys_largefile_source=unknown + break +done +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 +$as_echo "$ac_cv_sys_largefile_source" >&6; } +case $ac_cv_sys_largefile_source in #( + no | unknown) ;; + *) +cat >>confdefs.h <<_ACEOF +#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source +_ACEOF +;; +esac +rm -rf conftest* + +# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug +# in glibc 2.1.3, but that breaks too many other things. +# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. +if test $ac_cv_sys_largefile_source != unknown; then + +$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h + +fi + + +for ac_func in openat fstatat unlinkat +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + have_openat=yes +else + have_openat=no +fi +done + +for ac_func in ioperm iopl +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + have_io=yes +fi +done + +for ac_func in futimens +do : + ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens" +if test "x$ac_cv_func_futimens" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_FUTIMENS 1 +_ACEOF + have_futimens=yes +fi +done + +for ac_func in inotify_init1 +do : + ac_fn_c_check_func "$LINENO" "inotify_init1" "ac_cv_func_inotify_init1" +if test "x$ac_cv_func_inotify_init1" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_INOTIFY_INIT1 1 +_ACEOF + have_inotify_init1=yes +fi +done + +for ac_func in open_memstream +do : + ac_fn_c_check_func "$LINENO" "open_memstream" "ac_cv_func_open_memstream" +if test "x$ac_cv_func_open_memstream" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_OPEN_MEMSTREAM 1 +_ACEOF + have_open_memstream=yes +else + have_open_memstream=no +fi +done + +for ac_func in reboot +do : + ac_fn_c_check_func "$LINENO" "reboot" "ac_cv_func_reboot" +if test "x$ac_cv_func_reboot" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_REBOOT 1 +_ACEOF + have_reboot=yes +else + have_reboot=no +fi +done + +for ac_func in updwtmpx updwtmpx +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + have_gnu_utmpx=yes +else + have_gnu_utmpx=no +fi +done + +for ac_func in getusershell +do : + ac_fn_c_check_func "$LINENO" "getusershell" "ac_cv_func_getusershell" +if test "x$ac_cv_func_getusershell" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_GETUSERSHELL 1 +_ACEOF + have_getusershell=yes +else + have_getusershell=no +fi +done + + + if test "x$have_openat" = xyes; then + HAVE_OPENAT_TRUE= + HAVE_OPENAT_FALSE='#' +else + HAVE_OPENAT_TRUE='#' + HAVE_OPENAT_FALSE= +fi + + +have_setns_syscall="yes" + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall setns" >&5 +$as_echo_n "checking for syscall setns... " >&6; } +if ${ul_cv_syscall_setns+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = SYS_setns; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=SYS_setns +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = _NR_setns; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=_NR_setns +else + + syscall=no + if test "x$linux_os" = xyes; then + case $host_cpu in + + esac + fi + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + ul_cv_syscall_setns=$syscall + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_setns" >&5 +$as_echo "$ul_cv_syscall_setns" >&6; } + case $ul_cv_syscall_setns in #( + no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall setns." >&5 +$as_echo "$as_me: WARNING: Unable to detect syscall setns." >&2;} ;; + SYS_*) ;; + *) +cat >>confdefs.h <<_ACEOF +#define SYS_setns $ul_cv_syscall_setns +_ACEOF + ;; + esac + +if test "x$ul_cv_syscall_setns" = xno; then : + + have_setns_syscall="no" + +fi + +for ac_func in isnan +do : + ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" +if test "x$ac_cv_func_isnan" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_ISNAN 1 +_ACEOF + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5 +$as_echo_n "checking for isnan in -lm... " >&6; } +if ${ac_cv_lib_m_isnan+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char isnan (); +int +main () +{ +return isnan (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_m_isnan=yes +else + ac_cv_lib_m_isnan=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5 +$as_echo "$ac_cv_lib_m_isnan" >&6; } +if test "x$ac_cv_lib_m_isnan" = xyes; then : + MATH_LIBS="-lm" +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __isnan in -lm" >&5 +$as_echo_n "checking for __isnan in -lm... " >&6; } +if ${ac_cv_lib_m___isnan+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char __isnan (); +int +main () +{ +return __isnan (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_m___isnan=yes +else + ac_cv_lib_m___isnan=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___isnan" >&5 +$as_echo "$ac_cv_lib_m___isnan" >&6; } +if test "x$ac_cv_lib_m___isnan" = xyes; then : + MATH_LIBS="-lm" +fi + + +fi +done + + + + +for ac_func in clock_gettime +do : + ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" +if test "x$ac_cv_func_clock_gettime" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_CLOCK_GETTIME 1 +_ACEOF + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 +$as_echo_n "checking for clock_gettime in -lrt... " >&6; } +if ${ac_cv_lib_rt_clock_gettime+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lrt $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char clock_gettime (); +int +main () +{ +return clock_gettime (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_rt_clock_gettime=yes +else + ac_cv_lib_rt_clock_gettime=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 +$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } +if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : + REALTIME_LIBS="-lrt" +fi + + +fi +done + + +have_timer="no" +for ac_func in timer_create +do : + ac_fn_c_check_func "$LINENO" "timer_create" "ac_cv_func_timer_create" +if test "x$ac_cv_func_timer_create" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_TIMER_CREATE 1 +_ACEOF + have_timer="yes" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timer_create in -lrt" >&5 +$as_echo_n "checking for timer_create in -lrt... " >&6; } +if ${ac_cv_lib_rt_timer_create+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lrt $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char timer_create (); +int +main () +{ +return timer_create (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_rt_timer_create=yes +else + ac_cv_lib_rt_timer_create=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_timer_create" >&5 +$as_echo "$ac_cv_lib_rt_timer_create" >&6; } +if test "x$ac_cv_lib_rt_timer_create" = xyes; then : + + have_timer="yes" + REALTIME_LIBS="-lrt" + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing timer_create" >&5 +$as_echo_n "checking for library containing timer_create... " >&6; } +if ${ac_cv_search_timer_create+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char timer_create (); +int +main () +{ +return timer_create (); + ; + return 0; +} +_ACEOF +for ac_lib in '' rt; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib -lpthread + $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_timer_create=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_timer_create+:} false; then : + break +fi +done +if ${ac_cv_search_timer_create+:} false; then : + +else + ac_cv_search_timer_create=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_timer_create" >&5 +$as_echo "$ac_cv_search_timer_create" >&6; } +ac_res=$ac_cv_search_timer_create +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_timer="yes" + REALTIME_LIBS="-lrt -lpthread" + +fi + + +fi + + +fi +done + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rtas_get_sysparm in -lrtas" >&5 +$as_echo_n "checking for rtas_get_sysparm in -lrtas... " >&6; } +if ${ac_cv_lib_rtas_rtas_get_sysparm+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lrtas $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char rtas_get_sysparm (); +int +main () +{ +return rtas_get_sysparm (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_rtas_rtas_get_sysparm=yes +else + ac_cv_lib_rtas_rtas_get_sysparm=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rtas_rtas_get_sysparm" >&5 +$as_echo "$ac_cv_lib_rtas_rtas_get_sysparm" >&6; } +if test "x$ac_cv_lib_rtas_rtas_get_sysparm" = xyes; then : + + RTAS_LIBS="-lrtas" + +cat >>confdefs.h <<_ACEOF +#define HAVE_LIBRTAS 1 +_ACEOF +, , + +fi + + + + +ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include + #include +" +if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_SA_LEN 1 +_ACEOF + +fi + + +SOCKET_LIBS= +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 +$as_echo_n "checking for library containing socket... " >&6; } +if ${ac_cv_search_socket+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char socket (); +int +main () +{ +return socket (); + ; + return 0; +} +_ACEOF +for ac_lib in '' socket; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_socket=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_socket+:} false; then : + break +fi +done +if ${ac_cv_search_socket+:} false; then : + +else + ac_cv_search_socket=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 +$as_echo "$ac_cv_search_socket" >&6; } +ac_res=$ac_cv_search_socket +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + if test x"$ac_cv_search_socket" != x"none required"; then : + SOCKET_LIBS="$SOCKET_LIBS -lsocket" +fi + +fi + + + + +have_dirfd=no +for ac_func in dirfd +do : + ac_fn_c_check_func "$LINENO" "dirfd" "ac_cv_func_dirfd" +if test "x$ac_cv_func_dirfd" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_DIRFD 1 +_ACEOF + have_dirfd=yes +else + have_dirfd=no +fi +done + +if test x"$have_dirfd" = xno; then : + + ac_fn_c_check_decl "$LINENO" "dirfd" "ac_cv_have_decl_dirfd" "#include + #include +" +if test "x$ac_cv_have_decl_dirfd" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_DIRFD $ac_have_decl +_ACEOF +if test $ac_have_decl = 1; then : + have_dirfd=yes +else + have_dirfd=no +fi + + +fi + +have_ddfd=no +if test x"$have_dirfd" = xno; then : + + ac_fn_c_check_member "$LINENO" "DIR" "dd_fd" "ac_cv_member_DIR_dd_fd" "#include + #include +" +if test "x$ac_cv_member_DIR_dd_fd" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_DIR_DD_FD 1 +_ACEOF + +have_ddfd=yes +else + have_ddfd=no +fi + + +fi + + if test "x$have_dirfd" = xyes -o "x$have_ddfd" = xyes; then + HAVE_DIRFD_TRUE= + HAVE_DIRFD_FALSE='#' +else + HAVE_DIRFD_TRUE='#' + HAVE_DIRFD_FALSE= +fi + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether program_invocation_short_name is defined" >&5 +$as_echo_n "checking whether program_invocation_short_name is defined... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + +int +main () +{ + + program_invocation_short_name = "test"; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +$as_echo "#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1" >>confdefs.h + + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __progname is defined" >&5 +$as_echo_n "checking whether __progname is defined... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +extern char *__progname; +int +main () +{ +if (*__progname == 0) return 1; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + +$as_echo "#define HAVE___PROGNAME 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + + + +# Check whether --enable-static-programs was given. +if test "${enable_static_programs+set}" = set; then : + enableval=$enable_static_programs; +fi + + +case $enable_static_programs in #( + yes) : + enable_static_programs=losetup,mount,umount,fdisk,sfdisk,blkid,nsenter,unshare ;; #( + no) : + enable_static_programs= + ;; #( + *) : + ;; +esac + + + case ,$enable_static_programs, in #( + *,losetup,*) : + static_losetup=yes + ;; #( + *) : + ;; +esac + if test "x$static_losetup" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: enable static build: losetup." >&5 +$as_echo "$as_me: enable static build: losetup." >&6;} +fi + if test "x$static_losetup" = xyes; then + HAVE_STATIC_LOSETUP_TRUE= + HAVE_STATIC_LOSETUP_FALSE='#' +else + HAVE_STATIC_LOSETUP_TRUE='#' + HAVE_STATIC_LOSETUP_FALSE= +fi + + + case ,$enable_static_programs, in #( + *,mount,*) : + static_mount=yes + ;; #( + *) : + ;; +esac + if test "x$static_mount" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: enable static build: mount." >&5 +$as_echo "$as_me: enable static build: mount." >&6;} +fi + if test "x$static_mount" = xyes; then + HAVE_STATIC_MOUNT_TRUE= + HAVE_STATIC_MOUNT_FALSE='#' +else + HAVE_STATIC_MOUNT_TRUE='#' + HAVE_STATIC_MOUNT_FALSE= +fi + + + case ,$enable_static_programs, in #( + *,umount,*) : + static_umount=yes + ;; #( + *) : + ;; +esac + if test "x$static_umount" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: enable static build: umount." >&5 +$as_echo "$as_me: enable static build: umount." >&6;} +fi + if test "x$static_umount" = xyes; then + HAVE_STATIC_UMOUNT_TRUE= + HAVE_STATIC_UMOUNT_FALSE='#' +else + HAVE_STATIC_UMOUNT_TRUE='#' + HAVE_STATIC_UMOUNT_FALSE= +fi + + + case ,$enable_static_programs, in #( + *,fdisk,*) : + static_fdisk=yes + ;; #( + *) : + ;; +esac + if test "x$static_fdisk" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: enable static build: fdisk." >&5 +$as_echo "$as_me: enable static build: fdisk." >&6;} +fi + if test "x$static_fdisk" = xyes; then + HAVE_STATIC_FDISK_TRUE= + HAVE_STATIC_FDISK_FALSE='#' +else + HAVE_STATIC_FDISK_TRUE='#' + HAVE_STATIC_FDISK_FALSE= +fi + + + case ,$enable_static_programs, in #( + *,sfdisk,*) : + static_sfdisk=yes + ;; #( + *) : + ;; +esac + if test "x$static_sfdisk" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: enable static build: sfdisk." >&5 +$as_echo "$as_me: enable static build: sfdisk." >&6;} +fi + if test "x$static_sfdisk" = xyes; then + HAVE_STATIC_SFDISK_TRUE= + HAVE_STATIC_SFDISK_FALSE='#' +else + HAVE_STATIC_SFDISK_TRUE='#' + HAVE_STATIC_SFDISK_FALSE= +fi + + + case ,$enable_static_programs, in #( + *,blkid,*) : + static_blkid=yes + ;; #( + *) : + ;; +esac + if test "x$static_blkid" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: enable static build: blkid." >&5 +$as_echo "$as_me: enable static build: blkid." >&6;} +fi + if test "x$static_blkid" = xyes; then + HAVE_STATIC_BLKID_TRUE= + HAVE_STATIC_BLKID_FALSE='#' +else + HAVE_STATIC_BLKID_TRUE='#' + HAVE_STATIC_BLKID_FALSE= +fi + + + case ,$enable_static_programs, in #( + *,nsenter,*) : + static_nsenter=yes + ;; #( + *) : + ;; +esac + if test "x$static_nsenter" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: enable static build: nsenter." >&5 +$as_echo "$as_me: enable static build: nsenter." >&6;} +fi + if test "x$static_nsenter" = xyes; then + HAVE_STATIC_NSENTER_TRUE= + HAVE_STATIC_NSENTER_FALSE='#' +else + HAVE_STATIC_NSENTER_TRUE='#' + HAVE_STATIC_NSENTER_FALSE= +fi + + + case ,$enable_static_programs, in #( + *,unshare,*) : + static_unshare=yes + ;; #( + *) : + ;; +esac + if test "x$static_unshare" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: enable static build: unshare." >&5 +$as_echo "$as_me: enable static build: unshare." >&6;} +fi + if test "x$static_unshare" = xyes; then + HAVE_STATIC_UNSHARE_TRUE= + HAVE_STATIC_UNSHARE_FALSE='#' +else + HAVE_STATIC_UNSHARE_TRUE='#' + HAVE_STATIC_UNSHARE_FALSE= +fi + + + + +# Check whether --enable-all-programs was given. +if test "${enable_all_programs+set}" = set; then : + enableval=$enable_all_programs; +else + enable_all_programs=undefined + +fi + + +case $enable_all_programs in #( + yes) : + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: force to build all programs by default" >&5 +$as_echo "$as_me: WARNING: force to build all programs by default" >&2;} + ul_default_estate=check ;; #( + no) : + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disable all programs by default" >&5 +$as_echo "$as_me: WARNING: disable all programs by default" >&2;} + ul_default_estate=no + ;; #( + *) : + ;; +esac + + + + + + + # Check whether --enable-tls was given. +if test "${enable_tls+set}" = set; then : + enableval=$enable_tls; +else + enable_tls=yes +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5 +$as_echo_n "checking whether the target supports thread-local storage... " >&6; } +if ${ax_cv_have_tls+:} false; then : + $as_echo_n "(cached) " >&6 +else + + if test "$cross_compiling" = yes; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +__thread int a; int b; int main() { return a = b; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + chktls_save_LDFLAGS="$LDFLAGS" + case $host in + *-*-linux*) + LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS" + ;; + esac + chktls_save_CFLAGS="$CFLAGS" + CFLAGS="-fPIC $CFLAGS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int f() { return 0; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +__thread int a; int b; int f() { return a = b; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ax_cv_have_tls=yes +else + ax_cv_have_tls=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +else + ax_cv_have_tls=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CFLAGS="$chktls_save_CFLAGS" + LDFLAGS="$chktls_save_LDFLAGS" +else + ax_cv_have_tls=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +__thread int a; int b; int main() { return a = b; } +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + chktls_save_LDFLAGS="$LDFLAGS" + LDFLAGS="-static $LDFLAGS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int main() { return 0; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run test program while cross compiling +See \`config.log' for more details" "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +__thread int a; int b; int main() { return a = b; } +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ax_cv_have_tls=yes +else + ax_cv_have_tls=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +else + ax_cv_have_tls=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$chktls_save_LDFLAGS" + if test $ax_cv_have_tls = yes; then + chktls_save_CFLAGS="$CFLAGS" + thread_CFLAGS=failed + for flag in '' '-pthread' '-lpthread'; do + CFLAGS="$flag $chktls_save_CFLAGS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + void *g(void *d) { return NULL; } +int +main () +{ +pthread_t t; pthread_create(&t,NULL,g,NULL); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + thread_CFLAGS="$flag" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "X$thread_CFLAGS" != Xfailed; then + break + fi + done + CFLAGS="$chktls_save_CFLAGS" + if test "X$thread_CFLAGS" != Xfailed; then + CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS" + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run test program while cross compiling +See \`config.log' for more details" "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + __thread int a; + static int *a_in_other_thread; + static void * + thread_func (void *arg) + { + a_in_other_thread = &a; + return (void *)0; + } +int +main () +{ +pthread_t thread; + void *thread_retval; + int *a_in_main_thread; + if (pthread_create (&thread, (pthread_attr_t *)0, + thread_func, (void *)0)) + return 0; + a_in_main_thread = &a; + if (pthread_join (thread, &thread_retval)) + return 0; + return (a_in_other_thread == a_in_main_thread); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + ax_cv_have_tls=yes +else + ax_cv_have_tls=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + CFLAGS="$chktls_save_CFLAGS" + fi + fi +else + ax_cv_have_tls=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_tls" >&5 +$as_echo "$ax_cv_have_tls" >&6; } + + if test "$enable_tls $ax_cv_have_tls" = "yes yes"; then + +$as_echo "#define HAVE_TLS 1" >>confdefs.h + + fi + + + + +if ${scanf_cv_alloc_modifier+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "$cross_compiling" = yes; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + #include + + #if defined(__GLIBC__) && !defined(__UCLIBC__) + + #if !(__GLIBC_PREREQ(2, 7)) + #error %m is not available + #endif + + #elif defined(_POSIX_VERSION) + + #if _POSIX_VERSION < 200809L + #error %m is not available + #endif + + #else + #error Your C-library is not supported. + #endif + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + scanf_cv_alloc_modifier=ms +else + scanf_cv_alloc_modifier=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +# include +# include +int main() +{ + int i; + int rc = 1; + char *s; + i = sscanf("x", "%ms", &s); + if (i == 1 && *s == 'x') + rc = 0; + free(s); + return rc; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + scanf_cv_alloc_modifier=ms +else + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run test program while cross compiling +See \`config.log' for more details" "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +# include +# include +int main() +{ + int i; + int rc = 1; + char *s; + i = sscanf("x", "%as", &s); + if (i == 1 && *s == 'x') + rc = 0; + free(s); + return rc; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + scanf_cv_alloc_modifier=as +else + scanf_cv_alloc_modifier=no + +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking scanf string alloc modifiers" >&5 +$as_echo_n "checking scanf string alloc modifiers... " >&6; } +case $scanf_cv_alloc_modifier in #( + ms) : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: (%ms) yes" >&5 +$as_echo "(%ms) yes" >&6; } + +$as_echo "#define HAVE_SCANF_MS_MODIFIER 1" >>confdefs.h + + have_scanf_alloc_modifier=yes ;; #( + as) : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: (%as) yes" >&5 +$as_echo "(%as) yes" >&6; } + have_scanf_alloc_modifier=yes + +$as_echo "#define HAVE_SCANF_AS_MODIFIER 1" >>confdefs.h + ;; #( + *) : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_scanf_alloc_modifier=no + ;; +esac + + + +# Check whether --with-util was given. +if test "${with_util+set}" = set; then : + withval=$with_util; +else + with_util=auto + +fi + +if test "x$with_util" = xno; then : + + if false; then + HAVE_UTIL_TRUE= + HAVE_UTIL_FALSE='#' +else + HAVE_UTIL_TRUE='#' + HAVE_UTIL_FALSE= +fi + + have_util=no + +else + + + + have_util=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5 +$as_echo_n "checking for openpty in -lutil... " >&6; } +if ${ac_cv_lib_util_openpty+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lutil $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char openpty (); +int +main () +{ +return openpty (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_util_openpty=yes +else + ac_cv_lib_util_openpty=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5 +$as_echo "$ac_cv_lib_util_openpty" >&6; } +if test "x$ac_cv_lib_util_openpty" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBUTIL 1 +_ACEOF + + LIBS="-lutil $LIBS" + +else + have_util=no +fi + + if test $have_util = yes; then + HAVE_UTIL_TRUE= + HAVE_UTIL_FALSE='#' +else + HAVE_UTIL_TRUE='#' + HAVE_UTIL_FALSE= +fi + + + +fi + + +ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" " +#include + +" +if test "x$ac_cv_type_union_semun" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_UNION_SEMUN 1 +_ACEOF + + +fi + +ac_fn_c_check_type "$LINENO" "loff_t" "ac_cv_type_loff_t" "$ac_includes_default" +if test "x$ac_cv_type_loff_t" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_LOFF_T 1 +_ACEOF + + +fi + + + +# Check whether --enable-widechar was given. +if test "${enable_widechar+set}" = set; then : + enableval=$enable_widechar; +else + enable_widechar=check + +fi + + + + if test "x$enable_widechar" = xno; then + build_widechar=no +else + build_widechar=yes +fi + + + + + if test "x$build_widechar" != xno; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking wchar_t support" >&5 +$as_echo_n "checking wchar_t support... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + #include + #include + +int +main () +{ + + wchar_t wc; + wint_t w; + w = fgetwc(stdin); + if (w == WEOF) exit(1); + wc = w; + fputwc(wc,stdout); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + ul_haveprogram_widechar=yes +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + ul_haveprogram_widechar=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + case $enable_widechar:$ul_haveprogram_widechar in #( + no:*) + build_widechar=no ;; + yes:yes) + build_widechar=yes ;; + yes:*) + as_fn_error $? "widechar selected, but required wchar_t support not available" "$LINENO" 5;; + check:yes) + build_widechar=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wchar_t support not found; not building widechar" >&5 +$as_echo "$as_me: WARNING: wchar_t support not found; not building widechar" >&2;} + build_widechar=no ;; + esac + fi + + +if test "x$build_widechar" = xyes ; then : + + +$as_echo "#define HAVE_WIDECHAR 1" >>confdefs.h + + +fi + + +ac_fn_c_check_type "$LINENO" "cpu_set_t" "ac_cv_type_cpu_set_t" " +#include + +" +if test "x$ac_cv_type_cpu_set_t" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_CPU_SET_T 1 +_ACEOF + +have_cpu_set_t=yes +fi + + + if test "x$have_cpu_set_t" = xyes; then + HAVE_CPU_SET_T_TRUE= + HAVE_CPU_SET_T_FALSE='#' +else + HAVE_CPU_SET_T_TRUE='#' + HAVE_CPU_SET_T_FALSE= +fi + + +ac_fn_c_check_type "$LINENO" "sighandler_t" "ac_cv_type_sighandler_t" " +#include + +" +if test "x$ac_cv_type_sighandler_t" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_SIGHANDLER_T 1 +_ACEOF + + +fi + + +ac_fn_c_check_decl "$LINENO" "CPU_ALLOC" "ac_cv_have_decl_CPU_ALLOC" " +#include + +" +if test "x$ac_cv_have_decl_CPU_ALLOC" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_CPU_ALLOC $ac_have_decl +_ACEOF + + +# on Solaris, you can't mix and match standards, since we use c99 +# aparently at this stage, XOPEN_SOURCE will conflict. As workaround, +# check for crypt.h and use that without XOPEN_SOURCE. +have_crypt=no +for ac_header in crypt.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "crypt.h" "ac_cv_header_crypt_h" "$ac_includes_default" +if test "x$ac_cv_header_crypt_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_CRYPT_H 1 +_ACEOF + +fi + +done + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#ifdef HAVE_CRYPT_H +#include +#else +#define _XOPEN_SOURCE +#include +#endif + +int +main () +{ + +char *c = crypt("abc","pw"); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + +else + + LIBS="$LIBS -lcrypt" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #ifdef HAVE_CRYPT_H + #include + #else + #define _XOPEN_SOURCE + #include + #endif + +int +main () +{ + + char *c = crypt("abc","pw"); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + +$as_echo "#define HAVE_LIBCRYPT 1" >>confdefs.h + + have_libcrypt=yes + have_crypt=yes + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: crypt() is not available" >&5 +$as_echo "$as_me: WARNING: crypt() is not available" >&2;} + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "x$have_libcrypt" = xyes; then + HAVE_LIBCRYPT_TRUE= + HAVE_LIBCRYPT_FALSE='#' +else + HAVE_LIBCRYPT_TRUE='#' + HAVE_LIBCRYPT_FALSE= +fi + + + + +# Check whether --with-selinux was given. +if test "${with_selinux+set}" = set; then : + withval=$with_selinux; +else + with_selinux=no + +fi + + +if test "x$with_selinux" = xno; then : + + if false; then + HAVE_SELINUX_TRUE= + HAVE_SELINUX_FALSE='#' +else + HAVE_SELINUX_TRUE='#' + HAVE_SELINUX_FALSE= +fi + + +else + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SELINUX" >&5 +$as_echo_n "checking for SELINUX... " >&6; } + +if test -n "$SELINUX_CFLAGS"; then + pkg_cv_SELINUX_CFLAGS="$SELINUX_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux >= 2.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libselinux >= 2.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SELINUX_CFLAGS=`$PKG_CONFIG --cflags "libselinux >= 2.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$SELINUX_LIBS"; then + pkg_cv_SELINUX_LIBS="$SELINUX_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux >= 2.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libselinux >= 2.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SELINUX_LIBS=`$PKG_CONFIG --libs "libselinux >= 2.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + SELINUX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libselinux >= 2.0" 2>&1` + else + SELINUX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libselinux >= 2.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$SELINUX_PKG_ERRORS" >&5 + + have_selinux=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_selinux=no +else + SELINUX_CFLAGS=$pkg_cv_SELINUX_CFLAGS + SELINUX_LIBS=$pkg_cv_SELINUX_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +$as_echo "#define HAVE_LIBSELINUX 1" >>confdefs.h + + + if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + SELINUX_LIBS_STATIC=`$PKG_CONFIG --libs --static "libselinux"` + else + as_fn_error $? "pkg-config description of libselinux, needed for static build, is not available" "$LINENO" 5 + fi + + if true; then + HAVE_SELINUX_TRUE= + HAVE_SELINUX_FALSE='#' +else + HAVE_SELINUX_TRUE='#' + HAVE_SELINUX_FALSE= +fi + + have_selinux=yes +fi + + case $with_selinux:$have_selinux in #( + yes:no) : + as_fn_error $? "SELinux selected but libselinux not found or too old" "$LINENO" 5 + ;; #( + *) : + ;; +esac + + if test "x$have_selinux" = xyes; then : + + + old_CFLAGS="$CFLAGS" + old_CPPFLAGS="$CPPFLAGS" + old_LDFLAGS="$LDFLAGS" + CFLAGS="$CFLAGS " + CPPFLAGS="$CPPFLAGS " + LDFLAGS="$LDFLAGS $SELINUX_LIBS" + + # This function is missing in old libselinux 1.xx versions + for ac_func in security_get_initial_context +do : + ac_fn_c_check_func "$LINENO" "security_get_initial_context" "ac_cv_func_security_get_initial_context" +if test "x$ac_cv_func_security_get_initial_context" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SECURITY_GET_INITIAL_CONTEXT 1 +_ACEOF + +fi +done + + + CFLAGS="$old_CFLAGS" + CPPFLAGS="$old_CPPFLAGS" + LDFLAGS="$old_LDFLAGS" + + +fi + +fi + + + + + +# Check whether --with-audit was given. +if test "${with_audit+set}" = set; then : + withval=$with_audit; +else + with_audit=no + +fi + + +if test "x$with_audit" = xno; then : + + if false; then + HAVE_AUDIT_TRUE= + HAVE_AUDIT_FALSE='#' +else + HAVE_AUDIT_TRUE='#' + HAVE_AUDIT_FALSE= +fi + + +else + + + + have_audit=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_log_user_message in -laudit" >&5 +$as_echo_n "checking for audit_log_user_message in -laudit... " >&6; } +if ${ac_cv_lib_audit_audit_log_user_message+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-laudit $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char audit_log_user_message (); +int +main () +{ +return audit_log_user_message (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_audit_audit_log_user_message=yes +else + ac_cv_lib_audit_audit_log_user_message=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_log_user_message" >&5 +$as_echo "$ac_cv_lib_audit_audit_log_user_message" >&6; } +if test "x$ac_cv_lib_audit_audit_log_user_message" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBAUDIT 1 +_ACEOF + + LIBS="-laudit $LIBS" + +else + have_audit=no +fi + + if test $have_audit = yes; then + HAVE_AUDIT_TRUE= + HAVE_AUDIT_FALSE='#' +else + HAVE_AUDIT_TRUE='#' + HAVE_AUDIT_FALSE= +fi + + + case $with_audit:$have_audit in #( + yes:no) : + as_fn_error $? "Audit selected but libaudit not found (or does not support audit_log_user_message())" "$LINENO" 5 + ;; #( + *) : + ;; +esac + +fi + + +# Check whether --with-udev was given. +if test "${with_udev+set}" = set; then : + withval=$with_udev; +else + with_udev=auto + +fi + + +if test "x$with_udev" = xno; then : + + if false; then + HAVE_UDEV_TRUE= + HAVE_UDEV_FALSE='#' +else + HAVE_UDEV_TRUE='#' + HAVE_UDEV_FALSE= +fi + + +else + + + + have_udev=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5 +$as_echo_n "checking for udev_new in -ludev... " >&6; } +if ${ac_cv_lib_udev_udev_new+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ludev $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char udev_new (); +int +main () +{ +return udev_new (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_udev_udev_new=yes +else + ac_cv_lib_udev_udev_new=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5 +$as_echo "$ac_cv_lib_udev_udev_new" >&6; } +if test "x$ac_cv_lib_udev_udev_new" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBUDEV 1 +_ACEOF + + LIBS="-ludev $LIBS" + +else + have_udev=no +fi + + if test $have_udev = yes; then + HAVE_UDEV_TRUE= + HAVE_UDEV_FALSE='#' +else + HAVE_UDEV_TRUE='#' + HAVE_UDEV_FALSE= +fi + + + case $with_udev:$have_udev in #( + yes:no) : + as_fn_error $? "udev selected but libudev not found" "$LINENO" 5 + ;; #( + *) : + ;; +esac + +fi + + + +# Check whether --with-ncursesw was given. +if test "${with_ncursesw+set}" = set; then : + withval=$with_ncursesw; +else + with_ncursesw=auto + +fi + +have_ncursesw=no +have_ncursesw_header=no +if test "x$with_ncursesw" != xno; then : + + + + + + # ncurses6-config + # + if test "x$have_ncursesw" = xno; then : + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ncursesw6-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}ncursesw6-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_NCURSESW6_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NCURSESW6_CONFIG"; then + ac_cv_prog_NCURSESW6_CONFIG="$NCURSESW6_CONFIG" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_NCURSESW6_CONFIG="${ac_tool_prefix}ncursesw6-config" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +NCURSESW6_CONFIG=$ac_cv_prog_NCURSESW6_CONFIG +if test -n "$NCURSESW6_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NCURSESW6_CONFIG" >&5 +$as_echo "$NCURSESW6_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_NCURSESW6_CONFIG"; then + ac_ct_NCURSESW6_CONFIG=$NCURSESW6_CONFIG + # Extract the first word of "ncursesw6-config", so it can be a program name with args. +set dummy ncursesw6-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_NCURSESW6_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_NCURSESW6_CONFIG"; then + ac_cv_prog_ac_ct_NCURSESW6_CONFIG="$ac_ct_NCURSESW6_CONFIG" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_NCURSESW6_CONFIG="ncursesw6-config" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_NCURSESW6_CONFIG=$ac_cv_prog_ac_ct_NCURSESW6_CONFIG +if test -n "$ac_ct_NCURSESW6_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NCURSESW6_CONFIG" >&5 +$as_echo "$ac_ct_NCURSESW6_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_NCURSESW6_CONFIG" = x; then + NCURSESW6_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + NCURSESW6_CONFIG=$ac_ct_NCURSESW6_CONFIG + fi +else + NCURSESW6_CONFIG="$ac_cv_prog_NCURSESW6_CONFIG" +fi + + if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$NCURSESW6_CONFIG --version >/dev/null"; } >&5 + ($NCURSESW6_CONFIG --version >/dev/null) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + have_ncursesw=yes + NCURSES_LIBS=`$NCURSESW6_CONFIG --libs` + NCURSES_CFLAGS=`$NCURSESW6_CONFIG --cflags` + else + have_ncursesw=no + fi + +fi + + # ncurses5-config + # + if test "x$have_ncursesw" = xno; then : + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ncursesw5-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}ncursesw5-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_NCURSESW5_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NCURSESW5_CONFIG"; then + ac_cv_prog_NCURSESW5_CONFIG="$NCURSESW5_CONFIG" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_NCURSESW5_CONFIG="${ac_tool_prefix}ncursesw5-config" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +NCURSESW5_CONFIG=$ac_cv_prog_NCURSESW5_CONFIG +if test -n "$NCURSESW5_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NCURSESW5_CONFIG" >&5 +$as_echo "$NCURSESW5_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_NCURSESW5_CONFIG"; then + ac_ct_NCURSESW5_CONFIG=$NCURSESW5_CONFIG + # Extract the first word of "ncursesw5-config", so it can be a program name with args. +set dummy ncursesw5-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_NCURSESW5_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_NCURSESW5_CONFIG"; then + ac_cv_prog_ac_ct_NCURSESW5_CONFIG="$ac_ct_NCURSESW5_CONFIG" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_NCURSESW5_CONFIG="ncursesw5-config" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_NCURSESW5_CONFIG=$ac_cv_prog_ac_ct_NCURSESW5_CONFIG +if test -n "$ac_ct_NCURSESW5_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NCURSESW5_CONFIG" >&5 +$as_echo "$ac_ct_NCURSESW5_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_NCURSESW5_CONFIG" = x; then + NCURSESW5_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + NCURSESW5_CONFIG=$ac_ct_NCURSESW5_CONFIG + fi +else + NCURSESW5_CONFIG="$ac_cv_prog_NCURSESW5_CONFIG" +fi + + if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$NCURSESW5_CONFIG --version >/dev/null"; } >&5 + ($NCURSESW5_CONFIG --version >/dev/null) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + have_ncursesw=yes + NCURSES_LIBS=`$NCURSESW5_CONFIG --libs` + NCURSES_CFLAGS=`$NCURSESW5_CONFIG --cflags` + else + have_ncursesw=no + fi + +fi + + # pkg-config (not supported by ncurses upstream by default) + # + if test "x$have_ncursesw" = xno; then : + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NCURSESW" >&5 +$as_echo_n "checking for NCURSESW... " >&6; } + +if test -n "$NCURSESW_CFLAGS"; then + pkg_cv_NCURSESW_CFLAGS="$NCURSESW_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5 + ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_NCURSESW_CFLAGS=`$PKG_CONFIG --cflags "ncursesw" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$NCURSESW_LIBS"; then + pkg_cv_NCURSESW_LIBS="$NCURSESW_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5 + ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_NCURSESW_LIBS=`$PKG_CONFIG --libs "ncursesw" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + NCURSESW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncursesw" 2>&1` + else + NCURSESW_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ncursesw" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$NCURSESW_PKG_ERRORS" >&5 + + have_ncursesw=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_ncursesw=no +else + NCURSESW_CFLAGS=$pkg_cv_NCURSESW_CFLAGS + NCURSESW_LIBS=$pkg_cv_NCURSESW_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + have_ncursesw=yes + NCURSES_LIBS=${NCURSESW_LIBS} + NCURSES_CFLAGS=${NCURSESW_CFLAGS} + +fi + +fi + + # classic autoconf way + # + if test "x$have_ncursesw" = xno; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncursesw" >&5 +$as_echo_n "checking for initscr in -lncursesw... " >&6; } +if ${ac_cv_lib_ncursesw_initscr+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lncursesw $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char initscr (); +int +main () +{ +return initscr (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_ncursesw_initscr=yes +else + ac_cv_lib_ncursesw_initscr=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_initscr" >&5 +$as_echo "$ac_cv_lib_ncursesw_initscr" >&6; } +if test "x$ac_cv_lib_ncursesw_initscr" = xyes; then : + have_ncursesw=yes +else + have_ncursesw=no +fi + + if test "x$have_ncursesw" = xyes; then : + NCURSES_LIBS="-lncursesw" +fi + +fi + + if test "x$have_ncursesw" = xyes; then : + + for ac_header in ncursesw/ncurses.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "ncursesw/ncurses.h" "ac_cv_header_ncursesw_ncurses_h" "$ac_includes_default" +if test "x$ac_cv_header_ncursesw_ncurses_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_NCURSESW_NCURSES_H 1 +_ACEOF + have_ncursesw_header=yes +fi + +done + + for ac_header in ncursesw/term.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "ncursesw/term.h" "ac_cv_header_ncursesw_term_h" "$ac_includes_default" +if test "x$ac_cv_header_ncursesw_term_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_NCURSESW_TERM_H 1 +_ACEOF + +fi + +done + + + # Define HAVE_NCURSES_H only if check for HAVE_NCURSESW_NCURSES_H is + # unsuccessful to avoid too many *_H permitations in config.h + if test "x$have_ncursesw_header" = xno; then : + + for ac_header in ncurses.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default" +if test "x$ac_cv_header_ncurses_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_NCURSES_H 1 +_ACEOF + have_ncursesw_header=yes +fi + +done + + for ac_header in term.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "term.h" "ac_cv_header_term_h" "$ac_includes_default" +if test "x$ac_cv_header_term_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_TERM_H 1 +_ACEOF + +fi + +done + + +fi + if test "x$have_ncursesw_header" = xno; then : + have_ncursesw=no +fi + +fi + if test "x$have_ncursesw" = xyes; then : + + CURSES_LIB_NAME="ncursesw" + +$as_echo "#define HAVE_LIBNCURSESW 1" >>confdefs.h + + +fi + +fi +case $with_ncursesw:$have_ncursesw in #( + yes:no) : + as_fn_error $? "ncursesw selected, but library not found" "$LINENO" 5 ;; #( + *) : + ;; +esac + + + +# Check whether --with-ncurses was given. +if test "${with_ncurses+set}" = set; then : + withval=$with_ncurses; +else + with_ncurses=auto + +fi + +have_ncurses=no +have_ncurses_header=no +case $with_ncurses:$build_widechar in #( + yes:yes) : + as_fn_error $? "wide-char support enabled, but non-wide ncurses selects" "$LINENO" 5 ;; #( + *) : + ;; +esac + +if test "x$have_ncursesw" = xno -a "x$with_ncurses" != xno ; then : + + + + + + # ncurses6-config + # + if test "x$have_ncurses" = xno; then : + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ncurses6-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}ncurses6-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_NCURSES6_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NCURSES6_CONFIG"; then + ac_cv_prog_NCURSES6_CONFIG="$NCURSES6_CONFIG" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_NCURSES6_CONFIG="${ac_tool_prefix}ncurses6-config" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +NCURSES6_CONFIG=$ac_cv_prog_NCURSES6_CONFIG +if test -n "$NCURSES6_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NCURSES6_CONFIG" >&5 +$as_echo "$NCURSES6_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_NCURSES6_CONFIG"; then + ac_ct_NCURSES6_CONFIG=$NCURSES6_CONFIG + # Extract the first word of "ncurses6-config", so it can be a program name with args. +set dummy ncurses6-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_NCURSES6_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_NCURSES6_CONFIG"; then + ac_cv_prog_ac_ct_NCURSES6_CONFIG="$ac_ct_NCURSES6_CONFIG" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_NCURSES6_CONFIG="ncurses6-config" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_NCURSES6_CONFIG=$ac_cv_prog_ac_ct_NCURSES6_CONFIG +if test -n "$ac_ct_NCURSES6_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NCURSES6_CONFIG" >&5 +$as_echo "$ac_ct_NCURSES6_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_NCURSES6_CONFIG" = x; then + NCURSES6_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + NCURSES6_CONFIG=$ac_ct_NCURSES6_CONFIG + fi +else + NCURSES6_CONFIG="$ac_cv_prog_NCURSES6_CONFIG" +fi + + if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$NCURSES6_CONFIG --version >/dev/null"; } >&5 + ($NCURSES6_CONFIG --version >/dev/null) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + have_ncurses=yes + NCURSES_LIBS=`$NCURSES6_CONFIG --libs` + NCURSES_CFLAGS=`$NCURSES6_CONFIG --cflags` + else + have_ncurses=no + fi + +fi + + # ncurses5-config + # + if test "x$have_ncurses" = xno; then : + + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ncurses5-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}ncurses5-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_NCURSES5_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$NCURSES5_CONFIG"; then + ac_cv_prog_NCURSES5_CONFIG="$NCURSES5_CONFIG" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_NCURSES5_CONFIG="${ac_tool_prefix}ncurses5-config" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +NCURSES5_CONFIG=$ac_cv_prog_NCURSES5_CONFIG +if test -n "$NCURSES5_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NCURSES5_CONFIG" >&5 +$as_echo "$NCURSES5_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_NCURSES5_CONFIG"; then + ac_ct_NCURSES5_CONFIG=$NCURSES5_CONFIG + # Extract the first word of "ncurses5-config", so it can be a program name with args. +set dummy ncurses5-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_NCURSES5_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_NCURSES5_CONFIG"; then + ac_cv_prog_ac_ct_NCURSES5_CONFIG="$ac_ct_NCURSES5_CONFIG" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_NCURSES5_CONFIG="ncurses5-config" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_NCURSES5_CONFIG=$ac_cv_prog_ac_ct_NCURSES5_CONFIG +if test -n "$ac_ct_NCURSES5_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NCURSES5_CONFIG" >&5 +$as_echo "$ac_ct_NCURSES5_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_NCURSES5_CONFIG" = x; then + NCURSES5_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + NCURSES5_CONFIG=$ac_ct_NCURSES5_CONFIG + fi +else + NCURSES5_CONFIG="$ac_cv_prog_NCURSES5_CONFIG" +fi + + if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$NCURSES5_CONFIG --version >/dev/null"; } >&5 + ($NCURSES5_CONFIG --version >/dev/null) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + have_ncurses=yes + NCURSES_LIBS=`$NCURSES5_CONFIG --libs` + NCURSES_CFLAGS=`$NCURSES5_CONFIG --cflags` + else + have_ncurses=no + fi + +fi + + # pkg-config (not supported by ncurses upstream by default) + # + if test "x$have_ncurses" = xno; then : + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NCURSES" >&5 +$as_echo_n "checking for NCURSES... " >&6; } + +if test -n "$NCURSES_CFLAGS"; then + pkg_cv_NCURSES_CFLAGS="$NCURSES_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5 + ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_NCURSES_CFLAGS=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$NCURSES_LIBS"; then + pkg_cv_NCURSES_LIBS="$NCURSES_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5 + ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_NCURSES_LIBS=`$PKG_CONFIG --libs "ncurses" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + NCURSES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncurses" 2>&1` + else + NCURSES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ncurses" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$NCURSES_PKG_ERRORS" >&5 + + have_ncurses=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_ncurses=no +else + NCURSES_CFLAGS=$pkg_cv_NCURSES_CFLAGS + NCURSES_LIBS=$pkg_cv_NCURSES_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + have_ncurses=yes + NCURSES_LIBS=${NCURSES_LIBS} + NCURSES_CFLAGS=${NCURSES_CFLAGS} + +fi + +fi + + # classic autoconf way + # + if test "x$have_ncurses" = xno; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5 +$as_echo_n "checking for initscr in -lncurses... " >&6; } +if ${ac_cv_lib_ncurses_initscr+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lncurses $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char initscr (); +int +main () +{ +return initscr (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_ncurses_initscr=yes +else + ac_cv_lib_ncurses_initscr=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5 +$as_echo "$ac_cv_lib_ncurses_initscr" >&6; } +if test "x$ac_cv_lib_ncurses_initscr" = xyes; then : + have_ncurses=yes +else + have_ncurses=no +fi + + if test "x$have_ncurses" = xyes; then : + NCURSES_LIBS="-lncurses" +fi + +fi + + if test "x$have_ncurses" = xyes; then : + + for ac_header in ncurses/ncurses.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "ncurses/ncurses.h" "ac_cv_header_ncurses_ncurses_h" "$ac_includes_default" +if test "x$ac_cv_header_ncurses_ncurses_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_NCURSES_NCURSES_H 1 +_ACEOF + have_ncurses_header=yes +fi + +done + + for ac_header in ncurses/term.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "ncurses/term.h" "ac_cv_header_ncurses_term_h" "$ac_includes_default" +if test "x$ac_cv_header_ncurses_term_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_NCURSES_TERM_H 1 +_ACEOF + +fi + +done + + + # Define HAVE_NCURSES_H only if check for HAVE_NCURSES_NCURSES_H is + # unsuccessful to avoid too many *_H permitations in config.h + if test "x$have_ncurses_header" = xno; then : + + for ac_header in ncurses.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default" +if test "x$ac_cv_header_ncurses_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_NCURSES_H 1 +_ACEOF + have_ncurses_header=yes +fi + +done + + for ac_header in term.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "term.h" "ac_cv_header_term_h" "$ac_includes_default" +if test "x$ac_cv_header_term_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_TERM_H 1 +_ACEOF + +fi + +done + + +fi + if test "x$have_ncurses_header" = xno; then : + have_ncurses=no +fi + +fi + if test "x$have_ncurses" = xyes; then : + + CURSES_LIB_NAME="ncurses" + +$as_echo "#define HAVE_LIBNCURSES 1" >>confdefs.h + + +fi + +fi +case $with_ncurses:$have_ncurses in #( + yes:no) : + as_fn_error $? "ncurses selected, but library not found" "$LINENO" 5 ;; #( + *) : + ;; +esac + + + + if test "x$have_ncursesw" = xyes -o "x$have_ncurses" = xyes; then + HAVE_NCURSES_TRUE= + HAVE_NCURSES_FALSE='#' +else + HAVE_NCURSES_TRUE='#' + HAVE_NCURSES_FALSE= +fi + + + + +# Check whether --with-slang was given. +if test "${with_slang+set}" = set; then : + withval=$with_slang; +else + with_slang=no + +fi + +have_slang=no +if test "x$with_slang" = xyes; then : + + for ac_header in slang.h slang/slang.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + for ac_header in slcurses.h slang/slcurses.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " +#ifdef HAVE_SLANG_H +#include +#elif defined(HAVE_SLANG_SLANG_H) +#include +#endif + +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + have_slang=yes +fi + +done + + if test "x$have_slang" = xno; then : + + as_fn_error $? "slang selected but slcurses.h not found" "$LINENO" 5 +else + CURSES_LIB_NAME=slang + +fi + +fi + if test "x$have_slang" = xyes; then + HAVE_SLANG_TRUE= + HAVE_SLANG_FALSE='#' +else + HAVE_SLANG_TRUE='#' + HAVE_SLANG_FALSE= +fi + + + +if test "x$have_slang" = xyes -o "x$have_ncursesw" = xyes -o "x$have_ncurses" = xyes; then : + + as_ac_Lib=`$as_echo "ac_cv_lib_$CURSES_LIB_NAME''_use_default_colors" | $as_tr_sh` +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for use_default_colors in -l$CURSES_LIB_NAME" >&5 +$as_echo_n "checking for use_default_colors in -l$CURSES_LIB_NAME... " >&6; } +if eval \${$as_ac_Lib+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-l$CURSES_LIB_NAME $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char use_default_colors (); +int +main () +{ +return use_default_colors (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$as_ac_Lib=yes" +else + eval "$as_ac_Lib=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +eval ac_res=\$$as_ac_Lib + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + + +$as_echo "#define HAVE_USE_DEFAULT_COLORS 1" >>confdefs.h + + +fi + + as_ac_Lib=`$as_echo "ac_cv_lib_$CURSES_LIB_NAME''_resizeterm" | $as_tr_sh` +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for resizeterm in -l$CURSES_LIB_NAME" >&5 +$as_echo_n "checking for resizeterm in -l$CURSES_LIB_NAME... " >&6; } +if eval \${$as_ac_Lib+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-l$CURSES_LIB_NAME $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char resizeterm (); +int +main () +{ +return resizeterm (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$as_ac_Lib=yes" +else + eval "$as_ac_Lib=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +eval ac_res=\$$as_ac_Lib + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + + +$as_echo "#define HAVE_RESIZETERM 1" >>confdefs.h + + +fi + + +fi + + + +# Check whether --with-tinfo was given. +if test "${with_tinfo+set}" = set; then : + withval=$with_tinfo; +else + with_tinfo=auto + +fi + +have_tinfo=no +have_tinfow=no +if test "x$with_tinfo" != xno; then : + + if test "x$have_ncursesw" = xyes; then : + + + + + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TINFOW" >&5 +$as_echo_n "checking for TINFOW... " >&6; } + +if test -n "$TINFOW_CFLAGS"; then + pkg_cv_TINFOW_CFLAGS="$TINFOW_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinfow\""; } >&5 + ($PKG_CONFIG --exists --print-errors "tinfow") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_TINFOW_CFLAGS=`$PKG_CONFIG --cflags "tinfow" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$TINFOW_LIBS"; then + pkg_cv_TINFOW_LIBS="$TINFOW_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinfow\""; } >&5 + ($PKG_CONFIG --exists --print-errors "tinfow") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_TINFOW_LIBS=`$PKG_CONFIG --libs "tinfow" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + TINFOW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tinfow" 2>&1` + else + TINFOW_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tinfow" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$TINFOW_PKG_ERRORS" >&5 + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfow" >&5 +$as_echo_n "checking for tgetent in -ltinfow... " >&6; } +if ${ac_cv_lib_tinfow_tgetent+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ltinfow $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char tgetent (); +int +main () +{ +return tgetent (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_tinfow_tgetent=yes +else + ac_cv_lib_tinfow_tgetent=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfow_tgetent" >&5 +$as_echo "$ac_cv_lib_tinfow_tgetent" >&6; } +if test "x$ac_cv_lib_tinfow_tgetent" = xyes; then : + + have_tinfow=yes + TINFO_LIBS="-ltinfow" + TINFO_LIBS_STATIC="-ltinfow" + TINFO_CFLAGS="" +fi + + +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfow" >&5 +$as_echo_n "checking for tgetent in -ltinfow... " >&6; } +if ${ac_cv_lib_tinfow_tgetent+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ltinfow $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char tgetent (); +int +main () +{ +return tgetent (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_tinfow_tgetent=yes +else + ac_cv_lib_tinfow_tgetent=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfow_tgetent" >&5 +$as_echo "$ac_cv_lib_tinfow_tgetent" >&6; } +if test "x$ac_cv_lib_tinfow_tgetent" = xyes; then : + + have_tinfow=yes + TINFO_LIBS="-ltinfow" + TINFO_LIBS_STATIC="-ltinfow" + TINFO_CFLAGS="" +fi + + +else + TINFOW_CFLAGS=$pkg_cv_TINFOW_CFLAGS + TINFOW_LIBS=$pkg_cv_TINFOW_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + have_tinfow=yes + TINFO_LIBS=${TINFOW_LIBS} + TINFO_CFLAGS=${TINFOW_CFLAGS} + + if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinfow\""; } >&5 + ($PKG_CONFIG --exists --print-errors "tinfow") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + TINFO_LIBS_STATIC=`$PKG_CONFIG --libs --static "tinfow"` + else + as_fn_error $? "pkg-config description of tinfow, needed for static build, is not available" "$LINENO" 5 + fi + + +fi + + +fi + if test "x$have_tinfow" = xno; then : + + + + + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TINFO" >&5 +$as_echo_n "checking for TINFO... " >&6; } + +if test -n "$TINFO_CFLAGS"; then + pkg_cv_TINFO_CFLAGS="$TINFO_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinfo\""; } >&5 + ($PKG_CONFIG --exists --print-errors "tinfo") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_TINFO_CFLAGS=`$PKG_CONFIG --cflags "tinfo" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$TINFO_LIBS"; then + pkg_cv_TINFO_LIBS="$TINFO_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinfo\""; } >&5 + ($PKG_CONFIG --exists --print-errors "tinfo") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_TINFO_LIBS=`$PKG_CONFIG --libs "tinfo" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + TINFO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tinfo" 2>&1` + else + TINFO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tinfo" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$TINFO_PKG_ERRORS" >&5 + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfo" >&5 +$as_echo_n "checking for tgetent in -ltinfo... " >&6; } +if ${ac_cv_lib_tinfo_tgetent+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ltinfo $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char tgetent (); +int +main () +{ +return tgetent (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_tinfo_tgetent=yes +else + ac_cv_lib_tinfo_tgetent=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_tgetent" >&5 +$as_echo "$ac_cv_lib_tinfo_tgetent" >&6; } +if test "x$ac_cv_lib_tinfo_tgetent" = xyes; then : + + have_tinfo=yes + TINFO_LIBS="-ltinfo" + TINFO_LIBS_STATIC="-ltinfo" + TINFO_CFLAGS="" +fi + + +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfo" >&5 +$as_echo_n "checking for tgetent in -ltinfo... " >&6; } +if ${ac_cv_lib_tinfo_tgetent+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ltinfo $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char tgetent (); +int +main () +{ +return tgetent (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_tinfo_tgetent=yes +else + ac_cv_lib_tinfo_tgetent=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_tgetent" >&5 +$as_echo "$ac_cv_lib_tinfo_tgetent" >&6; } +if test "x$ac_cv_lib_tinfo_tgetent" = xyes; then : + + have_tinfo=yes + TINFO_LIBS="-ltinfo" + TINFO_LIBS_STATIC="-ltinfo" + TINFO_CFLAGS="" +fi + + +else + TINFO_CFLAGS=$pkg_cv_TINFO_CFLAGS + TINFO_LIBS=$pkg_cv_TINFO_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + + have_tinfo=yes + TINFO_LIBS=${TINFO_LIBS} + TINFO_CFLAGS=${TINFO_CFLAGS} + + if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tinfo\""; } >&5 + ($PKG_CONFIG --exists --print-errors "tinfo") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + TINFO_LIBS_STATIC=`$PKG_CONFIG --libs --static "tinfo"` + else + as_fn_error $? "pkg-config description of tinfo, needed for static build, is not available" "$LINENO" 5 + fi + + +fi + + +fi + +fi + + + + if test "x$have_tinfo" = xyes -o "x$have_tinfow" = xyes; then + HAVE_TINFO_TRUE= + HAVE_TINFO_FALSE='#' +else + HAVE_TINFO_TRUE='#' + HAVE_TINFO_FALSE= +fi + +if test "x$have_tinfo" = xyes -o "x$have_tinfow" = xyes; then : + + +$as_echo "#define HAVE_LIBTINFO 1" >>confdefs.h + + +fi + + + +# Check whether --with-readline was given. +if test "${with_readline+set}" = set; then : + withval=$with_readline; +else + with_readline=auto + +fi + + +if test "x$with_readline" = xno; then : + + if false; then + HAVE_READLINE_TRUE= + HAVE_READLINE_FALSE='#' +else + HAVE_READLINE_TRUE='#' + HAVE_READLINE_FALSE= +fi + + +else + + + + have_readline=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 +$as_echo_n "checking for readline in -lreadline... " >&6; } +if ${ac_cv_lib_readline_readline+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lreadline $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char readline (); +int +main () +{ +return readline (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_readline_readline=yes +else + ac_cv_lib_readline_readline=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 +$as_echo "$ac_cv_lib_readline_readline" >&6; } +if test "x$ac_cv_lib_readline_readline" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBREADLINE 1 +_ACEOF + + LIBS="-lreadline $LIBS" + +else + have_readline=no +fi + + if test $have_readline = yes; then + HAVE_READLINE_TRUE= + HAVE_READLINE_FALSE='#' +else + HAVE_READLINE_TRUE='#' + HAVE_READLINE_FALSE= +fi + + + case $with_readline:$have_readline in #( + yes:no) : + as_fn_error $? "readline selected but libreadline not found " "$LINENO" 5 ;; #( + *:yes) : + READLINE_LIBS="-lreadline" + READLINE_LIBS_STATIC="-lreadline $TINFO_LIBS_STATIC" + ;; #( + *) : + ;; +esac + +fi + + + + + +# Check whether --with-utempter was given. +if test "${with_utempter+set}" = set; then : + withval=$with_utempter; +else + with_utempter=no + +fi + + +if test "x$with_utempter" = xyes; then : + + + + have_utempter=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utempter_add_record in -lutempter" >&5 +$as_echo_n "checking for utempter_add_record in -lutempter... " >&6; } +if ${ac_cv_lib_utempter_utempter_add_record+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lutempter $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char utempter_add_record (); +int +main () +{ +return utempter_add_record (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_utempter_utempter_add_record=yes +else + ac_cv_lib_utempter_utempter_add_record=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_utempter_utempter_add_record" >&5 +$as_echo "$ac_cv_lib_utempter_utempter_add_record" >&6; } +if test "x$ac_cv_lib_utempter_utempter_add_record" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBUTEMPTER 1 +_ACEOF + + LIBS="-lutempter $LIBS" + +else + have_utempter=no +fi + + if test $have_utempter = yes; then + HAVE_UTEMPTER_TRUE= + HAVE_UTEMPTER_FALSE='#' +else + HAVE_UTEMPTER_TRUE='#' + HAVE_UTEMPTER_FALSE= +fi + + + if test "x$have_utempter" = xno; then : + + as_fn_error $? "utempter selected but libutempter not found" "$LINENO" 5 + +fi + +else + + if false; then + HAVE_UTEMPTER_TRUE= + HAVE_UTEMPTER_FALSE='#' +else + HAVE_UTEMPTER_TRUE='#' + HAVE_UTEMPTER_FALSE= +fi + + +fi + + +# Check whether --enable-libuuid was given. +if test "${enable_libuuid+set}" = set; then : + enableval=$enable_libuuid; +else + + + if test "x$ul_default_estate" != x; then + enable_libuuid=$ul_default_estate + else + enable_libuuid=yes + fi + + +fi + + + + if test "x$enable_libuuid" = xno; then + build_libuuid=no +else + build_libuuid=yes +fi + + + + if test "x$build_libuuid" = xyes; then + BUILD_LIBUUID_TRUE= + BUILD_LIBUUID_FALSE='#' +else + BUILD_LIBUUID_TRUE='#' + BUILD_LIBUUID_FALSE= +fi + + +# Check whether --enable-libuuid-force-uuidd was given. +if test "${enable_libuuid_force_uuidd+set}" = set; then : + enableval=$enable_libuuid_force_uuidd; +else + enable_libuuid_force_uuidd=no + +fi + + +if test "x$build_libuuid" = xyes; then : + + +$as_echo "#define HAVE_LIBUUID 1" >>confdefs.h + + +fi + +# Check whether --enable-libblkid was given. +if test "${enable_libblkid+set}" = set; then : + enableval=$enable_libblkid; +else + + + if test "x$ul_default_estate" != x; then + enable_libblkid=$ul_default_estate + else + enable_libblkid=check + fi + + +fi + + + + if test "x$enable_libblkid" = xno; then + build_libblkid=no +else + build_libblkid=yes +fi + + + + + if test "x$build_libblkid" != xno; then + + ul_haveone_libblkid=no + + if test "x$have_openat" = xyes; then + ul_haveone_libblkid=yes + fi + + case $enable_libblkid:$ul_haveone_libblkid in #( + no:*) + build_libblkid=no ;; + yes:yes) + build_libblkid=yes ;; + yes:*) + as_fn_error $? "libblkid selected, but required openat functions not available" "$LINENO" 5;; + check:yes) + build_libblkid=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: openat functions not found; not building libblkid" >&5 +$as_echo "$as_me: WARNING: openat functions not found; not building libblkid" >&2;} + build_libblkid=no ;; + esac + fi + + + + + if test "x$build_libblkid" != xno; then + + ul_haveone_libblkid=no + + if test "x$have_dirfd" = xyes; then + ul_haveone_libblkid=yes + fi + + if test "x$have_ddfd" = xyes; then + ul_haveone_libblkid=yes + fi + + case $enable_libblkid:$ul_haveone_libblkid in #( + no:*) + build_libblkid=no ;; + yes:yes) + build_libblkid=yes ;; + yes:*) + as_fn_error $? "libblkid selected, but required dirfd or ddfd function not available" "$LINENO" 5;; + check:yes) + build_libblkid=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dirfd or ddfd function not found; not building libblkid" >&5 +$as_echo "$as_me: WARNING: dirfd or ddfd function not found; not building libblkid" >&2;} + build_libblkid=no ;; + esac + fi + + + + + +cat >>confdefs.h <<_ACEOF +#define LIBBLKID_VERSION "$LIBBLKID_VERSION" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define LIBBLKID_DATE "$LIBBLKID_DATE" +_ACEOF + +if test "x$build_libblkid" = xyes; then : + + +$as_echo "#define HAVE_LIBBLKID 1" >>confdefs.h + + +fi + if test "x$build_libblkid" = xyes; then + BUILD_LIBBLKID_TRUE= + BUILD_LIBBLKID_FALSE='#' +else + BUILD_LIBBLKID_TRUE='#' + BUILD_LIBBLKID_FALSE= +fi + + if test "x$build_libblkid" = xyes -a "x$enable_static" = xyes; then + BUILD_LIBBLKID_TESTS_TRUE= + BUILD_LIBBLKID_TESTS_FALSE='#' +else + BUILD_LIBBLKID_TESTS_TRUE='#' + BUILD_LIBBLKID_TESTS_FALSE= +fi + + +# Check whether --enable-libmount was given. +if test "${enable_libmount+set}" = set; then : + enableval=$enable_libmount; +else + + + if test "x$ul_default_estate" != x; then + enable_libmount=$ul_default_estate + else + enable_libmount=check + fi + + +fi + + + + if test "x$enable_libmount" = xno; then + build_libmount=no +else + build_libmount=yes +fi + + + + + if test "x$build_libmount" != xno; then + case $enable_libmount:$build_libblkid in #( + no:*) + build_libmount=no ;; + yes:yes) + build_libmount=yes ;; + yes:*) + as_fn_error $? "libblkid is needed to build libmount" "$LINENO" 5;; + check:yes) + build_libmount=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libblkid disabled; not building libmount" >&5 +$as_echo "$as_me: WARNING: libblkid disabled; not building libmount" >&2;} + build_libmount=no ;; + esac + fi + + + + + if test "x$build_libmount" != xno; then + + ul_haveone_libmount=no + + if test "x$have_scanf_alloc_modifier" = xyes; then + ul_haveone_libmount=yes + fi + + case $enable_libmount:$ul_haveone_libmount in #( + no:*) + build_libmount=no ;; + yes:yes) + build_libmount=yes ;; + yes:*) + as_fn_error $? "libmount selected, but required scanf string alloc modifier not available" "$LINENO" 5;; + check:yes) + build_libmount=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: scanf string alloc modifier not found; not building libmount" >&5 +$as_echo "$as_me: WARNING: scanf string alloc modifier not found; not building libmount" >&2;} + build_libmount=no ;; + esac + fi + + + + + if test "x$build_libmount" != xno; then + + ul_haveone_libmount=no + + if test "x$have_dirfd" = xyes; then + ul_haveone_libmount=yes + fi + + if test "x$have_ddfd" = xyes; then + ul_haveone_libmount=yes + fi + + case $enable_libmount:$ul_haveone_libmount in #( + no:*) + build_libmount=no ;; + yes:yes) + build_libmount=yes ;; + yes:*) + as_fn_error $? "libmount selected, but required dirfd or ddfd function not available" "$LINENO" 5;; + check:yes) + build_libmount=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dirfd or ddfd function not found; not building libmount" >&5 +$as_echo "$as_me: WARNING: dirfd or ddfd function not found; not building libmount" >&2;} + build_libmount=no ;; + esac + fi + + if test "x$build_libmount" = xyes; then + BUILD_LIBMOUNT_TRUE= + BUILD_LIBMOUNT_FALSE='#' +else + BUILD_LIBMOUNT_TRUE='#' + BUILD_LIBMOUNT_FALSE= +fi + + if test "x$build_libmount" = xyes -a "x$enable_static" = xyes; then + BUILD_LIBMOUNT_TESTS_TRUE= + BUILD_LIBMOUNT_TESTS_FALSE='#' +else + BUILD_LIBMOUNT_TESTS_TRUE='#' + BUILD_LIBMOUNT_TESTS_FALSE= +fi + +if test "x$build_libmount" = xyes; then : + + +$as_echo "#define HAVE_LIBMOUNT 1" >>confdefs.h + + if test "x$have_setns_syscall" = "xyes"; then : + + +$as_echo "#define USE_LIBMOUNT_SUPPORT_NAMESPACES 1" >>confdefs.h + + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount will be compiled without namespaces support" >&5 +$as_echo "$as_me: WARNING: libmount will be compiled without namespaces support" >&2;} + +fi + +fi + + +LIBMOUNT_MAJOR_VERSION=$PACKAGE_VERSION_MAJOR + +LIBMOUNT_MINOR_VERSION=$PACKAGE_VERSION_MINOR + +LIBMOUNT_PATCH_VERSION=$PACKAGE_VERSION_RELEASE + + + +cat >>confdefs.h <<_ACEOF +#define LIBMOUNT_VERSION "$LIBMOUNT_VERSION" +_ACEOF + + +# Check whether --enable-libmount-support-mtab was given. +if test "${enable_libmount_support_mtab+set}" = set; then : + enableval=$enable_libmount_support_mtab; +else + enable_libmount_support_mtab=no + +fi + + +if test "x$enable_libmount_support_mtab" = xyes; then : + + +$as_echo "#define USE_LIBMOUNT_SUPPORT_MTAB 1" >>confdefs.h + + +fi + +# Check whether --enable-libsmartcols was given. +if test "${enable_libsmartcols+set}" = set; then : + enableval=$enable_libsmartcols; +else + + + if test "x$ul_default_estate" != x; then + enable_libsmartcols=$ul_default_estate + else + enable_libsmartcols=yes + fi + + +fi + + + + if test "x$enable_libsmartcols" = xno; then + build_libsmartcols=no +else + build_libsmartcols=yes +fi + + if test "x$build_libsmartcols" = xyes; then + BUILD_LIBSMARTCOLS_TRUE= + BUILD_LIBSMARTCOLS_FALSE='#' +else + BUILD_LIBSMARTCOLS_TRUE='#' + BUILD_LIBSMARTCOLS_FALSE= +fi + + + + + +cat >>confdefs.h <<_ACEOF +#define LIBSMARTCOLS_VERSION "$LIBSMARTCOLS_VERSION" +_ACEOF + + + +# Check whether --enable-libfdisk was given. +if test "${enable_libfdisk+set}" = set; then : + enableval=$enable_libfdisk; +else + + + if test "x$ul_default_estate" != x; then + enable_libfdisk=$ul_default_estate + else + enable_libfdisk=check + fi + + +fi + + + + if test "x$enable_libfdisk" = xno; then + build_libfdisk=no +else + build_libfdisk=yes +fi + + + + + if test "x$build_libfdisk" != xno; then + case $enable_libfdisk:$build_libuuid in #( + no:*) + build_libfdisk=no ;; + yes:yes) + build_libfdisk=yes ;; + yes:*) + as_fn_error $? "libuuid is needed to build libfdisk" "$LINENO" 5;; + check:yes) + build_libfdisk=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libuuid disabled; not building libfdisk" >&5 +$as_echo "$as_me: WARNING: libuuid disabled; not building libfdisk" >&2;} + build_libfdisk=no ;; + esac + fi + + if test "x$build_libfdisk" = xyes; then + BUILD_LIBFDISK_TRUE= + BUILD_LIBFDISK_FALSE='#' +else + BUILD_LIBFDISK_TRUE='#' + BUILD_LIBFDISK_FALSE= +fi + + if test "x$build_libfdisk" = xyes -a "x$enable_static" = xyes; then + BUILD_LIBFDISK_TESTS_TRUE= + BUILD_LIBFDISK_TESTS_FALSE='#' +else + BUILD_LIBFDISK_TESTS_TRUE='#' + BUILD_LIBFDISK_TESTS_FALSE= +fi + + +if test "x$build_libblkid" = xyes; then : + LIBFDISK_PC_REQUIRES="uuid blkid" +else + LIBFDISK_PC_REQUIRES="uuid" +fi + + + +LIBFDISK_MAJOR_VERSION=$PACKAGE_VERSION_MAJOR + +LIBFDISK_MINOR_VERSION=$PACKAGE_VERSION_MINOR + +LIBFDISK_PATCH_VERSION=$PACKAGE_VERSION_RELEASE + + + +cat >>confdefs.h <<_ACEOF +#define LIBFDISK_VERSION "$LIBFDISK_VERSION" +_ACEOF + + + +# Check whether --enable-fdisks was given. +if test "${enable_fdisks+set}" = set; then : + enableval=$enable_fdisks; +else + + + if test "x$ul_default_estate" != x; then + enable_fdisks=$ul_default_estate + else + enable_fdisks=check + fi + + +fi + +enable_fdisk=$enable_fdisks +enable_sfdisk=$enable_fdisks +enable_cfdisk=$enable_fdisks + + + + if test "x$enable_fdisk" = xno; then + build_fdisk=no +else + build_fdisk=yes +fi + + + + + if test "x$build_fdisk" != xno; then + + ul_haveone_fdisk=no + + if test "x$have_openat" = xyes; then + ul_haveone_fdisk=yes + fi + + case $enable_fdisk:$ul_haveone_fdisk in #( + no:*) + build_fdisk=no ;; + yes:yes) + build_fdisk=yes ;; + yes:*) + as_fn_error $? "fdisk selected, but required openat functions not available" "$LINENO" 5;; + check:yes) + build_fdisk=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: openat functions not found; not building fdisk" >&5 +$as_echo "$as_me: WARNING: openat functions not found; not building fdisk" >&2;} + build_fdisk=no ;; + esac + fi + + + + + if test "x$build_fdisk" != xno; then + + ul_haveone_fdisk=no + + if test "x$have_dirfd" = xyes; then + ul_haveone_fdisk=yes + fi + + if test "x$have_ddfd" = xyes; then + ul_haveone_fdisk=yes + fi + + case $enable_fdisk:$ul_haveone_fdisk in #( + no:*) + build_fdisk=no ;; + yes:yes) + build_fdisk=yes ;; + yes:*) + as_fn_error $? "fdisk selected, but required dirfd or ddfd function not available" "$LINENO" 5;; + check:yes) + build_fdisk=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dirfd or ddfd function not found; not building fdisk" >&5 +$as_echo "$as_me: WARNING: dirfd or ddfd function not found; not building fdisk" >&2;} + build_fdisk=no ;; + esac + fi + + + + + if test "x$build_fdisk" != xno; then + case $enable_fdisk:$build_libfdisk in #( + no:*) + build_fdisk=no ;; + yes:yes) + build_fdisk=yes ;; + yes:*) + as_fn_error $? "libfdisk is needed to build fdisk" "$LINENO" 5;; + check:yes) + build_fdisk=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libfdisk disabled; not building fdisk" >&5 +$as_echo "$as_me: WARNING: libfdisk disabled; not building fdisk" >&2;} + build_fdisk=no ;; + esac + fi + + + + + if test "x$build_fdisk" != xno; then + case $enable_fdisk:$build_libsmartcols in #( + no:*) + build_fdisk=no ;; + yes:yes) + build_fdisk=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build fdisk" "$LINENO" 5;; + check:yes) + build_fdisk=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building fdisk" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building fdisk" >&2;} + build_fdisk=no ;; + esac + fi + + if test "x$build_fdisk" = xyes; then + BUILD_FDISK_TRUE= + BUILD_FDISK_FALSE='#' +else + BUILD_FDISK_TRUE='#' + BUILD_FDISK_FALSE= +fi + + + + + + if test "x$enable_sfdisk" = xno; then + build_sfdisk=no +else + build_sfdisk=yes +fi + + + + + if test "x$build_sfdisk" != xno; then + + ul_haveone_sfdisk=no + + if test "x$have_openat" = xyes; then + ul_haveone_sfdisk=yes + fi + + case $enable_sfdisk:$ul_haveone_sfdisk in #( + no:*) + build_sfdisk=no ;; + yes:yes) + build_sfdisk=yes ;; + yes:*) + as_fn_error $? "sfdisk selected, but required openat functions not available" "$LINENO" 5;; + check:yes) + build_sfdisk=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: openat functions not found; not building sfdisk" >&5 +$as_echo "$as_me: WARNING: openat functions not found; not building sfdisk" >&2;} + build_sfdisk=no ;; + esac + fi + + + + + if test "x$build_sfdisk" != xno; then + + ul_haveone_sfdisk=no + + if test "x$have_dirfd" = xyes; then + ul_haveone_sfdisk=yes + fi + + if test "x$have_ddfd" = xyes; then + ul_haveone_sfdisk=yes + fi + + case $enable_sfdisk:$ul_haveone_sfdisk in #( + no:*) + build_sfdisk=no ;; + yes:yes) + build_sfdisk=yes ;; + yes:*) + as_fn_error $? "sfdisk selected, but required dirfd or ddfd function not available" "$LINENO" 5;; + check:yes) + build_sfdisk=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dirfd or ddfd function not found; not building sfdisk" >&5 +$as_echo "$as_me: WARNING: dirfd or ddfd function not found; not building sfdisk" >&2;} + build_sfdisk=no ;; + esac + fi + + + + + if test "x$build_sfdisk" != xno; then + case $enable_sfdisk:$build_libfdisk in #( + no:*) + build_sfdisk=no ;; + yes:yes) + build_sfdisk=yes ;; + yes:*) + as_fn_error $? "libfdisk is needed to build sfdisk" "$LINENO" 5;; + check:yes) + build_sfdisk=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libfdisk disabled; not building sfdisk" >&5 +$as_echo "$as_me: WARNING: libfdisk disabled; not building sfdisk" >&2;} + build_sfdisk=no ;; + esac + fi + + + + + if test "x$build_sfdisk" != xno; then + case $enable_sfdisk:$build_libsmartcols in #( + no:*) + build_sfdisk=no ;; + yes:yes) + build_sfdisk=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build sfdisk" "$LINENO" 5;; + check:yes) + build_sfdisk=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building sfdisk" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building sfdisk" >&2;} + build_sfdisk=no ;; + esac + fi + + if test "x$build_sfdisk" = xyes; then + BUILD_SFDISK_TRUE= + BUILD_SFDISK_FALSE='#' +else + BUILD_SFDISK_TRUE='#' + BUILD_SFDISK_FALSE= +fi + + + + + + if test "x$enable_cfdisk" = xno; then + build_cfdisk=no +else + build_cfdisk=yes +fi + + + + + if test "x$build_cfdisk" != xno; then + case $enable_cfdisk:$build_libfdisk in #( + no:*) + build_cfdisk=no ;; + yes:yes) + build_cfdisk=yes ;; + yes:*) + as_fn_error $? "libfdisk is needed to build cfdisk" "$LINENO" 5;; + check:yes) + build_cfdisk=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libfdisk disabled; not building cfdisk" >&5 +$as_echo "$as_me: WARNING: libfdisk disabled; not building cfdisk" >&2;} + build_cfdisk=no ;; + esac + fi + + + + + if test "x$build_cfdisk" != xno; then + case $enable_cfdisk:$build_libsmartcols in #( + no:*) + build_cfdisk=no ;; + yes:yes) + build_cfdisk=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build cfdisk" "$LINENO" 5;; + check:yes) + build_cfdisk=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building cfdisk" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building cfdisk" >&2;} + build_cfdisk=no ;; + esac + fi + + + + + if test "x$build_cfdisk" != xno; then + + ul_haveone_cfdisk=no + + if test "x$have_open_memstream" = xyes; then + ul_haveone_cfdisk=yes + fi + + case $enable_cfdisk:$ul_haveone_cfdisk in #( + no:*) + build_cfdisk=no ;; + yes:yes) + build_cfdisk=yes ;; + yes:*) + as_fn_error $? "cfdisk selected, but required open_memstream function not available" "$LINENO" 5;; + check:yes) + build_cfdisk=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: open_memstream function not found; not building cfdisk" >&5 +$as_echo "$as_me: WARNING: open_memstream function not found; not building cfdisk" >&2;} + build_cfdisk=no ;; + esac + fi + + + + + if test "x$build_cfdisk" != xno; then + + ul_haveone_cfdisk=no + + if test "x$have_ncursesw" = xyes; then + ul_haveone_cfdisk=yes + fi + + if test "x$have_slang" = xyes; then + ul_haveone_cfdisk=yes + fi + + if test "x$have_ncurses" = xyes; then + ul_haveone_cfdisk=yes + fi + + case $enable_cfdisk:$ul_haveone_cfdisk in #( + no:*) + build_cfdisk=no ;; + yes:yes) + build_cfdisk=yes ;; + yes:*) + as_fn_error $? "cfdisk selected, but required ncursesw, ncurses or slang library not available" "$LINENO" 5;; + check:yes) + build_cfdisk=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncursesw, ncurses or slang library not found; not building cfdisk" >&5 +$as_echo "$as_me: WARNING: ncursesw, ncurses or slang library not found; not building cfdisk" >&2;} + build_cfdisk=no ;; + esac + fi + + if test "x$build_cfdisk" = xyes; then + BUILD_CFDISK_TRUE= + BUILD_CFDISK_FALSE='#' +else + BUILD_CFDISK_TRUE='#' + BUILD_CFDISK_FALSE= +fi + + + +# Check whether --enable-mount was given. +if test "${enable_mount+set}" = set; then : + enableval=$enable_mount; +else + + + if test "x$ul_default_estate" != x; then + enable_mount=$ul_default_estate + else + enable_mount=check + fi + + +fi + + + + if test "x$enable_mount" = xno; then + build_mount=no +else + build_mount=yes +fi + + + + if test "x$build_mount" != xno; then + + case $enable_mount:$linux_os in #( + no:*) + build_mount=no ;; + yes:yes) + build_mount=yes ;; + yes:*) + as_fn_error $? "mount selected for non-linux system" "$LINENO" 5;; + check:yes) + build_mount=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building mount" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building mount" >&2;} + build_mount=no ;; + esac + fi + + + + + if test "x$build_mount" != xno; then + case $enable_mount:$build_libmount in #( + no:*) + build_mount=no ;; + yes:yes) + build_mount=yes ;; + yes:*) + as_fn_error $? "libmount is needed to build mount" "$LINENO" 5;; + check:yes) + build_mount=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building mount" >&5 +$as_echo "$as_me: WARNING: libmount disabled; not building mount" >&2;} + build_mount=no ;; + esac + fi + + if test "x$build_mount" = xyes; then + BUILD_MOUNT_TRUE= + BUILD_MOUNT_FALSE='#' +else + BUILD_MOUNT_TRUE='#' + BUILD_MOUNT_FALSE= +fi + + + +# Check whether --enable-losetup was given. +if test "${enable_losetup+set}" = set; then : + enableval=$enable_losetup; +else + + + if test "x$ul_default_estate" != x; then + enable_losetup=$ul_default_estate + else + enable_losetup=check + fi + + +fi + + + + if test "x$enable_losetup" = xno; then + build_losetup=no +else + build_losetup=yes +fi + + + + if test "x$build_losetup" != xno; then + + case $enable_losetup:$linux_os in #( + no:*) + build_losetup=no ;; + yes:yes) + build_losetup=yes ;; + yes:*) + as_fn_error $? "losetup selected for non-linux system" "$LINENO" 5;; + check:yes) + build_losetup=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building losetup" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building losetup" >&2;} + build_losetup=no ;; + esac + fi + + + + + if test "x$build_losetup" != xno; then + case $enable_losetup:$build_libsmartcols in #( + no:*) + build_losetup=no ;; + yes:yes) + build_losetup=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build losetup" "$LINENO" 5;; + check:yes) + build_losetup=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building losetup" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building losetup" >&2;} + build_losetup=no ;; + esac + fi + + if test "x$build_losetup" = xyes; then + BUILD_LOSETUP_TRUE= + BUILD_LOSETUP_FALSE='#' +else + BUILD_LOSETUP_TRUE='#' + BUILD_LOSETUP_FALSE= +fi + + +# Check whether --enable-zramctl was given. +if test "${enable_zramctl+set}" = set; then : + enableval=$enable_zramctl; +else + + + if test "x$ul_default_estate" != x; then + enable_zramctl=$ul_default_estate + else + enable_zramctl=check + fi + + +fi + + + + if test "x$enable_zramctl" = xno; then + build_zramctl=no +else + build_zramctl=yes +fi + + + + if test "x$build_zramctl" != xno; then + + case $enable_zramctl:$linux_os in #( + no:*) + build_zramctl=no ;; + yes:yes) + build_zramctl=yes ;; + yes:*) + as_fn_error $? "zramctl selected for non-linux system" "$LINENO" 5;; + check:yes) + build_zramctl=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building zramctl" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building zramctl" >&2;} + build_zramctl=no ;; + esac + fi + + + + + if test "x$build_zramctl" != xno; then + case $enable_zramctl:$build_libsmartcols in #( + no:*) + build_zramctl=no ;; + yes:yes) + build_zramctl=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build zramctl" "$LINENO" 5;; + check:yes) + build_zramctl=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building zramctl" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building zramctl" >&2;} + build_zramctl=no ;; + esac + fi + + if test "x$build_zramctl" = xyes; then + BUILD_ZRAMCTL_TRUE= + BUILD_ZRAMCTL_FALSE='#' +else + BUILD_ZRAMCTL_TRUE='#' + BUILD_ZRAMCTL_FALSE= +fi + + +# Check whether --enable-fsck was given. +if test "${enable_fsck+set}" = set; then : + enableval=$enable_fsck; +else + + + if test "x$ul_default_estate" != x; then + enable_fsck=$ul_default_estate + else + enable_fsck=check + fi + + +fi + + + + if test "x$enable_fsck" = xno; then + build_fsck=no +else + build_fsck=yes +fi + + + + + if test "x$build_fsck" != xno; then + case $enable_fsck:$build_libmount in #( + no:*) + build_fsck=no ;; + yes:yes) + build_fsck=yes ;; + yes:*) + as_fn_error $? "libmount is needed to build fsck" "$LINENO" 5;; + check:yes) + build_fsck=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building fsck" >&5 +$as_echo "$as_me: WARNING: libmount disabled; not building fsck" >&2;} + build_fsck=no ;; + esac + fi + + if test "x$build_fsck" = xyes; then + BUILD_FSCK_TRUE= + BUILD_FSCK_FALSE='#' +else + BUILD_FSCK_TRUE='#' + BUILD_FSCK_FALSE= +fi + + + +# Check whether --enable-partx was given. +if test "${enable_partx+set}" = set; then : + enableval=$enable_partx; +else + + + if test "x$ul_default_estate" != x; then + enable_partx=$ul_default_estate + else + enable_partx=check + fi + + +fi + + + + if test "x$enable_partx" = xno; then + build_partx=no +else + build_partx=yes +fi + + + + if test "x$build_partx" != xno; then + + case $enable_partx:$linux_os in #( + no:*) + build_partx=no ;; + yes:yes) + build_partx=yes ;; + yes:*) + as_fn_error $? "partx selected for non-linux system" "$LINENO" 5;; + check:yes) + build_partx=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building partx" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building partx" >&2;} + build_partx=no ;; + esac + fi + + + + + if test "x$build_partx" != xno; then + case $enable_partx:$build_libblkid in #( + no:*) + build_partx=no ;; + yes:yes) + build_partx=yes ;; + yes:*) + as_fn_error $? "libblkid is needed to build partx" "$LINENO" 5;; + check:yes) + build_partx=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libblkid disabled; not building partx" >&5 +$as_echo "$as_me: WARNING: libblkid disabled; not building partx" >&2;} + build_partx=no ;; + esac + fi + + + + + if test "x$build_partx" != xno; then + case $enable_partx:$build_libsmartcols in #( + no:*) + build_partx=no ;; + yes:yes) + build_partx=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build partx" "$LINENO" 5;; + check:yes) + build_partx=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building partx" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building partx" >&2;} + build_partx=no ;; + esac + fi + + if test "x$build_partx" = xyes; then + BUILD_PARTX_TRUE= + BUILD_PARTX_FALSE='#' +else + BUILD_PARTX_TRUE='#' + BUILD_PARTX_FALSE= +fi + + + +# Check whether --enable-uuidd was given. +if test "${enable_uuidd+set}" = set; then : + enableval=$enable_uuidd; +else + + + if test "x$ul_default_estate" != x; then + enable_uuidd=$ul_default_estate + else + enable_uuidd=check + fi + + +fi + + + + if test "x$enable_uuidd" = xno; then + build_uuidd=no +else + build_uuidd=yes +fi + + + + + if test "x$build_uuidd" != xno; then + case $enable_uuidd:$build_libuuid in #( + no:*) + build_uuidd=no ;; + yes:yes) + build_uuidd=yes ;; + yes:*) + as_fn_error $? "libuuid is needed to build uuidd" "$LINENO" 5;; + check:yes) + build_uuidd=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libuuid disabled; not building uuidd" >&5 +$as_echo "$as_me: WARNING: libuuid disabled; not building uuidd" >&2;} + build_uuidd=no ;; + esac + fi + + + + + if test "x$build_uuidd" != xno; then + + ul_haveone_uuidd=no + + if test "x$have_timer" = xyes; then + ul_haveone_uuidd=yes + fi + + case $enable_uuidd:$ul_haveone_uuidd in #( + no:*) + build_uuidd=no ;; + yes:yes) + build_uuidd=yes ;; + yes:*) + as_fn_error $? "uuidd selected, but required timer_create function not available" "$LINENO" 5;; + check:yes) + build_uuidd=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: timer_create function not found; not building uuidd" >&5 +$as_echo "$as_me: WARNING: timer_create function not found; not building uuidd" >&2;} + build_uuidd=no ;; + esac + fi + + + + + if test "x$build_uuidd" != xno; then + + ul_haveone_uuidd=no + + if test "x$have_sys_signalfd_h" = xyes; then + ul_haveone_uuidd=yes + fi + + case $enable_uuidd:$ul_haveone_uuidd in #( + no:*) + build_uuidd=no ;; + yes:yes) + build_uuidd=yes ;; + yes:*) + as_fn_error $? "uuidd selected, but required sys/signalfd.h header not available" "$LINENO" 5;; + check:yes) + build_uuidd=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/signalfd.h header not found; not building uuidd" >&5 +$as_echo "$as_me: WARNING: sys/signalfd.h header not found; not building uuidd" >&2;} + build_uuidd=no ;; + esac + fi + +if test "x$build_uuidd" = xyes || test "x$enable_libuuid_force_uuidd" = xyes; then : + + +$as_echo "#define HAVE_UUIDD 1" >>confdefs.h + + +fi + if test "x$build_uuidd" = xyes; then + BUILD_UUIDD_TRUE= + BUILD_UUIDD_FALSE='#' +else + BUILD_UUIDD_TRUE='#' + BUILD_UUIDD_FALSE= +fi + + + + + + if test "x$ul_default_estate" != x; then + enable_uuidgen=$ul_default_estate + build_uuidgen=yes + if test "x$ul_default_estate" = xno; then + build_uuidgen=no + fi +else + + build_uuidgen=yes + enable_uuidgen=check +fi + + + + + if test "x$build_uuidgen" != xno; then + case $enable_uuidgen:$build_libuuid in #( + no:*) + build_uuidgen=no ;; + yes:yes) + build_uuidgen=yes ;; + yes:*) + as_fn_error $? "libuuid is needed to build uuidgen" "$LINENO" 5;; + check:yes) + build_uuidgen=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libuuid disabled; not building uuidgen" >&5 +$as_echo "$as_me: WARNING: libuuid disabled; not building uuidgen" >&2;} + build_uuidgen=no ;; + esac + fi + + if test "x$build_uuidgen" = xyes; then + BUILD_UUIDGEN_TRUE= + BUILD_UUIDGEN_FALSE='#' +else + BUILD_UUIDGEN_TRUE='#' + BUILD_UUIDGEN_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_uuidparse=$ul_default_estate + build_uuidparse=yes + if test "x$ul_default_estate" = xno; then + build_uuidparse=no + fi +else + + build_uuidparse=yes + enable_uuidparse=check +fi + + + + + if test "x$build_uuidparse" != xno; then + case $enable_uuidparse:$build_libuuid in #( + no:*) + build_uuidparse=no ;; + yes:yes) + build_uuidparse=yes ;; + yes:*) + as_fn_error $? "libuuid is needed to build uuidparse" "$LINENO" 5;; + check:yes) + build_uuidparse=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libuuid disabled; not building uuidparse" >&5 +$as_echo "$as_me: WARNING: libuuid disabled; not building uuidparse" >&2;} + build_uuidparse=no ;; + esac + fi + + + + + if test "x$build_uuidparse" != xno; then + case $enable_uuidparse:$build_libsmartcols in #( + no:*) + build_uuidparse=no ;; + yes:yes) + build_uuidparse=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build uuidparse" "$LINENO" 5;; + check:yes) + build_uuidparse=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building uuidparse" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building uuidparse" >&2;} + build_uuidparse=no ;; + esac + fi + + if test "x$build_uuidparse" = xyes; then + BUILD_UUIDPARSE_TRUE= + BUILD_UUIDPARSE_FALSE='#' +else + BUILD_UUIDPARSE_TRUE='#' + BUILD_UUIDPARSE_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_blkid=$ul_default_estate + build_blkid=yes + if test "x$ul_default_estate" = xno; then + build_blkid=no + fi +else + + build_blkid=yes + enable_blkid=check +fi + + + + + if test "x$build_blkid" != xno; then + case $enable_blkid:$build_libblkid in #( + no:*) + build_blkid=no ;; + yes:yes) + build_blkid=yes ;; + yes:*) + as_fn_error $? "libblkid is needed to build blkid" "$LINENO" 5;; + check:yes) + build_blkid=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libblkid disabled; not building blkid" >&5 +$as_echo "$as_me: WARNING: libblkid disabled; not building blkid" >&2;} + build_blkid=no ;; + esac + fi + + if test "x$build_blkid" = xyes; then + BUILD_BLKID_TRUE= + BUILD_BLKID_FALSE='#' +else + BUILD_BLKID_TRUE='#' + BUILD_BLKID_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_findfs=$ul_default_estate + build_findfs=yes + if test "x$ul_default_estate" = xno; then + build_findfs=no + fi +else + + build_findfs=yes + enable_findfs=check +fi + + + + + if test "x$build_findfs" != xno; then + case $enable_findfs:$build_libblkid in #( + no:*) + build_findfs=no ;; + yes:yes) + build_findfs=yes ;; + yes:*) + as_fn_error $? "libblkid is needed to build findfs" "$LINENO" 5;; + check:yes) + build_findfs=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libblkid disabled; not building findfs" >&5 +$as_echo "$as_me: WARNING: libblkid disabled; not building findfs" >&2;} + build_findfs=no ;; + esac + fi + + if test "x$build_findfs" = xyes; then + BUILD_FINDFS_TRUE= + BUILD_FINDFS_FALSE='#' +else + BUILD_FINDFS_TRUE='#' + BUILD_FINDFS_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_wipefs=$ul_default_estate + build_wipefs=yes + if test "x$ul_default_estate" = xno; then + build_wipefs=no + fi +else + + build_wipefs=yes + enable_wipefs=check +fi + + + + + if test "x$build_wipefs" != xno; then + case $enable_wipefs:$build_libblkid in #( + no:*) + build_wipefs=no ;; + yes:yes) + build_wipefs=yes ;; + yes:*) + as_fn_error $? "libblkid is needed to build wipefs" "$LINENO" 5;; + check:yes) + build_wipefs=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libblkid disabled; not building wipefs" >&5 +$as_echo "$as_me: WARNING: libblkid disabled; not building wipefs" >&2;} + build_wipefs=no ;; + esac + fi + + + + + if test "x$build_wipefs" != xno; then + case $enable_wipefs:$build_libsmartcols in #( + no:*) + build_wipefs=no ;; + yes:yes) + build_wipefs=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build wipefs" "$LINENO" 5;; + check:yes) + build_wipefs=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building wipefs" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building wipefs" >&2;} + build_wipefs=no ;; + esac + fi + + if test "x$build_wipefs" = xyes; then + BUILD_WIPEFS_TRUE= + BUILD_WIPEFS_FALSE='#' +else + BUILD_WIPEFS_TRUE='#' + BUILD_WIPEFS_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_findmnt=$ul_default_estate + build_findmnt=yes + if test "x$ul_default_estate" = xno; then + build_findmnt=no + fi +else + + build_findmnt=yes + enable_findmnt=check +fi + + + + + if test "x$build_findmnt" != xno; then + case $enable_findmnt:$build_libmount in #( + no:*) + build_findmnt=no ;; + yes:yes) + build_findmnt=yes ;; + yes:*) + as_fn_error $? "libmount is needed to build findmnt" "$LINENO" 5;; + check:yes) + build_findmnt=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building findmnt" >&5 +$as_echo "$as_me: WARNING: libmount disabled; not building findmnt" >&2;} + build_findmnt=no ;; + esac + fi + + + + + if test "x$build_findmnt" != xno; then + case $enable_findmnt:$build_libblkid in #( + no:*) + build_findmnt=no ;; + yes:yes) + build_findmnt=yes ;; + yes:*) + as_fn_error $? "libblkid is needed to build findmnt" "$LINENO" 5;; + check:yes) + build_findmnt=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libblkid disabled; not building findmnt" >&5 +$as_echo "$as_me: WARNING: libblkid disabled; not building findmnt" >&2;} + build_findmnt=no ;; + esac + fi + + + + + if test "x$build_findmnt" != xno; then + case $enable_findmnt:$build_libsmartcols in #( + no:*) + build_findmnt=no ;; + yes:yes) + build_findmnt=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build findmnt" "$LINENO" 5;; + check:yes) + build_findmnt=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building findmnt" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building findmnt" >&2;} + build_findmnt=no ;; + esac + fi + + if test "x$build_findmnt" = xyes; then + BUILD_FINDMNT_TRUE= + BUILD_FINDMNT_FALSE='#' +else + BUILD_FINDMNT_TRUE='#' + BUILD_FINDMNT_FALSE= +fi + + + +# Check whether --enable-mountpoint was given. +if test "${enable_mountpoint+set}" = set; then : + enableval=$enable_mountpoint; +else + + + if test "x$ul_default_estate" != x; then + enable_mountpoint=$ul_default_estate + else + enable_mountpoint=check + fi + + +fi + + + + if test "x$enable_mountpoint" = xno; then + build_mountpoint=no +else + build_mountpoint=yes +fi + + + + + if test "x$build_mountpoint" != xno; then + case $enable_mountpoint:$build_libmount in #( + no:*) + build_mountpoint=no ;; + yes:yes) + build_mountpoint=yes ;; + yes:*) + as_fn_error $? "libmount is needed to build mountpoint" "$LINENO" 5;; + check:yes) + build_mountpoint=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building mountpoint" >&5 +$as_echo "$as_me: WARNING: libmount disabled; not building mountpoint" >&2;} + build_mountpoint=no ;; + esac + fi + + if test "x$build_mountpoint" = xyes; then + BUILD_MOUNTPOINT_TRUE= + BUILD_MOUNTPOINT_FALSE='#' +else + BUILD_MOUNTPOINT_TRUE='#' + BUILD_MOUNTPOINT_FALSE= +fi + + + +# Check whether --enable-fallocate was given. +if test "${enable_fallocate+set}" = set; then : + enableval=$enable_fallocate; +else + + + if test "x$ul_default_estate" != x; then + enable_fallocate=$ul_default_estate + else + enable_fallocate=check + fi + + +fi + + + + if test "x$enable_fallocate" = xno; then + build_fallocate=no +else + build_fallocate=yes +fi + + + + if test "x$build_fallocate" != xno; then + + case $enable_fallocate:$linux_os in #( + no:*) + build_fallocate=no ;; + yes:yes) + build_fallocate=yes ;; + yes:*) + as_fn_error $? "fallocate selected for non-linux system" "$LINENO" 5;; + check:yes) + build_fallocate=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building fallocate" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building fallocate" >&2;} + build_fallocate=no ;; + esac + fi + + + + + + if test "x$build_fallocate" != xno; then + if test "x$enable_fallocate" = xno; then + build_fallocate=no + else + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall fallocate" >&5 +$as_echo_n "checking for syscall fallocate... " >&6; } +if ${ul_cv_syscall_fallocate+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = SYS_fallocate; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=SYS_fallocate +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = _NR_fallocate; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=_NR_fallocate +else + + syscall=no + if test "x$linux_os" = xyes; then + case $host_cpu in + + esac + fi + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + ul_cv_syscall_fallocate=$syscall + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_fallocate" >&5 +$as_echo "$ul_cv_syscall_fallocate" >&6; } + case $ul_cv_syscall_fallocate in #( + no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall fallocate." >&5 +$as_echo "$as_me: WARNING: Unable to detect syscall fallocate." >&2;} ;; + SYS_*) ;; + *) +cat >>confdefs.h <<_ACEOF +#define SYS_fallocate $ul_cv_syscall_fallocate +_ACEOF + ;; + esac + + case $enable_fallocate:$ul_cv_syscall_fallocate in #( + no:*) + build_fallocate=no ;; + yes:no) + as_fn_error $? "fallocate selected but fallocate syscall not found" "$LINENO" 5 ;; + check:no) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fallocate syscall not found; not building fallocate" >&5 +$as_echo "$as_me: WARNING: fallocate syscall not found; not building fallocate" >&2;} + build_fallocate=no ;; + *) + build_fallocate=yes ;; + esac + fi + fi + + if test "x$build_fallocate" = xyes; then + BUILD_FALLOCATE_TRUE= + BUILD_FALLOCATE_FALSE='#' +else + BUILD_FALLOCATE_TRUE='#' + BUILD_FALLOCATE_FALSE= +fi + + +if test "x$build_fallocate" = xyes; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valid fallocate() function" >&5 +$as_echo_n "checking for valid fallocate() function... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#ifdef HAVE_UNISTD_H +# include +#endif +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_LINUX_FALLOC_H +# include +#endif +#ifdef HAVE_FCNTL_H +# include +#endif + +int +main () +{ + + long ret; + ret = fallocate(0, FALLOC_FL_KEEP_SIZE, 0xfffffffful, 0xfffffffful); + if (ret != 0) { + return 1; + } + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +$as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +fi + +if test "x$build_fallocate" = xyes; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valid posix_fallocate() function" >&5 +$as_echo_n "checking for valid posix_fallocate() function... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#ifdef HAVE_UNISTD_H +# include +#endif +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_LINUX_FALLOC_H +# include +#endif +#ifdef HAVE_FCNTL_H +# include +#endif + +int +main () +{ + + long ret; + ret = posix_fallocate(0, 0xfffffffful, 0xfffffffful); + if (ret != 0) { + return 1; + } + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +$as_echo "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +fi + + +# Check whether --enable-unshare was given. +if test "${enable_unshare+set}" = set; then : + enableval=$enable_unshare; +else + + + if test "x$ul_default_estate" != x; then + enable_unshare=$ul_default_estate + else + enable_unshare=check + fi + + +fi + + + + if test "x$enable_unshare" = xno; then + build_unshare=no +else + build_unshare=yes +fi + + + + if test "x$build_unshare" != xno; then + + case $enable_unshare:$linux_os in #( + no:*) + build_unshare=no ;; + yes:yes) + build_unshare=yes ;; + yes:*) + as_fn_error $? "unshare selected for non-linux system" "$LINENO" 5;; + check:yes) + build_unshare=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building unshare" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building unshare" >&2;} + build_unshare=no ;; + esac + fi + + + + + + if test "x$build_unshare" != xno; then + if test "x$enable_unshare" = xno; then + build_unshare=no + else + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall unshare" >&5 +$as_echo_n "checking for syscall unshare... " >&6; } +if ${ul_cv_syscall_unshare+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = SYS_unshare; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=SYS_unshare +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = _NR_unshare; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=_NR_unshare +else + + syscall=no + if test "x$linux_os" = xyes; then + case $host_cpu in + + esac + fi + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + ul_cv_syscall_unshare=$syscall + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_unshare" >&5 +$as_echo "$ul_cv_syscall_unshare" >&6; } + case $ul_cv_syscall_unshare in #( + no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall unshare." >&5 +$as_echo "$as_me: WARNING: Unable to detect syscall unshare." >&2;} ;; + SYS_*) ;; + *) +cat >>confdefs.h <<_ACEOF +#define SYS_unshare $ul_cv_syscall_unshare +_ACEOF + ;; + esac + + case $enable_unshare:$ul_cv_syscall_unshare in #( + no:*) + build_unshare=no ;; + yes:no) + as_fn_error $? "unshare selected but unshare syscall not found" "$LINENO" 5 ;; + check:no) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unshare syscall not found; not building unshare" >&5 +$as_echo "$as_me: WARNING: unshare syscall not found; not building unshare" >&2;} + build_unshare=no ;; + *) + build_unshare=yes ;; + esac + fi + fi + + if test "x$build_unshare" = xyes; then + BUILD_UNSHARE_TRUE= + BUILD_UNSHARE_FALSE='#' +else + BUILD_UNSHARE_TRUE='#' + BUILD_UNSHARE_FALSE= +fi + +for ac_func in unshare +do : + ac_fn_c_check_func "$LINENO" "unshare" "ac_cv_func_unshare" +if test "x$ac_cv_func_unshare" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_UNSHARE 1 +_ACEOF + +fi +done + + +# Check whether --enable-nsenter was given. +if test "${enable_nsenter+set}" = set; then : + enableval=$enable_nsenter; +else + + + if test "x$ul_default_estate" != x; then + enable_nsenter=$ul_default_estate + else + enable_nsenter=check + fi + + +fi + + + + if test "x$enable_nsenter" = xno; then + build_nsenter=no +else + build_nsenter=yes +fi + + + + if test "x$build_nsenter" != xno; then + + case $enable_nsenter:$linux_os in #( + no:*) + build_nsenter=no ;; + yes:yes) + build_nsenter=yes ;; + yes:*) + as_fn_error $? "nsenter selected for non-linux system" "$LINENO" 5;; + check:yes) + build_nsenter=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building nsenter" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building nsenter" >&2;} + build_nsenter=no ;; + esac + fi + + + + + if test "x$build_nsenter" != xno; then + + ul_haveone_nsenter=no + + if test "x$have_setns_syscall" = xyes; then + ul_haveone_nsenter=yes + fi + + case $enable_nsenter:$ul_haveone_nsenter in #( + no:*) + build_nsenter=no ;; + yes:yes) + build_nsenter=yes ;; + yes:*) + as_fn_error $? "nsenter selected, but required setns syscall not available" "$LINENO" 5;; + check:yes) + build_nsenter=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: setns syscall not found; not building nsenter" >&5 +$as_echo "$as_me: WARNING: setns syscall not found; not building nsenter" >&2;} + build_nsenter=no ;; + esac + fi + + if test "x$build_nsenter" = xyes; then + BUILD_NSENTER_TRUE= + BUILD_NSENTER_FALSE='#' +else + BUILD_NSENTER_TRUE='#' + BUILD_NSENTER_FALSE= +fi + +for ac_func in setns +do : + ac_fn_c_check_func "$LINENO" "setns" "ac_cv_func_setns" +if test "x$ac_cv_func_setns" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SETNS 1 +_ACEOF + +fi +done + + + + +# Check whether --with-cap_ng was given. +if test "${with_cap_ng+set}" = set; then : + withval=$with_cap_ng; +else + with_cap_ng=auto + +fi + +if test "x$with_cap_ng" = xno; then : + + if false; then + HAVE_CAP_NG_TRUE= + HAVE_CAP_NG_FALSE='#' +else + HAVE_CAP_NG_TRUE='#' + HAVE_CAP_NG_FALSE= +fi + + have_cap_ng=no + +else + + + + have_cap_ng=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capng_apply in -lcap-ng" >&5 +$as_echo_n "checking for capng_apply in -lcap-ng... " >&6; } +if ${ac_cv_lib_cap_ng_capng_apply+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lcap-ng $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char capng_apply (); +int +main () +{ +return capng_apply (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_cap_ng_capng_apply=yes +else + ac_cv_lib_cap_ng_capng_apply=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_ng_capng_apply" >&5 +$as_echo "$ac_cv_lib_cap_ng_capng_apply" >&6; } +if test "x$ac_cv_lib_cap_ng_capng_apply" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBCAP_NG 1 +_ACEOF + + LIBS="-lcap-ng $LIBS" + +else + have_cap_ng=no +fi + + if test $have_cap_ng = yes; then + HAVE_CAP_NG_TRUE= + HAVE_CAP_NG_FALSE='#' +else + HAVE_CAP_NG_TRUE='#' + HAVE_CAP_NG_FALSE= +fi + + + +fi + + +# Check whether --enable-setpriv was given. +if test "${enable_setpriv+set}" = set; then : + enableval=$enable_setpriv; +else + + + if test "x$ul_default_estate" != x; then + enable_setpriv=$ul_default_estate + else + enable_setpriv=check + fi + + +fi + + + + if test "x$enable_setpriv" = xno; then + build_setpriv=no +else + build_setpriv=yes +fi + + + + if test "x$build_setpriv" != xno; then + + case $enable_setpriv:$linux_os in #( + no:*) + build_setpriv=no ;; + yes:yes) + build_setpriv=yes ;; + yes:*) + as_fn_error $? "setpriv selected for non-linux system" "$LINENO" 5;; + check:yes) + build_setpriv=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building setpriv" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building setpriv" >&2;} + build_setpriv=no ;; + esac + fi + + + + + if test "x$build_setpriv" != xno; then + + ul_haveone_setpriv=no + + if test "x$have_linux_securebits_h" = xyes; then + ul_haveone_setpriv=yes + fi + + case $enable_setpriv:$ul_haveone_setpriv in #( + no:*) + build_setpriv=no ;; + yes:yes) + build_setpriv=yes ;; + yes:*) + as_fn_error $? "setpriv selected, but required securebits.h header file not available" "$LINENO" 5;; + check:yes) + build_setpriv=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: securebits.h header file not found; not building setpriv" >&5 +$as_echo "$as_me: WARNING: securebits.h header file not found; not building setpriv" >&2;} + build_setpriv=no ;; + esac + fi + + + + + if test "x$build_setpriv" != xno; then + + ul_haveone_setpriv=no + + if test "x$have_cap_ng" = xyes; then + ul_haveone_setpriv=yes + fi + + case $enable_setpriv:$ul_haveone_setpriv in #( + no:*) + build_setpriv=no ;; + yes:yes) + build_setpriv=yes ;; + yes:*) + as_fn_error $? "setpriv selected, but required libcap-ng library not available" "$LINENO" 5;; + check:yes) + build_setpriv=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libcap-ng library not found; not building setpriv" >&5 +$as_echo "$as_me: WARNING: libcap-ng library not found; not building setpriv" >&2;} + build_setpriv=no ;; + esac + fi + + if test "x$build_setpriv" = xyes; then + BUILD_SETPRIV_TRUE= + BUILD_SETPRIV_FALSE='#' +else + BUILD_SETPRIV_TRUE='#' + BUILD_SETPRIV_FALSE= +fi + + + +# Check whether --enable-eject was given. +if test "${enable_eject+set}" = set; then : + enableval=$enable_eject; +else + + + if test "x$ul_default_estate" != x; then + enable_eject=$ul_default_estate + else + enable_eject=check + fi + + +fi + + + + if test "x$enable_eject" = xno; then + build_eject=no +else + build_eject=yes +fi + + + + if test "x$build_eject" != xno; then + + case $enable_eject:$linux_os in #( + no:*) + build_eject=no ;; + yes:yes) + build_eject=yes ;; + yes:*) + as_fn_error $? "eject selected for non-linux system" "$LINENO" 5;; + check:yes) + build_eject=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building eject" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building eject" >&2;} + build_eject=no ;; + esac + fi + + + + + if test "x$build_eject" != xno; then + case $enable_eject:$build_libmount in #( + no:*) + build_eject=no ;; + yes:yes) + build_eject=yes ;; + yes:*) + as_fn_error $? "libmount is needed to build eject" "$LINENO" 5;; + check:yes) + build_eject=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building eject" >&5 +$as_echo "$as_me: WARNING: libmount disabled; not building eject" >&2;} + build_eject=no ;; + esac + fi + + if test "x$build_eject" = xyes; then + BUILD_EJECT_TRUE= + BUILD_EJECT_FALSE='#' +else + BUILD_EJECT_TRUE='#' + BUILD_EJECT_FALSE= +fi + + + +# Check whether --enable-agetty was given. +if test "${enable_agetty+set}" = set; then : + enableval=$enable_agetty; +else + + + if test "x$ul_default_estate" != x; then + enable_agetty=$ul_default_estate + else + enable_agetty=check + fi + + +fi + + + + if test "x$enable_agetty" = xno; then + build_agetty=no +else + build_agetty=yes +fi + + + + + if test "x$build_agetty" != xno; then + + ul_haveone_agetty=no + + if test "x$have_utmpx_h" = xyes; then + ul_haveone_agetty=yes + fi + + case $enable_agetty:$ul_haveone_agetty in #( + no:*) + build_agetty=no ;; + yes:yes) + build_agetty=yes ;; + yes:*) + as_fn_error $? "agetty selected, but required utmpx.h header not available" "$LINENO" 5;; + check:yes) + build_agetty=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: utmpx.h header not found; not building agetty" >&5 +$as_echo "$as_me: WARNING: utmpx.h header not found; not building agetty" >&2;} + build_agetty=no ;; + esac + fi + + + + + if test "x$build_agetty" != xno; then + + ul_haveone_agetty=no + + if test "x$have_gnu_utmpx" = xyes; then + ul_haveone_agetty=yes + fi + + case $enable_agetty:$ul_haveone_agetty in #( + no:*) + build_agetty=no ;; + yes:yes) + build_agetty=yes ;; + yes:*) + as_fn_error $? "agetty selected, but required GNU utmpx functions not available" "$LINENO" 5;; + check:yes) + build_agetty=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU utmpx functions not found; not building agetty" >&5 +$as_echo "$as_me: WARNING: GNU utmpx functions not found; not building agetty" >&2;} + build_agetty=no ;; + esac + fi + + if test "x$build_agetty" = xyes; then + BUILD_AGETTY_TRUE= + BUILD_AGETTY_FALSE='#' +else + BUILD_AGETTY_TRUE='#' + BUILD_AGETTY_FALSE= +fi + +if test "x$have_futimens" = xyes -a "x$have_inotify_init1" = xyes ; then : + + +$as_echo "#define AGETTY_RELOAD 1" >>confdefs.h + + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: futimens or inotify_init1 not found; agetty(8) will not provide ---reload functionality" >&5 +$as_echo "$as_me: WARNING: futimens or inotify_init1 not found; agetty(8) will not provide ---reload functionality" >&2;} + +fi + + +# Check whether --enable-plymouth_support was given. +if test "${enable_plymouth_support+set}" = set; then : + enableval=$enable_plymouth_support; +else + enable_plymouth_support=check + +fi + + + + if test "x$enable_plymouth_support" = xno; then + build_plymouth_support=no +else + build_plymouth_support=yes +fi + + + + + if test "x$build_plymouth_support" != xno; then + + ul_haveone_plymouth_support=no + + if test "x$have_tiocglcktrmios" = xyes; then + ul_haveone_plymouth_support=yes + fi + + case $enable_plymouth_support:$ul_haveone_plymouth_support in #( + no:*) + build_plymouth_support=no ;; + yes:yes) + build_plymouth_support=yes ;; + yes:*) + as_fn_error $? "plymouth_support selected, but required TIOCGLCKTRMIOS flag not available" "$LINENO" 5;; + check:yes) + build_plymouth_support=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: TIOCGLCKTRMIOS flag not found; not building plymouth_support" >&5 +$as_echo "$as_me: WARNING: TIOCGLCKTRMIOS flag not found; not building plymouth_support" >&2;} + build_plymouth_support=no ;; + esac + fi + + + + + if test "x$build_plymouth_support" != xno; then + + ul_haveone_plymouth_support=no + + if test "x$have_sock_cloexec" = xyes; then + ul_haveone_plymouth_support=yes + fi + + case $enable_plymouth_support:$ul_haveone_plymouth_support in #( + no:*) + build_plymouth_support=no ;; + yes:yes) + build_plymouth_support=yes ;; + yes:*) + as_fn_error $? "plymouth_support selected, but required SOCK_CLOEXEC flag not available" "$LINENO" 5;; + check:yes) + build_plymouth_support=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SOCK_CLOEXEC flag not found; not building plymouth_support" >&5 +$as_echo "$as_me: WARNING: SOCK_CLOEXEC flag not found; not building plymouth_support" >&2;} + build_plymouth_support=no ;; + esac + fi + + + + + if test "x$build_plymouth_support" != xno; then + + ul_haveone_plymouth_support=no + + if test "x$have_sock_nonblock" = xyes; then + ul_haveone_plymouth_support=yes + fi + + case $enable_plymouth_support:$ul_haveone_plymouth_support in #( + no:*) + build_plymouth_support=no ;; + yes:yes) + build_plymouth_support=yes ;; + yes:*) + as_fn_error $? "plymouth_support selected, but required SOCK_NONBLOCK flag not available" "$LINENO" 5;; + check:yes) + build_plymouth_support=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SOCK_NONBLOCK flag not found; not building plymouth_support" >&5 +$as_echo "$as_me: WARNING: SOCK_NONBLOCK flag not found; not building plymouth_support" >&2;} + build_plymouth_support=no ;; + esac + fi + + + + + if test "x$build_plymouth_support" != xno; then + + ul_haveone_plymouth_support=no + + if test "x$have_so_passcred" = xyes; then + ul_haveone_plymouth_support=yes + fi + + case $enable_plymouth_support:$ul_haveone_plymouth_support in #( + no:*) + build_plymouth_support=no ;; + yes:yes) + build_plymouth_support=yes ;; + yes:*) + as_fn_error $? "plymouth_support selected, but required SO_PASSCRED flag not available" "$LINENO" 5;; + check:yes) + build_plymouth_support=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SO_PASSCRED flag not found; not building plymouth_support" >&5 +$as_echo "$as_me: WARNING: SO_PASSCRED flag not found; not building plymouth_support" >&2;} + build_plymouth_support=no ;; + esac + fi + + if test "x$build_plymouth_support" = xyes; then + USE_PLYMOUTH_SUPPORT_TRUE= + USE_PLYMOUTH_SUPPORT_FALSE='#' +else + USE_PLYMOUTH_SUPPORT_TRUE='#' + USE_PLYMOUTH_SUPPORT_FALSE= +fi + +if test "x$build_plymouth_support" = xyes ; then : + + +$as_echo "#define USE_PLYMOUTH_SUPPORT 1" >>confdefs.h + + +fi + + + +# Check whether --with-libz was given. +if test "${with_libz+set}" = set; then : + withval=$with_libz; +else + with_libz=auto + +fi + +if test "x$with_libz" = xno; then : + have_z=no +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crc32 in -lz" >&5 +$as_echo_n "checking for crc32 in -lz... " >&6; } +if ${ac_cv_lib_z_crc32+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lz $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char crc32 (); +int +main () +{ +return crc32 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_z_crc32=yes +else + ac_cv_lib_z_crc32=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_crc32" >&5 +$as_echo "$ac_cv_lib_z_crc32" >&6; } +if test "x$ac_cv_lib_z_crc32" = xyes; then : + have_z=yes +else + have_z=no +fi + + +fi + + +# Check whether --enable-cramfs was given. +if test "${enable_cramfs+set}" = set; then : + enableval=$enable_cramfs; +else + + + if test "x$ul_default_estate" != x; then + enable_cramfs=$ul_default_estate + else + enable_cramfs=check + fi + + +fi + + + + if test "x$enable_cramfs" = xno; then + build_cramfs=no +else + build_cramfs=yes +fi + + + + + if test "x$build_cramfs" != xno; then + + ul_haveone_cramfs=no + + if test "x$have_z" = xyes; then + ul_haveone_cramfs=yes + fi + + case $enable_cramfs:$ul_haveone_cramfs in #( + no:*) + build_cramfs=no ;; + yes:yes) + build_cramfs=yes ;; + yes:*) + as_fn_error $? "cramfs selected, but required z library not available" "$LINENO" 5;; + check:yes) + build_cramfs=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: z library not found; not building cramfs" >&5 +$as_echo "$as_me: WARNING: z library not found; not building cramfs" >&2;} + build_cramfs=no ;; + esac + fi + + if test "x$build_cramfs" = xyes; then + BUILD_CRAMFS_TRUE= + BUILD_CRAMFS_FALSE='#' +else + BUILD_CRAMFS_TRUE='#' + BUILD_CRAMFS_FALSE= +fi + + + +# Check whether --enable-bfs was given. +if test "${enable_bfs+set}" = set; then : + enableval=$enable_bfs; +else + + + if test "x$ul_default_estate" != x; then + enable_bfs=$ul_default_estate + else + enable_bfs=yes + fi + + +fi + + + + if test "x$enable_bfs" = xno; then + build_bfs=no +else + build_bfs=yes +fi + + if test "x$build_bfs" = xyes; then + BUILD_BFS_TRUE= + BUILD_BFS_FALSE='#' +else + BUILD_BFS_TRUE='#' + BUILD_BFS_FALSE= +fi + + + +# Check whether --enable-minix was given. +if test "${enable_minix+set}" = set; then : + enableval=$enable_minix; +else + + + if test "x$ul_default_estate" != x; then + enable_minix=$ul_default_estate + else + enable_minix=yes + fi + + +fi + + + + if test "x$enable_minix" = xno; then + build_minix=no +else + build_minix=yes +fi + + if test "x$build_minix" = xyes; then + BUILD_MINIX_TRUE= + BUILD_MINIX_FALSE='#' +else + BUILD_MINIX_TRUE='#' + BUILD_MINIX_FALSE= +fi + + + +# Check whether --enable-fdformat was given. +if test "${enable_fdformat+set}" = set; then : + enableval=$enable_fdformat; +else + + + if test "x$ul_default_estate" != x; then + enable_fdformat=$ul_default_estate + else + enable_fdformat=check + fi + + +fi + + + + if test "x$enable_fdformat" = xno; then + build_fdformat=no +else + build_fdformat=yes +fi + + + + if test "x$build_fdformat" != xno; then + + case $enable_fdformat:$linux_os in #( + no:*) + build_fdformat=no ;; + yes:yes) + build_fdformat=yes ;; + yes:*) + as_fn_error $? "fdformat selected for non-linux system" "$LINENO" 5;; + check:yes) + build_fdformat=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building fdformat" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building fdformat" >&2;} + build_fdformat=no ;; + esac + fi + + if test "x$build_fdformat" = xyes; then + BUILD_FDFORMAT_TRUE= + BUILD_FDFORMAT_FALSE='#' +else + BUILD_FDFORMAT_TRUE='#' + BUILD_FDFORMAT_FALSE= +fi + + + +# Check whether --enable-hwclock was given. +if test "${enable_hwclock+set}" = set; then : + enableval=$enable_hwclock; +else + + + if test "x$ul_default_estate" != x; then + enable_hwclock=$ul_default_estate + else + enable_hwclock=check + fi + + +fi + +have_linuxdummy=$linux_os + + + + if test "x$enable_hwclock" = xno; then + build_hwclock=no +else + build_hwclock=yes +fi + + + + + if test "x$build_hwclock" != xno; then + + ul_haveone_hwclock=no + + if test "x$have_io" = xyes; then + ul_haveone_hwclock=yes + fi + + if test "x$have_linuxdummy" = xyes; then + ul_haveone_hwclock=yes + fi + + case $enable_hwclock:$ul_haveone_hwclock in #( + no:*) + build_hwclock=no ;; + yes:yes) + build_hwclock=yes ;; + yes:*) + as_fn_error $? "hwclock selected, but required ioperm iopl function or Linux not available" "$LINENO" 5;; + check:yes) + build_hwclock=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ioperm iopl function or Linux not found; not building hwclock" >&5 +$as_echo "$as_me: WARNING: ioperm iopl function or Linux not found; not building hwclock" >&2;} + build_hwclock=no ;; + esac + fi + + if test "x$build_hwclock" = xyes; then + BUILD_HWCLOCK_TRUE= + BUILD_HWCLOCK_FALSE='#' +else + BUILD_HWCLOCK_TRUE='#' + BUILD_HWCLOCK_FALSE= +fi + + + + + + if test "x$ul_default_estate" != x; then + enable_mkfs=$ul_default_estate + build_mkfs=yes + if test "x$ul_default_estate" = xno; then + build_mkfs=no + fi +else + + build_mkfs=yes + enable_mkfs=yes +fi + + if test "x$build_mkfs" = xyes; then + BUILD_MKFS_TRUE= + BUILD_MKFS_FALSE='#' +else + BUILD_MKFS_TRUE='#' + BUILD_MKFS_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_isosize=$ul_default_estate + build_isosize=yes + if test "x$ul_default_estate" = xno; then + build_isosize=no + fi +else + + build_isosize=yes + enable_isosize=yes +fi + + if test "x$build_isosize" = xyes; then + BUILD_ISOSIZE_TRUE= + BUILD_ISOSIZE_FALSE='#' +else + BUILD_ISOSIZE_TRUE='#' + BUILD_ISOSIZE_FALSE= +fi + + + + + + if test "x$ul_default_estate" != x; then + enable_fstrim=$ul_default_estate + build_fstrim=yes + if test "x$ul_default_estate" = xno; then + build_fstrim=no + fi +else + + build_fstrim=yes + enable_fstrim=check +fi + + + + if test "x$build_fstrim" != xno; then + + case $enable_fstrim:$linux_os in #( + no:*) + build_fstrim=no ;; + yes:yes) + build_fstrim=yes ;; + yes:*) + as_fn_error $? "fstrim selected for non-linux system" "$LINENO" 5;; + check:yes) + build_fstrim=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building fstrim" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building fstrim" >&2;} + build_fstrim=no ;; + esac + fi + + + + + if test "x$build_fstrim" != xno; then + case $enable_fstrim:$build_libmount in #( + no:*) + build_fstrim=no ;; + yes:yes) + build_fstrim=yes ;; + yes:*) + as_fn_error $? "libmount is needed to build fstrim" "$LINENO" 5;; + check:yes) + build_fstrim=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building fstrim" >&5 +$as_echo "$as_me: WARNING: libmount disabled; not building fstrim" >&2;} + build_fstrim=no ;; + esac + fi + + if test "x$build_fstrim" = xyes; then + BUILD_FSTRIM_TRUE= + BUILD_FSTRIM_FALSE='#' +else + BUILD_FSTRIM_TRUE='#' + BUILD_FSTRIM_FALSE= +fi + + + + + + if test "x$ul_default_estate" != x; then + enable_swapon=$ul_default_estate + build_swapon=yes + if test "x$ul_default_estate" = xno; then + build_swapon=no + fi +else + + build_swapon=yes + enable_swapon=check +fi + + + + if test "x$build_swapon" != xno; then + + case $enable_swapon:$linux_os in #( + no:*) + build_swapon=no ;; + yes:yes) + build_swapon=yes ;; + yes:*) + as_fn_error $? "swapon selected for non-linux system" "$LINENO" 5;; + check:yes) + build_swapon=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building swapon" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building swapon" >&2;} + build_swapon=no ;; + esac + fi + + + + + + if test "x$build_swapon" != xno; then + if test "x$enable_swapon" = xno; then + build_swapon=no + else + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall swapon" >&5 +$as_echo_n "checking for syscall swapon... " >&6; } +if ${ul_cv_syscall_swapon+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = SYS_swapon; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=SYS_swapon +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = _NR_swapon; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=_NR_swapon +else + + syscall=no + if test "x$linux_os" = xyes; then + case $host_cpu in + + esac + fi + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + ul_cv_syscall_swapon=$syscall + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_swapon" >&5 +$as_echo "$ul_cv_syscall_swapon" >&6; } + case $ul_cv_syscall_swapon in #( + no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall swapon." >&5 +$as_echo "$as_me: WARNING: Unable to detect syscall swapon." >&2;} ;; + SYS_*) ;; + *) +cat >>confdefs.h <<_ACEOF +#define SYS_swapon $ul_cv_syscall_swapon +_ACEOF + ;; + esac + + case $enable_swapon:$ul_cv_syscall_swapon in #( + no:*) + build_swapon=no ;; + yes:no) + as_fn_error $? "swapon selected but swapon syscall not found" "$LINENO" 5 ;; + check:no) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: swapon syscall not found; not building swapon" >&5 +$as_echo "$as_me: WARNING: swapon syscall not found; not building swapon" >&2;} + build_swapon=no ;; + *) + build_swapon=yes ;; + esac + fi + fi + + + + + + if test "x$build_swapon" != xno; then + if test "x$enable_swapon" = xno; then + build_swapon=no + else + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall swapoff" >&5 +$as_echo_n "checking for syscall swapoff... " >&6; } +if ${ul_cv_syscall_swapoff+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = SYS_swapoff; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=SYS_swapoff +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = _NR_swapoff; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=_NR_swapoff +else + + syscall=no + if test "x$linux_os" = xyes; then + case $host_cpu in + + esac + fi + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + ul_cv_syscall_swapoff=$syscall + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_swapoff" >&5 +$as_echo "$ul_cv_syscall_swapoff" >&6; } + case $ul_cv_syscall_swapoff in #( + no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall swapoff." >&5 +$as_echo "$as_me: WARNING: Unable to detect syscall swapoff." >&2;} ;; + SYS_*) ;; + *) +cat >>confdefs.h <<_ACEOF +#define SYS_swapoff $ul_cv_syscall_swapoff +_ACEOF + ;; + esac + + case $enable_swapon:$ul_cv_syscall_swapoff in #( + no:*) + build_swapon=no ;; + yes:no) + as_fn_error $? "swapon selected but swapoff syscall not found" "$LINENO" 5 ;; + check:no) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: swapoff syscall not found; not building swapon" >&5 +$as_echo "$as_me: WARNING: swapoff syscall not found; not building swapon" >&2;} + build_swapon=no ;; + *) + build_swapon=yes ;; + esac + fi + fi + + + + + if test "x$build_swapon" != xno; then + case $enable_swapon:$build_libblkid in #( + no:*) + build_swapon=no ;; + yes:yes) + build_swapon=yes ;; + yes:*) + as_fn_error $? "libblkid is needed to build swapon" "$LINENO" 5;; + check:yes) + build_swapon=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libblkid disabled; not building swapon" >&5 +$as_echo "$as_me: WARNING: libblkid disabled; not building swapon" >&2;} + build_swapon=no ;; + esac + fi + + + + + if test "x$build_swapon" != xno; then + case $enable_swapon:$build_libmount in #( + no:*) + build_swapon=no ;; + yes:yes) + build_swapon=yes ;; + yes:*) + as_fn_error $? "libmount is needed to build swapon" "$LINENO" 5;; + check:yes) + build_swapon=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building swapon" >&5 +$as_echo "$as_me: WARNING: libmount disabled; not building swapon" >&2;} + build_swapon=no ;; + esac + fi + + + + + if test "x$build_swapon" != xno; then + case $enable_swapon:$build_libsmartcols in #( + no:*) + build_swapon=no ;; + yes:yes) + build_swapon=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build swapon" "$LINENO" 5;; + check:yes) + build_swapon=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building swapon" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building swapon" >&2;} + build_swapon=no ;; + esac + fi + + if test "x$build_swapon" = xyes; then + BUILD_SWAPON_TRUE= + BUILD_SWAPON_FALSE='#' +else + BUILD_SWAPON_TRUE='#' + BUILD_SWAPON_FALSE= +fi + +for ac_func in swapon +do : + ac_fn_c_check_func "$LINENO" "swapon" "ac_cv_func_swapon" +if test "x$ac_cv_func_swapon" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SWAPON 1 +_ACEOF + +fi +done + +for ac_func in swapoff +do : + ac_fn_c_check_func "$LINENO" "swapoff" "ac_cv_func_swapoff" +if test "x$ac_cv_func_swapoff" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SWAPOFF 1 +_ACEOF + +fi +done + + + + + + if test "x$ul_default_estate" != x; then + enable_lsblk=$ul_default_estate + build_lsblk=yes + if test "x$ul_default_estate" = xno; then + build_lsblk=no + fi +else + + build_lsblk=yes + enable_lsblk=check +fi + + + + if test "x$build_lsblk" != xno; then + + case $enable_lsblk:$linux_os in #( + no:*) + build_lsblk=no ;; + yes:yes) + build_lsblk=yes ;; + yes:*) + as_fn_error $? "lsblk selected for non-linux system" "$LINENO" 5;; + check:yes) + build_lsblk=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building lsblk" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building lsblk" >&2;} + build_lsblk=no ;; + esac + fi + + + + + if test "x$build_lsblk" != xno; then + case $enable_lsblk:$build_libblkid in #( + no:*) + build_lsblk=no ;; + yes:yes) + build_lsblk=yes ;; + yes:*) + as_fn_error $? "libblkid is needed to build lsblk" "$LINENO" 5;; + check:yes) + build_lsblk=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libblkid disabled; not building lsblk" >&5 +$as_echo "$as_me: WARNING: libblkid disabled; not building lsblk" >&2;} + build_lsblk=no ;; + esac + fi + + + + + if test "x$build_lsblk" != xno; then + case $enable_lsblk:$build_libmount in #( + no:*) + build_lsblk=no ;; + yes:yes) + build_lsblk=yes ;; + yes:*) + as_fn_error $? "libmount is needed to build lsblk" "$LINENO" 5;; + check:yes) + build_lsblk=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building lsblk" >&5 +$as_echo "$as_me: WARNING: libmount disabled; not building lsblk" >&2;} + build_lsblk=no ;; + esac + fi + + + + + if test "x$build_lsblk" != xno; then + case $enable_lsblk:$build_libsmartcols in #( + no:*) + build_lsblk=no ;; + yes:yes) + build_lsblk=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build lsblk" "$LINENO" 5;; + check:yes) + build_lsblk=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building lsblk" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building lsblk" >&2;} + build_lsblk=no ;; + esac + fi + + if test "x$build_lsblk" = xyes; then + BUILD_LSBLK_TRUE= + BUILD_LSBLK_FALSE='#' +else + BUILD_LSBLK_TRUE='#' + BUILD_LSBLK_FALSE= +fi + + + + + + if test "x$ul_default_estate" != x; then + enable_lscpu=$ul_default_estate + build_lscpu=yes + if test "x$ul_default_estate" = xno; then + build_lscpu=no + fi +else + + build_lscpu=yes + enable_lscpu=check +fi + + + + if test "x$build_lscpu" != xno; then + + case $enable_lscpu:$linux_os in #( + no:*) + build_lscpu=no ;; + yes:yes) + build_lscpu=yes ;; + yes:*) + as_fn_error $? "lscpu selected for non-linux system" "$LINENO" 5;; + check:yes) + build_lscpu=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building lscpu" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building lscpu" >&2;} + build_lscpu=no ;; + esac + fi + + + + + if test "x$build_lscpu" != xno; then + case $enable_lscpu:$build_libsmartcols in #( + no:*) + build_lscpu=no ;; + yes:yes) + build_lscpu=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build lscpu" "$LINENO" 5;; + check:yes) + build_lscpu=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building lscpu" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building lscpu" >&2;} + build_lscpu=no ;; + esac + fi + + + + + if test "x$build_lscpu" != xno; then + + ul_haveone_lscpu=no + + if test "x$have_cpu_set_t" = xyes; then + ul_haveone_lscpu=yes + fi + + case $enable_lscpu:$ul_haveone_lscpu in #( + no:*) + build_lscpu=no ;; + yes:yes) + build_lscpu=yes ;; + yes:*) + as_fn_error $? "lscpu selected, but required cpu_set_t type not available" "$LINENO" 5;; + check:yes) + build_lscpu=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cpu_set_t type not found; not building lscpu" >&5 +$as_echo "$as_me: WARNING: cpu_set_t type not found; not building lscpu" >&2;} + build_lscpu=no ;; + esac + fi + + if test "x$build_lscpu" = xyes; then + BUILD_LSCPU_TRUE= + BUILD_LSCPU_FALSE='#' +else + BUILD_LSCPU_TRUE='#' + BUILD_LSCPU_FALSE= +fi + + + +# Check whether --enable-lslogins was given. +if test "${enable_lslogins+set}" = set; then : + enableval=$enable_lslogins; +else + + + if test "x$ul_default_estate" != x; then + enable_lslogins=$ul_default_estate + else + enable_lslogins=check + fi + + +fi + + + + if test "x$enable_lslogins" = xno; then + build_lslogins=no +else + build_lslogins=yes +fi + + + + + if test "x$build_lslogins" != xno; then + case $enable_lslogins:$build_libsmartcols in #( + no:*) + build_lslogins=no ;; + yes:yes) + build_lslogins=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build lslogins" "$LINENO" 5;; + check:yes) + build_lslogins=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building lslogins" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building lslogins" >&2;} + build_lslogins=no ;; + esac + fi + + + + + if test "x$build_lslogins" != xno; then + + ul_haveone_lslogins=no + + if test "x$have_shadow_h" = xyes; then + ul_haveone_lslogins=yes + fi + + case $enable_lslogins:$ul_haveone_lslogins in #( + no:*) + build_lslogins=no ;; + yes:yes) + build_lslogins=yes ;; + yes:*) + as_fn_error $? "lslogins selected, but required shadow.h header not available" "$LINENO" 5;; + check:yes) + build_lslogins=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: shadow.h header not found; not building lslogins" >&5 +$as_echo "$as_me: WARNING: shadow.h header not found; not building lslogins" >&2;} + build_lslogins=no ;; + esac + fi + + + + + if test "x$build_lslogins" != xno; then + + ul_haveone_lslogins=no + + if test "x$have_utmpx_h" = xyes; then + ul_haveone_lslogins=yes + fi + + case $enable_lslogins:$ul_haveone_lslogins in #( + no:*) + build_lslogins=no ;; + yes:yes) + build_lslogins=yes ;; + yes:*) + as_fn_error $? "lslogins selected, but required utmpx.h header not available" "$LINENO" 5;; + check:yes) + build_lslogins=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: utmpx.h header not found; not building lslogins" >&5 +$as_echo "$as_me: WARNING: utmpx.h header not found; not building lslogins" >&2;} + build_lslogins=no ;; + esac + fi + + + + + if test "x$build_lslogins" != xno; then + + ul_haveone_lslogins=no + + if test "x$have_gnu_utmpx" = xyes; then + ul_haveone_lslogins=yes + fi + + case $enable_lslogins:$ul_haveone_lslogins in #( + no:*) + build_lslogins=no ;; + yes:yes) + build_lslogins=yes ;; + yes:*) + as_fn_error $? "lslogins selected, but required GNU utmpx functions not available" "$LINENO" 5;; + check:yes) + build_lslogins=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU utmpx functions not found; not building lslogins" >&5 +$as_echo "$as_me: WARNING: GNU utmpx functions not found; not building lslogins" >&2;} + build_lslogins=no ;; + esac + fi + + if test "x$build_lslogins" = xyes; then + BUILD_LSLOGINS_TRUE= + BUILD_LSLOGINS_FALSE='#' +else + BUILD_LSLOGINS_TRUE='#' + BUILD_LSLOGINS_FALSE= +fi + + + + + + if test "x$ul_default_estate" != x; then + enable_chcpu=$ul_default_estate + build_chcpu=yes + if test "x$ul_default_estate" = xno; then + build_chcpu=no + fi +else + + build_chcpu=yes + enable_chcpu=check +fi + + + + if test "x$build_chcpu" != xno; then + + case $enable_chcpu:$linux_os in #( + no:*) + build_chcpu=no ;; + yes:yes) + build_chcpu=yes ;; + yes:*) + as_fn_error $? "chcpu selected for non-linux system" "$LINENO" 5;; + check:yes) + build_chcpu=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building chcpu" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building chcpu" >&2;} + build_chcpu=no ;; + esac + fi + + + + + if test "x$build_chcpu" != xno; then + + ul_haveone_chcpu=no + + if test "x$have_cpu_set_t" = xyes; then + ul_haveone_chcpu=yes + fi + + case $enable_chcpu:$ul_haveone_chcpu in #( + no:*) + build_chcpu=no ;; + yes:yes) + build_chcpu=yes ;; + yes:*) + as_fn_error $? "chcpu selected, but required cpu_set_t type not available" "$LINENO" 5;; + check:yes) + build_chcpu=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cpu_set_t type not found; not building chcpu" >&5 +$as_echo "$as_me: WARNING: cpu_set_t type not found; not building chcpu" >&2;} + build_chcpu=no ;; + esac + fi + + if test "x$build_chcpu" = xyes; then + BUILD_CHCPU_TRUE= + BUILD_CHCPU_FALSE='#' +else + BUILD_CHCPU_TRUE='#' + BUILD_CHCPU_FALSE= +fi + + + +# Check whether --enable-wdctl was given. +if test "${enable_wdctl+set}" = set; then : + enableval=$enable_wdctl; +else + + + if test "x$ul_default_estate" != x; then + enable_wdctl=$ul_default_estate + else + enable_wdctl=check + fi + + +fi + + + + if test "x$enable_wdctl" = xno; then + build_wdctl=no +else + build_wdctl=yes +fi + + + + if test "x$build_wdctl" != xno; then + + case $enable_wdctl:$linux_os in #( + no:*) + build_wdctl=no ;; + yes:yes) + build_wdctl=yes ;; + yes:*) + as_fn_error $? "wdctl selected for non-linux system" "$LINENO" 5;; + check:yes) + build_wdctl=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building wdctl" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building wdctl" >&2;} + build_wdctl=no ;; + esac + fi + + + + + if test "x$build_wdctl" != xno; then + case $enable_wdctl:$build_libsmartcols in #( + no:*) + build_wdctl=no ;; + yes:yes) + build_wdctl=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build wdctl" "$LINENO" 5;; + check:yes) + build_wdctl=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building wdctl" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building wdctl" >&2;} + build_wdctl=no ;; + esac + fi + + + + + if test "x$build_wdctl" != xno; then + + ul_haveone_wdctl=no + + if test "x$have_linux_watchdog_h" = xyes; then + ul_haveone_wdctl=yes + fi + + case $enable_wdctl:$ul_haveone_wdctl in #( + no:*) + build_wdctl=no ;; + yes:yes) + build_wdctl=yes ;; + yes:*) + as_fn_error $? "wdctl selected, but required linux/watchdog.h header file not available" "$LINENO" 5;; + check:yes) + build_wdctl=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: linux/watchdog.h header file not found; not building wdctl" >&5 +$as_echo "$as_me: WARNING: linux/watchdog.h header file not found; not building wdctl" >&2;} + build_wdctl=no ;; + esac + fi + + if test "x$build_wdctl" = xyes; then + BUILD_WDCTL_TRUE= + BUILD_WDCTL_FALSE='#' +else + BUILD_WDCTL_TRUE='#' + BUILD_WDCTL_FALSE= +fi + + + + + + if test "x$ul_default_estate" != x; then + enable_swaplabel=$ul_default_estate + build_swaplabel=yes + if test "x$ul_default_estate" = xno; then + build_swaplabel=no + fi +else + + build_swaplabel=yes + enable_swaplabel=check +fi + + + + + if test "x$build_swaplabel" != xno; then + case $enable_swaplabel:$build_libblkid in #( + no:*) + build_swaplabel=no ;; + yes:yes) + build_swaplabel=yes ;; + yes:*) + as_fn_error $? "libblkid is needed to build swaplabel" "$LINENO" 5;; + check:yes) + build_swaplabel=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libblkid disabled; not building swaplabel" >&5 +$as_echo "$as_me: WARNING: libblkid disabled; not building swaplabel" >&2;} + build_swaplabel=no ;; + esac + fi + + if test "x$build_swaplabel" = xyes; then + BUILD_SWAPLABEL_TRUE= + BUILD_SWAPLABEL_FALSE='#' +else + BUILD_SWAPLABEL_TRUE='#' + BUILD_SWAPLABEL_FALSE= +fi + + + + + + if test "x$ul_default_estate" != x; then + enable_mkswap=$ul_default_estate + build_mkswap=yes + if test "x$ul_default_estate" = xno; then + build_mkswap=no + fi +else + + build_mkswap=yes + enable_mkswap=yes +fi + + if test "x$build_mkswap" = xyes; then + BUILD_MKSWAP_TRUE= + BUILD_MKSWAP_FALSE='#' +else + BUILD_MKSWAP_TRUE='#' + BUILD_MKSWAP_FALSE= +fi + +if test "x$build_mkswap" = xyes -a "x$build_libuuid" != xyes; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: uuid library is not found; mkswap(8) will not generate UUIDs" >&5 +$as_echo "$as_me: WARNING: uuid library is not found; mkswap(8) will not generate UUIDs" >&2;} + +fi + + +# Check whether --enable-cal was given. +if test "${enable_cal+set}" = set; then : + enableval=$enable_cal; +else + + + if test "x$ul_default_estate" != x; then + enable_cal=$ul_default_estate + else + enable_cal=check + fi + + +fi + + + + if test "x$enable_cal" = xno; then + build_cal=no +else + build_cal=yes +fi + + if test "x$build_cal" = xyes; then + BUILD_CAL_TRUE= + BUILD_CAL_FALSE='#' +else + BUILD_CAL_TRUE='#' + BUILD_CAL_FALSE= +fi + + +# Check whether --enable-logger was given. +if test "${enable_logger+set}" = set; then : + enableval=$enable_logger; +else + + + if test "x$ul_default_estate" != x; then + enable_logger=$ul_default_estate + else + enable_logger=check + fi + + +fi + + + + if test "x$enable_logger" = xno; then + build_logger=no +else + build_logger=yes +fi + + if test "x$build_logger" = xyes; then + BUILD_LOGGER_TRUE= + BUILD_LOGGER_FALSE='#' +else + BUILD_LOGGER_TRUE='#' + BUILD_LOGGER_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_look=$ul_default_estate + build_look=yes + if test "x$ul_default_estate" = xno; then + build_look=no + fi +else + + build_look=yes + enable_look=yes +fi + + if test "x$build_look" = xyes; then + BUILD_LOOK_TRUE= + BUILD_LOOK_FALSE='#' +else + BUILD_LOOK_TRUE='#' + BUILD_LOOK_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_mcookie=$ul_default_estate + build_mcookie=yes + if test "x$ul_default_estate" = xno; then + build_mcookie=no + fi +else + + build_mcookie=yes + enable_mcookie=yes +fi + + if test "x$build_mcookie" = xyes; then + BUILD_MCOOKIE_TRUE= + BUILD_MCOOKIE_FALSE='#' +else + BUILD_MCOOKIE_TRUE='#' + BUILD_MCOOKIE_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_namei=$ul_default_estate + build_namei=yes + if test "x$ul_default_estate" = xno; then + build_namei=no + fi +else + + build_namei=yes + enable_namei=yes +fi + + if test "x$build_namei" = xyes; then + BUILD_NAMEI_TRUE= + BUILD_NAMEI_FALSE='#' +else + BUILD_NAMEI_TRUE='#' + BUILD_NAMEI_FALSE= +fi + + +matriplet="$($CC -print-multiarch 2>/dev/null || true)" +if test "x$matriplet" != "x"; then + +cat >>confdefs.h <<_ACEOF +#define MULTIARCHTRIPLET "$matriplet" +_ACEOF + +fi + + + if test "x$ul_default_estate" != x; then + enable_whereis=$ul_default_estate + build_whereis=yes + if test "x$ul_default_estate" = xno; then + build_whereis=no + fi +else + + build_whereis=yes + enable_whereis=yes +fi + + if test "x$build_whereis" = xyes; then + BUILD_WHEREIS_TRUE= + BUILD_WHEREIS_FALSE='#' +else + BUILD_WHEREIS_TRUE='#' + BUILD_WHEREIS_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_getopt=$ul_default_estate + build_getopt=yes + if test "x$ul_default_estate" = xno; then + build_getopt=no + fi +else + + build_getopt=yes + enable_getopt=yes +fi + + if test "x$build_getopt" = xyes; then + BUILD_GETOPT_TRUE= + BUILD_GETOPT_FALSE='#' +else + BUILD_GETOPT_TRUE='#' + BUILD_GETOPT_FALSE= +fi + + + + + + if test "x$ul_default_estate" != x; then + enable_blockdev=$ul_default_estate + build_blockdev=yes + if test "x$ul_default_estate" = xno; then + build_blockdev=no + fi +else + + build_blockdev=yes + enable_blockdev=check +fi + + + + if test "x$build_blockdev" != xno; then + + case $enable_blockdev:$linux_os in #( + no:*) + build_blockdev=no ;; + yes:yes) + build_blockdev=yes ;; + yes:*) + as_fn_error $? "blockdev selected for non-linux system" "$LINENO" 5;; + check:yes) + build_blockdev=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building blockdev" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building blockdev" >&2;} + build_blockdev=no ;; + esac + fi + + if test "x$build_blockdev" = xyes; then + BUILD_BLOCKDEV_TRUE= + BUILD_BLOCKDEV_FALSE='#' +else + BUILD_BLOCKDEV_TRUE='#' + BUILD_BLOCKDEV_FALSE= +fi + + + + + + if test "x$ul_default_estate" != x; then + enable_prlimit=$ul_default_estate + build_prlimit=yes + if test "x$ul_default_estate" = xno; then + build_prlimit=no + fi +else + + build_prlimit=yes + enable_prlimit=check +fi + + + + if test "x$build_prlimit" != xno; then + + case $enable_prlimit:$linux_os in #( + no:*) + build_prlimit=no ;; + yes:yes) + build_prlimit=yes ;; + yes:*) + as_fn_error $? "prlimit selected for non-linux system" "$LINENO" 5;; + check:yes) + build_prlimit=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building prlimit" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building prlimit" >&2;} + build_prlimit=no ;; + esac + fi + + + + + if test "x$build_prlimit" != xno; then + case $enable_prlimit:$build_libsmartcols in #( + no:*) + build_prlimit=no ;; + yes:yes) + build_prlimit=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build prlimit" "$LINENO" 5;; + check:yes) + build_prlimit=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building prlimit" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building prlimit" >&2;} + build_prlimit=no ;; + esac + fi + + + + + + if test "x$build_prlimit" != xno; then + if test "x$enable_prlimit" = xno; then + build_prlimit=no + else + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall prlimit64" >&5 +$as_echo_n "checking for syscall prlimit64... " >&6; } +if ${ul_cv_syscall_prlimit64+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = SYS_prlimit64; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=SYS_prlimit64 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = _NR_prlimit64; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=_NR_prlimit64 +else + + syscall=no + if test "x$linux_os" = xyes; then + case $host_cpu in + + esac + fi + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + ul_cv_syscall_prlimit64=$syscall + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_prlimit64" >&5 +$as_echo "$ul_cv_syscall_prlimit64" >&6; } + case $ul_cv_syscall_prlimit64 in #( + no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall prlimit64." >&5 +$as_echo "$as_me: WARNING: Unable to detect syscall prlimit64." >&2;} ;; + SYS_*) ;; + *) +cat >>confdefs.h <<_ACEOF +#define SYS_prlimit64 $ul_cv_syscall_prlimit64 +_ACEOF + ;; + esac + + case $enable_prlimit:$ul_cv_syscall_prlimit64 in #( + no:*) + build_prlimit=no ;; + yes:no) + as_fn_error $? "prlimit selected but prlimit64 syscall not found" "$LINENO" 5 ;; + check:no) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: prlimit64 syscall not found; not building prlimit" >&5 +$as_echo "$as_me: WARNING: prlimit64 syscall not found; not building prlimit" >&2;} + build_prlimit=no ;; + *) + build_prlimit=yes ;; + esac + fi + fi + + if test "x$build_prlimit" = xyes; then + BUILD_PRLIMIT_TRUE= + BUILD_PRLIMIT_FALSE='#' +else + BUILD_PRLIMIT_TRUE='#' + BUILD_PRLIMIT_FALSE= +fi + +if test "x$build_prlimit" = xyes; then : + + for ac_func in prlimit +do : + ac_fn_c_check_func "$LINENO" "prlimit" "ac_cv_func_prlimit" +if test "x$ac_cv_func_prlimit" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_PRLIMIT 1 +_ACEOF + +fi +done + + +fi + + + + + if test "x$ul_default_estate" != x; then + enable_lslocks=$ul_default_estate + build_lslocks=yes + if test "x$ul_default_estate" = xno; then + build_lslocks=no + fi +else + + build_lslocks=yes + enable_lslocks=check +fi + + + + if test "x$build_lslocks" != xno; then + + case $enable_lslocks:$linux_os in #( + no:*) + build_lslocks=no ;; + yes:yes) + build_lslocks=yes ;; + yes:*) + as_fn_error $? "lslocks selected for non-linux system" "$LINENO" 5;; + check:yes) + build_lslocks=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building lslocks" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building lslocks" >&2;} + build_lslocks=no ;; + esac + fi + + + + + if test "x$build_lslocks" != xno; then + case $enable_lslocks:$build_libmount in #( + no:*) + build_lslocks=no ;; + yes:yes) + build_lslocks=yes ;; + yes:*) + as_fn_error $? "libmount is needed to build lslocks" "$LINENO" 5;; + check:yes) + build_lslocks=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building lslocks" >&5 +$as_echo "$as_me: WARNING: libmount disabled; not building lslocks" >&2;} + build_lslocks=no ;; + esac + fi + + + + + if test "x$build_lslocks" != xno; then + case $enable_lslocks:$build_libsmartcols in #( + no:*) + build_lslocks=no ;; + yes:yes) + build_lslocks=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build lslocks" "$LINENO" 5;; + check:yes) + build_lslocks=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building lslocks" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building lslocks" >&2;} + build_lslocks=no ;; + esac + fi + + if test "x$build_lslocks" = xyes; then + BUILD_LSLOCKS_TRUE= + BUILD_LSLOCKS_FALSE='#' +else + BUILD_LSLOCKS_TRUE='#' + BUILD_LSLOCKS_FALSE= +fi + + + +# Check whether --enable-switch_root was given. +if test "${enable_switch_root+set}" = set; then : + enableval=$enable_switch_root; +else + + + if test "x$ul_default_estate" != x; then + enable_switch_root=$ul_default_estate + else + enable_switch_root=check + fi + + +fi + + + + if test "x$enable_switch_root" = xno; then + build_switch_root=no +else + build_switch_root=yes +fi + + + + if test "x$build_switch_root" != xno; then + + case $enable_switch_root:$linux_os in #( + no:*) + build_switch_root=no ;; + yes:yes) + build_switch_root=yes ;; + yes:*) + as_fn_error $? "switch_root selected for non-linux system" "$LINENO" 5;; + check:yes) + build_switch_root=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building switch_root" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building switch_root" >&2;} + build_switch_root=no ;; + esac + fi + + + + + if test "x$build_switch_root" != xno; then + + ul_haveone_switch_root=no + + if test "x$have_openat" = xyes; then + ul_haveone_switch_root=yes + fi + + case $enable_switch_root:$ul_haveone_switch_root in #( + no:*) + build_switch_root=no ;; + yes:yes) + build_switch_root=yes ;; + yes:*) + as_fn_error $? "switch_root selected, but required openat function not available" "$LINENO" 5;; + check:yes) + build_switch_root=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: openat function not found; not building switch_root" >&5 +$as_echo "$as_me: WARNING: openat function not found; not building switch_root" >&2;} + build_switch_root=no ;; + esac + fi + + + + + if test "x$build_switch_root" != xno; then + + ul_haveone_switch_root=no + + if test "x$have_dirfd" = xyes; then + ul_haveone_switch_root=yes + fi + + if test "x$have_ddfd" = xyes; then + ul_haveone_switch_root=yes + fi + + case $enable_switch_root:$ul_haveone_switch_root in #( + no:*) + build_switch_root=no ;; + yes:yes) + build_switch_root=yes ;; + yes:*) + as_fn_error $? "switch_root selected, but required dirfd or ddfd function not available" "$LINENO" 5;; + check:yes) + build_switch_root=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dirfd or ddfd function not found; not building switch_root" >&5 +$as_echo "$as_me: WARNING: dirfd or ddfd function not found; not building switch_root" >&2;} + build_switch_root=no ;; + esac + fi + + if test "x$build_switch_root" = xyes; then + BUILD_SWITCH_ROOT_TRUE= + BUILD_SWITCH_ROOT_FALSE='#' +else + BUILD_SWITCH_ROOT_TRUE='#' + BUILD_SWITCH_ROOT_FALSE= +fi + + + +# Check whether --enable-pivot_root was given. +if test "${enable_pivot_root+set}" = set; then : + enableval=$enable_pivot_root; +else + + + if test "x$ul_default_estate" != x; then + enable_pivot_root=$ul_default_estate + else + enable_pivot_root=check + fi + + +fi + + + + if test "x$enable_pivot_root" = xno; then + build_pivot_root=no +else + build_pivot_root=yes +fi + + + + if test "x$build_pivot_root" != xno; then + + case $enable_pivot_root:$linux_os in #( + no:*) + build_pivot_root=no ;; + yes:yes) + build_pivot_root=yes ;; + yes:*) + as_fn_error $? "pivot_root selected for non-linux system" "$LINENO" 5;; + check:yes) + build_pivot_root=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building pivot_root" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building pivot_root" >&2;} + build_pivot_root=no ;; + esac + fi + + + + + + if test "x$build_pivot_root" != xno; then + if test "x$enable_pivot_root" = xno; then + build_pivot_root=no + else + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall pivot_root" >&5 +$as_echo_n "checking for syscall pivot_root... " >&6; } +if ${ul_cv_syscall_pivot_root+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = SYS_pivot_root; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=SYS_pivot_root +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = _NR_pivot_root; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=_NR_pivot_root +else + + syscall=no + if test "x$linux_os" = xyes; then + case $host_cpu in + + esac + fi + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + ul_cv_syscall_pivot_root=$syscall + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_pivot_root" >&5 +$as_echo "$ul_cv_syscall_pivot_root" >&6; } + case $ul_cv_syscall_pivot_root in #( + no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall pivot_root." >&5 +$as_echo "$as_me: WARNING: Unable to detect syscall pivot_root." >&2;} ;; + SYS_*) ;; + *) +cat >>confdefs.h <<_ACEOF +#define SYS_pivot_root $ul_cv_syscall_pivot_root +_ACEOF + ;; + esac + + case $enable_pivot_root:$ul_cv_syscall_pivot_root in #( + no:*) + build_pivot_root=no ;; + yes:no) + as_fn_error $? "pivot_root selected but pivot_root syscall not found" "$LINENO" 5 ;; + check:no) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pivot_root syscall not found; not building pivot_root" >&5 +$as_echo "$as_me: WARNING: pivot_root syscall not found; not building pivot_root" >&2;} + build_pivot_root=no ;; + *) + build_pivot_root=yes ;; + esac + fi + fi + + if test "x$build_pivot_root" = xyes; then + BUILD_PIVOT_ROOT_TRUE= + BUILD_PIVOT_ROOT_FALSE='#' +else + BUILD_PIVOT_ROOT_TRUE='#' + BUILD_PIVOT_ROOT_FALSE= +fi + + + + + + if test "x$ul_default_estate" != x; then + enable_flock=$ul_default_estate + build_flock=yes + if test "x$ul_default_estate" = xno; then + build_flock=no + fi +else + + build_flock=yes + enable_flock=check +fi + + + + + if test "x$build_flock" != xno; then + + ul_haveone_flock=no + + if test "x$have_timer" = xyes; then + ul_haveone_flock=yes + fi + + case $enable_flock:$ul_haveone_flock in #( + no:*) + build_flock=no ;; + yes:yes) + build_flock=yes ;; + yes:*) + as_fn_error $? "flock selected, but required timer_create function not available" "$LINENO" 5;; + check:yes) + build_flock=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: timer_create function not found; not building flock" >&5 +$as_echo "$as_me: WARNING: timer_create function not found; not building flock" >&2;} + build_flock=no ;; + esac + fi + + if test "x$build_flock" = xyes; then + BUILD_FLOCK_TRUE= + BUILD_FLOCK_FALSE='#' +else + BUILD_FLOCK_TRUE='#' + BUILD_FLOCK_FALSE= +fi + + + +# Check whether --enable-lsmem was given. +if test "${enable_lsmem+set}" = set; then : + enableval=$enable_lsmem; +else + + + if test "x$ul_default_estate" != x; then + enable_lsmem=$ul_default_estate + else + enable_lsmem=check + fi + + +fi + + + + if test "x$enable_lsmem" = xno; then + build_lsmem=no +else + build_lsmem=yes +fi + + + + if test "x$build_lsmem" != xno; then + + case $enable_lsmem:$linux_os in #( + no:*) + build_lsmem=no ;; + yes:yes) + build_lsmem=yes ;; + yes:*) + as_fn_error $? "lsmem selected for non-linux system" "$LINENO" 5;; + check:yes) + build_lsmem=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building lsmem" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building lsmem" >&2;} + build_lsmem=no ;; + esac + fi + + + + + if test "x$build_lsmem" != xno; then + case $enable_lsmem:$build_libsmartcols in #( + no:*) + build_lsmem=no ;; + yes:yes) + build_lsmem=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build lsmem" "$LINENO" 5;; + check:yes) + build_lsmem=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building lsmem" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building lsmem" >&2;} + build_lsmem=no ;; + esac + fi + + if test "x$build_lsmem" = xyes; then + BUILD_LSMEM_TRUE= + BUILD_LSMEM_FALSE='#' +else + BUILD_LSMEM_TRUE='#' + BUILD_LSMEM_FALSE= +fi + + + +# Check whether --enable-chmem was given. +if test "${enable_chmem+set}" = set; then : + enableval=$enable_chmem; +else + + + if test "x$ul_default_estate" != x; then + enable_chmem=$ul_default_estate + else + enable_chmem=check + fi + + +fi + + + + if test "x$enable_chmem" = xno; then + build_chmem=no +else + build_chmem=yes +fi + + + + if test "x$build_chmem" != xno; then + + case $enable_chmem:$linux_os in #( + no:*) + build_chmem=no ;; + yes:yes) + build_chmem=yes ;; + yes:*) + as_fn_error $? "chmem selected for non-linux system" "$LINENO" 5;; + check:yes) + build_chmem=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building chmem" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building chmem" >&2;} + build_chmem=no ;; + esac + fi + + if test "x$build_chmem" = xyes; then + BUILD_CHMEM_TRUE= + BUILD_CHMEM_FALSE='#' +else + BUILD_CHMEM_TRUE='#' + BUILD_CHMEM_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_ipcmk=$ul_default_estate + build_ipcmk=yes + if test "x$ul_default_estate" = xno; then + build_ipcmk=no + fi +else + + build_ipcmk=yes + enable_ipcmk=yes +fi + + if test "x$build_ipcmk" = xyes; then + BUILD_IPCMK_TRUE= + BUILD_IPCMK_FALSE='#' +else + BUILD_IPCMK_TRUE='#' + BUILD_IPCMK_FALSE= +fi + + + +# Check whether --enable-ipcrm was given. +if test "${enable_ipcrm+set}" = set; then : + enableval=$enable_ipcrm; +else + + + if test "x$ul_default_estate" != x; then + enable_ipcrm=$ul_default_estate + else + enable_ipcrm=yes + fi + + +fi + + + + if test "x$enable_ipcrm" = xno; then + build_ipcrm=no +else + build_ipcrm=yes +fi + + if test "x$build_ipcrm" = xyes; then + BUILD_IPCRM_TRUE= + BUILD_IPCRM_FALSE='#' +else + BUILD_IPCRM_TRUE='#' + BUILD_IPCRM_FALSE= +fi + + +# Check whether --enable-ipcs was given. +if test "${enable_ipcs+set}" = set; then : + enableval=$enable_ipcs; +else + + + if test "x$ul_default_estate" != x; then + enable_ipcs=$ul_default_estate + else + enable_ipcs=yes + fi + + +fi + + + + if test "x$enable_ipcs" = xno; then + build_ipcs=no +else + build_ipcs=yes +fi + + if test "x$build_ipcs" = xyes; then + BUILD_IPCS_TRUE= + BUILD_IPCS_FALSE='#' +else + BUILD_IPCS_TRUE='#' + BUILD_IPCS_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_choom=$ul_default_estate + build_choom=yes + if test "x$ul_default_estate" = xno; then + build_choom=no + fi +else + + build_choom=yes + enable_choom=check +fi + + + + if test "x$build_choom" != xno; then + + case $enable_choom:$linux_os in #( + no:*) + build_choom=no ;; + yes:yes) + build_choom=yes ;; + yes:*) + as_fn_error $? "choom selected for non-linux system" "$LINENO" 5;; + check:yes) + build_choom=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building choom" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building choom" >&2;} + build_choom=no ;; + esac + fi + + if test "x$build_choom" = xyes; then + BUILD_CHOOM_TRUE= + BUILD_CHOOM_FALSE='#' +else + BUILD_CHOOM_TRUE='#' + BUILD_CHOOM_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_lsipc=$ul_default_estate + build_lsipc=yes + if test "x$ul_default_estate" = xno; then + build_lsipc=no + fi +else + + build_lsipc=yes + enable_lsipc=check +fi + + + + if test "x$build_lsipc" != xno; then + + case $enable_lsipc:$linux_os in #( + no:*) + build_lsipc=no ;; + yes:yes) + build_lsipc=yes ;; + yes:*) + as_fn_error $? "lsipc selected for non-linux system" "$LINENO" 5;; + check:yes) + build_lsipc=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building lsipc" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building lsipc" >&2;} + build_lsipc=no ;; + esac + fi + + + + + if test "x$build_lsipc" != xno; then + case $enable_lsipc:$build_libsmartcols in #( + no:*) + build_lsipc=no ;; + yes:yes) + build_lsipc=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build lsipc" "$LINENO" 5;; + check:yes) + build_lsipc=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building lsipc" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building lsipc" >&2;} + build_lsipc=no ;; + esac + fi + + if test "x$build_lsipc" = xyes; then + BUILD_LSIPC_TRUE= + BUILD_LSIPC_FALSE='#' +else + BUILD_LSIPC_TRUE='#' + BUILD_LSIPC_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_lsns=$ul_default_estate + build_lsns=yes + if test "x$ul_default_estate" = xno; then + build_lsns=no + fi +else + + build_lsns=yes + enable_lsns=check +fi + + + + if test "x$build_lsns" != xno; then + + case $enable_lsns:$linux_os in #( + no:*) + build_lsns=no ;; + yes:yes) + build_lsns=yes ;; + yes:*) + as_fn_error $? "lsns selected for non-linux system" "$LINENO" 5;; + check:yes) + build_lsns=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building lsns" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building lsns" >&2;} + build_lsns=no ;; + esac + fi + + + + + if test "x$build_lsns" != xno; then + case $enable_lsns:$build_libsmartcols in #( + no:*) + build_lsns=no ;; + yes:yes) + build_lsns=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build lsns" "$LINENO" 5;; + check:yes) + build_lsns=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building lsns" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building lsns" >&2;} + build_lsns=no ;; + esac + fi + + + + + if test "x$build_lsns" != xno; then + case $enable_lsns:$build_libmount in #( + no:*) + build_lsns=no ;; + yes:yes) + build_lsns=yes ;; + yes:*) + as_fn_error $? "libmount is needed to build lsns" "$LINENO" 5;; + check:yes) + build_lsns=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building lsns" >&5 +$as_echo "$as_me: WARNING: libmount disabled; not building lsns" >&2;} + build_lsns=no ;; + esac + fi + + if test "x$build_lsns" = xyes; then + BUILD_LSNS_TRUE= + BUILD_LSNS_FALSE='#' +else + BUILD_LSNS_TRUE='#' + BUILD_LSNS_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_renice=$ul_default_estate + build_renice=yes + if test "x$ul_default_estate" = xno; then + build_renice=no + fi +else + + build_renice=yes + enable_renice=yes +fi + + if test "x$build_renice" = xyes; then + BUILD_RENICE_TRUE= + BUILD_RENICE_FALSE='#' +else + BUILD_RENICE_TRUE='#' + BUILD_RENICE_FALSE= +fi + + + +# Check whether --enable-rfkill was given. +if test "${enable_rfkill+set}" = set; then : + enableval=$enable_rfkill; +else + + + if test "x$ul_default_estate" != x; then + enable_rfkill=$ul_default_estate + else + enable_rfkill=check + fi + + +fi + + + + if test "x$enable_rfkill" = xno; then + build_rfkill=no +else + build_rfkill=yes +fi + + + + if test "x$build_rfkill" != xno; then + + case $enable_rfkill:$linux_os in #( + no:*) + build_rfkill=no ;; + yes:yes) + build_rfkill=yes ;; + yes:*) + as_fn_error $? "rfkill selected for non-linux system" "$LINENO" 5;; + check:yes) + build_rfkill=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building rfkill" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building rfkill" >&2;} + build_rfkill=no ;; + esac + fi + + + + + if test "x$build_rfkill" != xno; then + case $enable_rfkill:$build_libsmartcols in #( + no:*) + build_rfkill=no ;; + yes:yes) + build_rfkill=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build rfkill" "$LINENO" 5;; + check:yes) + build_rfkill=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building rfkill" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building rfkill" >&2;} + build_rfkill=no ;; + esac + fi + + if test "x$build_rfkill" = xyes; then + BUILD_RFKILL_TRUE= + BUILD_RFKILL_FALSE='#' +else + BUILD_RFKILL_TRUE='#' + BUILD_RFKILL_FALSE= +fi + + + + + + if test "x$ul_default_estate" != x; then + enable_setsid=$ul_default_estate + build_setsid=yes + if test "x$ul_default_estate" = xno; then + build_setsid=no + fi +else + + build_setsid=yes + enable_setsid=yes +fi + + if test "x$build_setsid" = xyes; then + BUILD_SETSID_TRUE= + BUILD_SETSID_FALSE='#' +else + BUILD_SETSID_TRUE='#' + BUILD_SETSID_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_readprofile=$ul_default_estate + build_readprofile=yes + if test "x$ul_default_estate" = xno; then + build_readprofile=no + fi +else + + build_readprofile=yes + enable_readprofile=check +fi + + + + if test "x$build_readprofile" != xno; then + + case $enable_readprofile:$linux_os in #( + no:*) + build_readprofile=no ;; + yes:yes) + build_readprofile=yes ;; + yes:*) + as_fn_error $? "readprofile selected for non-linux system" "$LINENO" 5;; + check:yes) + build_readprofile=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building readprofile" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building readprofile" >&2;} + build_readprofile=no ;; + esac + fi + + if test "x$build_readprofile" = xyes; then + BUILD_READPROFILE_TRUE= + BUILD_READPROFILE_FALSE='#' +else + BUILD_READPROFILE_TRUE='#' + BUILD_READPROFILE_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_dmesg=$ul_default_estate + build_dmesg=yes + if test "x$ul_default_estate" = xno; then + build_dmesg=no + fi +else + + build_dmesg=yes + enable_dmesg=check +fi + + + + if test "x$build_dmesg" != xno; then + + case $enable_dmesg:$linux_os in #( + no:*) + build_dmesg=no ;; + yes:yes) + build_dmesg=yes ;; + yes:*) + as_fn_error $? "dmesg selected for non-linux system" "$LINENO" 5;; + check:yes) + build_dmesg=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building dmesg" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building dmesg" >&2;} + build_dmesg=no ;; + esac + fi + + if test "x$build_dmesg" = xyes; then + BUILD_DMESG_TRUE= + BUILD_DMESG_FALSE='#' +else + BUILD_DMESG_TRUE='#' + BUILD_DMESG_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_ctrlaltdel=$ul_default_estate + build_ctrlaltdel=yes + if test "x$ul_default_estate" = xno; then + build_ctrlaltdel=no + fi +else + + build_ctrlaltdel=yes + enable_ctrlaltdel=check +fi + + + + if test "x$build_ctrlaltdel" != xno; then + + case $enable_ctrlaltdel:$linux_os in #( + no:*) + build_ctrlaltdel=no ;; + yes:yes) + build_ctrlaltdel=yes ;; + yes:*) + as_fn_error $? "ctrlaltdel selected for non-linux system" "$LINENO" 5;; + check:yes) + build_ctrlaltdel=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building ctrlaltdel" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building ctrlaltdel" >&2;} + build_ctrlaltdel=no ;; + esac + fi + + + + + if test "x$build_ctrlaltdel" != xno; then + + ul_haveone_ctrlaltdel=no + + if test "x$have_reboot" = xyes; then + ul_haveone_ctrlaltdel=yes + fi + + case $enable_ctrlaltdel:$ul_haveone_ctrlaltdel in #( + no:*) + build_ctrlaltdel=no ;; + yes:yes) + build_ctrlaltdel=yes ;; + yes:*) + as_fn_error $? "ctrlaltdel selected, but required reboot function not available" "$LINENO" 5;; + check:yes) + build_ctrlaltdel=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: reboot function not found; not building ctrlaltdel" >&5 +$as_echo "$as_me: WARNING: reboot function not found; not building ctrlaltdel" >&2;} + build_ctrlaltdel=no ;; + esac + fi + + if test "x$build_ctrlaltdel" = xyes; then + BUILD_CTRLALTDEL_TRUE= + BUILD_CTRLALTDEL_FALSE='#' +else + BUILD_CTRLALTDEL_TRUE='#' + BUILD_CTRLALTDEL_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_fincore=$ul_default_estate + build_fincore=yes + if test "x$ul_default_estate" = xno; then + build_fincore=no + fi +else + + build_fincore=yes + enable_fincore=check +fi + + + + if test "x$build_fincore" != xno; then + + case $enable_fincore:$linux_os in #( + no:*) + build_fincore=no ;; + yes:yes) + build_fincore=yes ;; + yes:*) + as_fn_error $? "fincore selected for non-linux system" "$LINENO" 5;; + check:yes) + build_fincore=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building fincore" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building fincore" >&2;} + build_fincore=no ;; + esac + fi + + + + + if test "x$build_fincore" != xno; then + case $enable_fincore:$build_libsmartcols in #( + no:*) + build_fincore=no ;; + yes:yes) + build_fincore=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build fincore" "$LINENO" 5;; + check:yes) + build_fincore=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building fincore" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building fincore" >&2;} + build_fincore=no ;; + esac + fi + + if test "x$build_fincore" = xyes; then + BUILD_FINCORE_TRUE= + BUILD_FINCORE_FALSE='#' +else + BUILD_FINCORE_TRUE='#' + BUILD_FINCORE_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_fsfreeze=$ul_default_estate + build_fsfreeze=yes + if test "x$ul_default_estate" = xno; then + build_fsfreeze=no + fi +else + + build_fsfreeze=yes + enable_fsfreeze=check +fi + + + + if test "x$build_fsfreeze" != xno; then + + case $enable_fsfreeze:$linux_os in #( + no:*) + build_fsfreeze=no ;; + yes:yes) + build_fsfreeze=yes ;; + yes:*) + as_fn_error $? "fsfreeze selected for non-linux system" "$LINENO" 5;; + check:yes) + build_fsfreeze=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building fsfreeze" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building fsfreeze" >&2;} + build_fsfreeze=no ;; + esac + fi + + if test "x$build_fsfreeze" = xyes; then + BUILD_FSFREEZE_TRUE= + BUILD_FSFREEZE_FALSE='#' +else + BUILD_FSFREEZE_TRUE='#' + BUILD_FSFREEZE_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_blkdiscard=$ul_default_estate + build_blkdiscard=yes + if test "x$ul_default_estate" = xno; then + build_blkdiscard=no + fi +else + + build_blkdiscard=yes + enable_blkdiscard=check +fi + + + + if test "x$build_blkdiscard" != xno; then + + case $enable_blkdiscard:$linux_os in #( + no:*) + build_blkdiscard=no ;; + yes:yes) + build_blkdiscard=yes ;; + yes:*) + as_fn_error $? "blkdiscard selected for non-linux system" "$LINENO" 5;; + check:yes) + build_blkdiscard=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building blkdiscard" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building blkdiscard" >&2;} + build_blkdiscard=no ;; + esac + fi + + if test "x$build_blkdiscard" = xyes; then + BUILD_BLKDISCARD_TRUE= + BUILD_BLKDISCARD_FALSE='#' +else + BUILD_BLKDISCARD_TRUE='#' + BUILD_BLKDISCARD_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_blkzone=$ul_default_estate + build_blkzone=yes + if test "x$ul_default_estate" = xno; then + build_blkzone=no + fi +else + + build_blkzone=yes + enable_blkzone=check +fi + + + + if test "x$build_blkzone" != xno; then + + case $enable_blkzone:$linux_os in #( + no:*) + build_blkzone=no ;; + yes:yes) + build_blkzone=yes ;; + yes:*) + as_fn_error $? "blkzone selected for non-linux system" "$LINENO" 5;; + check:yes) + build_blkzone=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building blkzone" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building blkzone" >&2;} + build_blkzone=no ;; + esac + fi + + + + + if test "x$build_blkzone" != xno; then + + ul_haveone_blkzone=no + + if test "x$have_linux_blkzoned_h" = xyes; then + ul_haveone_blkzone=yes + fi + + case $enable_blkzone:$ul_haveone_blkzone in #( + no:*) + build_blkzone=no ;; + yes:yes) + build_blkzone=yes ;; + yes:*) + as_fn_error $? "blkzone selected, but required linux/blkzoned.h header not available" "$LINENO" 5;; + check:yes) + build_blkzone=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: linux/blkzoned.h header not found; not building blkzone" >&5 +$as_echo "$as_me: WARNING: linux/blkzoned.h header not found; not building blkzone" >&2;} + build_blkzone=no ;; + esac + fi + + if test "x$build_blkzone" = xyes; then + BUILD_BLKZONE_TRUE= + BUILD_BLKZONE_FALSE='#' +else + BUILD_BLKZONE_TRUE='#' + BUILD_BLKZONE_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_ldattach=$ul_default_estate + build_ldattach=yes + if test "x$ul_default_estate" = xno; then + build_ldattach=no + fi +else + + build_ldattach=yes + enable_ldattach=check +fi + + + + if test "x$build_ldattach" != xno; then + + case $enable_ldattach:$linux_os in #( + no:*) + build_ldattach=no ;; + yes:yes) + build_ldattach=yes ;; + yes:*) + as_fn_error $? "ldattach selected for non-linux system" "$LINENO" 5;; + check:yes) + build_ldattach=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building ldattach" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building ldattach" >&2;} + build_ldattach=no ;; + esac + fi + + if test "x$build_ldattach" = xyes; then + BUILD_LDATTACH_TRUE= + BUILD_LDATTACH_FALSE='#' +else + BUILD_LDATTACH_TRUE='#' + BUILD_LDATTACH_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_rtcwake=$ul_default_estate + build_rtcwake=yes + if test "x$ul_default_estate" = xno; then + build_rtcwake=no + fi +else + + build_rtcwake=yes + enable_rtcwake=check +fi + + + + if test "x$build_rtcwake" != xno; then + + case $enable_rtcwake:$linux_os in #( + no:*) + build_rtcwake=no ;; + yes:yes) + build_rtcwake=yes ;; + yes:*) + as_fn_error $? "rtcwake selected for non-linux system" "$LINENO" 5;; + check:yes) + build_rtcwake=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building rtcwake" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building rtcwake" >&2;} + build_rtcwake=no ;; + esac + fi + + if test "x$build_rtcwake" = xyes; then + BUILD_RTCWAKE_TRUE= + BUILD_RTCWAKE_FALSE='#' +else + BUILD_RTCWAKE_TRUE='#' + BUILD_RTCWAKE_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_setarch=$ul_default_estate + build_setarch=yes + if test "x$ul_default_estate" = xno; then + build_setarch=no + fi +else + + build_setarch=yes + enable_setarch=check +fi + + + + if test "x$build_setarch" != xno; then + + case $enable_setarch:$linux_os in #( + no:*) + build_setarch=no ;; + yes:yes) + build_setarch=yes ;; + yes:*) + as_fn_error $? "setarch selected for non-linux system" "$LINENO" 5;; + check:yes) + build_setarch=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building setarch" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building setarch" >&2;} + build_setarch=no ;; + esac + fi + + if test "x$build_setarch" = xyes; then + BUILD_SETARCH_TRUE= + BUILD_SETARCH_FALSE='#' +else + BUILD_SETARCH_TRUE='#' + BUILD_SETARCH_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_script=$ul_default_estate + build_script=yes + if test "x$ul_default_estate" = xno; then + build_script=no + fi +else + + build_script=yes + enable_script=check +fi + + + + + if test "x$build_script" != xno; then + + ul_haveone_script=no + + if test "x$have_sys_signalfd_h" = xyes; then + ul_haveone_script=yes + fi + + case $enable_script:$ul_haveone_script in #( + no:*) + build_script=no ;; + yes:yes) + build_script=yes ;; + yes:*) + as_fn_error $? "script selected, but required sys/signalfd.h header not available" "$LINENO" 5;; + check:yes) + build_script=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/signalfd.h header not found; not building script" >&5 +$as_echo "$as_me: WARNING: sys/signalfd.h header not found; not building script" >&2;} + build_script=no ;; + esac + fi + + if test "x$build_script" = xyes; then + BUILD_SCRIPT_TRUE= + BUILD_SCRIPT_FALSE='#' +else + BUILD_SCRIPT_TRUE='#' + BUILD_SCRIPT_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_scriptreplay=$ul_default_estate + build_scriptreplay=yes + if test "x$ul_default_estate" = xno; then + build_scriptreplay=no + fi +else + + build_scriptreplay=yes + enable_scriptreplay=yes +fi + + if test "x$build_scriptreplay" = xyes; then + BUILD_SCRIPTREPLAY_TRUE= + BUILD_SCRIPTREPLAY_FALSE='#' +else + BUILD_SCRIPTREPLAY_TRUE='#' + BUILD_SCRIPTREPLAY_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_col=$ul_default_estate + build_col=yes + if test "x$ul_default_estate" = xno; then + build_col=no + fi +else + + build_col=yes + enable_col=yes +fi + + if test "x$build_col" = xyes; then + BUILD_COL_TRUE= + BUILD_COL_FALSE='#' +else + BUILD_COL_TRUE='#' + BUILD_COL_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_colcrt=$ul_default_estate + build_colcrt=yes + if test "x$ul_default_estate" = xno; then + build_colcrt=no + fi +else + + build_colcrt=yes + enable_colcrt=yes +fi + + if test "x$build_colcrt" = xyes; then + BUILD_COLCRT_TRUE= + BUILD_COLCRT_FALSE='#' +else + BUILD_COLCRT_TRUE='#' + BUILD_COLCRT_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_colrm=$ul_default_estate + build_colrm=yes + if test "x$ul_default_estate" = xno; then + build_colrm=no + fi +else + + build_colrm=yes + enable_colrm=yes +fi + + if test "x$build_colrm" = xyes; then + BUILD_COLRM_TRUE= + BUILD_COLRM_FALSE='#' +else + BUILD_COLRM_TRUE='#' + BUILD_COLRM_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_column=$ul_default_estate + build_column=yes + if test "x$ul_default_estate" = xno; then + build_column=no + fi +else + + build_column=yes + enable_column=check +fi + + + + + if test "x$build_column" != xno; then + case $enable_column:$build_libsmartcols in #( + no:*) + build_column=no ;; + yes:yes) + build_column=yes ;; + yes:*) + as_fn_error $? "libsmartcols is needed to build column" "$LINENO" 5;; + check:yes) + build_column=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsmartcols disabled; not building column" >&5 +$as_echo "$as_me: WARNING: libsmartcols disabled; not building column" >&2;} + build_column=no ;; + esac + fi + + if test "x$build_column" = xyes; then + BUILD_COLUMN_TRUE= + BUILD_COLUMN_FALSE='#' +else + BUILD_COLUMN_TRUE='#' + BUILD_COLUMN_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_hexdump=$ul_default_estate + build_hexdump=yes + if test "x$ul_default_estate" = xno; then + build_hexdump=no + fi +else + + build_hexdump=yes + enable_hexdump=yes +fi + + if test "x$build_hexdump" = xyes; then + BUILD_HEXDUMP_TRUE= + BUILD_HEXDUMP_FALSE='#' +else + BUILD_HEXDUMP_TRUE='#' + BUILD_HEXDUMP_FALSE= +fi + + + + + if test "x$ul_default_estate" != x; then + enable_rev=$ul_default_estate + build_rev=yes + if test "x$ul_default_estate" = xno; then + build_rev=no + fi +else + + build_rev=yes + enable_rev=yes +fi + + if test "x$build_rev" = xyes; then + BUILD_REV_TRUE= + BUILD_REV_FALSE='#' +else + BUILD_REV_TRUE='#' + BUILD_REV_FALSE= +fi + + + +# Check whether --enable-tunelp was given. +if test "${enable_tunelp+set}" = set; then : + enableval=$enable_tunelp; +else + + + if test "x$ul_default_estate" != x; then + enable_tunelp=$ul_default_estate + else + enable_tunelp=no + fi + + +fi + + + + if test "x$enable_tunelp" = xno; then + build_tunelp=no +else + build_tunelp=yes +fi + + + + if test "x$build_tunelp" != xno; then + + case $enable_tunelp:$linux_os in #( + no:*) + build_tunelp=no ;; + yes:yes) + build_tunelp=yes ;; + yes:*) + as_fn_error $? "tunelp selected for non-linux system" "$LINENO" 5;; + check:yes) + build_tunelp=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building tunelp" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building tunelp" >&2;} + build_tunelp=no ;; + esac + fi + + if test "x$build_tunelp" = xyes; then + BUILD_TUNELP_TRUE= + BUILD_TUNELP_FALSE='#' +else + BUILD_TUNELP_TRUE='#' + BUILD_TUNELP_FALSE= +fi + + + +# Check whether --enable-kill was given. +if test "${enable_kill+set}" = set; then : + enableval=$enable_kill; +else + + + if test "x$ul_default_estate" != x; then + enable_kill=$ul_default_estate + else + enable_kill=check + fi + + +fi + + + + if test "x$enable_kill" = xno; then + build_kill=no +else + build_kill=yes +fi + + + + if test "x$build_kill" != xno; then + + case $enable_kill:$linux_os in #( + no:*) + build_kill=no ;; + yes:yes) + build_kill=yes ;; + yes:*) + as_fn_error $? "kill selected for non-linux system" "$LINENO" 5;; + check:yes) + build_kill=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building kill" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building kill" >&2;} + build_kill=no ;; + esac + fi + + if test "x$build_kill" = xyes; then + BUILD_KILL_TRUE= + BUILD_KILL_FALSE='#' +else + BUILD_KILL_TRUE='#' + BUILD_KILL_FALSE= +fi + + + +# Check whether --enable-last was given. +if test "${enable_last+set}" = set; then : + enableval=$enable_last; +else + + + if test "x$ul_default_estate" != x; then + enable_last=$ul_default_estate + else + enable_last=check + fi + + +fi + + + + if test "x$enable_last" = xno; then + build_last=no +else + build_last=yes +fi + + + + + if test "x$build_last" != xno; then + + ul_haveone_last=no + + if test "x$have_utmpx_h" = xyes; then + ul_haveone_last=yes + fi + + case $enable_last:$ul_haveone_last in #( + no:*) + build_last=no ;; + yes:yes) + build_last=yes ;; + yes:*) + as_fn_error $? "last selected, but required utmpx.h header not available" "$LINENO" 5;; + check:yes) + build_last=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: utmpx.h header not found; not building last" >&5 +$as_echo "$as_me: WARNING: utmpx.h header not found; not building last" >&2;} + build_last=no ;; + esac + fi + + + + + if test "x$build_last" != xno; then + + ul_haveone_last=no + + if test "x$have_gnu_utmpx" = xyes; then + ul_haveone_last=yes + fi + + case $enable_last:$ul_haveone_last in #( + no:*) + build_last=no ;; + yes:yes) + build_last=yes ;; + yes:*) + as_fn_error $? "last selected, but required GNU utmpx functions not available" "$LINENO" 5;; + check:yes) + build_last=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU utmpx functions not found; not building last" >&5 +$as_echo "$as_me: WARNING: GNU utmpx functions not found; not building last" >&2;} + build_last=no ;; + esac + fi + + if test "x$build_last" = xyes; then + BUILD_LAST_TRUE= + BUILD_LAST_FALSE='#' +else + BUILD_LAST_TRUE='#' + BUILD_LAST_FALSE= +fi + + + +# Check whether --enable-utmpdump was given. +if test "${enable_utmpdump+set}" = set; then : + enableval=$enable_utmpdump; +else + + + if test "x$ul_default_estate" != x; then + enable_utmpdump=$ul_default_estate + else + enable_utmpdump=check + fi + + +fi + + + + if test "x$enable_utmpdump" = xno; then + build_utmpdump=no +else + build_utmpdump=yes +fi + + + + + if test "x$build_utmpdump" != xno; then + + ul_haveone_utmpdump=no + + if test "x$have_utmpx_h" = xyes; then + ul_haveone_utmpdump=yes + fi + + case $enable_utmpdump:$ul_haveone_utmpdump in #( + no:*) + build_utmpdump=no ;; + yes:yes) + build_utmpdump=yes ;; + yes:*) + as_fn_error $? "utmpdump selected, but required utmpx.h header not available" "$LINENO" 5;; + check:yes) + build_utmpdump=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: utmpx.h header not found; not building utmpdump" >&5 +$as_echo "$as_me: WARNING: utmpx.h header not found; not building utmpdump" >&2;} + build_utmpdump=no ;; + esac + fi + + + + + if test "x$build_utmpdump" != xno; then + + ul_haveone_utmpdump=no + + if test "x$have_gnu_utmpx" = xyes; then + ul_haveone_utmpdump=yes + fi + + case $enable_utmpdump:$ul_haveone_utmpdump in #( + no:*) + build_utmpdump=no ;; + yes:yes) + build_utmpdump=yes ;; + yes:*) + as_fn_error $? "utmpdump selected, but required GNU utmpx functions not available" "$LINENO" 5;; + check:yes) + build_utmpdump=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU utmpx functions not found; not building utmpdump" >&5 +$as_echo "$as_me: WARNING: GNU utmpx functions not found; not building utmpdump" >&2;} + build_utmpdump=no ;; + esac + fi + + if test "x$build_utmpdump" = xyes; then + BUILD_UTMPDUMP_TRUE= + BUILD_UTMPDUMP_FALSE='#' +else + BUILD_UTMPDUMP_TRUE='#' + BUILD_UTMPDUMP_FALSE= +fi + + + +# Check whether --enable-line was given. +if test "${enable_line+set}" = set; then : + enableval=$enable_line; +else + + + if test "x$ul_default_estate" != x; then + enable_line=$ul_default_estate + else + enable_line=no + fi + + +fi + + + + if test "x$enable_line" = xno; then + build_line=no +else + build_line=yes +fi + + if test "x$build_line" = xyes; then + BUILD_LINE_TRUE= + BUILD_LINE_FALSE='#' +else + BUILD_LINE_TRUE='#' + BUILD_LINE_FALSE= +fi + + + +# Check whether --enable-mesg was given. +if test "${enable_mesg+set}" = set; then : + enableval=$enable_mesg; +else + + + if test "x$ul_default_estate" != x; then + enable_mesg=$ul_default_estate + else + enable_mesg=yes + fi + + +fi + + + + if test "x$enable_mesg" = xno; then + build_mesg=no +else + build_mesg=yes +fi + + if test "x$build_mesg" = xyes; then + BUILD_MESG_TRUE= + BUILD_MESG_FALSE='#' +else + BUILD_MESG_TRUE='#' + BUILD_MESG_FALSE= +fi + + + +# Check whether --enable-raw was given. +if test "${enable_raw+set}" = set; then : + enableval=$enable_raw; +else + + + if test "x$ul_default_estate" != x; then + enable_raw=$ul_default_estate + else + enable_raw=check + fi + + +fi + + + + if test "x$enable_raw" = xno; then + build_raw=no +else + build_raw=yes +fi + + + + if test "x$build_raw" != xno; then + + case $enable_raw:$linux_os in #( + no:*) + build_raw=no ;; + yes:yes) + build_raw=yes ;; + yes:*) + as_fn_error $? "raw selected for non-linux system" "$LINENO" 5;; + check:yes) + build_raw=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building raw" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building raw" >&2;} + build_raw=no ;; + esac + fi + + + + + if test "x$build_raw" != xno; then + + ul_haveone_raw=no + + if test "x$have_linux_raw_h" = xyes; then + ul_haveone_raw=yes + fi + + case $enable_raw:$ul_haveone_raw in #( + no:*) + build_raw=no ;; + yes:yes) + build_raw=yes ;; + yes:*) + as_fn_error $? "raw selected, but required raw.h header file not available" "$LINENO" 5;; + check:yes) + build_raw=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: raw.h header file not found; not building raw" >&5 +$as_echo "$as_me: WARNING: raw.h header file not found; not building raw" >&2;} + build_raw=no ;; + esac + fi + + if test "x$build_raw" = xyes; then + BUILD_RAW_TRUE= + BUILD_RAW_FALSE='#' +else + BUILD_RAW_TRUE='#' + BUILD_RAW_FALSE= +fi + + + +# Check whether --enable-rename was given. +if test "${enable_rename+set}" = set; then : + enableval=$enable_rename; +else + + + if test "x$ul_default_estate" != x; then + enable_rename=$ul_default_estate + else + enable_rename=yes + fi + + +fi + + + + if test "x$enable_rename" = xno; then + build_rename=no +else + build_rename=yes +fi + + if test "x$build_rename" = xyes; then + BUILD_RENAME_TRUE= + BUILD_RENAME_FALSE='#' +else + BUILD_RENAME_TRUE='#' + BUILD_RENAME_FALSE= +fi + + + +# Check whether --enable-vipw was given. +if test "${enable_vipw+set}" = set; then : + enableval=$enable_vipw; +else + + + if test "x$ul_default_estate" != x; then + enable_vipw=$ul_default_estate + else + enable_vipw=no + fi + + +fi + + + + if test "x$enable_vipw" = xno; then + build_vipw=no +else + build_vipw=yes +fi + + + + + if test "x$build_vipw" != xno; then + + ul_haveone_vipw=no + + if test "x$have_shadow_h" = xyes; then + ul_haveone_vipw=yes + fi + + case $enable_vipw:$ul_haveone_vipw in #( + no:*) + build_vipw=no ;; + yes:yes) + build_vipw=yes ;; + yes:*) + as_fn_error $? "vipw selected, but required shadow.h header not available" "$LINENO" 5;; + check:yes) + build_vipw=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: shadow.h header not found; not building vipw" >&5 +$as_echo "$as_me: WARNING: shadow.h header not found; not building vipw" >&2;} + build_vipw=no ;; + esac + fi + + if test "x$build_vipw" = xyes; then + BUILD_VIPW_TRUE= + BUILD_VIPW_FALSE='#' +else + BUILD_VIPW_TRUE='#' + BUILD_VIPW_FALSE= +fi + + + +# Check whether --enable-newgrp was given. +if test "${enable_newgrp+set}" = set; then : + enableval=$enable_newgrp; +else + + + if test "x$ul_default_estate" != x; then + enable_newgrp=$ul_default_estate + else + enable_newgrp=no + fi + + +fi + + + + if test "x$enable_newgrp" = xno; then + build_newgrp=no +else + build_newgrp=yes +fi + + + + + if test "x$build_newgrp" != xno; then + + ul_haveone_newgrp=no + + if test "x$have_crypt" = xyes; then + ul_haveone_newgrp=yes + fi + + case $enable_newgrp:$ul_haveone_newgrp in #( + no:*) + build_newgrp=no ;; + yes:yes) + build_newgrp=yes ;; + yes:*) + as_fn_error $? "newgrp selected, but required crypt function not available" "$LINENO" 5;; + check:yes) + build_newgrp=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: crypt function not found; not building newgrp" >&5 +$as_echo "$as_me: WARNING: crypt function not found; not building newgrp" >&2;} + build_newgrp=no ;; + esac + fi + + if test "x$build_newgrp" = xyes; then + BUILD_NEWGRP_TRUE= + BUILD_NEWGRP_FALSE='#' +else + BUILD_NEWGRP_TRUE='#' + BUILD_NEWGRP_FALSE= +fi + + + + +# Check whether --with-user was given. +if test "${with_user+set}" = set; then : + withval=$with_user; +else + with_user=check + +fi + +have_user=no +if test "x$with_user" != xno; then : + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUSER" >&5 +$as_echo_n "checking for LIBUSER... " >&6; } + +if test -n "$LIBUSER_CFLAGS"; then + pkg_cv_LIBUSER_CFLAGS="$LIBUSER_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuser >= 0.58\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libuser >= 0.58") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_LIBUSER_CFLAGS=`$PKG_CONFIG --cflags "libuser >= 0.58" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$LIBUSER_LIBS"; then + pkg_cv_LIBUSER_LIBS="$LIBUSER_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuser >= 0.58\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libuser >= 0.58") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_LIBUSER_LIBS=`$PKG_CONFIG --libs "libuser >= 0.58" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + LIBUSER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuser >= 0.58" 2>&1` + else + LIBUSER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuser >= 0.58" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$LIBUSER_PKG_ERRORS" >&5 + + have_user=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_user=no +else + LIBUSER_CFLAGS=$pkg_cv_LIBUSER_CFLAGS + LIBUSER_LIBS=$pkg_cv_LIBUSER_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_user=yes +fi + case $with_user:$have_user in #( + yes:no) : + as_fn_error $? "user selected but libuser not found" "$LINENO" 5 ;; #( + *:yes) : + +$as_echo "#define HAVE_LIBUSER 1" >>confdefs.h + + ;; #( + *) : + ;; +esac + # temporary solution, libuser has stupid .pc where are exported all + # private dependencies to Requires: instead of Requires.private: + if test "x$have_user" = xyes; then : + + LIBUSER_LIBS=-luser + +fi + +fi + if test "x$have_user" = xyes; then + HAVE_USER_TRUE= + HAVE_USER_FALSE='#' +else + HAVE_USER_TRUE='#' + HAVE_USER_FALSE= +fi + + +# Check whether --enable-chfn-chsh-password was given. +if test "${enable_chfn_chsh_password+set}" = set; then : + enableval=$enable_chfn_chsh_password; +else + enable_chfn_chsh_password=yes + +fi + + +# Check whether --enable-chfn-chsh was given. +if test "${enable_chfn_chsh+set}" = set; then : + enableval=$enable_chfn_chsh; +else + + + if test "x$ul_default_estate" != x; then + enable_chfn_chsh=$ul_default_estate + else + enable_chfn_chsh=check + fi + + +fi + + + + if test "x$enable_chfn_chsh" = xno; then + build_chfn_chsh=no +else + build_chfn_chsh=yes +fi + + + + + if test "x$build_chfn_chsh" != xno; then + + ul_haveone_chfn_chsh=no + + if test "x$have_shadow_h" = xyes; then + ul_haveone_chfn_chsh=yes + fi + + case $enable_chfn_chsh:$ul_haveone_chfn_chsh in #( + no:*) + build_chfn_chsh=no ;; + yes:yes) + build_chfn_chsh=yes ;; + yes:*) + as_fn_error $? "chfn_chsh selected, but required shadow.h header not available" "$LINENO" 5;; + check:yes) + build_chfn_chsh=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: shadow.h header not found; not building chfn_chsh" >&5 +$as_echo "$as_me: WARNING: shadow.h header not found; not building chfn_chsh" >&2;} + build_chfn_chsh=no ;; + esac + fi + + + + + if test "x$build_chfn_chsh" != xno; then + + ul_haveone_chfn_chsh=no + + if test "x$have_getusershell" = xyes; then + ul_haveone_chfn_chsh=yes + fi + + case $enable_chfn_chsh:$ul_haveone_chfn_chsh in #( + no:*) + build_chfn_chsh=no ;; + yes:yes) + build_chfn_chsh=yes ;; + yes:*) + as_fn_error $? "chfn_chsh selected, but required getusershell function not available" "$LINENO" 5;; + check:yes) + build_chfn_chsh=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: getusershell function not found; not building chfn_chsh" >&5 +$as_echo "$as_me: WARNING: getusershell function not found; not building chfn_chsh" >&2;} + build_chfn_chsh=no ;; + esac + fi + + +if test "x$enable_chfn_chsh_password" = xyes -o "x$have_user" = xyes; then : + + + + + if test "x$build_chfn_chsh" != xno; then + + ul_haveone_chfn_chsh=no + + if test "x$have_security_pam_appl_h" = xyes; then + ul_haveone_chfn_chsh=yes + fi + + case $enable_chfn_chsh:$ul_haveone_chfn_chsh in #( + no:*) + build_chfn_chsh=no ;; + yes:yes) + build_chfn_chsh=yes ;; + yes:*) + as_fn_error $? "chfn_chsh selected, but required PAM header file not available" "$LINENO" 5;; + check:yes) + build_chfn_chsh=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PAM header file not found; not building chfn_chsh" >&5 +$as_echo "$as_me: WARNING: PAM header file not found; not building chfn_chsh" >&2;} + build_chfn_chsh=no ;; + esac + fi + + +$as_echo "#define CHFN_CHSH_PASSWORD 1" >>confdefs.h + + +fi + if test "x$build_chfn_chsh" = xyes; then + BUILD_CHFN_CHSH_TRUE= + BUILD_CHFN_CHSH_FALSE='#' +else + BUILD_CHFN_CHSH_TRUE='#' + BUILD_CHFN_CHSH_FALSE= +fi + + if test "x$enable_chfn_chsh_password" = xyes; then + CHFN_CHSH_PASSWORD_TRUE= + CHFN_CHSH_PASSWORD_FALSE='#' +else + CHFN_CHSH_PASSWORD_TRUE='#' + CHFN_CHSH_PASSWORD_FALSE= +fi + + +# Check whether --enable-chsh-only-listed was given. +if test "${enable_chsh_only_listed+set}" = set; then : + enableval=$enable_chsh_only_listed; +else + enable_chsh_only_listed=yes + +fi + + +if test "x$enable_chsh_only_listed" = xyes; then : + + +$as_echo "#define ONLY_LISTED_SHELLS 1" >>confdefs.h + + +fi + + +# Check whether --enable-login was given. +if test "${enable_login+set}" = set; then : + enableval=$enable_login; +else + + + if test "x$ul_default_estate" != x; then + enable_login=$ul_default_estate + else + enable_login=check + fi + + +fi + + + + if test "x$enable_login" = xno; then + build_login=no +else + build_login=yes +fi + + + + + if test "x$build_login" != xno; then + + ul_haveone_login=no + + if test "x$have_security_pam_appl_h" = xyes; then + ul_haveone_login=yes + fi + + case $enable_login:$ul_haveone_login in #( + no:*) + build_login=no ;; + yes:yes) + build_login=yes ;; + yes:*) + as_fn_error $? "login selected, but required PAM header file not available" "$LINENO" 5;; + check:yes) + build_login=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PAM header file not found; not building login" >&5 +$as_echo "$as_me: WARNING: PAM header file not found; not building login" >&2;} + build_login=no ;; + esac + fi + + + + + if test "x$build_login" != xno; then + + ul_haveone_login=no + + if test "x$have_security_pam_misc_h" = xyes; then + ul_haveone_login=yes + fi + + if test "x$have_security_openpam_h" = xyes; then + ul_haveone_login=yes + fi + + case $enable_login:$ul_haveone_login in #( + no:*) + build_login=no ;; + yes:yes) + build_login=yes ;; + yes:*) + as_fn_error $? "login selected, but required PAM conversation functions not available" "$LINENO" 5;; + check:yes) + build_login=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PAM conversation functions not found; not building login" >&5 +$as_echo "$as_me: WARNING: PAM conversation functions not found; not building login" >&2;} + build_login=no ;; + esac + fi + + + + + if test "x$build_login" != xno; then + + ul_haveone_login=no + + if test "x$have_utmpx_h" = xyes; then + ul_haveone_login=yes + fi + + case $enable_login:$ul_haveone_login in #( + no:*) + build_login=no ;; + yes:yes) + build_login=yes ;; + yes:*) + as_fn_error $? "login selected, but required utmpx.h header not available" "$LINENO" 5;; + check:yes) + build_login=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: utmpx.h header not found; not building login" >&5 +$as_echo "$as_me: WARNING: utmpx.h header not found; not building login" >&2;} + build_login=no ;; + esac + fi + + + + + if test "x$build_login" != xno; then + + ul_haveone_login=no + + if test "x$have_gnu_utmpx" = xyes; then + ul_haveone_login=yes + fi + + case $enable_login:$ul_haveone_login in #( + no:*) + build_login=no ;; + yes:yes) + build_login=yes ;; + yes:*) + as_fn_error $? "login selected, but required GNU utmpx functions not available" "$LINENO" 5;; + check:yes) + build_login=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU utmpx functions not found; not building login" >&5 +$as_echo "$as_me: WARNING: GNU utmpx functions not found; not building login" >&2;} + build_login=no ;; + esac + fi + + if test "x$build_login" = xyes; then + BUILD_LOGIN_TRUE= + BUILD_LOGIN_FALSE='#' +else + BUILD_LOGIN_TRUE='#' + BUILD_LOGIN_FALSE= +fi + + +# Check whether --enable-login-chown-vcs was given. +if test "${enable_login_chown_vcs+set}" = set; then : + enableval=$enable_login_chown_vcs; +else + enable_login_chown_vcs=no + +fi + + +if test "x$enable_login_chown_vcs" = xyes; then : + + +$as_echo "#define LOGIN_CHOWN_VCS 1" >>confdefs.h + + +fi + +# Check whether --enable-login-stat-mail was given. +if test "${enable_login_stat_mail+set}" = set; then : + enableval=$enable_login_stat_mail; +else + enable_login_stat_mail=no + +fi + + +if test "x$enable_login_stat_mail" = xyes; then : + + +$as_echo "#define LOGIN_STAT_MAIL 1" >>confdefs.h + + +fi + + +# Check whether --enable-nologin was given. +if test "${enable_nologin+set}" = set; then : + enableval=$enable_nologin; +else + + + if test "x$ul_default_estate" != x; then + enable_nologin=$ul_default_estate + else + enable_nologin=yes + fi + + +fi + + + + if test "x$enable_nologin" = xno; then + build_nologin=no +else + build_nologin=yes +fi + + if test "x$build_nologin" = xyes; then + BUILD_NOLOGIN_TRUE= + BUILD_NOLOGIN_FALSE='#' +else + BUILD_NOLOGIN_TRUE='#' + BUILD_NOLOGIN_FALSE= +fi + + + +# Check whether --enable-sulogin was given. +if test "${enable_sulogin+set}" = set; then : + enableval=$enable_sulogin; +else + + + if test "x$ul_default_estate" != x; then + enable_sulogin=$ul_default_estate + else + enable_sulogin=check + fi + + +fi + + + + if test "x$enable_sulogin" = xno; then + build_sulogin=no +else + build_sulogin=yes +fi + + + + + if test "x$build_sulogin" != xno; then + + ul_haveone_sulogin=no + + if test "x$have_crypt" = xyes; then + ul_haveone_sulogin=yes + fi + + case $enable_sulogin:$ul_haveone_sulogin in #( + no:*) + build_sulogin=no ;; + yes:yes) + build_sulogin=yes ;; + yes:*) + as_fn_error $? "sulogin selected, but required crypt function not available" "$LINENO" 5;; + check:yes) + build_sulogin=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: crypt function not found; not building sulogin" >&5 +$as_echo "$as_me: WARNING: crypt function not found; not building sulogin" >&2;} + build_sulogin=no ;; + esac + fi + + + + + if test "x$build_sulogin" != xno; then + + ul_haveone_sulogin=no + + if test "x$have_shadow_h" = xyes; then + ul_haveone_sulogin=yes + fi + + case $enable_sulogin:$ul_haveone_sulogin in #( + no:*) + build_sulogin=no ;; + yes:yes) + build_sulogin=yes ;; + yes:*) + as_fn_error $? "sulogin selected, but required shadow.h header not available" "$LINENO" 5;; + check:yes) + build_sulogin=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: shadow.h header not found; not building sulogin" >&5 +$as_echo "$as_me: WARNING: shadow.h header not found; not building sulogin" >&2;} + build_sulogin=no ;; + esac + fi + + if test "x$build_sulogin" = xyes; then + BUILD_SULOGIN_TRUE= + BUILD_SULOGIN_FALSE='#' +else + BUILD_SULOGIN_TRUE='#' + BUILD_SULOGIN_FALSE= +fi + + + +# Check whether --enable-su was given. +if test "${enable_su+set}" = set; then : + enableval=$enable_su; +else + + + if test "x$ul_default_estate" != x; then + enable_su=$ul_default_estate + else + enable_su=check + fi + + +fi + + + + if test "x$enable_su" = xno; then + build_su=no +else + build_su=yes +fi + + + + + if test "x$build_su" != xno; then + + ul_haveone_su=no + + if test "x$have_security_pam_appl_h" = xyes; then + ul_haveone_su=yes + fi + + case $enable_su:$ul_haveone_su in #( + no:*) + build_su=no ;; + yes:yes) + build_su=yes ;; + yes:*) + as_fn_error $? "su selected, but required PAM header file not available" "$LINENO" 5;; + check:yes) + build_su=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PAM header file not found; not building su" >&5 +$as_echo "$as_me: WARNING: PAM header file not found; not building su" >&2;} + build_su=no ;; + esac + fi + + + + + if test "x$build_su" != xno; then + + ul_haveone_su=no + + if test "x$have_utmpx_h" = xyes; then + ul_haveone_su=yes + fi + + case $enable_su:$ul_haveone_su in #( + no:*) + build_su=no ;; + yes:yes) + build_su=yes ;; + yes:*) + as_fn_error $? "su selected, but required utmpx.h header not available" "$LINENO" 5;; + check:yes) + build_su=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: utmpx.h header not found; not building su" >&5 +$as_echo "$as_me: WARNING: utmpx.h header not found; not building su" >&2;} + build_su=no ;; + esac + fi + + + + + if test "x$build_su" != xno; then + + ul_haveone_su=no + + if test "x$have_gnu_utmpx" = xyes; then + ul_haveone_su=yes + fi + + case $enable_su:$ul_haveone_su in #( + no:*) + build_su=no ;; + yes:yes) + build_su=yes ;; + yes:*) + as_fn_error $? "su selected, but required GNU utmpx functions not available" "$LINENO" 5;; + check:yes) + build_su=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU utmpx functions not found; not building su" >&5 +$as_echo "$as_me: WARNING: GNU utmpx functions not found; not building su" >&2;} + build_su=no ;; + esac + fi + + if test "x$build_su" = xyes; then + BUILD_SU_TRUE= + BUILD_SU_FALSE='#' +else + BUILD_SU_TRUE='#' + BUILD_SU_FALSE= +fi + + + +# Check whether --enable-runuser was given. +if test "${enable_runuser+set}" = set; then : + enableval=$enable_runuser; +else + + + if test "x$ul_default_estate" != x; then + enable_runuser=$ul_default_estate + else + enable_runuser=check + fi + + +fi + + + + if test "x$enable_runuser" = xno; then + build_runuser=no +else + build_runuser=yes +fi + + + + + if test "x$build_runuser" != xno; then + + ul_haveone_runuser=no + + if test "x$have_security_pam_appl_h" = xyes; then + ul_haveone_runuser=yes + fi + + case $enable_runuser:$ul_haveone_runuser in #( + no:*) + build_runuser=no ;; + yes:yes) + build_runuser=yes ;; + yes:*) + as_fn_error $? "runuser selected, but required PAM header file not available" "$LINENO" 5;; + check:yes) + build_runuser=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PAM header file not found; not building runuser" >&5 +$as_echo "$as_me: WARNING: PAM header file not found; not building runuser" >&2;} + build_runuser=no ;; + esac + fi + + + + + if test "x$build_runuser" != xno; then + + ul_haveone_runuser=no + + if test "x$have_utmpx_h" = xyes; then + ul_haveone_runuser=yes + fi + + case $enable_runuser:$ul_haveone_runuser in #( + no:*) + build_runuser=no ;; + yes:yes) + build_runuser=yes ;; + yes:*) + as_fn_error $? "runuser selected, but required utmpx.h header not available" "$LINENO" 5;; + check:yes) + build_runuser=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: utmpx.h header not found; not building runuser" >&5 +$as_echo "$as_me: WARNING: utmpx.h header not found; not building runuser" >&2;} + build_runuser=no ;; + esac + fi + + + + + if test "x$build_runuser" != xno; then + + ul_haveone_runuser=no + + if test "x$have_gnu_utmpx" = xyes; then + ul_haveone_runuser=yes + fi + + case $enable_runuser:$ul_haveone_runuser in #( + no:*) + build_runuser=no ;; + yes:yes) + build_runuser=yes ;; + yes:*) + as_fn_error $? "runuser selected, but required GNU utmpx functions not available" "$LINENO" 5;; + check:yes) + build_runuser=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU utmpx functions not found; not building runuser" >&5 +$as_echo "$as_me: WARNING: GNU utmpx functions not found; not building runuser" >&2;} + build_runuser=no ;; + esac + fi + + if test "x$build_runuser" = xyes; then + BUILD_RUNUSER_TRUE= + BUILD_RUNUSER_FALSE='#' +else + BUILD_RUNUSER_TRUE='#' + BUILD_RUNUSER_FALSE= +fi + + + +# Check whether --enable-ul was given. +if test "${enable_ul+set}" = set; then : + enableval=$enable_ul; +else + + + if test "x$ul_default_estate" != x; then + enable_ul=$ul_default_estate + else + enable_ul=check + fi + + +fi + + + + if test "x$enable_ul" = xno; then + build_ul=no +else + build_ul=yes +fi + + + + + if test "x$build_ul" != xno; then + + ul_haveone_ul=no + + if test "x$have_ncursesw" = xyes; then + ul_haveone_ul=yes + fi + + if test "x$have_ncurses" = xyes; then + ul_haveone_ul=yes + fi + + case $enable_ul:$ul_haveone_ul in #( + no:*) + build_ul=no ;; + yes:yes) + build_ul=yes ;; + yes:*) + as_fn_error $? "ul selected, but required ncursesw or ncurses libraries not available" "$LINENO" 5;; + check:yes) + build_ul=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncursesw or ncurses libraries not found; not building ul" >&5 +$as_echo "$as_me: WARNING: ncursesw or ncurses libraries not found; not building ul" >&2;} + build_ul=no ;; + esac + fi + + if test "x$build_ul" = xyes; then + BUILD_UL_TRUE= + BUILD_UL_FALSE='#' +else + BUILD_UL_TRUE='#' + BUILD_UL_FALSE= +fi + + + +# Check whether --enable-more was given. +if test "${enable_more+set}" = set; then : + enableval=$enable_more; +else + + + if test "x$ul_default_estate" != x; then + enable_more=$ul_default_estate + else + enable_more=check + fi + + +fi + + + + if test "x$enable_more" = xno; then + build_more=no +else + build_more=yes +fi + + + + + if test "x$build_more" != xno; then + + ul_haveone_more=no + + if test "x$have_ncursesw" = xyes; then + ul_haveone_more=yes + fi + + if test "x$have_ncurses" = xyes; then + ul_haveone_more=yes + fi + + case $enable_more:$ul_haveone_more in #( + no:*) + build_more=no ;; + yes:yes) + build_more=yes ;; + yes:*) + as_fn_error $? "more selected, but required ncursesw or ncurses libraries not available" "$LINENO" 5;; + check:yes) + build_more=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncursesw or ncurses libraries not found; not building more" >&5 +$as_echo "$as_me: WARNING: ncursesw or ncurses libraries not found; not building more" >&2;} + build_more=no ;; + esac + fi + + if test "x$build_more" = xyes; then + BUILD_MORE_TRUE= + BUILD_MORE_FALSE='#' +else + BUILD_MORE_TRUE='#' + BUILD_MORE_FALSE= +fi + + + +# Check whether --enable-pg was given. +if test "${enable_pg+set}" = set; then : + enableval=$enable_pg; +else + + + if test "x$ul_default_estate" != x; then + enable_pg=$ul_default_estate + else + enable_pg=no + fi + + +fi + + + + if test "x$enable_pg" = xno; then + build_pg=no +else + build_pg=yes +fi + + + + + if test "x$build_pg" != xno; then + + ul_haveone_pg=no + + if test "x$have_ncursesw" = xyes; then + ul_haveone_pg=yes + fi + + if test "x$have_ncurses" = xyes; then + ul_haveone_pg=yes + fi + + case $enable_pg:$ul_haveone_pg in #( + no:*) + build_pg=no ;; + yes:yes) + build_pg=yes ;; + yes:*) + as_fn_error $? "pg selected, but required ncursesw or ncurses library not available" "$LINENO" 5;; + check:yes) + build_pg=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncursesw or ncurses library not found; not building pg" >&5 +$as_echo "$as_me: WARNING: ncursesw or ncurses library not found; not building pg" >&2;} + build_pg=no ;; + esac + fi + + if test "x$build_pg" = xyes; then + BUILD_PG_TRUE= + BUILD_PG_FALSE='#' +else + BUILD_PG_TRUE='#' + BUILD_PG_FALSE= +fi + + + +# Check whether --enable-setterm was given. +if test "${enable_setterm+set}" = set; then : + enableval=$enable_setterm; +else + + + if test "x$ul_default_estate" != x; then + enable_setterm=$ul_default_estate + else + enable_setterm=check + fi + + +fi + + + + if test "x$enable_setterm" = xno; then + build_setterm=no +else + build_setterm=yes +fi + + + + if test "x$build_setterm" != xno; then + + case $enable_setterm:$linux_os in #( + no:*) + build_setterm=no ;; + yes:yes) + build_setterm=yes ;; + yes:*) + as_fn_error $? "setterm selected for non-linux system" "$LINENO" 5;; + check:yes) + build_setterm=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; not building setterm" >&5 +$as_echo "$as_me: WARNING: non-linux system; not building setterm" >&2;} + build_setterm=no ;; + esac + fi + + + + + if test "x$build_setterm" != xno; then + + ul_haveone_setterm=no + + if test "x$have_ncursesw" = xyes; then + ul_haveone_setterm=yes + fi + + if test "x$have_ncurses" = xyes; then + ul_haveone_setterm=yes + fi + + case $enable_setterm:$ul_haveone_setterm in #( + no:*) + build_setterm=no ;; + yes:yes) + build_setterm=yes ;; + yes:*) + as_fn_error $? "setterm selected, but required ncursesw or ncurses library not available" "$LINENO" 5;; + check:yes) + build_setterm=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncursesw or ncurses library not found; not building setterm" >&5 +$as_echo "$as_me: WARNING: ncursesw or ncurses library not found; not building setterm" >&2;} + build_setterm=no ;; + esac + fi + + if test "x$build_setterm" = xyes; then + BUILD_SETTERM_TRUE= + BUILD_SETTERM_FALSE='#' +else + BUILD_SETTERM_TRUE='#' + BUILD_SETTERM_FALSE= +fi + + +# build_schedutils= is just configure-only variable to control +# ionice, taskset and chrt +# Check whether --enable-schedutils was given. +if test "${enable_schedutils+set}" = set; then : + enableval=$enable_schedutils; +else + + + if test "x$ul_default_estate" != x; then + enable_schedutils=$ul_default_estate + else + enable_schedutils=check + fi + + +fi + + + + + + + + enable_ionice=$enable_schedutils + + + + if test "x$enable_ionice" = xno; then + build_ionice=no +else + build_ionice=yes +fi + + + + + + if test "x$build_ionice" != xno; then + if test "x$enable_ionice" = xno; then + build_ionice=no + else + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall ioprio_set" >&5 +$as_echo_n "checking for syscall ioprio_set... " >&6; } +if ${ul_cv_syscall_ioprio_set+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = SYS_ioprio_set; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=SYS_ioprio_set +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = _NR_ioprio_set; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=_NR_ioprio_set +else + + syscall=no + if test "x$linux_os" = xyes; then + case $host_cpu in + #( + alpha) syscall="442" ;; #( + i*86) syscall="289" ;; #( + ia64*) syscall="1274" ;; #( + powerpc*) syscall="273" ;; #( + s390*) syscall="282" ;; #( + sparc*) syscall="196" ;; #( + sh*) syscall="288" ;; #( + x86_64*) syscall="251" ;; + esac + fi + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + ul_cv_syscall_ioprio_set=$syscall + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_ioprio_set" >&5 +$as_echo "$ul_cv_syscall_ioprio_set" >&6; } + case $ul_cv_syscall_ioprio_set in #( + no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall ioprio_set." >&5 +$as_echo "$as_me: WARNING: Unable to detect syscall ioprio_set." >&2;} ;; + SYS_*) ;; + *) +cat >>confdefs.h <<_ACEOF +#define SYS_ioprio_set $ul_cv_syscall_ioprio_set +_ACEOF + ;; + esac + + case $enable_ionice:$ul_cv_syscall_ioprio_set in #( + no:*) + build_ionice=no ;; + yes:no) + as_fn_error $? "ionice selected but ioprio_set syscall not found" "$LINENO" 5 ;; + check:no) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ioprio_set syscall not found; not building ionice" >&5 +$as_echo "$as_me: WARNING: ioprio_set syscall not found; not building ionice" >&2;} + build_ionice=no ;; + *) + build_ionice=yes ;; + esac + fi + fi + + + + + + + if test "x$build_ionice" != xno; then + if test "x$enable_ionice" = xno; then + build_ionice=no + else + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall ioprio_get" >&5 +$as_echo_n "checking for syscall ioprio_get... " >&6; } +if ${ul_cv_syscall_ioprio_get+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = SYS_ioprio_get; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=SYS_ioprio_get +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = _NR_ioprio_get; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=_NR_ioprio_get +else + + syscall=no + if test "x$linux_os" = xyes; then + case $host_cpu in + #( + alpha) syscall="443" ;; #( + i*86) syscall="290" ;; #( + ia64*) syscall="1275" ;; #( + powerpc*) syscall="274" ;; #( + s390*) syscall="283" ;; #( + sparc*) syscall="218" ;; #( + sh*) syscall="289" ;; #( + x86_64*) syscall="252" ;; + esac + fi + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + ul_cv_syscall_ioprio_get=$syscall + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_ioprio_get" >&5 +$as_echo "$ul_cv_syscall_ioprio_get" >&6; } + case $ul_cv_syscall_ioprio_get in #( + no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall ioprio_get." >&5 +$as_echo "$as_me: WARNING: Unable to detect syscall ioprio_get." >&2;} ;; + SYS_*) ;; + *) +cat >>confdefs.h <<_ACEOF +#define SYS_ioprio_get $ul_cv_syscall_ioprio_get +_ACEOF + ;; + esac + + case $enable_ionice:$ul_cv_syscall_ioprio_get in #( + no:*) + build_ionice=no ;; + yes:no) + as_fn_error $? "ionice selected but ioprio_get syscall not found" "$LINENO" 5 ;; + check:no) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ioprio_get syscall not found; not building ionice" >&5 +$as_echo "$as_me: WARNING: ioprio_get syscall not found; not building ionice" >&2;} + build_ionice=no ;; + *) + build_ionice=yes ;; + esac + fi + fi + + + if test "x$build_ionice" = xyes; then + BUILD_IONICE_TRUE= + BUILD_IONICE_FALSE='#' +else + BUILD_IONICE_TRUE='#' + BUILD_IONICE_FALSE= +fi + + + + + + + + enable_taskset=$enable_schedutils + + + + if test "x$enable_taskset" = xno; then + build_taskset=no +else + build_taskset=yes +fi + + + + + if test "x$build_taskset" != xno; then + + ul_haveone_taskset=no + + if test "x$have_cpu_set_t" = xyes; then + ul_haveone_taskset=yes + fi + + case $enable_taskset:$ul_haveone_taskset in #( + no:*) + build_taskset=no ;; + yes:yes) + build_taskset=yes ;; + yes:*) + as_fn_error $? "taskset selected, but required cpu_set_t type not available" "$LINENO" 5;; + check:yes) + build_taskset=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cpu_set_t type not found; not building taskset" >&5 +$as_echo "$as_me: WARNING: cpu_set_t type not found; not building taskset" >&2;} + build_taskset=no ;; + esac + fi + + + + + + if test "x$build_taskset" != xno; then + if test "x$enable_taskset" = xno; then + build_taskset=no + else + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall sched_getaffinity" >&5 +$as_echo_n "checking for syscall sched_getaffinity... " >&6; } +if ${ul_cv_syscall_sched_getaffinity+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = SYS_sched_getaffinity; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=SYS_sched_getaffinity +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = _NR_sched_getaffinity; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=_NR_sched_getaffinity +else + + syscall=no + if test "x$linux_os" = xyes; then + case $host_cpu in + + esac + fi + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + ul_cv_syscall_sched_getaffinity=$syscall + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_sched_getaffinity" >&5 +$as_echo "$ul_cv_syscall_sched_getaffinity" >&6; } + case $ul_cv_syscall_sched_getaffinity in #( + no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall sched_getaffinity." >&5 +$as_echo "$as_me: WARNING: Unable to detect syscall sched_getaffinity." >&2;} ;; + SYS_*) ;; + *) +cat >>confdefs.h <<_ACEOF +#define SYS_sched_getaffinity $ul_cv_syscall_sched_getaffinity +_ACEOF + ;; + esac + + case $enable_taskset:$ul_cv_syscall_sched_getaffinity in #( + no:*) + build_taskset=no ;; + yes:no) + as_fn_error $? "taskset selected but sched_getaffinity syscall not found" "$LINENO" 5 ;; + check:no) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sched_getaffinity syscall not found; not building taskset" >&5 +$as_echo "$as_me: WARNING: sched_getaffinity syscall not found; not building taskset" >&2;} + build_taskset=no ;; + *) + build_taskset=yes ;; + esac + fi + fi + + if test "x$build_taskset" = xyes; then + BUILD_TASKSET_TRUE= + BUILD_TASKSET_FALSE='#' +else + BUILD_TASKSET_TRUE='#' + BUILD_TASKSET_FALSE= +fi + + + +have_schedsetter=no +if test "x$ac_cv_func_sched_setscheduler" = xyes; then : + have_schedsetter=yes +elif test "x$ac_cv_func_sched_setattr" = xyes; then : + have_schedsetter=yes +fi + + + + + + enable_chrt=$enable_schedutils + + + + if test "x$enable_chrt" = xno; then + build_chrt=no +else + build_chrt=yes +fi + + + + + if test "x$build_chrt" != xno; then + + ul_haveone_chrt=no + + if test "x$have_schedsetter" = xyes; then + ul_haveone_chrt=yes + fi + + case $enable_chrt:$ul_haveone_chrt in #( + no:*) + build_chrt=no ;; + yes:yes) + build_chrt=yes ;; + yes:*) + as_fn_error $? "chrt selected, but required sched_set functions not available" "$LINENO" 5;; + check:yes) + build_chrt=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sched_set functions not found; not building chrt" >&5 +$as_echo "$as_me: WARNING: sched_set functions not found; not building chrt" >&2;} + build_chrt=no ;; + esac + fi + + if test "x$build_chrt" = xyes; then + BUILD_CHRT_TRUE= + BUILD_CHRT_FALSE='#' +else + BUILD_CHRT_TRUE='#' + BUILD_CHRT_FALSE= +fi + + +if test "x$build_chrt" = xyes; then : + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall sched_setattr" >&5 +$as_echo_n "checking for syscall sched_setattr... " >&6; } +if ${ul_cv_syscall_sched_setattr+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = SYS_sched_setattr; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=SYS_sched_setattr +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include +#include + +int +main () +{ +int test = _NR_sched_setattr; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + syscall=_NR_sched_setattr +else + + syscall=no + if test "x$linux_os" = xyes; then + case $host_cpu in + + esac + fi + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + ul_cv_syscall_sched_setattr=$syscall + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ul_cv_syscall_sched_setattr" >&5 +$as_echo "$ul_cv_syscall_sched_setattr" >&6; } + case $ul_cv_syscall_sched_setattr in #( + no) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to detect syscall sched_setattr." >&5 +$as_echo "$as_me: WARNING: Unable to detect syscall sched_setattr." >&2;} ;; + SYS_*) ;; + *) +cat >>confdefs.h <<_ACEOF +#define SYS_sched_setattr $ul_cv_syscall_sched_setattr +_ACEOF + ;; + esac + + +fi + + +# Check whether --enable-wall was given. +if test "${enable_wall+set}" = set; then : + enableval=$enable_wall; +else + + + if test "x$ul_default_estate" != x; then + enable_wall=$ul_default_estate + else + enable_wall=check + fi + + +fi + + + + if test "x$enable_wall" = xno; then + build_wall=no +else + build_wall=yes +fi + + + + + if test "x$build_wall" != xno; then + + ul_haveone_wall=no + + if test "x$have_utmpx_h" = xyes; then + ul_haveone_wall=yes + fi + + case $enable_wall:$ul_haveone_wall in #( + no:*) + build_wall=no ;; + yes:yes) + build_wall=yes ;; + yes:*) + as_fn_error $? "wall selected, but required utmpx.h header not available" "$LINENO" 5;; + check:yes) + build_wall=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: utmpx.h header not found; not building wall" >&5 +$as_echo "$as_me: WARNING: utmpx.h header not found; not building wall" >&2;} + build_wall=no ;; + esac + fi + + if test "x$build_wall" = xyes; then + BUILD_WALL_TRUE= + BUILD_WALL_FALSE='#' +else + BUILD_WALL_TRUE='#' + BUILD_WALL_FALSE= +fi + + + +# Check whether --enable-write was given. +if test "${enable_write+set}" = set; then : + enableval=$enable_write; +else + + + if test "x$ul_default_estate" != x; then + enable_write=$ul_default_estate + else + enable_write=no + fi + + +fi + + + + if test "x$enable_write" = xno; then + build_write=no +else + build_write=yes +fi + + + + + if test "x$build_write" != xno; then + + ul_haveone_write=no + + if test "x$have_utmpx_h" = xyes; then + ul_haveone_write=yes + fi + + case $enable_write:$ul_haveone_write in #( + no:*) + build_write=no ;; + yes:yes) + build_write=yes ;; + yes:*) + as_fn_error $? "write selected, but required utmpx.h header not available" "$LINENO" 5;; + check:yes) + build_write=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: utmpx.h header not found; not building write" >&5 +$as_echo "$as_me: WARNING: utmpx.h header not found; not building write" >&2;} + build_write=no ;; + esac + fi + + + + + if test "x$build_write" != xno; then + + ul_haveone_write=no + + if test "x$have_gnu_utmpx" = xyes; then + ul_haveone_write=yes + fi + + case $enable_write:$ul_haveone_write in #( + no:*) + build_write=no ;; + yes:yes) + build_write=yes ;; + yes:*) + as_fn_error $? "write selected, but required GNU utmpx functions not available" "$LINENO" 5;; + check:yes) + build_write=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNU utmpx functions not found; not building write" >&5 +$as_echo "$as_me: WARNING: GNU utmpx functions not found; not building write" >&2;} + build_write=no ;; + esac + fi + + if test "x$build_write" = xyes; then + BUILD_WRITE_TRUE= + BUILD_WRITE_FALSE='#' +else + BUILD_WRITE_TRUE='#' + BUILD_WRITE_FALSE= +fi + + + + +# Check whether --with-btrfs was given. +if test "${with_btrfs+set}" = set; then : + withval=$with_btrfs; +else + with_btrfs=check + +fi + +have_btrfs=no +if test "x$with_btrfs" != xno; then : + + case $with_btrfs:$have_linux_btrfs_h in #( + yes:no) : + as_fn_error $? "btrfs selected but linux/btrfs.h not found" "$LINENO" 5 ;; #( + check:no) : + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: linux/btrfs.h not found, do not build with btrfs support" >&5 +$as_echo "$as_me: WARNING: linux/btrfs.h not found, do not build with btrfs support" >&2;} ;; #( + *:yes) : + have_btrfs=yes + +$as_echo "#define HAVE_BTRFS_SUPPORT 1" >>confdefs.h + + ;; #( + *) : + ;; +esac + +fi + if test "x$have_btrfs" = xyes; then + HAVE_BTRFS_TRUE= + HAVE_BTRFS_FALSE='#' +else + HAVE_BTRFS_TRUE='#' + HAVE_BTRFS_FALSE= +fi + + + + +# Check whether --with-systemd was given. +if test "${with_systemd+set}" = set; then : + withval=$with_systemd; +else + with_systemd=check + +fi + + +have_systemd=no +if test "x$with_systemd" != xno; then : + + # new version -- all libsystemd-* libs merged into libsystemd + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 +$as_echo_n "checking for SYSTEMD... " >&6; } + +if test -n "$SYSTEMD_CFLAGS"; then + pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$SYSTEMD_LIBS"; then + pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1` + else + SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$SYSTEMD_PKG_ERRORS" >&5 + + have_systemd=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_systemd=no +else + SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS + SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_systemd=yes +fi + # old versions + if test "x$have_systemd" != "xyes"; then : + + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD_DAEMON" >&5 +$as_echo_n "checking for SYSTEMD_DAEMON... " >&6; } + +if test -n "$SYSTEMD_DAEMON_CFLAGS"; then + pkg_cv_SYSTEMD_DAEMON_CFLAGS="$SYSTEMD_DAEMON_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SYSTEMD_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-daemon" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$SYSTEMD_DAEMON_LIBS"; then + pkg_cv_SYSTEMD_DAEMON_LIBS="$SYSTEMD_DAEMON_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SYSTEMD_DAEMON_LIBS=`$PKG_CONFIG --libs "libsystemd-daemon" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-daemon" 2>&1` + else + SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$SYSTEMD_DAEMON_PKG_ERRORS" >&5 + + have_systemd_daemon=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_systemd_daemon=no +else + SYSTEMD_DAEMON_CFLAGS=$pkg_cv_SYSTEMD_DAEMON_CFLAGS + SYSTEMD_DAEMON_LIBS=$pkg_cv_SYSTEMD_DAEMON_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_systemd_daemon=yes +fi + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD_JOURNAL" >&5 +$as_echo_n "checking for SYSTEMD_JOURNAL... " >&6; } + +if test -n "$SYSTEMD_JOURNAL_CFLAGS"; then + pkg_cv_SYSTEMD_JOURNAL_CFLAGS="$SYSTEMD_JOURNAL_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SYSTEMD_JOURNAL_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-journal" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$SYSTEMD_JOURNAL_LIBS"; then + pkg_cv_SYSTEMD_JOURNAL_LIBS="$SYSTEMD_JOURNAL_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SYSTEMD_JOURNAL_LIBS=`$PKG_CONFIG --libs "libsystemd-journal" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + SYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal" 2>&1` + else + SYSTEMD_JOURNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$SYSTEMD_JOURNAL_PKG_ERRORS" >&5 + + have_systemd_journal=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_systemd_journal=no +else + SYSTEMD_JOURNAL_CFLAGS=$pkg_cv_SYSTEMD_JOURNAL_CFLAGS + SYSTEMD_JOURNAL_LIBS=$pkg_cv_SYSTEMD_JOURNAL_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_systemd_journal=yes +fi + if test "x$have_systemd_daemon" = "xyes" -a "x$have_systemd_journal" = "xyes" ; then : + + have_systemd=yes +fi + +fi + case $with_systemd:$have_systemd in #( + yes:no) : + as_fn_error $? "systemd expected but libsystemd not found" "$LINENO" 5 ;; #( + *:yes) : + +$as_echo "#define HAVE_LIBSYSTEMD 1" >>confdefs.h + + ;; #( + *) : + ;; +esac + +fi + if test "x$have_systemd" = xyes; then + HAVE_SYSTEMD_TRUE= + HAVE_SYSTEMD_FALSE='#' +else + HAVE_SYSTEMD_TRUE='#' + HAVE_SYSTEMD_FALSE= +fi + + + + +# Check whether --with-systemdsystemunitdir was given. +if test "${with_systemdsystemunitdir+set}" = set; then : + withval=$with_systemdsystemunitdir; +else + with_systemdsystemunitdir=check + +fi + +if test "x$with_systemdsystemunitdir" = xcheck; then : + + if test "x$have_systemd" = xyes; then : + + with_systemdsystemunitdir=`$PKG_CONFIG --variable=systemdsystemunitdir systemd` + +else + + with_systemdsystemunitdir=no + +fi + +fi +if test "x$with_systemdsystemunitdir" != "xno"; then : + + systemdsystemunitdir=$with_systemdsystemunitdir + + +fi + + + +# Check whether --with-smack was given. +if test "${with_smack+set}" = set; then : + withval=$with_smack; +else + with_smack=no + +fi + +if test "x$with_smack" = xyes; then : + + +$as_echo "#define HAVE_SMACK 1" >>confdefs.h + + +fi + + + +# Check whether --with-bashcompletiondir was given. +if test "${with_bashcompletiondir+set}" = set; then : + withval=$with_bashcompletiondir; +else + if `$PKG_CONFIG --exists bash-completion`; then : + + with_bashcompletiondir=`$PKG_CONFIG --variable=completionsdir bash-completion` + +else + + with_bashcompletiondir=${datadir}/bash-completion/completions + +fi + +fi + +bashcompletiondir=$with_bashcompletiondir + + +# Check whether --enable-bash-completion was given. +if test "${enable_bash_completion+set}" = set; then : + enableval=$enable_bash_completion; +else + enable_bash_completion=yes + +fi + + + if test "x$enable_bash_completion" = xyes; then + BUILD_BASH_COMPLETION_TRUE= + BUILD_BASH_COMPLETION_FALSE='#' +else + BUILD_BASH_COMPLETION_TRUE='#' + BUILD_BASH_COMPLETION_FALSE= +fi + + + + +# Check whether --with-python was given. +if test "${with_python+set}" = set; then : + withval=$with_python; +else + with_python=check withval=check + +fi + + +have_python=no +have_libpython=no +if test "x$with_python" != xno; then : + + # We follow distributions default and look for PKG module name "python" + # (minimal version is 2) but if major version is explicitly specified by + # --with-python=2 or --with-python=3 then we look for PKG module "python2" or + # "python3". + if test "x$withval" != xno -a "x$withval" != xyes -a "x$withval" != xcheck; then : + pymajor="$withval"; PYTHON=python${pymajor} +else + pymajor="2" +fi + + # check for python interpreter + + + + + + + if test -n "$PYTHON"; then + # If the user set $PYTHON, use it and don't search something else. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= $pymajor" >&5 +$as_echo_n "checking whether $PYTHON version is >= $pymajor... " >&6; } + prog="import sys +# split strings by '.' and convert to numeric. Append some zeros +# because we need at least 4 digits for the hex conversion. +# map returns an iterator in Python 3.0 and a list in 2.x +minver = list(map(int, '$pymajor'.split('.'))) + [0, 0, 0] +minverhex = 0 +# xrange is not present in Python 3.0 and range returns an iterator +for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] +sys.exit(sys.hexversion < minverhex)" + if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 + ($PYTHON -c "$prog") >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + as_fn_error $? "Python interpreter is too old" "$LINENO" 5 +fi + am_display_PYTHON=$PYTHON + else + # Otherwise, try each interpreter until we find one that satisfies + # VERSION. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= $pymajor" >&5 +$as_echo_n "checking for a Python interpreter with version >= $pymajor... " >&6; } +if ${am_cv_pathless_PYTHON+:} false; then : + $as_echo_n "(cached) " >&6 +else + + for am_cv_pathless_PYTHON in python python2 python3 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do + test "$am_cv_pathless_PYTHON" = none && break + prog="import sys +# split strings by '.' and convert to numeric. Append some zeros +# because we need at least 4 digits for the hex conversion. +# map returns an iterator in Python 3.0 and a list in 2.x +minver = list(map(int, '$pymajor'.split('.'))) + [0, 0, 0] +minverhex = 0 +# xrange is not present in Python 3.0 and range returns an iterator +for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] +sys.exit(sys.hexversion < minverhex)" + if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5 + ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then : + break +fi + done +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5 +$as_echo "$am_cv_pathless_PYTHON" >&6; } + # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. + if test "$am_cv_pathless_PYTHON" = none; then + PYTHON=: + else + # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args. +set dummy $am_cv_pathless_PYTHON; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PYTHON+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PYTHON in + [\\/]* | ?:[\\/]*) + ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PYTHON=$ac_cv_path_PYTHON +if test -n "$PYTHON"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 +$as_echo "$PYTHON" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi + am_display_PYTHON=$am_cv_pathless_PYTHON + fi + + + if test "$PYTHON" = :; then + have_python=no + else + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 +$as_echo_n "checking for $am_display_PYTHON version... " >&6; } +if ${am_cv_python_version+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 +$as_echo "$am_cv_python_version" >&6; } + PYTHON_VERSION=$am_cv_python_version + + + + PYTHON_PREFIX='${prefix}' + + PYTHON_EXEC_PREFIX='${exec_prefix}' + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 +$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } +if ${am_cv_python_platform+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 +$as_echo "$am_cv_python_platform" >&6; } + PYTHON_PLATFORM=$am_cv_python_platform + + + # Just factor out some code duplication. + am_python_setup_sysconfig="\ +import sys +# Prefer sysconfig over distutils.sysconfig, for better compatibility +# with python 3.x. See automake bug#10227. +try: + import sysconfig +except ImportError: + can_use_sysconfig = 0 +else: + can_use_sysconfig = 1 +# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs: +# +try: + from platform import python_implementation + if python_implementation() == 'CPython' and sys.version[:3] == '2.7': + can_use_sysconfig = 0 +except ImportError: + pass" + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 +$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } +if ${am_cv_python_pythondir+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "x$prefix" = xNONE + then + am_py_prefix=$ac_default_prefix + else + am_py_prefix=$prefix + fi + am_cv_python_pythondir=`$PYTHON -c " +$am_python_setup_sysconfig +if can_use_sysconfig: + sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'}) +else: + from distutils import sysconfig + sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix') +sys.stdout.write(sitedir)"` + case $am_cv_python_pythondir in + $am_py_prefix*) + am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` + am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` + ;; + *) + case $am_py_prefix in + /usr|/System*) ;; + *) + am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages + ;; + esac + ;; + esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 +$as_echo "$am_cv_python_pythondir" >&6; } + pythondir=$am_cv_python_pythondir + + + + pkgpythondir=\${pythondir}/$PACKAGE + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 +$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } +if ${am_cv_python_pyexecdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test "x$exec_prefix" = xNONE + then + am_py_exec_prefix=$am_py_prefix + else + am_py_exec_prefix=$exec_prefix + fi + am_cv_python_pyexecdir=`$PYTHON -c " +$am_python_setup_sysconfig +if can_use_sysconfig: + sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'}) +else: + from distutils import sysconfig + sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix') +sys.stdout.write(sitedir)"` + case $am_cv_python_pyexecdir in + $am_py_exec_prefix*) + am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` + am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` + ;; + *) + case $am_py_exec_prefix in + /usr|/System*) ;; + *) + am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages + ;; + esac + ;; + esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 +$as_echo "$am_cv_python_pyexecdir" >&6; } + pyexecdir=$am_cv_python_pyexecdir + + + + pkgpyexecdir=\${pyexecdir}/$PACKAGE + + + have_python=yes + fi + + + case $with_python:$have_python in #( + yes:no) : + as_fn_error $? "python selected but python interpreter not found" "$LINENO" 5 ;; #( + check:no) : + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python interpreter not found, do not build python bindings" >&5 +$as_echo "$as_me: WARNING: python interpreter not found, do not build python bindings" >&2;} ;; #( + *:yes) : + # check for python development stuff + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHON" >&5 +$as_echo_n "checking for PYTHON... " >&6; } + +if test -n "$PYTHON_CFLAGS"; then + pkg_cv_PYTHON_CFLAGS="$PYTHON_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python-\$PYTHON_VERSION\""; } >&5 + ($PKG_CONFIG --exists --print-errors "python-$PYTHON_VERSION") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_PYTHON_CFLAGS=`$PKG_CONFIG --cflags "python-$PYTHON_VERSION" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$PYTHON_LIBS"; then + pkg_cv_PYTHON_LIBS="$PYTHON_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python-\$PYTHON_VERSION\""; } >&5 + ($PKG_CONFIG --exists --print-errors "python-$PYTHON_VERSION") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_PYTHON_LIBS=`$PKG_CONFIG --libs "python-$PYTHON_VERSION" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + PYTHON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "python-$PYTHON_VERSION" 2>&1` + else + PYTHON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "python-$PYTHON_VERSION" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$PYTHON_PKG_ERRORS" >&5 + + have_libpython=no +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_libpython=no +else + PYTHON_CFLAGS=$pkg_cv_PYTHON_CFLAGS + PYTHON_LIBS=$pkg_cv_PYTHON_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_libpython=yes +fi + ;; #( + *) : + ;; +esac + +fi + + +# Check whether --enable-pylibmount was given. +if test "${enable_pylibmount+set}" = set; then : + enableval=$enable_pylibmount; +else + + + if test "x$ul_default_estate" != x; then + enable_pylibmount=$ul_default_estate + else + enable_pylibmount=check + fi + + +fi + + + + if test "x$enable_pylibmount" = xno; then + build_pylibmount=no +else + build_pylibmount=yes +fi + + + + + if test "x$build_pylibmount" != xno; then + + ul_haveone_pylibmount=no + + if test "x$have_libpython" = xyes; then + ul_haveone_pylibmount=yes + fi + + case $enable_pylibmount:$ul_haveone_pylibmount in #( + no:*) + build_pylibmount=no ;; + yes:yes) + build_pylibmount=yes ;; + yes:*) + as_fn_error $? "pylibmount selected, but required libpython not available" "$LINENO" 5;; + check:yes) + build_pylibmount=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libpython not found; not building pylibmount" >&5 +$as_echo "$as_me: WARNING: libpython not found; not building pylibmount" >&2;} + build_pylibmount=no ;; + esac + fi + + + + + if test "x$build_pylibmount" != xno; then + case $enable_pylibmount:$build_libmount in #( + no:*) + build_pylibmount=no ;; + yes:yes) + build_pylibmount=yes ;; + yes:*) + as_fn_error $? "libmount is needed to build pylibmount" "$LINENO" 5;; + check:yes) + build_pylibmount=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; not building pylibmount" >&5 +$as_echo "$as_me: WARNING: libmount disabled; not building pylibmount" >&2;} + build_pylibmount=no ;; + esac + fi + + if test "x$build_pylibmount" = "xyes"; then + BUILD_PYLIBMOUNT_TRUE= + BUILD_PYLIBMOUNT_FALSE='#' +else + BUILD_PYLIBMOUNT_TRUE='#' + BUILD_PYLIBMOUNT_FALSE= +fi + + +# We need to introduce a verbatim dependency into the Makefile, without automake +# trying to interpret it, so push it as a AM_SUBST_NOTMAKE variable. +verbatim_pylibmount_dependency=' + +# pylibmountexec module must be installed after usrlib_exec libraries, +# otherwise the libtool relink step will fail to find libmount.la and +# will try -lmount which is possibly not available. +install-pylibmountexecLTLIBRARIES: install-usrlib_execLTLIBRARIES + +' + + + +# Check whether --enable-pg-bell was given. +if test "${enable_pg_bell+set}" = set; then : + enableval=$enable_pg_bell; +else + enable_pg_bell=yes + +fi + + +if test "x$enable_pg_bell" = xyes; then : + + +$as_echo "#define PG_BELL 1" >>confdefs.h + + +fi + + + +# Check whether --enable-fs-paths-default was given. +if test "${enable_fs_paths_default+set}" = set; then : + enableval=$enable_fs_paths_default; case $enableval in #( + yes) : + fs_paths_defaults="/sbin:/sbin/fs.d:/sbin/fs" ;; #( + no) : + fs_paths_defaults="" ;; #( + *) : + fs_paths_defaults="$enableval" + ;; +esac +else + fs_paths_defaults="/sbin:/sbin/fs.d:/sbin/fs" + +fi + +# Check whether --enable-fs-paths-extra was given. +if test "${enable_fs_paths_extra+set}" = set; then : + enableval=$enable_fs_paths_extra; case $enableval in #( + yes|no) : + fs_paths_extra="" ;; #( + *) : + fs_paths_extra="$enableval" + ;; +esac +else + fs_paths_extra="" + +fi + +fs_paths="$fs_paths_defaults" +if test "x$fs_paths_extra" != "x"; then : + + if test "x$fs_paths" != "x"; then : + + fs_paths="${fs_paths}:" + +fi + fs_paths="${fs_paths}${fs_paths_extra}" + +fi + +cat >>confdefs.h <<_ACEOF +#define FS_SEARCH_PATH "$fs_paths" +_ACEOF + + + +# Check whether --enable-use-tty-group was given. +if test "${enable_use_tty_group+set}" = set; then : + enableval=$enable_use_tty_group; +else + enable_use_tty_group=yes + +fi + + if test "x$enable_use_tty_group" = xyes; then + USE_TTY_GROUP_TRUE= + USE_TTY_GROUP_FALSE='#' +else + USE_TTY_GROUP_TRUE='#' + USE_TTY_GROUP_FALSE= +fi + + +if test "x$enable_use_tty_group" = xyes; then : + + +$as_echo "#define USE_TTY_GROUP 1" >>confdefs.h + + +fi + + +# Check whether --enable-sulogin-emergency-mount was given. +if test "${enable_sulogin_emergency_mount+set}" = set; then : + enableval=$enable_sulogin_emergency_mount; +else + enable_sulogin_emergency_mount=no + +fi + + +if test "x$enable_sulogin_emergency_mount" = xyes; then : + + +$as_echo "#define USE_SULOGIN_EMERGENCY_MOUNT 1" >>confdefs.h + + +fi + + +# Check whether --enable-usrdir-path was given. +if test "${enable_usrdir_path+set}" = set; then : + enableval=$enable_usrdir_path; +else + enable_usrdir_path=no + +fi + + +if test "x$enable_usrdir_path" = xyes; then : + + +$as_echo "#define USE_USRDIR_PATHS_ONLY 1" >>confdefs.h + + +fi + + +# Check whether --enable-makeinstall-chown was given. +if test "${enable_makeinstall_chown+set}" = set; then : + enableval=$enable_makeinstall_chown; +else + enable_makeinstall_chown=yes + +fi + + if test "x$enable_makeinstall_chown" = xyes; then + MAKEINSTALL_DO_CHOWN_TRUE= + MAKEINSTALL_DO_CHOWN_FALSE='#' +else + MAKEINSTALL_DO_CHOWN_TRUE='#' + MAKEINSTALL_DO_CHOWN_FALSE= +fi + + + +# Check whether --enable-makeinstall-setuid was given. +if test "${enable_makeinstall_setuid+set}" = set; then : + enableval=$enable_makeinstall_setuid; +else + enable_makeinstall_setuid=yes + +fi + + if test "x$enable_makeinstall_setuid" = xyes; then + MAKEINSTALL_DO_SETUID_TRUE= + MAKEINSTALL_DO_SETUID_FALSE='#' +else + MAKEINSTALL_DO_SETUID_TRUE='#' + MAKEINSTALL_DO_SETUID_FALSE= +fi + + + +# Check whether --enable-colors-default was given. +if test "${enable_colors_default+set}" = set; then : + enableval=$enable_colors_default; +else + enable_colors_default=yes + +fi + +if test "x$enable_colors_default" = xyes; then : + + +$as_echo "#define USE_COLORS_BY_DEFAULT 1" >>confdefs.h + + +fi + + + + + + + + + + + + +if test "x$ADJTIME_PATH" = x; then : + ADJTIME_PATH="/etc/adjtime" +fi + +cat >>confdefs.h <<_ACEOF +#define CONFIG_ADJTIME_PATH "$ADJTIME_PATH" +_ACEOF + + + +LIBS="" + + +ac_config_headers="$ac_config_headers config.h" + + +# +# Don't use configure.ac to replace install paths! See Makefile PATHFILES for +# more details. +# +ac_config_files="$ac_config_files Makefile libblkid/docs/Makefile libblkid/docs/version.xml libblkid/src/blkid.h libfdisk/docs/Makefile libfdisk/docs/version.xml libfdisk/src/libfdisk.h libmount/docs/Makefile libmount/docs/version.xml libmount/src/libmount.h libsmartcols/docs/Makefile libsmartcols/docs/version.xml libsmartcols/src/libsmartcols.h po/Makefile.in" + + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + if test "x$cache_file" != "x/dev/null"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +U= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 +$as_echo_n "checking that generated files are newer than configure... " >&6; } + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 +$as_echo "done" >&6; } +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + as_fn_error $? "conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + if test -n "$EXEEXT"; then + am__EXEEXT_TRUE= + am__EXEEXT_FALSE='#' +else + am__EXEEXT_TRUE='#' + am__EXEEXT_FALSE= +fi + + +if test -z "${HAVE_VSCRIPT_TRUE}" && test -z "${HAVE_VSCRIPT_FALSE}"; then + as_fn_error $? "conditional \"HAVE_VSCRIPT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_VSCRIPT_COMPLEX_TRUE}" && test -z "${HAVE_VSCRIPT_COMPLEX_FALSE}"; then + as_fn_error $? "conditional \"HAVE_VSCRIPT_COMPLEX\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then + as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then + as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then + as_fn_error $? "conditional \"LINUX\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${DARWIN_TRUE}" && test -z "${DARWIN_FALSE}"; then + as_fn_error $? "conditional \"DARWIN\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BSD_TRUE}" && test -z "${BSD_FALSE}"; then + as_fn_error $? "conditional \"BSD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${ARCH_I86_TRUE}" && test -z "${ARCH_I86_FALSE}"; then + as_fn_error $? "conditional \"ARCH_I86\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${ARCH_86_64_TRUE}" && test -z "${ARCH_86_64_FALSE}"; then + as_fn_error $? "conditional \"ARCH_86_64\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${ARCH_IA64_TRUE}" && test -z "${ARCH_IA64_FALSE}"; then + as_fn_error $? "conditional \"ARCH_IA64\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${ARCH_S390_TRUE}" && test -z "${ARCH_S390_FALSE}"; then + as_fn_error $? "conditional \"ARCH_S390\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${ARCH_SPARC_TRUE}" && test -z "${ARCH_SPARC_FALSE}"; then + as_fn_error $? "conditional \"ARCH_SPARC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${ARCH_PPC_TRUE}" && test -z "${ARCH_PPC_FALSE}"; then + as_fn_error $? "conditional \"ARCH_PPC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${ARCH_M68K_TRUE}" && test -z "${ARCH_M68K_FALSE}"; then + as_fn_error $? "conditional \"ARCH_M68K\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${ARCH_MIPS_TRUE}" && test -z "${ARCH_MIPS_FALSE}"; then + as_fn_error $? "conditional \"ARCH_MIPS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${ARCH_HPPA_TRUE}" && test -z "${ARCH_HPPA_FALSE}"; then + as_fn_error $? "conditional \"ARCH_HPPA\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LINUXPAM_TRUE}" && test -z "${HAVE_LINUXPAM_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LINUXPAM\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LINUXPAM_TRUE}" && test -z "${HAVE_LINUXPAM_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LINUXPAM\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LANGINFO_TRUE}" && test -z "${HAVE_LANGINFO_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LANGINFO\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LANGINFO_TRUE}" && test -z "${HAVE_LANGINFO_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LANGINFO\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_OPENAT_TRUE}" && test -z "${HAVE_OPENAT_FALSE}"; then + as_fn_error $? "conditional \"HAVE_OPENAT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_DIRFD_TRUE}" && test -z "${HAVE_DIRFD_FALSE}"; then + as_fn_error $? "conditional \"HAVE_DIRFD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_STATIC_LOSETUP_TRUE}" && test -z "${HAVE_STATIC_LOSETUP_FALSE}"; then + as_fn_error $? "conditional \"HAVE_STATIC_LOSETUP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_STATIC_MOUNT_TRUE}" && test -z "${HAVE_STATIC_MOUNT_FALSE}"; then + as_fn_error $? "conditional \"HAVE_STATIC_MOUNT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_STATIC_UMOUNT_TRUE}" && test -z "${HAVE_STATIC_UMOUNT_FALSE}"; then + as_fn_error $? "conditional \"HAVE_STATIC_UMOUNT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_STATIC_FDISK_TRUE}" && test -z "${HAVE_STATIC_FDISK_FALSE}"; then + as_fn_error $? "conditional \"HAVE_STATIC_FDISK\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_STATIC_SFDISK_TRUE}" && test -z "${HAVE_STATIC_SFDISK_FALSE}"; then + as_fn_error $? "conditional \"HAVE_STATIC_SFDISK\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_STATIC_BLKID_TRUE}" && test -z "${HAVE_STATIC_BLKID_FALSE}"; then + as_fn_error $? "conditional \"HAVE_STATIC_BLKID\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_STATIC_NSENTER_TRUE}" && test -z "${HAVE_STATIC_NSENTER_FALSE}"; then + as_fn_error $? "conditional \"HAVE_STATIC_NSENTER\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_STATIC_UNSHARE_TRUE}" && test -z "${HAVE_STATIC_UNSHARE_FALSE}"; then + as_fn_error $? "conditional \"HAVE_STATIC_UNSHARE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_UTIL_TRUE}" && test -z "${HAVE_UTIL_FALSE}"; then + as_fn_error $? "conditional \"HAVE_UTIL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_UTIL_TRUE}" && test -z "${HAVE_UTIL_FALSE}"; then + as_fn_error $? "conditional \"HAVE_UTIL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_CPU_SET_T_TRUE}" && test -z "${HAVE_CPU_SET_T_FALSE}"; then + as_fn_error $? "conditional \"HAVE_CPU_SET_T\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_LIBCRYPT_TRUE}" && test -z "${HAVE_LIBCRYPT_FALSE}"; then + as_fn_error $? "conditional \"HAVE_LIBCRYPT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then + as_fn_error $? "conditional \"HAVE_SELINUX\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then + as_fn_error $? "conditional \"HAVE_SELINUX\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_AUDIT_TRUE}" && test -z "${HAVE_AUDIT_FALSE}"; then + as_fn_error $? "conditional \"HAVE_AUDIT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_AUDIT_TRUE}" && test -z "${HAVE_AUDIT_FALSE}"; then + as_fn_error $? "conditional \"HAVE_AUDIT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_UDEV_TRUE}" && test -z "${HAVE_UDEV_FALSE}"; then + as_fn_error $? "conditional \"HAVE_UDEV\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_UDEV_TRUE}" && test -z "${HAVE_UDEV_FALSE}"; then + as_fn_error $? "conditional \"HAVE_UDEV\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_NCURSES_TRUE}" && test -z "${HAVE_NCURSES_FALSE}"; then + as_fn_error $? "conditional \"HAVE_NCURSES\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_SLANG_TRUE}" && test -z "${HAVE_SLANG_FALSE}"; then + as_fn_error $? "conditional \"HAVE_SLANG\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_TINFO_TRUE}" && test -z "${HAVE_TINFO_FALSE}"; then + as_fn_error $? "conditional \"HAVE_TINFO\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_READLINE_TRUE}" && test -z "${HAVE_READLINE_FALSE}"; then + as_fn_error $? "conditional \"HAVE_READLINE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_READLINE_TRUE}" && test -z "${HAVE_READLINE_FALSE}"; then + as_fn_error $? "conditional \"HAVE_READLINE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_UTEMPTER_TRUE}" && test -z "${HAVE_UTEMPTER_FALSE}"; then + as_fn_error $? "conditional \"HAVE_UTEMPTER\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_UTEMPTER_TRUE}" && test -z "${HAVE_UTEMPTER_FALSE}"; then + as_fn_error $? "conditional \"HAVE_UTEMPTER\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LIBUUID_TRUE}" && test -z "${BUILD_LIBUUID_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LIBUUID\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LIBBLKID_TRUE}" && test -z "${BUILD_LIBBLKID_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LIBBLKID\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LIBBLKID_TESTS_TRUE}" && test -z "${BUILD_LIBBLKID_TESTS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LIBBLKID_TESTS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LIBMOUNT_TRUE}" && test -z "${BUILD_LIBMOUNT_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LIBMOUNT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LIBMOUNT_TESTS_TRUE}" && test -z "${BUILD_LIBMOUNT_TESTS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LIBMOUNT_TESTS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LIBSMARTCOLS_TRUE}" && test -z "${BUILD_LIBSMARTCOLS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LIBSMARTCOLS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LIBFDISK_TRUE}" && test -z "${BUILD_LIBFDISK_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LIBFDISK\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LIBFDISK_TESTS_TRUE}" && test -z "${BUILD_LIBFDISK_TESTS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LIBFDISK_TESTS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_FDISK_TRUE}" && test -z "${BUILD_FDISK_FALSE}"; then + as_fn_error $? "conditional \"BUILD_FDISK\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_SFDISK_TRUE}" && test -z "${BUILD_SFDISK_FALSE}"; then + as_fn_error $? "conditional \"BUILD_SFDISK\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_CFDISK_TRUE}" && test -z "${BUILD_CFDISK_FALSE}"; then + as_fn_error $? "conditional \"BUILD_CFDISK\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_MOUNT_TRUE}" && test -z "${BUILD_MOUNT_FALSE}"; then + as_fn_error $? "conditional \"BUILD_MOUNT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LOSETUP_TRUE}" && test -z "${BUILD_LOSETUP_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LOSETUP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_ZRAMCTL_TRUE}" && test -z "${BUILD_ZRAMCTL_FALSE}"; then + as_fn_error $? "conditional \"BUILD_ZRAMCTL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_FSCK_TRUE}" && test -z "${BUILD_FSCK_FALSE}"; then + as_fn_error $? "conditional \"BUILD_FSCK\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_PARTX_TRUE}" && test -z "${BUILD_PARTX_FALSE}"; then + as_fn_error $? "conditional \"BUILD_PARTX\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_UUIDD_TRUE}" && test -z "${BUILD_UUIDD_FALSE}"; then + as_fn_error $? "conditional \"BUILD_UUIDD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_UUIDGEN_TRUE}" && test -z "${BUILD_UUIDGEN_FALSE}"; then + as_fn_error $? "conditional \"BUILD_UUIDGEN\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_UUIDPARSE_TRUE}" && test -z "${BUILD_UUIDPARSE_FALSE}"; then + as_fn_error $? "conditional \"BUILD_UUIDPARSE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_BLKID_TRUE}" && test -z "${BUILD_BLKID_FALSE}"; then + as_fn_error $? "conditional \"BUILD_BLKID\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_FINDFS_TRUE}" && test -z "${BUILD_FINDFS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_FINDFS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_WIPEFS_TRUE}" && test -z "${BUILD_WIPEFS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_WIPEFS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_FINDMNT_TRUE}" && test -z "${BUILD_FINDMNT_FALSE}"; then + as_fn_error $? "conditional \"BUILD_FINDMNT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_MOUNTPOINT_TRUE}" && test -z "${BUILD_MOUNTPOINT_FALSE}"; then + as_fn_error $? "conditional \"BUILD_MOUNTPOINT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_FALLOCATE_TRUE}" && test -z "${BUILD_FALLOCATE_FALSE}"; then + as_fn_error $? "conditional \"BUILD_FALLOCATE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_UNSHARE_TRUE}" && test -z "${BUILD_UNSHARE_FALSE}"; then + as_fn_error $? "conditional \"BUILD_UNSHARE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_NSENTER_TRUE}" && test -z "${BUILD_NSENTER_FALSE}"; then + as_fn_error $? "conditional \"BUILD_NSENTER\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_CAP_NG_TRUE}" && test -z "${HAVE_CAP_NG_FALSE}"; then + as_fn_error $? "conditional \"HAVE_CAP_NG\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_CAP_NG_TRUE}" && test -z "${HAVE_CAP_NG_FALSE}"; then + as_fn_error $? "conditional \"HAVE_CAP_NG\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_SETPRIV_TRUE}" && test -z "${BUILD_SETPRIV_FALSE}"; then + as_fn_error $? "conditional \"BUILD_SETPRIV\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_EJECT_TRUE}" && test -z "${BUILD_EJECT_FALSE}"; then + as_fn_error $? "conditional \"BUILD_EJECT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_AGETTY_TRUE}" && test -z "${BUILD_AGETTY_FALSE}"; then + as_fn_error $? "conditional \"BUILD_AGETTY\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${USE_PLYMOUTH_SUPPORT_TRUE}" && test -z "${USE_PLYMOUTH_SUPPORT_FALSE}"; then + as_fn_error $? "conditional \"USE_PLYMOUTH_SUPPORT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_CRAMFS_TRUE}" && test -z "${BUILD_CRAMFS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_CRAMFS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_BFS_TRUE}" && test -z "${BUILD_BFS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_BFS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_MINIX_TRUE}" && test -z "${BUILD_MINIX_FALSE}"; then + as_fn_error $? "conditional \"BUILD_MINIX\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_FDFORMAT_TRUE}" && test -z "${BUILD_FDFORMAT_FALSE}"; then + as_fn_error $? "conditional \"BUILD_FDFORMAT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_HWCLOCK_TRUE}" && test -z "${BUILD_HWCLOCK_FALSE}"; then + as_fn_error $? "conditional \"BUILD_HWCLOCK\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_MKFS_TRUE}" && test -z "${BUILD_MKFS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_MKFS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_ISOSIZE_TRUE}" && test -z "${BUILD_ISOSIZE_FALSE}"; then + as_fn_error $? "conditional \"BUILD_ISOSIZE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_FSTRIM_TRUE}" && test -z "${BUILD_FSTRIM_FALSE}"; then + as_fn_error $? "conditional \"BUILD_FSTRIM\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_SWAPON_TRUE}" && test -z "${BUILD_SWAPON_FALSE}"; then + as_fn_error $? "conditional \"BUILD_SWAPON\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LSBLK_TRUE}" && test -z "${BUILD_LSBLK_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LSBLK\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LSCPU_TRUE}" && test -z "${BUILD_LSCPU_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LSCPU\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LSLOGINS_TRUE}" && test -z "${BUILD_LSLOGINS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LSLOGINS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_CHCPU_TRUE}" && test -z "${BUILD_CHCPU_FALSE}"; then + as_fn_error $? "conditional \"BUILD_CHCPU\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_WDCTL_TRUE}" && test -z "${BUILD_WDCTL_FALSE}"; then + as_fn_error $? "conditional \"BUILD_WDCTL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_SWAPLABEL_TRUE}" && test -z "${BUILD_SWAPLABEL_FALSE}"; then + as_fn_error $? "conditional \"BUILD_SWAPLABEL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_MKSWAP_TRUE}" && test -z "${BUILD_MKSWAP_FALSE}"; then + as_fn_error $? "conditional \"BUILD_MKSWAP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_CAL_TRUE}" && test -z "${BUILD_CAL_FALSE}"; then + as_fn_error $? "conditional \"BUILD_CAL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LOGGER_TRUE}" && test -z "${BUILD_LOGGER_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LOGGER\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LOOK_TRUE}" && test -z "${BUILD_LOOK_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LOOK\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_MCOOKIE_TRUE}" && test -z "${BUILD_MCOOKIE_FALSE}"; then + as_fn_error $? "conditional \"BUILD_MCOOKIE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_NAMEI_TRUE}" && test -z "${BUILD_NAMEI_FALSE}"; then + as_fn_error $? "conditional \"BUILD_NAMEI\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_WHEREIS_TRUE}" && test -z "${BUILD_WHEREIS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_WHEREIS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_GETOPT_TRUE}" && test -z "${BUILD_GETOPT_FALSE}"; then + as_fn_error $? "conditional \"BUILD_GETOPT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_BLOCKDEV_TRUE}" && test -z "${BUILD_BLOCKDEV_FALSE}"; then + as_fn_error $? "conditional \"BUILD_BLOCKDEV\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_PRLIMIT_TRUE}" && test -z "${BUILD_PRLIMIT_FALSE}"; then + as_fn_error $? "conditional \"BUILD_PRLIMIT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LSLOCKS_TRUE}" && test -z "${BUILD_LSLOCKS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LSLOCKS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_SWITCH_ROOT_TRUE}" && test -z "${BUILD_SWITCH_ROOT_FALSE}"; then + as_fn_error $? "conditional \"BUILD_SWITCH_ROOT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_PIVOT_ROOT_TRUE}" && test -z "${BUILD_PIVOT_ROOT_FALSE}"; then + as_fn_error $? "conditional \"BUILD_PIVOT_ROOT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_FLOCK_TRUE}" && test -z "${BUILD_FLOCK_FALSE}"; then + as_fn_error $? "conditional \"BUILD_FLOCK\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LSMEM_TRUE}" && test -z "${BUILD_LSMEM_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LSMEM\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_CHMEM_TRUE}" && test -z "${BUILD_CHMEM_FALSE}"; then + as_fn_error $? "conditional \"BUILD_CHMEM\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_IPCMK_TRUE}" && test -z "${BUILD_IPCMK_FALSE}"; then + as_fn_error $? "conditional \"BUILD_IPCMK\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_IPCRM_TRUE}" && test -z "${BUILD_IPCRM_FALSE}"; then + as_fn_error $? "conditional \"BUILD_IPCRM\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_IPCS_TRUE}" && test -z "${BUILD_IPCS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_IPCS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_CHOOM_TRUE}" && test -z "${BUILD_CHOOM_FALSE}"; then + as_fn_error $? "conditional \"BUILD_CHOOM\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LSIPC_TRUE}" && test -z "${BUILD_LSIPC_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LSIPC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LSNS_TRUE}" && test -z "${BUILD_LSNS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LSNS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_RENICE_TRUE}" && test -z "${BUILD_RENICE_FALSE}"; then + as_fn_error $? "conditional \"BUILD_RENICE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_RFKILL_TRUE}" && test -z "${BUILD_RFKILL_FALSE}"; then + as_fn_error $? "conditional \"BUILD_RFKILL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_SETSID_TRUE}" && test -z "${BUILD_SETSID_FALSE}"; then + as_fn_error $? "conditional \"BUILD_SETSID\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_READPROFILE_TRUE}" && test -z "${BUILD_READPROFILE_FALSE}"; then + as_fn_error $? "conditional \"BUILD_READPROFILE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_DMESG_TRUE}" && test -z "${BUILD_DMESG_FALSE}"; then + as_fn_error $? "conditional \"BUILD_DMESG\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_CTRLALTDEL_TRUE}" && test -z "${BUILD_CTRLALTDEL_FALSE}"; then + as_fn_error $? "conditional \"BUILD_CTRLALTDEL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_FINCORE_TRUE}" && test -z "${BUILD_FINCORE_FALSE}"; then + as_fn_error $? "conditional \"BUILD_FINCORE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_FSFREEZE_TRUE}" && test -z "${BUILD_FSFREEZE_FALSE}"; then + as_fn_error $? "conditional \"BUILD_FSFREEZE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_BLKDISCARD_TRUE}" && test -z "${BUILD_BLKDISCARD_FALSE}"; then + as_fn_error $? "conditional \"BUILD_BLKDISCARD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_BLKZONE_TRUE}" && test -z "${BUILD_BLKZONE_FALSE}"; then + as_fn_error $? "conditional \"BUILD_BLKZONE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LDATTACH_TRUE}" && test -z "${BUILD_LDATTACH_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LDATTACH\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_RTCWAKE_TRUE}" && test -z "${BUILD_RTCWAKE_FALSE}"; then + as_fn_error $? "conditional \"BUILD_RTCWAKE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_SETARCH_TRUE}" && test -z "${BUILD_SETARCH_FALSE}"; then + as_fn_error $? "conditional \"BUILD_SETARCH\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_SCRIPT_TRUE}" && test -z "${BUILD_SCRIPT_FALSE}"; then + as_fn_error $? "conditional \"BUILD_SCRIPT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_SCRIPTREPLAY_TRUE}" && test -z "${BUILD_SCRIPTREPLAY_FALSE}"; then + as_fn_error $? "conditional \"BUILD_SCRIPTREPLAY\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_COL_TRUE}" && test -z "${BUILD_COL_FALSE}"; then + as_fn_error $? "conditional \"BUILD_COL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_COLCRT_TRUE}" && test -z "${BUILD_COLCRT_FALSE}"; then + as_fn_error $? "conditional \"BUILD_COLCRT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_COLRM_TRUE}" && test -z "${BUILD_COLRM_FALSE}"; then + as_fn_error $? "conditional \"BUILD_COLRM\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_COLUMN_TRUE}" && test -z "${BUILD_COLUMN_FALSE}"; then + as_fn_error $? "conditional \"BUILD_COLUMN\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_HEXDUMP_TRUE}" && test -z "${BUILD_HEXDUMP_FALSE}"; then + as_fn_error $? "conditional \"BUILD_HEXDUMP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_REV_TRUE}" && test -z "${BUILD_REV_FALSE}"; then + as_fn_error $? "conditional \"BUILD_REV\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_TUNELP_TRUE}" && test -z "${BUILD_TUNELP_FALSE}"; then + as_fn_error $? "conditional \"BUILD_TUNELP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_KILL_TRUE}" && test -z "${BUILD_KILL_FALSE}"; then + as_fn_error $? "conditional \"BUILD_KILL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LAST_TRUE}" && test -z "${BUILD_LAST_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LAST\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_UTMPDUMP_TRUE}" && test -z "${BUILD_UTMPDUMP_FALSE}"; then + as_fn_error $? "conditional \"BUILD_UTMPDUMP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LINE_TRUE}" && test -z "${BUILD_LINE_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LINE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_MESG_TRUE}" && test -z "${BUILD_MESG_FALSE}"; then + as_fn_error $? "conditional \"BUILD_MESG\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_RAW_TRUE}" && test -z "${BUILD_RAW_FALSE}"; then + as_fn_error $? "conditional \"BUILD_RAW\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_RENAME_TRUE}" && test -z "${BUILD_RENAME_FALSE}"; then + as_fn_error $? "conditional \"BUILD_RENAME\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_VIPW_TRUE}" && test -z "${BUILD_VIPW_FALSE}"; then + as_fn_error $? "conditional \"BUILD_VIPW\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_NEWGRP_TRUE}" && test -z "${BUILD_NEWGRP_FALSE}"; then + as_fn_error $? "conditional \"BUILD_NEWGRP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_USER_TRUE}" && test -z "${HAVE_USER_FALSE}"; then + as_fn_error $? "conditional \"HAVE_USER\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_CHFN_CHSH_TRUE}" && test -z "${BUILD_CHFN_CHSH_FALSE}"; then + as_fn_error $? "conditional \"BUILD_CHFN_CHSH\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${CHFN_CHSH_PASSWORD_TRUE}" && test -z "${CHFN_CHSH_PASSWORD_FALSE}"; then + as_fn_error $? "conditional \"CHFN_CHSH_PASSWORD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_LOGIN_TRUE}" && test -z "${BUILD_LOGIN_FALSE}"; then + as_fn_error $? "conditional \"BUILD_LOGIN\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_NOLOGIN_TRUE}" && test -z "${BUILD_NOLOGIN_FALSE}"; then + as_fn_error $? "conditional \"BUILD_NOLOGIN\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_SULOGIN_TRUE}" && test -z "${BUILD_SULOGIN_FALSE}"; then + as_fn_error $? "conditional \"BUILD_SULOGIN\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_SU_TRUE}" && test -z "${BUILD_SU_FALSE}"; then + as_fn_error $? "conditional \"BUILD_SU\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_RUNUSER_TRUE}" && test -z "${BUILD_RUNUSER_FALSE}"; then + as_fn_error $? "conditional \"BUILD_RUNUSER\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_UL_TRUE}" && test -z "${BUILD_UL_FALSE}"; then + as_fn_error $? "conditional \"BUILD_UL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_MORE_TRUE}" && test -z "${BUILD_MORE_FALSE}"; then + as_fn_error $? "conditional \"BUILD_MORE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_PG_TRUE}" && test -z "${BUILD_PG_FALSE}"; then + as_fn_error $? "conditional \"BUILD_PG\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_SETTERM_TRUE}" && test -z "${BUILD_SETTERM_FALSE}"; then + as_fn_error $? "conditional \"BUILD_SETTERM\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_IONICE_TRUE}" && test -z "${BUILD_IONICE_FALSE}"; then + as_fn_error $? "conditional \"BUILD_IONICE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_TASKSET_TRUE}" && test -z "${BUILD_TASKSET_FALSE}"; then + as_fn_error $? "conditional \"BUILD_TASKSET\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_CHRT_TRUE}" && test -z "${BUILD_CHRT_FALSE}"; then + as_fn_error $? "conditional \"BUILD_CHRT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_WALL_TRUE}" && test -z "${BUILD_WALL_FALSE}"; then + as_fn_error $? "conditional \"BUILD_WALL\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_WRITE_TRUE}" && test -z "${BUILD_WRITE_FALSE}"; then + as_fn_error $? "conditional \"BUILD_WRITE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_BTRFS_TRUE}" && test -z "${HAVE_BTRFS_FALSE}"; then + as_fn_error $? "conditional \"HAVE_BTRFS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_SYSTEMD_TRUE}" && test -z "${HAVE_SYSTEMD_FALSE}"; then + as_fn_error $? "conditional \"HAVE_SYSTEMD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_BASH_COMPLETION_TRUE}" && test -z "${BUILD_BASH_COMPLETION_FALSE}"; then + as_fn_error $? "conditional \"BUILD_BASH_COMPLETION\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_PYLIBMOUNT_TRUE}" && test -z "${BUILD_PYLIBMOUNT_FALSE}"; then + as_fn_error $? "conditional \"BUILD_PYLIBMOUNT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${USE_TTY_GROUP_TRUE}" && test -z "${USE_TTY_GROUP_FALSE}"; then + as_fn_error $? "conditional \"USE_TTY_GROUP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${MAKEINSTALL_DO_CHOWN_TRUE}" && test -z "${MAKEINSTALL_DO_CHOWN_FALSE}"; then + as_fn_error $? "conditional \"MAKEINSTALL_DO_CHOWN\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${MAKEINSTALL_DO_SETUID_TRUE}" && test -z "${MAKEINSTALL_DO_SETUID_FALSE}"; then + as_fn_error $? "conditional \"MAKEINSTALL_DO_SETUID\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +: "${CONFIG_STATUS=./config.status}" +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by util-linux $as_me 2.33.1, which was +generated by GNU Autoconf 2.69. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" +config_commands="$ac_config_commands" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to . +util-linux home page: ." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_version="\\ +util-linux config.status 2.33.1 +configured by $0, generated by GNU Autoconf 2.69, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2012 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' +AWK='$AWK' +test -n "\$AWK" || AWK=awk +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=?*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error $? "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# +# INIT-COMMANDS +# +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" + + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +sed_quote_subst='$sed_quote_subst' +double_quote_subst='$double_quote_subst' +delay_variable_subst='$delay_variable_subst' +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' +shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' +PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' +lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' +lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' +archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' +lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' +lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' +lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' +configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' +configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' + +LTCC='$LTCC' +LTCFLAGS='$LTCFLAGS' +compiler='$compiler_DEFAULT' + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$1 +_LTECHO_EOF' +} + +# Quote evaled strings. +for var in SHELL \ +ECHO \ +PATH_SEPARATOR \ +SED \ +GREP \ +EGREP \ +FGREP \ +LD \ +NM \ +LN_S \ +lt_SP2NL \ +lt_NL2SP \ +reload_flag \ +OBJDUMP \ +deplibs_check_method \ +file_magic_cmd \ +file_magic_glob \ +want_nocaseglob \ +DLLTOOL \ +sharedlib_from_linklib_cmd \ +AR \ +AR_FLAGS \ +archiver_list_spec \ +STRIP \ +RANLIB \ +CC \ +CFLAGS \ +compiler \ +lt_cv_sys_global_symbol_pipe \ +lt_cv_sys_global_symbol_to_cdecl \ +lt_cv_sys_global_symbol_to_import \ +lt_cv_sys_global_symbol_to_c_name_address \ +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ +lt_cv_nm_interface \ +nm_file_list_spec \ +lt_cv_truncate_bin \ +lt_prog_compiler_no_builtin_flag \ +lt_prog_compiler_pic \ +lt_prog_compiler_wl \ +lt_prog_compiler_static \ +lt_cv_prog_compiler_c_o \ +need_locks \ +MANIFEST_TOOL \ +DSYMUTIL \ +NMEDIT \ +LIPO \ +OTOOL \ +OTOOL64 \ +shrext_cmds \ +export_dynamic_flag_spec \ +whole_archive_flag_spec \ +compiler_needs_object \ +with_gnu_ld \ +allow_undefined_flag \ +no_undefined_flag \ +hardcode_libdir_flag_spec \ +hardcode_libdir_separator \ +exclude_expsyms \ +include_expsyms \ +file_list_spec \ +variables_saved_for_relink \ +libname_spec \ +library_names_spec \ +soname_spec \ +install_override_mode \ +finish_eval \ +old_striplib \ +striplib; do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +# Double-quote double-evaled strings. +for var in reload_cmds \ +old_postinstall_cmds \ +old_postuninstall_cmds \ +old_archive_cmds \ +extract_expsyms_cmds \ +old_archive_from_new_cmds \ +old_archive_from_expsyms_cmds \ +archive_cmds \ +archive_expsym_cmds \ +module_cmds \ +module_expsym_cmds \ +export_symbols_cmds \ +prelink_cmds \ +postlink_cmds \ +postinstall_cmds \ +postuninstall_cmds \ +finish_cmds \ +sys_lib_search_path_spec \ +configure_time_dlsearch_path \ +configure_time_lt_sys_library_path; do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +ac_aux_dir='$ac_aux_dir' + +# See if we are running on zsh, and set the options that allow our +# commands through without removal of \ escapes INIT. +if test -n "\${ZSH_VERSION+set}"; then + setopt NO_GLOB_SUBST +fi + + + PACKAGE='$PACKAGE' + VERSION='$VERSION' + RM='$RM' + ofile='$ofile' + + + +# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it + # from automake < 1.5. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; + "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "libblkid/docs/Makefile") CONFIG_FILES="$CONFIG_FILES libblkid/docs/Makefile" ;; + "libblkid/docs/version.xml") CONFIG_FILES="$CONFIG_FILES libblkid/docs/version.xml" ;; + "libblkid/src/blkid.h") CONFIG_FILES="$CONFIG_FILES libblkid/src/blkid.h" ;; + "libfdisk/docs/Makefile") CONFIG_FILES="$CONFIG_FILES libfdisk/docs/Makefile" ;; + "libfdisk/docs/version.xml") CONFIG_FILES="$CONFIG_FILES libfdisk/docs/version.xml" ;; + "libfdisk/src/libfdisk.h") CONFIG_FILES="$CONFIG_FILES libfdisk/src/libfdisk.h" ;; + "libmount/docs/Makefile") CONFIG_FILES="$CONFIG_FILES libmount/docs/Makefile" ;; + "libmount/docs/version.xml") CONFIG_FILES="$CONFIG_FILES libmount/docs/version.xml" ;; + "libmount/src/libmount.h") CONFIG_FILES="$CONFIG_FILES libmount/src/libmount.h" ;; + "libsmartcols/docs/Makefile") CONFIG_FILES="$CONFIG_FILES libsmartcols/docs/Makefile" ;; + "libsmartcols/docs/version.xml") CONFIG_FILES="$CONFIG_FILES libsmartcols/docs/version.xml" ;; + "libsmartcols/src/libsmartcols.h") CONFIG_FILES="$CONFIG_FILES libsmartcols/src/libsmartcols.h" ;; + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; + + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= ac_tmp= + trap 'exit_status=$? + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +_ACEOF + + +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && +_ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' >$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +_ACEOF + +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// +s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$ac_tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' >$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$ac_tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} + + rm -f "$ac_tmp/stdin" + case $ac_file in + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 + fi +# Compute "$ac_file"'s index in $config_headers. +_am_arg="$ac_file" +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$_am_arg" : 'X\(//\)[^/]' \| \ + X"$_am_arg" : 'X\(//\)$' \| \ + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$_am_arg" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { + # Older Autoconf quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named 'Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running 'make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "$am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} + ;; + "libtool":C) + + # See if we are running on zsh, and set the options that allow our + # commands through without removal of \ escapes. + if test -n "${ZSH_VERSION+set}"; then + setopt NO_GLOB_SUBST + fi + + cfgfile=${ofile}T + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 + $RM "$cfgfile" + + cat <<_LT_EOF >> "$cfgfile" +#! $SHELL +# Generated automatically by $as_me ($PACKAGE) $VERSION +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# NOTE: Changes made to this file will be lost: look at ltmain.sh. + +# Provide generalized library-building support services. +# Written by Gordon Matzigkeit, 1996 + +# Copyright (C) 2014 Free Software Foundation, Inc. +# This is free software; see the source for copying conditions. There is NO +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +# GNU Libtool is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of of the License, or +# (at your option) any later version. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program or library that is built +# using GNU Libtool, you may include this file under the same +# distribution terms that you use for the rest of that program. +# +# GNU Libtool is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + + +# The names of the tagged configurations supported by this script. +available_tags='' + +# Configured defaults for sys_lib_dlsearch_path munging. +: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} + +# ### BEGIN LIBTOOL CONFIG + +# Which release of libtool.m4 was used? +macro_version=$macro_version +macro_revision=$macro_revision + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# What type of objects to build. +pic_mode=$pic_mode + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# Shared archive member basename,for filename based shared library versioning on AIX. +shared_archive_member_spec=$shared_archive_member_spec + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# An echo program that protects backslashes. +ECHO=$lt_ECHO + +# The PATH separator for the build system. +PATH_SEPARATOR=$lt_PATH_SEPARATOR + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="\$SED -e 1s/^X//" + +# A grep program that handles long lines. +GREP=$lt_GREP + +# An ERE matcher. +EGREP=$lt_EGREP + +# A literal string matcher. +FGREP=$lt_FGREP + +# A BSD- or MS-compatible name lister. +NM=$lt_NM + +# Whether we need soft or hard links. +LN_S=$lt_LN_S + +# What is the maximum length of a command? +max_cmd_len=$max_cmd_len + +# Object file pylibmount (normally "o"). +objext=$ac_objext + +# Executable file pylibmount (normally ""). +exeext=$exeext + +# whether the shell understands "unset". +lt_unset=$lt_unset + +# turn spaces into newlines. +SP2NL=$lt_lt_SP2NL + +# turn newlines into spaces. +NL2SP=$lt_lt_NL2SP + +# convert \$build file names to \$host format. +to_host_file_cmd=$lt_cv_to_host_file_cmd + +# convert \$build files to toolchain format. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd + +# An object symbol dumper. +OBJDUMP=$lt_OBJDUMP + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method = "file_magic". +file_magic_cmd=$lt_file_magic_cmd + +# How to find potential files when deplibs_check_method = "file_magic". +file_magic_glob=$lt_file_magic_glob + +# Find potential files using nocaseglob when deplibs_check_method = "file_magic". +want_nocaseglob=$lt_want_nocaseglob + +# DLL creation program. +DLLTOOL=$lt_DLLTOOL + +# Command to associate shared and link libraries. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd + +# The archiver. +AR=$lt_AR + +# Flags to create an archive. +AR_FLAGS=$lt_AR_FLAGS + +# How to feed a file listing to the archiver. +archiver_list_spec=$lt_archiver_list_spec + +# A symbol stripping program. +STRIP=$lt_STRIP + +# Commands used to install an old-style archive. +RANLIB=$lt_RANLIB +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Whether to use a lock for old archive extraction. +lock_old_archive_extraction=$lock_old_archive_extraction + +# A C compiler. +LTCC=$lt_CC + +# LTCC compiler flags. +LTCFLAGS=$lt_CFLAGS + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm into a list of symbols to manually relocate. +global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import + +# Transform the output of nm in a C name address pair. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# Transform the output of nm in a C name address pair when lib prefix is needed. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix + +# The name lister interface. +nm_interface=$lt_lt_cv_nm_interface + +# Specify filename containing input files for \$NM. +nm_file_list_spec=$lt_nm_file_list_spec + +# The root where to search for dependent libraries,and where our libraries should be installed. +lt_sysroot=$lt_sysroot + +# Command to truncate a binary pipe. +lt_truncate_bin=$lt_lt_cv_truncate_bin + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# Used to examine libraries when file_magic_cmd begins with "file". +MAGIC_CMD=$MAGIC_CMD + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Manifest tool. +MANIFEST_TOOL=$lt_MANIFEST_TOOL + +# Tool to manipulate archived DWARF debug symbol files on Mac OS X. +DSYMUTIL=$lt_DSYMUTIL + +# Tool to change global to local symbols on Mac OS X. +NMEDIT=$lt_NMEDIT + +# Tool to manipulate fat objects and archives on Mac OS X. +LIPO=$lt_LIPO + +# ldd/readelf like tool for Mach-O binaries on Mac OS X. +OTOOL=$lt_OTOOL + +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. +OTOOL64=$lt_OTOOL64 + +# Old archive pylibmount (normally "a"). +libext=$libext + +# Shared library pylibmount (normally ".so"). +shrext_cmds=$lt_shrext_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at link time. +variables_saved_for_relink=$lt_variables_saved_for_relink + +# Do we need the "lib" prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Library versioning type. +version_type=$version_type + +# Shared library runtime path variable. +runpath_var=$runpath_var + +# Shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Permission mode override for installation of shared libraries. +install_override_mode=$lt_install_override_mode + +# Command to use after installation of a shared archive. +postinstall_cmds=$lt_postinstall_cmds + +# Command to use after uninstallation of a shared archive. +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# As "finish_cmds", except a single script fragment to be evaled but +# not shown. +finish_eval=$lt_finish_eval + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Compile-time system search path for libraries. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Detected run-time system search path for libraries. +sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path + +# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. +configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + + +# The linker used to build libraries. +LD=$lt_LD + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# Commands used to build an old-style archive. +old_archive_cmds=$lt_old_archive_cmds + +# A language specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU compiler? +with_gcc=$GCC + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Whether the compiler copes with passing no objects directly. +compiler_needs_object=$lt_compiler_needs_object + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds + +# Commands used to build a loadable module if different from building +# a shared archive. +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Whether we are building with GNU ld or not. +with_gnu_ld=$lt_with_gnu_ld + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that enforces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# Whether we need a single "-rpath" flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes +# DIR into the resulting binary. +hardcode_direct=$hardcode_direct + +# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes +# DIR into the resulting binary and the resulting library dependency is +# "absolute",i.e impossible to change by setting \$shlibpath_var if the +# library is relocated. +hardcode_direct_absolute=$hardcode_direct_absolute + +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +# into the resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +# into the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to "yes" if building a shared library automatically hardcodes DIR +# into the library and all subsequent libraries and executables linked +# against it. +hardcode_automatic=$hardcode_automatic + +# Set to yes if linker adds runtime paths of dependent libraries +# to runtime path list. +inherit_rpath=$inherit_rpath + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Set to "yes" if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# Commands necessary for linking programs (against libraries) with templates. +prelink_cmds=$lt_prelink_cmds + +# Commands necessary for finishing linking programs. +postlink_cmds=$lt_postlink_cmds + +# Specify filename containing input files. +file_list_spec=$lt_file_list_spec + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# ### END LIBTOOL CONFIG + +_LT_EOF + + cat <<'_LT_EOF' >> "$cfgfile" + +# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE + +# func_munge_path_list VARIABLE PATH +# ----------------------------------- +# VARIABLE is name of variable containing _space_ separated list of +# directories to be munged by the contents of PATH, which is string +# having a format: +# "DIR[:DIR]:" +# string "DIR[ DIR]" will be prepended to VARIABLE +# ":DIR[:DIR]" +# string "DIR[ DIR]" will be appended to VARIABLE +# "DIRP[:DIRP]::[DIRA:]DIRA" +# string "DIRP[ DIRP]" will be prepended to VARIABLE and string +# "DIRA[ DIRA]" will be appended to VARIABLE +# "DIR[:DIR]" +# VARIABLE will be replaced by "DIR[ DIR]" +func_munge_path_list () +{ + case x$2 in + x) + ;; + *:) + eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" + ;; + x:*) + eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" + ;; + *::*) + eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" + eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" + ;; + *) + eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" + ;; + esac +} + + +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. +func_cc_basename () +{ + for cc_temp in $*""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac + done + func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` +} + + +# ### END FUNCTIONS SHARED WITH CONFIGURE + +_LT_EOF + + case $host_os in + aix3*) + cat <<\_LT_EOF >> "$cfgfile" +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test set != "${COLLECT_NAMES+set}"; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +_LT_EOF + ;; + esac + + +ltmain=$ac_aux_dir/ltmain.sh + + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + + ;; + "po-directories":C) + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + # Treat a directory as a PO directory if and only if it has a + # POTFILES.in file. This allows packages to have multiple PO + # directories under different names or in different locations. + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + gt_tab=`printf '\t'` + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + POMAKEFILEDEPS="POTFILES.in" + # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$OBSOLETE_ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assignment from automake < 1.5. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.in. + # Hide the ALL_LINGUAS assignment from automake < 1.5. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' + fi + # Compute POFILES + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) + # Compute UPDATEPOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) + # Compute DUMMYPOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) + # Compute GMOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + UPDATEPOFILES= + DUMMYPOFILES= + GMOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done ;; + + esac +done # for ac_tag + + +as_fn_exit 0 +_ACEOF +ac_clean_files=$ac_clean_files_save + +test $ac_write_fail = 0 || + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || as_fn_exit 1 +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: + ${PACKAGE} ${VERSION} + + prefix: ${prefix} + exec prefix: ${exec_prefix} + + runstatedir: ${runstatedir} + bindir: ${bindir} + sbindir: ${sbindir} + libdir: ${libdir} + includedir: ${includedir} + usrbin_execdir: ${usrbin_execdir} + usrsbin_execdir: ${usrsbin_execdir} + usrlib_execdir: ${usrlib_execdir} + + compiler: ${CC} + cflags: ${CFLAGS} + suid cflags: ${SUID_CFLAGS} + ldflags: ${LDFLAGS} + suid ldflags: ${SUID_LDFLAGS} + + Python: ${PYTHON} + Python version: ${PYTHON_VERSION} + Python libs: ${pyexecdir} + + Bash completions: ${with_bashcompletiondir} + Systemd support: ${have_systemd} + Systemd unitdir: ${with_systemdsystemunitdir} + Btrfs support: ${have_btrfs} + Wide-char support: ${build_widechar} + + warnings: + +${WARN_CFLAGS} + + Type 'make' or 'make ' to compile. +" >&5 +$as_echo " + ${PACKAGE} ${VERSION} + + prefix: ${prefix} + exec prefix: ${exec_prefix} + + runstatedir: ${runstatedir} + bindir: ${bindir} + sbindir: ${sbindir} + libdir: ${libdir} + includedir: ${includedir} + usrbin_execdir: ${usrbin_execdir} + usrsbin_execdir: ${usrsbin_execdir} + usrlib_execdir: ${usrlib_execdir} + + compiler: ${CC} + cflags: ${CFLAGS} + suid cflags: ${SUID_CFLAGS} + ldflags: ${LDFLAGS} + suid ldflags: ${SUID_LDFLAGS} + + Python: ${PYTHON} + Python version: ${PYTHON_VERSION} + Python libs: ${pyexecdir} + + Bash completions: ${with_bashcompletiondir} + Systemd support: ${have_systemd} + Systemd unitdir: ${with_systemdsystemunitdir} + Btrfs support: ${have_btrfs} + Wide-char support: ${build_widechar} + + warnings: + +${WARN_CFLAGS} + + Type 'make' or 'make ' to compile. +" >&6; } diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..a24c6d8 --- /dev/null +++ b/configure.ac @@ -0,0 +1,2450 @@ +AC_INIT([util-linux], + m4_esyscmd([tools/git-version-gen .tarball-version]), + [kzak@redhat.com],, + [http://www.kernel.org/pub/linux/utils/util-linux/]) + + +AC_PREREQ([2.60]) + +AC_CONFIG_AUX_DIR([config]) +AC_CONFIG_MACRO_DIR([m4]) +dnl AC_USE_SYSTEM_EXTENSIONS must be called before any macros that run +dnl the compiler (like AC_PROG_LIBTOOL) to avoid autoconf errors. +AC_USE_SYSTEM_EXTENSIONS +AM_INIT_AUTOMAKE([-Wall foreign 1.10 tar-pax no-dist-gzip dist-xz subdir-objects]) + +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], + [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])]) +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) + +AC_CONFIG_SRCDIR([sys-utils/mount.c]) +AC_PREFIX_DEFAULT([/usr]) + +dnl version details from .[-] +PACKAGE_VERSION_MAJOR=$(echo $PACKAGE_VERSION | awk -F. '{print $1}') +PACKAGE_VERSION_MINOR=$(echo $PACKAGE_VERSION | awk -F. '{ + sub("-.*","",$2); print $2}') +PACKAGE_VERSION_RELEASE=$(echo $PACKAGE_VERSION | awk -F. '{ + sub("-.*","",$3); print $3 ~ /^@<:@0-9@:>@+$/ ? $3 : 0}') + +dnl libblkid version +LIBBLKID_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE" +LIBBLKID_DATE="09-Jan-2019" +LIBBLKID_LT_MAJOR=1 +LIBBLKID_LT_MINOR=1 +LIBBLKID_LT_MICRO=0 +LIBBLKID_VERSION_INFO=`expr $LIBBLKID_LT_MAJOR + $LIBBLKID_LT_MINOR`:$LIBBLKID_LT_MICRO:$LIBBLKID_LT_MINOR + +dnl libuuid version +LIBUUID_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE" +LIBUUID_LT_MAJOR=1 +LIBUUID_LT_MINOR=3 +LIBUUID_LT_MICRO=0 +LIBUUID_VERSION_INFO=`expr $LIBUUID_LT_MAJOR + $LIBUUID_LT_MINOR`:$LIBUUID_LT_MICRO:$LIBUUID_LT_MINOR + +dnl libmount version +LIBMOUNT_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE" +LIBMOUNT_LT_MAJOR=1 +LIBMOUNT_LT_MINOR=1 +LIBMOUNT_LT_MICRO=0 +LIBMOUNT_VERSION_INFO=`expr $LIBMOUNT_LT_MAJOR + $LIBMOUNT_LT_MINOR`:$LIBMOUNT_LT_MICRO:$LIBMOUNT_LT_MINOR + +dnl libsmartcols version +LIBSMARTCOLS_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE" +LIBSMARTCOLS_LT_MAJOR=1 +LIBSMARTCOLS_LT_MINOR=1 +LIBSMARTCOLS_LT_MICRO=0 +LIBSMARTCOLS_VERSION_INFO=`expr $LIBSMARTCOLS_LT_MAJOR + $LIBSMARTCOLS_LT_MINOR`:$LIBSMARTCOLS_LT_MICRO:$LIBSMARTCOLS_LT_MINOR + +dnl libfdisk version +LIBFDISK_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE" +LIBFDISK_LT_MAJOR=1 +LIBFDISK_LT_MINOR=1 +LIBFDISK_LT_MICRO=0 +LIBFDISK_VERSION_INFO=`expr $LIBFDISK_LT_MAJOR + $LIBFDISK_LT_MINOR`:$LIBFDISK_LT_MICRO:$LIBFDISK_LT_MINOR + +# Check whether exec_prefix=/usr: +AS_CASE([$exec_prefix:$prefix], +[NONE:NONE | NONE:/usr | /usr:*], + [AC_MSG_NOTICE([Default --exec-prefix detected.]) + AS_CASE([$bindir], ['${exec_prefix}/bin'], [bindir=/bin; AC_MSG_NOTICE([ --bindir defaults to /bin]) ]) + AS_CASE([$sbindir], ['${exec_prefix}/sbin'], [sbindir=/sbin; AC_MSG_NOTICE([ --sbindir defaults to /sbin])]) + AS_CASE([$libdir], ['${exec_prefix}/lib'], [libdir=/lib; AC_MSG_NOTICE([ --libdir defaults to /lib]) ]) + AS_CASE([$libdir], ['${exec_prefix}/lib64'],[libdir=/lib64; AC_MSG_NOTICE([ --libdir defaults to /lib64]) ]) + ] +) + + +# default for old versions without $runstatedir +AS_IF([test x"$runstatedir" = x], [runstatedir='${localstatedir}/run']) + +# our default if $localstatedir unchanged +AS_CASE([$localstatedir:$runstatedir], + [NONE:'${localstatedir}/run' | /var:'${localstatedir}/run' | NONE:'/run' ], + [runstatedir=/run; AC_MSG_NOTICE([ --runstatedir defaults to /run])] +) + +AC_SUBST([runstatedir]) + + +# The original default values of {bin,sbin,lib}dir +usrbin_execdir='${exec_prefix}/bin' +AC_SUBST([usrbin_execdir]) + +usrsbin_execdir='${exec_prefix}/sbin' +AC_SUBST([usrsbin_execdir]) + +AS_CASE([$libdir], + ['${exec_prefix}/'* | '${prefix}/'* | /usr/* | "${prefix}"/* ], + [usrlib_execdir=$libdir], + [usrlib_execdir='${exec_prefix}'$libdir] +) +AC_SUBST([usrlib_execdir]) + + +AM_PROG_CC_C_O +AC_PROG_MKDIR_P +AC_PROG_CC_STDC +AC_PROG_YACC +AC_CANONICAL_HOST +AC_C_CONST +AC_C_VOLATILE +AC_C_BIGENDIAN + +dnl Compiler warnings +UL_WARN_ADD([-fno-common]) +UL_WARN_ADD([-Wall]) +UL_WARN_ADD([-Werror=sequence-point]) +UL_WARN_ADD([-Wextra]) +UL_WARN_ADD([-Wextra-semi]) +UL_WARN_ADD([-Wembedded-directive]) +UL_WARN_ADD([-Wmissing-declarations]) +UL_WARN_ADD([-Wmissing-parameter-type]) +UL_WARN_ADD([-Wmissing-prototypes]) +UL_WARN_ADD([-Wno-missing-field-initializers]) +UL_WARN_ADD([-Wredundant-decls]) +UL_WARN_ADD([-Wsign-compare]) +UL_WARN_ADD([-Wtype-limits]) +UL_WARN_ADD([-Wuninitialized]) +UL_WARN_ADD([-Wunused-but-set-parameter]) +UL_WARN_ADD([-Wunused-but-set-variable]) +UL_WARN_ADD([-Wunused-parameter]) +UL_WARN_ADD([-Wunused-result]) +UL_WARN_ADD([-Wunused-variable]) +UL_WARN_ADD([-Wnested-externs]) +UL_WARN_ADD([-Wpointer-arith]) +UL_WARN_ADD([-Wstrict-prototypes]) +UL_WARN_ADD([-Wformat-security]) +UL_WARN_ADD([-Wimplicit-function-declaration]) +UL_WARN_ADD([-Wdiscarded-qualifiers]) +AC_SUBST([WARN_CFLAGS]) + +UL_WARN_ADD([-Wno-clobbered], [BSD_WARN_CFLAGS]) +AC_SUBST([BSD_WARN_CFLAGS]) + +UL_WARN_ADD([-Wno-cast-function-type], [PYTHON_WARN_CFLAGS]) +AC_SUBST([PYTHON_WARN_CFLAGS]) + +UL_WARN_ADD([-Wno-unused-parameter], [NO_UNUSED_WARN_CFLAGS]) +AC_SUBST([NO_UNUSED_WARN_CFLAGS]) + + +AC_ARG_ENABLE([asan], + AS_HELP_STRING([--enable-asan], [compile with Address Sanitizer]), + [], [enable_asan=no] +) +AS_IF([test "x$enable_asan" = xyes], [ + UL_WARN_ADD([-fsanitize=address]) +]) + + + +dnl libtool-2 +LT_INIT + +dnl check supported linker flags +AX_CHECK_VSCRIPT + +m4_ifndef([PKG_PROG_PKG_CONFIG], + [m4_fatal([Could not locate the pkg-config autoconf + macros. These are usually located in /usr/share/aclocal/pkg.m4. + If your macros are in a different location, try setting the + environment variable AL_OPTS="-I/other/macro/dir" before running + ./autogen.sh or autoreconf again. Make sure pkg-config is installed.])]) +PKG_PROG_PKG_CONFIG + +GTK_DOC_CHECK([1.10]) +AC_PATH_PROG([XSLTPROC], [xsltproc]) + +linux_os=no +bsd_os=no +AS_CASE([${host_os}], + [*linux*], + [linux_os=yes], + [*darwin*], + [darwin_os=yes], + [*bsd*], + [bsd_os=yes]) +AM_CONDITIONAL([LINUX], [test "x$linux_os" = xyes]) +AM_CONDITIONAL([DARWIN], [test "x$darwin_os" = xyes]) +AM_CONDITIONAL([BSD], [test "x$bsd_os" = xyes]) + +AS_IF([test "x$darwin_os" = xyes], [ + AC_DEFINE([_DARWIN_C_SOURCE], [1], [Enable MAP_ANON in sys/mman.h on Mac OS X]) +]) + +dnl define ARCH_ conditionals +UL_SET_ARCH([I86], [i?86-*]) +UL_SET_ARCH([86_64], [x86_64*]) +UL_SET_ARCH([IA64], [ia64*]) +UL_SET_ARCH([S390], [s390*]) +UL_SET_ARCH([SPARC], [sparc*]) +UL_SET_ARCH([PPC], [ppc*|powerpc*]) +UL_SET_ARCH([M68K], [m68*]) +UL_SET_ARCH([MIPS], [mips*]) +UL_SET_ARCH([HPPA], [hppa*|parisc*]) + +AC_SYS_LARGEFILE +AC_HEADER_ASSERT +AC_STRUCT_TIMEZONE + +dnl Don't forget to maintain alternatively allowed versions in autogen.sh! +AM_GNU_GETTEXT_VERSION([0.18.3]) +AM_GNU_GETTEXT([external]) + +AS_IF([test -d "$srcdir/po"], [ + ALL_LINGUAS=`cd $srcdir/po > /dev/null && echo *.po | sed 's/\.po//g'` +], [ + 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" +]) + +AC_CHECK_HEADERS([linux/compiler.h linux/blkpg.h linux/major.h], [], [], [ +#ifdef HAVE_LINUX_COMPILER_H +#include +#endif +]) +AC_CHECK_HEADERS([ \ + asm/io.h \ + err.h \ + errno.h \ + fcntl.h \ + getopt.h \ + inttypes.h \ + lastlog.h \ + libutil.h \ + linux/btrfs.h \ + linux/cdrom.h \ + linux/falloc.h \ + linux/watchdog.h \ + linux/fd.h \ + linux/raw.h \ + linux/tiocl.h \ + linux/version.h \ + linux/securebits.h \ + linux/net_namespace.h \ + locale.h \ + mntent.h \ + net/if.h \ + net/if_dl.h \ + netinet/in.h \ + paths.h \ + pty.h \ + security/pam_appl.h \ + stdint.h \ + stdio_ext.h \ + stdlib.h \ + endian.h \ + byteswap.h \ + sys/endian.h \ + sys/disk.h \ + sys/disklabel.h \ + sys/file.h \ + sys/io.h \ + sys/ioccom.h \ + sys/ioctl.h \ + sys/mkdev.h \ + sys/mount.h \ + sys/param.h \ + sys/prctl.h \ + sys/resource.h \ + sys/signalfd.h \ + sys/socket.h \ + sys/sockio.h \ + sys/stat.h \ + sys/sysmacros.h \ + sys/swap.h \ + sys/syscall.h \ + sys/time.h \ + sys/timex.h \ + sys/ttydefaults.h \ + sys/types.h \ + sys/ucred.h \ + sys/un.h \ + unistd.h \ + shadow.h \ + utmp.h \ + utmpx.h \ +]) + +# There is a collision in old kernel-headers. The both files mount.h and fs.h +# define MS_* macros. Fixed by kernel commit e462ec50cb5fad19f6003a3d8087f4a0945dd2b1. +# +AC_CHECK_HEADERS([linux/fs.h ], [], [], + [#ifdef HAVE_SYS_MOUNT_H + # include + # include + #endif +]) + +AC_CHECK_HEADERS([linux/gsmmux.h ], [], [], + [#ifdef LINUX_GSMMUX_H + # include + #endif +]) + +AC_CHECK_HEADERS([security/pam_misc.h], + [AM_CONDITIONAL([HAVE_LINUXPAM], [true])], + [AM_CONDITIONAL([HAVE_LINUXPAM], [false])], [ +#ifdef HAVE_SECURITY_PAM_APPL_H +#include +#endif +]) + +AC_CHECK_HEADERS([linux/blkzoned.h]) + +AC_CHECK_HEADERS([security/openpam.h], [], [], [ +#ifdef HAVE_SECURITY_PAM_APPL_H +#include +#endif +]) + +AC_CHECK_HEADERS([langinfo.h], + [AM_CONDITIONAL([HAVE_LANGINFO], [true])], + [AM_CONDITIONAL([HAVE_LANGINFO], [false])]) + +AC_MSG_CHECKING([whether langinfo.h defines ALTMON_x constants]) +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #include +]], [[ + char *str; + str = nl_langinfo (ALTMON_1); + str = nl_langinfo (ALTMON_2); + str = nl_langinfo (ALTMON_3); + str = nl_langinfo (ALTMON_4); + str = nl_langinfo (ALTMON_5); + str = nl_langinfo (ALTMON_6); + str = nl_langinfo (ALTMON_7); + str = nl_langinfo (ALTMON_8); + str = nl_langinfo (ALTMON_9); + str = nl_langinfo (ALTMON_10); + str = nl_langinfo (ALTMON_11); + str = nl_langinfo (ALTMON_12); +]])], [ + AC_MSG_RESULT([yes]) + AC_DEFINE([HAVE_LANGINFO_ALTMON], [1], + [Define if langinfo.h defines ALTMON_x constants]) +], [ + AC_MSG_RESULT([no]) +]) + + +AC_MSG_CHECKING([whether langinfo.h defines _NL_ABALTMON_x constants]) +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #include +]], [[ + char *str; + str = nl_langinfo (_NL_ABALTMON_1); + str = nl_langinfo (_NL_ABALTMON_2); + str = nl_langinfo (_NL_ABALTMON_3); + str = nl_langinfo (_NL_ABALTMON_4); + str = nl_langinfo (_NL_ABALTMON_5); + str = nl_langinfo (_NL_ABALTMON_6); + str = nl_langinfo (_NL_ABALTMON_7); + str = nl_langinfo (_NL_ABALTMON_8); + str = nl_langinfo (_NL_ABALTMON_9); + str = nl_langinfo (_NL_ABALTMON_10); + str = nl_langinfo (_NL_ABALTMON_11); + str = nl_langinfo (_NL_ABALTMON_12); +]])], [ + AC_MSG_RESULT([yes]) + AC_DEFINE([HAVE_LANGINFO_NL_ABALTMON], [1], + [Define if langinfo.h defines _NL_ABALTMON_x constants]) +], [ + AC_MSG_RESULT([no]) +]) + + +dnl Convert some ac_cv_header_* variables to have_* +dnl +have_linux_version_h=$ac_cv_header_linux_version_h +have_linux_blkzoned_h=$ac_cv_header_linux_blkzoned_h +have_linux_btrfs_h=$ac_cv_header_linux_btrfs_h +have_linux_raw_h=$ac_cv_header_linux_raw_h +have_linux_securebits_h=$ac_cv_header_linux_securebits_h +have_linux_watchdog_h=$ac_cv_header_linux_watchdog_h +have_security_pam_appl_h=$ac_cv_header_security_pam_appl_h +have_security_pam_misc_h=$ac_cv_header_security_pam_misc_h +have_security_openpam_h=$ac_cv_header_security_openpam_h +have_shadow_h=$ac_cv_header_shadow_h +have_sys_signalfd_h=$ac_cv_header_sys_signalfd_h +have_utmpx_h=$ac_cv_header_utmpx_h + +AS_CASE([$linux_os:$have_linux_version_h], + [yes:no], + [AC_MSG_ERROR([kernel headers required on Linux])] +) + +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ +#include +#include +]], [[ + int a = 0; + struct tm *tm = localtime(0); + if (a == -1) /* false */ + sleep(tm->tm_gmtoff); +]])], +[AC_DEFINE([HAVE_TM_GMTOFF], [1], [Does struct tm have a field tm_gmtoff?]) +]) + +AC_CHECK_MEMBERS([struct termios.c_line],,, + [[#include ]]) + +AC_CHECK_MEMBERS([struct stat.st_mtim.tv_nsec],,, + [#include ]) + +AC_CHECK_DECLS([_NL_TIME_WEEK_1STDAY],[],[],[[#include ]]) + +AC_CHECK_DECL([llseek], + [AC_DEFINE([HAVE_LLSEEK_PROTOTYPE], [1], + [Define to 1 if have llseek prototype])], + [], + [#include ]) + +AC_CHECK_DECL([lseek64], + [AC_DEFINE([HAVE_LSEEK64_PROTOTYPE], [1], + [Define to 1 if have lseek64 prototype])], + [], + [#define _LARGEFILE_SOURCE + #define _LARGEFILE64_SOURCE + #include ]) + +AC_CHECK_DECL([environ], + [AC_DEFINE([HAVE_ENVIRON_DECL], [1], + [Define to 1 if have **environ prototype])], +) + +AC_CHECK_DECL([strsignal], + [AC_DEFINE([HAVE_STRSIGNAL_DECL], [1], + [Define to 1 if have strsignal function prototype])], +) + +AC_CHECK_DECL([TIOCGLCKTRMIOS], + [have_tiocglcktrmios=yes], [have_tiocglcktrmios=no], + [#include ]) +AC_CHECK_DECL([SOCK_CLOEXEC], + [have_sock_cloexec=yes], [have_sock_cloexec=no], + [#include + #include ]) +AC_CHECK_DECL([SOCK_NONBLOCK], + [have_sock_nonblock=yes], [have_sock_nonblock=no], + [#include + #include ]) +AC_CHECK_DECL([SO_PASSCRED], + [have_so_passcred=yes], [have_so_passcred=no], + [#include + #include ]) + +AC_CHECK_FUNCS([ \ + clearenv \ + __fpurge \ + fpurge \ + __fpending \ + secure_getenv \ + __secure_getenv \ + eaccess \ + err \ + errx \ + explicit_bzero \ + fsync \ + utimensat \ + getdomainname \ + getdtablesize \ + getexecname \ + getmntinfo \ + getrandom \ + getrlimit \ + getsgnam \ + inotify_init \ + jrand48 \ + lchown \ + llseek \ + lseek64 \ + mempcpy \ + mkostemp \ + nanosleep \ + ntp_gettime \ + personality \ + posix_fadvise \ + prctl \ + qsort_r \ + rpmatch \ + scandirat \ + setprogname \ + setresgid \ + setresuid \ + sched_setattr \ + sched_setscheduler \ + sigqueue \ + srandom \ + strnchr \ + strndup \ + strnlen \ + sysconf \ + sysinfo \ + timegm \ + usleep \ + vwarnx \ + warn \ + warnx \ +]) +AC_FUNC_FSEEKO + +AC_CHECK_FUNCS([openat fstatat unlinkat], [have_openat=yes], [have_openat=no]) +AC_CHECK_FUNCS([ioperm iopl], [have_io=yes]) +AC_CHECK_FUNCS([futimens], [have_futimens=yes]) +AC_CHECK_FUNCS([inotify_init1], [have_inotify_init1=yes]) +AC_CHECK_FUNCS([open_memstream], [have_open_memstream=yes],[have_open_memstream=no]) +AC_CHECK_FUNCS([reboot], [have_reboot=yes],[have_reboot=no]) +AC_CHECK_FUNCS([updwtmpx updwtmpx], [have_gnu_utmpx=yes], [have_gnu_utmpx=no]) +AC_CHECK_FUNCS([getusershell], [have_getusershell=yes],[have_getusershell=no]) + +AM_CONDITIONAL([HAVE_OPENAT], [test "x$have_openat" = xyes]) + +have_setns_syscall="yes" +UL_CHECK_SYSCALL([setns]) +AS_IF([test "x$ul_cv_syscall_setns" = xno], [ + have_setns_syscall="no" +]) + +AC_CHECK_FUNCS([isnan], [], + [AC_CHECK_LIB([m], [isnan], [MATH_LIBS="-lm"])] + [AC_CHECK_LIB([m], [__isnan], [MATH_LIBS="-lm"])] +) +AC_SUBST([MATH_LIBS]) + + +dnl lib/mononotic.c may require -lrt +AC_CHECK_FUNCS([clock_gettime], [], + [AC_CHECK_LIB([rt], [clock_gettime], [REALTIME_LIBS="-lrt"])] +) + +have_timer="no" +AC_CHECK_FUNCS([timer_create], + [have_timer="yes"], + [AC_CHECK_LIB([rt], [timer_create], [ + have_timer="yes" + REALTIME_LIBS="-lrt" + ],[ + AC_SEARCH_LIBS([timer_create], [rt], [ + AC_MSG_RESULT(yes) + have_timer="yes" + REALTIME_LIBS="-lrt -lpthread" + ],[], [-lpthread] + ) + ])] +) + +AC_SUBST([REALTIME_LIBS]) + + +AC_CHECK_LIB([rtas], [rtas_get_sysparm], [ + RTAS_LIBS="-lrtas" + AC_DEFINE_UNQUOTED([HAVE_LIBRTAS], [1], [Define if librtas exists]), [], +]) +AC_SUBST([RTAS_LIBS]) + + +AC_CHECK_MEMBER([struct sockaddr.sa_len], + AC_DEFINE_UNQUOTED([HAVE_SA_LEN], [1], [Define if struct sockaddr contains sa_len]), [], + [#include + #include ]) + +SOCKET_LIBS= +AC_SEARCH_LIBS([socket], [socket], + [AS_IF([test x"$ac_cv_search_socket" != x"none required"], + [SOCKET_LIBS="$SOCKET_LIBS -lsocket"]) +]) +AC_SUBST([SOCKET_LIBS]) + + +have_dirfd=no +AC_CHECK_FUNCS([dirfd], [have_dirfd=yes], [have_dirfd=no]) +AS_IF([test x"$have_dirfd" = xno], [ + AC_CHECK_DECLS([dirfd], + [have_dirfd=yes], [have_dirfd=no], + [#include + #include ]) +]) + +have_ddfd=no +AS_IF([test x"$have_dirfd" = xno], [ + AC_CHECK_MEMBERS([DIR.dd_fd], + [have_ddfd=yes], [have_ddfd=no], + [#include + #include ]) +]) + +AM_CONDITIONAL([HAVE_DIRFD], [test "x$have_dirfd" = xyes -o "x$have_ddfd" = xyes]) + + +AC_MSG_CHECKING([whether program_invocation_short_name is defined]) +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #include +]], [[ + program_invocation_short_name = "test"; +]])], [ + AC_MSG_RESULT([yes]) + AC_DEFINE([HAVE_PROGRAM_INVOCATION_SHORT_NAME], [1], + [Define if program_invocation_short_name is defined]) +], [ + AC_MSG_RESULT([no]) +]) + + +AC_MSG_CHECKING([whether __progname is defined]) +AC_LINK_IFELSE([AC_LANG_PROGRAM([extern char *__progname;], + [if (*__progname == 0) return 1;])], + AC_DEFINE([HAVE___PROGNAME], [1], [Define if __progname is defined]) + AC_MSG_RESULT([yes]), + AC_MSG_RESULT([no])) + +dnl Static compilation +m4_define([UL_STATIC_PROGRAMS], [losetup, mount, umount, fdisk, sfdisk, blkid, nsenter, unshare]) + +AC_ARG_ENABLE([static-programs], + [AS_HELP_STRING([--enable-static-programs=LIST], + [link static the programs in LIST (comma-separated, + supported for ]m4_defn([UL_STATIC_PROGRAMS])[)])]) + +AS_CASE([$enable_static_programs], + [yes], + [enable_static_programs=m4_quote(UL_STATIC_PROGRAMS)], + [no], + [enable_static_programs=] +) + +dnl Set all the individual AM_CONDITIONALs +m4_foreach([UL_PRG], m4_defn([UL_STATIC_PROGRAMS]), [ + AS_CASE([,$enable_static_programs,], + [*,UL_PRG,*], [static_[]UL_PRG=yes] + ) + AS_IF([test "x$static_[]UL_PRG" = xyes], [AC_MSG_NOTICE([enable static build: UL_PRG.])]) + AM_CONDITIONAL([HAVE_STATIC_]m4_toupper(UL_PRG), + [test "x$static_[]UL_PRG" = xyes]) +]) + + +AC_ARG_ENABLE([all-programs], + AS_HELP_STRING([--disable-all-programs], [disable everything, might be overridden by --enable-]), + [], [enable_all_programs=undefined] +) + +AS_CASE([$enable_all_programs], + [yes], [AC_MSG_WARN([force to build all programs by default]) + ul_default_estate=check], + [no], [AC_MSG_WARN([disable all programs by default]) + ul_default_estate=no] +) + + +AX_CHECK_TLS + +AC_DEFUN([UL_SCANF_TYPE_MODIFIER], [dnl +# include +# include +int main() +{ + int i; + int rc = 1; + char *s; + i = sscanf("x", $1, &s); + if (i == 1 && *s == 'x') + rc = 0; + free(s); + return rc; +}]) + +AC_CACHE_VAL([scanf_cv_alloc_modifier], + AC_RUN_IFELSE([AC_LANG_SOURCE([UL_SCANF_TYPE_MODIFIER(["%ms"])])], + [scanf_cv_alloc_modifier=ms], + AC_RUN_IFELSE([AC_LANG_SOURCE([UL_SCANF_TYPE_MODIFIER(["%as"])])], + [scanf_cv_alloc_modifier=as], + [scanf_cv_alloc_modifier=no] + ) + , + + [AC_COMPILE_IFELSE([AC_LANG_SOURCE([ + #include + #include + + #if defined(__GLIBC__) && !defined(__UCLIBC__) + + #if !(__GLIBC_PREREQ(2, 7)) + #error %m is not available + #endif + + #elif defined(_POSIX_VERSION) + + #if _POSIX_VERSION < 200809L + #error %m is not available + #endif + + #else + #error Your C-library is not supported. + #endif + ])], + [scanf_cv_alloc_modifier=ms], + [scanf_cv_alloc_modifier=no])] + ) +) + +AC_MSG_CHECKING([scanf string alloc modifiers]) +AS_CASE([$scanf_cv_alloc_modifier], + [ms], + [AC_MSG_RESULT([(%ms) yes]) + AC_DEFINE([HAVE_SCANF_MS_MODIFIER], [1], [scanf %ms modifier]) + have_scanf_alloc_modifier=yes], + [as], + [AC_MSG_RESULT([(%as) yes]) + have_scanf_alloc_modifier=yes + AC_DEFINE([HAVE_SCANF_AS_MODIFIER], [1], [scanf %as modifier])], + [AC_MSG_RESULT([no]) + have_scanf_alloc_modifier=no] +) + + +AC_ARG_WITH([util], AS_HELP_STRING([--without-util], [compile without libutil]), + [], [with_util=auto] +) +AS_IF([test "x$with_util" = xno], [ + AM_CONDITIONAL([HAVE_UTIL], [false]) + have_util=no +], [ + UL_CHECK_LIB([util], [openpty]) +]) + + +AC_CHECK_TYPES([union semun], [], [], [[ +#include +]]) +AC_CHECK_TYPES([loff_t]) + + +AC_ARG_ENABLE([widechar], + AS_HELP_STRING([--disable-widechar], [do not compile wide character support]), + [], [enable_widechar=check] +) +UL_BUILD_INIT([widechar]) +UL_REQUIRES_COMPILE([widechar], [[ + #include + #include + #include + ]], [[ + wchar_t wc; + wint_t w; + w = fgetwc(stdin); + if (w == WEOF) exit(1); + wc = w; + fputwc(wc,stdout); + ]], + [wchar_t support]) + +AS_IF([test "x$build_widechar" = xyes ], [ + AC_DEFINE([HAVE_WIDECHAR], [1], [Do we have wide character support?]) +]) + + +AC_CHECK_TYPES([cpu_set_t], [have_cpu_set_t=yes], [], [[ +#include +]]) + +AM_CONDITIONAL([HAVE_CPU_SET_T], [test "x$have_cpu_set_t" = xyes]) + +AC_CHECK_TYPES([sighandler_t], [], [], [[ +#include +]]) + +AC_CHECK_DECLS([CPU_ALLOC], [], [], [[ +#include +]]) + +# on Solaris, you can't mix and match standards, since we use c99 +# aparently at this stage, XOPEN_SOURCE will conflict. As workaround, +# check for crypt.h and use that without XOPEN_SOURCE. +have_crypt=no +AC_CHECK_HEADERS([crypt.h]) +AC_LINK_IFELSE([AC_LANG_PROGRAM([[ +#ifdef HAVE_CRYPT_H +#include +#else +#define _XOPEN_SOURCE +#include +#endif +]], [[ +char *c = crypt("abc","pw"); +]])],[],[ + LIBS="$LIBS -lcrypt" + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #ifdef HAVE_CRYPT_H + #include + #else + #define _XOPEN_SOURCE + #include + #endif + ]], [[ + char *c = crypt("abc","pw"); + ]])],[ + AC_DEFINE([HAVE_LIBCRYPT], [1], [Do we need -lcrypt?]) + have_libcrypt=yes + have_crypt=yes + ],[ + AC_MSG_WARN([crypt() is not available]) + ]) +]) +AM_CONDITIONAL([HAVE_LIBCRYPT], [test "x$have_libcrypt" = xyes]) + + +AC_ARG_WITH([selinux], + AS_HELP_STRING([--with-selinux], [compile with SELinux support]), + [], [with_selinux=no] +) + +AS_IF([test "x$with_selinux" = xno], [ + AM_CONDITIONAL([HAVE_SELINUX], [false]) +], [ + PKG_CHECK_MODULES([SELINUX], [libselinux >= 2.0], + [AC_DEFINE([HAVE_LIBSELINUX], [1], [Define if SELinux is available]) + UL_PKG_STATIC([SELINUX_LIBS_STATIC], [libselinux]) + AM_CONDITIONAL([HAVE_SELINUX], [true]) + have_selinux=yes], + [have_selinux=no]) + + AS_CASE([$with_selinux:$have_selinux], + [yes:no], [AC_MSG_ERROR([SELinux selected but libselinux not found or too old])] + ) + + AS_IF([test "x$have_selinux" = xyes], [ + UL_SET_FLAGS([], [], [$SELINUX_LIBS]) + # This function is missing in old libselinux 1.xx versions + AC_CHECK_FUNCS([security_get_initial_context]) + UL_RESTORE_FLAGS + ]) +]) +AC_SUBST([SELINUX_LIBS]) +AC_SUBST([SELINUX_LIBS_STATIC]) + + +AC_ARG_WITH([audit], + AS_HELP_STRING([--with-audit], [compile with audit support]), + [], [with_audit=no] +) + +AS_IF([test "x$with_audit" = xno], [ + AM_CONDITIONAL([HAVE_AUDIT], [false]) +], [ + UL_CHECK_LIB([audit], [audit_log_user_message]) + AS_CASE([$with_audit:$have_audit], + [yes:no], + [AC_MSG_ERROR([Audit selected but libaudit not found (or does not support audit_log_user_message())])] + ) +]) + +AC_ARG_WITH([udev], AS_HELP_STRING([--without-udev], [compile without udev support]), + [], [with_udev=auto] +) + +AS_IF([test "x$with_udev" = xno], [ + AM_CONDITIONAL([HAVE_UDEV], [false]) +], [ + UL_CHECK_LIB([udev], [udev_new]) + AS_CASE([$with_udev:$have_udev], + [yes:no], + [AC_MSG_ERROR([udev selected but libudev not found])] + ) +]) + + +dnl wide-char ncurses +AC_ARG_WITH([ncursesw], + AS_HELP_STRING([--without-ncursesw], [do not build with wide-char ncurses]), + [], [with_ncursesw=auto] +) +have_ncursesw=no +have_ncursesw_header=no +AS_IF([test "x$with_ncursesw" != xno], [ + UL_NCURSES_CHECK([ncursesw]) + AS_IF([test "x$have_ncursesw" = xyes], [ + AC_CHECK_HEADERS([ncursesw/ncurses.h], [have_ncursesw_header=yes]) + AC_CHECK_HEADERS([ncursesw/term.h]) + + # Define HAVE_NCURSES_H only if check for HAVE_NCURSESW_NCURSES_H is + # unsuccessful to avoid too many *_H permitations in config.h + AS_IF([test "x$have_ncursesw_header" = xno], [ + AC_CHECK_HEADERS([ncurses.h], [have_ncursesw_header=yes]) + AC_CHECK_HEADERS([term.h]) + ]) + AS_IF([test "x$have_ncursesw_header" = xno], [have_ncursesw=no]) + ]) + AS_IF([test "x$have_ncursesw" = xyes], [ + CURSES_LIB_NAME="ncursesw" + AC_DEFINE([HAVE_LIBNCURSESW], [1], [Define if ncursesw library available]) + ]) +]) +AS_CASE([$with_ncursesw:$have_ncursesw], + [yes:no], [AC_MSG_ERROR([ncursesw selected, but library not found])]) + + +dnl non-wide ncurses +AC_ARG_WITH([ncurses], + AS_HELP_STRING([--with-ncurses], [build with non-wide ncurses]), + [], [with_ncurses=auto] +) +have_ncurses=no +have_ncurses_header=no +AS_CASE([$with_ncurses:$build_widechar], + [yes:yes], [AC_MSG_ERROR([wide-char support enabled, but non-wide ncurses selects])]) + +AS_IF([test "x$have_ncursesw" = xno -a "x$with_ncurses" != xno ], [ + UL_NCURSES_CHECK([ncurses]) + AS_IF([test "x$have_ncurses" = xyes], [ + AC_CHECK_HEADERS([ncurses/ncurses.h], [have_ncurses_header=yes]) + AC_CHECK_HEADERS([ncurses/term.h]) + + # Define HAVE_NCURSES_H only if check for HAVE_NCURSES_NCURSES_H is + # unsuccessful to avoid too many *_H permitations in config.h + AS_IF([test "x$have_ncurses_header" = xno], [ + AC_CHECK_HEADERS([ncurses.h], [have_ncurses_header=yes]) + AC_CHECK_HEADERS([term.h]) + ]) + AS_IF([test "x$have_ncurses_header" = xno], [have_ncurses=no]) + ]) + AS_IF([test "x$have_ncurses" = xyes], [ + CURSES_LIB_NAME="ncurses" + AC_DEFINE([HAVE_LIBNCURSES], [1], [Define if ncurses library available]) + ]) +]) +AS_CASE([$with_ncurses:$have_ncurses], + [yes:no], [AC_MSG_ERROR([ncurses selected, but library not found])]) + +AC_SUBST([NCURSES_CFLAGS]) +AC_SUBST([NCURSES_LIBS]) +AM_CONDITIONAL([HAVE_NCURSES], [test "x$have_ncursesw" = xyes -o "x$have_ncurses" = xyes]) + + +AC_ARG_WITH([slang], + AS_HELP_STRING([--with-slang], [compile cfdisk with slang rather than ncurses]), + [], [with_slang=no] +) +have_slang=no +AS_IF([test "x$with_slang" = xyes], [ + AC_CHECK_HEADERS([slang.h slang/slang.h]) + AC_CHECK_HEADERS([slcurses.h slang/slcurses.h], + [have_slang=yes], [], [ +#ifdef HAVE_SLANG_H +#include +#elif defined(HAVE_SLANG_SLANG_H) +#include +#endif +]) + AS_IF([test "x$have_slang" = xno], [ + AC_MSG_ERROR([slang selected but slcurses.h not found])], + [CURSES_LIB_NAME=slang + ]) +]) +AM_CONDITIONAL([HAVE_SLANG], [test "x$have_slang" = xyes]) + + +AS_IF([test "x$have_slang" = xyes -o "x$have_ncursesw" = xyes -o "x$have_ncurses" = xyes], [ + AC_CHECK_LIB([$CURSES_LIB_NAME], use_default_colors, [ + AC_DEFINE(HAVE_USE_DEFAULT_COLORS, 1, + [Define if curses library has the use_default_colors().]) + ]) + AC_CHECK_LIB([$CURSES_LIB_NAME], resizeterm, [ + AC_DEFINE(HAVE_RESIZETERM, 1, + [Define if curses library has the resizeterm().]) + ]) +]) + + +AC_ARG_WITH([tinfo], AS_HELP_STRING([--without-tinfo], [compile without libtinfo]), + [], [with_tinfo=auto] +) +have_tinfo=no +have_tinfow=no +AS_IF([test "x$with_tinfo" != xno], [ + AS_IF([test "x$have_ncursesw" = xyes], [ + UL_TINFO_CHECK([tinfow]) + ]) + AS_IF([test "x$have_tinfow" = xno], [ + UL_TINFO_CHECK([tinfo]) + ]) +]) +AC_SUBST([TINFO_LIBS]) +AC_SUBST([TINFO_LIBS_STATIC]) +AC_SUBST([TINFO_CFLAGS]) +AM_CONDITIONAL([HAVE_TINFO], [test "x$have_tinfo" = xyes -o "x$have_tinfow" = xyes]) +AS_IF([test "x$have_tinfo" = xyes -o "x$have_tinfow" = xyes], [ + AC_DEFINE(HAVE_LIBTINFO, 1, [Define if libtinfo or libtinfow available.]) +]) + + +AC_ARG_WITH([readline], + AS_HELP_STRING([--without-readline], [do not build with GNU Readline support]), + [], [with_readline=auto] +) + +AS_IF([test "x$with_readline" = xno], [ + AM_CONDITIONAL([HAVE_READLINE], [false]) +], [ + UL_CHECK_LIB([readline], [readline]) + AS_CASE([$with_readline:$have_readline], + [yes:no], + [AC_MSG_ERROR([readline selected but libreadline not found ])], + [*:yes], + [READLINE_LIBS="-lreadline" + READLINE_LIBS_STATIC="-lreadline $TINFO_LIBS_STATIC"] + ) +]) +AC_SUBST([READLINE_LIBS]) +AC_SUBST([READLINE_LIBS_STATIC]) + + +AC_ARG_WITH([utempter], + AS_HELP_STRING([--with-utempter], [compile script(1) with libutempter]), + [], [with_utempter=no] +) + +AS_IF([test "x$with_utempter" = xyes], [ + UL_CHECK_LIB([utempter], [utempter_add_record]) + AS_IF([test "x$have_utempter" = xno], [ + AC_MSG_ERROR([utempter selected but libutempter not found]) + ]) +], [ + AM_CONDITIONAL([HAVE_UTEMPTER], [false]) +]) + + +dnl +dnl libuuid +dnl +AC_ARG_ENABLE([libuuid], + AS_HELP_STRING([--disable-libuuid], [do not build libuuid and uuid utilities]), + [], [UL_DEFAULT_ENABLE([libuuid], [yes])] +) +UL_BUILD_INIT([libuuid]) +AC_SUBST([LIBUUID_VERSION]) +AC_SUBST([LIBUUID_VERSION_INFO]) +AM_CONDITIONAL(BUILD_LIBUUID, test "x$build_libuuid" = xyes) + +AC_ARG_ENABLE([libuuid-force-uuidd], + AS_HELP_STRING([--enable-libuuid-force-uuidd], [support uuidd even though the daemon is not built]), + [], [enable_libuuid_force_uuidd=no] +) + +AS_IF([test "x$build_libuuid" = xyes], [ + AC_DEFINE(HAVE_LIBUUID, 1, [Define to 1 if you have the -luuid.]) +]) + +dnl +dnl libblkid +dnl +AC_ARG_ENABLE([libblkid], + AS_HELP_STRING([--disable-libblkid], [do not build libblkid and many related utilities]), + [], [UL_DEFAULT_ENABLE([libblkid], [check])] +) +UL_BUILD_INIT([libblkid]) +UL_REQUIRES_HAVE([libblkid], [openat], [openat functions]) +UL_REQUIRES_HAVE([libblkid], [dirfd,ddfd], [dirfd or ddfd function]) +AC_SUBST([LIBBLKID_DATE]) +AC_SUBST([LIBBLKID_VERSION]) +AC_SUBST([LIBBLKID_VERSION_INFO]) +AC_DEFINE_UNQUOTED([LIBBLKID_VERSION], ["$LIBBLKID_VERSION"], [libblkid version string]) +AC_DEFINE_UNQUOTED([LIBBLKID_DATE], ["$LIBBLKID_DATE"], [libblkid date string]) +AS_IF([test "x$build_libblkid" = xyes], [ + AC_DEFINE([HAVE_LIBBLKID], [1], [Define to 1 if you have the -lblkid.]) +]) +AM_CONDITIONAL([BUILD_LIBBLKID], [test "x$build_libblkid" = xyes]) +AM_CONDITIONAL([BUILD_LIBBLKID_TESTS], [test "x$build_libblkid" = xyes -a "x$enable_static" = xyes]) + +dnl +dnl libmount +dnl +AC_ARG_ENABLE([libmount], + AS_HELP_STRING([--disable-libmount], [do not build libmount]), + [], [UL_DEFAULT_ENABLE([libmount], [check])] +) +UL_BUILD_INIT([libmount]) +UL_REQUIRES_BUILD([libmount], [libblkid]) +UL_REQUIRES_HAVE([libmount], [scanf_alloc_modifier], [scanf string alloc modifier]) +UL_REQUIRES_HAVE([libmount], [dirfd,ddfd], [dirfd or ddfd function]) +AM_CONDITIONAL([BUILD_LIBMOUNT], [test "x$build_libmount" = xyes]) +AM_CONDITIONAL([BUILD_LIBMOUNT_TESTS], [test "x$build_libmount" = xyes -a "x$enable_static" = xyes]) +AS_IF([test "x$build_libmount" = xyes], [ + AC_DEFINE(HAVE_LIBMOUNT, 1, [Define if libmount available.]) + AS_IF([test "x$have_setns_syscall" = "xyes"], [ + AC_DEFINE([USE_LIBMOUNT_SUPPORT_NAMESPACES], [1], [Define to 1 if want to support namepaces.]) + ],[ + AC_MSG_WARN([libmount will be compiled without namespaces support]) + ]) +]) + +AC_SUBST([LIBMOUNT_VERSION]) +AC_SUBST([LIBMOUNT_MAJOR_VERSION], $PACKAGE_VERSION_MAJOR) +AC_SUBST([LIBMOUNT_MINOR_VERSION], $PACKAGE_VERSION_MINOR) +AC_SUBST([LIBMOUNT_PATCH_VERSION], $PACKAGE_VERSION_RELEASE) +AC_SUBST([LIBMOUNT_VERSION_INFO]) +AC_DEFINE_UNQUOTED([LIBMOUNT_VERSION], ["$LIBMOUNT_VERSION"], [libmount version string]) + +AC_ARG_ENABLE([libmount-support-mtab], + AS_HELP_STRING([--enable-libmount-support-mtab], [support /etc/mtab (default is use /proc/self/mountinfo)]), + [], [enable_libmount_support_mtab=no] +) + +AS_IF([test "x$enable_libmount_support_mtab" = xyes], [ + AC_DEFINE([USE_LIBMOUNT_SUPPORT_MTAB], [1], [Define to 1 if want to support mtab.]) +]) + +dnl +dnl libsmartcols +dnl +AC_ARG_ENABLE([libsmartcols], + AS_HELP_STRING([--disable-libsmartcols], [do not build libsmartcols]), + [], [UL_DEFAULT_ENABLE([libsmartcols], [yes])] +) +UL_BUILD_INIT([libsmartcols]) +AM_CONDITIONAL([BUILD_LIBSMARTCOLS], [test "x$build_libsmartcols" = xyes]) + +AC_SUBST([LIBSMARTCOLS_VERSION]) +AC_SUBST([LIBSMARTCOLS_VERSION_INFO]) +AC_DEFINE_UNQUOTED([LIBSMARTCOLS_VERSION], ["$LIBSMARTCOLS_VERSION"], [libsmartcols version string]) + + +dnl +dnl libfdisk +dnl +AC_ARG_ENABLE([libfdisk], + AS_HELP_STRING([--disable-libfdisk], [do not build libfdisk]), + [], [UL_DEFAULT_ENABLE([libfdisk], [check])] +) +UL_BUILD_INIT([libfdisk]) +UL_REQUIRES_BUILD([libfdisk], [libuuid]) +AM_CONDITIONAL([BUILD_LIBFDISK], [test "x$build_libfdisk" = xyes]) +AM_CONDITIONAL([BUILD_LIBFDISK_TESTS], [test "x$build_libfdisk" = xyes -a "x$enable_static" = xyes]) + +AS_IF([test "x$build_libblkid" = xyes], + [LIBFDISK_PC_REQUIRES="uuid blkid"],[LIBFDISK_PC_REQUIRES="uuid"]) +AC_SUBST([LIBFDISK_PC_REQUIRES]) + +AC_SUBST([LIBFDISK_VERSION]) +AC_SUBST([LIBFDISK_MAJOR_VERSION], $PACKAGE_VERSION_MAJOR) +AC_SUBST([LIBFDISK_MINOR_VERSION], $PACKAGE_VERSION_MINOR) +AC_SUBST([LIBFDISK_PATCH_VERSION], $PACKAGE_VERSION_RELEASE) +AC_SUBST([LIBFDISK_VERSION_INFO]) +AC_DEFINE_UNQUOTED([LIBFDISK_VERSION], ["$LIBFDISK_VERSION"], [libfdisk version string]) + + +AC_ARG_ENABLE([fdisks], + AS_HELP_STRING([--disable-fdisks], [do not build fdisk(8), sfdisk(8) and cfdisk(8)]), + [], [UL_DEFAULT_ENABLE([fdisks], [check])] +) +enable_fdisk=$enable_fdisks +enable_sfdisk=$enable_fdisks +enable_cfdisk=$enable_fdisks + +UL_BUILD_INIT([fdisk]) +UL_REQUIRES_HAVE([fdisk], [openat], [openat functions]) +UL_REQUIRES_HAVE([fdisk], [dirfd,ddfd], [dirfd or ddfd function]) +UL_REQUIRES_BUILD([fdisk], [libfdisk]) +UL_REQUIRES_BUILD([fdisk], [libsmartcols]) +AM_CONDITIONAL([BUILD_FDISK], [test "x$build_fdisk" = xyes]) + + +UL_BUILD_INIT([sfdisk]) +UL_REQUIRES_HAVE([sfdisk], [openat], [openat functions]) +UL_REQUIRES_HAVE([sfdisk], [dirfd,ddfd], [dirfd or ddfd function]) +UL_REQUIRES_BUILD([sfdisk], [libfdisk]) +UL_REQUIRES_BUILD([sfdisk], [libsmartcols]) +AM_CONDITIONAL([BUILD_SFDISK], [test "x$build_sfdisk" = xyes]) + + +UL_BUILD_INIT([cfdisk]) +UL_REQUIRES_BUILD([cfdisk], [libfdisk]) +UL_REQUIRES_BUILD([cfdisk], [libsmartcols]) +UL_REQUIRES_HAVE([cfdisk], [open_memstream], [open_memstream function]) +UL_REQUIRES_HAVE([cfdisk], [ncursesw,slang,ncurses], [ncursesw, ncurses or slang library]) +AM_CONDITIONAL([BUILD_CFDISK], [test "x$build_cfdisk" = xyes]) + + +AC_ARG_ENABLE([mount], + AS_HELP_STRING([--disable-mount], [do not build mount(8) and umount(8)]), + [], [UL_DEFAULT_ENABLE([mount], [check])] +) +UL_BUILD_INIT([mount]) +UL_REQUIRES_LINUX([mount]) +UL_REQUIRES_BUILD([mount], [libmount]) +AM_CONDITIONAL([BUILD_MOUNT], [test "x$build_mount" = xyes]) + + +AC_ARG_ENABLE([losetup], + AS_HELP_STRING([--disable-losetup], [do not build losetup]), + [], [UL_DEFAULT_ENABLE([losetup], [check])] +) +UL_BUILD_INIT([losetup]) +UL_REQUIRES_LINUX([losetup]) +UL_REQUIRES_BUILD([losetup], [libsmartcols]) +AM_CONDITIONAL([BUILD_LOSETUP], [test "x$build_losetup" = xyes]) + +AC_ARG_ENABLE([zramctl], + AS_HELP_STRING([--disable-zramctl], [do not build zramctl]), + [], [UL_DEFAULT_ENABLE([zramctl], [check])] +) +UL_BUILD_INIT([zramctl]) +UL_REQUIRES_LINUX([zramctl]) +UL_REQUIRES_BUILD([zramctl], [libsmartcols]) +AM_CONDITIONAL([BUILD_ZRAMCTL], [test "x$build_zramctl" = xyes]) + +AC_ARG_ENABLE([fsck], + AS_HELP_STRING([--disable-fsck], [do not build fsck]), + [], [UL_DEFAULT_ENABLE([fsck], [check])] +) +UL_BUILD_INIT([fsck]) +UL_REQUIRES_BUILD([fsck], [libmount]) +AM_CONDITIONAL([BUILD_FSCK], [test "x$build_fsck" = xyes]) + + +AC_ARG_ENABLE([partx], + AS_HELP_STRING([--disable-partx], [do not build addpart, delpart, partx]), + [], [UL_DEFAULT_ENABLE([partx], [check])] +) +UL_BUILD_INIT([partx]) +UL_REQUIRES_LINUX([partx]) +UL_REQUIRES_BUILD([partx], [libblkid]) +UL_REQUIRES_BUILD([partx], [libsmartcols]) +AM_CONDITIONAL([BUILD_PARTX], [test "x$build_partx" = xyes]) + + +AC_ARG_ENABLE([uuidd], + AS_HELP_STRING([--disable-uuidd], [do not build the uuid daemon]), + [], [UL_DEFAULT_ENABLE([uuidd], [check])] +) +UL_BUILD_INIT([uuidd]) +UL_REQUIRES_BUILD([uuidd], [libuuid]) +UL_REQUIRES_HAVE([uuidd], [timer], [timer_create function]) +UL_REQUIRES_HAVE([uuidd], [sys_signalfd_h], [sys/signalfd.h header]) +AS_IF([test "x$build_uuidd" = xyes || test "x$enable_libuuid_force_uuidd" = xyes], [ + AC_DEFINE([HAVE_UUIDD], [1], [Define to 1 if you want to use uuid daemon.]) +]) +AM_CONDITIONAL([BUILD_UUIDD], [test "x$build_uuidd" = xyes]) + + +UL_BUILD_INIT([uuidgen], [check]) +UL_REQUIRES_BUILD([uuidgen], [libuuid]) +AM_CONDITIONAL([BUILD_UUIDGEN], [test "x$build_uuidgen" = xyes]) + +UL_BUILD_INIT([uuidparse], [check]) +UL_REQUIRES_BUILD([uuidparse], [libuuid]) +UL_REQUIRES_BUILD([uuidparse], [libsmartcols]) +AM_CONDITIONAL([BUILD_UUIDPARSE], [test "x$build_uuidparse" = xyes]) + +UL_BUILD_INIT([blkid], [check]) +UL_REQUIRES_BUILD([blkid], [libblkid]) +AM_CONDITIONAL([BUILD_BLKID], [test "x$build_blkid" = xyes]) + +UL_BUILD_INIT([findfs], [check]) +UL_REQUIRES_BUILD([findfs], [libblkid]) +AM_CONDITIONAL([BUILD_FINDFS], [test "x$build_findfs" = xyes]) + +UL_BUILD_INIT([wipefs], [check]) +UL_REQUIRES_BUILD([wipefs], [libblkid]) +UL_REQUIRES_BUILD([wipefs], [libsmartcols]) +AM_CONDITIONAL([BUILD_WIPEFS], [test "x$build_wipefs" = xyes]) + +UL_BUILD_INIT([findmnt], [check]) +UL_REQUIRES_BUILD([findmnt], [libmount]) +UL_REQUIRES_BUILD([findmnt], [libblkid]) +UL_REQUIRES_BUILD([findmnt], [libsmartcols]) +AM_CONDITIONAL([BUILD_FINDMNT], [test "x$build_findmnt" = xyes]) + + +AC_ARG_ENABLE([mountpoint], + AS_HELP_STRING([--disable-mountpoint], [do not build mountpoint]), + [], [UL_DEFAULT_ENABLE([mountpoint], [check])] +) +UL_BUILD_INIT([mountpoint]) +UL_REQUIRES_BUILD([mountpoint], [libmount]) +AM_CONDITIONAL([BUILD_MOUNTPOINT], [test "x$build_mountpoint" = xyes]) + + +AC_ARG_ENABLE([fallocate], + AS_HELP_STRING([--disable-fallocate], [do not build fallocate]), + [], [UL_DEFAULT_ENABLE([fallocate], [check])] +) +UL_BUILD_INIT([fallocate]) +UL_REQUIRES_LINUX([fallocate]) +UL_REQUIRES_SYSCALL_CHECK([fallocate], [UL_CHECK_SYSCALL([fallocate])]) +AM_CONDITIONAL([BUILD_FALLOCATE], [test "x$build_fallocate" = xyes]) + +AS_IF([test "x$build_fallocate" = xyes], [ + dnl check for valid fallocate() function + dnl with 32 bits glibc 2.10, fallocate() exists but not fallocate64() + dnl when _FILE_OFFSET_BITS==64, fallocate() is redirect to fallocate64() + dnl and program can't be linked. + dnl AC_CHECK_FUNC can't catch such errors since it's redefining + dnl function prototype. + AC_MSG_CHECKING([for valid fallocate() function]) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[ +#ifdef HAVE_UNISTD_H +# include +#endif +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_LINUX_FALLOC_H +# include +#endif +#ifdef HAVE_FCNTL_H +# include +#endif +]],[[ + long ret; + ret = fallocate(0, FALLOC_FL_KEEP_SIZE, 0xfffffffful, 0xfffffffful); + if (ret != 0) { + return 1; + } + ]])],[ + AC_MSG_RESULT([yes]) + AC_DEFINE([HAVE_FALLOCATE], [1], [Have valid fallocate() function])],[ + AC_MSG_RESULT([no])]) +]) + +AS_IF([test "x$build_fallocate" = xyes], [ + dnl check for valid posix_fallocate() function + AC_MSG_CHECKING([for valid posix_fallocate() function]) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[ +#ifdef HAVE_UNISTD_H +# include +#endif +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_LINUX_FALLOC_H +# include +#endif +#ifdef HAVE_FCNTL_H +# include +#endif +]],[[ + long ret; + ret = posix_fallocate(0, 0xfffffffful, 0xfffffffful); + if (ret != 0) { + return 1; + } + ]])],[ + AC_MSG_RESULT([yes]) + AC_DEFINE([HAVE_POSIX_FALLOCATE], [1], [Have valid posix_fallocate() function])],[ + AC_MSG_RESULT([no])]) +]) + + +AC_ARG_ENABLE([unshare], + AS_HELP_STRING([--disable-unshare], [do not build unshare]), + [], [UL_DEFAULT_ENABLE([unshare], [check])] +) +UL_BUILD_INIT([unshare]) +UL_REQUIRES_LINUX([unshare]) +UL_REQUIRES_SYSCALL_CHECK([unshare], [UL_CHECK_SYSCALL([unshare])]) +AM_CONDITIONAL([BUILD_UNSHARE], [test "x$build_unshare" = xyes]) +AC_CHECK_FUNCS([unshare]) + +AC_ARG_ENABLE([nsenter], + AS_HELP_STRING([--disable-nsenter], [do not build nsenter]), + [], [UL_DEFAULT_ENABLE([nsenter], [check])] +) +UL_BUILD_INIT([nsenter]) +UL_REQUIRES_LINUX([nsenter]) +UL_REQUIRES_HAVE([nsenter], [setns_syscall], [setns syscall]) +AM_CONDITIONAL([BUILD_NSENTER], [test "x$build_nsenter" = xyes]) +AC_CHECK_FUNCS([setns]) + + +AC_ARG_WITH([cap_ng], + AS_HELP_STRING([--without-cap-ng], [compile without libcap-ng]), + [], [with_cap_ng=auto] +) +AS_IF([test "x$with_cap_ng" = xno], [ + AM_CONDITIONAL([HAVE_CAP_NG], [false]) + have_cap_ng=no +],[ + UL_CHECK_LIB([cap-ng], [capng_apply], [cap_ng]) +]) + + +AC_ARG_ENABLE([setpriv], + AS_HELP_STRING([--disable-setpriv], [do not build setpriv]), + [], [UL_DEFAULT_ENABLE([setpriv], [check])] +) +UL_BUILD_INIT([setpriv]) +UL_REQUIRES_LINUX([setpriv]) +UL_REQUIRES_HAVE([setpriv], [linux_securebits_h], [securebits.h header file]) +UL_REQUIRES_HAVE([setpriv], [cap_ng], [libcap-ng library]) +AM_CONDITIONAL([BUILD_SETPRIV], [test "x$build_setpriv" = xyes]) + + +AC_ARG_ENABLE([eject], + AS_HELP_STRING([--disable-eject], [do not build eject]), + [], [UL_DEFAULT_ENABLE([eject], [check])] +) +UL_BUILD_INIT([eject]) +UL_REQUIRES_LINUX([eject]) +UL_REQUIRES_BUILD([eject], [libmount]) +AM_CONDITIONAL([BUILD_EJECT], [test "x$build_eject" = xyes]) + + +AC_ARG_ENABLE([agetty], + AS_HELP_STRING([--disable-agetty], [do not build agetty]), + [], [UL_DEFAULT_ENABLE([agetty], [check])] +) +UL_BUILD_INIT([agetty]) +UL_REQUIRES_HAVE([agetty], [utmpx_h], [utmpx.h header]) +UL_REQUIRES_HAVE([agetty], [gnu_utmpx], [GNU utmpx functions]) +AM_CONDITIONAL([BUILD_AGETTY], [test "x$build_agetty" = xyes]) +AS_IF([test "x$have_futimens" = xyes -a "x$have_inotify_init1" = xyes ], [ + AC_DEFINE([AGETTY_RELOAD], [1], [Enable agetty --reload feature]) +],[ + AC_MSG_WARN([futimens or inotify_init1 not found; agetty(8) will not provide ---reload functionality]) +]) + + +AC_ARG_ENABLE([plymouth_support], + AS_HELP_STRING([--disable-plymouth_support], [don not care about plymouth in sylogin(8) and agetty(8)]), + [], [enable_plymouth_support=check] +) +UL_BUILD_INIT([plymouth_support]) +UL_REQUIRES_HAVE([plymouth_support], [tiocglcktrmios], [TIOCGLCKTRMIOS flag]) +UL_REQUIRES_HAVE([plymouth_support], [sock_cloexec], [SOCK_CLOEXEC flag]) +UL_REQUIRES_HAVE([plymouth_support], [sock_nonblock], [SOCK_NONBLOCK flag]) +UL_REQUIRES_HAVE([plymouth_support], [so_passcred], [SO_PASSCRED flag]) +AM_CONDITIONAL([USE_PLYMOUTH_SUPPORT], [test "x$build_plymouth_support" = xyes]) +AS_IF([test "x$build_plymouth_support" = xyes ], [ + AC_DEFINE([USE_PLYMOUTH_SUPPORT], [1], [Enable plymouth support feature for sulogin and aggety]) +]) + + +AC_ARG_WITH([libz], + AS_HELP_STRING([--without-libz], [compile without libz]), + [], [with_libz=auto] +) +AS_IF([test "x$with_libz" = xno], [have_z=no], [ + AC_CHECK_LIB([z], [crc32], [have_z=yes], [have_z=no]) +]) + + +AC_ARG_ENABLE([cramfs], + AS_HELP_STRING([--disable-cramfs], [do not build fsck.cramfs, mkfs.cramfs]), + [], [UL_DEFAULT_ENABLE([cramfs], [check])] +) +UL_BUILD_INIT([cramfs]) +UL_REQUIRES_HAVE([cramfs], [z], [z library]) +AM_CONDITIONAL([BUILD_CRAMFS], [test "x$build_cramfs" = xyes]) + + +AC_ARG_ENABLE([bfs], + AS_HELP_STRING([--disable-bfs], [do not build mkfs.bfs]), + [], [UL_DEFAULT_ENABLE([bfs], [yes])] +) +UL_BUILD_INIT([bfs]) +AM_CONDITIONAL([BUILD_BFS], [test "x$build_bfs" = xyes]) + + +AC_ARG_ENABLE([minix], + AS_HELP_STRING([--disable-minix], [do not build fsck.minix, mkfs.minix]), + [], [UL_DEFAULT_ENABLE([minix], [yes])] +) +UL_BUILD_INIT([minix]) +AM_CONDITIONAL([BUILD_MINIX], [test "x$build_minix" = xyes]) + + +AC_ARG_ENABLE([fdformat], + AS_HELP_STRING([--disable-fdformat], [do not build fdformat]), + [], [UL_DEFAULT_ENABLE([fdformat], [check])] +) +UL_BUILD_INIT([fdformat]) +UL_REQUIRES_LINUX([fdformat]) +AM_CONDITIONAL([BUILD_FDFORMAT], [test "x$build_fdformat" = xyes]) + + +AC_ARG_ENABLE([hwclock], + AS_HELP_STRING([--disable-hwclock], [do not build hwclock]), + [], [UL_DEFAULT_ENABLE([hwclock], [check])] +) +have_linuxdummy=$linux_os + +UL_BUILD_INIT([hwclock]) +UL_REQUIRES_HAVE([hwclock], [io, linuxdummy], [ioperm iopl function or Linux]) +AM_CONDITIONAL([BUILD_HWCLOCK], [test "x$build_hwclock" = xyes]) + + +UL_BUILD_INIT([mkfs], [yes]) +AM_CONDITIONAL([BUILD_MKFS], [test "x$build_mkfs" = xyes]) + +UL_BUILD_INIT([isosize], [yes]) +AM_CONDITIONAL([BUILD_ISOSIZE], [test "x$build_isosize" = xyes]) + + +UL_BUILD_INIT([fstrim], [check]) +UL_REQUIRES_LINUX([fstrim]) +UL_REQUIRES_BUILD([fstrim], [libmount]) +AM_CONDITIONAL([BUILD_FSTRIM], [test "x$build_fstrim" = xyes]) + + +UL_BUILD_INIT([swapon], [check]) +UL_REQUIRES_LINUX([swapon]) +UL_REQUIRES_SYSCALL_CHECK([swapon], [UL_CHECK_SYSCALL([swapon])], [swapon]) +UL_REQUIRES_SYSCALL_CHECK([swapon], [UL_CHECK_SYSCALL([swapoff])], [swapoff]) +UL_REQUIRES_BUILD([swapon], [libblkid]) +UL_REQUIRES_BUILD([swapon], [libmount]) +UL_REQUIRES_BUILD([swapon], [libsmartcols]) +AM_CONDITIONAL([BUILD_SWAPON], [test "x$build_swapon" = xyes]) +AC_CHECK_FUNCS([swapon]) +AC_CHECK_FUNCS([swapoff]) + + +UL_BUILD_INIT([lsblk], [check]) +UL_REQUIRES_LINUX([lsblk]) +UL_REQUIRES_BUILD([lsblk], [libblkid]) +UL_REQUIRES_BUILD([lsblk], [libmount]) +UL_REQUIRES_BUILD([lsblk], [libsmartcols]) +AM_CONDITIONAL([BUILD_LSBLK], [test "x$build_lsblk" = xyes]) + + +UL_BUILD_INIT([lscpu], [check]) +UL_REQUIRES_LINUX([lscpu]) +UL_REQUIRES_BUILD([lscpu], [libsmartcols]) +UL_REQUIRES_HAVE([lscpu], [cpu_set_t], [cpu_set_t type]) +AM_CONDITIONAL([BUILD_LSCPU], [test "x$build_lscpu" = xyes]) + + +AC_ARG_ENABLE([lslogins], + AS_HELP_STRING([--disable-lslogins], [do not build lslogins]), + [], [UL_DEFAULT_ENABLE([lslogins], [check])] +) +UL_BUILD_INIT([lslogins]) +UL_REQUIRES_BUILD([lslogins], [libsmartcols]) +UL_REQUIRES_HAVE([lslogins], [shadow_h], [shadow.h header]) +UL_REQUIRES_HAVE([lslogins], [utmpx_h], [utmpx.h header]) +UL_REQUIRES_HAVE([lslogins], [gnu_utmpx], [GNU utmpx functions]) +AM_CONDITIONAL([BUILD_LSLOGINS], [test "x$build_lslogins" = xyes]) + + +UL_BUILD_INIT([chcpu], [check]) +UL_REQUIRES_LINUX([chcpu]) +UL_REQUIRES_HAVE([chcpu], [cpu_set_t], [cpu_set_t type]) +AM_CONDITIONAL([BUILD_CHCPU], [test "x$build_chcpu" = xyes]) + + +AC_ARG_ENABLE([wdctl], + AS_HELP_STRING([--disable-wdctl], [do not build wdctl]), + [], [UL_DEFAULT_ENABLE([wdctl], [check])] +) +UL_BUILD_INIT([wdctl]) +UL_REQUIRES_LINUX([wdctl]) +UL_REQUIRES_BUILD([wdctl], [libsmartcols]) +UL_REQUIRES_HAVE([wdctl], [linux_watchdog_h], [linux/watchdog.h header file]) +AM_CONDITIONAL([BUILD_WDCTL], [test "x$build_wdctl" = xyes]) + + +UL_BUILD_INIT([swaplabel], [check]) +UL_REQUIRES_BUILD([swaplabel], [libblkid]) +AM_CONDITIONAL([BUILD_SWAPLABEL], [test "x$build_swaplabel" = xyes]) + + +UL_BUILD_INIT([mkswap], [yes]) +AM_CONDITIONAL([BUILD_MKSWAP], [test "x$build_mkswap" = xyes]) +AS_IF([test "x$build_mkswap" = xyes -a "x$build_libuuid" != xyes], [ + AC_MSG_WARN([uuid library is not found; mkswap(8) will not generate UUIDs]) +]) + + +AC_ARG_ENABLE([cal], + AS_HELP_STRING([--disable-cal], [do not build cal]), + [], [UL_DEFAULT_ENABLE([cal], [check])] +) +UL_BUILD_INIT([cal]) +AM_CONDITIONAL([BUILD_CAL], [test "x$build_cal" = xyes]) + +AC_ARG_ENABLE([logger], + AS_HELP_STRING([--disable-logger], [do not build logger]), + [], [UL_DEFAULT_ENABLE([logger], [check])] +) +UL_BUILD_INIT([logger]) +AM_CONDITIONAL([BUILD_LOGGER], [test "x$build_logger" = xyes]) + +UL_BUILD_INIT([look], [yes]) +AM_CONDITIONAL([BUILD_LOOK], [test "x$build_look" = xyes]) + +UL_BUILD_INIT([mcookie], [yes]) +AM_CONDITIONAL([BUILD_MCOOKIE], [test "x$build_mcookie" = xyes]) + +UL_BUILD_INIT([namei], [yes]) +AM_CONDITIONAL([BUILD_NAMEI], [test "x$build_namei" = xyes]) + +matriplet="$($CC -print-multiarch 2>/dev/null || true)" +if test "x$matriplet" != "x"; then + AC_DEFINE_UNQUOTED([MULTIARCHTRIPLET], ["$matriplet"], + ["Multi-arch triplet for whereis library search path"]) +fi +UL_BUILD_INIT([whereis], [yes]) +AM_CONDITIONAL([BUILD_WHEREIS], [test "x$build_whereis" = xyes]) + +UL_BUILD_INIT([getopt], [yes]) +AM_CONDITIONAL([BUILD_GETOPT], [test "x$build_getopt" = xyes]) + + +UL_BUILD_INIT([blockdev], [check]) +UL_REQUIRES_LINUX([blockdev]) +AM_CONDITIONAL([BUILD_BLOCKDEV], [test "x$build_blockdev" = xyes]) + + +UL_BUILD_INIT([prlimit], [check]) +UL_REQUIRES_LINUX([prlimit]) +UL_REQUIRES_BUILD([prlimit], [libsmartcols]) +UL_REQUIRES_SYSCALL_CHECK([prlimit], [UL_CHECK_SYSCALL([prlimit64])], [prlimit64]) +AM_CONDITIONAL([BUILD_PRLIMIT], [test "x$build_prlimit" = xyes]) +AS_IF([test "x$build_prlimit" = xyes], [ + AC_CHECK_FUNCS([prlimit]) +]) + + +UL_BUILD_INIT([lslocks], [check]) +UL_REQUIRES_LINUX([lslocks]) +UL_REQUIRES_BUILD([lslocks], [libmount]) +UL_REQUIRES_BUILD([lslocks], [libsmartcols]) +AM_CONDITIONAL([BUILD_LSLOCKS], [test "x$build_lslocks" = xyes]) + + +AC_ARG_ENABLE([switch_root], + AS_HELP_STRING([--disable-switch_root], [do not build switch_root]), + [], [UL_DEFAULT_ENABLE([switch_root], [check])] +) +UL_BUILD_INIT([switch_root]) +UL_REQUIRES_LINUX([switch_root]) +UL_REQUIRES_HAVE([switch_root], [openat], [openat function]) +UL_REQUIRES_HAVE([switch_root], [dirfd,ddfd], [dirfd or ddfd function]) +AM_CONDITIONAL([BUILD_SWITCH_ROOT], [test "x$build_switch_root" = xyes]) + + +AC_ARG_ENABLE([pivot_root], + AS_HELP_STRING([--disable-pivot_root], [do not build pivot_root]), + [], [UL_DEFAULT_ENABLE([pivot_root], [check])] +) +UL_BUILD_INIT([pivot_root]) +UL_REQUIRES_LINUX([pivot_root]) +UL_REQUIRES_SYSCALL_CHECK([pivot_root], [UL_CHECK_SYSCALL([pivot_root])]) +AM_CONDITIONAL([BUILD_PIVOT_ROOT], [test "x$build_pivot_root" = xyes]) + + +UL_BUILD_INIT([flock], [check]) +UL_REQUIRES_HAVE([flock], [timer], [timer_create function]) +AM_CONDITIONAL([BUILD_FLOCK], [test "x$build_flock" = xyes]) + + +AC_ARG_ENABLE([lsmem], + AS_HELP_STRING([--disable-lsmem], [do not build lsmem]), + [], [UL_DEFAULT_ENABLE([lsmem], [check])] +) +UL_BUILD_INIT([lsmem]) +UL_REQUIRES_LINUX([lsmem]) +UL_REQUIRES_BUILD([lsmem], [libsmartcols]) +AM_CONDITIONAL([BUILD_LSMEM], [test "x$build_lsmem" = xyes]) + + +AC_ARG_ENABLE([chmem], + AS_HELP_STRING([--disable-chmem], [do not build chmem]), + [], [UL_DEFAULT_ENABLE([chmem], [check])] +) +UL_BUILD_INIT([chmem]) +UL_REQUIRES_LINUX([chmem]) +AM_CONDITIONAL([BUILD_CHMEM], [test "x$build_chmem" = xyes]) + +UL_BUILD_INIT([ipcmk], [yes]) +AM_CONDITIONAL([BUILD_IPCMK], [test "x$build_ipcmk" = xyes]) + + +AC_ARG_ENABLE([ipcrm], + AS_HELP_STRING([--disable-ipcrm], [do not build ipcrm]), + [], [UL_DEFAULT_ENABLE([ipcrm], [yes])] +) +UL_BUILD_INIT([ipcrm]) +AM_CONDITIONAL([BUILD_IPCRM], [test "x$build_ipcrm" = xyes]) + +AC_ARG_ENABLE([ipcs], + AS_HELP_STRING([--disable-ipcs], [do not build ipcs]), + [], [UL_DEFAULT_ENABLE([ipcs], [yes])] +) +UL_BUILD_INIT([ipcs]) +AM_CONDITIONAL([BUILD_IPCS], [test "x$build_ipcs" = xyes]) + +UL_BUILD_INIT([choom], [check]) +UL_REQUIRES_LINUX([choom]) +AM_CONDITIONAL([BUILD_CHOOM], [test "x$build_choom" = xyes]) + +UL_BUILD_INIT([lsipc], [check]) +UL_REQUIRES_LINUX([lsipc]) +UL_REQUIRES_BUILD([lsipc], [libsmartcols]) +AM_CONDITIONAL([BUILD_LSIPC], [test "x$build_lsipc" = xyes]) + +UL_BUILD_INIT([lsns], [check]) +UL_REQUIRES_LINUX([lsns]) +UL_REQUIRES_BUILD([lsns], [libsmartcols]) +UL_REQUIRES_BUILD([lsns], [libmount]) +AM_CONDITIONAL([BUILD_LSNS], [test "x$build_lsns" = xyes]) + +UL_BUILD_INIT([renice], [yes]) +AM_CONDITIONAL([BUILD_RENICE], [test "x$build_renice" = xyes]) + + +AC_ARG_ENABLE([rfkill], + AS_HELP_STRING([--disable-rfkill], [do not build rfkill]), + [], [UL_DEFAULT_ENABLE([rfkill], [check])] +) +UL_BUILD_INIT([rfkill]) +UL_REQUIRES_LINUX([rfkill]) +UL_REQUIRES_BUILD([rfkill], [libsmartcols]) +AM_CONDITIONAL([BUILD_RFKILL], [test "x$build_rfkill" = xyes]) + + +UL_BUILD_INIT([setsid], [yes]) +AM_CONDITIONAL([BUILD_SETSID], [test "x$build_setsid" = xyes]) + +UL_BUILD_INIT([readprofile], [check]) +UL_REQUIRES_LINUX([readprofile]) +AM_CONDITIONAL([BUILD_READPROFILE], [test "x$build_readprofile" = xyes]) + +UL_BUILD_INIT([dmesg], [check]) +UL_REQUIRES_LINUX([dmesg]) +AM_CONDITIONAL([BUILD_DMESG], [test "x$build_dmesg" = xyes]) + +UL_BUILD_INIT([ctrlaltdel], [check]) +UL_REQUIRES_LINUX([ctrlaltdel]) +dnl we assume reboot() to be the 1-argument variant, because even considering +dnl widely used alternative C libraries like uclibc, dietlibc and musl, +dnl reboot() with multiple arguments is yet only found in glibc versions +dnl earlier than 2.x. +UL_REQUIRES_HAVE([ctrlaltdel], [reboot], [reboot function]) +AM_CONDITIONAL([BUILD_CTRLALTDEL], [test "x$build_ctrlaltdel" = xyes]) + +UL_BUILD_INIT([fincore], [check]) +UL_REQUIRES_LINUX([fincore]) +UL_REQUIRES_BUILD([fincore], [libsmartcols]) +AM_CONDITIONAL([BUILD_FINCORE], [test "x$build_fincore" = xyes]) + +UL_BUILD_INIT([fsfreeze], [check]) +UL_REQUIRES_LINUX([fsfreeze]) +AM_CONDITIONAL([BUILD_FSFREEZE], [test "x$build_fsfreeze" = xyes]) + +UL_BUILD_INIT([blkdiscard], [check]) +UL_REQUIRES_LINUX([blkdiscard]) +AM_CONDITIONAL([BUILD_BLKDISCARD], [test "x$build_blkdiscard" = xyes]) + +UL_BUILD_INIT([blkzone], [check]) +UL_REQUIRES_LINUX([blkzone]) +UL_REQUIRES_HAVE([blkzone], [linux_blkzoned_h], [linux/blkzoned.h header]) +AM_CONDITIONAL([BUILD_BLKZONE], [test "x$build_blkzone" = xyes]) + +UL_BUILD_INIT([ldattach], [check]) +UL_REQUIRES_LINUX([ldattach]) +AM_CONDITIONAL([BUILD_LDATTACH], [test "x$build_ldattach" = xyes]) + +UL_BUILD_INIT([rtcwake], [check]) +UL_REQUIRES_LINUX([rtcwake]) +AM_CONDITIONAL([BUILD_RTCWAKE], [test "x$build_rtcwake" = xyes]) + +UL_BUILD_INIT([setarch], [check]) +UL_REQUIRES_LINUX([setarch]) +AM_CONDITIONAL([BUILD_SETARCH], [test "x$build_setarch" = xyes]) + +UL_BUILD_INIT([script], [check]) +UL_REQUIRES_HAVE([script], [sys_signalfd_h], [sys/signalfd.h header]) +AM_CONDITIONAL([BUILD_SCRIPT], [test "x$build_script" = xyes]) + +UL_BUILD_INIT([scriptreplay], [yes]) +AM_CONDITIONAL([BUILD_SCRIPTREPLAY], [test "x$build_scriptreplay" = xyes]) + +UL_BUILD_INIT([col], [yes]) +AM_CONDITIONAL([BUILD_COL], [test "x$build_col" = xyes]) + +UL_BUILD_INIT([colcrt], [yes]) +AM_CONDITIONAL([BUILD_COLCRT], [test "x$build_colcrt" = xyes]) + +UL_BUILD_INIT([colrm], [yes]) +AM_CONDITIONAL([BUILD_COLRM], [test "x$build_colrm" = xyes]) + +UL_BUILD_INIT([column], [check]) +UL_REQUIRES_BUILD([column], [libsmartcols]) +AM_CONDITIONAL([BUILD_COLUMN], [test "x$build_column" = xyes]) + +UL_BUILD_INIT([hexdump], [yes]) +AM_CONDITIONAL([BUILD_HEXDUMP], [test "x$build_hexdump" = xyes]) + +UL_BUILD_INIT([rev], [yes]) +AM_CONDITIONAL([BUILD_REV], [test "x$build_rev" = xyes]) + + +AC_ARG_ENABLE([tunelp], + AS_HELP_STRING([--enable-tunelp], [build tunelp]), + [], [UL_DEFAULT_ENABLE([tunelp], [no])] +) +UL_BUILD_INIT([tunelp]) +UL_REQUIRES_LINUX([tunelp]) +AM_CONDITIONAL([BUILD_TUNELP], [test "x$build_tunelp" = xyes]) + + +AC_ARG_ENABLE([kill], + AS_HELP_STRING([--disable-kill], [do not build kill]), + [], [UL_DEFAULT_ENABLE([kill], [check])] +) +UL_BUILD_INIT([kill]) +UL_REQUIRES_LINUX([kill]) +AM_CONDITIONAL([BUILD_KILL], [test "x$build_kill" = xyes]) + + +AC_ARG_ENABLE([last], + AS_HELP_STRING([--disable-last], [do not build last]), + [], [UL_DEFAULT_ENABLE([last], [check])] +) +UL_BUILD_INIT([last]) +UL_REQUIRES_HAVE([last], [utmpx_h], [utmpx.h header]) +UL_REQUIRES_HAVE([last], [gnu_utmpx], [GNU utmpx functions]) +AM_CONDITIONAL([BUILD_LAST], [test "x$build_last" = xyes]) + + +AC_ARG_ENABLE([utmpdump], + AS_HELP_STRING([--disable-utmpdump], [do not build utmpdump]), + [], [UL_DEFAULT_ENABLE([utmpdump], [check])] +) +UL_BUILD_INIT([utmpdump]) +UL_REQUIRES_HAVE([utmpdump], [utmpx_h], [utmpx.h header]) +UL_REQUIRES_HAVE([utmpdump], [gnu_utmpx], [GNU utmpx functions]) +AM_CONDITIONAL([BUILD_UTMPDUMP], [test "x$build_utmpdump" = xyes]) + + +AC_ARG_ENABLE([line], + AS_HELP_STRING([--enable-line], [build line]), + [], [UL_DEFAULT_ENABLE([line], [no])] +) +UL_BUILD_INIT([line]) +AM_CONDITIONAL([BUILD_LINE], [test "x$build_line" = xyes]) + + +AC_ARG_ENABLE([mesg], + AS_HELP_STRING([--disable-mesg], [do not build mesg]), + [], [UL_DEFAULT_ENABLE([mesg], [yes])] +) +UL_BUILD_INIT([mesg]) +AM_CONDITIONAL([BUILD_MESG], [test "x$build_mesg" = xyes]) + + +AC_ARG_ENABLE([raw], + AS_HELP_STRING([--disable-raw], [do not build raw]), + [], [UL_DEFAULT_ENABLE([raw], [check])] +) +UL_BUILD_INIT([raw]) +UL_REQUIRES_LINUX([raw]) +UL_REQUIRES_HAVE([raw], [linux_raw_h], [raw.h header file]) +AM_CONDITIONAL([BUILD_RAW], [test "x$build_raw" = xyes]) + + +AC_ARG_ENABLE([rename], + AS_HELP_STRING([--disable-rename], [do not build rename]), + [], [UL_DEFAULT_ENABLE([rename], [yes])] +) +UL_BUILD_INIT([rename]) +AM_CONDITIONAL([BUILD_RENAME], [test "x$build_rename" = xyes]) + + +AC_ARG_ENABLE([vipw], + AS_HELP_STRING([--enable-vipw], [build vipw]), + [], [UL_DEFAULT_ENABLE([vipw], [no])] +) +UL_BUILD_INIT([vipw]) +UL_REQUIRES_HAVE([vipw], [shadow_h], [shadow.h header]) +AM_CONDITIONAL([BUILD_VIPW], [test "x$build_vipw" = xyes]) + + +AC_ARG_ENABLE([newgrp], + AS_HELP_STRING([--enable-newgrp], [build newgrp]), + [], [UL_DEFAULT_ENABLE([newgrp], [no])] +) +UL_BUILD_INIT([newgrp]) +UL_REQUIRES_HAVE([newgrp], [crypt], [crypt function]) +AM_CONDITIONAL([BUILD_NEWGRP], [test "x$build_newgrp" = xyes]) + + +AC_ARG_WITH([user], AS_HELP_STRING([--without-user], [compile without libuser (remote chsh)]), + [], [with_user=check] +) +have_user=no +AS_IF([test "x$with_user" != xno], [ + PKG_CHECK_MODULES(LIBUSER,[libuser >= 0.58], [have_user=yes], [have_user=no]) + AS_CASE([$with_user:$have_user], + [yes:no], + [AC_MSG_ERROR([user selected but libuser not found])], + [*:yes], + [AC_DEFINE([HAVE_LIBUSER], [1], [Define if libuser is available])] + ) + # temporary solution, libuser has stupid .pc where are exported all + # private dependencies to Requires: instead of Requires.private: + AS_IF([test "x$have_user" = xyes], [ + LIBUSER_LIBS=-luser + ]) +]) +AM_CONDITIONAL([HAVE_USER], [test "x$have_user" = xyes]) + +AC_ARG_ENABLE([chfn-chsh-password], + AS_HELP_STRING([--disable-chfn-chsh-password], [do not require the user to enter the password in chfn and chsh]), + [], [enable_chfn_chsh_password=yes] +) + +AC_ARG_ENABLE([chfn-chsh], + AS_HELP_STRING([--enable-chfn-chsh], [build chfn and chsh]), + [], [UL_DEFAULT_ENABLE([chfn_chsh], [check])] +) +UL_BUILD_INIT([chfn_chsh]) +UL_REQUIRES_HAVE([chfn_chsh], [shadow_h], [shadow.h header]) +UL_REQUIRES_HAVE([chfn_chsh], [getusershell], [getusershell function]) + +AS_IF([test "x$enable_chfn_chsh_password" = xyes -o "x$have_user" = xyes], [ + UL_REQUIRES_HAVE([chfn_chsh], [security_pam_appl_h], [PAM header file]) + AC_DEFINE([CHFN_CHSH_PASSWORD], [1], [Should chfn and chsh require the user to enter the password?]) +]) +AM_CONDITIONAL([BUILD_CHFN_CHSH], [test "x$build_chfn_chsh" = xyes]) +AM_CONDITIONAL([CHFN_CHSH_PASSWORD], [test "x$enable_chfn_chsh_password" = xyes]) + +AC_ARG_ENABLE([chsh-only-listed], + AS_HELP_STRING([--disable-chsh-only-listed], [chsh: allow shells not in /etc/shells]), + [], enable_chsh_only_listed=yes +) + +AS_IF([test "x$enable_chsh_only_listed" = xyes], [ + AC_DEFINE([ONLY_LISTED_SHELLS], [1], [Should chsh allow only shells in /etc/shells?]) +]) + + +AC_ARG_ENABLE([login], + AS_HELP_STRING([--disable-login], [do not build login]), + [], [UL_DEFAULT_ENABLE([login], [check])] +) +UL_BUILD_INIT([login]) +UL_REQUIRES_HAVE([login], [security_pam_appl_h], [PAM header file]) +UL_REQUIRES_HAVE([login], [security_pam_misc_h, security_openpam_h], [PAM conversation functions]) +UL_REQUIRES_HAVE([login], [utmpx_h], [utmpx.h header]) +UL_REQUIRES_HAVE([login], [gnu_utmpx], [GNU utmpx functions]) +AM_CONDITIONAL([BUILD_LOGIN], [test "x$build_login" = xyes]) + +AC_ARG_ENABLE([login-chown-vcs], + AS_HELP_STRING([--enable-login-chown-vcs], [let login chown /dev/vcsN]), + [], [enable_login_chown_vcs=no] +) + +AS_IF([test "x$enable_login_chown_vcs" = xyes], [ + AC_DEFINE([LOGIN_CHOWN_VCS], [1], [Should login chown /dev/vcsN?]) +]) + +AC_ARG_ENABLE([login-stat-mail], + AS_HELP_STRING([--enable-login-stat-mail], [let login stat() the mailbox]), + [], [enable_login_stat_mail=no] +) + +AS_IF([test "x$enable_login_stat_mail" = xyes], [ + AC_DEFINE([LOGIN_STAT_MAIL], [1], [Should login stat() the mailbox?]) +]) + + +AC_ARG_ENABLE([nologin], + AS_HELP_STRING([--disable-nologin], [do not build nologin]), + [], [UL_DEFAULT_ENABLE([nologin], [yes])] +) +UL_BUILD_INIT([nologin]) +AM_CONDITIONAL([BUILD_NOLOGIN], [test "x$build_nologin" = xyes]) + + +AC_ARG_ENABLE([sulogin], + AS_HELP_STRING([--disable-sulogin], [do not build sulogin]), + [], [UL_DEFAULT_ENABLE([sulogin], [check])] +) +UL_BUILD_INIT([sulogin]) +UL_REQUIRES_HAVE([sulogin], [crypt], [crypt function]) +UL_REQUIRES_HAVE([sulogin], [shadow_h], [shadow.h header]) +AM_CONDITIONAL([BUILD_SULOGIN], [test "x$build_sulogin" = xyes]) + + +AC_ARG_ENABLE([su], + AS_HELP_STRING([--disable-su], [do not build su]), + [], [UL_DEFAULT_ENABLE([su], [check])] +) +UL_BUILD_INIT([su]) +UL_REQUIRES_HAVE([su], [security_pam_appl_h], [PAM header file]) +UL_REQUIRES_HAVE([su], [utmpx_h], [utmpx.h header]) +UL_REQUIRES_HAVE([su], [gnu_utmpx], [GNU utmpx functions]) +AM_CONDITIONAL([BUILD_SU], [test "x$build_su" = xyes]) + + +AC_ARG_ENABLE([runuser], + AS_HELP_STRING([--disable-runuser], [do not build runuser]), + [], [UL_DEFAULT_ENABLE([runuser], [check])] +) +UL_BUILD_INIT([runuser]) +UL_REQUIRES_HAVE([runuser], [security_pam_appl_h], [PAM header file]) +UL_REQUIRES_HAVE([runuser], [utmpx_h], [utmpx.h header]) +UL_REQUIRES_HAVE([runuser], [gnu_utmpx], [GNU utmpx functions]) +AM_CONDITIONAL([BUILD_RUNUSER], [test "x$build_runuser" = xyes]) + + +AC_ARG_ENABLE([ul], + AS_HELP_STRING([--disable-ul], [do not build ul]), + [], [UL_DEFAULT_ENABLE([ul], [check])] +) +UL_BUILD_INIT([ul]) +UL_REQUIRES_HAVE([ul], [ncursesw, ncurses], [ncursesw or ncurses libraries]) +AM_CONDITIONAL([BUILD_UL], [test "x$build_ul" = xyes]) + + +AC_ARG_ENABLE([more], + AS_HELP_STRING([--disable-more], [do not build more]), + [], [UL_DEFAULT_ENABLE([more], [check])] +) +UL_BUILD_INIT([more]) +UL_REQUIRES_HAVE([more], [ncursesw, ncurses], [ncursesw or ncurses libraries]) +AM_CONDITIONAL([BUILD_MORE], [test "x$build_more" = xyes]) + + +AC_ARG_ENABLE([pg], + AS_HELP_STRING([--enable-pg], [build pg]), + [], [UL_DEFAULT_ENABLE([pg], [no])] +) +UL_BUILD_INIT([pg]) +UL_REQUIRES_HAVE([pg], [ncursesw, ncurses], [ncursesw or ncurses library]) +AM_CONDITIONAL([BUILD_PG], [test "x$build_pg" = xyes]) + + +AC_ARG_ENABLE([setterm], + AS_HELP_STRING([--disable-setterm], [do not build setterm]), + [], [UL_DEFAULT_ENABLE([setterm], [check])] +) +UL_BUILD_INIT([setterm]) +UL_REQUIRES_LINUX([setterm]) +UL_REQUIRES_HAVE([setterm], [ncursesw, ncurses], [ncursesw or ncurses library]) +AM_CONDITIONAL([BUILD_SETTERM], [test "x$build_setterm" = xyes]) + +# build_schedutils= is just configure-only variable to control +# ionice, taskset and chrt +AC_ARG_ENABLE([schedutils], + AS_HELP_STRING([--disable-schedutils], [do not build chrt, ionice, taskset]), + [], [UL_DEFAULT_ENABLE([schedutils], [check])] +) + + +UL_ENABLE_ALIAS([ionice], [schedutils]) +UL_BUILD_INIT([ionice]) +UL_REQUIRES_SYSCALL_CHECK([ionice], + [UL_CHECK_SYSCALL([ioprio_set], + [alpha], [442], + [i*86], [289], + [ia64*], [1274], + [powerpc*], [273], + [s390*], [282], + [sparc*], [196], + [sh*], [288], + [x86_64*], [251])], + [ioprio_set]) + +UL_REQUIRES_SYSCALL_CHECK([ionice], + [UL_CHECK_SYSCALL([ioprio_get], + [alpha], [443], + [i*86], [290], + [ia64*], [1275], + [powerpc*], [274], + [s390*], [283], + [sparc*], [218], + [sh*], [289], + [x86_64*], [252])], + [ioprio_get]) + +AM_CONDITIONAL([BUILD_IONICE], [test "x$build_ionice" = xyes]) + + +UL_ENABLE_ALIAS([taskset], [schedutils]) +UL_BUILD_INIT([taskset]) +UL_REQUIRES_HAVE([taskset], [cpu_set_t], [cpu_set_t type]) +UL_REQUIRES_SYSCALL_CHECK([taskset], + [UL_CHECK_SYSCALL([sched_getaffinity])], + [sched_getaffinity]) +AM_CONDITIONAL([BUILD_TASKSET], [test "x$build_taskset" = xyes]) + + +have_schedsetter=no +AS_IF([test "x$ac_cv_func_sched_setscheduler" = xyes], [have_schedsetter=yes], + [test "x$ac_cv_func_sched_setattr" = xyes], [have_schedsetter=yes]) + +UL_ENABLE_ALIAS([chrt], [schedutils]) +UL_BUILD_INIT([chrt]) +UL_REQUIRES_HAVE([chrt], [schedsetter], [sched_set functions]) +AM_CONDITIONAL([BUILD_CHRT], [test "x$build_chrt" = xyes]) + +AS_IF([test "x$build_chrt" = xyes], [ + UL_CHECK_SYSCALL([sched_setattr]) +]) + + +AC_ARG_ENABLE([wall], + AS_HELP_STRING([--disable-wall], [do not build wall]), + [], [UL_DEFAULT_ENABLE([wall], [check])] +) +UL_BUILD_INIT([wall]) +UL_REQUIRES_HAVE([wall], [utmpx_h], [utmpx.h header]) +AM_CONDITIONAL([BUILD_WALL], [test "x$build_wall" = xyes]) + + +AC_ARG_ENABLE([write], + AS_HELP_STRING([--enable-write], [build write]), + [], [UL_DEFAULT_ENABLE([write], [no])] +) +UL_BUILD_INIT([write]) +UL_REQUIRES_HAVE([write], [utmpx_h], [utmpx.h header]) +UL_REQUIRES_HAVE([write], [gnu_utmpx], [GNU utmpx functions]) +AM_CONDITIONAL([BUILD_WRITE], [test "x$build_write" = xyes]) + + +AC_ARG_WITH([btrfs], + AS_HELP_STRING([--without-btrfs], [do not build with btrfs support]), + [], [with_btrfs=check] +) +have_btrfs=no +AS_IF([test "x$with_btrfs" != xno], [ + AS_CASE([$with_btrfs:$have_linux_btrfs_h], + [yes:no], + [AC_MSG_ERROR([btrfs selected but linux/btrfs.h not found])], + [check:no], + [AC_MSG_WARN([linux/btrfs.h not found, do not build with btrfs support])], + [*:yes], + [have_btrfs=yes + AC_DEFINE([HAVE_BTRFS_SUPPORT], [1], [Define if btrfs stuff is available])] + ) +]) +AM_CONDITIONAL([HAVE_BTRFS], [test "x$have_btrfs" = xyes]) + + +AC_ARG_WITH([systemd], + AS_HELP_STRING([--without-systemd], [do not build with systemd support]), + [], [with_systemd=check] +) + +have_systemd=no +AS_IF([test "x$with_systemd" != xno], [ + # new version -- all libsystemd-* libs merged into libsystemd + PKG_CHECK_MODULES([SYSTEMD], [libsystemd], [have_systemd=yes], [have_systemd=no]) + # old versions + AS_IF([test "x$have_systemd" != "xyes"], [ + PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd-daemon], + [have_systemd_daemon=yes], [have_systemd_daemon=no]) + PKG_CHECK_MODULES([SYSTEMD_JOURNAL], [libsystemd-journal], + [have_systemd_journal=yes], [have_systemd_journal=no]) + AS_IF([test "x$have_systemd_daemon" = "xyes" -a "x$have_systemd_journal" = "xyes" ],[ + have_systemd=yes]) + ]) + AS_CASE([$with_systemd:$have_systemd], + [yes:no], + [AC_MSG_ERROR([systemd expected but libsystemd not found])], + [*:yes], + AC_DEFINE([HAVE_LIBSYSTEMD], [1], [Define if libsystemd is available]) + ) +]) +AM_CONDITIONAL([HAVE_SYSTEMD], [test "x$have_systemd" = xyes]) + + +AC_ARG_WITH([systemdsystemunitdir], + AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [directory for systemd unit files (requires systemd support)]), + [], [with_systemdsystemunitdir=check] +) +AS_IF([test "x$with_systemdsystemunitdir" = xcheck], [ + AS_IF([test "x$have_systemd" = xyes], [ + with_systemdsystemunitdir=`$PKG_CONFIG --variable=systemdsystemunitdir systemd` + ],[ + with_systemdsystemunitdir=no + ]) +]) +AS_IF([test "x$with_systemdsystemunitdir" != "xno"], [ + AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir]) +]) + + +AC_ARG_WITH([smack], + AS_HELP_STRING([--with-smack], [build with SMACK support]), + [], [with_smack=no] +) +AS_IF([test "x$with_smack" = xyes], [ + AC_DEFINE([HAVE_SMACK], [1], [Add SMACK support]) +]) + + +AC_ARG_WITH([bashcompletiondir], + AS_HELP_STRING([--with-bashcompletiondir=DIR], [Bash completions directory]), + [], + [AS_IF([`$PKG_CONFIG --exists bash-completion`], [ + with_bashcompletiondir=`$PKG_CONFIG --variable=completionsdir bash-completion` + ], [ + with_bashcompletiondir=${datadir}/bash-completion/completions + ]) +]) +AC_SUBST([bashcompletiondir], [$with_bashcompletiondir]) + +AC_ARG_ENABLE([bash-completion], + AS_HELP_STRING([--disable-bash-completion], [do not install bash completion files]), + [], [enable_bash_completion=yes] +) + +AM_CONDITIONAL([BUILD_BASH_COMPLETION], [test "x$enable_bash_completion" = xyes]) + + +AC_ARG_WITH([python], + AS_HELP_STRING([--without-python], [do not build python bindings, use --with-python={2,3} to force version]), + [], [with_python=check withval=check] +) + +have_python=no +have_libpython=no +AS_IF([test "x$with_python" != xno], [ + # We follow distributions default and look for PKG module name "python" + # (minimal version is 2) but if major version is explicitly specified by + # --with-python=2 or --with-python=3 then we look for PKG module "python2" or + # "python3". + AS_IF([test "x$withval" != xno -a "x$withval" != xyes -a "x$withval" != xcheck], + [pymajor="$withval"; PYTHON=python${pymajor}], [pymajor="2"]) + + # check for python interpreter + AM_PATH_PYTHON([$pymajor], [have_python=yes], [have_python=no]) + AS_CASE([$with_python:$have_python], + [yes:no], + [AC_MSG_ERROR([python selected but python interpreter not found])], + [check:no], + [AC_MSG_WARN([python interpreter not found, do not build python bindings])], + [*:yes], + # check for python development stuff + [PKG_CHECK_MODULES([PYTHON], [python-$PYTHON_VERSION], + [have_libpython=yes], [have_libpython=no])] + ) +]) + + +AC_ARG_ENABLE([pylibmount], + AS_HELP_STRING([--disable-pylibmount], [do not build pylibmount]), + [], [UL_DEFAULT_ENABLE([pylibmount], [check])] +) +UL_BUILD_INIT([pylibmount]) +UL_REQUIRES_HAVE([pylibmount], [libpython], [libpython]) +UL_REQUIRES_BUILD([pylibmount], [libmount]) +AM_CONDITIONAL([BUILD_PYLIBMOUNT], [test "x$build_pylibmount" = "xyes"]) + +# We need to introduce a verbatim dependency into the Makefile, without automake +# trying to interpret it, so push it as a AM_SUBST_NOTMAKE variable. +verbatim_pylibmount_dependency=' + +# pylibmountexec module must be installed after usrlib_exec libraries, +# otherwise the libtool relink step will fail to find libmount.la and +# will try -lmount which is possibly not available. +install-pylibmountexecLTLIBRARIES: install-usrlib_execLTLIBRARIES + +' +AC_SUBST([verbatim_pylibmount_dependency]) +AM_SUBST_NOTMAKE([verbatim_pylibmount_dependency]) + +AC_ARG_ENABLE([pg-bell], + AS_HELP_STRING([--disable-pg-bell], [let pg not ring the bell on invalid keys]), + [], [enable_pg_bell=yes] +) + +AS_IF([test "x$enable_pg_bell" = xyes], [ + AC_DEFINE([PG_BELL], [1], [Should pg ring the bell on invalid keys?]) +]) + + +AC_DEFUN([FS_PATHS_DEFAULT], [/sbin:/sbin/fs.d:/sbin/fs]) +AC_ARG_ENABLE([fs-paths-default], + AS_HELP_STRING([--enable-fs-paths-default=paths], [default search path for fs helpers @<:@FS_PATHS_DEFAULT@:>@]), + [AS_CASE([$enableval], + [yes], [fs_paths_defaults="FS_PATHS_DEFAULT"], + [no], [fs_paths_defaults=""], + [fs_paths_defaults="$enableval"] + )], + [fs_paths_defaults="FS_PATHS_DEFAULT"] +) +AC_ARG_ENABLE([fs-paths-extra], + AS_HELP_STRING([--enable-fs-paths-extra=paths], [additional search paths for fs helpers]), + [AS_CASE([$enableval], + [yes|no], [fs_paths_extra=""], + [fs_paths_extra="$enableval"] + )], + [fs_paths_extra=""] +) +fs_paths="$fs_paths_defaults" +AS_IF([test "x$fs_paths_extra" != "x"], [ + AS_IF([test "x$fs_paths" != "x"], [ + fs_paths="${fs_paths}:" + ]) + fs_paths="${fs_paths}${fs_paths_extra}" +]) +AC_DEFINE_UNQUOTED([FS_SEARCH_PATH], "$fs_paths", [search path for fs helpers]) + + +AC_ARG_ENABLE([use-tty-group], + AS_HELP_STRING([--disable-use-tty-group], [do not install wall and write setgid tty]), + [], [enable_use_tty_group=yes] +) +AM_CONDITIONAL([USE_TTY_GROUP], [test "x$enable_use_tty_group" = xyes]) + +AS_IF([test "x$enable_use_tty_group" = xyes], [ + AC_DEFINE([USE_TTY_GROUP], [1], [Should wall and write be installed setgid tty?]) +]) + + +AC_ARG_ENABLE([sulogin-emergency-mount], + AS_HELP_STRING([--enable-sulogin-emergency-mount], + [use emergency mount of /dev and /proc for sulogin]), + [], [enable_sulogin_emergency_mount=no] +) + +AS_IF([test "x$enable_sulogin_emergency_mount" = xyes], [ + AC_DEFINE([USE_SULOGIN_EMERGENCY_MOUNT], [1], + [Should sulogin use a emergency mount of /dev and /proc?]) +]) + + +AC_ARG_ENABLE([usrdir-path], + AS_HELP_STRING([--enable-usrdir-path], [use only /usr paths in PATH env. variable (recommended on systems with /bin -> /usr/bin symlinks)]), + [], [enable_usrdir_path=no] +) + +AS_IF([test "x$enable_usrdir_path" = xyes], [ + AC_DEFINE([USE_USRDIR_PATHS_ONLY], [1], [Define to 1 to remove /bin and /sbin from PATH env.variable]) +]) + + +AC_ARG_ENABLE([makeinstall-chown], + AS_HELP_STRING([--disable-makeinstall-chown], [do not do chown-like operations during "make install"]), + [], [enable_makeinstall_chown=yes] +) +AM_CONDITIONAL([MAKEINSTALL_DO_CHOWN], [test "x$enable_makeinstall_chown" = xyes]) + + +AC_ARG_ENABLE([makeinstall-setuid], + AS_HELP_STRING([--disable-makeinstall-setuid], [do not do setuid chmod operations during "make install"]), + [], [enable_makeinstall_setuid=yes] +) +AM_CONDITIONAL([MAKEINSTALL_DO_SETUID], [test "x$enable_makeinstall_setuid" = xyes]) + + +AC_ARG_ENABLE([colors-default], + AS_HELP_STRING([--disable-colors-default], [do not colorize output from utils by default]), + [], [enable_colors_default=yes] +) +AS_IF([test "x$enable_colors_default" = xyes], [ + AC_DEFINE([USE_COLORS_BY_DEFAULT], [1], [Enables colorized output from utils by default]) +]) + + +AC_ARG_VAR([SUID_CFLAGS], + [CFLAGS used for binaries which are usually with the suid bit]) +AC_ARG_VAR([SUID_LDFLAGS], + [LDFLAGS used for binaries which are usually with the suid bit]) + +AC_ARG_VAR([DAEMON_CFLAGS], + [CFLAGS used for binaries which are usually executed as daemons]) +AC_ARG_VAR([DAEMON_LDFLAGS], + [LDFLAGS used for binaries which are usually executed as daemons]) + +AC_ARG_VAR([SOLIB_CFLAGS], + [CFLAGS used for shared libraries]) +AC_ARG_VAR([SOLIB_LDFLAGS], + [LDFLAGS used for shared libraries]) + +AC_ARG_VAR([ADJTIME_PATH], + [Path to hwclock adjtime file, default /etc/adjtime]) +AS_IF([test "x$ADJTIME_PATH" = x], [ADJTIME_PATH="/etc/adjtime"]) +AC_DEFINE_UNQUOTED([CONFIG_ADJTIME_PATH], "$ADJTIME_PATH", [Path to hwclock adjtime file]) + + +LIBS="" + + +AC_CONFIG_HEADERS([config.h]) + +# +# Don't use configure.ac to replace install paths! See Makefile PATHFILES for +# more details. +# +AC_CONFIG_FILES([ +Makefile +libblkid/docs/Makefile +libblkid/docs/version.xml +libblkid/src/blkid.h +libfdisk/docs/Makefile +libfdisk/docs/version.xml +libfdisk/src/libfdisk.h +libmount/docs/Makefile +libmount/docs/version.xml +libmount/src/libmount.h +libsmartcols/docs/Makefile +libsmartcols/docs/version.xml +libsmartcols/src/libsmartcols.h +po/Makefile.in +]) + +AC_OUTPUT + +AC_MSG_RESULT([ + ${PACKAGE} ${VERSION} + + prefix: ${prefix} + exec prefix: ${exec_prefix} + + runstatedir: ${runstatedir} + bindir: ${bindir} + sbindir: ${sbindir} + libdir: ${libdir} + includedir: ${includedir} + usrbin_execdir: ${usrbin_execdir} + usrsbin_execdir: ${usrsbin_execdir} + usrlib_execdir: ${usrlib_execdir} + + compiler: ${CC} + cflags: ${CFLAGS} + suid cflags: ${SUID_CFLAGS} + ldflags: ${LDFLAGS} + suid ldflags: ${SUID_LDFLAGS} + + Python: ${PYTHON} + Python version: ${PYTHON_VERSION} + Python libs: ${pyexecdir} + + Bash completions: ${with_bashcompletiondir} + Systemd support: ${have_systemd} + Systemd unitdir: ${with_systemdsystemunitdir} + Btrfs support: ${have_btrfs} + Wide-char support: ${build_widechar} + + warnings: + +${WARN_CFLAGS} + + Type 'make' or 'make ' to compile. +]) diff --git a/disk-utils/Makemodule.am b/disk-utils/Makemodule.am new file mode 100644 index 0000000..bea0ed6 --- /dev/null +++ b/disk-utils/Makemodule.am @@ -0,0 +1,228 @@ + +if BUILD_MINIX +sbin_PROGRAMS += fsck.minix +dist_man_MANS += disk-utils/fsck.minix.8 +fsck_minix_SOURCES = \ + disk-utils/fsck.minix.c \ + disk-utils/minix_programs.h +fsck_minix_LDADD = $(LDADD) libcommon.la + +sbin_PROGRAMS += mkfs.minix +dist_man_MANS += disk-utils/mkfs.minix.8 +mkfs_minix_SOURCES = \ + disk-utils/minix_programs.h \ + disk-utils/mkfs.minix.c +mkfs_minix_LDADD = $(LDADD) libcommon.la + +check_PROGRAMS += test_mkfs_minix +test_mkfs_minix_SOURCES = $(mkfs_minix_SOURCES) +test_mkfs_minix_LDADD = $(mkfs_minix_LDADD) +test_mkfs_minix_CFLAGS = $(AM_CFLAGS) -DTEST_SCRIPT +endif + + +if BUILD_MKFS +sbin_PROGRAMS += mkfs +dist_man_MANS += disk-utils/mkfs.8 +mkfs_SOURCES = disk-utils/mkfs.c +endif + + +if BUILD_ISOSIZE +usrbin_exec_PROGRAMS += isosize +dist_man_MANS += disk-utils/isosize.8 +isosize_SOURCES = disk-utils/isosize.c +isosize_LDADD = $(LDADD) libcommon.la +endif + + +if BUILD_BFS +sbin_PROGRAMS += mkfs.bfs +dist_man_MANS += disk-utils/mkfs.bfs.8 +mkfs_bfs_SOURCES = \ + disk-utils/mkfs.bfs.c +mkfs_bfs_LDADD = $(LDADD) libcommon.la +endif + + +if BUILD_MKSWAP +sbin_PROGRAMS += mkswap +dist_man_MANS += disk-utils/mkswap.8 +mkswap_SOURCES = \ + disk-utils/mkswap.c +mkswap_LDADD = $(LDADD) libcommon.la + +mkswap_CFLAGS = $(AM_CFLAGS) +if BUILD_LIBUUID +mkswap_CFLAGS += -I$(ul_libuuid_incdir) +mkswap_LDADD += libuuid.la +endif +if BUILD_LIBBLKID +mkswap_CFLAGS += -I$(ul_libblkid_incdir) +mkswap_LDADD += libblkid.la +endif +if HAVE_SELINUX +mkswap_LDADD += -lselinux +endif +endif # BUILD_MKSWAP + + +if BUILD_SWAPLABEL +sbin_PROGRAMS += swaplabel +dist_man_MANS += disk-utils/swaplabel.8 +swaplabel_SOURCES = \ + disk-utils/swaplabel.c \ + lib/swapprober.c \ + include/swapprober.h + +swaplabel_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) +swaplabel_LDADD = $(LDADD) libblkid.la libcommon.la + +if BUILD_LIBUUID +swaplabel_LDADD += libuuid.la +swaplabel_CFLAGS += -I$(ul_libuuid_incdir) +endif +endif #BUILD_SWAPLABEL + + +if BUILD_FSCK +sbin_PROGRAMS += fsck +dist_man_MANS += disk-utils/fsck.8 +fsck_SOURCES = disk-utils/fsck.c lib/monotonic.c +fsck_LDADD = $(LDADD) libmount.la libblkid.la libcommon.la $(REALTIME_LIBS) +fsck_CFLAGS = $(AM_CFLAGS) -I$(ul_libmount_incdir) -I$(ul_libblkid_incdir) +endif + + +if BUILD_RAW +sbin_PROGRAMS += raw +dist_man_MANS += disk-utils/raw.8 +raw_SOURCES = disk-utils/raw.c +endif + + +if BUILD_CRAMFS +cramfs_common_sources = disk-utils/cramfs.h disk-utils/cramfs_common.c +sbin_PROGRAMS += fsck.cramfs +fsck_cramfs_SOURCES = disk-utils/fsck.cramfs.c $(cramfs_common_sources) +fsck_cramfs_LDADD = $(LDADD) -lz libcommon.la +dist_man_MANS += disk-utils/fsck.cramfs.8 + +sbin_PROGRAMS += mkfs.cramfs +mkfs_cramfs_SOURCES = disk-utils/mkfs.cramfs.c $(cramfs_common_sources) +mkfs_cramfs_LDADD = $(LDADD) -lz libcommon.la +dist_man_MANS += disk-utils/mkfs.cramfs.8 +endif + +if BUILD_FDFORMAT +usrsbin_exec_PROGRAMS += fdformat +dist_man_MANS += disk-utils/fdformat.8 +fdformat_SOURCES = disk-utils/fdformat.c +fdformat_LDADD = $(LDADD) libcommon.la +endif + +if BUILD_BLOCKDEV +sbin_PROGRAMS += blockdev +dist_man_MANS += disk-utils/blockdev.8 +blockdev_SOURCES = disk-utils/blockdev.c +blockdev_LDADD = $(LDADD) libcommon.la +endif + + +if BUILD_FDISK +sbin_PROGRAMS += fdisk +dist_man_MANS += disk-utils/fdisk.8 +fdisk_SOURCES = \ + disk-utils/fdisk.c \ + disk-utils/fdisk.h \ + disk-utils/fdisk-menu.c \ + disk-utils/fdisk-list.c \ + disk-utils/fdisk-list.h + +fdisk_LDADD = $(LDADD) libcommon.la libfdisk.la \ + libsmartcols.la libtcolors.la $(READLINE_LIBS) +fdisk_CFLAGS = $(AM_CFLAGS) -I$(ul_libfdisk_incdir) -I$(ul_libsmartcols_incdir) + +if HAVE_STATIC_FDISK +sbin_PROGRAMS += fdisk.static +fdisk_static_SOURCES = $(fdisk_SOURCES) +fdisk_static_LDFLAGS = -all-static +fdisk_static_CFLAGS = $(fdisk_CFLAGS) +fdisk_static_LDADD = $(fdisk_LDADD) $(READLINE_LIBS_STATIC) +endif +endif # BUILD_FDISK + + +if BUILD_SFDISK +sbin_PROGRAMS += sfdisk +dist_man_MANS += disk-utils/sfdisk.8 +sfdisk_SOURCES = \ + disk-utils/sfdisk.c \ + disk-utils/fdisk-list.c \ + disk-utils/fdisk-list.h + +sfdisk_LDADD = $(LDADD) libcommon.la libfdisk.la \ + libsmartcols.la libtcolors.la $(READLINE_LIBS) +sfdisk_CFLAGS = $(AM_CFLAGS) -I$(ul_libfdisk_incdir) -I$(ul_libsmartcols_incdir) + +if HAVE_STATIC_SFDISK +sbin_PROGRAMS += sfdisk.static +sfdisk_static_SOURCES = $(sfdisk_SOURCES) +sfdisk_static_LDFLAGS = -all-static +sfdisk_static_CFLAGS = $(sfdisk_CFLAGS) +sfdisk_static_LDADD = $(sfdisk_LDADD) $(READLINE_LIBS_STATIC) +endif +endif # BUILD_SFDISK + + +if BUILD_CFDISK +sbin_PROGRAMS += cfdisk +dist_man_MANS += disk-utils/cfdisk.8 +cfdisk_SOURCES = disk-utils/cfdisk.c +cfdisk_LDADD = \ + $(LDADD) \ + libsmartcols.la \ + libcommon.la \ + libfdisk.la \ + libtcolors.la +cfdisk_CFLAGS = \ + $(AM_CFLAGS) \ + -I$(ul_libfdisk_incdir) \ + -I$(ul_libsmartcols_incdir) + +if BUILD_LIBMOUNT +cfdisk_CFLAGS += -I$(ul_libmount_incdir) +cfdisk_LDADD += libmount.la +endif + +if HAVE_SLANG +cfdisk_LDADD += -lslang +else +cfdisk_CFLAGS += $(NCURSES_CFLAGS) +cfdisk_LDADD += $(NCURSES_LIBS) +endif +endif # BUILD_CFDISK + + +if BUILD_PARTX +usrsbin_exec_PROGRAMS += partx addpart delpart resizepart +dist_man_MANS += \ + disk-utils/addpart.8 \ + disk-utils/delpart.8 \ + disk-utils/resizepart.8 \ + disk-utils/partx.8 + +addpart_SOURCES = disk-utils/addpart.c +addpart_LDADD = $(LDADD) libcommon.la + +delpart_SOURCES = disk-utils/delpart.c +delpart_LDADD = $(LDADD) libcommon.la + +resizepart_SOURCES = disk-utils/resizepart.c +resizepart_LDADD = $(LDADD) libcommon.la + +partx_SOURCES = disk-utils/partx.c +partx_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) -I$(ul_libsmartcols_incdir) +partx_LDADD = $(LDADD) libblkid.la libcommon.la libsmartcols.la + +endif # BUILD_PARTX diff --git a/disk-utils/addpart.8 b/disk-utils/addpart.8 new file mode 100644 index 0000000..97d11ad --- /dev/null +++ b/disk-utils/addpart.8 @@ -0,0 +1,40 @@ +.\" addpart.8 -- man page for addpart +.\" Copyright 2007 Karel Zak +.\" Copyright 2007 Red Hat, Inc. +.\" May be distributed under the GNU General Public License +.TH ADDPART 8 "January 2015" "util-linux" "System Administration" +.SH NAME +addpart \- tell the kernel about the existence of a partition +.SH SYNOPSIS +.B addpart +.I device partition start length +.SH DESCRIPTION +.B addpart +tells the Linux kernel about the existence of the specified partition. +The command is a simple wrapper around the "add partition" ioctl. + +This command doesn't manipulate partitions on a block device. + +.SH PARAMETERS +.TP +.I device +The disk device. +.TP +.I partition +The partition number. +.TP +.I start +The beginning of the partition (in 512-byte sectors). +.TP +.I length +The length of the partition (in 512-byte sectors). + +.SH SEE ALSO +.BR delpart (8), +.BR fdisk (8), +.BR parted (8), +.BR partprobe (8), +.BR partx (8) +.SH AVAILABILITY +The addpart command is part of the util-linux package and is available from +https://www.kernel.org/pub/linux/utils/util-linux/. diff --git a/disk-utils/addpart.c b/disk-utils/addpart.c new file mode 100644 index 0000000..018c995 --- /dev/null +++ b/disk-utils/addpart.c @@ -0,0 +1,67 @@ +#include +#include +#include +#include + +#include "c.h" +#include "nls.h" +#include "partx.h" +#include "strutils.h" + +static void __attribute__((__noreturn__)) usage(void) +{ + FILE *out = stdout; + fputs(USAGE_HEADER, out); + fprintf(out, _(" %s \n"), + program_invocation_short_name); + + fputs(USAGE_SEPARATOR, out); + fputs(_("Tell the kernel about the existence of a specified partition.\n"), out); + + fputs(USAGE_OPTIONS, out); + printf(USAGE_HELP_OPTIONS(16)); + printf(USAGE_MAN_TAIL("addpart(8)")); + exit(EXIT_SUCCESS); +} + +int main(int argc, char **argv) +{ + int c, fd; + + static const struct option longopts[] = { + {"help", no_argument, NULL, 'h'}, + {"version", no_argument, NULL, 'V'}, + {NULL, 0, NULL, 0}, + }; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + + while ((c = getopt_long(argc, argv, "Vh", longopts, NULL)) != -1) + switch (c) { + case 'V': + printf(UTIL_LINUX_VERSION); + return EXIT_SUCCESS; + case 'h': + usage(); + default: + errtryhelp(EXIT_FAILURE); + } + + if (argc != 5) { + warnx(_("not enough arguments")); + errtryhelp(EXIT_FAILURE); + } + + if ((fd = open(argv[1], O_RDONLY)) < 0) + err(EXIT_FAILURE, _("cannot open %s"), argv[1]); + + if (partx_add_partition(fd, + strtou32_or_err(argv[2], _("invalid partition number argument")), + strtou64_or_err(argv[3], _("invalid start argument")), + strtou64_or_err(argv[4], _("invalid length argument")))) + err(EXIT_FAILURE, _("failed to add partition")); + + return EXIT_SUCCESS; +} diff --git a/disk-utils/blockdev.8 b/disk-utils/blockdev.8 new file mode 100644 index 0000000..fb00606 --- /dev/null +++ b/disk-utils/blockdev.8 @@ -0,0 +1,91 @@ +.\" Copyright 1998 Andries E. Brouwer (aeb@cwi.nl) +.\" Copyright 2007 Karel Zak +.\" +.\" May be distributed under the GNU General Public License +.TH BLOCKDEV 8 "August 2010" "util-linux" "System Administration" +.SH NAME +blockdev \- call block device ioctls from the command line +.SH SYNOPSIS +.B blockdev +.RB [ \-q ] +.RB [ \-v ] +.I command +.RI [ command \&...\&] +.I device +.RI [ device \&...\&] +.br +.B blockdev +.B \-\-report +.RI [ device \&...\&] +.br +.B blockdev +.RB \-h | \-V +.SH DESCRIPTION +The utility +.B blockdev +allows one to call block device ioctls from the command line. +.SH OPTIONS +.IP "\fB\-q\fP" +Be quiet. +.IP "\fB\-v\fP" +Be verbose. +.IP "\fB\-\-report\fP" +Print a report for the specified device. It is possible to give multiple +devices. If none is given, all devices which appear in /proc/partitions are +shown. Note that the partition StartSec is in 512-byte sectors. +.IP "\fB\-h\fR, \fB\-\-help\fR" +Display help text and exit. +.IP "\fB\-V\fR, \fB\-\-version\fR" +Print version and exit. +.SH COMMANDS +It is possible to give multiple devices and multiple commands. +.IP "\fB\-\-flushbufs\fP" +Flush buffers. +.IP "\fB\-\-getalignoff\fP" +Get alignment offset. +.IP "\fB\-\-getbsz\fP" +Print blocksize in bytes. +.IP "\fB\-\-getdiscardzeroes\fP" +Get discard zeroes support status. +.IP "\fB\-\-getfra\fP" +Get filesystem readahead in 512-byte sectors. +.IP "\fB\-\-getiomin\fP" +Get minimum I/O size. +.IP "\fB\-\-getioopt\fP" +Get optimal I/O size. +.IP "\fB\-\-getmaxsect\fP" +Get max sectors per request +.IP "\fB\-\-getpbsz\fP" +Get physical block (sector) size. +.IP "\fB\-\-getra\fP" +Print readahead (in 512-byte sectors). +.IP "\fB\-\-getro\fP" +Get read-only. Print 1 if the device is read-only, 0 otherwise. +.IP "\fB\-\-getsize64\fP" +Print device size in bytes. +.IP "\fB\-\-getsize\fP" +Print device size (32-bit!) in sectors. Deprecated in favor of the \-\-getsz option. +.IP "\fB\-\-getss\fP" +Print logical sector size in bytes \(en usually 512. +.IP "\fB\-\-getsz\fP" +Get size in 512-byte sectors. +.IP "\fB\-\-rereadpt\fP" +Reread partition table +.IP "\fB\-\-setbsz\fP \fIbytes\fP" +Set blocksize. Note that the block size is specific to the current file +descriptor opening the block device, so the change of block size only persists +for as long as blockdev has the device open, and is lost once blockdev exits. +.IP "\fB\-\-setfra\fP \fIsectors\fP" +Set filesystem readahead (same like \-\-setra on 2.6 kernels). +.IP "\fB\-\-setra\fP \fIsectors\fP" +Set readahead (in 512-byte sectors). +.IP "\fB\-\-setro\fP" +Set read-only. The currently active access to the device may not be affected by the change. For example +filesystem already mounted in read-write mode will not be affected. The change applies after remount. +.IP "\fB\-\-setrw\fP" +Set read-write. +.SH AUTHOR +blockdev was written by Andries E.\& Brouwer and rewritten by Karel Zak. +.SH AVAILABILITY +The blockdev command is part of the util-linux package and is available from +https://www.kernel.org/pub/linux/utils/util-linux/. diff --git a/disk-utils/blockdev.c b/disk-utils/blockdev.c new file mode 100644 index 0000000..5122460 --- /dev/null +++ b/disk-utils/blockdev.c @@ -0,0 +1,505 @@ +/* + * blockdev.c --- Do various simple block device ioctls from the command line + * aeb, 991028 + */ + +#include +#include +#include +#include +#include +#include +#include + +#include "c.h" +#include "nls.h" +#include "blkdev.h" +#include "pathnames.h" +#include "closestream.h" +#include "sysfs.h" + +struct bdc { + long ioc; /* ioctl code */ + const char *iocname; /* ioctl name (e.g. BLKROSET) */ + long argval; /* default argument */ + + const char *name; /* --setfoo */ + const char *argname; /* argument name or NULL */ + + const char *help; + + int argtype; + int flags; +}; + +/* command flags */ +enum { + FL_NOPTR = (1 << 1), /* does not assume pointer (ARG_INT only)*/ + FL_NORESULT = (1 << 2) /* does not return any data */ +}; + +/* ioctl argument types */ +enum { + ARG_NONE, + ARG_USHRT, + ARG_INT, + ARG_UINT, + ARG_LONG, + ARG_ULONG, + ARG_LLONG, + ARG_ULLONG +}; + +#define IOCTL_ENTRY( io ) .ioc = io, .iocname = # io + +static const struct bdc bdcms[] = +{ + { + IOCTL_ENTRY(BLKROSET), + .name = "--setro", + .argtype = ARG_INT, + .argval = 1, + .flags = FL_NORESULT, + .help = N_("set read-only") + },{ + IOCTL_ENTRY(BLKROSET), + .name = "--setrw", + .argtype = ARG_INT, + .argval = 0, + .flags = FL_NORESULT, + .help = N_("set read-write") + },{ + IOCTL_ENTRY(BLKROGET), + .name = "--getro", + .argtype = ARG_INT, + .argval = -1, + .help = N_("get read-only") + },{ + IOCTL_ENTRY(BLKDISCARDZEROES), + .name = "--getdiscardzeroes", + .argtype = ARG_UINT, + .argval = -1, + .help = N_("get discard zeroes support status") + },{ + IOCTL_ENTRY(BLKSSZGET), + .name = "--getss", + .argtype = ARG_INT, + .argval = -1, + .help = N_("get logical block (sector) size") + },{ + IOCTL_ENTRY(BLKPBSZGET), + .name = "--getpbsz", + .argtype = ARG_UINT, + .argval = -1, + .help = N_("get physical block (sector) size") + },{ + IOCTL_ENTRY(BLKIOMIN), + .name = "--getiomin", + .argtype = ARG_UINT, + .argval = -1, + .help = N_("get minimum I/O size") + },{ + IOCTL_ENTRY(BLKIOOPT), + .name = "--getioopt", + .argtype = ARG_UINT, + .argval = -1, + .help = N_("get optimal I/O size") + },{ + IOCTL_ENTRY(BLKALIGNOFF), + .name = "--getalignoff", + .argtype = ARG_INT, + .argval = -1, + .help = N_("get alignment offset in bytes") + },{ + IOCTL_ENTRY(BLKSECTGET), + .name = "--getmaxsect", + .argtype = ARG_USHRT, + .argval = -1, + .help = N_("get max sectors per request") + },{ + IOCTL_ENTRY(BLKBSZGET), + .name = "--getbsz", + .argtype = ARG_INT, + .argval = -1, + .help = N_("get blocksize") + },{ + IOCTL_ENTRY(BLKBSZSET), + .name = "--setbsz", + .argname = "", + .argtype = ARG_INT, + .flags = FL_NORESULT, + .help = N_("set blocksize on file descriptor opening the block device") + },{ + IOCTL_ENTRY(BLKGETSIZE), + .name = "--getsize", + .argtype = ARG_ULONG, + .argval = -1, + .help = N_("get 32-bit sector count (deprecated, use --getsz)") + },{ + IOCTL_ENTRY(BLKGETSIZE64), + .name = "--getsize64", + .argtype = ARG_ULLONG, + .argval = -1, + .help = N_("get size in bytes") + },{ + IOCTL_ENTRY(BLKRASET), + .name = "--setra", + .argname = "", + .argtype = ARG_INT, + .flags = FL_NOPTR | FL_NORESULT, + .help = N_("set readahead") + },{ + IOCTL_ENTRY(BLKRAGET), + .name = "--getra", + .argtype = ARG_LONG, + .argval = -1, + .help = N_("get readahead") + },{ + IOCTL_ENTRY(BLKFRASET), + .name = "--setfra", + .argname = "", + .argtype = ARG_INT, + .flags = FL_NOPTR | FL_NORESULT, + .help = N_("set filesystem readahead") + },{ + IOCTL_ENTRY(BLKFRAGET), + .name = "--getfra", + .argtype = ARG_LONG, + .argval = -1, + .help = N_("get filesystem readahead") + },{ + IOCTL_ENTRY(BLKFLSBUF), + .name = "--flushbufs", + .help = N_("flush buffers") + },{ + IOCTL_ENTRY(BLKRRPART), + .name = "--rereadpt", + .help = N_("reread partition table") + } +}; + +static void __attribute__((__noreturn__)) usage(void) +{ + size_t i; + + fputs(USAGE_HEADER, stdout); + printf(_( + " %1$s [-v|-q] commands devices\n" + " %1$s --report [devices]\n" + " %1$s -h|-V\n" + ), program_invocation_short_name); + + fputs(USAGE_SEPARATOR, stdout); + puts( _("Call block device ioctls from the command line.")); + + fputs(USAGE_OPTIONS, stdout); + puts( _(" -q quiet mode")); + puts( _(" -v verbose mode")); + puts( _(" --report print report for specified (or all) devices")); + fputs(USAGE_SEPARATOR, stdout); + printf(USAGE_HELP_OPTIONS(16)); + + fputs(USAGE_SEPARATOR, stdout); + puts( _("Available commands:")); + printf(_(" %-25s get size in 512-byte sectors\n"), "--getsz"); + for (i = 0; i < ARRAY_SIZE(bdcms); i++) { + if (bdcms[i].argname) + printf(" %s %-*s %s\n", bdcms[i].name, + (int)(24 - strlen(bdcms[i].name)), + bdcms[i].argname, _(bdcms[i].help)); + else + printf(" %-25s %s\n", bdcms[i].name, + _(bdcms[i].help)); + } + + printf(USAGE_MAN_TAIL("blockdev(8)")); + exit(EXIT_SUCCESS); +} + +static int find_cmd(char *s) +{ + size_t j; + + for (j = 0; j < ARRAY_SIZE(bdcms); j++) + if (!strcmp(s, bdcms[j].name)) + return j; + return -1; +} + +static void do_commands(int fd, char **argv, int d); +static void report_header(void); +static void report_device(char *device, int quiet); +static void report_all_devices(void); + +int main(int argc, char **argv) +{ + int fd, d, j, k; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + if (argc < 2) { + warnx(_("not enough arguments")); + errtryhelp(EXIT_FAILURE); + } + + /* -V not together with commands */ + if (!strcmp(argv[1], "-V") || !strcmp(argv[1], "--version")) { + printf(UTIL_LINUX_VERSION); + return EXIT_SUCCESS; + } + if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) + usage(); + + /* --report not together with other commands */ + if (!strcmp(argv[1], "--report")) { + report_header(); + if (argc > 2) { + for (d = 2; d < argc; d++) + report_device(argv[d], 0); + } else { + report_all_devices(); + } + return EXIT_SUCCESS; + } + + /* do each of the commands on each of the devices */ + /* devices start after last command */ + for (d = 1; d < argc; d++) { + j = find_cmd(argv[d]); + if (j >= 0) { + if (bdcms[j].argname) + d++; + continue; + } + if (!strcmp(argv[d], "--getsz")) + continue; + if (!strcmp(argv[d], "--")) { + d++; + break; + } + if (argv[d][0] != '-') + break; + } + + if (d >= argc) { + warnx(_("no device specified")); + errtryhelp(EXIT_FAILURE); + } + + for (k = d; k < argc; k++) { + fd = open(argv[k], O_RDONLY, 0); + if (fd < 0) + err(EXIT_FAILURE, _("cannot open %s"), argv[k]); + do_commands(fd, argv, d); + close(fd); + } + return EXIT_SUCCESS; +} + +static void do_commands(int fd, char **argv, int d) +{ + int res, i, j; + int iarg = 0; + unsigned int uarg = 0; + unsigned short huarg = 0; + long larg = 0; + long long llarg = 0; + unsigned long lu = 0; + unsigned long long llu = 0; + int verbose = 0; + + for (i = 1; i < d; i++) { + if (!strcmp(argv[i], "-v")) { + verbose = 1; + continue; + } + if (!strcmp(argv[i], "-q")) { + verbose = 0; + continue; + } + + if (!strcmp(argv[i], "--getsz")) { + res = blkdev_get_sectors(fd, &llu); + if (res == 0) + printf("%lld\n", llu); + else + errx(EXIT_FAILURE, + _("could not get device size")); + continue; + } + + j = find_cmd(argv[i]); + if (j == -1) { + warnx(_("Unknown command: %s"), argv[i]); + errtryhelp(EXIT_FAILURE); + } + + switch (bdcms[j].argtype) { + default: + case ARG_NONE: + res = ioctl(fd, bdcms[j].ioc, 0); + break; + case ARG_USHRT: + huarg = bdcms[j].argval; + res = ioctl(fd, bdcms[j].ioc, &huarg); + break; + case ARG_INT: + if (bdcms[j].argname) { + if (i == d - 1) { + warnx(_("%s requires an argument"), + bdcms[j].name); + errtryhelp(EXIT_FAILURE); + } + iarg = atoi(argv[++i]); + } else + iarg = bdcms[j].argval; + + res = bdcms[j].flags & FL_NOPTR ? + ioctl(fd, bdcms[j].ioc, iarg) : + ioctl(fd, bdcms[j].ioc, &iarg); + break; + case ARG_UINT: + uarg = bdcms[j].argval; + res = ioctl(fd, bdcms[j].ioc, &uarg); + break; + case ARG_LONG: + larg = bdcms[j].argval; + res = ioctl(fd, bdcms[j].ioc, &larg); + break; + case ARG_LLONG: + llarg = bdcms[j].argval; + res = ioctl(fd, bdcms[j].ioc, &llarg); + break; + case ARG_ULONG: + lu = bdcms[j].argval; + res = ioctl(fd, bdcms[j].ioc, &lu); + break; + case ARG_ULLONG: + llu = bdcms[j].argval; + res = ioctl(fd, bdcms[j].ioc, &llu); + break; + } + + if (res == -1) { + warn(_("ioctl error on %s"), bdcms[j].iocname); + if (verbose) + printf(_("%s failed.\n"), _(bdcms[j].help)); + exit(EXIT_FAILURE); + } + + if (bdcms[j].argtype == ARG_NONE || + (bdcms[j].flags & FL_NORESULT)) { + if (verbose) + printf(_("%s succeeded.\n"), _(bdcms[j].help)); + continue; + } + + if (verbose) + printf("%s: ", _(bdcms[j].help)); + + switch (bdcms[j].argtype) { + case ARG_USHRT: + printf("%hu\n", huarg); + break; + case ARG_INT: + printf("%d\n", iarg); + break; + case ARG_UINT: + printf("%u\n", uarg); + break; + case ARG_LONG: + printf("%ld\n", larg); + break; + case ARG_LLONG: + printf("%lld\n", llarg); + break; + case ARG_ULONG: + printf("%lu\n", lu); + break; + case ARG_ULLONG: + printf("%llu\n", llu); + break; + } + } +} + +static void report_all_devices(void) +{ + FILE *procpt; + char line[200]; + char ptname[200 + 1]; + char device[210]; + int ma, mi, sz; + + procpt = fopen(_PATH_PROC_PARTITIONS, "r"); + if (!procpt) + err(EXIT_FAILURE, _("cannot open %s"), _PATH_PROC_PARTITIONS); + + while (fgets(line, sizeof(line), procpt)) { + if (sscanf(line, " %d %d %d %200[^\n ]", + &ma, &mi, &sz, ptname) != 4) + continue; + + sprintf(device, "/dev/%s", ptname); + report_device(device, 1); + } + + fclose(procpt); +} + +static void report_device(char *device, int quiet) +{ + int fd; + int ro, ssz, bsz; + long ra; + unsigned long long bytes; + uint64_t start = 0; + struct stat st; + + fd = open(device, O_RDONLY | O_NONBLOCK); + if (fd < 0) { + if (!quiet) + warn(_("cannot open %s"), device); + return; + } + + ro = ssz = bsz = 0; + ra = 0; + if (fstat(fd, &st) == 0) { + dev_t disk; + struct path_cxt *pc; + + pc = ul_new_sysfs_path(st.st_rdev, NULL, NULL); + if (pc && + sysfs_blkdev_get_wholedisk(pc, NULL, 0, &disk) == 0 && + disk != st.st_rdev) { + + if (ul_path_read_u64(pc, &start, "start") != 0) + err(EXIT_FAILURE, + _("%s: failed to read partition start from sysfs"), + device); + } + ul_unref_path(pc); + } + if (ioctl(fd, BLKROGET, &ro) == 0 && + ioctl(fd, BLKRAGET, &ra) == 0 && + ioctl(fd, BLKSSZGET, &ssz) == 0 && + ioctl(fd, BLKBSZGET, &bsz) == 0 && + blkdev_get_size(fd, &bytes) == 0) { + printf("%s %5ld %5d %5d %10ju %15lld %s\n", + ro ? "ro" : "rw", ra, ssz, bsz, start, bytes, device); + } else { + if (!quiet) + warnx(_("ioctl error on %s"), device); + } + + close(fd); +} + +static void report_header(void) +{ + printf(_("RO RA SSZ BSZ StartSec Size Device\n")); +} diff --git a/disk-utils/cfdisk.8 b/disk-utils/cfdisk.8 new file mode 100644 index 0000000..ff548d8 --- /dev/null +++ b/disk-utils/cfdisk.8 @@ -0,0 +1,204 @@ +.\" cfdisk.8 -- man page for cfdisk +.\" Copyright 1994 Kevin E. Martin (martin@cs.unc.edu) +.\" Copyright (C) 2014 Karel Zak +.\" +.\" Permission is granted to make and distribute verbatim copies of this +.\" manual provided the copyright notice and this permission notice are +.\" preserved on all copies. +.\" +.\" Permission is granted to copy and distribute modified versions of this +.\" manual under the conditions for verbatim copying, provided that the +.\" entire resulting derived work is distributed under the terms of a +.\" permission notice identical to this one. +.\" +.TH CFDISK 8 "March 2014" "util-linux" "System Administration" +.SH NAME +cfdisk \- display or manipulate a disk partition table +.SH SYNOPSIS +.B cfdisk +[options] +.RI [ device ] +.SH DESCRIPTION +.B cfdisk +is a curses-based program for partitioning any block device. +The default device is +.IR /dev/sda . + +Note that +.B cfdisk +provides basic partitioning functionality with a user-friendly interface. +If you need advanced features, use +.BR fdisk (8) +instead. + +Since version 2.25 +.B cfdisk +supports MBR (DOS), GPT, SUN and SGI disk labels, but no longer provides any +functionality for CHS (Cylinder-Head-Sector) addressing. CHS has +never been important for Linux, and this addressing concept does not make any +sense for new devices. + +Since version 2.25 +.B cfdisk +also does not provide a 'print' command any more. +This functionality is provided by the utilities +.BR partx (8) +and +.BR lsblk (8) +in a very comfortable and rich way. + +If you want to remove an old partition table from a device, use +.BR wipefs (8). + +.SH OPTIONS +.TP +.BR \-h , " \-\-help" +Display help text and exit. +.TP +.BR \-L , " \-\-color" [ = \fIwhen\fR] +Colorize the output. The optional argument \fIwhen\fP +can be \fBauto\fR, \fBnever\fR or \fBalways\fR. If the \fIwhen\fR argument is omitted, +it defaults to \fBauto\fR. The colors can be disabled, for the current built-in default +see \fB\-\-help\fR output. See also the COLORS section. +.TP +.BR \-V , " \-\-version" +Display version information and exit. +.TP +.BR \-z , " \-\-zero" +Start with an in-memory zeroed partition table. This option does not zero the +partition table on the disk; rather, it simply starts the program without +reading the existing partition table. This option allows you to create a new +partition table from scratch or from an sfdisk-compatible script. + +.SH COMMANDS +The commands for +.B cfdisk +can be entered by pressing the corresponding key (pressing +.I Enter +after the command is not necessary). Here is a list of the available +commands: +.TP +.B b +Toggle the bootable flag of the current partition. This allows you to +select which primary partition is bootable on the drive. This command may not +be available for all partition label types. +.TP +.B d +Delete the current partition. This will convert the current partition +into free space and merge it with any free space immediately +surrounding the current partition. A partition already marked as free +space or marked as unusable cannot be deleted. +.TP +.B h +Show the help screen. +.TP +.B n +Create a new partition from free space. +.B cfdisk +then prompts you for the size of the partition you want to create. +The default size is equal to the entire available free space at the current +position. + +The size may be followed by a multiplicative suffix: KiB (=1024), +MiB (=1024*1024), and so on for GiB, TiB, PiB, EiB, ZiB and YiB +(the "iB" is optional, e.g. "K" has the same meaning as "KiB"). +.TP +.B q +Quit the program. This will exit the program without writing any data to +the disk. +.TP +.B s +Sort the partitions in ascending start-sector order. When deleting and +adding partitions, it is likely that the numbering of the partitions will +no longer match their order on the disk. This command restores that match. +.TP +.B t +Change the partition type. By default, new partitions are created as +.I Linux +partitions. +.TP +.B u +Dump the current in-memory partition table to an sfdisk-compatible script file. +.sp +The script files are compatible between \fBcfdisk\fR, \fBfdisk\fR, \fBsfdisk\fR +and other libfdisk applications. For more details see +.BR sfdisk (8). +.sp +It is also possible to load an sfdisk-script into \fBcfdisk\fR if there is +no partition table on the device or when you start \fBcfdisk\fR with the +\fB--zero\fR command-line option. +.TP +.B W +Write the partition table to disk (you must enter an uppercase W). Since +this might destroy data on the disk, you must either confirm or deny +the write by entering `yes' or `no'. If you enter `yes', +.B cfdisk +will write the partition table to disk and then tell the kernel to re-read the +partition table from the disk. + +The re-reading of the partition table does not always work. In such a +case you need to inform the kernel about any new partitions by using +.BR partprobe (8) +or +.BR partx (8), +or by rebooting the system. +.TP +.B x +Toggle extra information about a partition. +.TP +.IR "Up Arrow" , " Down Arrow" +Move the cursor to the previous or next partition. If there are more +partitions than can be displayed on a screen, you can display the next +(previous) set of partitions by moving down (up) at the last (first) +partition displayed on the screen. +.TP +.IR "Left Arrow" , " Right Arrow" +Select the preceding or the next menu item. Hitting \fIEnter\fR will +execute the currently selected item. + +.PP +All commands can be entered with either uppercase or lowercase +letters (except for +.BR W rite). +When in a submenu or at a prompt, you can hit the +.I Esc +key to return to the main menu. + +.SH COLORS +Implicit coloring can be disabled by creating the empty file +.IR /etc/terminal-colors.d/cfdisk.disable . + +See +.BR terminal-colors.d (5) +for more details about colorization configuration. + +.B cfdisk +does not support color customization with a color-scheme file. + +.SH ENVIRONMENT +.IP CFDISK_DEBUG=all +enables cfdisk debug output. +.IP LIBFDISK_DEBUG=all +enables libfdisk debug output. +.IP LIBBLKID_DEBUG=all +enables libblkid debug output. +.IP LIBSMARTCOLS_DEBUG=all +enables libsmartcols debug output. +.IP LIBSMARTCOLS_DEBUG_PADDING=on +use visible padding characters. Requires enabled LIBSMARTCOLS_DEBUG. + +.SH "SEE ALSO" +.BR fdisk (8), +.BR parted (8), +.BR partprobe (8), +.BR partx (8), +.BR sfdisk (8) +.SH AUTHOR +Karel Zak +.PP +The current cfdisk implementation is based on the original cfdisk +from Kevin E. Martin (martin@cs.unc.edu). + +.SH AVAILABILITY +The cfdisk command is part of the util-linux package and is available from +https://www.kernel.org/pub/linux/utils/util-linux/. diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c new file mode 100644 index 0000000..25f8e1a --- /dev/null +++ b/disk-utils/cfdisk.c @@ -0,0 +1,2747 @@ +/* + * cfdisk.c - Display or manipulate a disk partition table. + * + * Copyright (C) 2014-2015 Karel Zak + * Copyright (C) 1994 Kevin E. Martin (martin@cs.unc.edu) + * + * The original cfdisk was inspired by the fdisk program + * by A. V. Le Blanc (leblanc@mcc.ac.uk. + * + * cfdisk is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef HAVE_LIBMOUNT +# include /* keep it optional for non-linux systems */ +#endif + +#ifdef HAVE_SLANG_H +# include +#elif defined(HAVE_SLANG_SLANG_H) +# include +#endif + +#ifndef _XOPEN_SOURCE +# define _XOPEN_SOURCE 500 /* for inclusion of get_wch */ +#endif + +#ifdef HAVE_SLCURSES_H +# include +#elif defined(HAVE_SLANG_SLCURSES_H) +# include +#elif defined(HAVE_NCURSESW_NCURSES_H) && defined(HAVE_WIDECHAR) +# include +#elif defined(HAVE_NCURSES_H) +# include +#elif defined(HAVE_NCURSES_NCURSES_H) +# include +#endif + +#ifdef HAVE_WIDECHAR +# include +# include +#endif + +#include "c.h" +#include "closestream.h" +#include "nls.h" +#include "strutils.h" +#include "xalloc.h" +#include "mbsalign.h" +#include "mbsedit.h" +#include "colors.h" +#include "debug.h" +#include "list.h" + +static const char *default_disks[] = { +#ifdef __GNU__ + "/dev/hd0", + "/dev/sd0", +#elif defined(__FreeBSD__) + "/dev/ad0", + "/dev/da0", +#else + "/dev/sda", + "/dev/vda", + "/dev/hda", +#endif +}; + +#define ARROW_CURSOR_STRING ">> " +#define ARROW_CURSOR_DUMMY " " +#define ARROW_CURSOR_WIDTH (sizeof(ARROW_CURSOR_STRING) - 1) + +/* vertical menu */ +#define MENU_V_SPADDING 1 /* space around menu item string */ + +/* horizontal menu */ +#define MENU_H_SPADDING 0 /* space around menu item string */ +#define MENU_H_BETWEEN 2 /* space between menu items */ +#define MENU_H_PRESTR "[" +#define MENU_H_POSTSTR "]" + +#define MENU_TITLE_PADDING 3 + +#define MENU_H_PRESTR_SZ (sizeof(MENU_H_PRESTR) - 1) +#define MENU_H_POSTSTR_SZ (sizeof(MENU_H_POSTSTR) - 1) + +#define TABLE_START_LINE 4 +#define MENU_START_LINE (ui_lines - 4) /* The menu maybe use two lines */ +#define INFO_LINE (ui_lines - 2) +#define WARN_LINE INFO_LINE +#define HINT_LINE (ui_lines - 1) + +#define CFDISK_ERR_ESC 5000 + +#ifndef KEY_ESC +# define KEY_ESC '\033' +#endif +#ifndef KEY_DELETE +# define KEY_DELETE '\177' +#endif +#ifndef KEY_DC +# define KEY_DC 0423 +#endif + + +/* colors */ +enum { + CFDISK_CL_NONE = 0, + CFDISK_CL_WARNING, + CFDISK_CL_FREESPACE, + CFDISK_CL_INFO +}; +static const int color_pairs[][2] = { + /* color foreground, background */ + [CFDISK_CL_WARNING] = { COLOR_RED, -1 }, + [CFDISK_CL_FREESPACE] = { COLOR_GREEN, -1 }, + [CFDISK_CL_INFO] = { COLOR_BLUE, -1 } +}; + +struct cfdisk; + +static struct cfdisk_menuitem *menu_get_menuitem(struct cfdisk *cf, size_t idx); +static struct cfdisk_menuitem *menu_get_menuitem_by_key(struct cfdisk *cf, int key, size_t *idx); +static struct cfdisk_menu *menu_push(struct cfdisk *cf, struct cfdisk_menuitem *item); +static struct cfdisk_menu *menu_pop(struct cfdisk *cf); +static void menu_refresh_size(struct cfdisk *cf); + +static int ui_end(void); +static int ui_refresh(struct cfdisk *cf); +static void ui_warnx(const char *fmt, ...); +static void ui_warn(const char *fmt, ...); +static void ui_info(const char *fmt, ...); +static void ui_draw_menu(struct cfdisk *cf); +static int ui_menu_move(struct cfdisk *cf, int key); +static void ui_menu_resize(struct cfdisk *cf); + +static int ui_get_size(struct cfdisk *cf, const char *prompt, uint64_t *res, + uint64_t low, uint64_t up, int *expsize); + +static int ui_enabled; +static volatile sig_atomic_t sig_resize; +static volatile sig_atomic_t sig_die; + +/* ncurses LINES and COLS may be actual variables or *macros*, but we need + * something portable and writable */ +static size_t ui_lines; +static size_t ui_cols; + +/* menu item */ +struct cfdisk_menuitem { + int key; /* keyboard shortcut */ + const char *name; /* item name */ + const char *desc; /* item description (hint) */ + void *userdata; +}; + +/* menu */ +struct cfdisk_menu { + char *title; /* optional menu title */ + struct cfdisk_menuitem *items; /* array with menu items */ + char *ignore;/* string with keys to ignore */ + size_t width; /* maximal width of the menu item */ + size_t nitems; /* number of the active menu items */ + size_t page_sz;/* when menu longer than screen */ + size_t idx; /* the current menu item */ + int prefkey;/* preferred menu item */ + struct cfdisk_menu *prev; + + /* @ignore keys generator */ + int (*ignore_cb) (struct cfdisk *, char *, size_t); + + unsigned int vertical : 1; /* enable vertical mode */ +}; + +/* main menu */ +static struct cfdisk_menuitem main_menuitems[] = { + { 'b', N_("Bootable"), N_("Toggle bootable flag of the current partition") }, + { 'd', N_("Delete"), N_("Delete the current partition") }, + { 'r', N_("Resize"), N_("Reduce or enlarge the current partition") }, + { 'n', N_("New"), N_("Create new partition from free space") }, + { 'q', N_("Quit"), N_("Quit program without writing changes") }, + { 't', N_("Type"), N_("Change the partition type") }, + { 'h', N_("Help"), N_("Print help screen") }, + { 's', N_("Sort"), N_("Fix partitions order") }, + { 'W', N_("Write"), N_("Write partition table to disk (this might destroy data)") }, + { 'u', N_("Dump"), N_("Dump partition table to sfdisk compatible script file") }, + { 0, NULL, NULL } +}; + +/* extra partinfo in name:value pairs */ +struct cfdisk_extra { + char *name; + char *data; + + struct list_head exs; +}; + +/* line and extra partinfo list_head */ +struct cfdisk_line { + char *data; /* line data */ + struct libscols_table *extra; /* extra info ('X') */ + WINDOW *w; /* window with extra info */ +}; + +/* top level control struct */ +struct cfdisk { + struct fdisk_context *cxt; /* libfdisk context */ + struct fdisk_table *table; /* partition table */ + struct fdisk_table *original_layout; /* original on-disk PT */ + + struct cfdisk_menu *menu; /* the current menu */ + + int *fields; /* output columns IDs */ + size_t nfields; /* number of columns IDs */ + + char *linesbuf; /* table as string */ + size_t linesbufsz; /* size of the tb_buf */ + + struct cfdisk_line *lines; /* list of lines */ + + size_t nlines; /* number of lines */ + size_t lines_idx; /* current line <0..N>, exclude header */ + size_t page_sz; + + unsigned int nwrites; /* fdisk_write_disklabel() counter */ + + WINDOW *act_win; /* the window currently on the screen */ + +#ifdef HAVE_LIBMOUNT + struct libmnt_table *mtab; + struct libmnt_table *fstab; + struct libmnt_cache *mntcache; +#endif + unsigned int wrong_order :1, /* PT not in right order */ + zero_start :1, /* ignore existing partition table */ + device_is_used : 1, /* don't use re-read ioctl */ + show_extra :1; /* show extra partinfo */ +}; + + +/* + * let's use include/debug.h stuff for cfdisk too + */ +static UL_DEBUG_DEFINE_MASK(cfdisk); +UL_DEBUG_DEFINE_MASKNAMES(cfdisk) = UL_DEBUG_EMPTY_MASKNAMES; + +#define CFDISK_DEBUG_INIT (1 << 1) +#define CFDISK_DEBUG_UI (1 << 2) +#define CFDISK_DEBUG_MENU (1 << 3) +#define CFDISK_DEBUG_MISC (1 << 4) +#define CFDISK_DEBUG_TABLE (1 << 5) +#define CFDISK_DEBUG_ALL 0xFFFF + +#define DBG(m, x) __UL_DBG(cfdisk, CFDISK_DEBUG_, m, x) + +static void cfdisk_init_debug(void) +{ + __UL_INIT_DEBUG_FROM_ENV(cfdisk, CFDISK_DEBUG_, 0, CFDISK_DEBUG); +} + +/* Initialize output columns -- we follow libfdisk fields (usually specific + * to the label type. + */ +static int cols_init(struct cfdisk *cf) +{ + assert(cf); + + free(cf->fields); + cf->fields = NULL; + cf->nfields = 0; + + return fdisk_label_get_fields_ids(NULL, cf->cxt, &cf->fields, &cf->nfields); +} + +static void die_on_signal(void) +{ + DBG(MISC, ul_debug("die on signal.")); + ui_end(); + exit(EXIT_FAILURE); +} + +static void resize(void) +{ + struct winsize ws; + + if (ioctl(fileno(stdout), TIOCGWINSZ, &ws) != -1 + && ws.ws_row && ws.ws_col) { + ui_lines = ws.ws_row; + ui_cols = ws.ws_col; +#if HAVE_RESIZETERM + resizeterm(ws.ws_row, ws.ws_col); +#endif + clearok(stdscr, TRUE); + } + touchwin(stdscr); + + DBG(UI, ul_debug("ui: resize refresh ui_cols=%zu, ui_lines=%zu", + ui_cols, ui_lines)); + sig_resize = 0; +} + +/* Reads partition in tree-like order from scols + */ +static int partition_from_scols(struct fdisk_table *tb, + struct libscols_line *ln) +{ + struct fdisk_partition *pa = scols_line_get_userdata(ln); + + fdisk_table_add_partition(tb, pa); + fdisk_unref_partition(pa); + + if (scols_line_has_children(ln)) { + struct libscols_line *chln; + struct libscols_iter *itr = scols_new_iter(SCOLS_ITER_FORWARD); + + if (!itr) + return -EINVAL; + while (scols_line_next_child(ln, itr, &chln) == 0) + partition_from_scols(tb, chln); + scols_free_iter(itr); + } + return 0; +} + +static char *table_to_string(struct cfdisk *cf, struct fdisk_table *tb) +{ + struct fdisk_partition *pa; + struct fdisk_label *lb; + struct fdisk_iter *itr; + struct libscols_table *table = NULL; + struct libscols_iter *s_itr = NULL; + char *res = NULL; + size_t i; + int tree = 0; + struct libscols_line *ln, *ln_cont = NULL; + + DBG(TABLE, ul_debug("convert to string")); + + assert(cf); + assert(cf->cxt); + assert(cf->fields); + assert(tb); + + lb = fdisk_get_label(cf->cxt, NULL); + assert(lb); + + itr = fdisk_new_iter(FDISK_ITER_FORWARD); + if (!itr) + goto done; + + /* get container (e.g. extended partition) */ + while (fdisk_table_next_partition(tb, itr, &pa) == 0) { + if (fdisk_partition_is_nested(pa)) { + DBG(TABLE, ul_debug("nested detected, using tree")); + tree = SCOLS_FL_TREE; + break; + } + } + + table = scols_new_table(); + if (!table) + goto done; + scols_table_enable_maxout(table, 1); + scols_table_enable_nowrap(table, 1); + +#if !defined(HAVE_LIBNCURSESW) || !defined(HAVE_WIDECHAR) + scols_table_enable_ascii(table, 1); +#endif + + /* headers */ + for (i = 0; i < cf->nfields; i++) { + int fl = 0; + const struct fdisk_field *field = + fdisk_label_get_field(lb, cf->fields[i]); + if (!field) + continue; + + if (fdisk_field_is_number(field)) + fl |= SCOLS_FL_RIGHT; + if (fdisk_field_get_id(field) == FDISK_FIELD_TYPE) + fl |= SCOLS_FL_TRUNC; + if (tree && fdisk_field_get_id(field) == FDISK_FIELD_DEVICE) + fl |= SCOLS_FL_TREE; + + if (!scols_table_new_column(table, + _(fdisk_field_get_name(field)), + fdisk_field_get_width(field), fl)) + goto done; + } + + /* data */ + fdisk_reset_iter(itr, FDISK_ITER_FORWARD); + + while (fdisk_table_next_partition(tb, itr, &pa) == 0) { + struct libscols_line *parent = fdisk_partition_is_nested(pa) ? ln_cont : NULL; + + ln = scols_table_new_line(table, parent); + if (!ln) + goto done; + for (i = 0; i < cf->nfields; i++) { + char *cdata = NULL; + + if (fdisk_partition_to_string(pa, cf->cxt, + cf->fields[i], &cdata)) + continue; + scols_line_refer_data(ln, i, cdata); + } + if (tree && fdisk_partition_is_container(pa)) + ln_cont = ln; + + scols_line_set_userdata(ln, (void *) pa); + fdisk_ref_partition(pa); + } + + if (scols_table_is_empty(table)) + goto done; + + scols_table_reduce_termwidth(table, ARROW_CURSOR_WIDTH); + scols_print_table_to_string(table, &res); + + /* scols_* code might reorder lines, let's reorder @tb according to the + * final output (it's no problem because partitions are addressed by + * parno stored within struct fdisk_partition) */ + + /* remove all */ + fdisk_reset_iter(itr, FDISK_ITER_FORWARD); + while (fdisk_table_next_partition(tb, itr, &pa) == 0) + fdisk_table_remove_partition(tb, pa); + + s_itr = scols_new_iter(SCOLS_ITER_FORWARD); + if (!s_itr) + goto done; + + /* add all in the right order (don't forget the output is tree) */ + while (scols_table_next_line(table, s_itr, &ln) == 0) { + if (scols_line_get_parent(ln)) + continue; + if (partition_from_scols(tb, ln)) + break; + } +done: + scols_unref_table(table); + scols_free_iter(s_itr); + fdisk_free_iter(itr); + + return res; +} + +static void cfdisk_free_lines(struct cfdisk *cf) +{ + size_t i = 0; + while(i < cf->nlines) { + scols_unref_table(cf->lines[i].extra); + + DBG(UI, ul_debug("delete window: %p", + cf->lines[i].w)); + + if (cf->lines[i].w) + delwin(cf->lines[i].w); + cf->lines[i].w = NULL; + ++i; + } + cf->act_win = NULL; + free(cf->lines); + cf->lines = NULL; +} +/* + * Read data about partitions from libfdisk and prepare output lines. + */ +static int lines_refresh(struct cfdisk *cf) +{ + int rc; + char *p; + size_t i; + + assert(cf); + + DBG(TABLE, ul_debug("refreshing buffer")); + + free(cf->linesbuf); + cfdisk_free_lines(cf); + cf->linesbuf = NULL; + cf->linesbufsz = 0; + cf->lines = NULL; + cf->nlines = 0; + + fdisk_unref_table(cf->table); + cf->table = NULL; + + /* read partitions and free spaces into cf->table */ + rc = fdisk_get_partitions(cf->cxt, &cf->table); + if (!rc) + rc = fdisk_get_freespaces(cf->cxt, &cf->table); + if (rc) + return rc; + + cf->linesbuf = table_to_string(cf, cf->table); + if (!cf->linesbuf) + return -ENOMEM; + + cf->linesbufsz = strlen(cf->linesbuf); + cf->nlines = fdisk_table_get_nents(cf->table) + 1; /* 1 for header line */ + cf->page_sz = 0; + cf->wrong_order = fdisk_table_wrong_order(cf->table) ? 1 : 0; + + if (MENU_START_LINE - TABLE_START_LINE < cf->nlines) + cf->page_sz = MENU_START_LINE - TABLE_START_LINE - 1; + + cf->lines = xcalloc(cf->nlines, sizeof(struct cfdisk_line)); + + for (p = cf->linesbuf, i = 0; p && i < cf->nlines; i++) { + cf->lines[i].data = p; + p = strchr(p, '\n'); + if (p) { + *p = '\0'; + p++; + } + cf->lines[i].extra = scols_new_table(); + scols_table_enable_noheadings(cf->lines[i].extra, 1); + scols_table_new_column(cf->lines[i].extra, NULL, 0, SCOLS_FL_RIGHT); + scols_table_new_column(cf->lines[i].extra, NULL, 0, SCOLS_FL_TRUNC); + } + + return 0; +} + +static struct fdisk_partition *get_current_partition(struct cfdisk *cf) +{ + assert(cf); + assert(cf->table); + + return fdisk_table_get_partition(cf->table, cf->lines_idx); +} + +static int is_freespace(struct cfdisk *cf, size_t i) +{ + struct fdisk_partition *pa; + + assert(cf); + assert(cf->table); + + pa = fdisk_table_get_partition(cf->table, i); + return fdisk_partition_is_freespace(pa); +} + +/* converts libfdisk FDISK_ASKTYPE_MENU to cfdisk menu and returns user's + * response back to libfdisk + */ +static int ask_menu(struct fdisk_ask *ask, struct cfdisk *cf) +{ + struct cfdisk_menuitem *d, *cm; + int key; + size_t i = 0, nitems; + const char *name, *desc; + + assert(ask); + assert(cf); + + /* create cfdisk menu according to libfdisk ask-menu, note that the + * last cm[] item has to be empty -- so nitems + 1 */ + nitems = fdisk_ask_menu_get_nitems(ask); + cm = xcalloc(nitems + 1, sizeof(struct cfdisk_menuitem)); + + for (i = 0; i < nitems; i++) { + if (fdisk_ask_menu_get_item(ask, i, &key, &name, &desc)) + break; + cm[i].key = key; + cm[i].desc = desc; + cm[i].name = name; + } + + /* make the new menu active */ + menu_push(cf, cm); + ui_draw_menu(cf); + refresh(); + + /* wait for keys */ + while (!sig_die) { + key = getch(); + + if (sig_die) + break; + if (sig_resize) + ui_menu_resize(cf); + if (ui_menu_move(cf, key) == 0) + continue; + + switch (key) { + case KEY_ENTER: + case '\n': + case '\r': + d = menu_get_menuitem(cf, cf->menu->idx); + if (d) + fdisk_ask_menu_set_result(ask, d->key); + menu_pop(cf); + free(cm); + return 0; + } + } + + if (sig_die) + die_on_signal(); + + menu_pop(cf); + free(cm); + return -1; +} + +/* libfdisk callback + */ +static int ask_callback(struct fdisk_context *cxt __attribute__((__unused__)), + struct fdisk_ask *ask, + void *data __attribute__((__unused__))) +{ + int rc = 0; + + assert(ask); + + switch(fdisk_ask_get_type(ask)) { + case FDISK_ASKTYPE_INFO: + ui_info(fdisk_ask_print_get_mesg(ask)); + break; + case FDISK_ASKTYPE_WARNX: + ui_warnx(fdisk_ask_print_get_mesg(ask)); + break; + case FDISK_ASKTYPE_WARN: + ui_warn(fdisk_ask_print_get_mesg(ask)); + break; + case FDISK_ASKTYPE_MENU: + ask_menu(ask, (struct cfdisk *) data); + break; + default: + ui_warnx(_("internal error: unsupported dialog type %d"), + fdisk_ask_get_type(ask)); + return -EINVAL; + } + return rc; +} + +static int ui_end(void) +{ + if (!ui_enabled) + return -EINVAL; + +#if defined(HAVE_SLCURSES_H) || defined(HAVE_SLANG_SLCURSES_H) + SLsmg_gotorc(ui_lines - 1, 0); + SLsmg_refresh(); +#else + mvcur(0, ui_cols - 1, ui_lines-1, 0); +#endif + curs_set(1); + nl(); + endwin(); + printf("\n"); + ui_enabled = 0; + return 0; +} + +static void ui_vprint_center(size_t line, int attrs, const char *fmt, va_list ap) +{ + size_t width; + char *buf = NULL; + + move(line, 0); + clrtoeol(); + + xvasprintf(&buf, fmt, ap); + + width = mbs_safe_width(buf); + if (width > (size_t) ui_cols) { + char *p = strrchr(buf + ui_cols, ' '); + if (!p) + p = buf + ui_cols; + *p = '\0'; + if (line + 1 >= ui_lines) + line--; + attron(attrs); + mvaddstr(line, 0, buf); + mvaddstr(line + 1, 0, p+1); + attroff(attrs); + } else { + attron(attrs); + mvaddstr(line, (ui_cols - width) / 2, buf); + attroff(attrs); + } + free(buf); +} + +static void ui_center(size_t line, const char *fmt, ...) +{ + va_list ap; + va_start(ap, fmt); + ui_vprint_center(line, 0, fmt, ap); + va_end(ap); +} + +static void ui_warnx(const char *fmt, ...) +{ + va_list ap; + va_start(ap, fmt); + if (ui_enabled) + ui_vprint_center(WARN_LINE, + colors_wanted() ? COLOR_PAIR(CFDISK_CL_WARNING) : 0, + fmt, ap); + else { + vfprintf(stderr, fmt, ap); + fputc('\n', stderr); + } + va_end(ap); +} + +static void ui_warn(const char *fmt, ...) +{ + char *fmt_m; + va_list ap; + + xasprintf(&fmt_m, "%s: %m", fmt); + + va_start(ap, fmt); + if (ui_enabled) + ui_vprint_center(WARN_LINE, + colors_wanted() ? COLOR_PAIR(CFDISK_CL_WARNING) : 0, + fmt_m, ap); + else { + vfprintf(stderr, fmt_m, ap); + fputc('\n', stderr); + } + va_end(ap); + free(fmt_m); +} + +static void ui_clean_warn(void) +{ + move(WARN_LINE, 0); + clrtoeol(); +} + +static int __attribute__((__noreturn__)) ui_errx(int rc, const char *fmt, ...) + { + va_list ap; + ui_end(); + + va_start(ap, fmt); + fprintf(stderr, "%s: ", program_invocation_short_name); + vfprintf(stderr, fmt, ap); + fputc('\n', stderr); + va_end(ap); + + exit(rc); +} + +static void ui_info(const char *fmt, ...) +{ + va_list ap; + va_start(ap, fmt); + if (ui_enabled) + ui_vprint_center(INFO_LINE, + colors_wanted() ? COLOR_PAIR(CFDISK_CL_INFO) : 0, + fmt, ap); + else { + vfprintf(stdout, fmt, ap); + fputc('\n', stdout); + } + va_end(ap); +} + +static void ui_clean_info(void) +{ + move(INFO_LINE, 0); + clrtoeol(); +} + +static void ui_hint(const char *fmt, ...) +{ + va_list ap; + va_start(ap, fmt); + if (ui_enabled) + ui_vprint_center(HINT_LINE, A_BOLD, fmt, ap); + else { + vfprintf(stdout, fmt, ap); + fputc('\n', stdout); + } + va_end(ap); +} + +static void ui_clean_hint(void) +{ + move(HINT_LINE, 0); + clrtoeol(); +} + + +static void sig_handler_die(int dummy __attribute__((__unused__))) +{ + sig_die = 1; +} + +static void sig_handler_resize(int dummy __attribute__((__unused__))) +{ + sig_resize = 1; +} + +static void menu_refresh_size(struct cfdisk *cf) +{ + if (cf->menu && cf->menu->nitems) + cf->menu->page_sz = (cf->menu->nitems / (ui_lines - 4)) ? ui_lines - 4 : 0; +} + +static void menu_update_ignore(struct cfdisk *cf) +{ + char ignore[128] = { 0 }; + int i = 0; + struct cfdisk_menu *m; + struct cfdisk_menuitem *d, *org = NULL; + size_t idx; + + assert(cf); + assert(cf->menu); + assert(cf->menu->ignore_cb); + + m = cf->menu; + DBG(MENU, ul_debug("update menu ignored keys")); + + i = m->ignore_cb(cf, ignore, sizeof(ignore)); + ignore[i] = '\0'; + + /* return if no change */ + if ((!m->ignore && !*ignore) + || (m->ignore && *ignore && strcmp(m->ignore, ignore) == 0)) { + return; + } + + if (!m->prefkey) + org = menu_get_menuitem(cf, m->idx); + + free(m->ignore); + m->ignore = xstrdup(ignore); + m->nitems = 0; + + for (d = m->items; d->name; d++) { + if (m->ignore && strchr(m->ignore, d->key)) + continue; + m->nitems++; + } + + DBG(MENU, ul_debug("update menu preferred keys")); + + /* refresh menu index to be at the same menuitem or go to the first */ + if (org && menu_get_menuitem_by_key(cf, org->key, &idx)) + m->idx = idx; + else if (m->prefkey && menu_get_menuitem_by_key(cf, m->prefkey, &idx)) + m->idx = idx; + else + m->idx = 0; + + menu_refresh_size(cf); +} + +static struct cfdisk_menu *menu_push( + struct cfdisk *cf, + struct cfdisk_menuitem *items) +{ + struct cfdisk_menu *m = xcalloc(1, sizeof(*m)); + struct cfdisk_menuitem *d; + + assert(cf); + + DBG(MENU, ul_debug("new menu")); + + m->prev = cf->menu; + m->items = items; + + for (d = m->items; d->name; d++) { + const char *name = _(d->name); + size_t len = mbs_safe_width(name); + if (len > m->width) + m->width = len; + m->nitems++; + } + + cf->menu = m; + + menu_refresh_size(cf); + return m; +} + +static struct cfdisk_menu *menu_pop(struct cfdisk *cf) +{ + struct cfdisk_menu *m = NULL; + + assert(cf); + + DBG(MENU, ul_debug("pop menu")); + + if (cf->menu) { + m = cf->menu->prev; + free(cf->menu->ignore); + free(cf->menu->title); + free(cf->menu); + } + cf->menu = m; + return cf->menu; +} + +static void menu_set_title(struct cfdisk_menu *m, const char *title) +{ + char *str = NULL; + + if (title) { + size_t len = mbs_safe_width(title); + if (len + MENU_TITLE_PADDING > m->width) + m->width = len + MENU_TITLE_PADDING; + str = xstrdup(title); + } + m->title = str; +} + + +static int ui_init(struct cfdisk *cf __attribute__((__unused__))) +{ + struct sigaction sa; + + DBG(UI, ul_debug("init")); + + /* setup SIGCHLD handler */ + sigemptyset(&sa.sa_mask); + sa.sa_flags = 0; + sa.sa_handler = sig_handler_die; + sigaction(SIGINT, &sa, NULL); + sigaction(SIGTERM, &sa, NULL); + + sa.sa_handler = sig_handler_resize; + sigaction(SIGWINCH, &sa, NULL); + + ui_enabled = 1; + initscr(); + +#ifdef HAVE_USE_DEFAULT_COLORS + if (colors_wanted() && has_colors()) { + size_t i; + + start_color(); + use_default_colors(); + for (i = 1; i < ARRAY_SIZE(color_pairs); i++) /* yeah, start from 1! */ + init_pair(i, color_pairs[i][0], color_pairs[i][1]); + } +#else + colors_off(); +#endif + + cbreak(); + noecho(); + nonl(); + curs_set(0); + keypad(stdscr, TRUE); + + return 0; +} + +/* "[ string ]" */ +#define MENU_H_ITEMWIDTH(m) ( MENU_H_PRESTR_SZ \ + + MENU_H_SPADDING \ + + (m)->width \ + + MENU_H_SPADDING \ + + MENU_H_POSTSTR_SZ) + +#define MENU_V_ITEMWIDTH(m) (MENU_V_SPADDING + (m)->width + MENU_V_SPADDING) + + +static size_t menuitem_get_line(struct cfdisk *cf, size_t idx) +{ + struct cfdisk_menu *m = cf->menu; + + if (m->vertical) { + if (!m->page_sz) /* small menu */ + return (ui_lines - (cf->menu->nitems + 1)) / 2 + idx; + return (idx % m->page_sz) + 1; + } else { + size_t len = MENU_H_ITEMWIDTH(m) + MENU_H_BETWEEN; /** item width */ + size_t items = ui_cols / len; /* items per line */ + + if (items == 0) + return 0; + return MENU_START_LINE + ((idx / items)); + } +} + +static int menuitem_get_column(struct cfdisk *cf, size_t idx) +{ + if (cf->menu->vertical) { + size_t nc = MENU_V_ITEMWIDTH(cf->menu); + if ((size_t) ui_cols <= nc) + return 0; + return (ui_cols - nc) / 2; + } else { + size_t len = MENU_H_ITEMWIDTH(cf->menu) + MENU_H_BETWEEN; /* item width */ + size_t items = ui_cols / len; /* items per line */ + size_t extra = items < cf->menu->nitems ? /* extra space on line */ + ui_cols % len : /* - multi-line menu */ + ui_cols - (cf->menu->nitems * len); /* - one line menu */ + + if (items == 0) + return 0; /* hmm... no space */ + + extra += MENU_H_BETWEEN; /* add padding after last item to extra */ + + if (idx < items) + return (idx * len) + (extra / 2); + return ((idx % items) * len) + (extra / 2); + } +} + +static int menuitem_on_page(struct cfdisk *cf, size_t idx) +{ + struct cfdisk_menu *m = cf->menu; + + if (m->page_sz == 0 || + m->idx / m->page_sz == idx / m->page_sz) + return 1; + return 0; +} + +static struct cfdisk_menuitem *menu_get_menuitem(struct cfdisk *cf, size_t idx) +{ + struct cfdisk_menuitem *d; + size_t i; + + for (i = 0, d = cf->menu->items; d->name; d++) { + if (cf->menu->ignore && strchr(cf->menu->ignore, d->key)) + continue; + if (i++ == idx) + return d; + } + + return NULL; +} + +static struct cfdisk_menuitem *menu_get_menuitem_by_key(struct cfdisk *cf, + int key, size_t *idx) +{ + struct cfdisk_menuitem *d; + + for (*idx = 0, d = cf->menu->items; d->name; d++) { + if (cf->menu->ignore && strchr(cf->menu->ignore, d->key)) + continue; + if (key == d->key) + return d; + (*idx)++; + } + + return NULL; +} + +static void ui_draw_menuitem(struct cfdisk *cf, + struct cfdisk_menuitem *d, + size_t idx) +{ + char *buf, *ptr; + const char *name; + size_t width; + const size_t buf_sz = 80 * MB_CUR_MAX; + int ln, cl, vert = cf->menu->vertical; + + if (!menuitem_on_page(cf, idx)) + return; /* no visible item */ + ln = menuitem_get_line(cf, idx); + cl = menuitem_get_column(cf, idx); + + ptr = buf = xmalloc(buf_sz); + /* string width */ + if (vert) { + width = cf->menu->width + MENU_V_SPADDING; + memset(ptr, ' ', MENU_V_SPADDING); + ptr += MENU_V_SPADDING; + } else + width = MENU_H_SPADDING + cf->menu->width + MENU_H_SPADDING; + + name = _(d->name); + mbsalign(name, ptr, buf_sz, &width, + vert ? MBS_ALIGN_LEFT : MBS_ALIGN_CENTER, + 0); + + DBG(MENU, ul_debug("menuitem: cl=%d, ln=%d, item='%s'", + cl, ln, buf)); + + if (vert) { + mvaddch(ln, cl - 1, ACS_VLINE); + mvaddch(ln, cl + MENU_V_ITEMWIDTH(cf->menu), ACS_VLINE); + } + + if (cf->menu->idx == idx) + standout(); + + if (vert) + mvprintw(ln, cl, "%s", buf); + else + mvprintw(ln, cl, "%s%s%s", MENU_H_PRESTR, buf, MENU_H_POSTSTR); + free(buf); + + if (cf->menu->idx == idx) { + standend(); + if (d->desc) + ui_hint(_(d->desc)); + } +} + +static void ui_clean_menu(struct cfdisk *cf) +{ + size_t i; + size_t lastline; + struct cfdisk_menu *m = cf->menu; + size_t ln = menuitem_get_line(cf, 0); + + if (m->vertical) + lastline = ln + (m->page_sz ? m->page_sz : m->nitems); + else + lastline = menuitem_get_line(cf, m->nitems); + + for (i = ln; i <= lastline; i++) { + move(i, 0); + clrtoeol(); + DBG(MENU, ul_debug("clean_menu: line %zu", i)); + } + if (m->vertical) { + move(ln - 1, 0); + clrtoeol(); + } + ui_clean_hint(); +} + +static void ui_draw_menu(struct cfdisk *cf) +{ + struct cfdisk_menuitem *d; + struct cfdisk_menu *m; + size_t i = 0; + size_t ln = menuitem_get_line(cf, 0); + size_t nlines; + + assert(cf); + assert(cf->menu); + + DBG(MENU, ul_debug("draw start")); + + ui_clean_menu(cf); + m = cf->menu; + + if (m->vertical) + nlines = m->page_sz ? m->page_sz : m->nitems; + else + nlines = menuitem_get_line(cf, m->nitems); + + if (m->ignore_cb) + menu_update_ignore(cf); + i = 0; + while ((d = menu_get_menuitem(cf, i))) + ui_draw_menuitem(cf, d, i++); + + if (m->vertical) { + size_t cl = menuitem_get_column(cf, 0); + size_t curpg = m->page_sz ? m->idx / m->page_sz : 0; + + /* corners and horizontal lines */ + mvaddch(ln - 1, cl - 1, ACS_ULCORNER); + mvaddch(ln + nlines, cl - 1, ACS_LLCORNER); + + for (i = 0; i < MENU_V_ITEMWIDTH(m); i++) { + mvaddch(ln - 1, cl + i, ACS_HLINE); + mvaddch(ln + nlines, cl + i, ACS_HLINE); + } + + mvaddch(ln - 1, cl + i, ACS_URCORNER); + mvaddch(ln + nlines, cl + i, ACS_LRCORNER); + + /* draw also lines around empty lines on last page */ + if (m->page_sz && + m->nitems / m->page_sz == m->idx / m->page_sz) { + for (i = m->nitems % m->page_sz + 1; i <= m->page_sz; i++) { + mvaddch(i, cl - 1, ACS_VLINE); + mvaddch(i, cl + MENU_V_ITEMWIDTH(m), ACS_VLINE); + } + } + if (m->title) { + attron(A_BOLD); + mvprintw(ln - 1, cl, " %s ", m->title); + attroff(A_BOLD); + } + if (curpg != 0) + mvaddch(ln - 1, cl + MENU_V_ITEMWIDTH(m) - 2, ACS_UARROW); + if (m->page_sz && curpg < m->nitems / m->page_sz) + mvaddch(ln + nlines, cl + MENU_V_ITEMWIDTH(m) - 2, ACS_DARROW); + } + + DBG(MENU, ul_debug("draw end.")); +} + +inline static int extra_insert_pair(struct cfdisk_line *l, const char *name, const char *data) +{ + struct libscols_line *lsl; + int rc; + + assert(l); + assert(l->extra); + + if (!data || !*data) + return 0; + + lsl = scols_table_new_line(l->extra, NULL); + if (!lsl) + return -ENOMEM; + + rc = scols_line_set_data(lsl, 0, name); + if (!rc) + rc = scols_line_set_data(lsl, 1, data); + + return rc; +} + +#ifndef HAVE_LIBMOUNT +static char *get_mountpoint( struct cfdisk *cf __attribute__((unused)), + const char *tagname __attribute__((unused)), + const char *tagdata __attribute__((unused))) +{ + return NULL; +} +#else +static char *get_mountpoint(struct cfdisk *cf, const char *tagname, const char *tagdata) +{ + struct libmnt_fs *fs = NULL; + char *target = NULL; + int mounted = 0; + + assert(tagname); + assert(tagdata); + + DBG(UI, ul_debug("asking for mountpoint [%s=%s]", tagname, tagdata)); + + if (!cf->mntcache) + cf->mntcache = mnt_new_cache(); + + /* 1st try between mounted filesystems */ + if (!cf->mtab) { + cf->mtab = mnt_new_table(); + if (cf->mtab) { + mnt_table_set_cache(cf->mtab, cf->mntcache); + mnt_table_parse_mtab(cf->mtab, NULL); + } + } + + if (cf->mtab) + fs = mnt_table_find_tag(cf->mtab, tagname, tagdata, MNT_ITER_FORWARD); + + /* 2nd try fstab */ + if (!fs) { + if (!cf->fstab) { + cf->fstab = mnt_new_table(); + if (cf->fstab) { + mnt_table_set_cache(cf->fstab, cf->mntcache); + mnt_table_parse_fstab(cf->fstab, NULL); + } + } + if (cf->fstab) + fs = mnt_table_find_tag(cf->fstab, tagname, tagdata, MNT_ITER_FORWARD); + } else + mounted = 1; + + if (fs) { + if (mounted) + xasprintf(&target, _("%s (mounted)"), mnt_fs_get_target(fs)); + else + target = xstrdup(mnt_fs_get_target(fs)); + } + + return target; +} +#endif /* HAVE_LIBMOUNT */ + +static void extra_prepare_data(struct cfdisk *cf) +{ + struct fdisk_partition *pa = get_current_partition(cf); + struct cfdisk_line *l = &cf->lines[cf->lines_idx]; + char *data = NULL; + char *mountpoint = NULL; + + DBG(UI, ul_debug("preparing extra data")); + + /* string data should not equal an empty string */ + if (!fdisk_partition_to_string(pa, cf->cxt, FDISK_FIELD_NAME, &data) && data) { + extra_insert_pair(l, _("Partition name:"), data); + if (!mountpoint) + mountpoint = get_mountpoint(cf, "PARTLABEL", data); + free(data); + } + + if (!fdisk_partition_to_string(pa, cf->cxt, FDISK_FIELD_UUID, &data) && data) { + extra_insert_pair(l, _("Partition UUID:"), data); + if (!mountpoint) + mountpoint = get_mountpoint(cf, "PARTUUID", data); + free(data); + } + + if (!fdisk_partition_to_string(pa, cf->cxt, FDISK_FIELD_TYPE, &data) && data) { + char *code = NULL, *type = NULL; + + fdisk_partition_to_string(pa, cf->cxt, FDISK_FIELD_TYPEID, &code); + xasprintf(&type, "%s (%s)", data, code); + + extra_insert_pair(l, _("Partition type:"), type); + free(data); + free(code); + free(type); + } + + if (!fdisk_partition_to_string(pa, cf->cxt, FDISK_FIELD_ATTR, &data) && data) { + extra_insert_pair(l, _("Attributes:"), data); + free(data); + } + + /* for numeric data, only show non-zero rows */ + if (!fdisk_partition_to_string(pa, cf->cxt, FDISK_FIELD_BSIZE, &data) && data) { + if (atoi(data)) + extra_insert_pair(l, "BSIZE:", data); + free(data); + } + + if (!fdisk_partition_to_string(pa, cf->cxt, FDISK_FIELD_CPG, &data) && data) { + if (atoi(data)) + extra_insert_pair(l, "CPG:", data); + free(data); + } + + if (!fdisk_partition_to_string(pa, cf->cxt, FDISK_FIELD_FSIZE, &data) && data) { + if (atoi(data)) + extra_insert_pair(l, "FSIZE:", data); + free(data); + } + + if (!fdisk_partition_to_string(pa, cf->cxt, FDISK_FIELD_FSUUID, &data) && data) { + extra_insert_pair(l, _("Filesystem UUID:"), data); + if (!mountpoint) + mountpoint = get_mountpoint(cf, "UUID", data); + free(data); + } + + if (!fdisk_partition_to_string(pa, cf->cxt, FDISK_FIELD_FSLABEL, &data) && data) { + extra_insert_pair(l, _("Filesystem LABEL:"), data); + if (!mountpoint) + mountpoint = get_mountpoint(cf, "LABEL", data); + free(data); + } + if (!fdisk_partition_to_string(pa, cf->cxt, FDISK_FIELD_FSTYPE, &data) && data) { + extra_insert_pair(l, _("Filesystem:"), data); + free(data); + } + + if (mountpoint) { + extra_insert_pair(l, _("Mountpoint:"), mountpoint); + free(mountpoint); + } +} + +static int ui_draw_extra(struct cfdisk *cf) +{ + WINDOW *win_ex; + int wline = 1; + struct cfdisk_line *ln = &cf->lines[cf->lines_idx]; + char *tbstr = NULL, *end; + int win_ex_start_line, win_height, tblen; + int ndatalines; + + if (!cf->show_extra) + return 0; + + DBG(UI, ul_debug("draw extra")); + + assert(ln->extra); + + if (cf->act_win) { + wclear(cf->act_win); + touchwin(stdscr); + } + + if (scols_table_is_empty(ln->extra)) { + extra_prepare_data(cf); + if (scols_table_is_empty(ln->extra)) + return 0; + } + + ndatalines = fdisk_table_get_nents(cf->table) + 1; + + /* nents + header + one free line */ + win_ex_start_line = TABLE_START_LINE + ndatalines; + win_height = MENU_START_LINE - win_ex_start_line; + tblen = scols_table_get_nlines(ln->extra); + + /* we can't get a single line of data under the partlist*/ + if (win_height < 3) + return 1; + + /* number of data lines + 2 for top/bottom lines */ + win_height = win_height < tblen + 2 ? win_height : tblen + 2; + + if ((size_t) win_ex_start_line + win_height + 1 < MENU_START_LINE) + win_ex_start_line = MENU_START_LINE - win_height; + + win_ex = subwin(stdscr, win_height, ui_cols - 2, win_ex_start_line, 1); + + scols_table_reduce_termwidth(ln->extra, 4); + scols_print_table_to_string(ln->extra, &tbstr); + + end = tbstr; + while ((end = strchr(end, '\n'))) + *end++ = '\0'; + + box(win_ex, 0, 0); + + end = tbstr; + while (--win_height > 1) { + mvwaddstr(win_ex, wline++, 1 /* window column*/, tbstr); + tbstr += strlen(tbstr) + 1; + } + free(end); + + if (ln->w) + delwin(ln->w); + + DBG(UI, ul_debug("draw window: %p", win_ex)); + touchwin(stdscr); + wrefresh(win_ex); + + cf->act_win = ln->w = win_ex; + return 0; +} + +static void ui_menu_goto(struct cfdisk *cf, int where) +{ + struct cfdisk_menuitem *d; + size_t old; + + /* stop and begin/end for vertical menus */ + if (cf->menu->vertical) { + if (where < 0) + where = 0; + else if (where > (int) cf->menu->nitems - 1) + where = cf->menu->nitems - 1; + } else { + /* continue from begin/end */ + if (where < 0) + where = cf->menu->nitems - 1; + else if ((size_t) where > cf->menu->nitems - 1) + where = 0; + } + if ((size_t) where == cf->menu->idx) + return; + + ui_clean_info(); + + old = cf->menu->idx; + cf->menu->idx = where; + + if (!menuitem_on_page(cf, old)) { + ui_draw_menu(cf); + return; + } + + d = menu_get_menuitem(cf, old); + ui_draw_menuitem(cf, d, old); + + d = menu_get_menuitem(cf, where); + ui_draw_menuitem(cf, d, where); + +} + +static int ui_menu_move(struct cfdisk *cf, int key) +{ + struct cfdisk_menu *m; + + assert(cf); + assert(cf->menu); + + if (key == (int) ERR) + return 0; /* ignore errors */ + + m = cf->menu; + + DBG(MENU, ul_debug("menu move key >%c<.", key)); + + if (m->vertical) + { + switch (key) { + case KEY_DOWN: + case '\016': /* ^N */ + case 'j': /* Vi-like alternative */ + ui_menu_goto(cf, m->idx + 1); + return 0; + case KEY_UP: + case '\020': /* ^P */ + case 'k': /* Vi-like alternative */ + ui_menu_goto(cf, (int) m->idx - 1); + return 0; + case KEY_PPAGE: + if (m->page_sz) { + ui_menu_goto(cf, (int) m->idx - m->page_sz); + return 0; + } + /* fallthrough */ + case KEY_HOME: + ui_menu_goto(cf, 0); + return 0; + case KEY_NPAGE: + if (m->page_sz) { + ui_menu_goto(cf, m->idx + m->page_sz); + return 0; + } + /* fallthrough */ + case KEY_END: + ui_menu_goto(cf, m->nitems); + return 0; + } + } else { + switch (key) { + case KEY_RIGHT: + case '\t': + ui_menu_goto(cf, m->idx + 1); + return 0; + case KEY_LEFT: +#ifdef KEY_BTAB + case KEY_BTAB: +#endif + ui_menu_goto(cf, (int) m->idx - 1); + return 0; + } + } + + if (key == '\014') { /* ^L refresh */ + ui_menu_resize(cf); + return 0; + } + + DBG(MENU, ul_debug(" no menu move key")); + return 1; +} + +/* but don't call me from ui_run(), this is for pop-up menus only */ +static void ui_menu_resize(struct cfdisk *cf) +{ + DBG(MENU, ul_debug("menu resize/refresh")); + resize(); + ui_clean_menu(cf); + menu_refresh_size(cf); + ui_draw_menu(cf); + refresh(); +} + +static int partition_on_page(struct cfdisk *cf, size_t i) +{ + if (cf->page_sz == 0 || + cf->lines_idx / cf->page_sz == i / cf->page_sz) + return 1; + return 0; +} + +static void ui_draw_partition(struct cfdisk *cf, size_t i) +{ + int ln = TABLE_START_LINE + 1 + i; /* skip table header */ + int cl = ARROW_CURSOR_WIDTH; /* we need extra space for cursor */ + int cur = cf->lines_idx == i; + size_t curpg = 0; + + if (cf->page_sz) { + if (!partition_on_page(cf, i)) + return; + ln = TABLE_START_LINE + (i % cf->page_sz) + 1; + curpg = cf->lines_idx / cf->page_sz; + } + + DBG(UI, ul_debug( + "draw partition %zu [page_sz=%zu, " + "line=%d, idx=%zu]", + i, cf->page_sz, ln, cf->lines_idx)); + + if (cur) { + attron(A_REVERSE); + mvaddstr(ln, 0, ARROW_CURSOR_STRING); + mvaddstr(ln, cl, cf->lines[i + 1].data); + attroff(A_REVERSE); + } else { + int at = 0; + + if (colors_wanted() && is_freespace(cf, i)) { + attron(COLOR_PAIR(CFDISK_CL_FREESPACE)); + at = 1; + } + mvaddstr(ln, 0, ARROW_CURSOR_DUMMY); + mvaddstr(ln, cl, cf->lines[i + 1].data); + if (at) + attroff(COLOR_PAIR(CFDISK_CL_FREESPACE)); + } + + if ((size_t) ln == MENU_START_LINE - 1 && + cf->page_sz && curpg < cf->nlines / cf->page_sz) { + if (cur) + attron(A_REVERSE); + mvaddch(ln, ui_cols - 1, ACS_DARROW); + mvaddch(ln, 0, ACS_DARROW); + if (cur) + attroff(A_REVERSE); + } + +} + +static int ui_draw_table(struct cfdisk *cf) +{ + int cl = ARROW_CURSOR_WIDTH; + size_t i, nparts = fdisk_table_get_nents(cf->table); + size_t curpg = cf->page_sz ? cf->lines_idx / cf->page_sz : 0; + + DBG(UI, ul_debug("draw table")); + + for (i = TABLE_START_LINE; i <= TABLE_START_LINE + cf->page_sz; i++) { + move(i, 0); + clrtoeol(); + } + + if (nparts == 0 || (size_t) cf->lines_idx > nparts - 1) + cf->lines_idx = nparts ? nparts - 1 : 0; + + /* print header */ + attron(A_BOLD); + mvaddstr(TABLE_START_LINE, cl, cf->lines[0].data); + attroff(A_BOLD); + + /* print partitions */ + for (i = 0; i < nparts; i++) + ui_draw_partition(cf, i); + + if (curpg != 0) { + mvaddch(TABLE_START_LINE, ui_cols - 1, ACS_UARROW); + mvaddch(TABLE_START_LINE, 0, ACS_UARROW); + } + if (cf->page_sz && curpg < cf->nlines / cf->page_sz) { + mvaddch(MENU_START_LINE - 1, ui_cols - 1, ACS_DARROW); + mvaddch(MENU_START_LINE - 1, 0, ACS_DARROW); + } + return 0; +} + +static int ui_table_goto(struct cfdisk *cf, int where) +{ + size_t old; + size_t nparts = fdisk_table_get_nents(cf->table); + + DBG(UI, ul_debug("goto table %d", where)); + + if (where < 0) + where = 0; + else if ((size_t) where > nparts - 1) + where = nparts - 1; + + if ((size_t) where == cf->lines_idx) + return 0; + + old = cf->lines_idx; + cf->lines_idx = where; + + if (!partition_on_page(cf, old) ||!partition_on_page(cf, where)) + ui_draw_table(cf); + else { + ui_draw_partition(cf, old); /* cleanup old */ + ui_draw_partition(cf, where); /* draw new */ + } + ui_clean_info(); + ui_draw_menu(cf); + ui_draw_extra(cf); + refresh(); + + return 0; +} + +static int ui_refresh(struct cfdisk *cf) +{ + struct fdisk_label *lb; + char *id = NULL; + uint64_t bytes = fdisk_get_nsectors(cf->cxt) * fdisk_get_sector_size(cf->cxt); + char *strsz; + + if (!ui_enabled) + return -EINVAL; + + strsz = size_to_human_string(SIZE_SUFFIX_SPACE + | SIZE_SUFFIX_3LETTER, bytes); + + lb = fdisk_get_label(cf->cxt, NULL); + assert(lb); + + clear(); + + /* header */ + attron(A_BOLD); + ui_center(0, _("Disk: %s"), fdisk_get_devname(cf->cxt)); + attroff(A_BOLD); + ui_center(1, _("Size: %s, %"PRIu64" bytes, %ju sectors"), + strsz, bytes, (uintmax_t) fdisk_get_nsectors(cf->cxt)); + if (fdisk_get_disklabel_id(cf->cxt, &id) == 0 && id) + ui_center(2, _("Label: %s, identifier: %s"), + fdisk_label_get_name(lb), id); + else + ui_center(2, _("Label: %s"), fdisk_label_get_name(lb)); + free(strsz); + + ui_draw_table(cf); + ui_draw_menu(cf); + refresh(); + return 0; +} + +static ssize_t ui_get_string(const char *prompt, + const char *hint, char *buf, size_t len) +{ + int ln = MENU_START_LINE, cl = 1; + ssize_t rc = -1; + struct mbs_editor *edit; + + DBG(UI, ul_debug("ui get string")); + + assert(buf); + assert(len); + + move(ln, 0); + clrtoeol(); + + move(ln + 1, 0); + clrtoeol(); + + if (prompt) { + mvaddstr(ln, cl, prompt); + cl += mbs_safe_width(prompt); + } + + edit = mbs_new_edit(buf, len, ui_cols - cl); + if (!edit) + goto done; + + mbs_edit_goto(edit, MBS_EDIT_END); + + if (hint) + ui_hint(hint); + else + ui_clean_hint(); + + curs_set(1); + + while (!sig_die) { + wint_t c; /* we have fallback in widechar.h */ + + move(ln, cl); + clrtoeol(); + mvaddstr(ln, cl, edit->buf); + move(ln, cl + edit->cursor_cells); + refresh(); + +#if !defined(HAVE_SLCURSES_H) && !defined(HAVE_SLANG_SLCURSES_H) && \ + defined(HAVE_LIBNCURSESW) && defined(HAVE_WIDECHAR) + if (get_wch(&c) == ERR) { +#else + if ((c = getch()) == (wint_t) ERR) { +#endif + if (sig_die) + break; + if (sig_resize) { + resize(); + continue; + } + if (!isatty(STDIN_FILENO)) + exit(2); + else + goto done; + } + + DBG(UI, ul_debug("ui get string: key=%lc", c)); + + if (c == '\r' || c == '\n' || c == KEY_ENTER) + break; + + rc = 1; + + switch (c) { + case KEY_ESC: + rc = -CFDISK_ERR_ESC; + goto done; + case KEY_LEFT: + rc = mbs_edit_goto(edit, MBS_EDIT_LEFT); + break; + case KEY_RIGHT: + rc = mbs_edit_goto(edit, MBS_EDIT_RIGHT); + break; + case KEY_END: + rc = mbs_edit_goto(edit, MBS_EDIT_END); + break; + case KEY_HOME: + rc = mbs_edit_goto(edit, MBS_EDIT_HOME); + break; + case KEY_UP: + case KEY_DOWN: + break; + case KEY_DC: + rc = mbs_edit_delete(edit); + break; + case '\b': + case KEY_DELETE: + case KEY_BACKSPACE: + rc = mbs_edit_backspace(edit); + break; + default: + rc = mbs_edit_insert(edit, c); + break; + } + if (rc == 1) + beep(); + } + + if (sig_die) + die_on_signal(); + + rc = strlen(edit->buf); /* success */ +done: + move(ln, 0); + clrtoeol(); + curs_set(0); + refresh(); + mbs_free_edit(edit); + + return rc; +} + +static int ui_get_size(struct cfdisk *cf, /* context */ + const char *prompt, /* UI dialog string */ + uint64_t *res, /* result in bytes */ + uint64_t low, /* minimal size */ + uint64_t up, /* maximal size */ + int *expsize) /* explicitly specified size */ +{ + char buf[128]; + uint64_t user = 0; + ssize_t rc; + char *dflt = size_to_human_string(0, *res); + + DBG(UI, ul_debug("get_size (default=%"PRIu64")", *res)); + + ui_clean_info(); + + snprintf(buf, sizeof(buf), "%s", dflt); + + do { + int pwr = 0, insec = 0; + + rc = ui_get_string(prompt, + _("May be followed by M for MiB, G for GiB, " + "T for TiB, or S for sectors."), + buf, sizeof(buf)); + ui_clean_warn(); + + if (rc == 0) { + ui_warnx(_("Please, specify size.")); + continue; /* nothing specified */ + } else if (rc == -CFDISK_ERR_ESC) + break; /* cancel dialog */ + + if (strcmp(buf, dflt) == 0) + user = *res, rc = 0; /* no change, use default */ + else { + size_t len = strlen(buf); + if (buf[len - 1] == 'S' || buf[len - 1] == 's') { + insec = 1; + buf[len - 1] = '\0'; + } + rc = parse_size(buf, (uintmax_t *)&user, &pwr); /* parse */ + } + + if (rc == 0) { + DBG(UI, ul_debug("get_size user=%"PRIu64", power=%d, in-sectors=%s", + user, pwr, insec ? "yes" : "no")); + if (insec) + user *= fdisk_get_sector_size(cf->cxt); + if (user < low) { + ui_warnx(_("Minimum size is %"PRIu64" bytes."), low); + rc = -ERANGE; + } + if (user > up && pwr && user < up + (1ULL << pwr * 10)) + /* ignore when the user specified size overflow + * with in range specified by suffix (e.g. MiB) */ + user = up; + + if (user > up) { + ui_warnx(_("Maximum size is %"PRIu64" bytes."), up); + rc = -ERANGE; + } + if (rc == 0 && insec && expsize) + *expsize = 1; + + } else + ui_warnx(_("Failed to parse size.")); + } while (rc != 0); + + if (rc == 0) + *res = user; + free(dflt); + + DBG(UI, ul_debug("get_size (result=%"PRIu64", rc=%zd)", *res, rc)); + return rc; +} + +static struct fdisk_parttype *ui_get_parttype(struct cfdisk *cf, + struct fdisk_parttype *cur) +{ + struct cfdisk_menuitem *d, *cm; + size_t i = 0, nitems, idx = 0; + struct fdisk_parttype *t = NULL; + struct fdisk_label *lb; + int codetypes = 0; + + DBG(UI, ul_debug("asking for parttype.")); + + lb = fdisk_get_label(cf->cxt, NULL); + + /* create cfdisk menu according to label types, note that the + * last cm[] item has to be empty -- so nitems + 1 */ + nitems = fdisk_label_get_nparttypes(lb); + if (!nitems) + return NULL; + + cm = xcalloc(nitems + 1, sizeof(struct cfdisk_menuitem)); + if (!cm) + return NULL; + + codetypes = fdisk_label_has_code_parttypes(lb); + + for (i = 0; i < nitems; i++) { + const struct fdisk_parttype *x = fdisk_label_get_parttype(lb, i); + char *name; + + cm[i].userdata = (void *) x; + if (codetypes) + xasprintf(&name, "%2x %s", + fdisk_parttype_get_code(x), + _(fdisk_parttype_get_name(x))); + else { + name = (char *) _(fdisk_parttype_get_name(x)); + cm[i].desc = fdisk_parttype_get_string(x); + } + cm[i].name = name; + if (x == cur) + idx = i; + } + + /* make the new menu active */ + menu_push(cf, cm); + cf->menu->vertical = 1; + cf->menu->idx = idx; + menu_set_title(cf->menu, _("Select partition type")); + ui_draw_menu(cf); + refresh(); + + while (!sig_die) { + int key = getch(); + + if (sig_die) + break; + if (sig_resize) + ui_menu_resize(cf); + if (ui_menu_move(cf, key) == 0) + continue; + + switch (key) { + case KEY_ENTER: + case '\n': + case '\r': + d = menu_get_menuitem(cf, cf->menu->idx); + if (d) + t = (struct fdisk_parttype *) d->userdata; + goto done; + case KEY_ESC: + case 'q': + case 'Q': + goto done; + } + } + + if (sig_die) + die_on_signal(); +done: + menu_pop(cf); + if (codetypes) { + for (i = 0; i < nitems; i++) + free((char *) cm[i].name); + } + free(cm); + DBG(UI, ul_debug("get parrtype done [type=%s] ", t ? + fdisk_parttype_get_name(t) : NULL)); + return t; +} + +static int ui_script_read(struct cfdisk *cf) +{ + struct fdisk_script *sc = NULL; + char buf[PATH_MAX] = { 0 }; + int rc; + + erase(); + rc = ui_get_string( _("Enter script file name: "), + _("The script file will be applied to in-memory partition table."), + buf, sizeof(buf)); + if (rc <= 0) + return rc; + + rc = -1; + errno = 0; + sc = fdisk_new_script_from_file(cf->cxt, buf); + if (!sc && errno) + ui_warn(_("Cannot open %s"), buf); + else if (!sc) + ui_warnx(_("Failed to parse script file %s"), buf); + else if (fdisk_apply_script(cf->cxt, sc) != 0) + ui_warnx(_("Failed to apply script %s"), buf); + else + rc = 0; + + ui_clean_hint(); + fdisk_unref_script(sc); + return rc; +} + +static int ui_script_write(struct cfdisk *cf) +{ + struct fdisk_script *sc = NULL; + char buf[PATH_MAX] = { 0 }; + FILE *f = NULL; + int rc; + + rc = ui_get_string( _("Enter script file name: "), + _("The current in-memory partition table will be dumped to the file."), + buf, sizeof(buf)); + if (rc <= 0) + return rc; + + rc = 0; + sc = fdisk_new_script(cf->cxt); + if (!sc) { + ui_warn(_("Failed to allocate script handler")); + goto done; + } + + rc = fdisk_script_read_context(sc, NULL); + if (rc) { + ui_warnx(_("Failed to read disk layout into script.")); + goto done; + } + + DBG(UI, ul_debug("writing dump into: '%s'", buf)); + f = fopen(buf, "w"); + if (!f) { + ui_warn(_("Cannot open %s"), buf); + rc = -errno; + goto done; + } + + rc = fdisk_script_write_file(sc, f); + if (!rc) + ui_info(_("Disk layout successfully dumped.")); +done: + if (rc) + ui_warn(_("Failed to write script %s"), buf); + if (f) + fclose(f); + fdisk_unref_script(sc); + return rc; +} + +/* prints menu with libfdisk labels and waits for users response */ +static int ui_create_label(struct cfdisk *cf) +{ + struct cfdisk_menuitem *d, *cm; + int rc = 1, refresh_menu = 1; + size_t i = 0, nitems; + struct fdisk_label *lb = NULL; + + assert(cf); + + DBG(UI, ul_debug("asking for new disklabe.")); + + /* create cfdisk menu according to libfdisk labels, note that the + * last cm[] item has to be empty -- so nitems + 1 */ + nitems = fdisk_get_nlabels(cf->cxt); + cm = xcalloc(nitems + 1, sizeof(struct cfdisk_menuitem)); + + while (fdisk_next_label(cf->cxt, &lb) == 0) { + if (fdisk_label_is_disabled(lb) || + fdisk_label_get_type(lb) == FDISK_DISKLABEL_BSD) + continue; + cm[i++].name = fdisk_label_get_name(lb); + } + + erase(); + + /* make the new menu active */ + menu_push(cf, cm); + cf->menu->vertical = 1; + menu_set_title(cf->menu, _("Select label type")); + + if (!cf->zero_start) + ui_info(_("Device does not contain a recognized partition table.")); + + + while (!sig_die) { + int key; + + if (refresh_menu) { + ui_draw_menu(cf); + ui_hint(_("Select a type to create a new label or press 'L' to load script file.")); + refresh(); + refresh_menu = 0; + } + + key = getch(); + + if (sig_die) + break; + if (sig_resize) + ui_menu_resize(cf); + if (ui_menu_move(cf, key) == 0) + continue; + switch (key) { + case KEY_ENTER: + case '\n': + case '\r': + d = menu_get_menuitem(cf, cf->menu->idx); + if (d) + rc = fdisk_create_disklabel(cf->cxt, d->name); + goto done; + case KEY_ESC: + case 'q': + case 'Q': + goto done; + case 'l': + case 'L': + rc = ui_script_read(cf); + if (rc == 0) + goto done; + refresh_menu = 1; + break; + } + } + + if (sig_die) + die_on_signal(); +done: + menu_pop(cf); + free(cm); + DBG(UI, ul_debug("create label done [rc=%d] ", rc)); + return rc; +} + + +static int ui_help(void) +{ + size_t i; + static const char *help[] = { + N_("This is cfdisk, a curses-based disk partitioning program."), + N_("It lets you create, delete, and modify partitions on a block device."), + " ", + N_("Command Meaning"), + N_("------- -------"), + N_(" b Toggle bootable flag of the current partition"), + N_(" d Delete the current partition"), + N_(" h Print this screen"), + N_(" n Create new partition from free space"), + N_(" q Quit program without writing partition table"), + N_(" s Fix partitions order (only when in disarray)"), + N_(" t Change the partition type"), + N_(" u Dump disk layout to sfdisk compatible script file"), + N_(" W Write partition table to disk (you must enter uppercase W);"), + N_(" since this might destroy data on the disk, you must either"), + N_(" confirm or deny the write by entering 'yes' or 'no'"), + N_(" x Display/hide extra information about a partition"), + N_("Up Arrow Move cursor to the previous partition"), + N_("Down Arrow Move cursor to the next partition"), + N_("Left Arrow Move cursor to the previous menu item"), + N_("Right Arrow Move cursor to the next menu item"), + " ", + N_("Note: All of the commands can be entered with either upper or lower"), + N_("case letters (except for Write)."), + " ", + N_("Use lsblk(8) or partx(8) to see more details about the device."), + " ", + " ", + "Copyright (C) 2014-2017 Karel Zak " + }; + + erase(); + for (i = 0; i < ARRAY_SIZE(help); i++) + mvaddstr(i, 1, _(help[i])); + + ui_info(_("Press a key to continue.")); + + getch(); + + if (sig_die) + die_on_signal(); + return 0; +} + +/* TODO: use @sz, now 128bytes */ +static int main_menu_ignore_keys(struct cfdisk *cf, char *ignore, + size_t sz __attribute__((__unused__))) +{ + struct fdisk_partition *pa = get_current_partition(cf); + size_t i = 0; + + if (!pa) + return 0; + if (fdisk_partition_is_freespace(pa)) { + ignore[i++] = 'd'; /* delete */ + ignore[i++] = 't'; /* set type */ + ignore[i++] = 'b'; /* set bootable */ + ignore[i++] = 'r'; /* resize */ + cf->menu->prefkey = 'n'; + } else { + cf->menu->prefkey = 'q'; + ignore[i++] = 'n'; + if (!fdisk_is_label(cf->cxt, DOS) && + !fdisk_is_label(cf->cxt, SGI)) + ignore[i++] = 'b'; + } + + if (!cf->wrong_order) + ignore[i++] = 's'; + + if (fdisk_is_readonly(cf->cxt)) + ignore[i++] = 'W'; + + return i; +} + + +/* returns: error: < 0, success: 0, quit: 1 */ +static int main_menu_action(struct cfdisk *cf, int key) +{ + size_t n; + int ref = 0, rc, org_order = cf->wrong_order; + const char *info = NULL, *warn = NULL; + struct fdisk_partition *pa; + + assert(cf); + assert(cf->cxt); + assert(cf->menu); + + if (key == 0) { + struct cfdisk_menuitem *d = menu_get_menuitem(cf, cf->menu->idx); + if (!d) + return 0; + key = d->key; + + } else if (key != 'w' && key != 'W') + key = tolower(key); /* case insensitive except 'W'rite */ + + DBG(MENU, ul_debug("main menu action: key=%c", key)); + + if (cf->menu->ignore && strchr(cf->menu->ignore, key)) { + DBG(MENU, ul_debug(" ignore '%c'", key)); + return 0; + } + + pa = get_current_partition(cf); + if (!pa) + return -EINVAL; + n = fdisk_partition_get_partno(pa); + + DBG(MENU, ul_debug("menu action on %p", pa)); + ui_clean_hint(); + ui_clean_info(); + + switch (key) { + case 'b': /* Bootable flag */ + { + int fl = fdisk_is_label(cf->cxt, DOS) ? DOS_FLAG_ACTIVE : + fdisk_is_label(cf->cxt, SGI) ? SGI_FLAG_BOOT : 0; + + if (fl && fdisk_toggle_partition_flag(cf->cxt, n, fl)) + warn = _("Could not toggle the flag."); + else if (fl) + ref = 1; + break; + } +#ifdef KEY_DC + case KEY_DC: +#endif + case 'd': /* Delete */ + if (fdisk_delete_partition(cf->cxt, n) != 0) + warn = _("Could not delete partition %zu."); + else + info = _("Partition %zu has been deleted."); + ref = 1; + break; + case 'h': /* Help */ + case '?': + ui_help(); + ref = 1; + break; + case 'n': /* New */ + { + uint64_t start, size, dflt_size, secs, max_size; + struct fdisk_partition *npa; /* the new partition */ + int expsize = 0; /* size specified explicitly in sectors */ + + if (!fdisk_partition_is_freespace(pa) || !fdisk_partition_has_start(pa)) + return -EINVAL; + + /* free space range */ + start = fdisk_partition_get_start(pa); + size = max_size = dflt_size = fdisk_partition_get_size(pa) * fdisk_get_sector_size(cf->cxt); + + if (ui_get_size(cf, _("Partition size: "), &size, + fdisk_get_sector_size(cf->cxt), + max_size, &expsize) == -CFDISK_ERR_ESC) + break; + + secs = size / fdisk_get_sector_size(cf->cxt); + + npa = fdisk_new_partition(); + if (!npa) + return -ENOMEM; + + if (dflt_size == size) /* default is to fillin all free space */ + fdisk_partition_end_follow_default(npa, 1); + else + fdisk_partition_set_size(npa, secs); + + if (expsize) + fdisk_partition_size_explicit(pa, 1); + + fdisk_partition_set_start(npa, start); + fdisk_partition_partno_follow_default(npa, 1); + /* add to disk label -- libfdisk will ask for missing details */ + rc = fdisk_add_partition(cf->cxt, npa, NULL); + fdisk_unref_partition(npa); + if (rc == 0) + ref = 1; + break; + } + case 'q': /* Quit */ + return 1; + case 't': /* Type */ + { + struct fdisk_parttype *t; + + if (fdisk_partition_is_freespace(pa)) + return -EINVAL; + t = (struct fdisk_parttype *) fdisk_partition_get_type(pa); + t = ui_get_parttype(cf, t); + ref = 1; + + if (t && fdisk_set_partition_type(cf->cxt, n, t) == 0) + info = _("Changed type of partition %zu."); + else + info = _("The type of partition %zu is unchanged."); + break; + } + case 'r': /* resize */ + { + struct fdisk_partition *npa, *next; + uint64_t size, max_size, secs; + + if (fdisk_partition_is_freespace(pa) || !fdisk_partition_has_start(pa)) + return -EINVAL; + + size = fdisk_partition_get_size(pa); + + /* is the next freespace? */ + next = fdisk_table_get_partition(cf->table, cf->lines_idx + 1); + if (next && fdisk_partition_is_freespace(next)) + size += fdisk_partition_get_size(next); + + size *= fdisk_get_sector_size(cf->cxt); + max_size = size; + + if (ui_get_size(cf, _("New size: "), &size, + fdisk_get_sector_size(cf->cxt), + max_size, NULL) == -CFDISK_ERR_ESC) + break; + secs = size / fdisk_get_sector_size(cf->cxt); + npa = fdisk_new_partition(); + if (!npa) + return -ENOMEM; + + fdisk_partition_set_size(npa, secs); + + rc = fdisk_set_partition(cf->cxt, n, npa); + fdisk_unref_partition(npa); + if (rc == 0) { + ref = 1; + info = _("Partition %zu resized."); + } + break; + } + case 's': /* Sort */ + if (cf->wrong_order) { + fdisk_reorder_partitions(cf->cxt); + ref = 1; + } + break; + case 'u': /* dUmp */ + ui_script_write(cf); + break; + case 'W': /* Write */ + { + char buf[64] = { 0 }; + + if (fdisk_is_readonly(cf->cxt)) { + warn = _("Device is open in read-only mode."); + break; + } + + rc = ui_get_string( + _("Are you sure you want to write the partition " + "table to disk? "), + _("Type \"yes\" or \"no\", or press ESC to leave this dialog."), + buf, sizeof(buf)); + + ref = 1; + if (rc <= 0 || (strcasecmp(buf, "yes") != 0 && + strcasecmp(buf, _("yes")) != 0)) { + info = _("Did not write partition table to disk."); + break; + } + rc = fdisk_write_disklabel(cf->cxt); + if (rc) + warn = _("Failed to write disklabel."); + else { + if (cf->device_is_used) + fdisk_reread_changes(cf->cxt, cf->original_layout); + else + fdisk_reread_partition_table(cf->cxt); + info = _("The partition table has been altered."); + } + cf->nwrites++; + break; + } + default: + break; + } + + if (ref) { + lines_refresh(cf); + ui_refresh(cf); + ui_draw_extra(cf); + } else + ui_draw_menu(cf); + + ui_clean_hint(); + + if (warn) + ui_warnx(warn, n + 1); + else if (info) + ui_info(info, n + 1); + else if (key == 'n' && cf->wrong_order && org_order == 0) + ui_info(_("Note that partition table entries are not in disk order now.")); + + return 0; +} + +static void ui_resize_refresh(struct cfdisk *cf) +{ + DBG(UI, ul_debug("ui resize/refresh")); + resize(); + menu_refresh_size(cf); + lines_refresh(cf); + ui_refresh(cf); + ui_draw_extra(cf); +} + +static void toggle_show_extra(struct cfdisk *cf) +{ + if (cf->show_extra && cf->act_win) { + wclear(cf->act_win); + touchwin(stdscr); + } + cf->show_extra = cf->show_extra ? 0 : 1; + + if (cf->show_extra) + ui_draw_extra(cf); + DBG(MENU, ul_debug("extra: %s", cf->show_extra ? "ENABLED" : "DISABLED" )); +} + +static int ui_run(struct cfdisk *cf) +{ + int rc = 0; + + ui_lines = LINES; + ui_cols = COLS; + DBG(UI, ul_debug("start cols=%zu, lines=%zu", ui_cols, ui_lines)); + + if (fdisk_get_collision(cf->cxt)) { + ui_warnx(_("Device already contains a %s signature; it will be removed by a write command."), + fdisk_get_collision(cf->cxt)); + fdisk_enable_wipe(cf->cxt, 1); + ui_hint(_("Press a key to continue.")); + getch(); + } + + if (!fdisk_has_label(cf->cxt) || cf->zero_start) { + rc = ui_create_label(cf); + if (rc < 0) + ui_errx(EXIT_FAILURE, + _("failed to create a new disklabel")); + if (rc) + return rc; + } + + cols_init(cf); + rc = lines_refresh(cf); + if (rc) + ui_errx(EXIT_FAILURE, _("failed to read partitions")); + + menu_push(cf, main_menuitems); + cf->menu->ignore_cb = main_menu_ignore_keys; + + rc = ui_refresh(cf); + if (rc) + return rc; + + cf->show_extra = 1; + ui_draw_extra(cf); + + if (fdisk_is_readonly(cf->cxt)) + ui_warnx(_("Device is open in read-only mode.")); + else if (cf->wrong_order) + ui_info(_("Note that partition table entries are not in disk order now.")); + + while (!sig_die) { + int key = getch(); + + rc = 0; + + if (sig_die) + break; + if (sig_resize) + /* Note that ncurses getch() returns ERR when interrupted + * by signal, but SLang does not interrupt at all. */ + ui_resize_refresh(cf); + if (key == ERR) + continue; + if (key == '\014') { /* ^L refresh */ + ui_resize_refresh(cf); + continue; + } + if (ui_menu_move(cf, key) == 0) + continue; + + DBG(UI, ul_debug("main action key >%1$c< [\\0%1$o].", key)); + + switch (key) { + case KEY_DOWN: + case '\016': /* ^N */ + case 'j': /* Vi-like alternative */ + ui_table_goto(cf, cf->lines_idx + 1); + break; + case KEY_UP: + case '\020': /* ^P */ + case 'k': /* Vi-like alternative */ + ui_table_goto(cf, (int) cf->lines_idx - 1); + break; + case KEY_PPAGE: + if (cf->page_sz) { + ui_table_goto(cf, (int) cf->lines_idx - cf->page_sz); + break; + } + /* fallthrough */ + case KEY_HOME: + ui_table_goto(cf, 0); + break; + case KEY_NPAGE: + if (cf->page_sz) { + ui_table_goto(cf, cf->lines_idx + cf->page_sz); + break; + } + /* fallthrough */ + case KEY_END: + ui_table_goto(cf, (int) cf->nlines - 1); + break; + case KEY_ENTER: + case '\n': + case '\r': + rc = main_menu_action(cf, 0); + break; + case 'X': + case 'x': /* Extra */ + toggle_show_extra(cf); + break; + default: + rc = main_menu_action(cf, key); + if (rc < 0) + beep(); + break; + } + + if (rc == 1) + break; /* quit */ + } + + menu_pop(cf); + + DBG(UI, ul_debug("end")); + return 0; +} + +static void __attribute__((__noreturn__)) usage(void) +{ + FILE *out = stdout; + fputs(USAGE_HEADER, out); + fprintf(out, + _(" %1$s [options] \n"), program_invocation_short_name); + + fputs(USAGE_SEPARATOR, out); + fputs(_("Display or manipulate a disk partition table.\n"), out); + + fputs(USAGE_OPTIONS, out); + fputs(_(" -L, --color[=] colorize output (auto, always or never)\n"), out); + fprintf(out, + " %s\n", USAGE_COLORS_DEFAULT); + fputs(_(" -z, --zero start with zeroed partition table\n"), out); + + fputs(USAGE_SEPARATOR, out); + printf(USAGE_HELP_OPTIONS(26)); + + printf(USAGE_MAN_TAIL("cfdisk(8)")); + exit(EXIT_SUCCESS); +} + +int main(int argc, char *argv[]) +{ + const char *diskpath = NULL; + int rc, c, colormode = UL_COLORMODE_UNDEF; + struct cfdisk _cf = { .lines_idx = 0 }, + *cf = &_cf; + + static const struct option longopts[] = { + { "color", optional_argument, NULL, 'L' }, + { "help", no_argument, NULL, 'h' }, + { "version", no_argument, NULL, 'V' }, + { "zero", no_argument, NULL, 'z' }, + { NULL, 0, NULL, 0 }, + }; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + while((c = getopt_long(argc, argv, "L::hVz", longopts, NULL)) != -1) { + switch(c) { + case 'h': + usage(); + break; + case 'L': + colormode = UL_COLORMODE_AUTO; + if (optarg) + colormode = colormode_or_err(optarg, + _("unsupported color mode")); + break; + case 'V': + printf(UTIL_LINUX_VERSION); + return EXIT_SUCCESS; + case 'z': + cf->zero_start = 1; + break; + default: + errtryhelp(EXIT_FAILURE); + } + } + + colors_init(colormode, "cfdisk"); + + fdisk_init_debug(0); + scols_init_debug(0); + cfdisk_init_debug(); + cf->cxt = fdisk_new_context(); + if (!cf->cxt) + err(EXIT_FAILURE, _("failed to allocate libfdisk context")); + + fdisk_set_ask(cf->cxt, ask_callback, (void *) cf); + + if (optind == argc) { + size_t i; + + for (i = 0; i < ARRAY_SIZE(default_disks); i++) { + if (access(default_disks[i], F_OK) == 0) { + diskpath = default_disks[i]; + break; + } + } + if (!diskpath) + diskpath = default_disks[0]; /* default, used for "cannot open" */ + } else + diskpath = argv[optind]; + + rc = fdisk_assign_device(cf->cxt, diskpath, 0); + if (rc == -EACCES) + rc = fdisk_assign_device(cf->cxt, diskpath, 1); + if (rc != 0) + err(EXIT_FAILURE, _("cannot open %s"), diskpath); + + if (!fdisk_is_readonly(cf->cxt)) { + cf->device_is_used = fdisk_device_is_used(cf->cxt); + fdisk_get_partitions(cf->cxt, &cf->original_layout); + } + + /* Don't use err(), warn() from this point */ + ui_init(cf); + ui_run(cf); + ui_end(); + + cfdisk_free_lines(cf); + free(cf->linesbuf); + + fdisk_unref_table(cf->table); +#ifdef HAVE_LIBMOUNT + mnt_unref_table(cf->fstab); + mnt_unref_table(cf->mtab); + mnt_unref_cache(cf->mntcache); +#endif + rc = fdisk_deassign_device(cf->cxt, cf->nwrites == 0); + fdisk_unref_context(cf->cxt); + DBG(MISC, ul_debug("bye! [rc=%d]", rc)); + return rc == 0 ? EXIT_SUCCESS : EXIT_FAILURE; +} diff --git a/disk-utils/cramfs.h b/disk-utils/cramfs.h new file mode 100644 index 0000000..e0ddbda --- /dev/null +++ b/disk-utils/cramfs.h @@ -0,0 +1,114 @@ +/* + * cramfs_common - cramfs common code + * + * Copyright (c) 2008 Roy Peled, the.roy.peled -at- gmail + * Copyright (c) 2004-2006 by Juliane Holzt, kju -at- fqdn.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#ifndef __CRAMFS_H +#define __CRAMFS_H + +#include + +#define CRAMFS_MAGIC 0x28cd3d45 /* some random number */ +#define CRAMFS_SIGNATURE "Compressed ROMFS" + +/* + * Width of various bitfields in struct cramfs_inode. + * Primarily used to generate warnings in mkcramfs. + */ +#define CRAMFS_MODE_WIDTH 16 +#define CRAMFS_UID_WIDTH 16 +#define CRAMFS_SIZE_WIDTH 24 +#define CRAMFS_GID_WIDTH 8 +#define CRAMFS_NAMELEN_WIDTH 6 +#define CRAMFS_OFFSET_WIDTH 26 + +#ifndef HOST_IS_BIG_ENDIAN +#ifdef WORDS_BIGENDIAN +#define HOST_IS_BIG_ENDIAN 1 +#else +#define HOST_IS_BIG_ENDIAN 0 +#endif +#endif + +/* + * Reasonably terse representation of the inode data. + */ +struct cramfs_inode { + uint32_t mode:16, uid:16; + /* SIZE for device files is i_rdev */ + uint32_t size:24, gid:8; + /* + * NAMELEN is the length of the file name, divided by 4 and + * rounded up. (cramfs doesn't support hard links.) + * + * OFFSET: For symlinks and non-empty regular files, this + * contains the offset (divided by 4) of the file data in + * compressed form (starting with an array of block pointers; + * see README). For non-empty directories it is the offset + * (divided by 4) of the inode of the first file in that + * directory. For anything else, offset is zero. + */ + uint32_t namelen:6, offset:26; +}; + +struct cramfs_info { + uint32_t crc; + uint32_t edition; + uint32_t blocks; + uint32_t files; +}; + +/* + * Superblock information at the beginning of the FS. + */ +struct cramfs_super { + uint32_t magic; /* 0x28cd3d45 - random number */ + uint32_t size; /* Not used. mkcramfs currently + writes a constant 1<<16 here. */ + uint32_t flags; /* 0 */ + uint32_t future; /* 0 */ + uint8_t signature[16]; /* "Compressed ROMFS" */ + struct cramfs_info fsid;/* unique filesystem info */ + uint8_t name[16]; /* user-defined name */ + struct cramfs_inode root; /* Root inode data */ +}; + +#define CRAMFS_FLAG_FSID_VERSION_2 0x00000001 /* fsid version #2 */ +#define CRAMFS_FLAG_SORTED_DIRS 0x00000002 /* sorted dirs */ +#define CRAMFS_FLAG_HOLES 0x00000100 /* support for holes */ +#define CRAMFS_FLAG_WRONG_SIGNATURE 0x00000200 /* reserved */ +#define CRAMFS_FLAG_SHIFTED_ROOT_OFFSET 0x00000400 /* shifted root fs */ + +/* + * Valid values in super.flags. Currently we refuse to mount + * if (flags & ~CRAMFS_SUPPORTED_FLAGS). Maybe that should be + * changed to test super.future instead. + */ +#define CRAMFS_SUPPORTED_FLAGS (0xff) + +/* Uncompression interfaces to the underlying zlib */ +int cramfs_uncompress_block(void *dst, int dstlen, void *src, int srclen); +int cramfs_uncompress_init(void); +int cramfs_uncompress_exit(void); + +uint32_t u32_toggle_endianness(int big_endian, uint32_t what); +void super_toggle_endianness(int from_big_endian, struct cramfs_super *super); +void inode_to_host(int from_big_endian, struct cramfs_inode *inode_in, + struct cramfs_inode *inode_out); +void inode_from_host(int to_big_endian, struct cramfs_inode *inode_in, + struct cramfs_inode *inode_out); + +#endif diff --git a/disk-utils/cramfs_common.c b/disk-utils/cramfs_common.c new file mode 100644 index 0000000..9fe3fa1 --- /dev/null +++ b/disk-utils/cramfs_common.c @@ -0,0 +1,109 @@ +/* + * cramfs_common - cramfs common code + * + * Copyright (c) 2008 Roy Peled, the.roy.peled -at- gmail.com + * Copyright (c) 2004-2006 by Juliane Holzt, kju -at- fqdn.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#include +#include "cramfs.h" +#include "../include/bitops.h" + +uint32_t u32_toggle_endianness(int big_endian, uint32_t what) +{ + return big_endian == HOST_IS_BIG_ENDIAN ? what : swab32(what); +} + +void super_toggle_endianness(int big_endian, struct cramfs_super *super) +{ + if (big_endian != HOST_IS_BIG_ENDIAN) { + super->magic = swab32(super->magic); + super->size = swab32(super->size); + super->flags = swab32(super->flags); + super->future = swab32(super->future); + super->fsid.crc = swab32(super->fsid.crc); + super->fsid.edition = swab32(super->fsid.edition); + super->fsid.blocks = swab32(super->fsid.blocks); + super->fsid.files = swab32(super->fsid.files); + } +} + +static void inode_toggle_endianness(int input_big_endian, int output_big_endian, + struct cramfs_inode *inode_in, + struct cramfs_inode *inode_out) +{ + if (input_big_endian == output_big_endian) { + memmove(inode_out, inode_in, sizeof(*inode_out)); + } else { + unsigned char inode_out_buf[sizeof(*inode_in)]; + unsigned char *inode_in_buf = (unsigned char*)inode_in; + + inode_out_buf[0] = inode_in_buf[1]; /* 16 bit: mode */ + inode_out_buf[1] = inode_in_buf[0]; + + inode_out_buf[2] = inode_in_buf[3]; /* 16 bit: uid */ + inode_out_buf[3] = inode_in_buf[2]; + + inode_out_buf[4] = inode_in_buf[6]; /* 24 bit: size */ + inode_out_buf[5] = inode_in_buf[5]; + inode_out_buf[6] = inode_in_buf[4]; + + inode_out_buf[7] = inode_in_buf[7]; /* 8 bit: gid width */ + + /* + * Stop the madness! Outlaw C bitfields! They are unportable + * and nasty! See for yourself what a mess this is: + */ + if (output_big_endian) { + inode_out_buf[ 8] = ( (inode_in_buf[ 8]&0x3F) << 2 ) | + ( (inode_in_buf[11]&0xC0) >> 6 ); + + inode_out_buf[ 9] = ( (inode_in_buf[11]&0x3F) << 2 ) | + ( (inode_in_buf[10]&0xC0) >> 6 ); + + inode_out_buf[10] = ( (inode_in_buf[10]&0x3F) << 2 ) | + ( (inode_in_buf[ 9]&0xC0) >> 6 ); + + inode_out_buf[11] = ( (inode_in_buf[ 9]&0x3F) << 2 ) | + ( (inode_in_buf[ 8]&0xC0) >> 6 ); + } else { + inode_out_buf[ 8] = ( (inode_in_buf[ 8]&0xFD) >> 2 ) | + ( (inode_in_buf[11]&0x03) << 6 ); + + inode_out_buf[ 9] = ( (inode_in_buf[11]&0xFD) >> 2 ) | + ( (inode_in_buf[10]&0x03) << 6 ); + + inode_out_buf[10] = ( (inode_in_buf[10]&0xFD) >> 2 ) | + ( (inode_in_buf[ 9]&0x03) << 6 ); + + inode_out_buf[11] = ( (inode_in_buf[ 9]&0xFD) >> 2 ) | + ( (inode_in_buf[ 8]&0x03) << 6 ); + } + memmove(inode_out, inode_out_buf, sizeof(*inode_out)); + } +} + +void inode_to_host(int from_big_endian, struct cramfs_inode *inode_in, + struct cramfs_inode *inode_out) +{ + inode_toggle_endianness(from_big_endian, HOST_IS_BIG_ENDIAN, inode_in, + inode_out); +} + +void inode_from_host(int to_big_endian, struct cramfs_inode *inode_in, + struct cramfs_inode *inode_out) +{ + inode_toggle_endianness(HOST_IS_BIG_ENDIAN, to_big_endian, inode_in, + inode_out); +} diff --git a/disk-utils/delpart.8 b/disk-utils/delpart.8 new file mode 100644 index 0000000..7384e25 --- /dev/null +++ b/disk-utils/delpart.8 @@ -0,0 +1,27 @@ +.\" delpart.8 -- man page for delpart +.\" Copyright 2007 Karel Zak +.\" Copyright 2007 Red Hat, Inc. +.\" May be distributed under the GNU General Public License +.TH DELPART 8 "January 2015" "util-linux" "System Administration" +.SH NAME +delpart \- tell the kernel to forget about a partition +.SH SYNOPSIS +.B delpart +.I device partition +.SH DESCRIPTION +.B delpart +asks the Linux kernel to forget about the specified \fIpartition\fR +(a number) on the specified \fIdevice\fR. +The command is a simple wrapper around the "del partition" ioctl. + +This command doesn't manipulate partitions on a block device. + +.SH SEE ALSO +.BR addpart (8), +.BR fdisk (8), +.BR parted (8), +.BR partprobe (8), +.BR partx (8) +.SH AVAILABILITY +The delpart command is part of the util-linux package and is available from +https://www.kernel.org/pub/linux/utils/util-linux/. diff --git a/disk-utils/delpart.c b/disk-utils/delpart.c new file mode 100644 index 0000000..dc06997 --- /dev/null +++ b/disk-utils/delpart.c @@ -0,0 +1,66 @@ +#include +#include +#include +#include + +#include "c.h" +#include "nls.h" +#include "partx.h" +#include "strutils.h" + +static void __attribute__((__noreturn__)) usage(void) +{ + FILE *out = stdout; + fputs(USAGE_HEADER, out); + fprintf(out, _(" %s \n"), + program_invocation_short_name); + + fputs(USAGE_SEPARATOR, out); + fputs(_("Tell the kernel to forget about a specified partition.\n"), out); + + fputs(USAGE_OPTIONS, out); + printf(USAGE_HELP_OPTIONS(16)); + printf(USAGE_MAN_TAIL("delpart(8)")); + exit(EXIT_SUCCESS); +} + +int main(int argc, char **argv) +{ + int c, fd; + + static const struct option longopts[] = { + {"help", no_argument, NULL, 'h'}, + {"version", no_argument, NULL, 'V'}, + {NULL, 0, NULL, 0}, + }; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + + while ((c = getopt_long(argc, argv, "Vh", longopts, NULL)) != -1) + switch (c) { + case 'V': + printf(UTIL_LINUX_VERSION); + return EXIT_SUCCESS; + case 'h': + usage(); + default: + errtryhelp(EXIT_FAILURE); + } + + if (argc != 3) { + warnx(_("not enough arguments")); + errtryhelp(EXIT_FAILURE); + } + + + if ((fd = open(argv[1], O_RDONLY)) < 0) + err(EXIT_FAILURE, _("cannot open %s"), argv[1]); + + if (partx_del_partition(fd, + strtou32_or_err(argv[2], _("invalid partition number argument")))) + err(EXIT_FAILURE, _("failed to remove partition")); + + return EXIT_SUCCESS; +} diff --git a/disk-utils/fdformat.8 b/disk-utils/fdformat.8 new file mode 100644 index 0000000..8cc72bd --- /dev/null +++ b/disk-utils/fdformat.8 @@ -0,0 +1,74 @@ +.\" Copyright 1992, 1993 Rickard E. Faith (faith@cs.unc.edu) +.\" May be distributed under the GNU General Public License +.TH FDFORMAT 8 "July 2014" "util-linux" "System Administration" +.SH NAME +fdformat \- low-level format a floppy disk +.SH SYNOPSIS +.B fdformat +.RI [options] " device" +.SH DESCRIPTION +.B fdformat +does a low-level format on a floppy disk. +.I device +is usually one of the following (for floppy devices the major = 2, and the +minor is shown for informational purposes only): +.sp +.nf +.RS +/dev/fd0d360 (minor = 4) +/dev/fd0h1200 (minor = 8) +/dev/fd0D360 (minor = 12) +/dev/fd0H360 (minor = 12) +/dev/fd0D720 (minor = 16) +/dev/fd0H720 (minor = 16) +/dev/fd0h360 (minor = 20) +/dev/fd0h720 (minor = 24) +/dev/fd0H1440 (minor = 28) +.PP +/dev/fd1d360 (minor = 5) +/dev/fd1h1200 (minor = 9) +/dev/fd1D360 (minor = 13) +/dev/fd1H360 (minor = 13) +/dev/fd1D720 (minor = 17) +/dev/fd1H720 (minor = 17) +/dev/fd1h360 (minor = 21) +/dev/fd1h720 (minor = 25) +/dev/fd1H1440 (minor = 29) +.RE +.fi +.PP +The generic floppy devices, /dev/fd0 and /dev/fd1, will fail to work with +.B fdformat +when a non-standard format is being used, or if the format has not been +autodetected earlier. In this case, use +.BR setfdprm (8) +to load the disk parameters. +.SH OPTIONS +.TP +\fB\-f\fR, \fB\-\-from\fR \fIN\fR +Start at the track \fIN\fR (default is 0). +.TP +\fB\-t\fR, \fB\-\-to\fR \fIN\fR +Stop at the track \fIN\fR. +.TP +\fB\-r\fR, \fB\-\-repair\fR \fIN\fR +Try to repair tracks failed during the verification (max \fIN\fR retries). +.TP +\fB\-n\fR, \fB\-\-no\-verify\fR +Skip the verification that is normally performed after the formatting. +.TP +\fB\-V\fR, \fB\-\-version\fR +Display version information and exit. +.TP +\fB\-h\fR, \fB\-\-help\fR +Display help text and exit. +.SH "SEE ALSO" +.BR fd (4), +.BR emkfs (8), +.BR mkfs (8), +.BR setfdprm (8) +.SH AUTHOR +Werner Almesberger (almesber@nessie.cs.id.ethz.ch) +.SH AVAILABILITY +The fdformat command is part of the util-linux package and is available from +https://www.kernel.org/pub/linux/utils/util-linux/. diff --git a/disk-utils/fdformat.c b/disk-utils/fdformat.c new file mode 100644 index 0000000..f461c82 --- /dev/null +++ b/disk-utils/fdformat.c @@ -0,0 +1,256 @@ +/* + * fdformat.c - Low-level formats a floppy disk - Werner Almesberger + */ +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "c.h" +#include "blkdev.h" +#include "strutils.h" +#include "closestream.h" +#include "nls.h" +#include "xalloc.h" + +#define SECTOR_SIZE 512 + +static struct floppy_struct param; + + +static void format_begin(int ctrl) +{ + if (ioctl(ctrl, FDFMTBEG, NULL) < 0) + err(EXIT_FAILURE, "ioctl: FDFMTBEG"); +} + +static void format_end(int ctrl) +{ + if (ioctl(ctrl, FDFMTEND, NULL) < 0) + err(EXIT_FAILURE, "ioctl: FDFMTEND"); +} + +static void format_track_head(int ctrl, struct format_descr *descr) +{ + if (ioctl(ctrl, FDFMTTRK, (long) descr) < 0) + err(EXIT_FAILURE, "ioctl: FDFMTTRK"); +} + +static void seek_track_head(int ctrl, struct format_descr *descr) +{ + lseek(ctrl, (descr->track * param.head + descr->head) * param.sect * SECTOR_SIZE, SEEK_SET); +} + +static void format_disk(int ctrl, unsigned int track_from, unsigned int track_to) +{ + struct format_descr current; + + printf(_("Formatting ... ")); + fflush(stdout); + + format_begin(ctrl); + + for (current.track = track_from; current.track <= track_to; current.track++) { + for (current.head = 0; current.head < param.head; current.head++) { + printf("%3u/%u\b\b\b\b\b", current.track, current.head); + fflush(stdout); + format_track_head(ctrl, ¤t); + } + } + + format_end(ctrl); + + printf(" \b\b\b\b\b%s", _("done\n")); +} + +static void verify_disk(int ctrl, unsigned int track_from, unsigned int track_to, unsigned int repair) +{ + unsigned char *data; + struct format_descr current; + int track_size, count; + unsigned int retries_left; + + track_size = param.sect * SECTOR_SIZE; + data = xmalloc(track_size); + printf(_("Verifying ... ")); + fflush(stdout); + + current.track = track_from; + current.head = 0; + seek_track_head (ctrl, ¤t); + + for (current.track = track_from; current.track <= track_to; current.track++) { + for (current.head = 0; current.head < param.head; current.head++) { + int read_bytes; + + printf("%3u\b\b\b", current.track); + fflush(stdout); + + retries_left = repair; + do { + read_bytes = read(ctrl, data, track_size); + if (read_bytes != track_size) { + if (retries_left) { + format_begin(ctrl); + format_track_head(ctrl, ¤t); + format_end(ctrl); + seek_track_head (ctrl, ¤t); + retries_left--; + if (retries_left) + continue; + } + if (read_bytes < 0) + perror(_("Read: ")); + fprintf(stderr, + _("Problem reading track/head %u/%u," + " expected %d, read %d\n"), + current.track, current.head, track_size, read_bytes); + free(data); + exit(EXIT_FAILURE); + } + for (count = 0; count < track_size; count++) + if (data[count] != FD_FILL_BYTE) { + if (retries_left) { + format_begin(ctrl); + format_track_head(ctrl, ¤t); + format_end(ctrl); + seek_track_head (ctrl, ¤t); + retries_left--; + if (retries_left) + continue; + } + printf(_("bad data in track/head %u/%u\n" + "Continuing ... "), current.track, current.head); + fflush(stdout); + break; + } + break; + } while (retries_left); + } + } + + free(data); + printf(_("done\n")); +} + +static void __attribute__((__noreturn__)) usage(void) +{ + FILE *out = stdout; + fputs(USAGE_HEADER, out); + fprintf(out, _(" %s [options] \n"), + program_invocation_short_name); + + fputs(USAGE_SEPARATOR, out); + fputs(_("Do a low-level formatting of a floppy disk.\n"), out); + + fputs(USAGE_OPTIONS, out); + fputs(_(" -f, --from start at the track N (default 0)\n"), out); + fputs(_(" -t, --to stop at the track N\n"), out); + fputs(_(" -r, --repair try to repair tracks failed during\n" + " the verification (max N retries)\n"), out); + fputs(_(" -n, --no-verify disable the verification after the format\n"), out); + + fputs(USAGE_SEPARATOR, out); + printf(USAGE_HELP_OPTIONS(19)); + printf(USAGE_MAN_TAIL("fdformat(8)")); + + exit(EXIT_SUCCESS); +} + +int main(int argc, char **argv) +{ + int ch; + int ctrl; + int verify = 1; + unsigned int repair = 0; + unsigned int track_from = 0; + unsigned int track_to = 0; + int has_user_defined_track_to = 0; + struct stat st; + + static const struct option longopts[] = { + {"from", required_argument, NULL, 'f'}, + {"to", required_argument, NULL, 't'}, + {"repair", required_argument, NULL, 'r'}, + {"no-verify", no_argument, NULL, 'n'}, + {"version", no_argument, NULL, 'V'}, + {"help", no_argument, NULL, 'h'}, + {NULL, 0, NULL, 0} + }; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + while ((ch = getopt_long(argc, argv, "f:t:r:nVh", longopts, NULL)) != -1) + switch (ch) { + case 'f': + track_from = strtou32_or_err(optarg, _("invalid argument - from")); + break; + case 't': + has_user_defined_track_to = 1; + track_to = strtou32_or_err(optarg, _("invalid argument - to")); + break; + case 'r': + repair = strtou32_or_err(optarg, _("invalid argument - repair")); + break; + case 'n': + verify = 0; + break; + case 'V': + printf(UTIL_LINUX_VERSION); + exit(EXIT_SUCCESS); + case 'h': + usage(); + default: + errtryhelp(EXIT_FAILURE); + } + + argc -= optind; + argv += optind; + + if (argc < 1) { + warnx(_("no device specified")); + errtryhelp(EXIT_FAILURE); + } + if (stat(argv[0], &st) < 0) + err(EXIT_FAILURE, _("stat of %s failed"), argv[0]); + if (!S_ISBLK(st.st_mode)) + /* do not test major - perhaps this was an USB floppy */ + errx(EXIT_FAILURE, _("%s: not a block device"), argv[0]); + ctrl = open_blkdev_or_file(&st, argv[0], O_RDWR); + if (ctrl < 0) + err(EXIT_FAILURE, _("cannot open %s"), argv[0]); + if (ioctl(ctrl, FDGETPRM, (long) ¶m) < 0) + err(EXIT_FAILURE, _("could not determine current format type")); + + printf(_("%s-sided, %d tracks, %d sec/track. Total capacity %d kB.\n"), + (param.head == 2) ? _("Double") : _("Single"), + param.track, param.sect, param.size >> 1); + + if (!has_user_defined_track_to) + track_to = param.track - 1; + + if (track_from >= param.track) + err(EXIT_FAILURE, _("user defined start track exceeds the medium specific maximum")); + if (track_to >= param.track) + err(EXIT_FAILURE, _("user defined end track exceeds the medium specific maximum")); + if (track_from > track_to) + err(EXIT_FAILURE, _("user defined start track exceeds the user defined end track")); + + format_disk(ctrl, track_from, track_to); + + if (verify) + verify_disk(ctrl, track_from, track_to, repair); + + if (close_fd(ctrl) != 0) + err(EXIT_FAILURE, _("close failed")); + + return EXIT_SUCCESS; +} diff --git a/disk-utils/fdisk-list.c b/disk-utils/fdisk-list.c new file mode 100644 index 0000000..916621d --- /dev/null +++ b/disk-utils/fdisk-list.c @@ -0,0 +1,536 @@ +#include +#include +#include + +#include "c.h" +#include "xalloc.h" +#include "nls.h" +#include "blkdev.h" +#include "mbsalign.h" +#include "pathnames.h" +#include "canonicalize.h" +#include "strutils.h" +#include "sysfs.h" +#include "colors.h" +#include "ttyutils.h" + +#include "fdisk-list.h" + +/* see init_fields() */ +static const char *fields_string; +static int *fields_ids; +static size_t fields_nids; +static const struct fdisk_label *fields_label; + +static int is_ide_cdrom_or_tape(char *device) +{ + int fd, ret; + + if ((fd = open(device, O_RDONLY)) < 0) + return 0; + ret = blkdev_is_cdrom(fd); + + close(fd); + return ret; +} + +void list_disk_identifier(struct fdisk_context *cxt) +{ + struct fdisk_label *lb = fdisk_get_label(cxt, NULL); + char *id = NULL; + + if (fdisk_has_label(cxt)) + fdisk_info(cxt, _("Disklabel type: %s"), + fdisk_label_get_name(lb)); + + if (!fdisk_is_details(cxt) && fdisk_get_disklabel_id(cxt, &id) == 0 && id) { + fdisk_info(cxt, _("Disk identifier: %s"), id); + free(id); + } +} + +void list_disk_geometry(struct fdisk_context *cxt) +{ + struct fdisk_label *lb = fdisk_get_label(cxt, NULL); + uint64_t bytes = fdisk_get_nsectors(cxt) * fdisk_get_sector_size(cxt); + char *strsz = size_to_human_string(SIZE_SUFFIX_SPACE + | SIZE_SUFFIX_3LETTER, bytes); + + color_scheme_enable("header", UL_COLOR_BOLD); + fdisk_info(cxt, _("Disk %s: %s, %ju bytes, %ju sectors"), + fdisk_get_devname(cxt), strsz, + bytes, (uintmax_t) fdisk_get_nsectors(cxt)); + color_disable(); + free(strsz); + + if (fdisk_get_devmodel(cxt)) + fdisk_info(cxt, _("Disk model: %s"), fdisk_get_devmodel(cxt)); + + if (lb && (fdisk_label_require_geometry(lb) || fdisk_use_cylinders(cxt))) + fdisk_info(cxt, _("Geometry: %d heads, %llu sectors/track, %llu cylinders"), + fdisk_get_geom_heads(cxt), + fdisk_get_geom_sectors(cxt), + fdisk_get_geom_cylinders(cxt)); + + fdisk_info(cxt, _("Units: %s of %d * %ld = %ld bytes"), + fdisk_get_unit(cxt, FDISK_PLURAL), + fdisk_get_units_per_sector(cxt), + fdisk_get_sector_size(cxt), + fdisk_get_units_per_sector(cxt) * fdisk_get_sector_size(cxt)); + + fdisk_info(cxt, _("Sector size (logical/physical): %lu bytes / %lu bytes"), + fdisk_get_sector_size(cxt), + fdisk_get_physector_size(cxt)); + fdisk_info(cxt, _("I/O size (minimum/optimal): %lu bytes / %lu bytes"), + fdisk_get_minimal_iosize(cxt), + fdisk_get_optimal_iosize(cxt)); + if (fdisk_get_alignment_offset(cxt)) + fdisk_info(cxt, _("Alignment offset: %lu bytes"), + fdisk_get_alignment_offset(cxt)); + + list_disk_identifier(cxt); +} + +void list_disklabel(struct fdisk_context *cxt) +{ + struct fdisk_table *tb = NULL; + struct fdisk_partition *pa = NULL; + struct fdisk_iter *itr = NULL; + struct fdisk_label *lb; + struct libscols_table *out = NULL; + const char *bold = NULL; + int *ids = NULL; /* IDs of fdisk_fields */ + size_t nids = 0, i; + int post = 0; + + /* print label specific stuff by libfdisk FDISK_ASK_INFO API */ + fdisk_list_disklabel(cxt); + + /* get partitions and generate output */ + if (fdisk_get_partitions(cxt, &tb) || fdisk_table_get_nents(tb) <= 0) + goto done; + + ids = init_fields(cxt, NULL, &nids); + if (!ids) + goto done; + + itr = fdisk_new_iter(FDISK_ITER_FORWARD); + if (!itr) { + fdisk_warn(cxt, _("failed to allocate iterator")); + goto done; + } + + out = scols_new_table(); + if (!out) { + fdisk_warn(cxt, _("failed to allocate output table")); + goto done; + } + + if (colors_wanted()) { + scols_table_enable_colors(out, 1); + bold = color_scheme_get_sequence("header", UL_COLOR_BOLD); + } + + lb = fdisk_get_label(cxt, NULL); + assert(lb); + + /* define output table columns */ + for (i = 0; i < nids; i++) { + int fl = 0; + struct libscols_column *co; + const struct fdisk_field *field = + fdisk_label_get_field(lb, ids[i]); + if (!field) + continue; + if (fdisk_field_is_number(field)) + fl |= SCOLS_FL_RIGHT; + if (fdisk_field_get_id(field) == FDISK_FIELD_TYPE) + fl |= SCOLS_FL_TRUNC; + + co = scols_table_new_column(out, + _(fdisk_field_get_name(field)), + fdisk_field_get_width(field), fl); + if (!co) + goto done; + + /* set column header color */ + if (bold) + scols_cell_set_color(scols_column_get_header(co), bold); + } + + /* fill-in output table */ + while (fdisk_table_next_partition(tb, itr, &pa) == 0) { + struct libscols_line *ln = scols_table_new_line(out, NULL); + + if (!ln) { + fdisk_warn(cxt, _("failed to allocate output line")); + goto done; + } + + for (i = 0; i < nids; i++) { + char *data = NULL; + + if (fdisk_partition_to_string(pa, cxt, ids[i], &data)) + continue; + if (scols_line_refer_data(ln, i, data)) { + fdisk_warn(cxt, _("failed to add output data")); + goto done; + } + } + } + + /* print */ + if (!scols_table_is_empty(out)) { + fdisk_info(cxt, ""); /* just line break */ + scols_print_table(out); + } + + /* print warnings */ + fdisk_reset_iter(itr, FDISK_ITER_FORWARD); + while (itr && fdisk_table_next_partition(tb, itr, &pa) == 0) { + if (!fdisk_partition_has_start(pa)) + continue; + if (!fdisk_lba_is_phy_aligned(cxt, fdisk_partition_get_start(pa))) { + if (!post) + fdisk_info(cxt, ""); /* line break */ + fdisk_warnx(cxt, _("Partition %zu does not start on physical sector boundary."), + fdisk_partition_get_partno(pa) + 1); + post++; + } + if (fdisk_partition_has_wipe(cxt, pa)) { + if (!post) + fdisk_info(cxt, ""); /* line break */ + fdisk_info(cxt, _("Filesystem/RAID signature on partition %zu will be wiped."), + fdisk_partition_get_partno(pa) + 1); + post++; + } + } + + if (fdisk_table_wrong_order(tb)) { + if (!post) + fdisk_info(cxt, ""); /* line break */ + fdisk_info(cxt, _("Partition table entries are not in disk order.")); + } +done: + scols_unref_table(out); + fdisk_unref_table(tb); + fdisk_free_iter(itr); +} + +void list_freespace(struct fdisk_context *cxt) +{ + struct fdisk_table *tb = NULL; + struct fdisk_partition *pa = NULL; + struct fdisk_iter *itr = NULL; + struct libscols_table *out = NULL; + const char *bold = NULL; + size_t i; + uintmax_t sumsize = 0, bytes = 0; + char *strsz; + + static const char *colnames[] = { N_("Start"), N_("End"), N_("Sectors"), N_("Size") }; + static const int colids[] = { FDISK_FIELD_START, FDISK_FIELD_END, FDISK_FIELD_SECTORS, FDISK_FIELD_SIZE }; + + if (fdisk_get_freespaces(cxt, &tb)) + goto done; + + itr = fdisk_new_iter(FDISK_ITER_FORWARD); + if (!itr) { + fdisk_warn(cxt, _("failed to allocate iterator")); + goto done; + } + + out = scols_new_table(); + if (!out) { + fdisk_warn(cxt, _("failed to allocate output table")); + goto done; + } + + if (colors_wanted()) { + scols_table_enable_colors(out, 1); + bold = color_scheme_get_sequence("header", UL_COLOR_BOLD); + } + + for (i = 0; i < ARRAY_SIZE(colnames); i++) { + struct libscols_column *co = scols_table_new_column(out, _(colnames[i]), 5, SCOLS_FL_RIGHT); + + if (!co) + goto done; + if (bold) + scols_cell_set_color(scols_column_get_header(co), bold); + } + + /* fill-in output table */ + while (fdisk_table_next_partition(tb, itr, &pa) == 0) { + struct libscols_line *ln = scols_table_new_line(out, NULL); + char *data; + + if (!ln) { + fdisk_warn(cxt, _("failed to allocate output line")); + goto done; + } + for (i = 0; i < ARRAY_SIZE(colids); i++) { + if (fdisk_partition_to_string(pa, cxt, colids[i], &data)) + continue; + if (scols_line_refer_data(ln, i, data)) { + fdisk_warn(cxt, _("failed to add output data")); + goto done; + } + } + + if (fdisk_partition_has_size(pa)) + sumsize += fdisk_partition_get_size(pa); + } + + bytes = sumsize * fdisk_get_sector_size(cxt); + strsz = size_to_human_string(SIZE_SUFFIX_SPACE + | SIZE_SUFFIX_3LETTER, bytes); + + color_scheme_enable("header", UL_COLOR_BOLD); + fdisk_info(cxt, _("Unpartitioned space %s: %s, %ju bytes, %ju sectors"), + fdisk_get_devname(cxt), strsz, + bytes, sumsize); + color_disable(); + free(strsz); + + fdisk_info(cxt, _("Units: %s of %d * %ld = %ld bytes"), + fdisk_get_unit(cxt, FDISK_PLURAL), + fdisk_get_units_per_sector(cxt), + fdisk_get_sector_size(cxt), + fdisk_get_units_per_sector(cxt) * fdisk_get_sector_size(cxt)); + + fdisk_info(cxt, _("Sector size (logical/physical): %lu bytes / %lu bytes"), + fdisk_get_sector_size(cxt), + fdisk_get_physector_size(cxt)); + + /* print */ + if (!scols_table_is_empty(out)) { + fdisk_info(cxt, ""); /* line break */ + scols_print_table(out); + } +done: + scols_unref_table(out); + fdisk_unref_table(tb); + fdisk_free_iter(itr); +} + +char *next_proc_partition(FILE **f) +{ + char line[128 + 1]; + + if (!*f) { + *f = fopen(_PATH_PROC_PARTITIONS, "r"); + if (!*f) { + warn(_("cannot open %s"), _PATH_PROC_PARTITIONS); + return NULL; + } + } + + while (fgets(line, sizeof(line), *f)) { + char buf[PATH_MAX], *cn; + dev_t devno; + + if (sscanf(line, " %*d %*d %*d %128[^\n ]", buf) != 1) + continue; + + devno = sysfs_devname_to_devno(buf); + if (devno <= 0) + continue; + + if (sysfs_devno_is_dm_private(devno, NULL) || + sysfs_devno_is_wholedisk(devno) <= 0) + continue; + + if (!sysfs_devno_to_devpath(devno, buf, sizeof(buf))) + continue; + + cn = canonicalize_path(buf); + if (!cn) + continue; + + if (!is_ide_cdrom_or_tape(cn)) + return cn; + } + fclose(*f); + *f = NULL; + + return NULL; +} + +int print_device_pt(struct fdisk_context *cxt, char *device, int warnme, int verify) +{ + if (fdisk_assign_device(cxt, device, 1) != 0) { /* read-only */ + if (warnme || errno == EACCES) + warn(_("cannot open %s"), device); + return -1; + } + + list_disk_geometry(cxt); + + if (fdisk_has_label(cxt)) { + list_disklabel(cxt); + if (verify) + fdisk_verify_disklabel(cxt); + } + fdisk_deassign_device(cxt, 1); + return 0; +} + +int print_device_freespace(struct fdisk_context *cxt, char *device, int warnme) +{ + if (fdisk_assign_device(cxt, device, 1) != 0) { /* read-only */ + if (warnme || errno == EACCES) + warn(_("cannot open %s"), device); + return -1; + } + + list_freespace(cxt); + fdisk_deassign_device(cxt, 1); + return 0; +} + +void print_all_devices_pt(struct fdisk_context *cxt, int verify) +{ + FILE *f = NULL; + int ct = 0; + char *dev; + + while ((dev = next_proc_partition(&f))) { + if (ct) + fputs("\n\n", stdout); + if (print_device_pt(cxt, dev, 0, verify) == 0) + ct++; + free(dev); + } +} + +void print_all_devices_freespace(struct fdisk_context *cxt) +{ + FILE *f = NULL; + int ct = 0; + char *dev; + + while ((dev = next_proc_partition(&f))) { + if (ct) + fputs("\n\n", stdout); + if (print_device_freespace(cxt, dev, 0) == 0) + ct++; + free(dev); + } +} + +/* usable for example in usage() */ +void list_available_columns(FILE *out) +{ + size_t i; + int termwidth; + struct fdisk_label *lb = NULL; + struct fdisk_context *cxt = fdisk_new_context(); + + if (!cxt) + return; + + termwidth = get_terminal_width(80); + + fprintf(out, USAGE_COLUMNS); + + while (fdisk_next_label(cxt, &lb) == 0) { + size_t width = 6; /* label name and separators */ + + fprintf(out, " %s:", fdisk_label_get_name(lb)); + for (i = 1; i < FDISK_NFIELDS; i++) { + const struct fdisk_field *fl = fdisk_label_get_field(lb, i); + const char *name = fl ? fdisk_field_get_name(fl) : NULL; + size_t len; + + if (!name) + continue; + len = strlen(name) + 1; + if (width + len > (size_t) termwidth) { + fputs("\n ", out); + width = 6; + } + fprintf(out, " %s", name); + width += len; + } + fputc('\n', out); + } + + fdisk_unref_context(cxt); +} + +static int fieldname_to_id(const char *name, size_t namesz) +{ + const struct fdisk_field *fl; + char buf[namesz + 1]; + + assert(name); + assert(namesz); + assert(fields_label); + + memcpy(buf, name, namesz); + buf[namesz] = '\0'; + + fl = fdisk_label_get_field_by_name(fields_label, buf); + if (!fl) { + warnx(_("%s unknown column: %s"), + fdisk_label_get_name(fields_label), buf); + return -1; + } + return fdisk_field_get_id(fl); +} + +/* + * Initialize array with output columns (fields_ids[]) according to + * comma delimited list of columns (@str). If the list string is not + * defined then use library defaults. This function is "-o " + * backend. + * + * If the columns are already initialized then returns already existing columns. + */ +int *init_fields(struct fdisk_context *cxt, const char *str, size_t *n) +{ + int *dflt_ids = NULL; + struct fdisk_label *lb; + + if (!fields_string) + fields_string = str; + if (!cxt) + goto done; + + lb = fdisk_get_label(cxt, NULL); + + if (!lb || fields_label != lb) { /* label changed: reset */ + free(fields_ids); + fields_ids = NULL; + fields_label = lb; + fields_nids = 0; + } + + if (!fields_label) /* no label */ + goto done; + if (fields_nids) + goto done; /* already initialized */ + + /* library default */ + if (fdisk_label_get_fields_ids(NULL, cxt, &dflt_ids, &fields_nids)) + goto done; + + fields_ids = xcalloc(FDISK_NFIELDS * 2, sizeof(int)); + + /* copy defaults to the list with wanted fields */ + memcpy(fields_ids, dflt_ids, fields_nids * sizeof(int)); + free(dflt_ids); + + /* extend or replace fields_nids[] according to fields_string */ + if (fields_string && + string_add_to_idarray(fields_string, fields_ids, FDISK_NFIELDS * 2, + &fields_nids, fieldname_to_id) < 0) + exit(EXIT_FAILURE); +done: + fields_label = NULL; + if (n) + *n = fields_nids; + return fields_ids; +} + diff --git a/disk-utils/fdisk-list.h b/disk-utils/fdisk-list.h new file mode 100644 index 0000000..4ed5c25 --- /dev/null +++ b/disk-utils/fdisk-list.h @@ -0,0 +1,47 @@ +#ifndef UTIL_LINUX_FDISK_LIST_H +#define UTIL_LINUX_FDISK_LIST_H + +extern void list_disklabel(struct fdisk_context *cxt); +extern void list_disk_identifier(struct fdisk_context *cxt); +extern void list_disk_geometry(struct fdisk_context *cxt); +extern void list_freespace(struct fdisk_context *cxt); + +extern char *next_proc_partition(FILE **f); +extern int print_device_pt(struct fdisk_context *cxt, char *device, int warnme, int verify); +extern int print_device_freespace(struct fdisk_context *cxt, char *device, int warnme); + +extern void print_all_devices_pt(struct fdisk_context *cxt, int verify); +extern void print_all_devices_freespace(struct fdisk_context *cxt); + +extern void list_available_columns(FILE *out); +extern int *init_fields(struct fdisk_context *cxt, const char *str, size_t *n); + + +/* used by fdisk and sfdisk */ +enum { + WIPEMODE_AUTO = 0, + WIPEMODE_NEVER = 1, + WIPEMODE_ALWAYS = 2 +}; + +static inline int wipemode_from_string(const char *str) +{ + size_t i; + static const char *modes[] = { + [WIPEMODE_AUTO] = "auto", + [WIPEMODE_NEVER] = "never", + [WIPEMODE_ALWAYS] = "always" + }; + + if (!str || !*str) + return -EINVAL; + + for (i = 0; i < ARRAY_SIZE(modes); i++) { + if (strcasecmp(str, modes[i]) == 0) + return i; + } + + return -EINVAL; +} + +#endif /* UTIL_LINUX_FDISK_LIST_H */ diff --git a/disk-utils/fdisk-menu.c b/disk-utils/fdisk-menu.c new file mode 100644 index 0000000..a6f4351 --- /dev/null +++ b/disk-utils/fdisk-menu.c @@ -0,0 +1,1102 @@ + +#include +#include +#include +#include +#include + +#include "c.h" +#include "rpmatch.h" +#include "fdisk.h" +#include "pt-sun.h" +#include "pt-mbr.h" + +struct menu_entry { + const char key; /* command key */ + const char *title; /* help string */ + unsigned int normal : 1, /* normal mode */ + expert : 1, /* expert mode */ + hidden : 1; /* be sensitive for this key, + but don't print it in help */ + + enum fdisk_labeltype label; /* only for this label */ + int exclude; /* all labels except these */ + enum fdisk_labeltype parent; /* for nested PT */ +}; + +#define IS_MENU_SEP(e) ((e)->key == '-') +#define IS_MENU_HID(e) ((e)->hidden) + +struct menu { + enum fdisk_labeltype label; /* only for this label */ + int exclude; /* all labels except these */ + + unsigned int nonested : 1; /* don't make this menu active in nested PT */ + + int (*callback)(struct fdisk_context **, + const struct menu *, + const struct menu_entry *); + + struct menu_entry entries[]; /* NULL terminated array */ +}; + +struct menu_context { + size_t menu_idx; /* the current menu */ + size_t entry_idx; /* index with in the current menu */ +}; + +#define MENU_CXT_EMPTY { 0, 0 } +#define DECLARE_MENU_CB(x) \ + static int x(struct fdisk_context **, \ + const struct menu *, \ + const struct menu_entry *) + +DECLARE_MENU_CB(gpt_menu_cb); +DECLARE_MENU_CB(sun_menu_cb); +DECLARE_MENU_CB(sgi_menu_cb); +DECLARE_MENU_CB(geo_menu_cb); +DECLARE_MENU_CB(dos_menu_cb); +DECLARE_MENU_CB(bsd_menu_cb); +DECLARE_MENU_CB(createlabel_menu_cb); +DECLARE_MENU_CB(generic_menu_cb); + +/* + * Menu entry macros: + * MENU_X* expert mode only + * MENU_B* both -- expert + normal mode + * + * *_E exclude this label + * *_H hidden + * *_L only for this label + */ + +/* separator */ +#define MENU_SEP(t) { .title = t, .key = '-', .normal = 1 } +#define MENU_XSEP(t) { .title = t, .key = '-', .expert = 1 } +#define MENU_BSEP(t) { .title = t, .key = '-', .expert = 1, .normal = 1 } + +/* entry */ +#define MENU_ENT(k, t) { .title = t, .key = k, .normal = 1 } +#define MENU_ENT_E(k, t, l) { .title = t, .key = k, .normal = 1, .exclude = l } +#define MENU_ENT_L(k, t, l) { .title = t, .key = k, .normal = 1, .label = l } + +#define MENU_XENT(k, t) { .title = t, .key = k, .expert = 1 } +#define MENU_XENT_H(k, t) { .title = t, .key = k, .expert = 1, .hidden = 1 } + +#define MENU_BENT(k, t) { .title = t, .key = k, .expert = 1, .normal = 1 } +#define MENU_BENT_E(k, t, l) { .title = t, .key = k, .expert = 1, .normal = 1, .exclude = l } + +#define MENU_ENT_NEST(k, t, l, p) { .title = t, .key = k, .normal = 1, .label = l, .parent = p } +#define MENU_XENT_NEST(k, t, l, p) { .title = t, .key = k, .expert = 1, .label = l, .parent = p } +#define MENU_BENT_NEST(k, t, l, p) { .title = t, .key = k, .expert = 1, .normal = 1, .label = l, .parent = p } + +/* Generic menu */ +static const struct menu menu_generic = { + .callback = generic_menu_cb, + .entries = { + MENU_BSEP(N_("Generic")), + MENU_ENT ('d', N_("delete a partition")), + MENU_ENT ('F', N_("list free unpartitioned space")), + MENU_ENT ('l', N_("list known partition types")), + MENU_ENT ('n', N_("add a new partition")), + MENU_BENT ('p', N_("print the partition table")), + MENU_ENT ('t', N_("change a partition type")), + MENU_BENT_E('v', N_("verify the partition table"), FDISK_DISKLABEL_BSD), + MENU_ENT ('i', N_("print information about a partition")), + + MENU_XENT('d', N_("print the raw data of the first sector from the device")), + MENU_XENT('D', N_("print the raw data of the disklabel from the device")), + MENU_XENT('f', N_("fix partitions order")), + + MENU_SEP(N_("Misc")), + MENU_BENT ('m', N_("print this menu")), + MENU_ENT_E('u', N_("change display/entry units"), FDISK_DISKLABEL_GPT), + MENU_ENT_E('x', N_("extra functionality (experts only)"), FDISK_DISKLABEL_BSD), + + MENU_SEP(N_("Script")), + MENU_ENT ('I', N_("load disk layout from sfdisk script file")), + MENU_ENT ('O', N_("dump disk layout to sfdisk script file")), + + MENU_BSEP(N_("Save & Exit")), + MENU_ENT_E('w', N_("write table to disk and exit"), FDISK_DISKLABEL_BSD), + MENU_ENT_L('w', N_("write table to disk"), FDISK_DISKLABEL_BSD), + MENU_BENT ('q', N_("quit without saving changes")), + MENU_XENT ('r', N_("return to main menu")), + + MENU_ENT_NEST('r', N_("return from BSD to DOS"), FDISK_DISKLABEL_BSD, FDISK_DISKLABEL_DOS), + + { 0, NULL } + } +}; + +static const struct menu menu_createlabel = { + .callback = createlabel_menu_cb, + .exclude = FDISK_DISKLABEL_BSD, + .nonested = 1, + .entries = { + MENU_SEP(N_("Create a new label")), + MENU_ENT('g', N_("create a new empty GPT partition table")), + MENU_ENT('G', N_("create a new empty SGI (IRIX) partition table")), + MENU_ENT('o', N_("create a new empty DOS partition table")), + MENU_ENT('s', N_("create a new empty Sun partition table")), + + /* backward compatibility -- be sensitive to 'g', but don't + * print it in the expert menu */ + MENU_XENT_H('g', N_("create an IRIX (SGI) partition table")), + { 0, NULL } + } +}; + +static const struct menu menu_geo = { + .callback = geo_menu_cb, + .exclude = FDISK_DISKLABEL_GPT | FDISK_DISKLABEL_BSD, + .entries = { + MENU_XSEP(N_("Geometry (for the current label)")), + MENU_XENT('c', N_("change number of cylinders")), + MENU_XENT('h', N_("change number of heads")), + MENU_XENT('s', N_("change number of sectors/track")), + { 0, NULL } + } +}; + +static const struct menu menu_gpt = { + .callback = gpt_menu_cb, + .label = FDISK_DISKLABEL_GPT, + .entries = { + MENU_BSEP(N_("GPT")), + MENU_XENT('i', N_("change disk GUID")), + MENU_XENT('n', N_("change partition name")), + MENU_XENT('u', N_("change partition UUID")), + MENU_XENT('l', N_("change table length")), + MENU_BENT('M', N_("enter protective/hybrid MBR")), + + MENU_XSEP(""), + MENU_XENT('A', N_("toggle the legacy BIOS bootable flag")), + MENU_XENT('B', N_("toggle the no block IO protocol flag")), + MENU_XENT('R', N_("toggle the required partition flag")), + MENU_XENT('S', N_("toggle the GUID specific bits")), + + { 0, NULL } + } +}; + +static const struct menu menu_sun = { + .callback = sun_menu_cb, + .label = FDISK_DISKLABEL_SUN, + .entries = { + MENU_BSEP(N_("Sun")), + MENU_ENT('a', N_("toggle the read-only flag")), + MENU_ENT('c', N_("toggle the mountable flag")), + + MENU_XENT('a', N_("change number of alternate cylinders")), + MENU_XENT('e', N_("change number of extra sectors per cylinder")), + MENU_XENT('i', N_("change interleave factor")), + MENU_XENT('o', N_("change rotation speed (rpm)")), + MENU_XENT('y', N_("change number of physical cylinders")), + { 0, NULL } + } +}; + +static const struct menu menu_sgi = { + .callback = sgi_menu_cb, + .label = FDISK_DISKLABEL_SGI, + .entries = { + MENU_SEP(N_("SGI")), + MENU_ENT('a', N_("select bootable partition")), + MENU_ENT('b', N_("edit bootfile entry")), + MENU_ENT('c', N_("select sgi swap partition")), + MENU_ENT('i', N_("create SGI info")), + { 0, NULL } + } +}; + +static const struct menu menu_dos = { + .callback = dos_menu_cb, + .label = FDISK_DISKLABEL_DOS, + .entries = { + MENU_BSEP(N_("DOS (MBR)")), + MENU_ENT('a', N_("toggle a bootable flag")), + MENU_ENT('b', N_("edit nested BSD disklabel")), + MENU_ENT('c', N_("toggle the dos compatibility flag")), + + MENU_XENT('b', N_("move beginning of data in a partition")), + MENU_XENT('i', N_("change the disk identifier")), + + MENU_BENT_NEST('M', N_("return from protective/hybrid MBR to GPT"), + FDISK_DISKLABEL_DOS, FDISK_DISKLABEL_GPT), + { 0, NULL } + } +}; + +static const struct menu menu_bsd = { + .callback = bsd_menu_cb, + .label = FDISK_DISKLABEL_BSD, + .entries = { + MENU_SEP(N_("BSD")), + MENU_ENT('e', N_("edit drive data")), + MENU_ENT('i', N_("install bootstrap")), + MENU_ENT('s', N_("show complete disklabel")), + MENU_ENT('x', N_("link BSD partition to non-BSD partition")), + { 0, NULL } + } +}; + +static const struct menu *menus[] = { + &menu_gpt, + &menu_sun, + &menu_sgi, + &menu_dos, + &menu_bsd, + &menu_geo, + &menu_generic, + &menu_createlabel, +}; + +static const struct menu_entry *next_menu_entry( + struct fdisk_context *cxt, + struct menu_context *mc) +{ + struct fdisk_label *lb = fdisk_get_label(cxt, NULL); + struct fdisk_context *parent = fdisk_get_parent(cxt); + unsigned int type = 0, pr_type = 0; + + assert(cxt); + + if (lb) + type = fdisk_label_get_type(lb); + if (parent) + pr_type = fdisk_label_get_type(fdisk_get_label(parent, NULL)); + + while (mc->menu_idx < ARRAY_SIZE(menus)) { + const struct menu *m = menus[mc->menu_idx]; + const struct menu_entry *e = &(m->entries[mc->entry_idx]); + + /* + * whole-menu filter + */ + + /* no more entries */ + if (e->title == NULL || + /* menu wanted for specified labels only */ + (m->label && lb && !(m->label & type)) || + /* unwanted for nested PT */ + (m->nonested && parent) || + /* menu excluded for specified labels */ + (m->exclude && lb && (m->exclude & type))) { + mc->menu_idx++; + mc->entry_idx = 0; + continue; + } + + /* + * per entry filter + */ + + /* excluded for the current label */ + if ((e->exclude && lb && e->exclude & type) || + /* entry wanted for specified labels only */ + (e->label && lb && !(e->label & type)) || + /* exclude non-expert entries in expect mode */ + (e->expert == 0 && fdisk_is_details(cxt)) || + /* nested only */ + (e->parent && (!parent || pr_type != e->parent)) || + /* exclude non-normal entries in normal mode */ + (e->normal == 0 && !fdisk_is_details(cxt))) { + mc->entry_idx++; + continue; + } + mc->entry_idx++; + return e; + + } + return NULL; +} + +/* returns @menu and menu entry for then @key */ +static const struct menu_entry *get_fdisk_menu_entry( + struct fdisk_context *cxt, + int key, + const struct menu **menu) +{ + struct menu_context mc = MENU_CXT_EMPTY; + const struct menu_entry *e; + + while ((e = next_menu_entry(cxt, &mc))) { + if (IS_MENU_SEP(e) || e->key != key) + continue; + + if (menu) + *menu = menus[mc.menu_idx]; + return e; + } + + return NULL; +} + +static int menu_detect_collisions(struct fdisk_context *cxt) +{ + struct menu_context mc = MENU_CXT_EMPTY; + const struct menu_entry *e, *r; + + while ((e = next_menu_entry(cxt, &mc))) { + if (IS_MENU_SEP(e)) + continue; + + r = get_fdisk_menu_entry(cxt, e->key, NULL); + if (!r) { + DBG(MENU, ul_debug("warning: not found " + "entry for %c", e->key)); + return -1; + } + if (r != e) { + DBG(MENU, ul_debug("warning: duplicate key '%c'", + e->key)); + DBG(MENU, ul_debug(" : %s", e->title)); + DBG(MENU, ul_debug(" : %s", r->title)); + abort(); + } + } + + return 0; +} + +static int print_fdisk_menu(struct fdisk_context *cxt) +{ + struct menu_context mc = MENU_CXT_EMPTY; + const struct menu_entry *e; + + ON_DBG(MENU, menu_detect_collisions(cxt)); + + if (fdisk_is_details(cxt)) + printf(_("\nHelp (expert commands):\n")); + else + printf(_("\nHelp:\n")); + + while ((e = next_menu_entry(cxt, &mc))) { + if (IS_MENU_HID(e)) + continue; /* hidden entry */ + if (IS_MENU_SEP(e) && (!e->title || !*e->title)) + printf("\n"); + else if (IS_MENU_SEP(e)) { + color_scheme_enable("help-title", UL_COLOR_BOLD); + printf("\n %s\n", _(e->title)); + color_disable(); + } else + printf(" %c %s\n", e->key, _(e->title)); + } + fputc('\n', stdout); + + if (fdisk_get_parent(cxt)) { + struct fdisk_label *l = fdisk_get_label(cxt, NULL), + *p = fdisk_get_label(fdisk_get_parent(cxt), NULL); + + fdisk_info(cxt, _("You're editing nested '%s' partition table, " + "primary partition table is '%s'."), + fdisk_label_get_name(l), + fdisk_label_get_name(p)); + } + + return 0; +} + +/* Asks for command, verify the key and perform the command or + * returns the command key if no callback for the command is + * implemented. + * + * Note that this function might exchange the context pointer to + * switch to another (nested) context. + * + * Returns: <0 on error + * 0 on success (the command performed) + * >0 if no callback (then returns the key) + */ +int process_fdisk_menu(struct fdisk_context **cxt0) +{ + struct fdisk_context *cxt = *cxt0; + const struct menu_entry *ent; + const struct menu *menu; + int key, rc; + const char *prompt; + char buf[BUFSIZ]; + + if (fdisk_is_details(cxt)) + prompt = _("Expert command (m for help): "); + else + prompt = _("Command (m for help): "); + + fputc('\n',stdout); + rc = get_user_reply(prompt, buf, sizeof(buf)); + + if (rc == -ECANCELED) { + /* Map ^C and ^D in main menu to 'q' */ + if (is_interactive + && fdisk_label_is_changed(fdisk_get_label(cxt, NULL))) { + rc = get_user_reply( + _("\nDo you really want to quit? "), + buf, sizeof(buf)); + if (rc || !rpmatch(buf)) + return 0; + } + key = 'q'; + } else if (rc) { + return rc; + } else + key = buf[0]; + + ent = get_fdisk_menu_entry(cxt, key, &menu); + if (!ent) { + fdisk_warnx(cxt, _("%c: unknown command"), key); + return -EINVAL; + } + + DBG(MENU, ul_debug("selected: key=%c, entry='%s'", + key, ent->title)); + + /* menu has implemented callback, use it */ + if (menu->callback) + rc = menu->callback(cxt0, menu, ent); + else { + DBG(MENU, ul_debug("no callback for key '%c'", key)); + rc = -EINVAL; + } + + DBG(MENU, ul_debug("process menu done [rc=%d]", rc)); + return rc; +} + +static int script_read(struct fdisk_context *cxt) +{ + struct fdisk_script *sc = NULL; + char *filename = NULL; + int rc; + + rc = fdisk_ask_string(cxt, _("Enter script file name"), &filename); + if (rc) + return rc; + + errno = 0; + sc = fdisk_new_script_from_file(cxt, filename); + if (!sc && errno) + fdisk_warn(cxt, _("Cannot open %s"), filename); + else if (!sc) + fdisk_warnx(cxt, _("Failed to parse script file %s"), filename); + else if (fdisk_apply_script(cxt, sc) != 0) { + fdisk_warnx(cxt, _("Failed to apply script %s"), filename); + fdisk_warnx(cxt, _("Resetting fdisk!")); + rc = fdisk_reassign_device(cxt); + if (rc == 0 && !fdisk_has_label(cxt)) { + fdisk_info(cxt, _("Device does not contain a recognized partition table.")); + fdisk_create_disklabel(cxt, NULL); + } + } else + fdisk_info(cxt, _("Script successfully applied.")); + + fdisk_unref_script(sc); + free(filename); + return rc; +} + +static int script_write(struct fdisk_context *cxt) +{ + struct fdisk_script *sc = NULL; + char *filename = NULL; + FILE *f = NULL; + int rc; + + rc = fdisk_ask_string(cxt, _("Enter script file name"), &filename); + if (rc) + return rc; + + sc = fdisk_new_script(cxt); + if (!sc) { + fdisk_warn(cxt, _("Failed to allocate script handler")); + goto done; + } + + rc = fdisk_script_read_context(sc, NULL); + if (rc) { + fdisk_warnx(cxt, _("Failed to transform disk layout into script")); + goto done; + } + + f = fopen(filename, "w"); + if (!f) { + fdisk_warn(cxt, _("Cannot open %s"), filename); + goto done; + } + + rc = fdisk_script_write_file(sc, f); + if (rc) + fdisk_warn(cxt, _("Failed to write script %s"), filename); + else + fdisk_info(cxt, _("Script successfully saved.")); +done: + if (f) + fclose(f); + fdisk_unref_script(sc); + free(filename); + return rc; +} + +static int ask_for_wipe(struct fdisk_context *cxt, size_t partno) +{ + struct fdisk_partition *tmp = NULL; + char *fstype = NULL; + int rc, yes = 0; + + rc = fdisk_get_partition(cxt, partno, &tmp); + if (rc) + goto done; + + rc = fdisk_partition_to_string(tmp, cxt, FDISK_FIELD_FSTYPE, &fstype); + if (rc || fstype == NULL) + goto done; + + fdisk_warnx(cxt, _("Partition #%zu contains a %s signature."), partno + 1, fstype); + + if (pwipemode == WIPEMODE_AUTO && isatty(STDIN_FILENO)) + fdisk_ask_yesno(cxt, _("Do you want to remove the signature?"), &yes); + else if (pwipemode == WIPEMODE_ALWAYS) + yes = 1; + + if (yes) { + fdisk_info(cxt, _("The signature will be removed by a write command.")); + rc = fdisk_wipe_partition(cxt, partno, TRUE); + } +done: + fdisk_unref_partition(tmp); + free(fstype); + return rc; +} + +/* + * Basic fdisk actions + */ +static int generic_menu_cb(struct fdisk_context **cxt0, + const struct menu *menu __attribute__((__unused__)), + const struct menu_entry *ent) +{ + struct fdisk_context *cxt = *cxt0; + int rc = 0; + size_t n; + + /* actions shared between expert and normal mode */ + switch (ent->key) { + case 'p': + list_disk_geometry(cxt); + list_disklabel(cxt); + break; + case 'w': + if (fdisk_is_readonly(cxt)) { + fdisk_warnx(cxt, _("Device is open in read-only mode.")); + break; + } + rc = fdisk_write_disklabel(cxt); + if (rc) + err(EXIT_FAILURE, _("failed to write disklabel")); + if (fdisk_get_parent(cxt)) + break; /* nested PT, don't leave */ + fdisk_info(cxt, _("The partition table has been altered.")); + + if (device_is_used) + rc = fdisk_reread_changes(cxt, original_layout); + else + rc = fdisk_reread_partition_table(cxt); + if (!rc) + rc = fdisk_deassign_device(cxt, 0); + /* fallthrough */ + case 'q': + fdisk_unref_context(cxt); + fputc('\n', stdout); + exit(rc == 0 ? EXIT_SUCCESS : EXIT_FAILURE); + case 'm': + rc = print_fdisk_menu(cxt); + break; + case 'v': + rc = fdisk_verify_disklabel(cxt); + break; + case 'i': + rc = print_partition_info(cxt); + break; + case 'F': + list_freespace(cxt); + break; + } + + /* expert mode */ + if (ent->expert) { + switch (ent->key) { + case 'd': + dump_firstsector(cxt); + break; + case 'D': + dump_disklabel(cxt); + break; + case 'f': + rc = fdisk_reorder_partitions(cxt); + if (rc) + fdisk_warnx(cxt, _("Failed to fix partitions order.")); + else + fdisk_info(cxt, _("Partitions order fixed.")); + break; + case 'r': + rc = fdisk_enable_details(cxt, 0); + break; + } + return rc; + } + + /* normal mode */ + switch (ent->key) { + case 'd': + rc = fdisk_ask_partnum(cxt, &n, FALSE); + if (rc) + break; /* no partitions yet (or ENOMEM, ...) */ + + rc = fdisk_delete_partition(cxt, n); + if (rc) + fdisk_warnx(cxt, _("Could not delete partition %zu"), n + 1); + else + fdisk_info(cxt, _("Partition %zu has been deleted."), n + 1); + break; + case 'I': + script_read(cxt); + break; + case 'O': + script_write(cxt); + break; + case 'l': + list_partition_types(cxt); + break; + case 'n': + { + size_t partno; + rc = fdisk_add_partition(cxt, NULL, &partno); + if (!rc) + rc = ask_for_wipe(cxt, partno); + break; + } + case 't': + change_partition_type(cxt); + break; + case 'u': + fdisk_set_unit(cxt, + fdisk_use_cylinders(cxt) ? "sectors" : + "cylinders"); + if (fdisk_use_cylinders(cxt)) + fdisk_info(cxt, _("Changing display/entry units to cylinders (DEPRECATED!).")); + else + fdisk_info(cxt, _("Changing display/entry units to sectors.")); + break; + case 'x': + fdisk_enable_details(cxt, 1); + break; + case 'r': + /* return from nested BSD to DOS */ + if (fdisk_get_parent(cxt)) { + *cxt0 = fdisk_get_parent(cxt); + + fdisk_info(cxt, _("Leaving nested disklabel.")); + fdisk_unref_context(cxt); + } + break; + } + + return rc; +} + + +/* + * This is fdisk frontend for GPT specific libfdisk functions that + * are not exported by generic libfdisk API. + */ +static int gpt_menu_cb(struct fdisk_context **cxt0, + const struct menu *menu __attribute__((__unused__)), + const struct menu_entry *ent) +{ + struct fdisk_context *cxt = *cxt0; + struct fdisk_context *mbr; + struct fdisk_partition *pa = NULL; + size_t n; + int rc = 0; + uintmax_t length = 0; + + assert(cxt); + assert(ent); + assert(fdisk_is_label(cxt, GPT)); + + DBG(MENU, ul_debug("enter GPT menu")); + + if (ent->expert) { + switch (ent->key) { + case 'i': + return fdisk_set_disklabel_id(cxt); + case 'l': + rc = fdisk_ask_number(cxt, 1, fdisk_get_npartitions(cxt), + ~(uint32_t)0, _("New maximum entries"), &length); + if (rc) + return rc; + return fdisk_gpt_set_npartitions(cxt, (uint32_t) length); + case 'M': + mbr = fdisk_new_nested_context(cxt, "dos"); + if (!mbr) + return -ENOMEM; + *cxt0 = cxt = mbr; + if (fdisk_is_details(cxt)) + fdisk_enable_details(cxt, 1); /* keep us in expert mode */ + fdisk_info(cxt, _("Entering protective/hybrid MBR disklabel.")); + return 0; + } + + /* actions where is necessary partnum */ + rc = fdisk_ask_partnum(cxt, &n, FALSE); + if (rc) + return rc; + + switch(ent->key) { + case 'u': + pa = fdisk_new_partition(); /* new template */ + if (!pa) + rc = -ENOMEM; + else { + char *str = NULL; + rc = fdisk_ask_string(cxt, _("New UUID (in 8-4-4-4-12 format)"), &str); + if (!rc) + rc = fdisk_partition_set_uuid(pa, str); + if (!rc) + rc = fdisk_set_partition(cxt, n, pa); + free(str); + fdisk_unref_partition(pa); + } + break; + case 'n': + pa = fdisk_new_partition(); /* new template */ + if (!pa) + rc = -ENOMEM; + else { + char *str = NULL; + rc = fdisk_ask_string(cxt, _("New name"), &str); + if (!rc) + rc = fdisk_partition_set_name(pa, str); + if (!rc) + rc = fdisk_set_partition(cxt, n, pa); + free(str); + fdisk_unref_partition(pa); + } + break; + case 'A': + rc = fdisk_toggle_partition_flag(cxt, n, GPT_FLAG_LEGACYBOOT); + break; + case 'B': + rc = fdisk_toggle_partition_flag(cxt, n, GPT_FLAG_NOBLOCK); + break; + case 'R': + rc = fdisk_toggle_partition_flag(cxt, n, GPT_FLAG_REQUIRED); + break; + case 'S': + rc = fdisk_toggle_partition_flag(cxt, n, GPT_FLAG_GUIDSPECIFIC); + break; + } + } + + return rc; +} + + +/* + * This is fdisk frontend for MBR specific libfdisk functions that + * are not exported by generic libfdisk API. + */ +static int dos_menu_cb(struct fdisk_context **cxt0, + const struct menu *menu __attribute__((__unused__)), + const struct menu_entry *ent) +{ + struct fdisk_context *cxt = *cxt0; + int rc = 0; + + DBG(MENU, ul_debug("enter DOS menu")); + + if (!ent->expert) { + switch (ent->key) { + case 'a': + { + size_t n; + rc = fdisk_ask_partnum(cxt, &n, FALSE); + if (!rc) + rc = fdisk_toggle_partition_flag(cxt, n, DOS_FLAG_ACTIVE); + break; + } + case 'b': + { + struct fdisk_context *bsd + = fdisk_new_nested_context(cxt, "bsd"); + if (!bsd) + return -ENOMEM; + if (!fdisk_has_label(bsd)) + rc = fdisk_create_disklabel(bsd, "bsd"); + if (rc) + fdisk_unref_context(bsd); + else { + *cxt0 = cxt = bsd; + fdisk_info(cxt, _("Entering nested BSD disklabel.")); + } + break; + } + case 'c': + toggle_dos_compatibility_flag(cxt); + break; + } + return rc; + } + + /* expert mode */ + switch (ent->key) { + case 'b': + { + size_t n; + rc = fdisk_ask_partnum(cxt, &n, FALSE); + if (!rc) + rc = fdisk_dos_move_begin(cxt, n); + break; + } + case 'i': + rc = fdisk_set_disklabel_id(cxt); + break; + case 'M': + /* return from nested MBR to GPT */ + if (fdisk_get_parent(cxt)) { + *cxt0 = fdisk_get_parent(cxt); + + fdisk_info(cxt, _("Leaving nested disklabel.")); + fdisk_unref_context(cxt); + } + break; + } + return rc; +} + +static int sun_menu_cb(struct fdisk_context **cxt0, + const struct menu *menu __attribute__((__unused__)), + const struct menu_entry *ent) +{ + struct fdisk_context *cxt = *cxt0; + int rc = 0; + + DBG(MENU, ul_debug("enter SUN menu")); + + assert(cxt); + assert(ent); + assert(fdisk_is_label(cxt, SUN)); + + DBG(MENU, ul_debug("enter SUN menu")); + + /* normal mode */ + if (!ent->expert) { + size_t n; + + rc = fdisk_ask_partnum(cxt, &n, FALSE); + if (rc) + return rc; + switch (ent->key) { + case 'a': + rc = fdisk_toggle_partition_flag(cxt, n, SUN_FLAG_RONLY); + break; + case 'c': + rc = fdisk_toggle_partition_flag(cxt, n, SUN_FLAG_UNMNT); + break; + } + return rc; + } + + /* expert mode */ + switch (ent->key) { + case 'a': + rc = fdisk_sun_set_alt_cyl(cxt); + break; + case 'e': + rc = fdisk_sun_set_xcyl(cxt); + break; + case 'i': + rc = fdisk_sun_set_ilfact(cxt); + break; + case 'o': + rc = fdisk_sun_set_rspeed(cxt); + break; + case 'y': + rc = fdisk_sun_set_pcylcount(cxt); + break; + } + return rc; +} + +static int sgi_menu_cb(struct fdisk_context **cxt0, + const struct menu *menu __attribute__((__unused__)), + const struct menu_entry *ent) +{ + struct fdisk_context *cxt = *cxt0; + int rc = -EINVAL; + size_t n = 0; + + DBG(MENU, ul_debug("enter SGI menu")); + + assert(cxt); + assert(ent); + assert(fdisk_is_label(cxt, SGI)); + + if (ent->expert) + return rc; + + switch (ent->key) { + case 'a': + rc = fdisk_ask_partnum(cxt, &n, FALSE); + if (!rc) + rc = fdisk_toggle_partition_flag(cxt, n, SGI_FLAG_BOOT); + break; + case 'b': + fdisk_sgi_set_bootfile(cxt); + break; + case 'c': + rc = fdisk_ask_partnum(cxt, &n, FALSE); + if (!rc) + rc = fdisk_toggle_partition_flag(cxt, n, SGI_FLAG_SWAP); + break; + case 'i': + rc = fdisk_sgi_create_info(cxt); + break; + } + + return rc; +} + +/* + * This is fdisk frontend for BSD specific libfdisk functions that + * are not exported by generic libfdisk API. + */ +static int bsd_menu_cb(struct fdisk_context **cxt0, + const struct menu *menu __attribute__((__unused__)), + const struct menu_entry *ent) +{ + struct fdisk_context *cxt = *cxt0; + int rc = 0, org; + + assert(cxt); + assert(ent); + assert(fdisk_is_label(cxt, BSD)); + + DBG(MENU, ul_debug("enter BSD menu")); + + switch(ent->key) { + case 'e': + rc = fdisk_bsd_edit_disklabel(cxt); + break; + case 'i': + rc = fdisk_bsd_write_bootstrap(cxt); + break; + case 's': + org = fdisk_is_details(cxt); + + fdisk_enable_details(cxt, 1); + list_disklabel(cxt); + fdisk_enable_details(cxt, org); + break; + case 'x': + rc = fdisk_bsd_link_partition(cxt); + break; + } + return rc; +} + +/* C/H/S commands + * + * The geometry setting from this dialog is not persistent and maybe reset by + * fdisk_reset_device_properties() (for example when you create a new disk + * label). Note that on command line specified -C/-H/-S setting is persistent + * as it's based on fdisk_save_user_geometry(). + */ +static int geo_menu_cb(struct fdisk_context **cxt0, + const struct menu *menu __attribute__((__unused__)), + const struct menu_entry *ent) +{ + struct fdisk_context *cxt = *cxt0; + struct fdisk_label *lb = fdisk_get_label(cxt, NULL); + int rc = -EINVAL; + uintmax_t c = 0, h = 0, s = 0; + fdisk_sector_t mi, ma; + + DBG(MENU, ul_debug("enter GEO menu")); + + assert(cxt); + assert(ent); + + /* default */ + if (!lb) + lb = fdisk_get_label(cxt, "dos"); + + switch (ent->key) { + case 'c': + fdisk_label_get_geomrange_cylinders(lb, &mi, &ma); + rc = fdisk_ask_number(cxt, mi, fdisk_get_geom_cylinders(cxt), + ma, _("Number of cylinders"), &c); + break; + case 'h': + { + unsigned int i, a; + fdisk_label_get_geomrange_heads(lb, &i, &a); + rc = fdisk_ask_number(cxt, i, fdisk_get_geom_heads(cxt), + a, _("Number of heads"), &h); + break; + } + case 's': + fdisk_label_get_geomrange_sectors(lb, &mi, &ma); + rc = fdisk_ask_number(cxt, mi, fdisk_get_geom_sectors(cxt), + ma, _("Number of sectors"), &s); + break; + } + + if (!rc) + fdisk_override_geometry(cxt, c, h, s); + return rc; +} + +static int createlabel_menu_cb(struct fdisk_context **cxt0, + const struct menu *menu __attribute__((__unused__)), + const struct menu_entry *ent) +{ + struct fdisk_context *cxt = *cxt0; + int rc = -EINVAL; + + DBG(MENU, ul_debug("enter Create label menu")); + + assert(cxt); + assert(ent); + + if (ent->expert) { + switch (ent->key) { + case 'g': + /* Deprecated, use 'G' in main menu, just for backward + * compatibility only. */ + rc = fdisk_create_disklabel(cxt, "sgi"); + break; + } + } else { + switch (ent->key) { + case 'g': + rc = fdisk_create_disklabel(cxt, "gpt"); + break; + case 'G': + rc = fdisk_create_disklabel(cxt, "sgi"); + break; + case 'o': + rc = fdisk_create_disklabel(cxt, "dos"); + break; + case 's': + rc = fdisk_create_disklabel(cxt, "sun"); + break; + } + } + + if (rc == 0 && fdisk_get_collision(cxt)) + follow_wipe_mode(cxt); + + return rc; +} diff --git a/disk-utils/fdisk.8 b/disk-utils/fdisk.8 new file mode 100644 index 0000000..430c96c --- /dev/null +++ b/disk-utils/fdisk.8 @@ -0,0 +1,371 @@ +.\" Copyright 1992, 1993 Rickard E. Faith (faith@cs.unc.edu) +.\" Copyright 1998 Andries E. Brouwer (aeb@cwi.nl) +.\" Copyright 2012 Davidlohr Bueso +.\" Copyright (C) 2013 Karel Zak +.\" May be distributed under the GNU General Public License +.TH FDISK 8 "February 2016" "util-linux" "System Administration" + +.SH NAME +fdisk \- manipulate disk partition table + +.SH SYNOPSIS +.B fdisk +[options] +.I device +.sp +.B fdisk \-l +.RI [ device ...] + +.SH DESCRIPTION +.B fdisk +is a dialog-driven program for creation and manipulation of partition tables. +It understands GPT, MBR, Sun, SGI and BSD partition tables. + +Block devices can be divided into one or more logical disks called +.IR partitions . +This division is recorded in the +.IR "partition table" , +usually found in sector 0 of the disk. +(In the BSD world one talks about `disk slices' and a `disklabel'.) + +All partitioning is driven by device I/O limits (the topology) by default. +.B fdisk +is able to optimize the disk layout for a 4K-sector size and use an alignment offset on +modern devices for MBR and GPT. It is always a good idea to follow \fBfdisk\fR's defaults +as the default values (e.g. first and last partition sectors) and partition +sizes specified by the +/-{M,G,...} notation are always aligned according +to the device properties. + +Note that +.BR partx (8) +provides a rich interface for scripts to print disk layouts, +.B fdisk +is mostly designed for humans. Backward compatibility in the output of +.B fdisk +is not guaranteed. The input (the commands) should always be backward compatible. + +.SH OPTIONS +.TP +\fB\-b\fR, \fB\-\-sector\-size\fR \fIsectorsize\fP +Specify the sector size of the disk. Valid values are 512, 1024, 2048, and 4096. +(Recent kernels know the sector size. Use this option only on old kernels or +to override the kernel's ideas.) Since util-linux-2.17, \fBfdisk\fR differentiates +between logical and physical sector size. This option changes both sector sizes to +.IB sectorsize . +.TP +\fB\-B\fR, \fB\-\-protect\-boot\fP +Don't erase the begin of the first disk sector when create a new disk label. This +feature is supported for GPT and MBR. +.TP +\fB\-c\fR, \fB\-\-compatibility\fR[=\fImode\fR] +Specify the compatibility mode, 'dos' or 'nondos'. The default is non-DOS +mode. For backward compatibility, it is possible to use the option without +the \fImode\fR argument -- then the default is used. Note that the optional +\fImode\fR argument cannot be separated from the \fB-c\fR option by a space, +the correct form is for example '-c=dos'. +.TP +\fB\-h\fR, \fB\-\-help\fR +Display a help text and exit. +.TP +\fB\-L\fR, \fB\-\-color\fR[=\fIwhen\fR] +Colorize the output. The optional argument \fIwhen\fP +can be \fBauto\fR, \fBnever\fR or \fBalways\fR. If the \fIwhen\fR argument is omitted, +it defaults to \fBauto\fR. The colors can be disabled; for the current built-in default +see the \fB\-\-help\fR output. See also the \fBCOLORS\fR section. +.TP +\fB\-l\fR, \fB\-\-list\fR +List the partition tables for the specified devices and then exit. +If no devices are given, those mentioned in +.I /proc/partitions +(if that file exists) are used. +.TP +.BR \-o , " \-\-output " \fIlist\fP +Specify which output columns to print. Use +.B \-\-help +to get a list of all supported columns. + +The default list of columns may be extended if \fIlist\fP is +specified in the format \fI+list\fP (e.g. \fB-o +UUID\fP). +.TP +\fB\-s\fR, \fB\-\-getsz\fR +Print the size in 512-byte sectors of each given block device. This option is DEPRECATED +in favour of +.BR blockdev (1). +.TP +\fB\-t\fR, \fB\-\-type\fR \fItype\fR +Enable support only for disklabels of the specified \fItype\fP, and disable +support for all other types. +.TP +\fB\-u\fR, \fB\-\-units\fR[=\fIunit\fR] +When listing partition tables, show sizes in 'sectors' or in 'cylinders'. The +default is to show sizes in sectors. For backward compatibility, it is possible +to use the option without the \fIunit\fR argument -- then the default is used. +Note that the optional \fIunit\fR argument cannot be separated from the \fB-u\fR +option by a space, the correct form is for example '-u=cylinders'. + +.TP +\fB\-C\fR, \fB\-\-cylinders\fR \fInumber\fR +Specify the number of cylinders of the disk. +I have no idea why anybody would want to do so. +.TP +\fB\-H\fR, \fB\-\-heads\fR \fInumber\fR +Specify the number of heads of the disk. (Not the physical number, +of course, but the number used for partition tables.) +Reasonable values are 255 and 16. +.TP +\fB\-S\fR, \fB\-\-sectors\fR \fInumber\fR +Specify the number of sectors per track of the disk. +(Not the physical number, of course, but the number used for +partition tables.) A reasonable value is 63. + +.TP +\fB\-w\fR, \fB\-\-wipe\fR \fIwhen\fR +Wipe filesystem, RAID and partition-table signatures from the device, in order +to avoid possible collisions. The argument \fIwhen\fR can be \fBauto\fR, +\fBnever\fR or \fBalways\fR. When this option is not given, the default is +\fBauto\fR, in which case signatures are wiped only when in interactive mode. +In all cases detected signatures are reported by warning messages +before a new partition table is created. See also +.BR wipefs (8) +command. + +.TP +\fB\-W\fR, \fB\-\-wipe-partition\fR \fIwhen\fR +Wipe filesystem, RAID and partition-table signatures from a newly created +partitions, in order to avoid possible collisions. The argument \fIwhen\fR can +be \fBauto\fR, \fBnever\fR or \fBalways\fR. When this option is not given, the +default is \fBauto\fR, in which case signatures are wiped only when in +interactive mode and after confirmation by user. In all cases detected +signatures are reported by warning messages before a new partition is +created. See also +.BR wipefs (8) +command. + +.TP +\fB\-V\fR, \fB\-\-version\fR +Display version information and exit. + +.SH DEVICES +The +.I device +is usually /dev/sda, /dev/sdb or so. A device name refers to the entire disk. +Old systems without libata (a library used inside the Linux kernel to support +ATA host controllers and devices) make a difference between IDE and SCSI disks. +In such cases the device name will be /dev/hd* (IDE) or /dev/sd* (SCSI). + +The +.I partition +is a device name followed by a partition number. For example, /dev/sda1 is the +first partition on the first hard disk in the system. See also Linux kernel +documentation (the Documentation/devices.txt file). + +.SH SIZES +The "last sector" dialog accepts partition size specified by number of sectors +or by +/-{K,B,M,G,...} notation. + +If the size is prefixed by '+' then it is interpreted as relative to the +partition first sector. If the size is prefixed by '-' then it is interpreted +as relative to the high limit (last available sector for the partition). + +In the case the size is specified in bytes than the number may be followed by +the multiplicative suffixes KiB=1024, MiB=1024*1024, and so on for GiB, TiB, +PiB, EiB, ZiB and YiB. The "iB" is optional, e.g. "K" has the same meaning as +"KiB". + +The relative sizes are always aligned according to device I/O limits. The ++/-{K,B,M,G,...} notation is recommended. + +For backward compatibility fdisk also accepts the suffixes KB=1000, +MB=1000*1000, and so on for GB, TB, PB, EB, ZB and YB. These 10^N suffixes +are deprecated. + +.SH SCRIPT FILES +.B fdisk +allows to read (by 'I' command) sfdisk compatible script files. The script is +applied to in-memory partition table, and then it is possible to modify the +partition table before you write it to the device. +.PP +And vice-versa it is possible to write the current in-memory disk layout +to the script file by command 'O'. +.PP +The script files are compatible between cfdisk, sfdisk, fdisk and another +libfdisk applications. For more details see +.BR sfdisk (8). + +.SH DISK LABELS +.B GPT (GUID Partition Table) +.RS +GPT is modern standard for the layout of the partition table. GPT uses 64-bit +logical block addresses, checksums, UUIDs and names for partitions and an +unlimited number of partitions (although the number of partitions is +usually restricted to 128 in many partitioning tools). + +Note that the first sector is still reserved for a +.B protective MBR +in the GPT specification. It prevents MBR-only partitioning tools +from mis-recognizing and overwriting GPT disks. + +GPT is always a better choice than MBR, especially on modern hardware with a UEFI +boot loader. +.RE + +.B DOS-type (MBR) +.RS +A DOS-type partition table can describe an unlimited number of partitions. In sector 0 +there is room for the description of 4 partitions (called `primary'). One of +these may be an extended partition; this is a box holding logical partitions, +with descriptors found in a linked list of sectors, each preceding the +corresponding logical partitions. The four primary partitions, present or not, +get numbers 1-4. Logical partitions are numbered starting from 5. + +In a DOS-type partition table the starting offset and the size of each +partition is stored in two ways: as an absolute number of sectors (given in 32 +bits), and as a +.B Cylinders/Heads/Sectors +triple (given in 10+8+6 bits). The former is OK -- with 512-byte sectors this +will work up to 2 TB. The latter has two problems. First, these C/H/S fields +can be filled only when the number of heads and the number of sectors per track +are known. And second, even if we know what these numbers should be, the 24 +bits that are available do not suffice. DOS uses C/H/S only, Windows uses +both, Linux never uses C/H/S. The +.B C/H/S addressing is deprecated +and may be unsupported in some later fdisk version. + +.B Please, read the DOS-mode section if you want DOS-compatible partitions. +.B fdisk +does not care about cylinder boundaries by default. +.RE + +.B BSD/Sun-type +.RS +A BSD/Sun disklabel can describe 8 partitions, the third of which should be a `whole +disk' partition. Do not start a partition that actually uses its first sector +(like a swap partition) at cylinder 0, since that will destroy the disklabel. +Note that a +.B BSD label +is usually nested within a DOS partition. +.RE + +.B IRIX/SGI-type +.RS +An IRIX/SGI disklabel can describe 16 partitions, the eleventh of which should be an entire +`volume' partition, while the ninth should be labeled `volume header'. The +volume header will also cover the partition table, i.e., it starts at block +zero and extends by default over five cylinders. The remaining space in the +volume header may be used by header directory entries. No partitions may +overlap with the volume header. Also do not change its type or make some +filesystem on it, since you will lose the partition table. Use this type of +label only when working with Linux on IRIX/SGI machines or IRIX/SGI disks under +Linux. +.RE + +A sync() and an ioctl(BLKRRPART) (rereading the partition table from disk) +are performed before exiting when the partition table has been updated. + +.SH "DOS mode and DOS 6.x WARNING" +.B Note that all this is deprecated. You don't have to care about things like +.B geometry and cylinders on modern operating systems. If you really want +.B DOS-compatible partitioning then you have to enable DOS mode and cylinder +.B units by using the '-c=dos -u=cylinders' fdisk command-line options. + +The DOS 6.x FORMAT command looks for some information in the first sector of +the data area of the partition, and treats this information as more reliable +than the information in the partition table. DOS FORMAT expects DOS FDISK to +clear the first 512 bytes of the data area of a partition whenever a size +change occurs. DOS FORMAT will look at this extra information even if the /U +flag is given -- we consider this a bug in DOS FORMAT and DOS FDISK. + +The bottom line is that if you use \fBfdisk\fR or \fBcfdisk\fR to change the +size of a DOS partition table entry, then you must also use +.BR dd "(1) to " "zero the first 512 bytes" +of that partition before using DOS FORMAT to format the partition. For +example, if you were using \fBfdisk\fR to make a DOS partition table entry for +/dev/sda1, then (after exiting \fBfdisk\fR and rebooting Linux so that the +partition table information is valid) you would use the command "dd +if=/dev/zero of=/dev/sda1 bs=512 count=1" to zero the first 512 bytes of the +partition. + +.B fdisk +usually obtains the disk geometry automatically. This is not necessarily the +physical disk geometry (indeed, modern disks do not really have anything like a +physical geometry, certainly not something that can be described in the simplistic +Cylinders/Heads/Sectors form), but it is the disk geometry that MS-DOS uses for +the partition table. + +Usually all goes well by default, and there are no problems if Linux is the +only system on the disk. However, if the disk has to be shared with other +operating systems, it is often a good idea to let an fdisk from another +operating system make at least one partition. When Linux boots it looks at the +partition table, and tries to deduce what (fake) geometry is required for good +cooperation with other systems. + +Whenever a partition table is printed out in DOS mode, a consistency check is +performed on the partition table entries. This check verifies that the +physical and logical start and end points are identical, and that each +partition starts and ends on a cylinder boundary (except for the first +partition). + +Some versions of MS-DOS create a first partition which does not begin +on a cylinder boundary, but on sector 2 of the first cylinder. +Partitions beginning in cylinder 1 cannot begin on a cylinder boundary, but +this is unlikely to cause difficulty unless you have OS/2 on your machine. + +For best results, you should always use an OS-specific partition table +program. For example, you should make DOS partitions with the DOS FDISK +program and Linux partitions with the Linux fdisk or Linux cfdisk programs. +.SH COLORS +Implicit coloring can be disabled by an empty file \fI/etc/terminal-colors.d/fdisk.disable\fR. + +See +.BR terminal-colors.d (5) +for more details about colorization configuration. The logical color names +supported by +.B fdisk +are: +.TP +.B header +The header of the output tables. +.TP +.B help-title +The help section titles. +.TP +.B warn +The warning messages. +.TP +.B welcome +The welcome message. + +.SH AUTHORS +.MT kzak@redhat.com +Karel Zak +.ME +.br +.MT dave@gnu.org +Davidlohr Bueso +.ME +.br +.PP +The original version was written by +Andries E. Brouwer, A. V. Le Blanc and others. + +.SH ENVIRONMENT +.IP FDISK_DEBUG=all +enables fdisk debug output. +.IP LIBFDISK_DEBUG=all +enables libfdisk debug output. +.IP LIBBLKID_DEBUG=all +enables libblkid debug output. +.IP LIBSMARTCOLS_DEBUG=all +enables libsmartcols debug output. +.IP LIBSMARTCOLS_DEBUG_PADDING=on +use visible padding characters. Requires enabled LIBSMARTCOLS_DEBUG. + +.SH "SEE ALSO" +.BR cfdisk (8), +.BR mkfs (8), +.BR partx (8), +.BR sfdisk (8) + +.SH AVAILABILITY +The fdisk command is part of the util-linux package and is available from +https://www.kernel.org/pub/linux/utils/util-linux/. diff --git a/disk-utils/fdisk.c b/disk-utils/fdisk.c new file mode 100644 index 0000000..ed4db8b --- /dev/null +++ b/disk-utils/fdisk.c @@ -0,0 +1,1097 @@ +/* + * Copyright (C) 1992 A. V. Le Blanc (LeBlanc@mcc.ac.uk) + * Copyright (C) 2012 Davidlohr Bueso + * + * Copyright (C) 2007-2013 Karel Zak + * + * This program is free software. You can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation: either version 1 or + * (at your option) any later version. + */ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef HAVE_LIBREADLINE +# define _FUNCTION_DEF +# include +#endif + +#include "c.h" +#include "xalloc.h" +#include "all-io.h" +#include "nls.h" +#include "rpmatch.h" +#include "blkdev.h" +#include "mbsalign.h" +#include "pathnames.h" +#include "canonicalize.h" +#include "strutils.h" +#include "closestream.h" +#include "pager.h" + +#include "fdisk.h" + +#include "pt-sun.h" /* to toggle flags */ + +#ifdef HAVE_LINUX_COMPILER_H +# include +#endif +#ifdef HAVE_LINUX_BLKPG_H +# include +#endif + +int pwipemode = WIPEMODE_AUTO; +int device_is_used; +int is_interactive; +struct fdisk_table *original_layout; + +static int wipemode = WIPEMODE_AUTO; + +/* + * fdisk debug stuff (see fdisk.h and include/debug.h) + */ +UL_DEBUG_DEFINE_MASK(fdisk); +UL_DEBUG_DEFINE_MASKNAMES(fdisk) = UL_DEBUG_EMPTY_MASKNAMES; + +static void fdiskprog_init_debug(void) +{ + __UL_INIT_DEBUG_FROM_ENV(fdisk, FDISKPROG_DEBUG_, 0, FDISK_DEBUG); +} + +static void reply_sighandler(int sig __attribute__((unused))) +{ + DBG(ASK, ul_debug("got signal")); +} + +static int reply_running; + +#ifdef HAVE_LIBREADLINE +static char *reply_line; + +static void reply_linehandler(char *line) +{ + reply_line = line; + reply_running = 0; + rl_callback_handler_remove(); /* avoid duplicate prompt */ +} +#endif + +int get_user_reply(const char *prompt, char *buf, size_t bufsz) +{ + struct sigaction oldact, act = { + .sa_handler = reply_sighandler + }; + struct pollfd fds[] = { + { .fd = fileno(stdin), .events = POLLIN } + }; + size_t sz; + int ret = 0; + + DBG(ASK, ul_debug("asking for user reply %s", is_interactive ? "[interactive]" : "")); + + sigemptyset(&act.sa_mask); + sigaction(SIGINT, &act, &oldact); + +#ifdef HAVE_LIBREADLINE + if (is_interactive) + rl_callback_handler_install(prompt, reply_linehandler); +#endif + reply_running = 1; + do { + int rc; + + *buf = '\0'; +#ifdef HAVE_LIBREADLINE + if (!is_interactive) +#endif + { + fputs(prompt, stdout); + fflush(stdout); + } + + rc = poll(fds, 1, -1); + if (rc == -1 && errno == EINTR) { /* interrupted by signal */ + DBG(ASK, ul_debug("cancel by CTRL+C")); + ret = -ECANCELED; + goto done; + } + if (rc == -1 && errno != EAGAIN) { /* error */ + ret = -errno; + goto done; + } +#ifdef HAVE_LIBREADLINE + if (is_interactive) { + /* read input and copy to buf[] */ + rl_callback_read_char(); + if (!reply_running && reply_line) { + sz = strlen(reply_line); + if (sz == 0) + buf[sz++] = '\n'; + else + memcpy(buf, reply_line, min(sz, bufsz)); + buf[min(sz, bufsz - 1)] = '\0'; + free(reply_line); + reply_line = NULL; + } + } else +#endif + { + if (!fgets(buf, bufsz, stdin)) + *buf = '\0'; + break; + } + } while (reply_running); + + if (!*buf) { + DBG(ASK, ul_debug("cancel by CTRL+D")); + ret = -ECANCELED; + goto done; + } + + /* + * cleanup the reply + */ + sz = ltrim_whitespace((unsigned char *) buf); + if (sz && *(buf + sz - 1) == '\n') + *(buf + sz - 1) = '\0'; + + DBG(ASK, ul_debug("user's reply: >>>%s<<<", buf)); +done: +#ifdef HAVE_LIBREADLINE + if (is_interactive) + rl_callback_handler_remove(); +#endif + sigaction(SIGINT, &oldact, NULL); + return ret; +} + +static int ask_menu(struct fdisk_context *cxt, struct fdisk_ask *ask, + char *buf, size_t bufsz) + +{ + const char *q = fdisk_ask_get_query(ask); + int dft = fdisk_ask_menu_get_default(ask); + + if (q) { + fputs(q, stdout); /* print header */ + fputc('\n', stdout); + } + + do { + char prompt[128]; + int key, c, rc; + const char *name, *desc; + size_t i = 0; + + /* print menu items */ + while (fdisk_ask_menu_get_item(ask, i++, &key, &name, &desc) == 0) + fprintf(stdout, " %c %s (%s)\n", key, name, desc); + + /* ask for key */ + snprintf(prompt, sizeof(prompt), _("Select (default %c): "), dft); + rc = get_user_reply(prompt, buf, bufsz); + if (rc) + return rc; + if (!*buf) { + fdisk_info(cxt, _("Using default response %c."), dft); + c = dft; + } else + c = tolower(buf[0]); + + /* check result */ + i = 0; + while (fdisk_ask_menu_get_item(ask, i++, &key, NULL, NULL) == 0) { + if (c == key) { + fdisk_ask_menu_set_result(ask, c); + return 0; /* success */ + } + } + fdisk_warnx(cxt, _("Value out of range.")); + } while (1); + + return -EINVAL; +} + + +#define tochar(num) ((int) ('a' + num - 1)) +static int ask_number(struct fdisk_context *cxt, + struct fdisk_ask *ask, + char *buf, size_t bufsz) +{ + char prompt[128] = { '\0' }; + const char *q = fdisk_ask_get_query(ask); + const char *range = fdisk_ask_number_get_range(ask); + + uint64_t dflt = fdisk_ask_number_get_default(ask), + low = fdisk_ask_number_get_low(ask), + high = fdisk_ask_number_get_high(ask); + int inchar = fdisk_ask_number_inchars(ask); + + assert(q); + + DBG(ASK, ul_debug("asking for number " + "['%s', <%"PRIu64",%"PRIu64">, default=%"PRIu64", range: %s]", + q, low, high, dflt, range)); + + if (range && dflt >= low && dflt <= high) { + if (inchar) + snprintf(prompt, sizeof(prompt), _("%s (%s, default %c): "), + q, range, tochar(dflt)); + else + snprintf(prompt, sizeof(prompt), _("%s (%s, default %"PRIu64"): "), + q, range, dflt); + + } else if (dflt >= low && dflt <= high) { + if (inchar) + snprintf(prompt, sizeof(prompt), _("%s (%c-%c, default %c): "), + q, tochar(low), tochar(high), tochar(dflt)); + else + snprintf(prompt, sizeof(prompt), + _("%s (%"PRIu64"-%"PRIu64", default %"PRIu64"): "), + q, low, high, dflt); + } else if (inchar) + snprintf(prompt, sizeof(prompt), _("%s (%c-%c): "), + q, tochar(low), tochar(high)); + else + snprintf(prompt, sizeof(prompt), _("%s (%"PRIu64"-%"PRIu64"): "), + q, low, high); + + do { + int rc = get_user_reply(prompt, buf, bufsz); + uint64_t num = 0; + + if (rc) + return rc; + if (!*buf && dflt >= low && dflt <= high) + return fdisk_ask_number_set_result(ask, dflt); + + if (isdigit_string(buf)) { + char *end; + + errno = 0; + num = strtoumax(buf, &end, 10); + if (errno || buf == end || (end && *end)) + continue; + } else if (inchar && isalpha(*buf)) { + num = tolower(*buf) - 'a' + 1; + } else + rc = -EINVAL; + + if (rc == 0 && num >= low && num <= high) + return fdisk_ask_number_set_result(ask, num); + + fdisk_warnx(cxt, _("Value out of range.")); + } while (1); + + return -1; +} + +static int ask_offset(struct fdisk_context *cxt, + struct fdisk_ask *ask, + char *buf, size_t bufsz) +{ + char prompt[128] = { '\0' }; + const char *q = fdisk_ask_get_query(ask); + const char *range = fdisk_ask_number_get_range(ask); + + uint64_t dflt = fdisk_ask_number_get_default(ask), + low = fdisk_ask_number_get_low(ask), + high = fdisk_ask_number_get_high(ask), + base = fdisk_ask_number_get_base(ask); + + assert(q); + + DBG(ASK, ul_debug("asking for offset ['%s', <%"PRIu64",%"PRIu64">, base=%"PRIu64", default=%"PRIu64", range: %s]", + q, low, high, base, dflt, range)); + + if (range && dflt >= low && dflt <= high) + snprintf(prompt, sizeof(prompt), _("%s (%s, default %"PRIu64"): "), + q, range, dflt); + else if (dflt >= low && dflt <= high) + snprintf(prompt, sizeof(prompt), + _("%s (%"PRIu64"-%"PRIu64", default %"PRIu64"): "), + q, low, high, dflt); + else + snprintf(prompt, sizeof(prompt), _("%s (%"PRIu64"-%"PRIu64"): "), + q, low, high); + + do { + uintmax_t num = 0; + char sig = 0, *p; + int pwr = 0; + + int rc = get_user_reply(prompt, buf, bufsz); + if (rc) + return rc; + if (!*buf && dflt >= low && dflt <= high) + return fdisk_ask_number_set_result(ask, dflt); + + p = buf; + if (*p == '+' || *p == '-') { + sig = *buf; + p++; + } + + rc = parse_size(p, &num, &pwr); + if (rc) + continue; + DBG(ASK, ul_debug("parsed size: %ju", num)); + if (sig && pwr) { + /* +{size}{K,M,...} specified, the "num" is in bytes */ + uint64_t unit = fdisk_ask_number_get_unit(ask); + num += unit/2; /* round */ + num /= unit; + } + if (sig == '+') + num += base; + else if (sig == '-' && fdisk_ask_number_is_wrap_negative(ask)) + num = high - num; + else if (sig == '-') + num = base - num; + + DBG(ASK, ul_debug("final offset: %ju [sig: %c, power: %d, %s]", + num, sig, pwr, + sig ? "relative" : "absolute")); + if (num >= low && num <= high) { + if (sig && pwr) + fdisk_ask_number_set_relative(ask, 1); + return fdisk_ask_number_set_result(ask, (uint64_t)num); + } + fdisk_warnx(cxt, _("Value out of range.")); + } while (1); + + return -1; +} + +static unsigned int info_count; + +static void fputs_info(struct fdisk_ask *ask, FILE *out) +{ + const char *msg; + assert(ask); + + msg = fdisk_ask_print_get_mesg(ask); + if (!msg) + return; + if (info_count == 1) + fputc('\n', out); + + fputs(msg, out); + fputc('\n', out); +} + +int ask_callback(struct fdisk_context *cxt, struct fdisk_ask *ask, + void *data __attribute__((__unused__))) +{ + int rc = 0; + char buf[BUFSIZ]; + + assert(cxt); + assert(ask); + + if (fdisk_ask_get_type(ask) != FDISK_ASKTYPE_INFO) + info_count = 0; + + switch(fdisk_ask_get_type(ask)) { + case FDISK_ASKTYPE_MENU: + return ask_menu(cxt, ask, buf, sizeof(buf)); + case FDISK_ASKTYPE_NUMBER: + return ask_number(cxt, ask, buf, sizeof(buf)); + case FDISK_ASKTYPE_OFFSET: + return ask_offset(cxt, ask, buf, sizeof(buf)); + case FDISK_ASKTYPE_INFO: + if (!fdisk_is_listonly(cxt)) + info_count++; + fputs_info(ask, stdout); + break; + case FDISK_ASKTYPE_WARNX: + fflush(stdout); + color_scheme_fenable("warn", UL_COLOR_RED, stderr); + fputs(fdisk_ask_print_get_mesg(ask), stderr); + color_fdisable(stderr); + fputc('\n', stderr); + break; + case FDISK_ASKTYPE_WARN: + fflush(stdout); + color_scheme_fenable("warn", UL_COLOR_RED, stderr); + fputs(fdisk_ask_print_get_mesg(ask), stderr); + errno = fdisk_ask_print_get_errno(ask); + fprintf(stderr, ": %m\n"); + color_fdisable(stderr); + break; + case FDISK_ASKTYPE_YESNO: + fputc('\n', stdout); + do { + int x; + fputs(fdisk_ask_get_query(ask), stdout); + rc = get_user_reply(_(" [Y]es/[N]o: "), buf, sizeof(buf)); + if (rc) + break; + x = rpmatch(buf); + if (x == RPMATCH_YES || x == RPMATCH_NO) { + fdisk_ask_yesno_set_result(ask, x); + break; + } + } while(1); + DBG(ASK, ul_debug("yes-no ask: reply '%s' [rc=%d]", buf, rc)); + break; + case FDISK_ASKTYPE_STRING: + { + char prmt[BUFSIZ]; + snprintf(prmt, sizeof(prmt), "%s: ", fdisk_ask_get_query(ask)); + fputc('\n', stdout); + rc = get_user_reply(prmt, buf, sizeof(buf)); + if (rc == 0) + fdisk_ask_string_set_result(ask, xstrdup(buf)); + DBG(ASK, ul_debug("string ask: reply '%s' [rc=%d]", buf, rc)); + break; + } + default: + warnx(_("internal error: unsupported dialog type %d"), fdisk_ask_get_type(ask)); + return -EINVAL; + } + return rc; +} + +static struct fdisk_parttype *ask_partition_type(struct fdisk_context *cxt) +{ + const char *q; + struct fdisk_label *lb; + + assert(cxt); + lb = fdisk_get_label(cxt, NULL); + + if (!lb) + return NULL; + + q = fdisk_label_has_code_parttypes(lb) ? + _("Hex code (type L to list all codes): ") : + _("Partition type (type L to list all types): "); + do { + char buf[256]; + int rc = get_user_reply(q, buf, sizeof(buf)); + + if (rc) + break; + + if (buf[1] == '\0' && toupper(*buf) == 'L') + list_partition_types(cxt); + else if (*buf) + return fdisk_label_parse_parttype(lb, buf); + } while (1); + + return NULL; +} + + +void list_partition_types(struct fdisk_context *cxt) +{ + size_t ntypes = 0; + struct fdisk_label *lb; + + assert(cxt); + lb = fdisk_get_label(cxt, NULL); + if (!lb) + return; + ntypes = fdisk_label_get_nparttypes(lb); + if (!ntypes) + return; + + if (fdisk_label_has_code_parttypes(lb)) { + /* + * Prints in 4 columns in format + */ + size_t last[4], done = 0, next = 0, size; + int i; + + size = ntypes; + + for (i = 3; i >= 0; i--) + last[3 - i] = done += (size + i - done) / (i + 1); + i = done = 0; + + do { + #define NAME_WIDTH 15 + char name[NAME_WIDTH * MB_LEN_MAX]; + size_t width = NAME_WIDTH; + const struct fdisk_parttype *t = fdisk_label_get_parttype(lb, next); + size_t ret; + + if (fdisk_parttype_get_name(t)) { + printf("%c%2x ", i ? ' ' : '\n', + fdisk_parttype_get_code(t)); + ret = mbsalign(_(fdisk_parttype_get_name(t)), + name, sizeof(name), + &width, MBS_ALIGN_LEFT, 0); + + if (ret == (size_t)-1 || ret >= sizeof(name)) + printf("%-15.15s", + _(fdisk_parttype_get_name(t))); + else + fputs(name, stdout); + } + + next = last[i++] + done; + if (i > 3 || next >= last[i]) { + i = 0; + next = ++done; + } + } while (done < last[0]); + + } else { + /* + * Prints 1 column in format + */ + size_t i; + + pager_open(); + + for (i = 0; i < ntypes; i++) { + const struct fdisk_parttype *t = fdisk_label_get_parttype(lb, i); + printf("%3zu %-30s %s\n", i + 1, + fdisk_parttype_get_name(t), + fdisk_parttype_get_string(t)); + } + + pager_close(); + } + putchar('\n'); +} + +void toggle_dos_compatibility_flag(struct fdisk_context *cxt) +{ + struct fdisk_label *lb = fdisk_get_label(cxt, "dos"); + int flag; + + if (!lb) + return; + + flag = !fdisk_dos_is_compatible(lb); + fdisk_info(cxt, flag ? + _("DOS Compatibility flag is set (DEPRECATED!)") : + _("DOS Compatibility flag is not set")); + + fdisk_dos_enable_compatible(lb, flag); + + if (fdisk_is_label(cxt, DOS)) + fdisk_reset_alignment(cxt); /* reset the current label */ +} + +void change_partition_type(struct fdisk_context *cxt) +{ + size_t i; + struct fdisk_parttype *t = NULL; + struct fdisk_partition *pa = NULL; + const char *old = NULL; + + assert(cxt); + + if (fdisk_ask_partnum(cxt, &i, FALSE)) + return; + + if (fdisk_get_partition(cxt, i, &pa)) { + fdisk_warnx(cxt, _("Partition %zu does not exist yet!"), i + 1); + return; + } + + t = (struct fdisk_parttype *) fdisk_partition_get_type(pa); + old = t ? fdisk_parttype_get_name(t) : _("Unknown"); + + do { + t = ask_partition_type(cxt); + } while (!t); + + if (fdisk_set_partition_type(cxt, i, t) == 0) + fdisk_info(cxt, + _("Changed type of partition '%s' to '%s'."), + old, t ? fdisk_parttype_get_name(t) : _("Unknown")); + else + fdisk_info(cxt, + _("Type of partition %zu is unchanged: %s."), + i + 1, old); + + fdisk_unref_partition(pa); + fdisk_unref_parttype(t); +} + +int print_partition_info(struct fdisk_context *cxt) +{ + struct fdisk_partition *pa = NULL; + int rc = 0; + size_t i, nfields; + int *fields = NULL; + struct fdisk_label *lb = fdisk_get_label(cxt, NULL); + + if ((rc = fdisk_ask_partnum(cxt, &i, FALSE))) + return rc; + + if ((rc = fdisk_get_partition(cxt, i, &pa))) { + fdisk_warnx(cxt, _("Partition %zu does not exist yet!"), i + 1); + return rc; + } + + if ((rc = fdisk_label_get_fields_ids_all(lb, cxt, &fields, &nfields))) + goto clean_data; + + for (i = 0; i < nfields; ++i) { + int id = fields[i]; + char *data = NULL; + const struct fdisk_field *fd = fdisk_label_get_field(lb, id); + + if (!fd) + continue; + + rc = fdisk_partition_to_string(pa, cxt, id, &data); + if (rc < 0) + goto clean_data; + if (!data || !*data) + continue; + fdisk_info(cxt, "%15s: %s", fdisk_field_get_name(fd), data); + free(data); + } + +clean_data: + fdisk_unref_partition(pa); + free(fields); + return rc; +} + +static size_t skip_empty(const unsigned char *buf, size_t i, size_t sz) +{ + size_t next; + const unsigned char *p0 = buf + i; + + for (next = i + 16; next < sz; next += 16) { + if (memcmp(p0, buf + next, 16) != 0) + break; + } + + return next == i + 16 ? i : next; +} + +static void dump_buffer(off_t base, unsigned char *buf, size_t sz, int all) +{ + size_t i, l, next = 0; + + if (!buf) + return; + for (i = 0, l = 0; i < sz; i++, l++) { + if (l == 0) { + if (all == 0 && !next) + next = skip_empty(buf, i, sz); + printf("%08jx ", (intmax_t)base + i); + } + printf(" %02x", buf[i]); + if (l == 7) /* words separator */ + fputs(" ", stdout); + else if (l == 15) { + fputc('\n', stdout); /* next line */ + l = -1; + if (next > i) { + printf("*\n"); + i = next - 1; + } + next = 0; + } + } + if (l > 0) + printf("\n"); +} + +static void dump_blkdev(struct fdisk_context *cxt, const char *name, + uint64_t offset, size_t size, int all) +{ + int fd = fdisk_get_devfd(cxt); + + fdisk_info(cxt, _("\n%s: offset = %"PRIu64", size = %zu bytes."), + name, offset, size); + + assert(fd >= 0); + + if (lseek(fd, (off_t) offset, SEEK_SET) == (off_t) -1) + fdisk_warn(cxt, _("cannot seek")); + else { + unsigned char *buf = xmalloc(size); + + if (read_all(fd, (char *) buf, size) != (ssize_t) size) + fdisk_warn(cxt, _("cannot read")); + else + dump_buffer(offset, buf, size, all); + free(buf); + } +} + +void dump_firstsector(struct fdisk_context *cxt) +{ + int all = !isatty(STDOUT_FILENO); + + assert(cxt); + + dump_blkdev(cxt, _("First sector"), 0, fdisk_get_sector_size(cxt), all); +} + +void dump_disklabel(struct fdisk_context *cxt) +{ + int all = !isatty(STDOUT_FILENO); + int i = 0; + const char *name = NULL; + uint64_t offset = 0; + size_t size = 0; + + assert(cxt); + + while (fdisk_locate_disklabel(cxt, i++, &name, &offset, &size) == 0 && size) + dump_blkdev(cxt, name, offset, size, all); +} + +static fdisk_sector_t get_dev_blocks(char *dev) +{ + int fd, ret; + fdisk_sector_t size; + + if ((fd = open(dev, O_RDONLY)) < 0) + err(EXIT_FAILURE, _("cannot open %s"), dev); + ret = blkdev_get_sectors(fd, (unsigned long long *) &size); + close(fd); + if (ret < 0) + err(EXIT_FAILURE, _("BLKGETSIZE ioctl failed on %s"), dev); + return size/2; +} + + +void follow_wipe_mode(struct fdisk_context *cxt) +{ + int dowipe = wipemode == WIPEMODE_ALWAYS ? 1 : 0; + + if (isatty(STDIN_FILENO) && wipemode == WIPEMODE_AUTO) + dowipe = 1; /* do it in interactive mode */ + + if (fdisk_is_ptcollision(cxt) && wipemode != WIPEMODE_NEVER) + dowipe = 1; /* always remove old PT */ + + fdisk_enable_wipe(cxt, dowipe); + if (dowipe) + fdisk_warnx(cxt, _( + "The old %s signature will be removed by a write command."), + fdisk_get_collision(cxt)); + else + fdisk_warnx(cxt, _( + "The old %s signature may remain on the device. " + "It is recommended to wipe the device with wipefs(8) or " + "fdisk --wipe, in order to avoid possible collisions."), + fdisk_get_collision(cxt)); +} + +static void __attribute__((__noreturn__)) usage(void) +{ + FILE *out = stdout; + + fputs(USAGE_HEADER, out); + + fprintf(out, + _(" %1$s [options] change partition table\n" + " %1$s [options] -l [] list partition table(s)\n"), + program_invocation_short_name); + + fputs(USAGE_SEPARATOR, out); + fputs(_("Display or manipulate a disk partition table.\n"), out); + + fputs(USAGE_OPTIONS, out); + fputs(_(" -b, --sector-size physical and logical sector size\n"), out); + fputs(_(" -B, --protect-boot don't erase bootbits when creating a new label\n"), out); + fputs(_(" -c, --compatibility[=] mode is 'dos' or 'nondos' (default)\n"), out); + fputs(_(" -L, --color[=] colorize output (auto, always or never)\n"), out); + fprintf(out, + " %s\n", USAGE_COLORS_DEFAULT); + fputs(_(" -l, --list display partitions and exit\n"), out); + fputs(_(" -o, --output output columns\n"), out); + fputs(_(" -t, --type recognize specified partition table type only\n"), out); + fputs(_(" -u, --units[=] display units: 'cylinders' or 'sectors' (default)\n"), out); + fputs(_(" -s, --getsz display device size in 512-byte sectors [DEPRECATED]\n"), out); + fputs(_(" --bytes print SIZE in bytes rather than in human readable format\n"), out); + fputs(_(" -w, --wipe wipe signatures (auto, always or never)\n"), out); + fputs(_(" -W, --wipe-partitions wipe signatures from new partitions (auto, always or never)\n"), out); + + fputs(USAGE_SEPARATOR, out); + fputs(_(" -C, --cylinders specify the number of cylinders\n"), out); + fputs(_(" -H, --heads specify the number of heads\n"), out); + fputs(_(" -S, --sectors specify the number of sectors per track\n"), out); + + fputs(USAGE_SEPARATOR, out); + printf(USAGE_HELP_OPTIONS(31)); + + list_available_columns(out); + + printf(USAGE_MAN_TAIL("fdisk(8)")); + exit(EXIT_SUCCESS); +} + + +enum { + ACT_FDISK = 0, /* default */ + ACT_LIST, + ACT_SHOWSIZE +}; + +int main(int argc, char **argv) +{ + int rc, i, c, act = ACT_FDISK; + int colormode = UL_COLORMODE_UNDEF; + struct fdisk_context *cxt; + char *outarg = NULL; + enum { + OPT_BYTES = CHAR_MAX + 1 + }; + static const struct option longopts[] = { + { "bytes", no_argument, NULL, OPT_BYTES }, + { "color", optional_argument, NULL, 'L' }, + { "compatibility", optional_argument, NULL, 'c' }, + { "cylinders", required_argument, NULL, 'C' }, + { "heads", required_argument, NULL, 'H' }, + { "sectors", required_argument, NULL, 'S' }, + { "getsz", no_argument, NULL, 's' }, + { "help", no_argument, NULL, 'h' }, + { "list", no_argument, NULL, 'l' }, + { "sector-size", required_argument, NULL, 'b' }, + { "type", required_argument, NULL, 't' }, + { "units", optional_argument, NULL, 'u' }, + { "version", no_argument, NULL, 'V' }, + { "output", no_argument, NULL, 'o' }, + { "protect-boot", no_argument, NULL, 'B' }, + { "wipe", required_argument, NULL, 'w' }, + { "wipe-partitions",required_argument, NULL, 'W' }, + { NULL, 0, NULL, 0 } + }; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + fdisk_init_debug(0); + scols_init_debug(0); + fdiskprog_init_debug(); + + cxt = fdisk_new_context(); + if (!cxt) + err(EXIT_FAILURE, _("failed to allocate libfdisk context")); + + fdisk_set_ask(cxt, ask_callback, NULL); + + while ((c = getopt_long(argc, argv, "b:Bc::C:hH:lL::o:sS:t:u::vVw:W:", + longopts, NULL)) != -1) { + switch (c) { + case 'b': + { + size_t sz = strtou32_or_err(optarg, + _("invalid sector size argument")); + if (sz != 512 && sz != 1024 && sz != 2048 && sz != 4096) + errx(EXIT_FAILURE, _("invalid sector size argument")); + fdisk_save_user_sector_size(cxt, sz, sz); + break; + } + case 'B': + fdisk_enable_bootbits_protection(cxt, 1); + break; + case 'C': + fdisk_save_user_geometry(cxt, + strtou32_or_err(optarg, + _("invalid cylinders argument")), + 0, 0); + break; + case 'c': + if (optarg) { + /* this setting is independent on the current + * actively used label + */ + char *p = *optarg == '=' ? optarg + 1 : optarg; + struct fdisk_label *lb = fdisk_get_label(cxt, "dos"); + + if (!lb) + err(EXIT_FAILURE, _("not found DOS label driver")); + if (strcmp(p, "dos") == 0) + fdisk_dos_enable_compatible(lb, TRUE); + else if (strcmp(p, "nondos") == 0) + fdisk_dos_enable_compatible(lb, FALSE); + else + errx(EXIT_FAILURE, _("unknown compatibility mode '%s'"), p); + } + /* use default if no optarg specified */ + break; + case 'H': + fdisk_save_user_geometry(cxt, 0, + strtou32_or_err(optarg, + _("invalid heads argument")), + 0); + break; + case 'S': + fdisk_save_user_geometry(cxt, 0, 0, + strtou32_or_err(optarg, + _("invalid sectors argument"))); + break; + case 'l': + act = ACT_LIST; + break; + case 'L': + colormode = UL_COLORMODE_AUTO; + if (optarg) + colormode = colormode_or_err(optarg, + _("unsupported color mode")); + break; + case 'o': + outarg = optarg; + break; + case 's': + act = ACT_SHOWSIZE; + break; + case 't': + { + struct fdisk_label *lb = NULL; + + while (fdisk_next_label(cxt, &lb) == 0) + fdisk_label_set_disabled(lb, 1); + + lb = fdisk_get_label(cxt, optarg); + if (!lb) + errx(EXIT_FAILURE, _("unsupported disklabel: %s"), optarg); + fdisk_label_set_disabled(lb, 0); + break; + } + case 'u': + if (optarg && *optarg == '=') + optarg++; + if (fdisk_set_unit(cxt, optarg) != 0) + errx(EXIT_FAILURE, _("unsupported unit")); + break; + case 'V': /* preferred for util-linux */ + case 'v': /* for backward compatibility only */ + printf(UTIL_LINUX_VERSION); + return EXIT_SUCCESS; + case 'w': + wipemode = wipemode_from_string(optarg); + if (wipemode < 0) + errx(EXIT_FAILURE, _("unsupported wipe mode")); + break; + case 'W': + pwipemode = wipemode_from_string(optarg); + if (pwipemode < 0) + errx(EXIT_FAILURE, _("unsupported wipe mode")); + break; + case 'h': + usage(); + case OPT_BYTES: + fdisk_set_size_unit(cxt, FDISK_SIZEUNIT_BYTES); + break; + default: + errtryhelp(EXIT_FAILURE); + } + } + + if (argc-optind != 1 && fdisk_has_user_device_properties(cxt)) + warnx(_("The device properties (sector size and geometry) should" + " be used with one specified device only.")); + + colors_init(colormode, "fdisk"); + is_interactive = isatty(STDIN_FILENO); + + switch (act) { + case ACT_LIST: + fdisk_enable_listonly(cxt, 1); + init_fields(cxt, outarg, NULL); + + if (argc > optind) { + int k; + int ct = 0; + + for (rc = 0, k = optind; k < argc; k++) { + if (ct) + fputs("\n\n", stdout); + + rc += print_device_pt(cxt, argv[k], 1, 0); + ct++; + } + if (rc) + return EXIT_FAILURE; + } else + print_all_devices_pt(cxt, 0); + break; + + case ACT_SHOWSIZE: + /* deprecated */ + if (argc - optind <= 0) { + warnx(_("bad usage")); + errtryhelp(EXIT_FAILURE); + } + for (i = optind; i < argc; i++) { + uintmax_t blks = get_dev_blocks(argv[i]); + + if (argc - optind == 1) + printf("%ju\n", blks); + else + printf("%s: %ju\n", argv[i], blks); + } + break; + + case ACT_FDISK: + if (argc-optind != 1) { + warnx(_("bad usage")); + errtryhelp(EXIT_FAILURE); + } + + /* Here starts interactive mode, use fdisk_{warn,info,..} functions */ + color_scheme_enable("welcome", UL_COLOR_GREEN); + fdisk_info(cxt, _("Welcome to fdisk (%s)."), PACKAGE_STRING); + color_disable(); + fdisk_info(cxt, _("Changes will remain in memory only, until you decide to write them.\n" + "Be careful before using the write command.\n")); + + rc = fdisk_assign_device(cxt, argv[optind], 0); + if (rc == -EACCES) { + rc = fdisk_assign_device(cxt, argv[optind], 1); + if (rc == 0) + fdisk_warnx(cxt, _("Device is open in read-only mode.")); + } + if (rc) + err(EXIT_FAILURE, _("cannot open %s"), argv[optind]); + + fflush(stdout); + + if (fdisk_get_collision(cxt)) + follow_wipe_mode(cxt); + + if (!fdisk_has_label(cxt)) { + fdisk_info(cxt, _("Device does not contain a recognized partition table.")); + fdisk_create_disklabel(cxt, NULL); + + } else if (fdisk_is_label(cxt, GPT) && fdisk_gpt_is_hybrid(cxt)) + fdisk_warnx(cxt, _( + "A hybrid GPT was detected. You have to sync " + "the hybrid MBR manually (expert command 'M').")); + + init_fields(cxt, outarg, NULL); /* -o */ + + if (!fdisk_is_readonly(cxt)) { + fdisk_get_partitions(cxt, &original_layout); + device_is_used = fdisk_device_is_used(cxt); + } + + while (1) + process_fdisk_menu(&cxt); + } + + fdisk_unref_context(cxt); + return EXIT_SUCCESS; +} diff --git a/disk-utils/fdisk.h b/disk-utils/fdisk.h new file mode 100644 index 0000000..e1147e2 --- /dev/null +++ b/disk-utils/fdisk.h @@ -0,0 +1,56 @@ +#ifndef UTIL_LINUX_FDISK_H +#define UTIL_LINUX_FDISK_H +/* + * fdisk.h + */ + +#include "c.h" +#include +#include + +/* Let's temporary include private libfdisk header file. The final libfdisk.h + * maybe included when fdisk.c and libfdisk code will be completely spit. + */ +#include "blkdev.h" +#include "colors.h" +#include "debug.h" +#include "nls.h" + +#include "fdisk-list.h" + +#define FDISKPROG_DEBUG_INIT (1 << 1) +#define FDISKPROG_DEBUG_MENU (1 << 3) +#define FDISKPROG_DEBUG_MISC (1 << 4) +#define FDISKPROG_DEBUG_ASK (1 << 5) +#define FDISKPROG_DEBUG_ALL 0xFFFF + +extern int pwipemode; +extern struct fdisk_table *original_layout; +extern int device_is_used; +extern int is_interactive; + +UL_DEBUG_DECLARE_MASK(fdisk); +#define DBG(m, x) __UL_DBG(fdisk, FDISKPROG_DEBUG_, m, x) +#define ON_DBG(m, x) __UL_DBG_CALL(fdisk, FDISKPROG_DEBUG_, m, x) + +extern int get_user_reply(const char *prompt, + char *buf, size_t bufsz); +extern int process_fdisk_menu(struct fdisk_context **cxt); + +extern int ask_callback(struct fdisk_context *cxt, struct fdisk_ask *ask, + void *data __attribute__((__unused__))); + +extern int print_partition_info(struct fdisk_context *cxt); + +/* prototypes for fdisk.c */ +extern void dump_firstsector(struct fdisk_context *cxt); +extern void dump_disklabel(struct fdisk_context *cxt); + +extern void list_partition_types(struct fdisk_context *cxt); +extern void change_partition_type(struct fdisk_context *cxt); + +extern void toggle_dos_compatibility_flag(struct fdisk_context *cxt); + +extern void follow_wipe_mode(struct fdisk_context *cxt); + +#endif /* UTIL_LINUX_FDISK_H */ diff --git a/disk-utils/fsck.8 b/disk-utils/fsck.8 new file mode 100644 index 0000000..90759f2 --- /dev/null +++ b/disk-utils/fsck.8 @@ -0,0 +1,418 @@ +.\" Copyright 1993, 1994, 1995 by Theodore Ts'o. All Rights Reserved. +.\" This file may be copied under the terms of the GNU Public License. +.\" +.TH FSCK 8 "February 2009" "util-linux" "System Administration" +.SH NAME +fsck \- check and repair a Linux filesystem +.SH SYNOPSIS +.B fsck +.RB [ \-lsAVRTMNP ] +.RB [ \-r +.RI [ fd ]] +.RB [ \-C +.RI [ fd ]] +.RB [ \-t +.IR fstype ] +.RI [ filesystem \&...\&] +.RB [ \-\- ] +.RI [ fs-specific-options ] +.SH DESCRIPTION +.B fsck +is used to check and optionally repair one or more Linux filesystems. +.I filesys +can be a device name (e.g. +.IR /dev/hdc1 ", " /dev/sdb2 ), +a mount point (e.g. +.IR / ", " /usr ", " /home ), +or an ext2 label or UUID specifier (e.g. +UUID=8868abf6-88c5-4a83-98b8-bfc24057f7bd or LABEL=root). +Normally, the +.B fsck +program will try to handle filesystems on different physical disk drives +in parallel to reduce the total amount of time needed to check all of them. +.PP +If no filesystems are specified on the command line, and the +.B \-A +option is not specified, +.B fsck +will default to checking filesystems in +.I /etc/fstab +serially. This is equivalent to the +.B \-As +options. +.PP +The exit code returned by +.B fsck +is the sum of the following conditions: +.PP +.RS +.PD 0 +.TP +.B 0 +No errors +.TP +.B 1 +Filesystem errors corrected +.TP +.B 2 +System should be rebooted +.TP +.B 4 +Filesystem errors left uncorrected +.TP +.B 8 +Operational error +.TP +.B 16 +Usage or syntax error +.TP +.B 32 +Checking canceled by user request +.TP +.B 128 +Shared-library error +.PD +.RE +.PP +The exit code returned when multiple filesystems are checked +is the bit-wise OR of the exit codes for each +filesystem that is checked. +.PP +In actuality, +.B fsck +is simply a front-end for the various filesystem checkers +(\fBfsck\fR.\fIfstype\fR) available under Linux. The +filesystem-specific checker is searched for in the +PATH environment variable. If the PATH is undefined then +fallback to "/sbin". +.PP +Please see the filesystem-specific checker manual pages for +further details. +.SH OPTIONS +.TP +.B \-l +Create an exclusive +.BR flock (2) +lock file (/run/fsck/.lock) for whole-disk device. +This option can be used with one device only (this means that \fB\-A\fR and +\fB\-l\fR are mutually exclusive). This option is recommended when more +.BR fsck (8) +instances are executed in the same time. The option is ignored when used for +multiple devices or for non-rotating disks. \fBfsck\fR does not lock underlying +devices when executed to check stacked devices (e.g.\& MD or DM) \(en this feature is +not implemented yet. +.TP +.BR \-r \ [ \fIfd\fR ] +Report certain statistics for each fsck when it completes. These statistics +include the exit status, the maximum run set size (in kilobytes), the elapsed +all-clock time and the user and system CPU time used by the fsck run. For +example: + +/dev/sda1: status 0, rss 92828, real 4.002804, user 2.677592, sys 0.86186 + +GUI front-ends may specify a file descriptor +.IR fd , +in which case the progress bar information will be sent to that file descriptor +in a machine parsable format. For example: + +/dev/sda1 0 92828 4.002804 2.677592 0.86186 +.TP +.B \-s +Serialize +.B fsck +operations. This is a good idea if you are checking multiple +filesystems and the checkers are in an interactive mode. (Note: +.BR e2fsck (8) +runs in an interactive mode by default. To make +.BR e2fsck (8) +run in a non-interactive mode, you must either specify the +.B \-p +or +.B \-a +option, if you wish for errors to be corrected automatically, or the +.B \-n +option if you do not.) +.TP +.BI \-t " fslist" +Specifies the type(s) of filesystem to be checked. When the +.B \-A +flag is specified, only filesystems that match +.I fslist +are checked. The +.I fslist +parameter is a comma-separated list of filesystems and options +specifiers. All of the filesystems in this comma-separated list may be +prefixed by a negation operator +.RB ' no ' +or +.RB ' ! ', +which requests that only those filesystems not listed in +.I fslist +will be checked. If none of the filesystems in +.I fslist +is prefixed by a negation operator, then only those listed filesystems +will be checked. +.sp +Options specifiers may be included in the comma-separated +.IR fslist . +They must have the format +.BI opts= fs-option\fR. +If an options specifier is present, then only filesystems which contain +.I fs-option +in their mount options field of +.I /etc/fstab +will be checked. If the options specifier is prefixed by a negation +operator, then only +those filesystems that do not have +.I fs-option +in their mount options field of +.I /etc/fstab +will be checked. +.sp +For example, if +.B opts=ro +appears in +.IR fslist , +then only filesystems listed in +.I /etc/fstab +with the +.B ro +option will be checked. +.sp +For compatibility with Mandrake distributions whose boot scripts +depend upon an unauthorized UI change to the +.B fsck +program, if a filesystem type of +.B loop +is found in +.IR fslist , +it is treated as if +.B opts=loop +were specified as an argument to the +.B \-t +option. +.sp +Normally, the filesystem type is deduced by searching for +.I filesys +in the +.I /etc/fstab +file and using the corresponding entry. +If the type cannot be deduced, and there is only a single filesystem +given as an argument to the +.B \-t +option, +.B fsck +will use the specified filesystem type. If this type is not +available, then the default filesystem type (currently ext2) is used. +.TP +.B \-A +Walk through the +.I /etc/fstab +file and try to check all filesystems in one run. This option is +typically used from the +.I /etc/rc +system initialization file, instead of multiple commands for checking +a single filesystem. +.sp +The root filesystem will be checked first unless the +.B \-P +option is specified (see below). After that, +filesystems will be checked in the order specified by the +.I fs_passno +(the sixth) field in the +.I /etc/fstab +file. +Filesystems with a +.I fs_passno +value of 0 are skipped and are not checked at all. Filesystems with a +.I fs_passno +value of greater than zero will be checked in order, +with filesystems with the lowest +.I fs_passno +number being checked first. +If there are multiple filesystems with the same pass number, +.B fsck +will attempt to check them in parallel, although it will avoid running +multiple filesystem checks on the same physical disk. +.sp +.B fsck +does not check stacked devices (RAIDs, dm-crypt, \&...\&) in parallel with any other +device. See below for FSCK_FORCE_ALL_PARALLEL setting. The /sys filesystem is +used to determine dependencies between devices. +.sp +Hence, a very common configuration in +.I /etc/fstab +files is to set the root filesystem to have a +.I fs_passno +value of 1 +and to set all other filesystems to have a +.I fs_passno +value of 2. This will allow +.B fsck +to automatically run filesystem checkers in parallel if it is advantageous +to do so. System administrators might choose +not to use this configuration if they need to avoid multiple filesystem +checks running in parallel for some reason \(en for example, if the +machine in question is short on memory so that +excessive paging is a concern. +.sp +.B fsck +normally does not check whether the device actually exists before +calling a filesystem specific checker. Therefore non-existing +devices may cause the system to enter filesystem repair mode during +boot if the filesystem specific checker returns a fatal error. The +.I /etc/fstab +mount option +.B nofail +may be used to have +.B fsck +skip non-existing devices. +.B fsck +also skips non-existing devices that have the special filesystem type +.BR auto . +.TP +.BR \-C \ [ \fIfd\fR ] +Display completion/progress bars for those filesystem checkers (currently +only for ext[234]) which support them. \fBfsck\fR will manage the +filesystem checkers so that only one of them will display +a progress bar at a time. GUI front-ends may specify a file descriptor +.IR fd , +in which case the progress bar information will be sent to that file descriptor. +.TP +.B \-M +Do not check mounted filesystems and return an exit code of 0 +for mounted filesystems. +.TP +.B \-N +Don't execute, just show what would be done. +.TP +.B \-P +When the +.B \-A +flag is set, check the root filesystem in parallel with the other filesystems. +This is not the safest thing in the world to do, +since if the root filesystem is in doubt things like the +.BR e2fsck (8) +executable might be corrupted! This option is mainly provided +for those sysadmins who don't want to repartition the root +filesystem to be small and compact (which is really the right solution). +.TP +.B \-R +When checking all filesystems with the +.B \-A +flag, skip the root filesystem. (This is useful in case the root +filesystem has already been mounted read-write.) +.TP +.B \-T +Don't show the title on startup. +.TP +.B \-V +Produce verbose output, including all filesystem-specific commands +that are executed. +.TP +\fB\-?\fR, \fB\-\-help\fR +Display help text and exit. +.TP +\fB\-\-version\fR +Display version information and exit. +.SH FILESYSTEM SPECIFIC OPTIONS +.B Options which are not understood by fsck are passed to the filesystem-specific checker! +.PP +These options +.B must +not take arguments, as there is no +way for +.B fsck +to be able to properly guess which options take arguments and which +don't. +.PP +Options and arguments which follow the +.B \-\- +are treated as filesystem-specific options to be passed to the +filesystem-specific checker. +.PP +Please note that \fBfsck\fR is not +designed to pass arbitrarily complicated options to filesystem-specific +checkers. If you're doing something complicated, please just +execute the filesystem-specific checker directly. If you pass +.B fsck +some horribly complicated options and arguments, and it doesn't do +what you expect, +.B don't bother reporting it as a bug. +You're almost certainly doing something that you shouldn't be doing +with +.BR fsck . +Options to different filesystem-specific fsck's are not standardized. +.SH FILES +.I /etc/fstab +.SH ENVIRONMENT VARIABLES +The +.B fsck +program's behavior is affected by the following environment variables: +.TP +.B FSCK_FORCE_ALL_PARALLEL +If this environment variable is set, +.B fsck +will attempt to check all of the specified filesystems in parallel, regardless of +whether the filesystems appear to be on the same device. (This is useful for +RAID systems or high-end storage systems such as those sold by companies such +as IBM or EMC.) Note that the fs_passno value is still used. +.TP +.B FSCK_MAX_INST +This environment variable will limit the maximum number of filesystem +checkers that can be running at one time. This allows configurations +which have a large number of disks to avoid +.B fsck +starting too many filesystem checkers at once, which might overload +CPU and memory resources available on the system. If this value is +zero, then an unlimited number of processes can be spawned. This is +currently the default, but future versions of +.B fsck +may attempt to automatically determine how many filesystem checks can +be run based on gathering accounting data from the operating system. +.TP +.B PATH +The +.B PATH +environment variable is used to find filesystem checkers. +.TP +.B FSTAB_FILE +This environment variable allows the system administrator +to override the standard location of the +.I /etc/fstab +file. It is also useful for developers who are testing +.BR fsck . +.TP +.B LIBBLKID_DEBUG=all +enables libblkid debug output. +.TP +.B LIBMOUNT_DEBUG=all +enables libmount debug output. +.SH SEE ALSO +.na +.BR fstab (5), +.BR mkfs (8), +.BR fsck.ext2 (8) +or +.BR fsck.ext3 (8) +or +.BR e2fsck (8), +.BR cramfsck (8), +.BR fsck.jfs (8), +.BR fsck.nfs (8), +.BR fsck.minix (8), +.BR fsck.msdos (8), +.BR fsck.vfat (8), +.BR fsck.xfs (8), +.BR reiserfsck (8) +.ad +.SH AUTHORS +.nf +Theodore Ts'o +Karel Zak +.fi +.SH AVAILABILITY +The fsck command is part of the util-linux package and is available from +.UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/ +Linux Kernel Archive +.UE . diff --git a/disk-utils/fsck.c b/disk-utils/fsck.c new file mode 100644 index 0000000..3afc886 --- /dev/null +++ b/disk-utils/fsck.c @@ -0,0 +1,1692 @@ +/* + * fsck --- A generic, parallelizing front-end for the fsck program. + * It will automatically try to run fsck programs in parallel if the + * devices are on separate spindles. It is based on the same ideas as + * the generic front end for fsck by David Engel and Fred van Kempen, + * but it has been completely rewritten from scratch to support + * parallel execution. + * + * Written by Theodore Ts'o, + * + * Miquel van Smoorenburg (miquels@drinkel.ow.org) 20-Oct-1994: + * o Changed -t fstype to behave like with mount when -A (all file + * systems) or -M (like mount) is specified. + * o fsck looks if it can find the fsck.type program to decide + * if it should ignore the fs type. This way more fsck programs + * can be added without changing this front-end. + * o -R flag skip root file system. + * + * Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, + * 2001, 2002, 2003, 2004, 2005 by Theodore Ts'o. + * + * Copyright (C) 2009-2014 Karel Zak + * + * This file may be redistributed under the terms of the GNU Public + * License. + */ + +#define _XOPEN_SOURCE 600 /* for inclusion of sa_handler in Solaris */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "nls.h" +#include "pathnames.h" +#include "exitcodes.h" +#include "c.h" +#include "fileutils.h" +#include "monotonic.h" +#include "strutils.h" + +#define XALLOC_EXIT_CODE FSCK_EX_ERROR +#include "xalloc.h" + +#define CLOSE_EXIT_CODE FSCK_EX_ERROR +#include "closestream.h" + +#ifndef DEFAULT_FSTYPE +# define DEFAULT_FSTYPE "ext2" +#endif + +#define MAX_DEVICES 32 +#define MAX_ARGS 32 + +#define FSCK_RUNTIME_DIRNAME "/run/fsck" + +static const char *ignored_types[] = { + "ignore", + "iso9660", + "sw", + NULL +}; + +static const char *really_wanted[] = { + "minix", + "ext2", + "ext3", + "ext4", + "ext4dev", + "jfs", + "reiserfs" +}; + +/* + * Internal structure for mount table entries. + */ +struct fsck_fs_data +{ + const char *device; + dev_t disk; + unsigned int stacked:1, + done:1, + eval_device:1; +}; + +/* + * Structure to allow exit codes to be stored + */ +struct fsck_instance { + int pid; + int flags; /* FLAG_{DONE|PROGRESS} */ + + int lock; /* flock()ed lockpath file descriptor or -1 */ + char *lockpath; /* /run/fsck/.lock or NULL */ + + int exit_status; + struct timeval start_time; + struct timeval end_time; + char * prog; + char * type; + + struct rusage rusage; + struct libmnt_fs *fs; + struct fsck_instance *next; +}; + +#define FLAG_DONE 1 +#define FLAG_PROGRESS 2 + +/* + * Global variables for options + */ +static char *devices[MAX_DEVICES]; +static char *args[MAX_ARGS]; +static int num_devices, num_args; + +static int lockdisk; +static int verbose; +static int doall; +static int noexecute; +static int serialize; +static int skip_root; +static int ignore_mounted; +static int notitle; +static int parallel_root; +static int progress; +static int progress_fd; +static int force_all_parallel; +static int report_stats; +static FILE *report_stats_file; + +static int num_running; +static int max_running; + +static volatile int cancel_requested; +static int kill_sent; +static char *fstype; +static struct fsck_instance *instance_list; + +#define FSCK_DEFAULT_PATH "/sbin" +static char *fsck_path; + + +/* parsed fstab and mtab */ +static struct libmnt_table *fstab, *mtab; +static struct libmnt_cache *mntcache; + +static int count_slaves(dev_t disk); + +static int string_to_int(const char *s) +{ + long l; + char *p; + + l = strtol(s, &p, 0); + if (*p || l == LONG_MIN || l == LONG_MAX || l < 0 || l > INT_MAX) + return -1; + else + return (int) l; +} + +/* Do we really really want to check this fs? */ +static int fs_check_required(const char *type) +{ + size_t i; + + for(i = 0; i < ARRAY_SIZE(really_wanted); i++) { + if (strcmp(type, really_wanted[i]) == 0) + return 1; + } + + return 0; +} + +static int is_mounted(struct libmnt_fs *fs) +{ + int rc; + const char *src; + + src = mnt_fs_get_source(fs); + if (!src) + return 0; + if (!mntcache) + mntcache = mnt_new_cache(); + if (!mtab) { + mtab = mnt_new_table(); + if (!mtab) + err(FSCK_EX_ERROR, ("failed to initialize libmount table")); + mnt_table_set_cache(mtab, mntcache); + mnt_table_parse_mtab(mtab, NULL); + } + + rc = mnt_table_find_source(mtab, src, MNT_ITER_BACKWARD) ? 1 : 0; + if (verbose) { + if (rc) + printf(_("%s is mounted\n"), src); + else + printf(_("%s is not mounted\n"), src); + } + return rc; +} + +static int ignore(struct libmnt_fs *); + +static struct fsck_fs_data *fs_create_data(struct libmnt_fs *fs) +{ + struct fsck_fs_data *data = mnt_fs_get_userdata(fs); + + if (!data) { + data = xcalloc(1, sizeof(*data)); + mnt_fs_set_userdata(fs, data); + } + return data; +} + +/* + * fs from fstab might contains real device name as well as symlink, + * LABEL or UUID, this function returns canonicalized result. + */ +static const char *fs_get_device(struct libmnt_fs *fs) +{ + struct fsck_fs_data *data = mnt_fs_get_userdata(fs); + + if (!data || !data->eval_device) { + const char *spec = mnt_fs_get_source(fs); + + if (!data) + data = fs_create_data(fs); + + data->eval_device = 1; + data->device = mnt_resolve_spec(spec, mnt_table_get_cache(fstab)); + if (!data->device) + data->device = xstrdup(spec); + } + + return data->device; +} + +static dev_t fs_get_disk(struct libmnt_fs *fs, int check) +{ + struct fsck_fs_data *data; + const char *device; + struct stat st; + + data = mnt_fs_get_userdata(fs); + if (data && data->disk) + return data->disk; + + if (!check) + return 0; + + if (mnt_fs_is_netfs(fs) || mnt_fs_is_pseudofs(fs)) + return 0; + + device = fs_get_device(fs); + if (!device) + return 0; + + data = fs_create_data(fs); + + if (!stat(device, &st) && + !blkid_devno_to_wholedisk(st.st_rdev, NULL, 0, &data->disk)) { + + if (data->disk) + data->stacked = count_slaves(data->disk) > 0 ? 1 : 0; + return data->disk; + } + return 0; +} + +static int fs_is_stacked(struct libmnt_fs *fs) +{ + struct fsck_fs_data *data = mnt_fs_get_userdata(fs); + return data ? data->stacked : 0; +} + +static int fs_is_done(struct libmnt_fs *fs) +{ + struct fsck_fs_data *data = mnt_fs_get_userdata(fs); + return data ? data->done : 0; +} + +static void fs_set_done(struct libmnt_fs *fs) +{ + struct fsck_fs_data *data = fs_create_data(fs); + + if (data) + data->done = 1; +} + +static int is_irrotational_disk(dev_t disk) +{ + char path[PATH_MAX]; + FILE *f; + int rc, x; + + + rc = snprintf(path, sizeof(path), + "/sys/dev/block/%d:%d/queue/rotational", + major(disk), minor(disk)); + + if (rc < 0 || (unsigned int) rc >= sizeof(path)) + return 0; + + f = fopen(path, "r"); + if (!f) + return 0; + + rc = fscanf(f, "%d", &x); + if (rc != 1) { + if (ferror(f)) + warn(_("cannot read %s"), path); + else + warnx(_("parse error: %s"), path); + } + fclose(f); + + return rc == 1 ? !x : 0; +} + +static void lock_disk(struct fsck_instance *inst) +{ + dev_t disk = fs_get_disk(inst->fs, 1); + char *diskpath = NULL, *diskname; + + inst->lock = -1; + + if (!disk || is_irrotational_disk(disk)) + goto done; + + diskpath = blkid_devno_to_devname(disk); + if (!diskpath) + goto done; + + if (access(FSCK_RUNTIME_DIRNAME, F_OK) != 0) { + int rc = mkdir(FSCK_RUNTIME_DIRNAME, + S_IWUSR| + S_IRUSR|S_IRGRP|S_IROTH| + S_IXUSR|S_IXGRP|S_IXOTH); + if (rc && errno != EEXIST) { + warn(_("cannot create directory %s"), + FSCK_RUNTIME_DIRNAME); + goto done; + } + } + + diskname = stripoff_last_component(diskpath); + if (!diskname) + diskname = diskpath; + + xasprintf(&inst->lockpath, FSCK_RUNTIME_DIRNAME "/%s.lock", diskname); + + if (verbose) + printf(_("Locking disk by %s ... "), inst->lockpath); + + inst->lock = open(inst->lockpath, O_RDONLY|O_CREAT|O_CLOEXEC, + S_IWUSR|S_IRUSR|S_IRGRP|S_IROTH); + if (inst->lock >= 0) { + int rc = -1; + + /* inform users that we're waiting on the lock */ + if (verbose && + (rc = flock(inst->lock, LOCK_EX | LOCK_NB)) != 0 && + errno == EWOULDBLOCK) + printf(_("(waiting) ")); + + if (rc != 0 && flock(inst->lock, LOCK_EX) != 0) { + close(inst->lock); /* failed */ + inst->lock = -1; + } + } + + if (verbose) + /* TRANSLATORS: These are followups to "Locking disk...". */ + printf("%s.\n", inst->lock >= 0 ? _("succeeded") : _("failed")); + + +done: + if (inst->lock < 0) { + free(inst->lockpath); + inst->lockpath = NULL; + } + free(diskpath); + return; +} + +static void unlock_disk(struct fsck_instance *inst) +{ + if (inst->lock < 0) + return; + + if (verbose) + printf(_("Unlocking %s.\n"), inst->lockpath); + + close(inst->lock); /* unlock */ + + free(inst->lockpath); + + inst->lock = -1; + inst->lockpath = NULL; +} + +static void free_instance(struct fsck_instance *i) +{ + if (lockdisk) + unlock_disk(i); + free(i->prog); + free(i->lockpath); + mnt_unref_fs(i->fs); + free(i); + return; +} + +static struct libmnt_fs *add_dummy_fs(const char *device) +{ + struct libmnt_fs *fs = mnt_new_fs(); + + if (fs && mnt_fs_set_source(fs, device) == 0 && + mnt_table_add_fs(fstab, fs) == 0) { + mnt_unref_fs(fs); + return fs; + } + + mnt_unref_fs(fs); + err(FSCK_EX_ERROR, _("failed to setup description for %s"), device); +} + +static void fs_interpret_type(struct libmnt_fs *fs) +{ + const char *device; + const char *type = mnt_fs_get_fstype(fs); + + if (type && strcmp(type, "auto") != 0) + return; + + mnt_fs_set_fstype(fs, NULL); + + device = fs_get_device(fs); + if (device) { + int ambi = 0; + char *tp; + struct libmnt_cache *cache = mnt_table_get_cache(fstab); + + tp = mnt_get_fstype(device, &ambi, cache); + if (!ambi) + mnt_fs_set_fstype(fs, tp); + if (!cache) + free(tp); + } +} + +static int parser_errcb(struct libmnt_table *tb __attribute__ ((__unused__)), + const char *filename, int line) +{ + warnx(_("%s: parse error at line %d -- ignored"), filename, line); + return 1; +} + +/* + * Load the filesystem database from /etc/fstab + */ +static void load_fs_info(void) +{ + const char *path; + + fstab = mnt_new_table(); + if (!fstab) + err(FSCK_EX_ERROR, ("failed to initialize libmount table")); + + mnt_table_set_parser_errcb(fstab, parser_errcb); + mnt_table_set_cache(fstab, mntcache); + + errno = 0; + + /* + * Let's follow libmount defaults if $FSTAB_FILE is not specified + */ + path = getenv("FSTAB_FILE"); + + if (mnt_table_parse_fstab(fstab, path)) { + if (!path) + path = mnt_get_fstab_path(); + + /* don't print error when there is no fstab at all */ + if (access(path, F_OK) == 0) { + if (errno) + warn(_("%s: failed to parse fstab"), path); + else + warnx(_("%s: failed to parse fstab"), path); + } + } +} + +/* + * Lookup filesys in /etc/fstab and return the corresponding entry. + * The @path has to be real path (no TAG) by mnt_resolve_spec(). + */ +static struct libmnt_fs *lookup(char *path) +{ + struct libmnt_fs *fs; + + if (!path) + return NULL; + + fs = mnt_table_find_srcpath(fstab, path, MNT_ITER_FORWARD); + if (!fs) { + /* + * Maybe mountpoint has been specified on fsck command line. + * Yeah, crazy feature... + * + * Note that mnt_table_find_target() may canonicalize paths in + * the fstab to support symlinks. This is really unwanted, + * because readlink() on mountpoints may trigger automounts. + * + * So, disable the cache and compare the paths as strings + * without care about symlinks... + */ + mnt_table_set_cache(fstab, NULL); + fs = mnt_table_find_target(fstab, path, MNT_ITER_FORWARD); + mnt_table_set_cache(fstab, mntcache); + } + return fs; +} + +/* Find fsck program for a given fs type. */ +static int find_fsck(const char *type, char **progpath) +{ + char *s; + const char *tpl; + char *prog = NULL; + char *p = xstrdup(fsck_path); + int rc; + + /* Are we looking for a program or just a type? */ + tpl = (strncmp(type, "fsck.", 5) ? "%s/fsck.%s" : "%s/%s"); + + for(s = strtok(p, ":"); s; s = strtok(NULL, ":")) { + xasprintf(&prog, tpl, s, type); + if (access(prog, X_OK) == 0) + break; + free(prog); + prog = NULL; + } + + free(p); + rc = prog ? 1 : 0; + + if (progpath) + *progpath = prog; + else + free(prog); + + return rc; +} + +static int progress_active(void) +{ + struct fsck_instance *inst; + + for (inst = instance_list; inst; inst = inst->next) { + if (inst->flags & FLAG_DONE) + continue; + if (inst->flags & FLAG_PROGRESS) + return 1; + } + return 0; +} + +/* + * Process run statistics for finished fsck instances. + * + * If report_stats is 0, do nothing, otherwise print a selection of + * interesting rusage statistics as well as elapsed wallclock time. + */ +static void print_stats(struct fsck_instance *inst) +{ + struct timeval delta; + + if (!inst || !report_stats || noexecute) + return; + + timersub(&inst->end_time, &inst->start_time, &delta); + + if (report_stats_file) + fprintf(report_stats_file, "%s %d %ld " + "%ld.%06ld %ld.%06ld %ld.%06ld\n", + fs_get_device(inst->fs), + inst->exit_status, + inst->rusage.ru_maxrss, + (long)delta.tv_sec, (long)delta.tv_usec, + (long)inst->rusage.ru_utime.tv_sec, + (long)inst->rusage.ru_utime.tv_usec, + (long)inst->rusage.ru_stime.tv_sec, + (long)inst->rusage.ru_stime.tv_usec); + else + fprintf(stdout, "%s: status %d, rss %ld, " + "real %ld.%06ld, user %ld.%06ld, sys %ld.%06ld\n", + fs_get_device(inst->fs), + inst->exit_status, + inst->rusage.ru_maxrss, + (long)delta.tv_sec, (long)delta.tv_usec, + (long)inst->rusage.ru_utime.tv_sec, + (long)inst->rusage.ru_utime.tv_usec, + (long)inst->rusage.ru_stime.tv_sec, + (long)inst->rusage.ru_stime.tv_usec); +} + +/* + * Execute a particular fsck program, and link it into the list of + * child processes we are waiting for. + */ +static int execute(const char *progname, const char *progpath, + const char *type, struct libmnt_fs *fs, int interactive) +{ + char *argv[80]; + int argc, i; + struct fsck_instance *inst, *p; + pid_t pid; + + inst = xcalloc(1, sizeof(*inst)); + + argv[0] = xstrdup(progname); + argc = 1; + + for (i=0; i flags |= FLAG_PROGRESS; + } else if (progress_fd) + snprintf(tmp, 80, "-C%d", progress_fd * -1); + if (tmp[0]) + argv[argc++] = xstrdup(tmp); + } + + argv[argc++] = xstrdup(fs_get_device(fs)); + argv[argc] = NULL; + + if (verbose || noexecute) { + const char *tgt = mnt_fs_get_target(fs); + + if (!tgt) + tgt = fs_get_device(fs); + printf("[%s (%d) -- %s] ", progpath, num_running, tgt); + for (i=0; i < argc; i++) + printf("%s ", argv[i]); + printf("\n"); + } + + mnt_ref_fs(fs); + inst->fs = fs; + inst->lock = -1; + + if (lockdisk) + lock_disk(inst); + + /* Fork and execute the correct program. */ + if (noexecute) + pid = -1; + else if ((pid = fork()) < 0) { + warn(_("fork failed")); + free_instance(inst); + return errno; + } else if (pid == 0) { + if (!interactive) + close(0); + execv(progpath, argv); + err(FSCK_EX_ERROR, _("%s: execute failed"), progpath); + } + + for (i=0; i < argc; i++) + free(argv[i]); + + inst->pid = pid; + inst->prog = xstrdup(progname); + inst->type = xstrdup(type); + gettime_monotonic(&inst->start_time); + inst->next = NULL; + + /* + * Find the end of the list, so we add the instance on at the end. + */ + for (p = instance_list; p && p->next; p = p->next); + + if (p) + p->next = inst; + else + instance_list = inst; + + return 0; +} + +/* + * Send a signal to all outstanding fsck child processes + */ +static int kill_all(int signum) +{ + struct fsck_instance *inst; + int n = 0; + + for (inst = instance_list; inst; inst = inst->next) { + if (inst->flags & FLAG_DONE) + continue; + kill(inst->pid, signum); + n++; + } + return n; +} + +/* + * Wait for one child process to exit; when it does, unlink it from + * the list of executing child processes, and return it. + */ +static struct fsck_instance *wait_one(int flags) +{ + int status = 0; + int sig; + struct fsck_instance *inst, *inst2, *prev; + pid_t pid; + struct rusage rusage; + + if (!instance_list) + return NULL; + + if (noexecute) { + inst = instance_list; + prev = NULL; +#ifdef RANDOM_DEBUG + while (inst->next && (random() & 1)) { + prev = inst; + inst = inst->next; + } +#endif + inst->exit_status = 0; + goto ret_inst; + } + + /* + * gcc -Wall fails saving throw against stupidity + * (inst and prev are thought to be uninitialized variables) + */ + inst = prev = NULL; + + do { + pid = wait4(-1, &status, flags, &rusage); + if (cancel_requested && !kill_sent) { + kill_all(SIGTERM); + kill_sent++; + } + if ((pid == 0) && (flags & WNOHANG)) + return NULL; + if (pid < 0) { + if ((errno == EINTR) || (errno == EAGAIN)) + continue; + if (errno == ECHILD) { + warnx(_("wait: no more child process?!?")); + return NULL; + } + warn(_("waitpid failed")); + continue; + } + for (prev = NULL, inst = instance_list; + inst; + prev = inst, inst = inst->next) { + if (inst->pid == pid) + break; + } + } while (!inst); + + if (WIFEXITED(status)) + status = WEXITSTATUS(status); + else if (WIFSIGNALED(status)) { + sig = WTERMSIG(status); + if (sig == SIGINT) { + status = FSCK_EX_UNCORRECTED; + } else { + warnx(_("Warning... %s for device %s exited " + "with signal %d."), + inst->prog, fs_get_device(inst->fs), sig); + status = FSCK_EX_ERROR; + } + } else { + warnx(_("%s %s: status is %x, should never happen."), + inst->prog, fs_get_device(inst->fs), status); + status = FSCK_EX_ERROR; + } + + inst->exit_status = status; + inst->flags |= FLAG_DONE; + gettime_monotonic(&inst->end_time); + memcpy(&inst->rusage, &rusage, sizeof(struct rusage)); + + if (progress && (inst->flags & FLAG_PROGRESS) && + !progress_active()) { + for (inst2 = instance_list; inst2; inst2 = inst2->next) { + if (inst2->flags & FLAG_DONE) + continue; + if (strcmp(inst2->type, "ext2") && + strcmp(inst2->type, "ext3") && + strcmp(inst2->type, "ext4") && + strcmp(inst2->type, "ext4dev")) + continue; + /* + * If we've just started the fsck, wait a tiny + * bit before sending the kill, to give it + * time to set up the signal handler + */ + if (inst2->start_time.tv_sec < time(NULL) + 2) { + if (fork() == 0) { + sleep(1); + kill(inst2->pid, SIGUSR1); + exit(FSCK_EX_OK); + } + } else + kill(inst2->pid, SIGUSR1); + inst2->flags |= FLAG_PROGRESS; + break; + } + } +ret_inst: + if (prev) + prev->next = inst->next; + else + instance_list = inst->next; + + print_stats(inst); + + if (verbose > 1) + printf(_("Finished with %s (exit status %d)\n"), + fs_get_device(inst->fs), inst->exit_status); + num_running--; + return inst; +} + +#define FLAG_WAIT_ALL 0 +#define FLAG_WAIT_ATLEAST_ONE 1 +/* + * Wait until all executing child processes have exited; return the + * logical OR of all of their exit code values. + */ +static int wait_many(int flags) +{ + struct fsck_instance *inst; + int global_status = 0; + int wait_flags = 0; + + while ((inst = wait_one(wait_flags))) { + global_status |= inst->exit_status; + free_instance(inst); +#ifdef RANDOM_DEBUG + if (noexecute && (flags & WNOHANG) && !(random() % 3)) + break; +#endif + if (flags & FLAG_WAIT_ATLEAST_ONE) + wait_flags = WNOHANG; + } + return global_status; +} + +/* + * Run the fsck program on a particular device + * + * If the type is specified using -t, and it isn't prefixed with "no" + * (as in "noext2") and only one filesystem type is specified, then + * use that type regardless of what is specified in /etc/fstab. + * + * If the type isn't specified by the user, then use either the type + * specified in /etc/fstab, or DEFAULT_FSTYPE. + */ +static int fsck_device(struct libmnt_fs *fs, int interactive) +{ + char *progname, *progpath; + const char *type; + int retval; + + fs_interpret_type(fs); + + type = mnt_fs_get_fstype(fs); + + if (type && strcmp(type, "auto") != 0) + ; + else if (fstype && strncmp(fstype, "no", 2) && + strncmp(fstype, "opts=", 5) && strncmp(fstype, "loop", 4) && + !strchr(fstype, ',')) + type = fstype; + else + type = DEFAULT_FSTYPE; + + xasprintf(&progname, "fsck.%s", type); + + if (!find_fsck(progname, &progpath)) { + free(progname); + if (fs_check_required(type)) { + retval = ENOENT; + goto err; + } + return 0; + } + + num_running++; + retval = execute(progname, progpath, type, fs, interactive); + free(progname); + free(progpath); + if (retval) { + num_running--; + goto err; + } + return 0; +err: + warnx(_("error %d (%m) while executing fsck.%s for %s"), + retval, type, fs_get_device(fs)); + return FSCK_EX_ERROR; +} + + +/* + * Deal with the fsck -t argument. + */ +static struct fs_type_compile { + char **list; + int *type; + int negate; +} fs_type_compiled; + +#define FS_TYPE_NORMAL 0 +#define FS_TYPE_OPT 1 +#define FS_TYPE_NEGOPT 2 + +static void compile_fs_type(char *fs_type, struct fs_type_compile *cmp) +{ + char *cp, *list, *s; + int num = 2; + int negate, first_negate = 1; + + if (fs_type) { + for (cp=fs_type; *cp; cp++) { + if (*cp == ',') + num++; + } + } + + cmp->list = xcalloc(num, sizeof(char *)); + cmp->type = xcalloc(num, sizeof(int)); + cmp->negate = 0; + + if (!fs_type) + return; + + list = xstrdup(fs_type); + num = 0; + s = strtok(list, ","); + while(s) { + negate = 0; + if (strncmp(s, "no", 2) == 0) { + s += 2; + negate = 1; + } else if (*s == '!') { + s++; + negate = 1; + } + if (strcmp(s, "loop") == 0) + /* loop is really short-hand for opts=loop */ + goto loop_special_case; + else if (strncmp(s, "opts=", 5) == 0) { + s += 5; + loop_special_case: + cmp->type[num] = negate ? FS_TYPE_NEGOPT : FS_TYPE_OPT; + } else { + if (first_negate) { + cmp->negate = negate; + first_negate = 0; + } + if ((negate && !cmp->negate) || + (!negate && cmp->negate)) { + errx(FSCK_EX_USAGE, + _("Either all or none of the filesystem types passed to -t must be prefixed\n" + "with 'no' or '!'.")); + } + } + + cmp->list[num++] = xstrdup(s); + s = strtok(NULL, ","); + } + free(list); +} + +/* + * This function returns true if a particular option appears in a + * comma-delimited options list + */ +static int opt_in_list(const char *opt, const char *optlist) +{ + char *list, *s; + + if (!optlist) + return 0; + list = xstrdup(optlist); + + s = strtok(list, ","); + while(s) { + if (strcmp(s, opt) == 0) { + free(list); + return 1; + } + s = strtok(NULL, ","); + } + free(list); + return 0; +} + +/* See if the filesystem matches the criteria given by the -t option */ +static int fs_match(struct libmnt_fs *fs, struct fs_type_compile *cmp) +{ + int n, ret = 0, checked_type = 0; + char *cp; + + if (cmp->list == NULL || cmp->list[0] == NULL) + return 1; + + for (n=0; (cp = cmp->list[n]); n++) { + switch (cmp->type[n]) { + case FS_TYPE_NORMAL: + { + const char *type = mnt_fs_get_fstype(fs); + + checked_type++; + if (type && strcmp(cp, type) == 0) + ret = 1; + break; + } + case FS_TYPE_NEGOPT: + if (opt_in_list(cp, mnt_fs_get_options(fs))) + return 0; + break; + case FS_TYPE_OPT: + if (!opt_in_list(cp, mnt_fs_get_options(fs))) + return 0; + break; + } + } + if (checked_type == 0) + return 1; + return (cmp->negate ? !ret : ret); +} + +/* + * Check if a device exists + */ +static int device_exists(const char *device) +{ + struct stat st; + + if (stat(device, &st) == -1) + return 0; + if (!S_ISBLK(st.st_mode)) + return 0; + return 1; +} + +static int fs_ignored_type(struct libmnt_fs *fs) +{ + const char **ip, *type; + + if (mnt_fs_is_netfs(fs) || mnt_fs_is_pseudofs(fs) || mnt_fs_is_swaparea(fs)) + return 1; + + type = mnt_fs_get_fstype(fs); + + for(ip = ignored_types; type && *ip; ip++) { + if (strcmp(type, *ip) == 0) + return 1; + } + + return 0; +} + +/* Check if we should ignore this filesystem. */ +static int ignore(struct libmnt_fs *fs) +{ + const char *type; + + /* + * If the pass number is 0, ignore it. + */ + if (mnt_fs_get_passno(fs) == 0) + return 1; + + /* + * If this is a bind mount, ignore it. + */ + if (opt_in_list("bind", mnt_fs_get_options(fs))) { + warnx(_("%s: skipping bad line in /etc/fstab: " + "bind mount with nonzero fsck pass number"), + mnt_fs_get_target(fs)); + return 1; + } + + /* + * ignore devices that don't exist and have the "nofail" mount option + */ + if (!device_exists(fs_get_device(fs))) { + if (opt_in_list("nofail", mnt_fs_get_options(fs))) { + if (verbose) + printf(_("%s: skipping nonexistent device\n"), + fs_get_device(fs)); + return 1; + } + if (verbose) + printf(_("%s: nonexistent device (\"nofail\" fstab " + "option may be used to skip this device)\n"), + fs_get_device(fs)); + } + + fs_interpret_type(fs); + + /* + * If a specific fstype is specified, and it doesn't match, + * ignore it. + */ + if (!fs_match(fs, &fs_type_compiled)) + return 1; + + type = mnt_fs_get_fstype(fs); + if (!type) { + if (verbose) + printf(_("%s: skipping unknown filesystem type\n"), + fs_get_device(fs)); + return 1; + } + + /* Are we ignoring this type? */ + if (fs_ignored_type(fs)) + return 1; + + + + /* See if the program is available. */ + if (!find_fsck(type, NULL)) { + if (fs_check_required(type)) + warnx(_("cannot check %s: fsck.%s not found"), + fs_get_device(fs), type); + return 1; + } + + /* We can and want to check this file system type. */ + return 0; +} + +static int count_slaves(dev_t disk) +{ + DIR *dir; + struct dirent *dp; + char dirname[PATH_MAX]; + int count = 0; + + snprintf(dirname, sizeof(dirname), + "/sys/dev/block/%u:%u/slaves/", + major(disk), minor(disk)); + + if (!(dir = opendir(dirname))) + return -1; + + while ((dp = readdir(dir)) != NULL) { +#ifdef _DIRENT_HAVE_D_TYPE + if (dp->d_type != DT_UNKNOWN && dp->d_type != DT_LNK) + continue; +#endif + if (dp->d_name[0] == '.' && + ((dp->d_name[1] == 0) || + ((dp->d_name[1] == '.') && (dp->d_name[2] == 0)))) + continue; + + count++; + } + + closedir(dir); + return count; +} + +/* + * Returns TRUE if a partition on the same disk is already being + * checked. + */ +static int disk_already_active(struct libmnt_fs *fs) +{ + struct fsck_instance *inst; + dev_t disk; + + if (force_all_parallel) + return 0; + + if (instance_list && fs_is_stacked(instance_list->fs)) + /* any instance for a stacked device is already running */ + return 1; + + disk = fs_get_disk(fs, 1); + + /* + * If we don't know the base device, assume that the device is + * already active if there are any fsck instances running. + * + * Don't check a stacked device with any other disk too. + */ + if (!disk || fs_is_stacked(fs)) + return (instance_list != NULL); + + for (inst = instance_list; inst; inst = inst->next) { + dev_t idisk = fs_get_disk(inst->fs, 0); + + if (!idisk || disk == idisk) + return 1; + } + + return 0; +} + +/* Check all file systems, using the /etc/fstab table. */ +static int check_all(void) +{ + int not_done_yet = 1; + int passno = 1; + int pass_done; + int status = FSCK_EX_OK; + + struct libmnt_fs *fs; + struct libmnt_iter *itr = mnt_new_iter(MNT_ITER_FORWARD); + + if (!itr) + err(FSCK_EX_ERROR, _("failed to allocate iterator")); + + /* + * Do an initial scan over the filesystem; mark filesystems + * which should be ignored as done, and resolve any "auto" + * filesystem types (done as a side-effect of calling ignore()). + */ + while (mnt_table_next_fs(fstab, itr, &fs) == 0) { + if (ignore(fs)) { + fs_set_done(fs); + continue; + } + } + + if (verbose) + fputs(_("Checking all file systems.\n"), stdout); + + /* + * Find and check the root filesystem. + */ + if (!parallel_root) { + fs = mnt_table_find_target(fstab, "/", MNT_ITER_FORWARD); + if (fs) { + if (!skip_root && + !fs_is_done(fs) && + !(ignore_mounted && is_mounted(fs))) { + status |= fsck_device(fs, 1); + status |= wait_many(FLAG_WAIT_ALL); + if (status > FSCK_EX_NONDESTRUCT) { + mnt_free_iter(itr); + return status; + } + } + fs_set_done(fs); + } + } + + /* + * This is for the bone-headed user who enters the root + * filesystem twice. Skip root will skip all root entries. + */ + if (skip_root) { + mnt_reset_iter(itr, MNT_ITER_FORWARD); + + while(mnt_table_next_fs(fstab, itr, &fs) == 0) { + const char *tgt = mnt_fs_get_target(fs); + + if (tgt && strcmp(tgt, "/") == 0) + fs_set_done(fs); + } + } + + while (not_done_yet) { + not_done_yet = 0; + pass_done = 1; + + mnt_reset_iter(itr, MNT_ITER_FORWARD); + + while(mnt_table_next_fs(fstab, itr, &fs) == 0) { + + if (cancel_requested) + break; + if (fs_is_done(fs)) + continue; + /* + * If the filesystem's pass number is higher + * than the current pass number, then we don't + * do it yet. + */ + if (mnt_fs_get_passno(fs) > passno) { + not_done_yet++; + continue; + } + if (ignore_mounted && is_mounted(fs)) { + fs_set_done(fs); + continue; + } + /* + * If a filesystem on a particular device has + * already been spawned, then we need to defer + * this to another pass. + */ + if (disk_already_active(fs)) { + pass_done = 0; + continue; + } + /* + * Spawn off the fsck process + */ + status |= fsck_device(fs, serialize); + fs_set_done(fs); + + /* + * Only do one filesystem at a time, or if we + * have a limit on the number of fsck's extant + * at one time, apply that limit. + */ + if (serialize || + (max_running && (num_running >= max_running))) { + pass_done = 0; + break; + } + } + if (cancel_requested) + break; + if (verbose > 1) + printf(_("--waiting-- (pass %d)\n"), passno); + + status |= wait_many(pass_done ? FLAG_WAIT_ALL : + FLAG_WAIT_ATLEAST_ONE); + if (pass_done) { + if (verbose > 1) + printf("----------------------------------\n"); + passno++; + } else + not_done_yet++; + } + + if (cancel_requested && !kill_sent) { + kill_all(SIGTERM); + kill_sent++; + } + + status |= wait_many(FLAG_WAIT_ATLEAST_ONE); + mnt_free_iter(itr); + return status; +} + +static void __attribute__((__noreturn__)) usage(void) +{ + FILE *out = stdout; + fputs(USAGE_HEADER, out); + fprintf(out, _(" %s [options] -- [fs-options] [ ...]\n"), + program_invocation_short_name); + + fputs(USAGE_SEPARATOR, out); + fputs(_("Check and repair a Linux filesystem.\n"), out); + + fputs(USAGE_OPTIONS, out); + fputs(_(" -A check all filesystems\n"), out); + fputs(_(" -C [] display progress bar; file descriptor is for GUIs\n"), out); + fputs(_(" -l lock the device to guarantee exclusive access\n"), out); + fputs(_(" -M do not check mounted filesystems\n"), out); + fputs(_(" -N do not execute, just show what would be done\n"), out); + fputs(_(" -P check filesystems in parallel, including root\n"), out); + fputs(_(" -R skip root filesystem; useful only with '-A'\n"), out); + fputs(_(" -r [] report statistics for each device checked;\n" + " file descriptor is for GUIs\n"), out); + fputs(_(" -s serialize the checking operations\n"), out); + fputs(_(" -T do not show the title on startup\n"), out); + fputs(_(" -t specify filesystem types to be checked;\n" + " is allowed to be a comma-separated list\n"), out); + fputs(_(" -V explain what is being done\n"), out); + + fputs(USAGE_SEPARATOR, out); + printf( " -?, --help %s\n", USAGE_OPTSTR_HELP); + printf( " --version %s\n", USAGE_OPTSTR_VERSION); + fputs(USAGE_SEPARATOR, out); + fputs(_("See the specific fsck.* commands for available fs-options."), out); + printf(USAGE_MAN_TAIL("fsck(8)")); + exit(FSCK_EX_OK); +} + +static void signal_cancel(int sig __attribute__((__unused__))) +{ + cancel_requested++; +} + +static void parse_argv(int argc, char *argv[]) +{ + int i, j; + char *arg, *dev, *tmp = NULL; + char options[128]; + int opt = 0; + int opts_for_fsck = 0; + struct sigaction sa; + int report_stats_fd = -1; + + /* + * Set up signal action + */ + memset(&sa, 0, sizeof(struct sigaction)); + sa.sa_handler = signal_cancel; + sigaction(SIGINT, &sa, NULL); + sigaction(SIGTERM, &sa, NULL); + + num_devices = 0; + num_args = 0; + instance_list = NULL; + + for (i=1; i < argc; i++) { + arg = argv[i]; + if (!arg) + continue; + + /* the only two longopts to satisfy UL standards */ + if (!opts_for_fsck && !strcmp(arg, "--help")) + usage(); + if (!opts_for_fsck && !strcmp(arg, "--version")) { + printf(UTIL_LINUX_VERSION); + exit(FSCK_EX_OK); + } + + if ((arg[0] == '/' && !opts_for_fsck) || strchr(arg, '=')) { + if (num_devices >= MAX_DEVICES) + errx(FSCK_EX_ERROR, _("too many devices")); + + dev = mnt_resolve_spec(arg, mntcache); + + if (!dev && strchr(arg, '=')) { + /* + * Check to see if we failed because + * /proc/partitions isn't found. + */ + if (access(_PATH_PROC_PARTITIONS, R_OK) < 0) { + warn(_("cannot open %s"), + _PATH_PROC_PARTITIONS); + errx(FSCK_EX_ERROR, _("Is /proc mounted?")); + } + /* + * Check to see if this is because + * we're not running as root + */ + if (geteuid()) + errx(FSCK_EX_ERROR, + _("must be root to scan for matching filesystems: %s"), + arg); + else + errx(FSCK_EX_ERROR, + _("couldn't find matching filesystem: %s"), + arg); + } + devices[num_devices++] = dev ? dev : xstrdup(arg); + continue; + } + if (arg[0] != '-' || opts_for_fsck) { + if (num_args >= MAX_ARGS) + errx(FSCK_EX_ERROR, _("too many arguments")); + args[num_args++] = xstrdup(arg); + continue; + } + for (j=1; arg[j]; j++) { + if (opts_for_fsck) { + options[++opt] = arg[j]; + continue; + } + switch (arg[j]) { + case 'A': + doall = 1; + break; + case 'C': + progress = 1; + if (arg[j+1]) { /* -C */ + progress_fd = string_to_int(arg+j+1); + if (progress_fd < 0) + progress_fd = 0; + else + goto next_arg; + } else if (i+1 < argc && *argv[i+1] != '-') { /* -C */ + progress_fd = string_to_int(argv[i+1]); + if (progress_fd < 0) + progress_fd = 0; + else { + ++i; + goto next_arg; + } + } + break; + case 'l': + lockdisk = 1; + break; + case 'V': + verbose++; + break; + case 'N': + noexecute = 1; + break; + case 'R': + skip_root = 1; + break; + case 'T': + notitle = 1; + break; + case 'M': + ignore_mounted = 1; + break; + case 'P': + parallel_root = 1; + break; + case 'r': + report_stats = 1; + if (arg[j+1]) { /* -r */ + report_stats_fd = strtou32_or_err(arg+j+1, _("invalid argument of -r")); + goto next_arg; + } else if (i+1 < argc && *argv[i+1] >= '0' && *argv[i+1] <= '9') { /* -r */ + report_stats_fd = strtou32_or_err(argv[i+1], _("invalid argument of -r")); + ++i; + goto next_arg; + } + break; + case 's': + serialize = 1; + break; + case 't': + tmp = NULL; + if (fstype) + errx(FSCK_EX_USAGE, + _("option '%s' may be specified only once"), "-t"); + if (arg[j+1]) + tmp = arg+j+1; + else if ((i+1) < argc) + tmp = argv[++i]; + else + errx(FSCK_EX_USAGE, + _("option '%s' requires an argument"), "-t"); + fstype = xstrdup(tmp); + compile_fs_type(fstype, &fs_type_compiled); + goto next_arg; + case '-': + opts_for_fsck++; + break; + case '?': + usage(); + break; + default: + options[++opt] = arg[j]; + break; + } + } + next_arg: + if (opt) { + options[0] = '-'; + options[++opt] = '\0'; + if (num_args >= MAX_ARGS) + errx(FSCK_EX_ERROR, _("too many arguments")); + args[num_args++] = xstrdup(options); + opt = 0; + } + } + + /* Validate the report stats file descriptor to avoid disasters */ + if (report_stats_fd >= 0) { + report_stats_file = fdopen(report_stats_fd, "w"); + if (!report_stats_file) + err(FSCK_EX_ERROR, + _("invalid argument of -r: %d"), + report_stats_fd); + } + + if (getenv("FSCK_FORCE_ALL_PARALLEL")) + force_all_parallel++; + if ((tmp = getenv("FSCK_MAX_INST"))) + max_running = atoi(tmp); +} + +int main(int argc, char *argv[]) +{ + int i, status = 0; + int interactive = 0; + struct libmnt_fs *fs; + const char *path = getenv("PATH"); + + setvbuf(stdout, NULL, _IONBF, BUFSIZ); + setvbuf(stderr, NULL, _IONBF, BUFSIZ); + + setlocale(LC_MESSAGES, ""); + setlocale(LC_CTYPE, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + strutils_set_exitcode(FSCK_EX_USAGE); + mnt_init_debug(0); /* init libmount debug mask */ + mntcache = mnt_new_cache(); /* no fatal error if failed */ + + parse_argv(argc, argv); + + if (!notitle) + printf(UTIL_LINUX_VERSION); + + load_fs_info(); + + fsck_path = xstrdup(path && *path ? path : FSCK_DEFAULT_PATH); + + if ((num_devices == 1) || (serialize)) + interactive = 1; + + if (lockdisk && (doall || num_devices > 1)) { + warnx(_("the -l option can be used with one " + "device only -- ignore")); + lockdisk = 0; + } + + /* If -A was specified ("check all"), do that! */ + if (doall) + return check_all(); + + if (num_devices == 0) { + serialize++; + interactive++; + return check_all(); + } + for (i = 0 ; i < num_devices; i++) { + if (cancel_requested) { + if (!kill_sent) { + kill_all(SIGTERM); + kill_sent++; + } + break; + } + fs = lookup(devices[i]); + if (!fs) + fs = add_dummy_fs(devices[i]); + else if (fs_ignored_type(fs)) + continue; + if (ignore_mounted && is_mounted(fs)) + continue; + status |= fsck_device(fs, interactive); + if (serialize || + (max_running && (num_running >= max_running))) { + struct fsck_instance *inst; + + inst = wait_one(0); + if (inst) { + status |= inst->exit_status; + free_instance(inst); + } + if (verbose > 1) + printf("----------------------------------\n"); + } + } + status |= wait_many(FLAG_WAIT_ALL); + free(fsck_path); + mnt_unref_cache(mntcache); + mnt_unref_table(fstab); + mnt_unref_table(mtab); + return status; +} diff --git a/disk-utils/fsck.cramfs.8 b/disk-utils/fsck.cramfs.8 new file mode 100644 index 0000000..ec486d6 --- /dev/null +++ b/disk-utils/fsck.cramfs.8 @@ -0,0 +1,61 @@ +.TH FSCK.CRAMFS 8 "April 2013" "util-linux" "System Administration" +.SH NAME +fsck.cramfs \- fsck compressed ROM file system +.SH SYNOPSIS +.B fsck.cramfs +[options] +.I file +.SH DESCRIPTION +.I fsck.cramfs +is used to check the cramfs file system. +.SH OPTIONS +.TP +\fB\-v\fR, \fB\-\-verbose\fR +Enable verbose messaging. +.TP +\fB\-b\fR, \fB\-\-blocksize\fR \fIblocksize\fR +Use this blocksize, defaults to page size. Must be equal to what was set at +creation time. Only used for \-\-extract. +.TP +\fB\-\-extract\fR[=\fIdirectory\fR] +Test to uncompress the whole file system. Optionally extract contents of the +.I file +to +.IR directory . +.TP +\fB\-a\fR +This option is silently ignored. +.TP +\fB\-y\fR +This option is silently ignored. +.TP +\fB\-V\fR, \fB\-\-version\fR +Display version information and exit. +.TP +\fB\-h\fR, \fB\-\-help\fR +Display help text and exit. +.SH "EXIT STATUS" +.RS +.PD 0 +.TP +.B 0 +success +.TP +.B 4 +file system was left uncorrected +.TP +.B 8 +operation error, such as unable to allocate memory +.TP +.B 16 +usage information was printed +.PD +.RE +.SH "SEE ALSO" +.BR mount (8), +.BR mkfs.cramfs (8) +.SH AVAILABILITY +The example command is part of the util-linux package and is available from +.UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/ +Linux Kernel Archive +.UE . diff --git a/disk-utils/fsck.cramfs.c b/disk-utils/fsck.cramfs.c new file mode 100644 index 0000000..0d9bdad --- /dev/null +++ b/disk-utils/fsck.cramfs.c @@ -0,0 +1,714 @@ +/* + * cramfsck - check a cramfs file system + * + * Copyright (C) 2000-2002 Transmeta Corporation + * 2005 Adrian Bunk + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * 1999/12/03: Linus Torvalds (cramfs tester and unarchive program) + * 2000/06/03: Daniel Quinlan (CRC and length checking program) + * 2000/06/04: Daniel Quinlan (merged programs, added options, support + * for special files, preserve permissions and + * ownership, cramfs superblock v2, bogus mode + * test, pathname length test, etc.) + * 2000/06/06: Daniel Quinlan (support for holes, pretty-printing, + * symlink size test) + * 2000/07/11: Daniel Quinlan (file length tests, start at offset 0 or 512, + * fsck-compatible exit codes) + * 2000/07/15: Daniel Quinlan (initial support for block devices) + * 2002/01/10: Daniel Quinlan (additional checks, test more return codes, + * use read if mmap fails, standardize messages) + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/* We don't use our include/crc32.h, but crc32 from zlib! + * + * The zlib implementation performs pre/post-conditioning. The util-linux + * imlemenation requires post-conditioning (xor) in the applications. + */ +#include + +#include +#include +#include + +#include "c.h" +#include "cramfs.h" +#include "nls.h" +#include "blkdev.h" +#include "exitcodes.h" +#include "strutils.h" +#include "closestream.h" + +#define XALLOC_EXIT_CODE FSCK_EX_ERROR +#include "xalloc.h" + +static int fd; /* ROM image file descriptor */ +static char *filename; /* ROM image filename */ +static struct cramfs_super super; /* just find the cramfs superblock once */ +static int cramfs_is_big_endian = 0; /* source is big endian */ +static int opt_verbose = 0; /* 1 = verbose (-v), 2+ = very verbose (-vv) */ +static int opt_extract = 0; /* extract cramfs (-x) */ +static char *extract_dir = ""; /* optional extraction directory (-x) */ + +#define PAD_SIZE 512 + +static uid_t euid; /* effective UID */ + +/* (cramfs_super + start) <= start_dir < end_dir <= start_data <= end_data */ +static unsigned long start_dir = ~0UL; /* start of first non-root inode */ +static unsigned long end_dir = 0; /* end of the directory structure */ +static unsigned long start_data = ~0UL; /* start of the data (256 MB = max) */ +static unsigned long end_data = 0; /* end of the data */ + + +/* Guarantee access to at least 8kB at a time */ +#define ROMBUFFER_BITS 13 +#define ROMBUFFERSIZE (1 << ROMBUFFER_BITS) +#define ROMBUFFERMASK (ROMBUFFERSIZE - 1) +static char read_buffer[ROMBUFFERSIZE * 2]; +static unsigned long read_buffer_block = ~0UL; + +static z_stream stream; + +/* Prototypes */ +static void expand_fs(char *, struct cramfs_inode *); + +static char *outbuffer; + +static size_t blksize = 0; + +static void __attribute__((__noreturn__)) usage(void) +{ + FILE *out = stdout; + + fputs(USAGE_HEADER, out); + fprintf(out, + _(" %s [options] \n"), program_invocation_short_name); + + fputs(USAGE_SEPARATOR, out); + fputs(_("Check and repair a compressed ROM filesystem.\n"), out); + + fputs(USAGE_OPTIONS, out); + fputs(_(" -a for compatibility only, ignored\n"), out); + fputs(_(" -v, --verbose be more verbose\n"), out); + fputs(_(" -y for compatibility only, ignored\n"), out); + fputs(_(" -b, --blocksize use this blocksize, defaults to page size\n"), out); + fputs(_(" --extract[=] test uncompression, optionally extract into \n"), out); + fputs(USAGE_SEPARATOR, out); + printf(USAGE_HELP_OPTIONS(26)); + + printf(USAGE_MAN_TAIL("fsck.cramfs(8)")); + exit(FSCK_EX_OK); +} + +static int get_superblock_endianness(uint32_t magic) +{ + if (magic == CRAMFS_MAGIC) { + cramfs_is_big_endian = HOST_IS_BIG_ENDIAN; + return 0; + } else if (magic == + u32_toggle_endianness(!HOST_IS_BIG_ENDIAN, CRAMFS_MAGIC)) { + cramfs_is_big_endian = !HOST_IS_BIG_ENDIAN; + return 0; + } else + return -1; +} + +static void test_super(int *start, size_t * length) +{ + struct stat st; + + /* find the physical size of the file or block device */ + if (stat(filename, &st) < 0) + err(FSCK_EX_ERROR, _("stat of %s failed"), filename); + + fd = open(filename, O_RDONLY); + if (fd < 0) + err(FSCK_EX_ERROR, _("cannot open %s"), filename); + + if (S_ISBLK(st.st_mode)) { + unsigned long long bytes; + if (blkdev_get_size(fd, &bytes)) + err(FSCK_EX_ERROR, + _("ioctl failed: unable to determine device size: %s"), + filename); + *length = bytes; + } else if (S_ISREG(st.st_mode)) + *length = st.st_size; + else + errx(FSCK_EX_ERROR, _("not a block device or file: %s"), filename); + + if (*length < sizeof(struct cramfs_super)) + errx(FSCK_EX_UNCORRECTED, _("file length too short")); + + /* find superblock */ + if (read(fd, &super, sizeof(super)) != sizeof(super)) + err(FSCK_EX_ERROR, _("cannot read %s"), filename); + if (get_superblock_endianness(super.magic) != -1) + *start = 0; + else if (*length >= (PAD_SIZE + sizeof(super))) { + if (lseek(fd, PAD_SIZE, SEEK_SET) == (off_t) -1) + err(FSCK_EX_ERROR, _("seek on %s failed"), filename); + if (read(fd, &super, sizeof(super)) != sizeof(super)) + err(FSCK_EX_ERROR, _("cannot read %s"), filename); + if (get_superblock_endianness(super.magic) != -1) + *start = PAD_SIZE; + else + errx(FSCK_EX_UNCORRECTED, _("superblock magic not found")); + } else + errx(FSCK_EX_UNCORRECTED, _("superblock magic not found")); + + if (opt_verbose) + printf(_("cramfs endianness is %s\n"), + cramfs_is_big_endian ? _("big") : _("little")); + + super_toggle_endianness(cramfs_is_big_endian, &super); + if (super.flags & ~CRAMFS_SUPPORTED_FLAGS) + errx(FSCK_EX_ERROR, _("unsupported filesystem features")); + + /* What are valid superblock sizes? */ + if (super.size < *start + sizeof(struct cramfs_super)) + errx(FSCK_EX_UNCORRECTED, _("superblock size (%d) too small"), + super.size); + + if (super.flags & CRAMFS_FLAG_FSID_VERSION_2) { + if (super.fsid.files == 0) + errx(FSCK_EX_UNCORRECTED, _("zero file count")); + if (*length < super.size) + errx(FSCK_EX_UNCORRECTED, _("file length too short")); + else if (*length > super.size) + warnx(_("file extends past end of filesystem")); + } else + warnx(_("old cramfs format")); +} + +static void test_crc(int start) +{ + void *buf; + uint32_t crc; + + if (!(super.flags & CRAMFS_FLAG_FSID_VERSION_2)) { + warnx(_("unable to test CRC: old cramfs format")); + return; + } + + crc = crc32(0L, NULL, 0); + + buf = + mmap(NULL, super.size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); + if (buf == MAP_FAILED) { + buf = + mmap(NULL, super.size, PROT_READ | PROT_WRITE, + MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); + if (buf != MAP_FAILED) { + ssize_t tmp; + if (lseek(fd, 0, SEEK_SET) == (off_t) -1) + err(FSCK_EX_ERROR, _("seek on %s failed"), filename); + tmp = read(fd, buf, super.size); + if (tmp < 0) + err(FSCK_EX_ERROR, _("cannot read %s"), filename); + if (tmp != (ssize_t) super.size) + errx(FSCK_EX_ERROR, _("failed to read %"PRIu32" bytes from file %s"), + super.size, filename); + } + } + if (buf != MAP_FAILED) { + ((struct cramfs_super *)((unsigned char *) buf + start))->fsid.crc = + crc32(0L, NULL, 0); + crc = crc32(crc, (unsigned char *) buf + start, super.size - start); + munmap(buf, super.size); + } else { + int retval; + size_t length = 0; + + buf = xmalloc(4096); + if (lseek(fd, start, SEEK_SET) == (off_t) -1) + err(FSCK_EX_ERROR, _("seek on %s failed"), filename); + for (;;) { + retval = read(fd, buf, 4096); + if (retval < 0) + err(FSCK_EX_ERROR, _("cannot read %s"), filename); + else if (retval == 0) + break; + if (length == 0) + ((struct cramfs_super *)buf)->fsid.crc = + crc32(0L, NULL, 0); + length += retval; + if (length > (super.size - start)) { + crc = crc32(crc, buf, + retval - (length - + (super.size - start))); + break; + } + crc = crc32(crc, buf, retval); + } + free(buf); + } + + if (crc != super.fsid.crc) + errx(FSCK_EX_UNCORRECTED, _("crc error")); +} + +static void print_node(char type, struct cramfs_inode *i, char *name) +{ + char info[10]; + + if (S_ISCHR(i->mode) || (S_ISBLK(i->mode))) + /* major/minor numbers can be as high as 2^12 or 4096 */ + snprintf(info, 10, "%4d,%4d", major(i->size), minor(i->size)); + else + /* size be as high as 2^24 or 16777216 */ + snprintf(info, 10, "%9d", i->size); + + printf("%c %04o %s %5d:%-3d %s\n", + type, i->mode & ~S_IFMT, info, i->uid, i->gid, + !*name && type == 'd' ? "/" : name); +} + +/* + * Create a fake "blocked" access + */ +static void *romfs_read(unsigned long offset) +{ + unsigned int block = offset >> ROMBUFFER_BITS; + if (block != read_buffer_block) { + ssize_t x; + + read_buffer_block = block; + if (lseek(fd, block << ROMBUFFER_BITS, SEEK_SET) == (off_t) -1) + warn(_("seek failed")); + + x = read(fd, read_buffer, ROMBUFFERSIZE * 2); + if (x < 0) + warn(_("read romfs failed")); + } + return read_buffer + (offset & ROMBUFFERMASK); +} + +static struct cramfs_inode *cramfs_iget(struct cramfs_inode *i) +{ + struct cramfs_inode *inode = xmalloc(sizeof(struct cramfs_inode)); + + inode_to_host(cramfs_is_big_endian, i, inode); + return inode; +} + +static struct cramfs_inode *iget(unsigned int ino) +{ + return cramfs_iget(romfs_read(ino)); +} + +static void iput(struct cramfs_inode *inode) +{ + free(inode); +} + +/* + * Return the offset of the root directory + */ +static struct cramfs_inode *read_super(void) +{ + struct cramfs_inode *root = cramfs_iget(&super.root); + unsigned long offset = root->offset << 2; + + if (!S_ISDIR(root->mode)) + errx(FSCK_EX_UNCORRECTED, _("root inode is not directory")); + if (!(super.flags & CRAMFS_FLAG_SHIFTED_ROOT_OFFSET) && + ((offset != sizeof(struct cramfs_super)) && + (offset != PAD_SIZE + sizeof(struct cramfs_super)))) { + errx(FSCK_EX_UNCORRECTED, _("bad root offset (%lu)"), offset); + } + return root; +} + +static int uncompress_block(void *src, size_t len) +{ + int err; + + stream.next_in = src; + stream.avail_in = len; + + stream.next_out = (unsigned char *)outbuffer; + stream.avail_out = blksize * 2; + + inflateReset(&stream); + + if (len > blksize * 2) + errx(FSCK_EX_UNCORRECTED, _("data block too large")); + + err = inflate(&stream, Z_FINISH); + if (err != Z_STREAM_END) + errx(FSCK_EX_UNCORRECTED, _("decompression error: %s"), + zError(err)); + return stream.total_out; +} + +#if !HAVE_LCHOWN +#define lchown chown +#endif + +static void do_uncompress(char *path, int outfd, unsigned long offset, + unsigned long size) +{ + unsigned long curr = offset + 4 * ((size + blksize - 1) / blksize); + + do { + unsigned long out = blksize; + unsigned long next = u32_toggle_endianness(cramfs_is_big_endian, + *(uint32_t *) + romfs_read(offset)); + + if (next > end_data) + end_data = next; + + offset += 4; + if (curr == next) { + if (opt_verbose > 1) + printf(_(" hole at %lu (%zu)\n"), curr, + blksize); + if (size < blksize) + out = size; + memset(outbuffer, 0x00, out); + } else { + if (opt_verbose > 1) + printf(_(" uncompressing block at %lu to %lu (%lu)\n"), + curr, next, next - curr); + out = uncompress_block(romfs_read(curr), next - curr); + } + if (size >= blksize) { + if (out != blksize) + errx(FSCK_EX_UNCORRECTED, + _("non-block (%ld) bytes"), out); + } else { + if (out != size) + errx(FSCK_EX_UNCORRECTED, + _("non-size (%ld vs %ld) bytes"), out, + size); + } + size -= out; + if (*extract_dir != '\0' && write(outfd, outbuffer, out) < 0) + err(FSCK_EX_ERROR, _("write failed: %s"), path); + curr = next; + } while (size); +} + +static void change_file_status(char *path, struct cramfs_inode *i) +{ + struct utimbuf epoch = { 0, 0 }; + + if (euid == 0) { + if (lchown(path, i->uid, i->gid) < 0) + err(FSCK_EX_ERROR, _("lchown failed: %s"), path); + if (S_ISLNK(i->mode)) + return; + if (((S_ISUID | S_ISGID) & i->mode) && chmod(path, i->mode) < 0) + err(FSCK_EX_ERROR, _("chown failed: %s"), path); + } + if (S_ISLNK(i->mode)) + return; + if (utime(path, &epoch) < 0) + err(FSCK_EX_ERROR, _("utime failed: %s"), path); +} + +static void do_directory(char *path, struct cramfs_inode *i) +{ + int pathlen = strlen(path); + int count = i->size; + unsigned long offset = i->offset << 2; + char *newpath = xmalloc(pathlen + 256); + + if (offset == 0 && count != 0) + errx(FSCK_EX_UNCORRECTED, + _("directory inode has zero offset and non-zero size: %s"), + path); + + if (offset != 0 && offset < start_dir) + start_dir = offset; + + /* TODO: Do we need to check end_dir for empty case? */ + memcpy(newpath, path, pathlen); + newpath[pathlen] = '/'; + pathlen++; + if (opt_verbose) + print_node('d', i, path); + + if (*extract_dir != '\0') { + if (mkdir(path, i->mode) < 0) + err(FSCK_EX_ERROR, _("mkdir failed: %s"), path); + change_file_status(path, i); + } + while (count > 0) { + struct cramfs_inode *child = iget(offset); + int size; + int newlen = child->namelen << 2; + + size = sizeof(struct cramfs_inode) + newlen; + count -= size; + + offset += sizeof(struct cramfs_inode); + + memcpy(newpath + pathlen, romfs_read(offset), newlen); + newpath[pathlen + newlen] = 0; + if (newlen == 0) + errx(FSCK_EX_UNCORRECTED, _("filename length is zero")); + if ((pathlen + newlen) - strlen(newpath) > 3) + errx(FSCK_EX_UNCORRECTED, _("bad filename length")); + expand_fs(newpath, child); + + offset += newlen; + + if (offset <= start_dir) + errx(FSCK_EX_UNCORRECTED, _("bad inode offset")); + if (offset > end_dir) + end_dir = offset; + iput(child); /* free(child) */ + } + free(newpath); +} + +static void do_file(char *path, struct cramfs_inode *i) +{ + unsigned long offset = i->offset << 2; + int outfd = 0; + + if (offset == 0 && i->size != 0) + errx(FSCK_EX_UNCORRECTED, + _("file inode has zero offset and non-zero size")); + if (i->size == 0 && offset != 0) + errx(FSCK_EX_UNCORRECTED, + _("file inode has zero size and non-zero offset")); + if (offset != 0 && offset < start_data) + start_data = offset; + if (opt_verbose) + print_node('f', i, path); + if (*extract_dir != '\0') { + outfd = open(path, O_WRONLY | O_CREAT | O_TRUNC, i->mode); + if (outfd < 0) + err(FSCK_EX_ERROR, _("cannot open %s"), path); + } + if (i->size) + do_uncompress(path, outfd, offset, i->size); + if ( *extract_dir != '\0') { + if (close_fd(outfd) != 0) + err(FSCK_EX_ERROR, _("write failed: %s"), path); + change_file_status(path, i); + } +} + +static void do_symlink(char *path, struct cramfs_inode *i) +{ + unsigned long offset = i->offset << 2; + unsigned long curr = offset + 4; + unsigned long next = + u32_toggle_endianness(cramfs_is_big_endian, + *(uint32_t *) romfs_read(offset)); + unsigned long size; + + if (offset == 0) + errx(FSCK_EX_UNCORRECTED, _("symbolic link has zero offset")); + if (i->size == 0) + errx(FSCK_EX_UNCORRECTED, _("symbolic link has zero size")); + + if (offset < start_data) + start_data = offset; + if (next > end_data) + end_data = next; + + size = uncompress_block(romfs_read(curr), next - curr); + if (size != i->size) + errx(FSCK_EX_UNCORRECTED, _("size error in symlink: %s"), path); + outbuffer[size] = 0; + if (opt_verbose) { + char *str; + + xasprintf(&str, "%s -> %s", path, outbuffer); + print_node('l', i, str); + if (opt_verbose > 1) + printf(_(" uncompressing block at %lu to %lu (%lu)\n"), + curr, next, next - curr); + free(str); + } + if (*extract_dir != '\0') { + if (symlink(outbuffer, path) < 0) + err(FSCK_EX_ERROR, _("symlink failed: %s"), path); + change_file_status(path, i); + } +} + +static void do_special_inode(char *path, struct cramfs_inode *i) +{ + dev_t devtype = 0; + char type; + + if (i->offset) + /* no need to shift offset */ + errx(FSCK_EX_UNCORRECTED, + _("special file has non-zero offset: %s"), path); + + if (S_ISCHR(i->mode)) { + devtype = i->size; + type = 'c'; + } else if (S_ISBLK(i->mode)) { + devtype = i->size; + type = 'b'; + } else if (S_ISFIFO(i->mode)) { + if (i->size != 0) + errx(FSCK_EX_UNCORRECTED, _("fifo has non-zero size: %s"), + path); + type = 'p'; + } else if (S_ISSOCK(i->mode)) { + if (i->size != 0) + errx(FSCK_EX_UNCORRECTED, + _("socket has non-zero size: %s"), path); + type = 's'; + } else { + errx(FSCK_EX_UNCORRECTED, _("bogus mode: %s (%o)"), path, i->mode); + return; /* not reached */ + } + + if (opt_verbose) + print_node(type, i, path); + + if (*extract_dir != '\0') { + if (mknod(path, i->mode, devtype) < 0) + err(FSCK_EX_ERROR, _("mknod failed: %s"), path); + change_file_status(path, i); + } +} + +static void expand_fs(char *path, struct cramfs_inode *inode) +{ + if (S_ISDIR(inode->mode)) + do_directory(path, inode); + else if (S_ISREG(inode->mode)) + do_file(path, inode); + else if (S_ISLNK(inode->mode)) + do_symlink(path, inode); + else + do_special_inode(path, inode); +} + +static void test_fs(int start) +{ + struct cramfs_inode *root; + + root = read_super(); + umask(0); + euid = geteuid(); + stream.next_in = NULL; + stream.avail_in = 0; + inflateInit(&stream); + expand_fs(extract_dir, root); + inflateEnd(&stream); + if (start_data != ~0UL) { + if (start_data < (sizeof(struct cramfs_super) + start)) + errx(FSCK_EX_UNCORRECTED, + _("directory data start (%lu) < sizeof(struct cramfs_super) + start (%zu)"), + start_data, sizeof(struct cramfs_super) + start); + if (end_dir != start_data) + errx(FSCK_EX_UNCORRECTED, + _("directory data end (%lu) != file data start (%lu)"), + end_dir, start_data); + } + if (super.flags & CRAMFS_FLAG_FSID_VERSION_2 && end_data > super.size) + errx(FSCK_EX_UNCORRECTED, _("invalid file data offset")); + + iput(root); /* free(root) */ +} + +int main(int argc, char **argv) +{ + int c; /* for getopt */ + int start = 0; + size_t length = 0; + + static const struct option longopts[] = { + {"verbose", no_argument, NULL, 'v'}, + {"version", no_argument, NULL, 'V'}, + {"help", no_argument, NULL, 'h'}, + {"blocksize", required_argument, NULL, 'b'}, + {"extract", optional_argument, NULL, 'x'}, + {NULL, 0, NULL, 0}, + }; + + setlocale(LC_MESSAGES, ""); + setlocale(LC_CTYPE, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + strutils_set_exitcode(FSCK_EX_USAGE); + + /* command line options */ + while ((c = getopt_long(argc, argv, "ayvVhb:", longopts, NULL)) != EOF) + switch (c) { + case 'a': /* ignore */ + case 'y': + break; + case 'h': + usage(); + break; + case 'V': + printf(UTIL_LINUX_VERSION); + return FSCK_EX_OK; + case 'x': + opt_extract = 1; + if(optarg) + extract_dir = optarg; + break; + case 'v': + opt_verbose++; + break; + case 'b': + blksize = strtou32_or_err(optarg, _("invalid blocksize argument")); + break; + default: + errtryhelp(FSCK_EX_USAGE); + } + + if ((argc - optind) != 1){ + warnx(_("bad usage")); + errtryhelp(FSCK_EX_USAGE); + } + filename = argv[optind]; + + test_super(&start, &length); + test_crc(start); + + if(opt_extract) { + if (blksize == 0) + blksize = getpagesize(); + outbuffer = xmalloc(blksize * 2); + test_fs(start); + } + + if (opt_verbose) + printf(_("%s: OK\n"), filename); + + exit(FSCK_EX_OK); +} diff --git a/disk-utils/fsck.minix.8 b/disk-utils/fsck.minix.8 new file mode 100644 index 0000000..f7abb9b --- /dev/null +++ b/disk-utils/fsck.minix.8 @@ -0,0 +1,168 @@ +.\" Copyright 1992, 1993, 1994 Rickard E. Faith (faith@cs.unc.edu) +.\" May be freely distributed. +.TH FSCK.MINIX 8 "June 2015" "util-linux" "System Administration" +.SH NAME +fsck.minix \- check consistency of Minix filesystem +.SH SYNOPSIS +.B fsck.minix +[options] +.I device +.SH DESCRIPTION +.B fsck.minix +performs a consistency check for the Linux MINIX filesystem. +.PP +The program assumes the filesystem is quiescent. +.B fsck.minix +should not be used on a mounted device unless you can be sure nobody is +writing to it. Remember that the kernel can write to device when it +searches for files. +.PP +The \fIdevice\fR name will usually have the following form: +.RS +.TS +tab(:); +l l. +/dev/hda[1\(en63]:IDE disk 1 +/dev/hdb[1\(en63]:IDE disk 2 +/dev/sda[1\(en15]:SCSI disk 1 +/dev/sdb[1\(en15]:SCSI disk 2 +.TE +.RE +.PP +If the filesystem was changed, i.e., repaired, then +.B fsck.minix +will print "FILE SYSTEM HAS CHANGED" and will +.BR sync (2) +three times before exiting. There is +.I no +need to reboot after check. +.SH WARNING +.B fsck.minix +should +.B not +be used on a mounted filesystem. Using +.B fsck.minix +on a mounted filesystem is very dangerous, due to the possibility that +deleted files are still in use, and can seriously damage a perfectly good +filesystem! If you absolutely have to run +.B fsck.minix +on a mounted filesystem, such as the root filesystem, make sure nothing +is writing to the disk, and that no files are "zombies" waiting for +deletion. +.SH OPTIONS +.TP +\fB\-l\fR, \fB\-\-list\fR +List all filenames. +.TP +\fB\-r\fR, \fB\-\-repair\fR +Perform interactive repairs. +.TP +\fB\-a\fR, \fB\-\-auto\fR +Perform automatic repairs. This option implies +.B \-\-repair +and serves to answer all of the questions asked with the default. Note +that this can be extremely dangerous in the case of extensive filesystem +damage. +.TP +\fB\-v\fR, \fB\-\-verbose\fR +Be verbose. +.TP +\fB\-s\fR, \fB\-\-super\fR +Output super-block information. +.TP +\fB\-m\fR, \fB\-\-uncleared\fR +Activate MINIX-like "mode not cleared" warnings. +.TP +\fB\-f\fR, \fB\-\-force\fR +Force a filesystem check even if the filesystem was marked as valid. +Marking is done by the kernel when the filesystem is unmounted. +.TP +\fB\-V\fR, \fB\-\-version\fR +Display version information and exit. +.TP +\fB\-h\fR, \fB\-\-help\fR +Display help text and exit. +.SH DIAGNOSTICS +There are numerous diagnostic messages. The ones mentioned here are the +most commonly seen in normal usage. +.PP +If the device does not exist, +.B fsck.minix +will print "unable to read super block". If the device exists, but is not +a MINIX filesystem, +.B fsck.minix +will print "bad magic number in super-block". +.SH "EXIT CODES" +The exit code returned by +.B fsck.minix +is the sum of the following: +.PP +.RS +.PD 0 +.TP +.B 0 +No errors +.TP +.B 3 +Filesystem errors corrected, system should be rebooted if filesystem was +mounted +.TP +.B 4 +Filesystem errors left uncorrected +.TP +.B 7 +Combination of exit codes 3 and 4 +.TP +.B 8 +Operational error +.TP +.B 16 +Usage or syntax error +.PD +.RE +.PP +.SH AUTHORS +.MT torvalds@\:cs.\:helsinki.\:fi +Linus Torvalds +.ME +.br +Error code values by +.MT faith@\:cs.\:unc.\:edu +Rik Faith +.ME +.br +Added support for filesystem valid flag: +.MT greg%\:wind.\:uucp@\:plains.\:nodak.\:edu +Dr.\& Wettstein +.ME . +.br +Check to prevent fsck of mounted filesystem added by +.MT quinlan@\:yggdrasil.\:com +Daniel Quinlan +.ME . +.br +Minix v2 fs support by +.MT schwab@\:issan.\:informatik.\:uni-dortmund.\:de +Andreas Schwab +.ME , +updated by +.MT janl@\:math.\:uio.\:no +Nicolai Langfeldt +.ME . +.br +Portability patch by +.MT rmk@\:ecs.\:soton.\:ac.\:uk +Russell King +.ME . +.SH "SEE ALSO" +.BR fsck (8), +.BR fsck.ext2 (8), +.BR mkfs (8), +.BR mkfs.ext2 (8), +.BR mkfs.minix (8), +.BR reboot (8) +.SH AVAILABILITY +The fsck.minix command is part of the util-linux package and is available from +.UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/ +Linux Kernel Archive +.UE . diff --git a/disk-utils/fsck.minix.c b/disk-utils/fsck.minix.c new file mode 100644 index 0000000..b978684 --- /dev/null +++ b/disk-utils/fsck.minix.c @@ -0,0 +1,1438 @@ +/* + * fsck.minix.c - a file system consistency checker for Linux. + * + * (C) 1991, 1992 Linus Torvalds. This file may be redistributed + * as per the GNU copyleft. + */ + +/* + * 09.11.91 - made the first rudimentary functions + * + * 10.11.91 - updated, does checking, no repairs yet. + * Sent out to the mailing-list for testing. + * + * 14.11.91 - Testing seems to have gone well. Added some + * correction-code, and changed some functions. + * + * 15.11.91 - More correction code. Hopefully it notices most + * cases now, and tries to do something about them. + * + * 16.11.91 - More corrections (thanks to Mika Jalava). Most + * things seem to work now. Yeah, sure. + * + * + * 19.04.92 - Had to start over again from this old version, as a + * kernel bug ate my enhanced fsck in February. + * + * 28.02.93 - added support for different directory entry sizes.. + * + * Sat Mar 6 18:59:42 1993, faith@cs.unc.edu: Output namelen with + * super-block information + * + * Sat Oct 9 11:17:11 1993, faith@cs.unc.edu: make exit status conform + * to that required by fsutil + * + * Mon Jan 3 11:06:52 1994 - Dr. Wettstein (greg%wind.uucp@plains.nodak.edu) + * Added support for file system valid flag. Also + * added program_version variable and output of + * program name and version number when program + * is executed. + * + * 30.10.94 - added support for v2 filesystem + * (Andreas Schwab, schwab@issan.informatik.uni-dortmund.de) + * + * 10.12.94 - added test to prevent checking of mounted fs adapted + * from Theodore Ts'o's (tytso@athena.mit.edu) e2fsck + * program. (Daniel Quinlan, quinlan@yggdrasil.com) + * + * 01.07.96 - Fixed the v2 fs stuff to use the right #defines and such + * for modern libcs (janl@math.uio.no, Nicolai Langfeldt) + * + * 02.07.96 - Added C bit fiddling routines from rmk@ecs.soton.ac.uk + * (Russell King). He made them for ARM. It would seem + * that the ARM is powerful enough to do this in C whereas + * i386 and m64k must use assembly to get it fast >:-) + * This should make minix fsck systemindependent. + * (janl@math.uio.no, Nicolai Langfeldt) + * + * 04.11.96 - Added minor fixes from Andreas Schwab to avoid compiler + * warnings. Added mc68k bitops from + * Joerg Dorchain . + * + * 06.11.96 - Added v2 code submitted by Joerg Dorchain, but written by + * Andreas Schwab. + * + * 1999-02-22 Arkadiusz Miśkiewicz + * - added Native Language Support + * + * 2008-04-06 James Youngman + * - Issue better error message if we fail to open the device. + * - Restore terminal state if we get a fatal signal. + * + * + * I've had no time to add comments - hopefully the function names + * are comments enough. As with all file system checkers, this assumes + * the file system is quiescent - don't use it on a mounted device + * unless you can be sure nobody is writing to it (and remember that the + * kernel can write to it when it searches for files). + * + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "c.h" +#include "exitcodes.h" +#include "minix_programs.h" +#include "nls.h" +#include "pathnames.h" +#include "bitops.h" +#include "ismounted.h" +#include "all-io.h" +#include "closestream.h" +#include "rpmatch.h" +#include "strutils.h" + +#define ROOT_INO 1 +#define YESNO_LENGTH 64 + +/* Global variables used in minix_programs.h inline functions */ +int fs_version = 1; +char *super_block_buffer; + +static char *inode_buffer; + +#define Inode (((struct minix_inode *) inode_buffer) - 1) +#define Inode2 (((struct minix2_inode *) inode_buffer) - 1) + +static char *device_name; +static int device_fd; +static int repair, automatic, verbose, list, show, warn_mode, force; +static int directory, regular, blockdev, chardev, links, symlinks, total; + +static int changed; /* flags if the filesystem has been changed */ +static int errors_uncorrected; /* flag if some error was not corrected */ +static size_t dirsize = 16; +static size_t namelen = 14; +static struct termios termios; +static volatile sig_atomic_t termios_set; + +/* File-name data */ +#define MAX_DEPTH 50 +static int name_depth; +static char name_list[MAX_DEPTH][MINIX_NAME_MAX + 1]; + +/* Copy of the previous, just for error reporting - see get_current_name. This + * is a waste of 12kB or so. */ +static char current_name[MAX_DEPTH * (MINIX_NAME_MAX + 1) + 1]; + +static unsigned char *inode_count = NULL; +static unsigned char *zone_count = NULL; + +static void recursive_check(unsigned int ino); +static void recursive_check2(unsigned int ino); + +static char *inode_map; +static char *zone_map; + +#define inode_in_use(x) (isset(inode_map,(x)) != 0) +#define zone_in_use(x) (isset(zone_map,(x)-get_first_zone()+1) != 0) + +#define mark_inode(x) (setbit(inode_map,(x)),changed=1) +#define unmark_inode(x) (clrbit(inode_map,(x)),changed=1) + +#define mark_zone(x) (setbit(zone_map,(x)-get_first_zone()+1),changed=1) +#define unmark_zone(x) (clrbit(zone_map,(x)-get_first_zone()+1),changed=1) + +static void +reset(void) { + if (termios_set) + tcsetattr(STDIN_FILENO, TCSANOW, &termios); +} + +static void +fatalsig(int sig) { + /* We received a fatal signal. Reset the terminal. Also reset the + * signal handler and re-send the signal, so that the parent process + * knows which signal actually caused our death. */ + signal(sig, SIG_DFL); + reset(); + raise(sig); +} + +static void __attribute__((__noreturn__)) +leave(int status) { + reset(); + exit(status); +} + +static void __attribute__((__noreturn__)) +usage(void) { + FILE *out = stdout; + fputs(USAGE_HEADER, out); + fprintf(out, _(" %s [options] \n"), program_invocation_short_name); + fputs(USAGE_SEPARATOR, out); + fputs(_("Check the consistency of a Minix filesystem.\n"), out); + fputs(USAGE_OPTIONS, out); + fputs(_(" -l, --list list all filenames\n"), out); + fputs(_(" -a, --auto automatic repair\n"), out); + fputs(_(" -r, --repair interactive repair\n"), out); + fputs(_(" -v, --verbose be verbose\n"), out); + fputs(_(" -s, --super output super-block information\n"), out); + fputs(_(" -m, --uncleared activate mode not cleared warnings\n"), out); + fputs(_(" -f, --force force check\n"), out); + fputs(USAGE_SEPARATOR, out); + printf(USAGE_HELP_OPTIONS(18)); + printf(USAGE_MAN_TAIL("fsck.minix(8)")); + exit(FSCK_EX_OK); +} + +static void die(const char *fmt, ...) + __attribute__ ((__format__(__printf__, 1, 2))); + +static void +die(const char *fmt, ...) { + va_list ap; + + fprintf(stderr, UTIL_LINUX_VERSION); + va_start(ap, fmt); + vfprintf(stderr, fmt, ap); + va_end(ap); + fputc('\n', stderr); + leave(FSCK_EX_ERROR); +} + +/* This simply goes through the file-name data and prints out the current file. */ +static void +get_current_name(void) { + int i = 0, ct; + char *p, *q; + + q = current_name; + while (i < name_depth) { + p = name_list[i++]; + ct = namelen; + *q++ = '/'; + while (ct-- && *p) + *q++ = *p++; + } + if (i == 0) + *q++ = '/'; + *q = 0; +} + +static int +ask(const char *string, int def) { + int resp; + char input[YESNO_LENGTH]; + + if (!repair) { + printf("\n"); + errors_uncorrected = 1; + return 0; + } + if (automatic) { + printf("\n"); + if (!def) + errors_uncorrected = 1; + return def; + } + /* TRANSLATORS: these yes no questions uses rpmatch(), and should be + * translated. */ + printf(def ? _("%s (y/n)? ") : _("%s (n/y)? "), string); + fflush(stdout); + ignore_result( fgets(input, YESNO_LENGTH, stdin) ); + resp = rpmatch(input); + switch (resp) { + case RPMATCH_INVALID: + /* def = def */ + break; + case RPMATCH_NO: + case RPMATCH_YES: + def = resp; + break; + default: + /* rpmatch bug? */ + abort(); + } + if (def) + printf(_("y\n")); + else { + printf(_("n\n")); + errors_uncorrected = 1; + } + return def; +} + +/* Make certain that we aren't checking a filesystem that is on a mounted + * partition. Code adapted from e2fsck, Copyright (C) 1993, 1994 Theodore + * Ts'o. Also licensed under GPL. */ +static void +check_mount(void) { + int cont; + + if (!is_mounted(device_name)) + return; + + printf(_("%s is mounted. "), device_name); + if (isatty(STDIN_FILENO) && isatty(STDOUT_FILENO)) + cont = ask(_("Do you really want to continue"), 0); + else + cont = 0; + if (!cont) { + printf(_("check aborted.\n")); + exit(FSCK_EX_OK); + } + return; +} + + +static int is_valid_zone_nr(unsigned short nr) +{ + if (nr < get_first_zone()) + return 0; + else if (nr >= get_nzones()) + return 0; + return 1; +} + +/* check_zone_nr checks to see that *nr is a valid zone nr. If it isn't, it + * will possibly be repaired. Check_zone_nr sets *corrected if an error was + * corrected, and returns the zone (0 for no zone or a bad zone-number). */ +static int +check_zone_nr(unsigned short *nr, int *corrected) { + if (!*nr) + return 0; + + if (*nr < get_first_zone()) { + get_current_name(); + printf(_("Zone nr < FIRSTZONE in file `%s'."), current_name); + } else if (*nr >= get_nzones()) { + get_current_name(); + printf(_("Zone nr >= ZONES in file `%s'."), current_name); + } else + return *nr; + + if (ask(_("Remove block"), 1)) { + *nr = 0; + *corrected = 1; + } + return 0; +} + +static int +check_zone_nr2(unsigned int *nr, int *corrected) { + if (!*nr) + return 0; + + if (*nr < get_first_zone()) { + get_current_name(); + printf(_("Zone nr < FIRSTZONE in file `%s'."), current_name); + } else if (*nr >= get_nzones()) { + get_current_name(); + printf(_("Zone nr >= ZONES in file `%s'."), current_name); + } else + return *nr; + + if (ask(_("Remove block"), 1)) { + *nr = 0; + *corrected = 1; + } + return 0; +} + +/* read-block reads block nr into the buffer at addr. */ +static void +read_block(unsigned int nr, char *addr) { + if (!nr) { + memset(addr, 0, MINIX_BLOCK_SIZE); + return; + } + if (MINIX_BLOCK_SIZE * nr != lseek(device_fd, MINIX_BLOCK_SIZE * nr, SEEK_SET)) { + get_current_name(); + printf(_("Read error: unable to seek to block in file '%s'\n"), + current_name); + memset(addr, 0, MINIX_BLOCK_SIZE); + errors_uncorrected = 1; + } else if (MINIX_BLOCK_SIZE != read(device_fd, addr, MINIX_BLOCK_SIZE)) { + get_current_name(); + printf(_("Read error: bad block in file '%s'\n"), current_name); + memset(addr, 0, MINIX_BLOCK_SIZE); + errors_uncorrected = 1; + } +} + +/* write_block writes block nr to disk. */ +static void +write_block(unsigned int nr, char *addr) { + if (!nr) + return; + if (nr < get_first_zone() || nr >= get_nzones()) { + printf(_("Internal error: trying to write bad block\n" + "Write request ignored\n")); + errors_uncorrected = 1; + return; + } + if (MINIX_BLOCK_SIZE * nr != lseek(device_fd, MINIX_BLOCK_SIZE * nr, SEEK_SET)) + die(_("seek failed in write_block")); + if (MINIX_BLOCK_SIZE != write(device_fd, addr, MINIX_BLOCK_SIZE)) { + get_current_name(); + printf(_("Write error: bad block in file '%s'\n"), + current_name); + errors_uncorrected = 1; + } +} + +/* map-block calculates the absolute block nr of a block in a file. It sets + * 'changed' if the inode has needed changing, and re-writes any indirect + * blocks with errors. */ +static int +map_block(struct minix_inode *inode, unsigned int blknr) { + unsigned short ind[MINIX_BLOCK_SIZE >> 1]; + unsigned short dind[MINIX_BLOCK_SIZE >> 1]; + int blk_chg, block, result; + size_t range; + + if (blknr < 7) + return check_zone_nr(inode->i_zone + blknr, &changed); + blknr -= 7; + if (blknr < 512) { + block = check_zone_nr(inode->i_zone + 7, &changed); + read_block(block, (char *)ind); + blk_chg = 0; + result = check_zone_nr(blknr + ind, &blk_chg); + if (blk_chg) + write_block(block, (char *)ind); + return result; + } + blknr -= 512; + block = check_zone_nr(inode->i_zone + 8, &changed); + read_block(block, (char *)dind); + blk_chg = 0; + range = blknr / 512; + if (ARRAY_SIZE(dind) <= range) { + printf(_("Warning: block out of range\n")); + return 1; + } + result = check_zone_nr(dind + range, &blk_chg); + if (blk_chg) + write_block(block, (char *)dind); + block = result; + read_block(block, (char *)ind); + blk_chg = 0; + result = check_zone_nr(ind + (blknr % 512), &blk_chg); + if (blk_chg) + write_block(block, (char *)ind); + return result; +} + +static int +map_block2(struct minix2_inode *inode, unsigned int blknr) { + unsigned int ind[MINIX_BLOCK_SIZE >> 2]; + unsigned int dind[MINIX_BLOCK_SIZE >> 2]; + unsigned int tind[MINIX_BLOCK_SIZE >> 2]; + int blk_chg, block, result; + + if (blknr < 7) + return check_zone_nr2(inode->i_zone + blknr, &changed); + blknr -= 7; + if (blknr < 256) { + block = check_zone_nr2(inode->i_zone + 7, &changed); + read_block(block, (char *)ind); + blk_chg = 0; + result = check_zone_nr2(blknr + ind, &blk_chg); + if (blk_chg) + write_block(block, (char *)ind); + return result; + } + blknr -= 256; + if (blknr < 256 * 256) { + block = check_zone_nr2(inode->i_zone + 8, &changed); + read_block(block, (char *)dind); + blk_chg = 0; + result = check_zone_nr2(dind + blknr / 256, &blk_chg); + if (blk_chg) + write_block(block, (char *)dind); + block = result; + read_block(block, (char *)ind); + blk_chg = 0; + result = check_zone_nr2(ind + blknr % 256, &blk_chg); + if (blk_chg) + write_block(block, (char *)ind); + return result; + } + blknr -= 256 * 256; + block = check_zone_nr2(inode->i_zone + 9, &changed); + read_block(block, (char *)tind); + blk_chg = 0; + result = check_zone_nr2(tind + blknr / (256 * 256), &blk_chg); + if (blk_chg) + write_block(block, (char *)tind); + block = result; + read_block(block, (char *)dind); + blk_chg = 0; + result = check_zone_nr2(dind + (blknr / 256) % 256, &blk_chg); + if (blk_chg) + write_block(block, (char *)dind); + block = result; + read_block(block, (char *)ind); + blk_chg = 0; + result = check_zone_nr2(ind + blknr % 256, &blk_chg); + if (blk_chg) + write_block(block, (char *)ind); + return result; +} + +static void +write_super_block(void) { + /* v3 super block does not track state */ + if (fs_version == 3) + return; + /* Set the state of the filesystem based on whether or not there are + * uncorrected errors. The filesystem valid flag is unconditionally + * set if we get this far. */ + Super.s_state |= MINIX_VALID_FS; + if (errors_uncorrected) + Super.s_state |= MINIX_ERROR_FS; + else + Super.s_state &= ~MINIX_ERROR_FS; + + if (MINIX_BLOCK_SIZE != lseek(device_fd, MINIX_BLOCK_SIZE, SEEK_SET)) + die(_("seek failed in write_super_block")); + if (MINIX_BLOCK_SIZE != write(device_fd, super_block_buffer, MINIX_BLOCK_SIZE)) + die(_("unable to write super-block")); + return; +} + +static void +write_tables(void) { + unsigned long buffsz = get_inode_buffer_size(); + unsigned long imaps = get_nimaps(); + unsigned long zmaps = get_nzmaps(); + + write_super_block(); + + if (write_all(device_fd, inode_map, imaps * MINIX_BLOCK_SIZE)) + die(_("Unable to write inode map")); + + if (write_all(device_fd, zone_map, zmaps * MINIX_BLOCK_SIZE)) + die(_("Unable to write zone map")); + + if (write_all(device_fd, inode_buffer, buffsz)) + die(_("Unable to write inodes")); +} + +static void +get_dirsize(void) { + int block; + char blk[MINIX_BLOCK_SIZE]; + size_t size; + + if (fs_version == 2 || fs_version == 3) + block = Inode2[ROOT_INO].i_zone[0]; + else + block = Inode[ROOT_INO].i_zone[0]; + read_block(block, blk); + + for (size = 16; size < MINIX_BLOCK_SIZE; size <<= 1) { + if (strcmp(blk + size + 2, "..") == 0) { + dirsize = size; + namelen = size - 2; + return; + } + } + /* use defaults */ +} + +static void +read_superblock(void) { + if (MINIX_BLOCK_SIZE != lseek(device_fd, MINIX_BLOCK_SIZE, SEEK_SET)) + die(_("seek failed")); + + super_block_buffer = calloc(1, MINIX_BLOCK_SIZE); + if (!super_block_buffer) + die(_("unable to alloc buffer for superblock")); + + if (MINIX_BLOCK_SIZE != read(device_fd, super_block_buffer, MINIX_BLOCK_SIZE)) + die(_("unable to read super block")); + if (Super.s_magic == MINIX_SUPER_MAGIC) { + namelen = 14; + dirsize = 16; + fs_version = 1; + } else if (Super.s_magic == MINIX_SUPER_MAGIC2) { + namelen = 30; + dirsize = 32; + fs_version = 1; + } else if (Super.s_magic == MINIX2_SUPER_MAGIC) { + namelen = 14; + dirsize = 16; + fs_version = 2; + } else if (Super.s_magic == MINIX2_SUPER_MAGIC2) { + namelen = 30; + dirsize = 32; + fs_version = 2; + } else if (Super3.s_magic == MINIX3_SUPER_MAGIC) { + namelen = 60; + dirsize = 64; + fs_version = 3; + } else + die(_("bad magic number in super-block")); + if (get_zone_size() != 0 || MINIX_BLOCK_SIZE != 1024) + die(_("Only 1k blocks/zones supported")); + if (get_ninodes() == 0 || get_ninodes() == UINT32_MAX) + die(_("bad s_ninodes field in super-block")); + if (get_nimaps() * MINIX_BLOCK_SIZE * 8 < get_ninodes() + 1) + die(_("bad s_imap_blocks field in super-block")); + if (get_first_zone() > (off_t) get_nzones()) + die(_("bad s_firstdatazone field in super-block")); + if (get_nzmaps() * MINIX_BLOCK_SIZE * 8 < + get_nzones() - get_first_zone() + 1) + die(_("bad s_zmap_blocks field in super-block")); +} + +static void +read_tables(void) { + unsigned long inodes = get_ninodes(); + size_t buffsz = get_inode_buffer_size(); + off_t norm_first_zone = first_zone_data(); + off_t first_zone = get_first_zone(); + unsigned long zones = get_nzones(); + unsigned long imaps = get_nimaps(); + unsigned long zmaps = get_nzmaps(); + ssize_t rc; + + inode_map = malloc(imaps * MINIX_BLOCK_SIZE); + if (!inode_map) + die(_("Unable to allocate buffer for inode map")); + zone_map = malloc(zmaps * MINIX_BLOCK_SIZE); + if (!zone_map) + die(_("Unable to allocate buffer for zone map")); + inode_buffer = malloc(buffsz); + if (!inode_buffer) + die(_("Unable to allocate buffer for inodes")); + inode_count = calloc(1, inodes + 1); + if (!inode_count) + die(_("Unable to allocate buffer for inode count")); + zone_count = calloc(1, zones); + if (!zone_count) + die(_("Unable to allocate buffer for zone count")); + + rc = read(device_fd, inode_map, imaps * MINIX_BLOCK_SIZE); + if (rc < 0 || imaps * MINIX_BLOCK_SIZE != (size_t) rc) + die(_("Unable to read inode map")); + + rc = read(device_fd, zone_map, zmaps * MINIX_BLOCK_SIZE); + if (rc < 0 || zmaps * MINIX_BLOCK_SIZE != (size_t) rc) + die(_("Unable to read zone map")); + + rc = read(device_fd, inode_buffer, buffsz); + if (rc < 0 || buffsz != (size_t) rc) + die(_("Unable to read inodes")); + if (norm_first_zone != first_zone) { + printf(_("Warning: Firstzone != Norm_firstzone\n")); + errors_uncorrected = 1; + } + get_dirsize(); + if (show) { + printf(_("%ld inodes\n"), inodes); + printf(_("%ld blocks\n"), zones); + printf(_("Firstdatazone=%jd (%jd)\n"), + (intmax_t)first_zone, (intmax_t)norm_first_zone); + printf(_("Zonesize=%d\n"), MINIX_BLOCK_SIZE << get_zone_size()); + printf(_("Maxsize=%zu\n"), get_max_size()); + if (fs_version < 3) + printf(_("Filesystem state=%d\n"), Super.s_state); + printf(_("namelen=%zd\n\n"), namelen); + } +} + +static struct minix_inode * +get_inode(unsigned int nr) { + struct minix_inode *inode; + + if (!nr || nr > get_ninodes()) + return NULL; + total++; + inode = Inode + nr; + if (!inode_count[nr]) { + if (!inode_in_use(nr)) { + get_current_name(); + printf(_("Inode %d marked unused, " + "but used for file '%s'\n"), nr, current_name); + if (repair) { + if (ask(_("Mark in use"), 1)) + mark_inode(nr); + } else { + errors_uncorrected = 1; + } + } + if (S_ISDIR(inode->i_mode)) + directory++; + else if (S_ISREG(inode->i_mode)) + regular++; + else if (S_ISCHR(inode->i_mode)) + chardev++; + else if (S_ISBLK(inode->i_mode)) + blockdev++; + else if (S_ISLNK(inode->i_mode)) + symlinks++; + else if (S_ISSOCK(inode->i_mode)) + ; + else if (S_ISFIFO(inode->i_mode)) + ; + else { + get_current_name(); + printf(_("The file `%s' has mode %05o\n"), + current_name, inode->i_mode); + } + + } else + links++; + if (!++inode_count[nr]) { + printf(_("Warning: inode count too big.\n")); + inode_count[nr]--; + errors_uncorrected = 1; + } + return inode; +} + +static struct minix2_inode * +get_inode2(unsigned int nr) { + struct minix2_inode *inode; + + if (!nr || nr > get_ninodes()) + return NULL; + total++; + inode = Inode2 + nr; + if (!inode_count[nr]) { + if (!inode_in_use(nr)) { + get_current_name(); + printf(_("Inode %d marked unused, " + "but used for file '%s'\n"), nr, current_name); + if (repair) { + if (ask(_("Mark in use"), 1)) + mark_inode(nr); + else + errors_uncorrected = 1; + } + } + if (S_ISDIR(inode->i_mode)) + directory++; + else if (S_ISREG(inode->i_mode)) + regular++; + else if (S_ISCHR(inode->i_mode)) + chardev++; + else if (S_ISBLK(inode->i_mode)) + blockdev++; + else if (S_ISLNK(inode->i_mode)) + symlinks++; + else if (S_ISSOCK(inode->i_mode)) ; + else if (S_ISFIFO(inode->i_mode)) ; + else { + get_current_name(); + printf(_("The file `%s' has mode %05o\n"), + current_name, inode->i_mode); + } + } else + links++; + if (!++inode_count[nr]) { + printf(_("Warning: inode count too big.\n")); + inode_count[nr]--; + errors_uncorrected = 1; + } + return inode; +} + +static void +check_root(void) { + struct minix_inode *inode = Inode + ROOT_INO; + + if (!inode || !S_ISDIR(inode->i_mode)) + die(_("root inode isn't a directory")); +} + +static void +check_root2(void) { + struct minix2_inode *inode = Inode2 + ROOT_INO; + + if (!inode || !S_ISDIR(inode->i_mode)) + die(_("root inode isn't a directory")); +} + +static int +add_zone(unsigned short *znr, int *corrected) { + int block; + + block = check_zone_nr(znr, corrected); + if (!block) + return 0; + if (zone_count[block]) { + get_current_name(); + printf(_("Block has been used before. Now in file `%s'."), + current_name); + if (ask(_("Clear"), 1)) { + *znr = 0; + block = 0; + *corrected = 1; + } + } + if (!block) + return 0; + if (!zone_in_use(block)) { + get_current_name(); + printf(_("Block %d in file `%s' is marked not in use."), + block, current_name); + if (ask(_("Correct"), 1)) + mark_zone(block); + } + if (!++zone_count[block]) + zone_count[block]--; + return block; +} + +static int +add_zone2(unsigned int *znr, int *corrected) { + int block; + + block = check_zone_nr2(znr, corrected); + if (!block) + return 0; + if (zone_count[block]) { + get_current_name(); + printf(_("Block has been used before. Now in file `%s'."), + current_name); + if (ask(_("Clear"), 1)) { + *znr = 0; + block = 0; + *corrected = 1; + } + } + if (!block) + return 0; + if (!zone_in_use(block)) { + get_current_name(); + printf(_("Block %d in file `%s' is marked not in use."), + block, current_name); + if (ask(_("Correct"), 1)) + mark_zone(block); + } + if (!++zone_count[block]) + zone_count[block]--; + return block; +} + +static void +add_zone_ind(unsigned short *znr, int *corrected) { + static char blk[MINIX_BLOCK_SIZE]; + int i, chg_blk = 0; + int block; + + block = add_zone(znr, corrected); + if (!block) + return; + read_block(block, blk); + for (i = 0; i < (MINIX_BLOCK_SIZE >> 1); i++) + add_zone(i + (unsigned short *)blk, &chg_blk); + if (chg_blk) + write_block(block, blk); +} + +static void +add_zone_ind2(unsigned int *znr, int *corrected) { + static char blk[MINIX_BLOCK_SIZE]; + int i, chg_blk = 0; + int block; + + block = add_zone2(znr, corrected); + if (!block) + return; + read_block(block, blk); + for (i = 0; i < MINIX_BLOCK_SIZE >> 2; i++) + add_zone2(i + (unsigned int *)blk, &chg_blk); + if (chg_blk) + write_block(block, blk); +} + +static void +add_zone_dind(unsigned short *znr, int *corrected) { + static char blk[MINIX_BLOCK_SIZE]; + int i, blk_chg = 0; + int block; + + block = add_zone(znr, corrected); + if (!block) + return; + read_block(block, blk); + for (i = 0; i < (MINIX_BLOCK_SIZE >> 1); i++) + add_zone_ind(i + (unsigned short *)blk, &blk_chg); + if (blk_chg) + write_block(block, blk); +} + +static void +add_zone_dind2(unsigned int *znr, int *corrected) { + static char blk[MINIX_BLOCK_SIZE]; + int i, blk_chg = 0; + int block; + + block = add_zone2(znr, corrected); + if (!block) + return; + read_block(block, blk); + for (i = 0; i < MINIX_BLOCK_SIZE >> 2; i++) + add_zone_ind2(i + (unsigned int *)blk, &blk_chg); + if (blk_chg) + write_block(block, blk); +} + +static void +add_zone_tind2(unsigned int *znr, int *corrected) { + static char blk[MINIX_BLOCK_SIZE]; + int i, blk_chg = 0; + int block; + + block = add_zone2(znr, corrected); + if (!block) + return; + read_block(block, blk); + for (i = 0; i < MINIX_BLOCK_SIZE >> 2; i++) + add_zone_dind2(i + (unsigned int *)blk, &blk_chg); + if (blk_chg) + write_block(block, blk); +} + +static void +check_zones(unsigned int i) { + struct minix_inode *inode; + + if (!i || i > get_ninodes()) + return; + if (inode_count[i] > 1) /* have we counted this file already? */ + return; + inode = Inode + i; + if (!S_ISDIR(inode->i_mode) && !S_ISREG(inode->i_mode) && + !S_ISLNK(inode->i_mode)) + return; + for (i = 0; i < 7; i++) + add_zone(i + inode->i_zone, &changed); + add_zone_ind(7 + inode->i_zone, &changed); + add_zone_dind(8 + inode->i_zone, &changed); +} + +static void +check_zones2(unsigned int i) { + struct minix2_inode *inode; + + if (!i || i > get_ninodes()) + return; + if (inode_count[i] > 1) /* have we counted this file already? */ + return; + inode = Inode2 + i; + if (!S_ISDIR(inode->i_mode) && !S_ISREG(inode->i_mode) + && !S_ISLNK(inode->i_mode)) + return; + for (i = 0; i < 7; i++) + add_zone2(i + inode->i_zone, &changed); + add_zone_ind2(7 + inode->i_zone, &changed); + add_zone_dind2(8 + inode->i_zone, &changed); + add_zone_tind2(9 + inode->i_zone, &changed); +} + +static void +check_file(struct minix_inode *dir, unsigned int offset) { + static char blk[MINIX_BLOCK_SIZE + 2]; + struct minix_inode *inode; + unsigned int ino; + char *name; + int block; + + block = map_block(dir, offset / MINIX_BLOCK_SIZE); + read_block(block, blk); + name = blk + (offset % MINIX_BLOCK_SIZE) + 2; + ino = *(unsigned short *)(name - 2); + if (ino > get_ninodes()) { + get_current_name(); + printf(_("The directory '%s' contains a bad inode number " + "for file '%.*s'."), current_name, (int)namelen, name); + if (ask(_(" Remove"), 1)) { + *(unsigned short *)(name - 2) = 0; + write_block(block, blk); + } + ino = 0; + } + if (name_depth < MAX_DEPTH) + xstrncpy(name_list[name_depth], name, namelen); + else + return; + name_depth++; + inode = get_inode(ino); + name_depth--; + if (!offset) { + if (!inode || strcmp(".", name)) { + get_current_name(); + printf(_("%s: bad directory: '.' isn't first\n"), + current_name); + errors_uncorrected = 1; + } else + return; + } + if (offset == dirsize) { + if (!inode || strcmp("..", name)) { + get_current_name(); + printf(_("%s: bad directory: '..' isn't second\n"), + current_name); + errors_uncorrected = 1; + } else + return; + } + if (!inode) + return; + if (name_depth < MAX_DEPTH) + xstrncpy(name_list[name_depth], name, namelen); + else + return; + name_depth++; + if (list) { + if (verbose) + printf("%6d %07o %3d ", ino, + inode->i_mode, inode->i_nlinks); + get_current_name(); + printf("%s", current_name); + if (S_ISDIR(inode->i_mode)) + printf(":\n"); + else + printf("\n"); + } + check_zones(ino); + if (inode && S_ISDIR(inode->i_mode)) + recursive_check(ino); + name_depth--; + return; +} + +static void +check_file2(struct minix2_inode *dir, unsigned int offset) { + static char blk[MINIX_BLOCK_SIZE + 4]; + struct minix2_inode *inode; + ino_t ino; + char *name; + int block; + const int version_offset = fs_version == 3 ? 4 : 2; + + block = map_block2(dir, offset / MINIX_BLOCK_SIZE); + read_block(block, blk); + name = blk + (offset % MINIX_BLOCK_SIZE) + version_offset; + ino = version_offset == 4 ? *(uint32_t *)(name - version_offset) + : *(uint16_t *)(name - version_offset); + if (ino > get_ninodes()) { + get_current_name(); + printf(_("The directory '%s' contains a bad inode number " + "for file '%.*s'."), current_name, (int)namelen, name); + if (ask(_(" Remove"), 1)) { + memset(name - version_offset, 0, version_offset); + write_block(block, blk); + } + ino = 0; + } + if (name_depth < MAX_DEPTH) + xstrncpy(name_list[name_depth], name, namelen); + else + return; + name_depth++; + inode = get_inode2(ino); + name_depth--; + if (!offset) { + if (!inode || strcmp(".", name)) { + get_current_name(); + printf(_("%s: bad directory: '.' isn't first\n"), + current_name); + errors_uncorrected = 1; + } else + return; + } + if (offset == dirsize) { + if (!inode || strcmp("..", name)) { + get_current_name(); + printf(_("%s: bad directory: '..' isn't second\n"), + current_name); + errors_uncorrected = 1; + } else + return; + } + if (!inode) + return; + name_depth++; + if (list) { + if (verbose) + printf("%6ju %07o %3d ", (uintmax_t)ino, inode->i_mode, + inode->i_nlinks); + get_current_name(); + printf("%s", current_name); + if (S_ISDIR(inode->i_mode)) + printf(":\n"); + else + printf("\n"); + } + check_zones2(ino); + if (inode && S_ISDIR(inode->i_mode)) + recursive_check2(ino); + name_depth--; + return; +} + +static void +recursive_check(unsigned int ino) { + struct minix_inode *dir; + off_t offset; + + dir = Inode + ino; + if (!S_ISDIR(dir->i_mode)) + die(_("internal error")); + if (dir->i_size < 2 * dirsize) { + get_current_name(); + printf(_("%s: bad directory: size < 32"), current_name); + errors_uncorrected = 1; + } + + if ((!repair || automatic) && !is_valid_zone_nr(*dir->i_zone)) { + get_current_name(); + printf(_("%s: bad directory: invalid i_zone, use --repair to fix\n"), current_name); + return; + } + for (offset = 0; offset < dir->i_size; offset += dirsize) + check_file(dir, offset); +} + +static void +recursive_check2(unsigned int ino) { + struct minix2_inode *dir; + off_t offset; + + dir = Inode2 + ino; + if (!S_ISDIR(dir->i_mode)) + die(_("internal error")); + if (dir->i_size < 2 * dirsize) { + get_current_name(); + printf(_("%s: bad directory: size < 32"), current_name); + errors_uncorrected = 1; + } + for (offset = 0; offset < dir->i_size; offset += dirsize) + check_file2(dir, offset); +} + +static int +bad_zone(int i) { + char buffer[1024]; + + if (MINIX_BLOCK_SIZE * i != lseek(device_fd, MINIX_BLOCK_SIZE * i, SEEK_SET)) + die(_("seek failed in bad_zone")); + return (MINIX_BLOCK_SIZE != read(device_fd, buffer, MINIX_BLOCK_SIZE)); +} + +static void +check_counts(void) { + unsigned long i; + + for (i = 1; i <= get_ninodes(); i++) { + if (!inode_in_use(i) && Inode[i].i_mode && warn_mode) { + printf(_("Inode %lu mode not cleared."), i); + if (ask(_("Clear"), 1)) { + Inode[i].i_mode = 0; + changed = 1; + } + } + if (!inode_count[i]) { + if (!inode_in_use(i)) + continue; + printf(_("Inode %lu not used, marked used in the bitmap."), i); + if (ask(_("Clear"), 1)) + unmark_inode(i); + continue; + } + if (!inode_in_use(i)) { + printf(_("Inode %lu used, marked unused in the bitmap."), i); + if (ask(_("Set"), 1)) + mark_inode(i); + } + if (Inode[i].i_nlinks != inode_count[i]) { + printf(_("Inode %lu (mode = %07o), i_nlinks=%d, counted=%d."), + i, Inode[i].i_mode, Inode[i].i_nlinks, + inode_count[i]); + if (ask(_("Set i_nlinks to count"), 1)) { + Inode[i].i_nlinks = inode_count[i]; + changed = 1; + } + } + } + for (i = get_first_zone(); i < get_nzones(); i++) { + if (zone_in_use(i) == zone_count[i]) + continue; + if (!zone_count[i]) { + if (bad_zone(i)) + continue; + printf(_("Zone %lu: marked in use, no file uses it."), + i); + if (ask(_("Unmark"), 1)) + unmark_zone(i); + continue; + } + if (zone_in_use(i)) + printf(_("Zone %lu: in use, counted=%d\n"), + i, zone_count[i]); + else + printf(_("Zone %lu: not in use, counted=%d\n"), + i, zone_count[i]); + } +} + +static void +check_counts2(void) { + unsigned long i; + + for (i = 1; i <= get_ninodes(); i++) { + if (!inode_in_use(i) && Inode2[i].i_mode && warn_mode) { + printf(_("Inode %lu mode not cleared."), i); + if (ask(_("Clear"), 1)) { + Inode2[i].i_mode = 0; + changed = 1; + } + } + if (!inode_count[i]) { + if (!inode_in_use(i)) + continue; + printf(_("Inode %lu not used, marked used in the bitmap."), i); + if (ask(_("Clear"), 1)) + unmark_inode(i); + continue; + } + if (!inode_in_use(i)) { + printf(_("Inode %lu used, marked unused in the bitmap."), i); + if (ask(_("Set"), 1)) + mark_inode(i); + } + if (Inode2[i].i_nlinks != inode_count[i]) { + printf(_("Inode %lu (mode = %07o), i_nlinks=%d, counted=%d."), + i, Inode2[i].i_mode, Inode2[i].i_nlinks, + inode_count[i]); + if (ask(_("Set i_nlinks to count"), 1)) { + Inode2[i].i_nlinks = inode_count[i]; + changed = 1; + } + } + } + for (i = get_first_zone(); i < get_nzones(); i++) { + if (zone_in_use(i) == zone_count[i]) + continue; + if (!zone_count[i]) { + if (bad_zone(i)) + continue; + printf(_("Zone %lu: marked in use, no file uses it."), + i); + if (ask(_("Unmark"), 1)) + unmark_zone(i); + continue; + } + if (zone_in_use(i)) + printf(_("Zone %lu: in use, counted=%d\n"), + i, zone_count[i]); + else + printf(_("Zone %lu: not in use, counted=%d\n"), + i, zone_count[i]); + } +} + +static void +check(void) { + memset(inode_count, 0, (get_ninodes() + 1) * sizeof(*inode_count)); + memset(zone_count, 0, get_nzones() * sizeof(*zone_count)); + check_zones(ROOT_INO); + recursive_check(ROOT_INO); + check_counts(); +} + +static void +check2(void) { + memset(inode_count, 0, (get_ninodes() + 1) * sizeof(*inode_count)); + memset(zone_count, 0, get_nzones() * sizeof(*zone_count)); + check_zones2(ROOT_INO); + recursive_check2(ROOT_INO); + check_counts2(); +} + +int +main(int argc, char **argv) { + struct termios tmp; + int count; + int retcode = FSCK_EX_OK; + int i; + static const struct option longopts[] = { + {"list", no_argument, NULL, 'l'}, + {"auto", no_argument, NULL, 'a'}, + {"repair", no_argument, NULL, 'r'}, + {"verbose", no_argument, NULL, 'v'}, + {"super", no_argument, NULL, 's'}, + {"uncleared", no_argument, NULL, 'm'}, + {"force", no_argument, NULL, 'f'}, + {"version", no_argument, NULL, 'V'}, + {"help", no_argument, NULL, 'h'}, + {NULL, 0, NULL, 0} + }; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + strutils_set_exitcode(FSCK_EX_USAGE); + + if (INODE_SIZE * MINIX_INODES_PER_BLOCK != MINIX_BLOCK_SIZE) + die(_("bad inode size")); + if (INODE2_SIZE * MINIX2_INODES_PER_BLOCK != MINIX_BLOCK_SIZE) + die(_("bad v2 inode size")); + + while ((i = getopt_long(argc, argv, "larvsmfVh", longopts, NULL)) != -1) + switch (i) { + case 'l': + list = 1; + break; + case 'a': + automatic = 1; + repair = 1; + break; + case 'r': + automatic = 0; + repair = 1; + break; + case 'v': + verbose = 1; + break; + case 's': + show = 1; + break; + case 'm': + warn_mode = 1; + break; + case 'f': + force = 1; + break; + case 'V': + printf(UTIL_LINUX_VERSION); + return FSCK_EX_OK; + case 'h': + usage(); + default: + errtryhelp(FSCK_EX_USAGE); + } + argc -= optind; + argv += optind; + if (0 < argc) { + device_name = argv[0]; + } else { + warnx(_("no device specified")); + errtryhelp(FSCK_EX_USAGE); + } + check_mount(); /* trying to check a mounted filesystem? */ + if (repair && !automatic && (!isatty(STDIN_FILENO) || !isatty(STDOUT_FILENO))) + die(_("need terminal for interactive repairs")); + + device_fd = open(device_name, repair ? O_RDWR : O_RDONLY); + if (device_fd < 0) + die(_("cannot open %s: %s"), device_name, strerror(errno)); + for (count = 0; count < 3; count++) + sync(); + read_superblock(); + + /* Determine whether or not we should continue with the checking. This + * is based on the status of the filesystem valid and error flags and + * whether or not the -f switch was specified on the command line. */ + if (fs_version < 3 && !(Super.s_state & MINIX_ERROR_FS) && + (Super.s_state & MINIX_VALID_FS) && !force) { + if (repair) + printf(_("%s is clean, no check.\n"), device_name); + return retcode; + } else if (force) + printf(_("Forcing filesystem check on %s.\n"), device_name); + else if (repair) + printf(_("Filesystem on %s is dirty, needs checking.\n"), + device_name); + + read_tables(); + + /* Restore the terminal state on fatal signals. We don't do this for + * SIGALRM, SIGUSR1 or SIGUSR2. */ + signal(SIGINT, fatalsig); + signal(SIGQUIT, fatalsig); + signal(SIGTERM, fatalsig); + + if (repair && !automatic) { + tcgetattr(STDIN_FILENO, &termios); + tmp = termios; + tmp.c_lflag &= ~(ICANON | ECHO); + tcsetattr(STDIN_FILENO, TCSANOW, &tmp); + termios_set = 1; + } + + if (fs_version == 2 || fs_version == 3) { + check_root2(); + check2(); + } else { + check_root(); + check(); + } + if (verbose) { + unsigned long inode, free; + + for (inode = 1, free = 0; inode <= get_ninodes(); inode++) + if (!inode_in_use(inode)) + free++; + printf(_("\n%6ld inodes used (%ld%%)\n"), + (get_ninodes() - free), + 100 * (get_ninodes() - free) / get_ninodes()); + for (inode = get_first_zone(), free = 0; inode < get_nzones(); inode++) + if (!zone_in_use(inode)) + free++; + printf(_("%6ld zones used (%ld%%)\n"), (get_nzones() - free), + 100 * (get_nzones() - free) / get_nzones()); + printf(_("\n%6d regular files\n" + "%6d directories\n" + "%6d character device files\n" + "%6d block device files\n" + "%6d links\n" + "%6d symbolic links\n" + "------\n" + "%6d files\n"), + regular, directory, chardev, blockdev, + links - 2 * directory + 1, symlinks, + total - 2 * directory + 1); + } + if (changed) { + write_tables(); + printf(_("----------------------------\n" + "FILE SYSTEM HAS BEEN CHANGED\n" + "----------------------------\n")); + for (count = 0; count < 3; count++) + sync(); + } else if (repair) + write_super_block(); + + if (repair && !automatic) + tcsetattr(STDIN_FILENO, TCSANOW, &termios); + + if (close_fd(device_fd) != 0) + err(FSCK_EX_ERROR, _("write failed")); + if (changed) + retcode += 3; + if (errors_uncorrected) + retcode += 4; + return retcode; +} diff --git a/disk-utils/isosize.8 b/disk-utils/isosize.8 new file mode 100644 index 0000000..baa5f7d --- /dev/null +++ b/disk-utils/isosize.8 @@ -0,0 +1,56 @@ +.TH ISOSIZE 8 "June 2011" "util-linux" "System Administration" +.SH NAME +isosize \- output the length of an iso9660 filesystem +.SH SYNOPSIS +.B isosize +.RI [options] " iso9660_image_file" +.SH DESCRIPTION +.PP +This command outputs the length of an iso9660 filesystem that +is contained in the specified file. This file may be a normal file or +a block device (e.g.\& /dev/hdd or /dev/sr0). In the absence of +any options (and errors), it will output the size of the iso9660 +filesystem in bytes. This can now be a large number (>> 4\ GB). +.SH OPTIONS +.TP +.BR \-x , " \-\-sectors" +Show the block count and block size in human-readable form. +The output uses the term "sectors" for "blocks". +.TP +.BR \-d , " \-\-divisor " \fInumber\fR +Only has an effect when +.B \-x +is not given. The value shown (if no errors) +is the iso9660 file size in bytes divided by +.IR number . +So if +.I number +is the block size then the shown value will be the block count. +.PP +The size of the file (or block device) holding an iso9660 +filesystem can be marginally larger than the actual size of the +iso9660 filesystem. One reason for this is that cd writers +are allowed to add "run out" sectors at the end of an iso9660 +image. +.SH "EXIT STATUS" +.RS +.PD 0 +.TP +.B 0 +success +.TP +.B 1 +generic failure, such as invalid usage +.TP +.B 32 +all failed +.TP +.B 64 +some failed +.PD +.RE +.SH AVAILABILITY +The isosize command is part of the util-linux package and is available from +.UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/ +Linux Kernel Archive +.UE . diff --git a/disk-utils/isosize.c b/disk-utils/isosize.c new file mode 100644 index 0000000..85a549a --- /dev/null +++ b/disk-utils/isosize.c @@ -0,0 +1,217 @@ +/* + * isosize.c - Andries Brouwer, 000608 + * + * use header info to find size of iso9660 file system + * output a number - useful in scripts + * + * Synopsis: + * isosize [-x] [-d ] + * where "-x" gives length in sectors and sector size while + * without this argument the size is given in bytes + * without "-x" gives length in bytes unless "-d " is + * given. In the latter case the length in bytes divided + * by is given + * + * Version 2.03 2000/12/21 + * - add "-d " option and use long long to fix things > 2 GB + * Version 2.02 2000/10/11 + * - error messages on IO failures [D. Gilbert] + * + */ +#include +#include +#include +#include +#include +#include + +#include "nls.h" +#include "c.h" +#include "strutils.h" +#include "closestream.h" + +#define ISOSIZE_EXIT_ALLFAILED 32 +#define ISOSIZE_EXIT_SOMEOK 64 + +static int is_iso(int fd) +{ + char label[8]; + + if (pread(fd, &label, 8, 0x8000) == -1) + return 1; + return memcmp(&label, &"\1CD001\1", 8); +} + +static int isonum_721(unsigned char *p) +{ + return ((p[0] & 0xff) + | ((p[1] & 0xff) << 8)); +} + +static int isonum_722(unsigned char *p) +{ + return ((p[1] & 0xff) + | ((p[0] & 0xff) << 8)); +} + +static int isonum_723(unsigned char *p, int xflag) +{ + int le = isonum_721(p); + int be = isonum_722(p + 2); + + if (xflag && le != be) + /* translation is useless */ + warnx("723error: le=%d be=%d", le, be); + return (le); +} + +static int isonum_731(unsigned char *p) +{ + return ((p[0] & 0xff) + | ((p[1] & 0xff) << 8) + | ((p[2] & 0xff) << 16) + | ((p[3] & 0xff) << 24)); +} + +static int isonum_732(unsigned char *p) +{ + return ((p[3] & 0xff) + | ((p[2] & 0xff) << 8) + | ((p[1] & 0xff) << 16) + | ((p[0] & 0xff) << 24)); +} + +static int isonum_733(unsigned char *p, int xflag) +{ + int le = isonum_731(p); + int be = isonum_732(p + 4); + + if (xflag && le != be) + /* translation is useless */ + warnx("733error: le=%d be=%d", le, be); + return (le); +} + +static int isosize(int argc, char *filenamep, int xflag, long divisor) +{ + int fd, nsecs, ssize, rc = -1; + unsigned char volume_space_size[8]; + unsigned char logical_block_size[4]; + + if ((fd = open(filenamep, O_RDONLY)) < 0) { + warn(_("cannot open %s"), filenamep); + goto done; + } + if (is_iso(fd)) + warnx(_("%s: might not be an ISO filesystem"), filenamep); + + if (pread(fd, volume_space_size, sizeof(volume_space_size), 0x8050) != sizeof(volume_space_size) || + pread(fd, logical_block_size, sizeof(logical_block_size), 0x8080) != sizeof(logical_block_size)) { + if (errno) + warn(_("read error on %s"), filenamep); + else + warnx(_("read error on %s"), filenamep); + goto done; + } + + nsecs = isonum_733(volume_space_size, xflag); + /* isonum_723 returns nowadays always 2048 */ + ssize = isonum_723(logical_block_size, xflag); + + if (1 < argc) + printf("%s: ", filenamep); + if (xflag) + printf(_("sector count: %d, sector size: %d\n"), nsecs, ssize); + else { + long long product = nsecs; + + if (divisor == 0) + printf("%lld\n", product * ssize); + else if (divisor == ssize) + printf("%d\n", nsecs); + else + printf("%lld\n", (product * ssize) / divisor); + } + + rc = 0; +done: + if (fd >= 0) + close(fd); + return rc; +} + +static void __attribute__((__noreturn__)) usage(void) +{ + + fputs(USAGE_HEADER, stdout); + fprintf(stdout, + _(" %s [options] ...\n"), + program_invocation_short_name); + + fputs(USAGE_SEPARATOR, stdout); + fputs(_("Show the length of an ISO-9660 filesystem.\n"), stdout); + + fputs(USAGE_OPTIONS, stdout); + fputs(_(" -d, --divisor= divide the amount of bytes by \n"), stdout); + fputs(_(" -x, --sectors show sector count and size\n"), stdout); + + printf(USAGE_HELP_OPTIONS(25)); + printf(USAGE_MAN_TAIL("isosize(8)")); + + exit(EXIT_SUCCESS); +} + +int main(int argc, char **argv) +{ + int j, ct_err = 0, ct, opt, xflag = 0; + long divisor = 0; + + static const struct option longopts[] = { + {"divisor", required_argument, NULL, 'd'}, + {"sectors", no_argument, NULL, 'x'}, + {"version", no_argument, NULL, 'V'}, + {"help", no_argument, NULL, 'h'}, + {NULL, 0, NULL, 0} + }; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + while ((opt = getopt_long(argc, argv, "d:xVh", longopts, NULL)) != -1) { + switch (opt) { + case 'd': + divisor = + strtol_or_err(optarg, + _("invalid divisor argument")); + break; + case 'x': + xflag = 1; + break; + case 'V': + printf(UTIL_LINUX_VERSION); + return EXIT_SUCCESS; + case 'h': + usage(); + default: + errtryhelp(EXIT_FAILURE); + } + } + + ct = argc - optind; + + if (ct <= 0) { + warnx(_("no device specified")); + errtryhelp(EXIT_FAILURE); + } + + for (j = optind; j < argc; j++) { + if (isosize(ct, argv[j], xflag, divisor) != 0) + ct_err++; + } + + return ct == ct_err ? ISOSIZE_EXIT_ALLFAILED : /* all failed */ + ct_err ? ISOSIZE_EXIT_SOMEOK : /* some ok */ + EXIT_SUCCESS; /* all success */ +} diff --git a/disk-utils/minix_programs.h b/disk-utils/minix_programs.h new file mode 100644 index 0000000..7ad308d --- /dev/null +++ b/disk-utils/minix_programs.h @@ -0,0 +1,118 @@ +#ifndef UTIL_LINUX_MINIX_PROGRAMS_H +#define UTIL_LINUX_MINIX_PROGRAMS_H + +#include "minix.h" + +/* + * Global variables. + */ +extern int fs_version; +extern char *super_block_buffer; + +#define Super (*(struct minix_super_block *) super_block_buffer) +#define Super3 (*(struct minix3_super_block *) super_block_buffer) + +#define INODE_SIZE (sizeof(struct minix_inode)) +#define INODE2_SIZE (sizeof(struct minix2_inode)) + +#define BITS_PER_BLOCK (MINIX_BLOCK_SIZE << 3) + +#define UPPER(size,n) ((size+((n)-1))/(n)) + +/* + * Inline functions. + */ +static inline unsigned long get_ninodes(void) +{ + switch (fs_version) { + case 3: + return Super3.s_ninodes; + default: + return Super.s_ninodes; + } +} + +static inline unsigned long get_nzones(void) +{ + switch (fs_version) { + case 3: + return Super3.s_zones; + case 2: + return Super.s_zones; + default: + return Super.s_nzones; + } +} + +static inline unsigned long get_nimaps(void) +{ + switch (fs_version) { + case 3: + return Super3.s_imap_blocks; + default: + return Super.s_imap_blocks; + } +} + +static inline unsigned long get_nzmaps(void) +{ + switch (fs_version) { + case 3: + return Super3.s_zmap_blocks; + default: + return Super.s_zmap_blocks; + } +} + +static inline off_t get_first_zone(void) +{ + switch (fs_version) { + case 3: + return Super3.s_firstdatazone; + default: + return Super.s_firstdatazone; + } +} + +static inline size_t get_zone_size(void) +{ + switch (fs_version) { + case 3: + return Super3.s_log_zone_size; + default: + return Super.s_log_zone_size; + } +} + +static inline size_t get_max_size(void) +{ + switch (fs_version) { + case 3: + return Super3.s_max_size; + default: + return Super.s_max_size; + } +} + +static inline unsigned long inode_blocks(void) +{ + switch (fs_version) { + case 3: + case 2: + return UPPER(get_ninodes(), MINIX2_INODES_PER_BLOCK); + default: + return UPPER(get_ninodes(), MINIX_INODES_PER_BLOCK); + } +} + +static inline off_t first_zone_data(void) +{ + return 2 + get_nimaps() + get_nzmaps() + inode_blocks(); +} + +static inline size_t get_inode_buffer_size(void) +{ + return inode_blocks() * MINIX_BLOCK_SIZE; +} + +#endif /* UTIL_LINUX_MINIX_PROGRAMS_H */ diff --git a/disk-utils/mkfs.8 b/disk-utils/mkfs.8 new file mode 100644 index 0000000..e3a7f8b --- /dev/null +++ b/disk-utils/mkfs.8 @@ -0,0 +1,94 @@ +.TH MKFS 8 "June 2011" "util-linux" "System Administration" +.SH NAME +mkfs \- build a Linux filesystem +.SH SYNOPSIS +.B mkfs +[options] +.RB [ \-t +.IR type "] [" fs-options ] " device " [ size ] +.SH DESCRIPTION +.B This mkfs frontend is deprecated in favour of filesystem specific mkfs. utils. +.PP +.B mkfs +is used to build a Linux filesystem on a device, usually +a hard disk partition. The +.I device +argument is either the device name (e.g. +.IR /dev/hda1 , +.IR /dev/sdb2 ), +or a regular file that shall contain the filesystem. The +.I size +argument is the number of blocks to be used for the filesystem. +.PP +The exit code returned by +.B mkfs +is 0 on success and 1 on failure. +.PP +In actuality, +.B mkfs +is simply a front-end for the various filesystem builders +(\fBmkfs.\fIfstype\fR) +available under Linux. +The filesystem-specific builder is searched for via your PATH +environment setting only. +Please see the filesystem-specific builder manual pages for +further details. +.SH OPTIONS +.TP +.BR \-t , " \-\-type " \fItype\fR +Specify the \fItype\fR of filesystem to be built. +If not specified, the default filesystem type +(currently ext2) is used. +.TP +.I fs-options +Filesystem-specific options to be passed to the real filesystem builder. +.TP +.BR \-V , " \-\-verbose" +Produce verbose output, including all filesystem-specific commands +that are executed. +Specifying this option more than once inhibits execution of any +filesystem-specific commands. +This is really only useful for testing. +.TP +.BR \-V , " \-\-version" +Display version information and exit. (Option \fB\-V\fR will display +version information only when it is the only parameter, otherwise it +will work as \fB\-\-verbose\fR.) +.TP +.BR \-h , " \-\-help" +Display help text and exit. +.SH BUGS +All generic options must precede and not be combined with +filesystem-specific options. +Some filesystem-specific programs do not automatically +detect the device size and require the +.I size +parameter to be specified. +.SH AUTHORS +David Engel (david@ods.com) +.br +Fred N.\& van Kempen (waltje@uwalt.nl.mugnet.org) +.br +Ron Sommeling (sommel@sci.kun.nl) +.br +The manual page was shamelessly adapted from Remy Card's version +for the ext2 filesystem. +.SH SEE ALSO +.na +.BR fs (5), +.BR badblocks (8), +.BR fsck (8), +.BR mkdosfs (8), +.BR mke2fs (8), +.BR mkfs.bfs (8), +.BR mkfs.ext2 (8), +.BR mkfs.ext3 (8), +.BR mkfs.ext4 (8), +.BR mkfs.minix (8), +.BR mkfs.msdos (8), +.BR mkfs.vfat (8), +.BR mkfs.xfs (8) +.ad +.SH AVAILABILITY +The mkfs command is part of the util-linux package and is available from +https://www.kernel.org/pub/linux/utils/util-linux/. diff --git a/disk-utils/mkfs.bfs.8 b/disk-utils/mkfs.bfs.8 new file mode 100644 index 0000000..f32202a --- /dev/null +++ b/disk-utils/mkfs.bfs.8 @@ -0,0 +1,58 @@ +.\" Copyright 1999 Andries E. Brouwer (aeb@cwi.nl) +.\" May be freely distributed. +.TH MKFS.BFS 8 "July 2011" "util-linux" "System Administration" +.SH NAME +mkfs.bfs \- make an SCO bfs filesystem +.SH SYNOPSIS +.B mkfs.bfs +.RI [options] " device " [ block-count ] +.SH DESCRIPTION +.B mkfs.bfs +creates an SCO bfs filesystem on a block device +(usually a disk partition or a file accessed via the loop device). +.PP +The +.I block-count +parameter is the desired size of the filesystem, in blocks. +If nothing is specified, the entire partition will be used. +.SH OPTIONS +.TP +.BR \-N , " \-\-inodes " \fInumber\fR +Specify the desired \fInumber\fR of inodes (at most 512). +If nothing is specified, some default number in the range 48\(en512 is picked +depending on the size of the partition. +.TP +.BR \-V , " \-\-vname " \fIlabel\fR +Specify the volume \fIlabel\fR. I have no idea if/where this is used. +.TP +.BR \-F , " \-\-fname " \fIname\fR +Specify the filesystem \fIname\fR. I have no idea if/where this is used. +.TP +.BR \-v , " \-\-verbose" +Explain what is being done. +.TP +.B \-c +This option is silently ignored. +.TP +.B \-l +This option is silently ignored. +.TP +.BR \-h , " \-\-help" +Display help text and exit. +.TP +.BR \-V , " \-\-version" +Display version information and exit. +Option +.B \-V +only works as +.B \-\-version +when it is the only option. +.SH "EXIT CODES" +The exit code returned by +.B mkfs.bfs +is 0 when all went well, and 1 when something went wrong. +.SH "SEE ALSO" +.BR mkfs (8) +.SH AVAILABILITY +The mkfs.bfs command is part of the util-linux package and is available from +https://www.kernel.org/pub/linux/utils/util-linux/. diff --git a/disk-utils/mkfs.bfs.c b/disk-utils/mkfs.bfs.c new file mode 100644 index 0000000..5bf8fdf --- /dev/null +++ b/disk-utils/mkfs.bfs.c @@ -0,0 +1,307 @@ +/* + * mkfs.bfs - Create SCO BFS filesystem - aeb, 1999-09-07 + * + * Usage: mkfs.bfs [-N nr-of-inodes] [-V volume-name] [-F fsname] device + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "blkdev.h" +#include "c.h" +#include "closestream.h" +#include "nls.h" +#include "strutils.h" +#include "xalloc.h" +#include "bitops.h" + +#define BFS_ROOT_INO 2 +#define BFS_NAMELEN 14 +#define BFS_BLOCKSIZE 512 +#define BFS_SUPER_MAGIC 0x1badface + +/* superblock - 512 bytes */ +struct bfssb { + uint32_t s_magic; + uint32_t s_start; /* byte offset of start of data */ + uint32_t s_end; /* sizeof(slice)-1 */ + + /* for recovery during compaction */ + uint32_t s_from, s_to; /* src and dest block of current transfer */ + int32_t s_backup_from, s_backup_to; + + /* labels - may well contain garbage */ + char s_fsname[6]; + char s_volume[6]; + char s_pad[472]; +}; + +/* inode - 64 bytes */ +struct bfsi { + uint16_t i_ino; + unsigned char i_pad1[2]; + uint32_t i_first_block; + uint32_t i_last_block; + uint32_t i_bytes_to_end; + uint32_t i_type; /* 1: file, 2: the unique dir */ + uint32_t i_mode; + uint32_t i_uid, i_gid; + uint32_t i_nlinks; + uint32_t i_atime, i_mtime, i_ctime; + unsigned char i_pad2[16]; +}; + +#define BFS_DIR_TYPE 2 + +/* directory entry - 16 bytes */ +struct bfsde { + uint16_t d_ino; + char d_name[BFS_NAMELEN]; +}; + +static void __attribute__((__noreturn__)) usage(void) +{ + FILE *out = stdout; + fprintf(out, + _("Usage: %s [options] device [block-count]\n"), + program_invocation_short_name); + + fputs(USAGE_SEPARATOR, out); + fputs(_("Make an SCO bfs filesystem.\n"), out); + + fprintf(out, _("\nOptions:\n" + " -N, --inodes=NUM specify desired number of inodes\n" + " -V, --vname=NAME specify volume name\n" + " -F, --fname=NAME specify file system name\n" + " -v, --verbose explain what is being done\n" + " -c this option is silently ignored\n" + " -l this option is silently ignored\n" + )); + printf(USAGE_HELP_OPTIONS(21)); + + printf(USAGE_MAN_TAIL("mkfs.bfs(8)")); + exit(EXIT_SUCCESS); +} + +static void __attribute__ ((__noreturn__)) print_version(void) +{ + printf(UTIL_LINUX_VERSION); + exit(EXIT_SUCCESS); +} + +int main(int argc, char **argv) +{ + char *device, *volume, *fsname; + long inodes; + unsigned long long total_blocks, ino_bytes, ino_blocks, data_blocks; + unsigned long long user_specified_total_blocks = 0; + int verbose = 0; + int fd; + uint32_t first_block; + struct bfssb sb; + struct bfsi ri; + struct bfsde de; + struct stat statbuf; + time_t now; + int c, i, len; + + enum { VERSION_OPTION = CHAR_MAX + 1 }; + static const struct option longopts[] = { + {"inodes", required_argument, NULL, 'N'}, + {"vname", required_argument, NULL, 'V'}, + {"fname", required_argument, NULL, 'F'}, + {"verbose", no_argument, NULL, 'v'}, + {"version", no_argument, NULL, VERSION_OPTION}, + {"help", no_argument, NULL, 'h'}, + {NULL, 0, NULL, 0} + }; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + if (argc < 2) { + warnx(_("not enough arguments")); + errtryhelp(EXIT_FAILURE); + } + if (argc == 2 && !strcmp(argv[1], "-V")) + print_version(); + + volume = fsname = " "; /* is there a default? */ + inodes = 0; + + while ((c = getopt_long(argc, argv, "N:V:F:vhcl", longopts, NULL)) != -1) { + switch (c) { + case 'N': + inodes = strtol_or_err(optarg, _("invalid number of inodes")); + break; + + case 'V': + len = strlen(optarg); + if (len <= 0 || len > 6) + errx(EXIT_FAILURE, _("volume name too long")); + volume = xstrdup(optarg); + break; + + case 'F': + len = strlen(optarg); + if (len <= 0 || len > 6) + errx(EXIT_FAILURE, _("fsname name too long")); + fsname = xstrdup(optarg); + break; + + case 'v': + verbose = 1; + break; + + case 'c': + case 'l': + /* when called via mkfs we may get options c,l,v */ + break; + + case VERSION_OPTION: + print_version(); + case 'h': + usage(); + default: + errtryhelp(EXIT_FAILURE); + } + } + + if (optind == argc) { + warnx(_("no device specified")); + errtryhelp(EXIT_FAILURE); + } + + device = argv[optind++]; + + if (stat(device, &statbuf) < 0) + err(EXIT_FAILURE, _("stat of %s failed"), device); + + fd = open_blkdev_or_file(&statbuf, device, O_RDWR); + if (fd < 0) + err(EXIT_FAILURE, _("cannot open %s"), device); + + if (optind == argc - 1) + user_specified_total_blocks = + strtou64_or_err(argv[optind], _("invalid block-count")); + else if (optind != argc) { + warnx(_("bad usage")); + errtryhelp(EXIT_FAILURE); + } + + if (blkdev_get_sectors(fd, &total_blocks) == -1) { + if (!user_specified_total_blocks) + err(EXIT_FAILURE, _("cannot get size of %s"), device); + total_blocks = user_specified_total_blocks; + } else if (user_specified_total_blocks) { + if (user_specified_total_blocks > total_blocks) + errx(EXIT_FAILURE, + _("blocks argument too large, max is %llu"), + total_blocks); + total_blocks = user_specified_total_blocks; + } + + if (!inodes) { + /* pick some reasonable default */ + inodes = 8 * (total_blocks / 800); + if (inodes < 48) + inodes = 48; + if (512 < inodes) + inodes = 512; + } else { + /* believe the user */ + if (512 < inodes) + errx(EXIT_FAILURE, _("too many inodes - max is 512")); + } + + ino_bytes = inodes * sizeof(struct bfsi); + ino_blocks = (ino_bytes + BFS_BLOCKSIZE - 1) / BFS_BLOCKSIZE; + data_blocks = total_blocks - ino_blocks - 1; + + /* mimic the behavior of SCO's mkfs - maybe this limit is needed */ + if (data_blocks < 32) + errx(EXIT_FAILURE, + _("not enough space, need at least %llu blocks"), + ino_blocks + 33); + + memset(&sb, 0, sizeof(sb)); + sb.s_magic = cpu_to_le32(BFS_SUPER_MAGIC); + sb.s_start = cpu_to_le32(ino_bytes + sizeof(struct bfssb)); + sb.s_end = cpu_to_le32(total_blocks * BFS_BLOCKSIZE - 1); + sb.s_from = sb.s_to = sb.s_backup_from = sb.s_backup_to = -1; + memcpy(sb.s_fsname, fsname, 6); + memcpy(sb.s_volume, volume, 6); + + if (verbose) { + fprintf(stderr, _("Device: %s\n"), device); + fprintf(stderr, _("Volume: <%-6s>\n"), volume); + fprintf(stderr, _("FSname: <%-6s>\n"), fsname); + fprintf(stderr, _("BlockSize: %d\n"), BFS_BLOCKSIZE); + if (ino_blocks == 1) + fprintf(stderr, _("Inodes: %ld (in 1 block)\n"), + inodes); + else + fprintf(stderr, _("Inodes: %ld (in %llu blocks)\n"), + inodes, ino_blocks); + fprintf(stderr, _("Blocks: %llu\n"), total_blocks); + fprintf(stderr, _("Inode end: %d, Data end: %d\n"), + le32_to_cpu(sb.s_start) - 1, le32_to_cpu(sb.s_end)); + } + + if (write(fd, &sb, sizeof(sb)) != sizeof(sb)) + err(EXIT_FAILURE, _("error writing superblock")); + + memset(&ri, 0, sizeof(ri)); + ri.i_ino = cpu_to_le16(BFS_ROOT_INO); + first_block = 1 + ino_blocks; + ri.i_first_block = cpu_to_le32(first_block); + ri.i_last_block = cpu_to_le32(first_block + + (inodes * sizeof(de) - 1) / BFS_BLOCKSIZE); + ri.i_bytes_to_end = cpu_to_le32(first_block * BFS_BLOCKSIZE + + 2 * sizeof(struct bfsde) - 1); + ri.i_type = cpu_to_le32(BFS_DIR_TYPE); + ri.i_mode = cpu_to_le32(S_IFDIR | 0755); /* or just 0755 */ + ri.i_uid = cpu_to_le32(0); + ri.i_gid = cpu_to_le32(1); /* random */ + ri.i_nlinks = 2; + time(&now); + ri.i_atime = cpu_to_le32(now); + ri.i_mtime = cpu_to_le32(now); + ri.i_ctime = cpu_to_le32(now); + + if (write(fd, &ri, sizeof(ri)) != sizeof(ri)) + err(EXIT_FAILURE, _("error writing root inode")); + + memset(&ri, 0, sizeof(ri)); + for (i = 1; i < inodes; i++) + if (write(fd, &ri, sizeof(ri)) != sizeof(ri)) + err(EXIT_FAILURE, _("error writing inode")); + + if (lseek(fd, (1 + ino_blocks) * BFS_BLOCKSIZE, SEEK_SET) == -1) + err(EXIT_FAILURE, _("seek error")); + + memset(&de, 0, sizeof(de)); + de.d_ino = cpu_to_le16(BFS_ROOT_INO); + memcpy(de.d_name, ".", 1); + if (write(fd, &de, sizeof(de)) != sizeof(de)) + err(EXIT_FAILURE, _("error writing . entry")); + + memcpy(de.d_name, "..", 2); + if (write(fd, &de, sizeof(de)) != sizeof(de)) + err(EXIT_FAILURE, _("error writing .. entry")); + + if (close_fd(fd) != 0) + err(EXIT_FAILURE, _("error closing %s"), device); + + return EXIT_SUCCESS; +} diff --git a/disk-utils/mkfs.c b/disk-utils/mkfs.c new file mode 100644 index 0000000..5bcd961 --- /dev/null +++ b/disk-utils/mkfs.c @@ -0,0 +1,140 @@ +/* + * mkfs A simple generic frontend for the for the mkfs program + * under Linux. See the manual page for details. + * + * Authors: David Engel, + * Fred N. van Kempen, + * Ron Sommeling, + * + * Mon Jul 1 18:52:58 1996: janl@math.uio.no (Nicolai Langfeldt): + * Incorporated fix by Jonathan Kamens + * 1999-02-22 Arkadiusz Miśkiewicz + * - added Native Language Support + * + */ + +/* + * This command is deprecated. The utility is in maintenance mode, + * meaning we keep them in source tree for backward compatibility + * only. Do not waste time making this command better, unless the + * fix is about security or other very critical issue. + * + * See Documentation/deprecated.txt for more information. + */ + +#include +#include +#include +#include +#include +#include + +#include "c.h" +#include "closestream.h" +#include "nls.h" +#include "xalloc.h" + +#ifndef DEFAULT_FSTYPE +#define DEFAULT_FSTYPE "ext2" +#endif + +static void __attribute__((__noreturn__)) usage(void) +{ + FILE *out = stdout; + fputs(USAGE_HEADER, out); + fprintf(out, _(" %s [options] [-t ] [fs-options] []\n"), + program_invocation_short_name); + + fputs(USAGE_SEPARATOR, out); + fputs(_("Make a Linux filesystem.\n"), out); + + fputs(USAGE_OPTIONS, out); + fprintf(out, _(" -t, --type= filesystem type; when unspecified, ext2 is used\n")); + fprintf(out, _(" fs-options parameters for the real filesystem builder\n")); + fprintf(out, _(" path to the device to be used\n")); + fprintf(out, _(" number of blocks to be used on the device\n")); + fprintf(out, _(" -V, --verbose explain what is being done;\n" + " specifying -V more than once will cause a dry-run\n")); + printf(USAGE_HELP_OPTIONS(20)); + + printf(USAGE_MAN_TAIL("mkfs(8)")); + exit(EXIT_SUCCESS); +} + +static void __attribute__ ((__noreturn__)) print_version(void) +{ + printf(UTIL_LINUX_VERSION); + exit(EXIT_SUCCESS); +} + +int main(int argc, char **argv) +{ + char *progname; /* name of executable to be called */ + char *fstype = NULL; + int i, more = 0, verbose = 0; + + enum { VERSION_OPTION = CHAR_MAX + 1 }; + + static const struct option longopts[] = { + {"type", required_argument, NULL, 't'}, + {"version", no_argument, NULL, VERSION_OPTION}, + {"verbose", no_argument, NULL, 'V'}, + {"help", no_argument, NULL, 'h'}, + {NULL, 0, NULL, 0} + }; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + if (argc == 2 && !strcmp(argv[1], "-V")) + print_version(); + + /* Check commandline options. */ + opterr = 0; + while ((more == 0) + && ((i = getopt_long(argc, argv, "Vt:h", longopts, NULL)) + != -1)) + switch (i) { + case 'V': + verbose++; + break; + case 't': + fstype = optarg; + break; + case 'h': + usage(); + case VERSION_OPTION: + print_version(); + default: + optind--; + more = 1; + break; /* start of specific arguments */ + } + if (optind == argc) { + warnx(_("no device specified")); + errtryhelp(EXIT_FAILURE); + } + + /* If -t wasn't specified, use the default */ + if (fstype == NULL) + fstype = DEFAULT_FSTYPE; + + xasprintf(&progname, "mkfs.%s", fstype); + argv[--optind] = progname; + + if (verbose) { + printf(UTIL_LINUX_VERSION); + i = optind; + while (argv[i]) + printf("%s ", argv[i++]); + printf("\n"); + if (verbose > 1) + return EXIT_SUCCESS; + } + + /* Execute the program */ + execvp(progname, argv + optind); + err(EXIT_FAILURE, _("failed to execute %s"), progname); +} diff --git a/disk-utils/mkfs.cramfs.8 b/disk-utils/mkfs.cramfs.8 new file mode 100644 index 0000000..31cf84b --- /dev/null +++ b/disk-utils/mkfs.cramfs.8 @@ -0,0 +1,90 @@ +.TH MKFS.CRAMFS 8 "April 2013" "util-linux" "System Administration" +.SH NAME +mkfs.cramfs \- make compressed ROM file system +.SH SYNOPSIS +.B mkfs.cramfs +[options] +.I directory file +.SH DESCRIPTION +Files on cramfs file systems are zlib-compressed one page at a time to +allow random read access. The metadata is not compressed, but is +expressed in a terse representation that is more space-efficient than +conventional file systems. +.PP +The file system is intentionally read-only to simplify its design; random +write access for compressed files is difficult to implement. cramfs +ships with a utility (mkcramfs) to pack files into new cramfs images. +.PP +File sizes are limited to less than 16\ MB. +.PP +Maximum file system size is a little under 272\ MB. (The last file on the +file system must begin before the 256\ MB block, but can extend past it.) +.SH ARGUMENTS +The +.I directory +is simply the root of the directory tree that we want to generate a +compressed filesystem out of. +.PP +The +.I file +will contain the cram file system, which later can be mounted. +.SH OPTIONS +.TP +\fB\-v\fR +Enable verbose messaging. +.TP +\fB\-E\fR +Treat all warnings as errors, which are reflected as command return value. +.TP +\fB\-b\fR \fIblocksize\fR +Use defined block size, which has to be divisible by page size. +.TP +\fB\-e\fR \fIedition\fR +Use defined file system edition number in superblock. +.TP +\fB\-N\fR \fIbig, little, host\fR +Use defined endianness. Value defaults to +.IR host . +.TP +\fB\-i\fR \fIfile\fR +Insert a +.I file +to cramfs file system. +.TP +\fB\-n\fR \fIname\fR +Set name of the cramfs file system. +.TP +\fB\-p\fR +Pad by 512 bytes for boot code. +.TP +\fB\-s\fR +This option is ignored. Originally the \-s turned on directory entry +sorting. +.TP +\fB\-z\fR +Make explicit holes. +.TP +\fB\-h\fR, \fB\-\-help\fR +Display help text and exit. +.TP +\fB\-V\fR, \fB\-\-version\fR +Display version information and exit. +.SH "EXIT STATUS" +.RS +.PD 0 +.TP +.B 0 +success +.TP +.B 8 +operation error, such as unable to allocate memory +.PD +.RE +.SH "SEE ALSO" +.BR fsck.cramfs (8), +.BR mount (8) +.SH AVAILABILITY +The example command is part of the util-linux package and is available from +.UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/ +Linux Kernel Archive +.UE . diff --git a/disk-utils/mkfs.cramfs.c b/disk-utils/mkfs.cramfs.c new file mode 100644 index 0000000..bf07f8c --- /dev/null +++ b/disk-utils/mkfs.cramfs.c @@ -0,0 +1,926 @@ +/* + * mkcramfs - make a cramfs file system + * + * Copyright (C) 1999-2002 Transmeta Corporation + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +/* + * Old version would die on largish filesystems. Change to mmap the + * files one by one instead of all simultaneously. - aeb, 2002-11-01 + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/* We don't use our include/crc32.h, but crc32 from zlib! + * + * The zlib implementation performs pre/post-conditioning. The util-linux + * imlemenation requires post-conditioning (xor) in the applications. + */ +#include + +#include "c.h" +#include "cramfs.h" +#include "md5.h" +#include "nls.h" +#include "exitcodes.h" +#include "strutils.h" + +#define CLOSE_EXIT_CODE MKFS_EX_ERROR +#include "closestream.h" + +#define XALLOC_EXIT_CODE MKFS_EX_ERROR +#include "xalloc.h" + +/* The kernel only supports PAD_SIZE of 0 and 512. */ +#define PAD_SIZE 512 + +static int verbose = 0; + +static unsigned int blksize = 0; /* settable via -b option, default page size */ +static long total_blocks = 0, total_nodes = 1; /* pre-count the root node */ +static int image_length = 0; +static int cramfs_is_big_endian = 0; /* target is big endian */ + +/* + * If opt_holes is set, then mkcramfs can create explicit holes in the + * data, which saves 26 bytes per hole (which is a lot smaller a + * saving than for most filesystems). + * + * Note that kernels up to at least 2.3.39 don't support cramfs holes, + * which is why this is turned off by default. + */ +static unsigned int opt_edition = 0; +static int opt_errors = 0; +static int opt_holes = 0; +static int opt_pad = 0; +static char *opt_image = NULL; +static char *opt_name = NULL; + +static int warn_dev = 0; +static int warn_gid = 0; +static int warn_namelen = 0; +static int warn_skip = 0; +static int warn_size = 0; +static int warn_uid = 0; + +/* entry.flags */ +#define CRAMFS_EFLAG_MD5 1 +#define CRAMFS_EFLAG_INVALID 2 + +/* In-core version of inode / directory entry. */ +struct entry { + /* stats */ + unsigned char *name; + unsigned int mode, size, uid, gid; + unsigned char md5sum[UL_MD5LENGTH]; + unsigned char flags; /* CRAMFS_EFLAG_* */ + + /* FS data */ + char *path; + int fd; /* temporarily open files while mmapped */ + struct entry *same; /* points to other identical file */ + unsigned int offset; /* pointer to compressed data in archive */ + unsigned int dir_offset; /* offset of directory entry in archive */ + + /* organization */ + struct entry *child; /* NULL for non-directory and empty dir */ + struct entry *next; +}; + +/* + * Width of various bitfields in struct cramfs_inode. + * Used only to generate warnings. + */ +#define CRAMFS_SIZE_WIDTH 24 +#define CRAMFS_UID_WIDTH 16 +#define CRAMFS_GID_WIDTH 8 +#define CRAMFS_OFFSET_WIDTH 26 + +static void __attribute__((__noreturn__)) usage(void) +{ + printf( + _("usage: %s [-h] [-v] [-b blksize] [-e edition] [-N endian] [-i file] " + "[-n name] dirname outfile\n" + " -v be verbose\n" + " -E make all warnings errors " + "(non-zero exit status)\n" + " -b blksize use this blocksize, must equal page size\n" + " -e edition set edition number (part of fsid)\n" + " -N endian set cramfs endianness (big|little|host), default host\n" + " -i file insert a file image into the filesystem\n" + " -n name set name of cramfs filesystem\n" + " -p pad by %d bytes for boot code\n" + " -s sort directory entries (old option, ignored)\n" + " -z make explicit holes\n" + " dirname root of the filesystem to be compressed\n" + " outfile output file\n"), + program_invocation_short_name, PAD_SIZE); + + fputs(USAGE_SEPARATOR, stdout); + printf(USAGE_HELP_OPTIONS(16)); + printf(USAGE_MAN_TAIL("mkfs.cramfs(8)")); + exit(MKFS_EX_OK); +} + +static char * +do_mmap(char *path, unsigned int size, unsigned int mode){ + int fd; + char *start = NULL; + + if (!size) + return NULL; + + if (S_ISLNK(mode)) { + start = xmalloc(size); + if (readlink(path, start, size) < 0) { + warn(_("readlink failed: %s"), path); + warn_skip = 1; + goto err; + } + return start; + } + + fd = open(path, O_RDONLY); + if (fd < 0) { + warn(_("cannot open %s"), path); + warn_skip = 1; + goto err; + } + + start = mmap(NULL, size, PROT_READ, MAP_PRIVATE, fd, 0); + close(fd); + if (start == MAP_FAILED) + err(MKFS_EX_ERROR, "mmap"); + return start; +err: + free(start); + return NULL; +} + +static void +do_munmap(char *start, unsigned int size, unsigned int mode){ + if (S_ISLNK(mode)) + free(start); + else + munmap(start, size); +} + +/* compute md5sums, so that we do not have to compare every pair of files */ +static void +mdfile(struct entry *e) { + char *start; + + start = do_mmap(e->path, e->size, e->mode); + if (start == NULL) { + e->flags |= CRAMFS_EFLAG_INVALID; + } else { + UL_MD5_CTX ctx; + + ul_MD5Init(&ctx); + ul_MD5Update(&ctx, (unsigned char *) start, e->size); + ul_MD5Final(e->md5sum, &ctx); + + do_munmap(start, e->size, e->mode); + + e->flags |= CRAMFS_EFLAG_MD5; + } +} + +/* md5 digests are equal; files are almost certainly the same, + but just to be sure, do the comparison */ +static int +identical_file(struct entry *e1, struct entry *e2){ + char *start1, *start2; + int equal; + + start1 = do_mmap(e1->path, e1->size, e1->mode); + if (!start1) + return 0; + start2 = do_mmap(e2->path, e2->size, e2->mode); + if (!start2) { + do_munmap(start1, e1->size, e1->mode); + return 0; + } + equal = !memcmp(start1, start2, e1->size); + do_munmap(start1, e1->size, e1->mode); + do_munmap(start2, e2->size, e2->mode); + return equal; +} + +/* + * The longest file name component to allow for in the input directory tree. + * Ext2fs (and many others) allow up to 255 bytes. A couple of filesystems + * allow longer (e.g. smbfs 1024), but there isn't much use in supporting + * >255-byte names in the input directory tree given that such names get + * truncated to 255 bytes when written to cramfs. + */ +#define MAX_INPUT_NAMELEN 255 + +static int find_identical_file(struct entry *orig, struct entry *new, loff_t *fslen_ub) +{ + if (orig == new) + return 1; + if (!orig) + return 0; + if (orig->size == new->size && orig->path) { + if (!orig->flags) + mdfile(orig); + if (!new->flags) + mdfile(new); + + if ((orig->flags & CRAMFS_EFLAG_MD5) && + (new->flags & CRAMFS_EFLAG_MD5) && + !memcmp(orig->md5sum, new->md5sum, UL_MD5LENGTH) && + identical_file(orig, new)) { + new->same = orig; + *fslen_ub -= new->size; + return 1; + } + } + return find_identical_file(orig->child, new, fslen_ub) || + find_identical_file(orig->next, new, fslen_ub); +} + +static void eliminate_doubles(struct entry *root, struct entry *orig, loff_t *fslen_ub) { + if (orig) { + if (orig->size && orig->path) + find_identical_file(root,orig, fslen_ub); + eliminate_doubles(root,orig->child, fslen_ub); + eliminate_doubles(root,orig->next, fslen_ub); + } +} + +/* + * We define our own sorting function instead of using alphasort which + * uses strcoll and changes ordering based on locale information. + */ +static int cramsort (const struct dirent **a, const struct dirent **b) +{ + return strcmp((*a)->d_name, (*b)->d_name); +} + +static unsigned int parse_directory(struct entry *root_entry, const char *name, struct entry **prev, loff_t *fslen_ub) +{ + struct dirent **dirlist; + int totalsize = 0, dircount, dirindex; + char *path, *endpath; + size_t len = strlen(name); + + /* Set up the path. */ + /* TODO: Reuse the parent's buffer to save memcpy'ing and duplication. */ + path = xmalloc(len + 1 + MAX_INPUT_NAMELEN + 1); + memcpy(path, name, len); + endpath = path + len; + *endpath = '/'; + endpath++; + + /* read in the directory and sort */ + dircount = scandir(name, &dirlist, NULL, cramsort); + + if (dircount < 0) + err(MKFS_EX_ERROR, _("could not read directory %s"), name); + + /* process directory */ + for (dirindex = 0; dirindex < dircount; dirindex++) { + struct dirent *dirent; + struct entry *entry; + struct stat st; + int size; + size_t namelen; + + dirent = dirlist[dirindex]; + + /* Ignore "." and ".." - we won't be adding them + to the archive */ + if (dirent->d_name[0] == '.') { + if (dirent->d_name[1] == '\0') + continue; + if (dirent->d_name[1] == '.' && + dirent->d_name[2] == '\0') + continue; + } + namelen = strlen(dirent->d_name); + if (namelen > MAX_INPUT_NAMELEN) { + namelen = MAX_INPUT_NAMELEN; + warn_namelen = 1; + } + + memcpy(endpath, dirent->d_name, namelen + 1); + + if (lstat(path, &st) < 0) { + warn(_("stat of %s failed"), endpath); + warn_skip = 1; + continue; + } + entry = xcalloc(1, sizeof(struct entry)); + entry->name = (unsigned char *)xstrndup(dirent->d_name, namelen); + entry->mode = st.st_mode; + entry->size = st.st_size; + entry->uid = st.st_uid; + if (entry->uid >= 1 << CRAMFS_UID_WIDTH) + warn_uid = 1; + entry->gid = st.st_gid; + if (entry->gid >= 1 << CRAMFS_GID_WIDTH) + /* TODO: We ought to replace with a default + gid instead of truncating; otherwise there + are security problems. Maybe mode should + be &= ~070. Same goes for uid once Linux + supports >16-bit uids. */ + warn_gid = 1; + size = sizeof(struct cramfs_inode) + ((namelen + 3) & ~3); + *fslen_ub += size; + if (S_ISDIR(st.st_mode)) { + entry->size = parse_directory(root_entry, path, &entry->child, fslen_ub); + } else if (S_ISREG(st.st_mode)) { + entry->path = xstrdup(path); + if (entry->size >= (1 << CRAMFS_SIZE_WIDTH)) { + warn_size = 1; + entry->size = (1 << CRAMFS_SIZE_WIDTH) - 1; + } + } else if (S_ISLNK(st.st_mode)) { + entry->path = xstrdup(path); + } else if (S_ISFIFO(st.st_mode) || S_ISSOCK(st.st_mode)) { + /* maybe we should skip sockets */ + entry->size = 0; + } else { + entry->size = st.st_rdev; + if (entry->size & -(1<size - 1) / blksize + 1); + + /* block pointers & data expansion allowance + data */ + if (entry->size) + *fslen_ub += (4+26)*blocks + entry->size + 3; + } + + /* Link it into the list */ + *prev = entry; + prev = &entry->next; + totalsize += size; + } + free(path); + free(dirlist); /* allocated by scandir() with malloc() */ + return totalsize; +} + +/* Returns sizeof(struct cramfs_super), which includes the root inode. */ +static unsigned int write_superblock(struct entry *root, char *base, int size) +{ + struct cramfs_super *super = (struct cramfs_super *) base; + unsigned int offset = sizeof(struct cramfs_super) + image_length; + + if (opt_pad) { + offset += opt_pad; + } + + super->magic = CRAMFS_MAGIC; + super->flags = CRAMFS_FLAG_FSID_VERSION_2 | CRAMFS_FLAG_SORTED_DIRS; + if (opt_holes) + super->flags |= CRAMFS_FLAG_HOLES; + if (image_length > 0) + super->flags |= CRAMFS_FLAG_SHIFTED_ROOT_OFFSET; + super->size = size; + memcpy(super->signature, CRAMFS_SIGNATURE, sizeof(super->signature)); + + super->fsid.crc = crc32(0L, NULL, 0); + super->fsid.edition = opt_edition; + super->fsid.blocks = total_blocks; + super->fsid.files = total_nodes; + + memset(super->name, 0x00, sizeof(super->name)); + if (opt_name) + str2memcpy((char *)super->name, opt_name, sizeof(super->name)); + else + str2memcpy((char *)super->name, "Compressed", sizeof(super->name)); + + super->root.mode = root->mode; + super->root.uid = root->uid; + super->root.gid = root->gid; + super->root.size = root->size; + super->root.offset = offset >> 2; + + super_toggle_endianness(cramfs_is_big_endian, super); + inode_from_host(cramfs_is_big_endian, &super->root, &super->root); + + return offset; +} + +static void set_data_offset(struct entry *entry, char *base, unsigned long offset) +{ + struct cramfs_inode *inode = (struct cramfs_inode *) (base + entry->dir_offset); + inode_to_host(cramfs_is_big_endian, inode, inode); + if (offset >= (1 << (2 + CRAMFS_OFFSET_WIDTH))) + errx(MKFS_EX_ERROR, _("filesystem too big. Exiting.")); + inode->offset = (offset >> 2); + inode_from_host(cramfs_is_big_endian, inode, inode); +} + + +/* + * We do a width-first printout of the directory + * entries, using a stack to remember the directories + * we've seen. + */ +static unsigned int write_directory_structure(struct entry *entry, char *base, unsigned int offset) +{ + int stack_entries = 0; + int stack_size = 64; + struct entry **entry_stack; + + entry_stack = xmalloc(stack_size * sizeof(struct entry *)); + + for (;;) { + int dir_start = stack_entries; + while (entry) { + struct cramfs_inode *inode = + (struct cramfs_inode *) (base + offset); + size_t len = strlen((const char *)entry->name); + + entry->dir_offset = offset; + + inode->mode = entry->mode; + inode->uid = entry->uid; + inode->gid = entry->gid; + inode->size = entry->size; + inode->offset = 0; + /* Non-empty directories, regfiles and symlinks will + write over inode->offset later. */ + + offset += sizeof(struct cramfs_inode); + total_nodes++; /* another node */ + memcpy(base + offset, entry->name, len); + /* Pad up the name to a 4-byte boundary */ + while (len & 3) { + *(base + offset + len) = '\0'; + len++; + } + inode->namelen = len >> 2; + offset += len; + + if (verbose) + printf(" %s\n", entry->name); + if (entry->child) { + if (stack_entries >= stack_size) { + stack_size *= 2; + entry_stack = xrealloc(entry_stack, stack_size * sizeof(struct entry *)); + } + entry_stack[stack_entries] = entry; + stack_entries++; + } + inode_from_host(cramfs_is_big_endian, inode, inode); + entry = entry->next; + } + + /* + * Reverse the order the stack entries pushed during + * this directory, for a small optimization of disk + * access in the created fs. This change makes things + * `ls -UR' order. + */ + { + struct entry **lo = entry_stack + dir_start; + struct entry **hi = entry_stack + stack_entries; + struct entry *tmp; + + while (lo < --hi) { + tmp = *lo; + *lo++ = *hi; + *hi = tmp; + } + } + + /* Pop a subdirectory entry from the stack, and recurse. */ + if (!stack_entries) + break; + stack_entries--; + entry = entry_stack[stack_entries]; + + set_data_offset(entry, base, offset); + if (verbose) + printf("'%s':\n", entry->name); + entry = entry->child; + } + free(entry_stack); + return offset; +} + +static int is_zero(unsigned char const *begin, unsigned len) +{ + if (opt_holes) + /* Returns non-zero iff the first LEN bytes from BEGIN are + all NULs. */ + return (len-- == 0 || + (begin[0] == '\0' && + (len-- == 0 || + (begin[1] == '\0' && + (len-- == 0 || + (begin[2] == '\0' && + (len-- == 0 || + (begin[3] == '\0' && + memcmp(begin, begin + 4, len) == 0)))))))); + else + /* Never create holes. */ + return 0; +} + +/* + * One 4-byte pointer per block and then the actual blocked + * output. The first block does not need an offset pointer, + * as it will start immediately after the pointer block; + * so the i'th pointer points to the end of the i'th block + * (i.e. the start of the (i+1)'th block or past EOF). + * + * Note that size > 0, as a zero-sized file wouldn't ever + * have gotten here in the first place. + */ +static unsigned int +do_compress(char *base, unsigned int offset, unsigned char const *name, + char *path, unsigned int size, unsigned int mode) +{ + unsigned long original_size, original_offset, new_size, blocks, curr; + long change; + char *start; + Bytef *p; + + /* get uncompressed data */ + start = do_mmap(path, size, mode); + if (start == NULL) + return offset; + p = (Bytef *) start; + + original_size = size; + original_offset = offset; + blocks = (size - 1) / blksize + 1; + curr = offset + 4 * blocks; + + total_blocks += blocks; + + do { + uLongf len = 2 * blksize; + uLongf input = size; + if (input > blksize) + input = blksize; + size -= input; + if (!is_zero (p, input)) { + compress((Bytef *)(base + curr), &len, p, input); + curr += len; + } + p += input; + + if (len > blksize*2) { + /* (I don't think this can happen with zlib.) */ + printf(_("AIEEE: block \"compressed\" to > " + "2*blocklength (%ld)\n"), + len); + exit(MKFS_EX_ERROR); + } + + *(uint32_t *) (base + offset) = u32_toggle_endianness(cramfs_is_big_endian, curr); + offset += 4; + } while (size); + + do_munmap(start, original_size, mode); + + curr = (curr + 3) & ~3; + new_size = curr - original_offset; + /* TODO: Arguably, original_size in these 2 lines should be + st_blocks * 512. But if you say that, then perhaps + administrative data should also be included in both. */ + change = new_size - original_size; + if (verbose) + printf(_("%6.2f%% (%+ld bytes)\t%s\n"), + (change * 100) / (double) original_size, change, name); + + return curr; +} + + +/* + * Traverse the entry tree, writing data for every item that has + * non-null entry->path (i.e. every symlink and non-empty + * regfile). + */ +static unsigned int +write_data(struct entry *entry, char *base, unsigned int offset) { + struct entry *e; + + for (e = entry; e; e = e->next) { + if (e->path) { + if (e->same) { + set_data_offset(e, base, e->same->offset); + e->offset = e->same->offset; + } else if (e->size) { + set_data_offset(e, base, offset); + e->offset = offset; + offset = do_compress(base, offset, e->name, + e->path, e->size,e->mode); + } + } else if (e->child) + offset = write_data(e->child, base, offset); + } + return offset; +} + +static unsigned int write_file(char *file, char *base, unsigned int offset) +{ + int fd; + char *buf; + + fd = open(file, O_RDONLY); + if (fd < 0) + err(MKFS_EX_ERROR, _("cannot open %s"), file); + buf = mmap(NULL, image_length, PROT_READ, MAP_PRIVATE, fd, 0); + memcpy(base + offset, buf, image_length); + munmap(buf, image_length); + if (close (fd) < 0) + err(MKFS_EX_ERROR, _("cannot close file %s"), file); + /* Pad up the image_length to a 4-byte boundary */ + while (image_length & 3) { + *(base + offset + image_length) = '\0'; + image_length++; + } + return (offset + image_length); +} + +/* + * Maximum size fs you can create is roughly 256MB. (The last file's + * data must begin within 256MB boundary but can extend beyond that.) + * + * Note that if you want it to fit in a ROM then you're limited to what the + * hardware and kernel can support (64MB?). + */ +static unsigned int +maxfslen(void) { + return (((1 << CRAMFS_OFFSET_WIDTH) - 1) << 2) /* offset */ + + (1 << CRAMFS_SIZE_WIDTH) - 1 /* filesize */ + + (1 << CRAMFS_SIZE_WIDTH) * 4 / blksize; /* block pointers */ +} + +/* + * Usage: + * + * mkcramfs directory-name outfile + * + * where "directory-name" is simply the root of the directory + * tree that we want to generate a compressed filesystem out + * of. + */ +int main(int argc, char **argv) +{ + struct stat st; /* used twice... */ + struct entry *root_entry; + char *rom_image; + ssize_t offset, written; + int fd; + /* initial guess (upper-bound) of required filesystem size */ + loff_t fslen_ub = sizeof(struct cramfs_super); + unsigned int fslen_max; + char const *dirname, *outfile; + uint32_t crc = crc32(0L, NULL, 0); + int c; + cramfs_is_big_endian = HOST_IS_BIG_ENDIAN; /* default is to use host order */ + + total_blocks = 0; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + if (argc > 1) { + /* first arg may be one of our standard longopts */ + if (!strcmp(argv[1], "--help")) + usage(); + if (!strcmp(argv[1], "--version")) { + printf(UTIL_LINUX_VERSION); + exit(MKFS_EX_OK); + } + } + strutils_set_exitcode(MKFS_EX_USAGE); + + /* command line options */ + while ((c = getopt(argc, argv, "hb:Ee:i:n:N:psVvz")) != EOF) { + switch (c) { + case 'h': + usage(); + case 'b': + blksize = strtou32_or_err(optarg, _("invalid blocksize argument")); + break; + case 'E': + opt_errors = 1; + break; + case 'e': + opt_edition = strtou32_or_err(optarg, _("invalid edition number argument")); + break; + case 'N': + if (strcmp(optarg, "big") == 0) + cramfs_is_big_endian = 1; + else if (strcmp(optarg, "little") == 0) + cramfs_is_big_endian = 0; + else if (strcmp(optarg, "host") == 0) + /* default */ ; + else + errx(MKFS_EX_USAGE, _("invalid endianness given;" + " must be 'big', 'little', or 'host'")); + break; + case 'i': + opt_image = optarg; + if (lstat(opt_image, &st) < 0) + err(MKFS_EX_USAGE, _("stat of %s failed"), opt_image); + image_length = st.st_size; /* may be padded later */ + fslen_ub += (image_length + 3); /* 3 is for padding */ + break; + case 'n': + opt_name = optarg; + break; + case 'p': + opt_pad = PAD_SIZE; + fslen_ub += PAD_SIZE; + break; + case 's': + /* old option, ignored */ + break; + case 'V': + printf(UTIL_LINUX_VERSION); + exit(MKFS_EX_OK); + case 'v': + verbose = 1; + break; + case 'z': + opt_holes = 1; + break; + default: + errtryhelp(MKFS_EX_USAGE); + } + } + + if ((argc - optind) != 2) { + warnx(_("bad usage")); + errtryhelp(MKFS_EX_USAGE); + } + dirname = argv[optind]; + outfile = argv[optind + 1]; + + if (blksize == 0) + blksize = getpagesize(); + + if (stat(dirname, &st) < 0) + err(MKFS_EX_USAGE, _("stat of %s failed"), dirname); + fd = open(outfile, O_WRONLY | O_CREAT | O_TRUNC, 0666); + if (fd < 0) + err(MKFS_EX_USAGE, _("cannot open %s"), outfile); + + root_entry = xcalloc(1, sizeof(struct entry)); + root_entry->mode = st.st_mode; + root_entry->uid = st.st_uid; + root_entry->gid = st.st_gid; + + root_entry->size = parse_directory(root_entry, dirname, &root_entry->child, &fslen_ub); + + /* find duplicate files */ + eliminate_doubles(root_entry,root_entry, &fslen_ub); + + /* always allocate a multiple of blksize bytes because that's + what we're going to write later on */ + fslen_ub = ((fslen_ub - 1) | (blksize - 1)) + 1; + fslen_max = maxfslen(); + + if (fslen_ub > fslen_max) { + warnx( _("warning: guestimate of required size (upper bound) " + "is %lldMB, but maximum image size is %uMB. " + "We might die prematurely."), + (long long)fslen_ub >> 20, + fslen_max >> 20); + fslen_ub = fslen_max; + } + + /* TODO: Why do we use a private/anonymous mapping here + followed by a write below, instead of just a shared mapping + and a couple of ftruncate calls? Is it just to save us + having to deal with removing the file afterwards? If we + really need this huge anonymous mapping, we ought to mmap + in smaller chunks, so that the user doesn't need nn MB of + RAM free. If the reason is to be able to write to + un-mmappable block devices, then we could try shared mmap + and revert to anonymous mmap if the shared mmap fails. */ + rom_image = mmap(NULL, + fslen_ub?fslen_ub:1, + PROT_READ | PROT_WRITE, + MAP_PRIVATE | MAP_ANONYMOUS, + -1, 0); + + if (-1 == (int) (long) rom_image) + err(MKFS_EX_ERROR, _("ROM image map")); + + /* Skip the first opt_pad bytes for boot loader code */ + offset = opt_pad; + memset(rom_image, 0x00, opt_pad); + + /* Skip the superblock and come back to write it later. */ + offset += sizeof(struct cramfs_super); + + /* Insert a file image. */ + if (opt_image) { + if (verbose) + printf(_("Including: %s\n"), opt_image); + offset = write_file(opt_image, rom_image, offset); + } + + offset = write_directory_structure(root_entry->child, rom_image, offset); + if (verbose) + printf(_("Directory data: %zd bytes\n"), offset); + + offset = write_data(root_entry, rom_image, offset); + + /* We always write a multiple of blksize bytes, so that + losetup works. */ + offset = ((offset - 1) | (blksize - 1)) + 1; + if (verbose) + printf(_("Everything: %zd kilobytes\n"), offset >> 10); + + /* Write the superblock now that we can fill in all of the fields. */ + write_superblock(root_entry, rom_image+opt_pad, offset); + if (verbose) + printf(_("Super block: %zd bytes\n"), + sizeof(struct cramfs_super)); + + /* Put the checksum in. */ + crc = crc32(crc, (unsigned char *) (rom_image+opt_pad), (offset-opt_pad)); + ((struct cramfs_super *) (rom_image+opt_pad))->fsid.crc = u32_toggle_endianness(cramfs_is_big_endian, crc); + if (verbose) + printf(_("CRC: %x\n"), crc); + + /* Check to make sure we allocated enough space. */ + if (fslen_ub < offset) + errx(MKFS_EX_ERROR, + _("not enough space allocated for ROM image " + "(%lld allocated, %zu used)"), + (long long) fslen_ub, offset); + + written = write(fd, rom_image, offset); + if (offset != written) + errx(MKFS_EX_ERROR, _("ROM image write failed (%zd %zd)"), + written, offset); + if (close_fd(fd) != 0) + err(MKFS_EX_ERROR, _("ROM image")); + + /* + * (These warnings used to come at the start, but they scroll off + * the screen too quickly.) + */ + if (warn_namelen) + /* Can't happen when reading from ext2fs. */ + /* Bytes, not chars: think UTF8. */ + warnx(_("warning: filenames truncated to %u bytes."), MAX_INPUT_NAMELEN); + if (warn_skip) + warnx(_("warning: files were skipped due to errors.")); + if (warn_size) + warnx(_("warning: file sizes truncated to %luMB " + "(minus 1 byte)."), 1L << (CRAMFS_SIZE_WIDTH - 20)); + if (warn_uid) + /* (not possible with current Linux versions) */ + warnx(_("warning: uids truncated to %u bits. " + "(This may be a security concern.)"), CRAMFS_UID_WIDTH); + if (warn_gid) + warnx(_("warning: gids truncated to %u bits. " + "(This may be a security concern.)"), CRAMFS_GID_WIDTH); + if (warn_dev) + warnx(_("WARNING: device numbers truncated to %u bits. " + "This almost certainly means\n" + "that some device files will be wrong."), + CRAMFS_OFFSET_WIDTH); + if (opt_errors && + (warn_namelen|warn_skip|warn_size|warn_uid|warn_gid|warn_dev)) + exit(MKFS_EX_ERROR); + + return MKFS_EX_OK; +} diff --git a/disk-utils/mkfs.minix.8 b/disk-utils/mkfs.minix.8 new file mode 100644 index 0000000..a640deb --- /dev/null +++ b/disk-utils/mkfs.minix.8 @@ -0,0 +1,89 @@ +.\" Copyright 1992, 1993, 1994 Rickard E. Faith (faith@cs.unc.edu) +.\" May be freely distributed. +.TH MKFS.MINIX 8 "June 2015" "util-linux" "System Administration" +.SH NAME +mkfs.minix \- make a Minix filesystem +.SH SYNOPSIS +.B mkfs.minix +[options] +.I device +.RI [ size-in-blocks ] +.SH DESCRIPTION +.B mkfs.minix +creates a Linux MINIX filesystem on a device (usually a disk partition). + +The +.I device +is usually of the following form: + +.nf +.RS +/dev/hda[1\(en8] (IDE disk 1) +/dev/hdb[1\(en8] (IDE disk 2) +/dev/sda[1\(en8] (SCSI disk 1) +/dev/sdb[1\(en8] (SCSI disk 2) +.RE +.fi + +The device may be a block device or an image file of one, but this is not +enforced. Expect not much fun on a character device :-). +.PP +The +.I size-in-blocks +parameter is the desired size of the file system, in blocks. +It is present only for backwards compatibility. +If omitted the size will be determined automatically. +Only block counts strictly greater than 10 and strictly less than +65536 are allowed. +.SH OPTIONS +.TP +\fB\-c\fR, \fB\-\-check\fR +Check the device for bad blocks before creating the filesystem. If any +are found, the count is printed. +.TP +\fB\-n\fR, \fB\-\-namelength\fR \fIlength\fR +Specify the maximum length of filenames. Currently, the only allowable +values are 14 and 30 for file system versions 1 and 2. Version 3 allows +only value 60. The default is 30. +.TP +\fB\-i\fR, \fB\-\-inodes\fR \fInumber\fR +Specify the number of inodes for the filesystem. +.TP +\fB\-l\fR, \fB\-\-badblocks\fR \fIfilename\fR +Read the list of bad blocks from +.IR filename . +The file has one bad-block number per line. The count of bad blocks read +is printed. +.TP +.B \-1 +Make a Minix version 1 filesystem. This is the default. +.TP +.BR \-2 , " \-v" +Make a Minix version 2 filesystem. +.TP +.B \-3 +Make a Minix version 3 filesystem. +.TP +\fB\-V\fR, \fB\-\-version\fR +Display version information and exit. The long option cannot be combined +with other options. +.TP +\fB\-h\fR, \fB\-\-help\fR +Display help text and exit. +.SH "EXIT CODES" +The exit code returned by +.B mkfs.minix +is one of the following: +.IP 0 +No errors +.IP 8 +Operational error +.IP 16 +Usage or syntax error +.SH "SEE ALSO" +.BR fsck (8), +.BR mkfs (8), +.BR reboot (8) +.SH AVAILABILITY +The mkfs.minix command is part of the util-linux package and is available from +https://www.kernel.org/pub/linux/utils/util-linux/. diff --git a/disk-utils/mkfs.minix.c b/disk-utils/mkfs.minix.c new file mode 100644 index 0000000..54c47da --- /dev/null +++ b/disk-utils/mkfs.minix.c @@ -0,0 +1,841 @@ +/* + * mkfs.minix.c - make a linux (minix) file-system. + * + * (C) 1991 Linus Torvalds. This file may be redistributed as per + * the Linux copyright. + */ + +/* + * DD.MM.YY + * + * 24.11.91 - Time began. Used the fsck sources to get started. + * + * 25.11.91 - Corrected some bugs. Added support for ".badblocks" + * The algorithm for ".badblocks" is a bit weird, but + * it should work. Oh, well. + * + * 25.01.92 - Added the -l option for getting the list of bad blocks + * out of a named file. (Dave Rivers, rivers@ponds.uucp) + * + * 28.02.92 - Added %-information when using -c. + * + * 28.02.93 - Added support for other namelengths than the original + * 14 characters so that I can test the new kernel routines.. + * + * 09.10.93 - Make exit status conform to that required by fsutil + * (Rik Faith, faith@cs.unc.edu) + * + * 31.10.93 - Added inode request feature, for backup floppies: use + * 32 inodes, for a news partition use more. + * (Scott Heavner, sdh@po.cwru.edu) + * + * 03.01.94 - Added support for file system valid flag. + * (Dr. Wettstein, greg%wind.uucp@plains.nodak.edu) + * + * 30.10.94 - Added support for v2 filesystem + * (Andreas Schwab, schwab@issan.informatik.uni-dortmund.de) + * + * 09.11.94 - Added test to prevent overwrite of mounted fs adapted + * from Theodore Ts'o's (tytso@athena.mit.edu) mke2fs + * program. (Daniel Quinlan, quinlan@yggdrasil.com) + * + * 03.20.95 - Clear first 512 bytes of filesystem to make certain that + * the filesystem is not misidentified as a MS-DOS FAT filesystem. + * (Daniel Quinlan, quinlan@yggdrasil.com) + * + * 02.07.96 - Added small patch from Russell King to make the program a + * good deal more portable (janl@math.uio.no) + * + * 06.29.11 - Overall cleanups for util-linux and v3 support + * Davidlohr Bueso + * + * 06.20.15 - Do not infinite loop or crash on large devices + * Joshua Hudson + * + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "blkdev.h" +#include "minix_programs.h" +#include "nls.h" +#include "pathnames.h" +#include "bitops.h" +#include "exitcodes.h" +#include "strutils.h" +#include "all-io.h" +#include "closestream.h" +#include "ismounted.h" + +#define XALLOC_EXIT_CODE MKFS_EX_ERROR +#include "xalloc.h" + +#define MINIX_ROOT_INO 1 +#define MINIX_BAD_INO 2 + +#define TEST_BUFFER_BLOCKS 16 +#define MAX_GOOD_BLOCKS 512 + +#define MINIX_MAX_INODES 65535 + +#define DEFAULT_FS_VERSION 1 + +/* + * Global variables used in minix_programs.h inline functions + */ +int fs_version = DEFAULT_FS_VERSION; +char *super_block_buffer; + +static char *inode_buffer = NULL; + +#define Inode (((struct minix_inode *) inode_buffer) - 1) +#define Inode2 (((struct minix2_inode *) inode_buffer) - 1) + +struct fs_control { + char *device_name; /* device on a Minix file system is created */ + int device_fd; /* open file descriptor of the device */ + unsigned long long fs_blocks; /* device block count for the file system */ + int fs_used_blocks; /* used blocks on a device */ + int fs_bad_blocks; /* number of bad blocks found from device */ + uint16_t fs_namelen; /* maximum length of filenames */ + size_t fs_dirsize; /* maximum size of directory */ + unsigned long fs_inodes; /* number of inodes */ + int fs_magic; /* file system magic number */ + unsigned int + check_blocks:1; /* check for bad blocks */ +}; + +static char root_block[MINIX_BLOCK_SIZE]; +static char boot_block_buffer[512]; +static unsigned short good_blocks_table[MAX_GOOD_BLOCKS]; + +static char *inode_map; +static char *zone_map; + +#define zone_in_use(x) (isset(zone_map,(x)-get_first_zone()+1) != 0) + +#define mark_inode(x) (setbit(inode_map,(x))) +#define unmark_inode(x) (clrbit(inode_map,(x))) + +#define mark_zone(x) (setbit(zone_map,(x)-get_first_zone()+1)) +#define unmark_zone(x) (clrbit(zone_map,(x)-get_first_zone()+1)) + +static void __attribute__((__noreturn__)) usage(void) +{ + FILE *out = stdout; + fputs(USAGE_HEADER, out); + fprintf(out, _(" %s [options] /dev/name [blocks]\n"), program_invocation_short_name); + fputs(USAGE_OPTIONS, out); + fputs(_(" -1 use Minix version 1\n"), out); + fputs(_(" -2, -v use Minix version 2\n"), out); + fputs(_(" -3 use Minix version 3\n"), out); + fputs(_(" -n, --namelength maximum length of filenames\n"), out); + fputs(_(" -i, --inodes number of inodes for the filesystem\n"), out); + fputs(_(" -c, --check check the device for bad blocks\n"), out); + fputs(_(" -l, --badblocks list of bad blocks from file\n"), out); + fputs(USAGE_SEPARATOR, out); + printf(USAGE_HELP_OPTIONS(25)); + printf(USAGE_MAN_TAIL("mkfs.minix(8)")); + exit(MKFS_EX_OK); +} + +#ifdef TEST_SCRIPT +static inline time_t mkfs_minix_time(time_t *t) +{ + const char *str = getenv("MKFS_MINIX_TEST_SECOND_SINCE_EPOCH"); + time_t sec; + + if (str && sscanf(str, "%ld", &sec) == 1) + return sec; + return time(t); +} +#else /* !TEST_SCRIPT */ +# define mkfs_minix_time(x) time(x) +#endif + +static void super_set_state(void) +{ + switch (fs_version) { + case 1: + case 2: + Super.s_state |= MINIX_VALID_FS; + Super.s_state &= ~MINIX_ERROR_FS; + break; + default: /* v3 */ + break; + } +} + +static void write_tables(const struct fs_control *ctl) { + unsigned long imaps = get_nimaps(); + unsigned long zmaps = get_nzmaps(); + size_t buffsz = get_inode_buffer_size(); + + /* Mark the super block valid. */ + super_set_state(); + + if (lseek(ctl->device_fd, 0, SEEK_SET)) + err(MKFS_EX_ERROR, _("%s: seek to boot block failed " + " in write_tables"), ctl->device_name); + if (write_all(ctl->device_fd, boot_block_buffer, 512)) + err(MKFS_EX_ERROR, _("%s: unable to clear boot sector"), ctl->device_name); + if (MINIX_BLOCK_SIZE != lseek(ctl->device_fd, MINIX_BLOCK_SIZE, SEEK_SET)) + err(MKFS_EX_ERROR, _("%s: seek failed in write_tables"), ctl->device_name); + + if (write_all(ctl->device_fd, super_block_buffer, MINIX_BLOCK_SIZE)) + err(MKFS_EX_ERROR, _("%s: unable to write super-block"), ctl->device_name); + + if (write_all(ctl->device_fd, inode_map, imaps * MINIX_BLOCK_SIZE)) + err(MKFS_EX_ERROR, _("%s: unable to write inode map"), ctl->device_name); + + if (write_all(ctl->device_fd, zone_map, zmaps * MINIX_BLOCK_SIZE)) + err(MKFS_EX_ERROR, _("%s: unable to write zone map"), ctl->device_name); + + if (write_all(ctl->device_fd, inode_buffer, buffsz)) + err(MKFS_EX_ERROR, _("%s: unable to write inodes"), ctl->device_name); +} + +static void write_block(const struct fs_control *ctl, int blk, char * buffer) { + if (blk * MINIX_BLOCK_SIZE != lseek(ctl->device_fd, blk * MINIX_BLOCK_SIZE, SEEK_SET)) + errx(MKFS_EX_ERROR, _("%s: seek failed in write_block"), ctl->device_name); + + if (write_all(ctl->device_fd, buffer, MINIX_BLOCK_SIZE)) + errx(MKFS_EX_ERROR, _("%s: write failed in write_block"), ctl->device_name); +} + +static int get_free_block(struct fs_control *ctl) { + unsigned int blk; + unsigned int zones = get_nzones(); + unsigned int first_zone = get_first_zone(); + + if (ctl->fs_used_blocks + 1 >= MAX_GOOD_BLOCKS) + errx(MKFS_EX_ERROR, _("%s: too many bad blocks"), ctl->device_name); + if (ctl->fs_used_blocks) + blk = good_blocks_table[ctl->fs_used_blocks - 1] + 1; + else + blk = first_zone; + while (blk < zones && zone_in_use(blk)) + blk++; + if (blk >= zones) + errx(MKFS_EX_ERROR, _("%s: not enough good blocks"), ctl->device_name); + good_blocks_table[ctl->fs_used_blocks] = blk; + ctl->fs_used_blocks++; + return blk; +} + +static void mark_good_blocks(const struct fs_control *ctl) { + int blk; + + for (blk=0 ; blk < ctl->fs_used_blocks ; blk++) + mark_zone(good_blocks_table[blk]); +} + +static inline int next(unsigned long zone) { + unsigned long zones = get_nzones(); + unsigned long first_zone = get_first_zone(); + + if (!zone) + zone = first_zone-1; + while (++zone < zones) + if (zone_in_use(zone)) + return zone; + return 0; +} + +static void make_bad_inode_v1(struct fs_control *ctl) +{ + struct minix_inode * inode = &Inode[MINIX_BAD_INO]; + int i,j,zone; + int ind=0,dind=0; + unsigned short ind_block[MINIX_BLOCK_SIZE>>1]; + unsigned short dind_block[MINIX_BLOCK_SIZE>>1]; + +#define NEXT_BAD (zone = next(zone)) + + if (!ctl->fs_bad_blocks) + return; + mark_inode(MINIX_BAD_INO); + inode->i_nlinks = 1; + inode->i_time = mkfs_minix_time(NULL); + inode->i_mode = S_IFREG + 0000; + inode->i_size = ctl->fs_bad_blocks * MINIX_BLOCK_SIZE; + zone = next(0); + for (i=0 ; i<7 ; i++) { + inode->i_zone[i] = zone; + if (!NEXT_BAD) + goto end_bad; + } + inode->i_zone[7] = ind = get_free_block(ctl); + memset(ind_block,0,MINIX_BLOCK_SIZE); + for (i=0 ; i<512 ; i++) { + ind_block[i] = zone; + if (!NEXT_BAD) + goto end_bad; + } + inode->i_zone[8] = dind = get_free_block(ctl); + memset(dind_block,0,MINIX_BLOCK_SIZE); + for (i=0 ; i<512 ; i++) { + write_block(ctl, ind,(char *) ind_block); + dind_block[i] = ind = get_free_block(ctl); + memset(ind_block,0,MINIX_BLOCK_SIZE); + for (j=0 ; j<512 ; j++) { + ind_block[j] = zone; + if (!NEXT_BAD) + goto end_bad; + } + } + errx(MKFS_EX_ERROR, _("%s: too many bad blocks"), ctl->device_name); +end_bad: + if (ind) + write_block(ctl, ind, (char *) ind_block); + if (dind) + write_block(ctl, dind, (char *) dind_block); +} + +static void make_bad_inode_v2_v3 (struct fs_control *ctl) +{ + struct minix2_inode *inode = &Inode2[MINIX_BAD_INO]; + int i, j, zone; + int ind = 0, dind = 0; + unsigned long ind_block[MINIX_BLOCK_SIZE >> 2]; + unsigned long dind_block[MINIX_BLOCK_SIZE >> 2]; + + if (!ctl->fs_bad_blocks) + return; + mark_inode (MINIX_BAD_INO); + inode->i_nlinks = 1; + inode->i_atime = inode->i_mtime = inode->i_ctime = mkfs_minix_time(NULL); + inode->i_mode = S_IFREG + 0000; + inode->i_size = ctl->fs_bad_blocks * MINIX_BLOCK_SIZE; + zone = next (0); + for (i = 0; i < 7; i++) { + inode->i_zone[i] = zone; + if (!NEXT_BAD) + goto end_bad; + } + inode->i_zone[7] = ind = get_free_block (ctl); + memset (ind_block, 0, MINIX_BLOCK_SIZE); + for (i = 0; i < 256; i++) { + ind_block[i] = zone; + if (!NEXT_BAD) + goto end_bad; + } + inode->i_zone[8] = dind = get_free_block (ctl); + memset (dind_block, 0, MINIX_BLOCK_SIZE); + for (i = 0; i < 256; i++) { + write_block (ctl, ind, (char *) ind_block); + dind_block[i] = ind = get_free_block (ctl); + memset (ind_block, 0, MINIX_BLOCK_SIZE); + for (j = 0; j < 256; j++) { + ind_block[j] = zone; + if (!NEXT_BAD) + goto end_bad; + } + } + /* Could make triple indirect block here */ + errx(MKFS_EX_ERROR, _("%s: too many bad blocks"), ctl->device_name); + end_bad: + if (ind) + write_block (ctl, ind, (char *) ind_block); + if (dind) + write_block (ctl, dind, (char *) dind_block); +} + +static void make_bad_inode(struct fs_control *ctl) +{ + if (fs_version < 2) { + make_bad_inode_v1(ctl); + return; + } + make_bad_inode_v2_v3(ctl); +} + +static void make_root_inode_v1(struct fs_control *ctl) { + struct minix_inode * inode = &Inode[MINIX_ROOT_INO]; + + mark_inode(MINIX_ROOT_INO); + inode->i_zone[0] = get_free_block(ctl); + inode->i_nlinks = 2; + inode->i_time = mkfs_minix_time(NULL); + if (ctl->fs_bad_blocks) + inode->i_size = 3 * ctl->fs_dirsize; + else { + memset(&root_block[2 * ctl->fs_dirsize], 0, ctl->fs_dirsize); + inode->i_size = 2 * ctl->fs_dirsize; + } + inode->i_mode = S_IFDIR + 0755; + inode->i_uid = getuid(); + if (inode->i_uid) + inode->i_gid = getgid(); + write_block(ctl, inode->i_zone[0],root_block); +} + +static void make_root_inode_v2_v3 (struct fs_control *ctl) { + struct minix2_inode *inode = &Inode2[MINIX_ROOT_INO]; + + mark_inode (MINIX_ROOT_INO); + inode->i_zone[0] = get_free_block (ctl); + inode->i_nlinks = 2; + inode->i_atime = inode->i_mtime = inode->i_ctime = mkfs_minix_time(NULL); + + if (ctl->fs_bad_blocks) + inode->i_size = 3 * ctl->fs_dirsize; + else { + memset(&root_block[2 * ctl->fs_dirsize], 0, ctl->fs_dirsize); + inode->i_size = 2 * ctl->fs_dirsize; + } + + inode->i_mode = S_IFDIR + 0755; + inode->i_uid = getuid(); + if (inode->i_uid) + inode->i_gid = getgid(); + write_block (ctl, inode->i_zone[0], root_block); +} + +static void make_root_inode(struct fs_control *ctl) +{ + char *tmp = root_block; + + if (fs_version == 3) { + *(uint32_t *) tmp = 1; + strcpy(tmp + 4, "."); + tmp += ctl->fs_dirsize; + *(uint32_t *) tmp = 1; + strcpy(tmp + 4, ".."); + tmp += ctl->fs_dirsize; + *(uint32_t *) tmp = 2; + strcpy(tmp + 4, ".badblocks"); + } else { + *(uint16_t *) tmp = 1; + strcpy(tmp + 2, "."); + tmp += ctl->fs_dirsize; + *(uint16_t *) tmp = 1; + strcpy(tmp + 2, ".."); + tmp += ctl->fs_dirsize; + *(uint16_t *) tmp = 2; + strcpy(tmp + 2, ".badblocks"); + } + if (fs_version < 2) { + make_root_inode_v1(ctl); + return; + } + make_root_inode_v2_v3(ctl); +} + +static void super_set_nzones(const struct fs_control *ctl) +{ + switch (fs_version) { + case 3: + Super3.s_zones = ctl->fs_blocks; + break; + case 2: + Super.s_zones = ctl->fs_blocks; + break; + default: /* v1 */ + Super.s_nzones = ctl->fs_blocks; + break; + } +} + +static void super_init_maxsize(void) +{ + switch (fs_version) { + case 3: + Super3.s_max_size = 2147483647L; + break; + case 2: + Super.s_max_size = 0x7fffffff; + break; + default: /* v1 */ + Super.s_max_size = (7+512+512*512)*1024; + break; + } +} + +static void super_set_map_blocks(const struct fs_control *ctl, unsigned long inodes) +{ + switch (fs_version) { + case 3: + Super3.s_imap_blocks = UPPER(inodes + 1, BITS_PER_BLOCK); + Super3.s_zmap_blocks = UPPER(ctl->fs_blocks - (1 + get_nimaps() + inode_blocks()), + BITS_PER_BLOCK + 1); + Super3.s_firstdatazone = first_zone_data(); + break; + default: + Super.s_imap_blocks = UPPER(inodes + 1, BITS_PER_BLOCK); + Super.s_zmap_blocks = UPPER(ctl->fs_blocks - (1 + get_nimaps() + inode_blocks()), + BITS_PER_BLOCK + 1); + Super.s_firstdatazone = first_zone_data(); + break; + } +} + +static void super_set_magic(const struct fs_control *ctl) +{ + switch (fs_version) { + case 3: + Super3.s_magic = ctl->fs_magic; + break; + default: + Super.s_magic = ctl->fs_magic; + break; + } +} + +static void setup_tables(const struct fs_control *ctl) { + unsigned long inodes, zmaps, imaps, zones, i; + + super_block_buffer = xcalloc(1, MINIX_BLOCK_SIZE); + + memset(boot_block_buffer,0,512); + super_set_magic(ctl); + + if (fs_version == 3) { + Super3.s_log_zone_size = 0; + Super3.s_blocksize = MINIX_BLOCK_SIZE; + } + else { + Super.s_log_zone_size = 0; + } + + super_init_maxsize(); + super_set_nzones(ctl); + zones = get_nzones(); + + /* some magic nrs: 1 inode / 3 blocks for smaller filesystems, + * for one inode / 16 blocks for large ones. mkfs will eventually + * crab about too far when getting close to the maximum size. */ + if (ctl->fs_inodes == 0) + if (2048 * 1024 < ctl->fs_blocks) /* 2GB */ + inodes = ctl->fs_blocks / 16; + else if (512 * 1024 < ctl->fs_blocks) /* 0.5GB */ + inodes = ctl->fs_blocks / 8; + else + inodes = ctl->fs_blocks / 3; + else + inodes = ctl->fs_inodes; + /* Round up inode count to fill block size */ + if (fs_version == 2 || fs_version == 3) + inodes = ((inodes + MINIX2_INODES_PER_BLOCK - 1) & + ~(MINIX2_INODES_PER_BLOCK - 1)); + else + inodes = ((inodes + MINIX_INODES_PER_BLOCK - 1) & + ~(MINIX_INODES_PER_BLOCK - 1)); + + if (fs_version == 3) + Super3.s_ninodes = inodes; + else { + if (inodes > MINIX_MAX_INODES) + inodes = MINIX_MAX_INODES; + Super.s_ninodes = inodes; + } + super_set_map_blocks(ctl, inodes); + if (MINIX_MAX_INODES < first_zone_data()) + errx(MKFS_EX_ERROR, + _("First data block at %jd, which is too far (max %d).\n" + "Try specifying fewer inodes by passing --inodes "), + (intmax_t)first_zone_data(), + MINIX_MAX_INODES); + imaps = get_nimaps(); + zmaps = get_nzmaps(); + + inode_map = xmalloc(imaps * MINIX_BLOCK_SIZE); + zone_map = xmalloc(zmaps * MINIX_BLOCK_SIZE); + memset(inode_map,0xff,imaps * MINIX_BLOCK_SIZE); + memset(zone_map,0xff,zmaps * MINIX_BLOCK_SIZE); + + for (i = get_first_zone() ; idevice_fd, current_block * MINIX_BLOCK_SIZE, SEEK_SET) != + current_block * MINIX_BLOCK_SIZE ) + err(MKFS_EX_ERROR, _("%s: seek failed during testing of blocks"), + ctl->device_name); + + /* Try the read */ + got = read(ctl->device_fd, buffer, try * MINIX_BLOCK_SIZE); + if (got < 0) got = 0; + if (got & (MINIX_BLOCK_SIZE - 1 )) { + printf(_("Weird values in do_check: probably bugs\n")); + } + got /= MINIX_BLOCK_SIZE; + return got; +} + +static unsigned int currently_testing = 0; + +static void alarm_intr(int alnum __attribute__ ((__unused__))) { + unsigned long zones = get_nzones(); + + if (currently_testing >= zones) + return; + signal(SIGALRM,alarm_intr); + alarm(5); + if (!currently_testing) + return; + printf("%d ...", currently_testing); + fflush(stdout); +} + +static void check_blocks(struct fs_control *ctl) { + size_t try, got; + static char buffer[MINIX_BLOCK_SIZE * TEST_BUFFER_BLOCKS]; + unsigned long zones = get_nzones(); + unsigned long first_zone = get_first_zone(); + + currently_testing=0; + signal(SIGALRM,alarm_intr); + alarm(5); + while (currently_testing < zones) { + if (lseek(ctl->device_fd, currently_testing * MINIX_BLOCK_SIZE,SEEK_SET) != + currently_testing*MINIX_BLOCK_SIZE) + errx(MKFS_EX_ERROR, _("%s: seek failed in check_blocks"), + ctl->device_name); + try = TEST_BUFFER_BLOCKS; + if (currently_testing + try > zones) + try = zones-currently_testing; + got = do_check(ctl, buffer, try, currently_testing); + currently_testing += got; + if (got == try) + continue; + if (currently_testing < first_zone) + errx(MKFS_EX_ERROR, _("%s: bad blocks before data-area: " + "cannot make fs"), ctl->device_name); + mark_zone(currently_testing); + ctl->fs_bad_blocks++; + currently_testing++; + } + if (ctl->fs_bad_blocks > 0) + printf(P_("%d bad block\n", "%d bad blocks\n", ctl->fs_bad_blocks), ctl->fs_bad_blocks); +} + +static void get_list_blocks(struct fs_control *ctl, char *filename) { + FILE *listfile; + unsigned long blockno; + + listfile = fopen(filename,"r"); + if (listfile == NULL) + err(MKFS_EX_ERROR, _("%s: can't open file of bad blocks"), + ctl->device_name); + + while (!feof(listfile)) { + if (fscanf(listfile,"%lu\n", &blockno) != 1) { + printf(_("badblock number input error on line %d\n"), ctl->fs_bad_blocks + 1); + errx(MKFS_EX_ERROR, _("%s: cannot read badblocks file"), + ctl->device_name); + } + mark_zone(blockno); + ctl->fs_bad_blocks++; + } + fclose(listfile); + + if (ctl->fs_bad_blocks > 0) + printf(P_("%d bad block\n", "%d bad blocks\n", ctl->fs_bad_blocks), ctl->fs_bad_blocks); +} + +static int find_super_magic(const struct fs_control *ctl) +{ + switch (fs_version) { + case 1: + if (ctl->fs_namelen == 14) + return MINIX_SUPER_MAGIC; + return MINIX_SUPER_MAGIC2; + case 2: + if (ctl->fs_namelen == 14) + return MINIX2_SUPER_MAGIC; + return MINIX2_SUPER_MAGIC2; + case 3: + return MINIX3_SUPER_MAGIC; + default: + abort(); + } +} + +static void determine_device_blocks(struct fs_control *ctl, const struct stat *statbuf) +{ + unsigned long long dev_blocks; + + if (S_ISBLK(statbuf->st_mode)) { + int sectorsize; + + if (blkdev_get_sector_size(ctl->device_fd, §orsize) == -1) + sectorsize = DEFAULT_SECTOR_SIZE; /* kernel < 2.3.3 */ + if (MINIX_BLOCK_SIZE < sectorsize) + errx(MKFS_EX_ERROR, _("block size smaller than physical " + "sector size of %s"), ctl->device_name); + if (blkdev_get_size(ctl->device_fd, &dev_blocks) == -1) + errx(MKFS_EX_ERROR, _("cannot determine size of %s"), ctl->device_name); + dev_blocks /= MINIX_BLOCK_SIZE; + } else if (!S_ISBLK(statbuf->st_mode)) + dev_blocks = statbuf->st_size / MINIX_BLOCK_SIZE; + if (!ctl->fs_blocks) + ctl->fs_blocks = dev_blocks; + else if (dev_blocks < ctl->fs_blocks) + errx(MKFS_EX_ERROR, + _("%s: requested blocks (%llu) exceeds available (%llu) blocks\n"), + ctl->device_name, ctl->fs_blocks, dev_blocks); + if (ctl->fs_blocks < 10) + errx(MKFS_EX_ERROR, _("%s: number of blocks too small"), ctl->device_name); + if (fs_version == 1 && ctl->fs_blocks > MINIX_MAX_INODES) + ctl->fs_blocks = MINIX_MAX_INODES; + if (ctl->fs_blocks > (4 + ((MINIX_MAX_INODES - 4) * BITS_PER_BLOCK))) + ctl->fs_blocks = 4 + ((MINIX_MAX_INODES - 4) * BITS_PER_BLOCK); /* Utter maximum: Clip. */ +} + +static void check_user_instructions(struct fs_control *ctl) +{ + switch (fs_version) { + case 1: + case 2: + if (ctl->fs_namelen == 14 || ctl->fs_namelen == 30) + ctl->fs_dirsize = ctl->fs_namelen + 2; + else + errx(MKFS_EX_ERROR, _("unsupported name length: %d"), ctl->fs_namelen); + break; + case 3: + if (ctl->fs_namelen == 60) + ctl->fs_dirsize = ctl->fs_namelen + 4; + else + errx(MKFS_EX_ERROR, _("unsupported name length: %d"), ctl->fs_namelen); + break; + default: + errx(MKFS_EX_ERROR, _("unsupported minix file system version: %d"), fs_version); + } + ctl->fs_magic = find_super_magic(ctl); +} + +int main(int argc, char ** argv) +{ + struct fs_control ctl = { + .fs_namelen = 30, /* keep in sync with DEFAULT_FS_VERSION */ + 0 + }; + int i; + struct stat statbuf; + char * listfile = NULL; + static const struct option longopts[] = { + {"namelength", required_argument, NULL, 'n'}, + {"inodes", required_argument, NULL, 'i'}, + {"check", no_argument, NULL, 'c'}, + {"badblocks", required_argument, NULL, 'l'}, + {"version", no_argument, NULL, 'V'}, + {"help", no_argument, NULL, 'h'}, + {NULL, 0, NULL, 0} + }; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + strutils_set_exitcode(MKFS_EX_USAGE); + + while ((i = getopt_long(argc, argv, "1v23n:i:cl:Vh", longopts, NULL)) != -1) + switch (i) { + case '1': + fs_version = 1; + break; + case 'v': /* kept for backwards compatibility */ + warnx(_("-v is ambiguous, use '-2' instead")); + /* fallthrough */ + case '2': + fs_version = 2; + break; + case '3': + fs_version = 3; + ctl.fs_namelen = 60; + break; + case 'n': + ctl.fs_namelen = strtou16_or_err(optarg, + _("failed to parse maximum length of filenames")); + break; + case 'i': + ctl.fs_inodes = strtoul_or_err(optarg, + _("failed to parse number of inodes")); + break; + case 'c': + ctl.check_blocks = 1; + break; + case 'l': + listfile = optarg; + break; + case 'V': + printf(UTIL_LINUX_VERSION); + return MKFS_EX_OK; + case 'h': + usage(); + default: + errtryhelp(MKFS_EX_USAGE); + } + argc -= optind; + argv += optind; + if (argc > 0) { + ctl.device_name = argv[0]; + argc--; + argv++; + } + if (argc > 0) + ctl.fs_blocks = strtoul_or_err(argv[0], _("failed to parse number of blocks")); + + if (!ctl.device_name) { + warnx(_("no device specified")); + errtryhelp(MKFS_EX_USAGE); + } + check_user_instructions(&ctl); + if (is_mounted(ctl.device_name)) + errx(MKFS_EX_ERROR, _("%s is mounted; will not make a filesystem here!"), + ctl.device_name); + if (stat(ctl.device_name, &statbuf) < 0) + err(MKFS_EX_ERROR, _("stat of %s failed"), ctl.device_name); + ctl.device_fd = open_blkdev_or_file(&statbuf, ctl.device_name, O_RDWR); + if (ctl.device_fd < 0) + err(MKFS_EX_ERROR, _("cannot open %s"), ctl.device_name); + determine_device_blocks(&ctl, &statbuf); + setup_tables(&ctl); + if (ctl.check_blocks) + check_blocks(&ctl); + else if (listfile) + get_list_blocks(&ctl, listfile); + + make_root_inode(&ctl); + make_bad_inode(&ctl); + + mark_good_blocks(&ctl); + write_tables(&ctl); + if (close_fd(ctl.device_fd) != 0) + err(MKFS_EX_ERROR, _("write failed")); + + return MKFS_EX_OK; +} diff --git a/disk-utils/mkswap.8 b/disk-utils/mkswap.8 new file mode 100644 index 0000000..27f9221 --- /dev/null +++ b/disk-utils/mkswap.8 @@ -0,0 +1,156 @@ +.\" Copyright 1998 Andries E. Brouwer (aeb@cwi.nl) +.\" +.\" May be distributed under the GNU General Public License +.\" +.TH MKSWAP 8 "March 2009" "util-linux" "System Administration" +.SH NAME +mkswap \- set up a Linux swap area +.SH SYNOPSIS +.B mkswap +[options] +.I device +.RI [ size ] +.SH DESCRIPTION +.B mkswap +sets up a Linux swap area on a device or in a file. + +The +.I device +argument will usually be a disk partition (something like +.IR /dev/sdb7 ) +but can also be a file. +The Linux kernel does not look at partition IDs, but +many installation scripts will assume that partitions +of hex type 82 (LINUX_SWAP) are meant to be swap partitions. +(\fBWarning: Solaris also uses this type. Be careful not to kill +your Solaris partitions.\fP) + +The +.I size +parameter is superfluous but retained for backwards compatibility. +(It specifies the desired size of the swap area in 1024-byte blocks. +.B mkswap +will use the entire partition or file if it is omitted. +Specifying it is unwise \(en a typo may destroy your disk.) + +After creating the swap area, you need the +.B swapon +command to start using it. Usually swap areas are listed in +.I /etc/fstab +so that they can be taken into use at boot time by a +.B swapon \-a +command in some boot script. + +.SH WARNING +The swap header does not touch the first block. A boot loader or disk label +can be there, but it is not a recommended setup. The recommended setup is to +use a separate partition for a Linux swap area. + +.BR mkswap , +like many others mkfs-like utils, +.B erases the first partition block to make any previous filesystem invisible. + +However, +.B mkswap +refuses to erase the first block on a device with a disk +label (SUN, BSD, \&...\&). + +.SH OPTIONS +.TP +.BR \-c , " \-\-check" +Check the device (if it is a block device) for bad blocks +before creating the swap area. +If any bad blocks are found, the count is printed. +.TP +.BR \-f , " \-\-force" +Go ahead even if the command is stupid. +This allows the creation of a swap area larger than the file +or partition it resides on. + +Also, without this option, +.B mkswap +will refuse to erase the first block on a device with a partition table. +.TP +.BR \-L , " \-\-label " \fIlabel\fR +Specify a \fIlabel\fR for the device, to allow +.B swapon +by label. +.TP +.BR \-p , " \-\-pagesize " \fIsize\fR +Specify the page \fIsize\fR (in bytes) to use. This option is usually unnecessary; +.B mkswap +reads the size from the kernel. +.TP +.BR \-U , " \-\-uuid " \fIUUID\fR +Specify the \fIUUID\fR to use. The default is to generate a UUID. +.TP +.BR \-v , " \-\-swapversion 1" +Specify the swap-space version. (This option is currently pointless, as the old +.B \-v 0 +option has become obsolete and now only +.B \-v 1 +is supported. +The kernel has not supported v0 swap-space format since 2.5.22 (June 2002). +The new version v1 is supported since 2.1.117 (August 1998).) +.TP +.BR \-h , " \-\-help" +Display help text and exit. +.TP +.BR \-V , " \-\-version" +Display version information and exit. + +.SH NOTES +The maximum useful size of a swap area depends on the architecture and +the kernel version. + +The maximum number of the pages that is possible to address by swap area header +is 4294967295 (UINT_MAX). The remaining space on the swap device is ignored. + +Presently, Linux allows 32 swap areas. +The areas in use can be seen in the file +.I /proc/swaps + +.B mkswap +refuses areas smaller than 10 pages. + +If you don't know the page size that your machine uses, you may be +able to look it up with "cat /proc/cpuinfo" (or you may not \(en +the contents of this file depend on architecture and kernel version). + +To set up a swap file, it is necessary to create that file before +initializing it with +.BR mkswap , +e.g.\& using a command like + +.nf +.RS +# dd if=/dev/zero of=swapfile bs=1MiB count=$((8*1024)) +.RE +.fi + +to create 8GiB swapfile. + +Note that a swap file must not contain any holes. Using +.BR cp (1) +to create the file is not acceptable. Neither is use of +.BR fallocate (1) +on file systems that support preallocated files, such as +.BR XFS " or " ext4 , +or on copy-on-write filesystems like +.BR btrfs . +It is recommended to use +.BR dd (1) +and /dev/zero in these cases. Please read notes from +.BR swapon (8) +before adding a swap file to copy-on-write filesystems. + +.SH ENVIRONMENT +.IP LIBBLKID_DEBUG=all +enables libblkid debug output. + +.SH "SEE ALSO" +.BR fdisk (8), +.BR swapon (8) +.SH AVAILABILITY +The mkswap command is part of the util-linux package and is available from +https://www.kernel.org/pub/linux/utils/util-linux/. diff --git a/disk-utils/mkswap.c b/disk-utils/mkswap.c new file mode 100644 index 0000000..28a139d --- /dev/null +++ b/disk-utils/mkswap.c @@ -0,0 +1,544 @@ +/* + * mkswap.c - set up a linux swap device + * + * Copyright (C) 1991 Linus Torvalds + * 20.12.91 - time began. Got VM working yesterday by doing this by hand. + * + * Copyright (C) 1999 Jakub Jelinek + * Copyright (C) 2007-2014 Karel Zak + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef HAVE_LIBSELINUX +#include +#include +#endif + +#include "linux_version.h" +#include "swapheader.h" +#include "strutils.h" +#include "nls.h" +#include "blkdev.h" +#include "pathnames.h" +#include "all-io.h" +#include "xalloc.h" +#include "c.h" +#include "closestream.h" +#include "ismounted.h" + +#ifdef HAVE_LIBUUID +# include +#endif + +#ifdef HAVE_LIBBLKID +# include +#endif + +#define MIN_GOODPAGES 10 + +#define SELINUX_SWAPFILE_TYPE "swapfile_t" + +struct mkswap_control { + struct swap_header_v1_2 *hdr; /* swap header */ + void *signature_page;/* buffer with swap header */ + + char *devname; /* device or file name */ + struct stat devstat; /* stat() result */ + int fd; /* swap file descriptor */ + + unsigned long long npages; /* number of pages */ + unsigned long nbadpages; /* number of bad pages */ + + int user_pagesize; /* --pagesize */ + int pagesize; /* final pagesize used for the header */ + + char *opt_label; /* LABEL as specified on command line */ + unsigned char *uuid; /* UUID parsed by libbuuid */ + + unsigned int check:1, /* --check */ + force:1; /* --force */ +}; + +static void init_signature_page(struct mkswap_control *ctl) +{ + const int kernel_pagesize = getpagesize(); + + if (ctl->user_pagesize) { + if (ctl->user_pagesize < 0 || !is_power_of_2(ctl->user_pagesize) || + (size_t) ctl->user_pagesize < sizeof(struct swap_header_v1_2) + 10) + errx(EXIT_FAILURE, + _("Bad user-specified page size %u"), + ctl->user_pagesize); + if (ctl->user_pagesize != kernel_pagesize) + warnx(_("Using user-specified page size %d, " + "instead of the system value %d"), + ctl->user_pagesize, kernel_pagesize); + ctl->pagesize = ctl->user_pagesize; + } else + ctl->pagesize = kernel_pagesize; + + ctl->signature_page = xcalloc(1, ctl->pagesize); + ctl->hdr = (struct swap_header_v1_2 *) ctl->signature_page; +} + +static void deinit_signature_page(struct mkswap_control *ctl) +{ + free(ctl->signature_page); + + ctl->hdr = NULL; + ctl->signature_page = NULL; +} + +static void set_signature(const struct mkswap_control *ctl) +{ + char *sp = (char *) ctl->signature_page; + + assert(sp); + memcpy(sp + ctl->pagesize - SWAP_SIGNATURE_SZ, SWAP_SIGNATURE, SWAP_SIGNATURE_SZ); +} + +static void set_uuid_and_label(const struct mkswap_control *ctl) +{ + assert(ctl); + assert(ctl->hdr); + + /* set UUID */ + if (ctl->uuid) + memcpy(ctl->hdr->uuid, ctl->uuid, sizeof(ctl->hdr->uuid)); + + /* set LABEL */ + if (ctl->opt_label) { + xstrncpy(ctl->hdr->volume_name, + ctl->opt_label, sizeof(ctl->hdr->volume_name)); + if (strlen(ctl->opt_label) > strlen(ctl->hdr->volume_name)) + warnx(_("Label was truncated.")); + } + + /* report results */ + if (ctl->uuid || ctl->opt_label) { + if (ctl->opt_label) + printf("LABEL=%s, ", ctl->hdr->volume_name); + else + printf(_("no label, ")); +#ifdef HAVE_LIBUUID + if (ctl->uuid) { + char uuid_string[UUID_STR_LEN]; + uuid_unparse(ctl->uuid, uuid_string); + printf("UUID=%s\n", uuid_string); + } else +#endif + printf(_("no uuid\n")); + } +} + +static void __attribute__((__noreturn__)) usage(void) +{ + FILE *out = stdout; + fprintf(out, + _("\nUsage:\n" + " %s [options] device [size]\n"), + program_invocation_short_name); + + fputs(USAGE_SEPARATOR, out); + fputs(_("Set up a Linux swap area.\n"), out); + + fprintf(out, _( + "\nOptions:\n" + " -c, --check check bad blocks before creating the swap area\n" + " -f, --force allow swap size area be larger than device\n" + " -p, --pagesize SIZE specify page size in bytes\n" + " -L, --label LABEL specify label\n" + " -v, --swapversion NUM specify swap-space version number\n" + " -U, --uuid UUID specify the uuid to use\n" + )); + printf(USAGE_HELP_OPTIONS(27)); + + printf(USAGE_MAN_TAIL("mkswap(8)")); + exit(EXIT_SUCCESS); +} + +static void page_bad(struct mkswap_control *ctl, unsigned int page) +{ + const unsigned long max_badpages = + (ctl->pagesize - 1024 - 128 * sizeof(int) - 10) / sizeof(int); + + if (ctl->nbadpages == max_badpages) + errx(EXIT_FAILURE, _("too many bad pages: %lu"), max_badpages); + + ctl->hdr->badpages[ctl->nbadpages] = page; + ctl->nbadpages++; +} + +static void check_blocks(struct mkswap_control *ctl) +{ + unsigned int current_page = 0; + int do_seek = 1; + char *buffer; + + assert(ctl); + assert(ctl->fd > -1); + + buffer = xmalloc(ctl->pagesize); + while (current_page < ctl->npages) { + ssize_t rc; + + if (do_seek && lseek(ctl->fd, current_page * ctl->pagesize, SEEK_SET) != + current_page * ctl->pagesize) + errx(EXIT_FAILURE, _("seek failed in check_blocks")); + + rc = read(ctl->fd, buffer, ctl->pagesize); + do_seek = (rc < 0 || rc != ctl->pagesize); + if (do_seek) + page_bad(ctl, current_page); + current_page++; + } + printf(P_("%lu bad page\n", "%lu bad pages\n", ctl->nbadpages), ctl->nbadpages); + free(buffer); +} + +/* return size in pages */ +static unsigned long long get_size(const struct mkswap_control *ctl) +{ + int fd; + unsigned long long size; + + fd = open(ctl->devname, O_RDONLY); + if (fd < 0) + err(EXIT_FAILURE, _("cannot open %s"), ctl->devname); + if (blkdev_get_size(fd, &size) == 0) + size /= ctl->pagesize; + + close(fd); + return size; +} + +#ifdef HAVE_LIBBLKID +static blkid_probe new_prober(const struct mkswap_control *ctl) +{ + blkid_probe pr = blkid_new_probe(); + if (!pr) + errx(EXIT_FAILURE, _("unable to alloc new libblkid probe")); + if (blkid_probe_set_device(pr, ctl->fd, 0, 0)) + errx(EXIT_FAILURE, _("unable to assign device to libblkid probe")); + return pr; +} +#endif + +static void open_device(struct mkswap_control *ctl) +{ + assert(ctl); + assert(ctl->devname); + + if (stat(ctl->devname, &ctl->devstat) < 0) + err(EXIT_FAILURE, _("stat of %s failed"), ctl->devname); + ctl->fd = open_blkdev_or_file(&ctl->devstat, ctl->devname, O_RDWR); + if (ctl->fd < 0) + err(EXIT_FAILURE, _("cannot open %s"), ctl->devname); + if (ctl->check && S_ISREG(ctl->devstat.st_mode)) { + ctl->check = 0; + warnx(_("warning: checking bad blocks from swap file is not supported: %s"), + ctl->devname); + } +} + +static void wipe_device(struct mkswap_control *ctl) +{ + char *type = NULL; + int zap = 1; +#ifdef HAVE_LIBBLKID + blkid_probe pr = NULL; +#endif + if (!ctl->force) { + const char *v = NULL; + + if (lseek(ctl->fd, 0, SEEK_SET) != 0) + errx(EXIT_FAILURE, _("unable to rewind swap-device")); + +#ifdef HAVE_LIBBLKID + pr = new_prober(ctl); + blkid_probe_enable_partitions(pr, 1); + blkid_probe_enable_superblocks(pr, 0); + + if (blkid_do_fullprobe(pr) == 0 && + blkid_probe_lookup_value(pr, "PTTYPE", &v, NULL) == 0 && v) { + type = xstrdup(v); + zap = 0; + } +#else + /* don't zap if compiled without libblkid */ + zap = 0; +#endif + } + + if (zap) { + /* + * Wipe bootbits + */ + char buf[1024] = { '\0' }; + + if (lseek(ctl->fd, 0, SEEK_SET) != 0) + errx(EXIT_FAILURE, _("unable to rewind swap-device")); + + if (write_all(ctl->fd, buf, sizeof(buf))) + errx(EXIT_FAILURE, _("unable to erase bootbits sectors")); +#ifdef HAVE_LIBBLKID + /* + * Wipe rest of the device + */ + if (!pr) + pr = new_prober(ctl); + + blkid_probe_enable_superblocks(pr, 1); + blkid_probe_enable_partitions(pr, 0); + blkid_probe_set_superblocks_flags(pr, BLKID_SUBLKS_MAGIC|BLKID_SUBLKS_TYPE); + + while (blkid_do_probe(pr) == 0) { + const char *data = NULL; + + if (blkid_probe_lookup_value(pr, "TYPE", &data, NULL) == 0 && data) + warnx(_("%s: warning: wiping old %s signature."), ctl->devname, data); + blkid_do_wipe(pr, 0); + } +#endif + } else { + warnx(_("%s: warning: don't erase bootbits sectors"), + ctl->devname); + if (type) + fprintf(stderr, _(" (%s partition table detected). "), type); + else + fprintf(stderr, _(" (compiled without libblkid). ")); + fprintf(stderr, _("Use -f to force.\n")); + } + free(type); +#ifdef HAVE_LIBBLKID + blkid_free_probe(pr); +#endif +} + +#define SIGNATURE_OFFSET 1024 + +static void write_header_to_device(struct mkswap_control *ctl) +{ + assert(ctl); + assert(ctl->fd > -1); + assert(ctl->signature_page); + + if (lseek(ctl->fd, SIGNATURE_OFFSET, SEEK_SET) != SIGNATURE_OFFSET) + errx(EXIT_FAILURE, _("unable to rewind swap-device")); + + if (write_all(ctl->fd, (char *) ctl->signature_page + SIGNATURE_OFFSET, + ctl->pagesize - SIGNATURE_OFFSET) == -1) + err(EXIT_FAILURE, + _("%s: unable to write signature page"), + ctl->devname); +} + +int main(int argc, char **argv) +{ + struct mkswap_control ctl = { .fd = -1 }; + int c, permMask; + uint64_t sz; + int version = SWAP_VERSION; + char *block_count = NULL, *strsz = NULL; +#ifdef HAVE_LIBUUID + const char *opt_uuid = NULL; + uuid_t uuid_dat; +#endif + static const struct option longopts[] = { + { "check", no_argument, NULL, 'c' }, + { "force", no_argument, NULL, 'f' }, + { "pagesize", required_argument, NULL, 'p' }, + { "label", required_argument, NULL, 'L' }, + { "swapversion", required_argument, NULL, 'v' }, + { "uuid", required_argument, NULL, 'U' }, + { "version", no_argument, NULL, 'V' }, + { "help", no_argument, NULL, 'h' }, + { NULL, 0, NULL, 0 } + }; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + while((c = getopt_long(argc, argv, "cfp:L:v:U:Vh", longopts, NULL)) != -1) { + switch (c) { + case 'c': + ctl.check = 1; + break; + case 'f': + ctl.force = 1; + break; + case 'p': + ctl.user_pagesize = strtou32_or_err(optarg, _("parsing page size failed")); + break; + case 'L': + ctl.opt_label = optarg; + break; + case 'v': + version = strtos32_or_err(optarg, _("parsing version number failed")); + if (version != SWAP_VERSION) + errx(EXIT_FAILURE, + _("swapspace version %d is not supported"), version); + break; + case 'U': +#ifdef HAVE_LIBUUID + opt_uuid = optarg; +#else + warnx(_("warning: ignoring -U (UUIDs are unsupported by %s)"), + program_invocation_short_name); +#endif + break; + case 'V': + printf(UTIL_LINUX_VERSION); + exit(EXIT_SUCCESS); + case 'h': + usage(); + default: + errtryhelp(EXIT_FAILURE); + } + } + + if (optind < argc) + ctl.devname = argv[optind++]; + if (optind < argc) + block_count = argv[optind++]; + if (optind != argc) { + warnx(_("only one device argument is currently supported")); + errtryhelp(EXIT_FAILURE); + } + +#ifdef HAVE_LIBUUID + if(opt_uuid) { + if (uuid_parse(opt_uuid, uuid_dat) != 0) + errx(EXIT_FAILURE, _("error: parsing UUID failed")); + } else + uuid_generate(uuid_dat); + ctl.uuid = uuid_dat; +#endif + + init_signature_page(&ctl); /* get pagesize and allocate signature page */ + + if (!ctl.devname) { + warnx(_("error: Nowhere to set up swap on?")); + errtryhelp(EXIT_FAILURE); + } + if (block_count) { + /* this silly user specified the number of blocks explicitly */ + uint64_t blks = strtou64_or_err(block_count, + _("invalid block count argument")); + ctl.npages = blks / (ctl.pagesize / 1024); + } + + sz = get_size(&ctl); + if (!ctl.npages) + ctl.npages = sz; + else if (ctl.npages > sz && !ctl.force) + errx(EXIT_FAILURE, + _("error: " + "size %llu KiB is larger than device size %"PRIu64" KiB"), + ctl.npages * (ctl.pagesize / 1024), sz * (ctl.pagesize / 1024)); + + if (ctl.npages < MIN_GOODPAGES) + errx(EXIT_FAILURE, + _("error: swap area needs to be at least %ld KiB"), + (long)(MIN_GOODPAGES * ctl.pagesize / 1024)); + if (ctl.npages > UINT32_MAX) { + /* true when swap is bigger than 17.59 terabytes */ + ctl.npages = UINT32_MAX; + warnx(_("warning: truncating swap area to %llu KiB"), + ctl.npages * ctl.pagesize / 1024); + } + + if (is_mounted(ctl.devname)) + errx(EXIT_FAILURE, _("error: " + "%s is mounted; will not make swapspace"), + ctl.devname); + + open_device(&ctl); + permMask = S_ISBLK(ctl.devstat.st_mode) ? 07007 : 07077; + if ((ctl.devstat.st_mode & permMask) != 0) + warnx(_("%s: insecure permissions %04o, %04o suggested."), + ctl.devname, ctl.devstat.st_mode & 07777, + ~permMask & 0666); + if (getuid() == 0 && S_ISREG(ctl.devstat.st_mode) && ctl.devstat.st_uid != 0) + warnx(_("%s: insecure file owner %d, 0 (root) suggested."), + ctl.devname, ctl.devstat.st_uid); + + + if (ctl.check) + check_blocks(&ctl); + + wipe_device(&ctl); + + assert(ctl.hdr); + ctl.hdr->version = version; + ctl.hdr->last_page = ctl.npages - 1; + ctl.hdr->nr_badpages = ctl.nbadpages; + + if ((ctl.npages - MIN_GOODPAGES) < ctl.nbadpages) + errx(EXIT_FAILURE, _("Unable to set up swap-space: unreadable")); + + sz = (ctl.npages - ctl.nbadpages - 1) * ctl.pagesize; + strsz = size_to_human_string(SIZE_SUFFIX_SPACE | SIZE_SUFFIX_3LETTER, sz); + + printf(_("Setting up swapspace version %d, size = %s (%"PRIu64" bytes)\n"), + version, strsz, sz); + free(strsz); + + set_signature(&ctl); + set_uuid_and_label(&ctl); + + write_header_to_device(&ctl); + + deinit_signature_page(&ctl); + +#ifdef HAVE_LIBSELINUX + if (S_ISREG(ctl.devstat.st_mode) && is_selinux_enabled() > 0) { + security_context_t context_string; + security_context_t oldcontext; + context_t newcontext; + + if (fgetfilecon(ctl.fd, &oldcontext) < 0) { + if (errno != ENODATA) + err(EXIT_FAILURE, + _("%s: unable to obtain selinux file label"), + ctl.devname); + if (matchpathcon(ctl.devname, ctl.devstat.st_mode, &oldcontext)) + errx(EXIT_FAILURE, _("unable to matchpathcon()")); + } + if (!(newcontext = context_new(oldcontext))) + errx(EXIT_FAILURE, _("unable to create new selinux context")); + if (context_type_set(newcontext, SELINUX_SWAPFILE_TYPE)) + errx(EXIT_FAILURE, _("couldn't compute selinux context")); + + context_string = context_str(newcontext); + + if (strcmp(context_string, oldcontext)!=0) { + if (fsetfilecon(ctl.fd, context_string) && errno != ENOTSUP) + err(EXIT_FAILURE, _("unable to relabel %s to %s"), + ctl.devname, context_string); + } + context_free(newcontext); + freecon(oldcontext); + } +#endif + /* + * A subsequent swapon() will fail if the signature + * is not actually on disk. (This is a kernel bug.) + * The fsync() in close_fd() will take care of writing. + */ + if (close_fd(ctl.fd) != 0) + err(EXIT_FAILURE, _("write failed")); + return EXIT_SUCCESS; +} diff --git a/disk-utils/partx.8 b/disk-utils/partx.8 new file mode 100644 index 0000000..223f209 --- /dev/null +++ b/disk-utils/partx.8 @@ -0,0 +1,195 @@ +.\" partx.8 -- man page for partx +.\" Copyright 2007 Karel Zak +.\" Copyright 2007 Red Hat, Inc. +.\" Copyright 2010 Davidlohr Bueso +.\" May be distributed under the GNU General Public License +.\" +.TH PARTX "8" "December 2014" "util-linux" "System Administration" +.SH NAME +partx \- tell the kernel about the presence and numbering of on-disk partitions +.SH SYNOPSIS +.B partx +.RB [ \-a | \-d | \-P | \-r | \-s | \-u ] +.RB [ \-t " \fItype\fR]" +.RB [ \-n " \fIM" : \fIN\fR] +.RB [ \- "] " \fIdisk +.br +.B partx +.RB [ \-a | \-d | \-P | \-r | \-s | \-u ] +.RB [ \-t " \fItype\fR]" +.IR partition " [" disk ] +.SH DESCRIPTION +Given a device or disk-image, +.B partx +tries to parse the partition table and list its contents. It +can also tell the kernel to add or remove partitions from its +bookkeeping. +.PP +The +.I disk +argument is optional when a +.I partition +argument is provided. To force scanning a partition as if it were a whole disk +(for example to list nested subpartitions), use the argument "\-" (hyphen-minus). +For example: + +.RS 7 +.TP +partx \-\-show \- /dev/sda3 +.RE +.PP +This will see sda3 as a whole-disk rather than as a partition. +.PP +.B partx is not an fdisk program +\(en adding and removing partitions does not change the disk, it just +tells the kernel about the presence and numbering of on-disk +partitions. +.SH OPTIONS +.TP +.BR \-a , " \-\-add" +Add the specified partitions, or read the disk and add all partitions. +.TP +.BR \-b , " \-\-bytes" +Print the SIZE column in bytes rather than in human-readable format. +.TP +.BR \-d , " \-\-delete" +Delete the specified partitions or all partitions. +.TP +.BR \-g , " \-\-noheadings" +Do not print a header line with \fB\-\-show\fR or \fB\-\-raw\fR. +.TP +.BR \-l , " \-\-list" +List the partitions. Note that all numbers are in 512-byte sectors. +This output format is DEPRECATED in favour of +.BR \-\-show . +Do not use it in newly written scripts. +.TP +.BR \-n , " \-\-nr " \fIM : \fIN +Specify the range of partitions. For backward compatibility also the +format \fIM\fB\-\fIN\fR is supported. +The range may contain negative numbers, for example +.B \-\-nr \-1:\-1 +means the last partition, and +.B \-\-nr \-2:\-1 +means the last two partitions. Supported range specifications are: +.RS 14 +.TP +.I M +Specifies just one partition (e.g.\& \fB\-\-nr 3\fR). +.TP +.IB M : +Specifies the lower limit only (e.g.\& \fB\-\-nr 2:\fR). +.TP +.BI : N +Specifies the upper limit only (e.g.\& \fB\-\-nr :4\fR). +.TP +.IB M : N +Specifies the lower and upper limits (e.g.\& \fB\-\-nr 2:4\fR). +.RE +.TP +.BR \-o , " \-\-output " \fIlist +Define the output columns to use for +.BR \-\-show , +.B \-\-pairs +and +.B \-\-raw +output. If no output arrangement is specified, then a default set is +used. Use +.B \-\-help +to get +.I list +of all supported columns. This option cannot be combined with the +.BR \-\-add , +.BR \-\-delete , +.B \-\-update +or +.B \-\-list +options. +.TP +.B \-\-output\-all +Output all available columns. +.TP +.BR \-P , " \-\-pairs" +List the partitions using the KEY="value" format. +.TP +.BR \-r , " \-\-raw" +List the partitions using the raw output format. +.TP +.BR \-s , " \-\-show" +List the partitions. +The output columns can be selected and rearranged with the +\fB\-\-output\fR option. +All numbers (except SIZE) are in 512-byte sectors. +.TP +.BR \-t , " \-\-type " \fItype +Specify the partition table type. +.TP +.B \-\-list\-types +List supported partition types and exit. +.TP +.BR \-u , " \-\-update" +Update the specified partitions. +.TP +.BR \-S , " \-\-sector\-size " \fIsize +Overwrite default sector size. +.TP +.BR \-v , " \-\-verbose" +Verbose mode. +.TP +.BR \-V , " \-\-version" +Display version information and exit. +.TP +.BR \-h , " \-\-help" +Display help text and exit. +.SH EXAMPLES +.TP +partx \-\-show /dev/sdb3 +.TQ +partx \-\-show \-\-nr 3 /dev/sdb +.TQ +partx \-\-show /dev/sdb3 /dev/sdb +All three commands list partition 3 of /dev/sdb. +.TP +partx \-\-show \- /dev/sdb3 +Lists all subpartitions on /dev/sdb3 (the device is used as +whole-disk). +.TP +partx \-o START \-g \-\-nr 5 /dev/sdb +Prints the start sector of partition 5 on /dev/sdb without header. +.TP +partx \-o SECTORS,SIZE /dev/sda5 /dev/sda +Lists the length in sectors and human-readable size of partition 5 on +/dev/sda. +.TP +partx \-\-add \-\-nr 3:5 /dev/sdd +Adds all available partitions from 3 to 5 (inclusive) on /dev/sdd. +.TP +partx \-d \-\-nr :\-1 /dev/sdd +Removes the last partition on /dev/sdd. +.SH SEE ALSO +.BR addpart (8), +.BR delpart (8), +.BR fdisk (8), +.BR parted (8), +.BR partprobe (8) +.SH AUTHORS +.MT dave@gnu.org +Davidlohr Bueso +.ME +.br +.MT kzak@redhat.com +Karel Zak +.ME +.PP +The original version was written by +.MT aeb@cwi.nl +Andries E.\& Brouwer +.ME . +.SH ENVIRONMENT +.IP LIBBLKID_DEBUG=all +enables libblkid debug output. +.SH AVAILABILITY +The partx command is part of the util-linux package and is available from +.UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/ +Linux Kernel Archive +.UE . diff --git a/disk-utils/partx.c b/disk-utils/partx.c new file mode 100644 index 0000000..e10efa9 --- /dev/null +++ b/disk-utils/partx.c @@ -0,0 +1,1071 @@ +/* + * partx: tell the kernel about your disk's partitions + * [This is not an fdisk - adding and removing partitions + * is not a change of the disk, but just telling the kernel + * about presence and numbering of on-disk partitions.] + * + * aeb, 2000-03-21 -- sah is 42 now + * + * Copyright (C) 2010 Davidlohr Bueso + * Rewritten to use libblkid for util-linux + * based on ideas from Karel Zak + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include "c.h" +#include "pathnames.h" +#include "nls.h" +#include "blkdev.h" +#include "strutils.h" +#include "xalloc.h" +#include "partx.h" +#include "sysfs.h" +#include "loopdev.h" +#include "closestream.h" +#include "optutils.h" + +/* this is the default upper limit, could be modified by --nr */ +#define SLICES_MAX 256 + +/* basic table settings */ +enum { + PARTX_RAW = (1 << 0), + PARTX_NOHEADINGS = (1 << 1), + PARTX_EXPORT = (1 << 2), +}; + +/* all the columns (-o option) */ +enum { + COL_PARTNO, + COL_START, + COL_END, + COL_SECTORS, + COL_SIZE, + COL_NAME, + COL_UUID, + COL_TYPE, + COL_FLAGS, + COL_SCHEME, +}; + +#define ACT_ERROR "--{add,delete,show,list,raw,pairs}" +enum { + ACT_NONE, + ACT_LIST, + ACT_SHOW, + ACT_ADD, + ACT_UPD, + ACT_DELETE +}; + +enum { + FL_BYTES = (1 << 1) +}; + +/* column names */ +struct colinfo { + const char *name; /* header */ + double whint; /* width hint (N < 1 is in percent of termwidth) */ + int flags; /* SCOLS_FL_* */ + const char *help; +}; + +/* columns descriptions */ +static struct colinfo infos[] = { + [COL_PARTNO] = { "NR", 0.25, SCOLS_FL_RIGHT, N_("partition number") }, + [COL_START] = { "START", 0.30, SCOLS_FL_RIGHT, N_("start of the partition in sectors") }, + [COL_END] = { "END", 0.30, SCOLS_FL_RIGHT, N_("end of the partition in sectors") }, + [COL_SECTORS] = { "SECTORS", 0.30, SCOLS_FL_RIGHT, N_("number of sectors") }, + [COL_SIZE] = { "SIZE", 0.30, SCOLS_FL_RIGHT, N_("human readable size") }, + [COL_NAME] = { "NAME", 0.30, SCOLS_FL_TRUNC, N_("partition name") }, + [COL_UUID] = { "UUID", 36, 0, N_("partition UUID")}, + [COL_SCHEME] = { "SCHEME", 0.1, SCOLS_FL_TRUNC, N_("partition table type (dos, gpt, ...)")}, + [COL_FLAGS] = { "FLAGS", 0.1, SCOLS_FL_TRUNC, N_("partition flags")}, + [COL_TYPE] = { "TYPE", 1, SCOLS_FL_RIGHT, N_("partition type (a string, a UUID, or hex)")}, +}; + +#define NCOLS ARRAY_SIZE(infos) + +/* array with IDs of enabled columns */ +static int columns[NCOLS]; +static size_t ncolumns; + +static int verbose; +static int partx_flags; +static struct loopdev_cxt lc; +static int loopdev; + +static void assoc_loopdev(const char *fname) +{ + int rc; + + if (loopcxt_init(&lc, 0)) + err(EXIT_FAILURE, _("failed to initialize loopcxt")); + + rc = loopcxt_find_unused(&lc); + if (rc) + err(EXIT_FAILURE, _("%s: failed to find unused loop device"), + fname); + + if (verbose) + printf(_("Trying to use '%s' for the loop device\n"), + loopcxt_get_device(&lc)); + + if (loopcxt_set_backing_file(&lc, fname)) + err(EXIT_FAILURE, _("%s: failed to set backing file"), fname); + + rc = loopcxt_setup_device(&lc); + + if (rc == -EBUSY) + err(EXIT_FAILURE, _("%s: failed to set up loop device"), fname); + + loopdev = 1; +} + +static inline int get_column_id(int num) +{ + assert(ARRAY_SIZE(columns) == NCOLS); + assert((size_t)num < ncolumns); + assert(columns[num] < (int) NCOLS); + return columns[num]; +} + +static inline struct colinfo *get_column_info(int num) +{ + return &infos[ get_column_id(num) ]; +} + +static int column_name_to_id(const char *name, size_t namesz) +{ + size_t i; + + assert(name); + + for (i = 0; i < NCOLS; i++) { + const char *cn = infos[i].name; + + if (!strncasecmp(name, cn, namesz) && !*(cn + namesz)) + return i; + } + warnx(_("unknown column: %s"), name); + return -1; +} + +/* + * Given a partition return the corresponding partition number. + * + * Note that this function tries to use sysfs, otherwise it assumes that the + * last characters are always numeric (sda1, sdc20, etc). + */ +static int get_partno_from_device(char *partition, dev_t devno) +{ + int partno = 0; + size_t sz; + char *p, *end = NULL; + + assert(partition); + + if (devno) { + struct path_cxt *pc; + int rc; + + pc = ul_new_sysfs_path(devno, NULL, NULL); + if (!pc) + goto err; + + rc = ul_path_read_s32(pc, &partno, "partition"); + ul_unref_path(pc); + + if (rc == 0) + return partno; + } + + sz = strlen(partition); + p = partition + sz - 1; + + if (!isdigit((unsigned char) *p)) + goto err; + + while (isdigit((unsigned char) *(p - 1))) p--; + + errno = 0; + partno = strtol(p, &end, 10); + if (errno || !end || *end || p == end) + goto err; + + return partno; +err: + errx(EXIT_FAILURE, _("%s: failed to get partition number"), partition); +} + +static int get_max_partno(const char *disk, dev_t devno) +{ + char path[PATH_MAX], *parent, *dirname = NULL; + struct stat st; + DIR *dir; + struct dirent *d; + int partno = 0; + + if (!devno && !stat(disk, &st)) + devno = st.st_rdev; + if (!devno) + goto dflt; + parent = strrchr(disk, '/'); + if (!parent) + goto dflt; + parent++; + + snprintf(path, sizeof(path), _PATH_SYS_DEVBLOCK "/%d:%d/", + major(devno), minor(devno)); + + dir = opendir(path); + if (!dir) + goto dflt; + + dirname = xstrdup(path); + + while ((d = readdir(dir))) { + int fd; + + if (!strcmp(d->d_name, ".") || + !strcmp(d->d_name, "..")) + continue; +#ifdef _DIRENT_HAVE_D_TYPE + if (d->d_type != DT_DIR && d->d_type != DT_UNKNOWN) + continue; +#endif + if (strncmp(parent, d->d_name, strlen(parent))) + continue; + snprintf(path, sizeof(path), "%s/partition", d->d_name); + + fd = openat(dirfd(dir), path, O_RDONLY); + if (fd) { + int x = 0; + FILE *f = fdopen(fd, "r"); + if (f) { + if (fscanf(f, "%d", &x) == 1 && x > partno) + partno = x; + fclose(f); + } + } + } + + free(dirname); + closedir(dir); + return partno; +dflt: + return SLICES_MAX; +} + +static int recount_range_by_pt(blkid_partlist ls, int *lower, int *upper) +{ + int n = 0, i, nparts = blkid_partlist_numof_partitions(ls); + + for (i = 0; i < nparts; i++) { + blkid_partition par = blkid_partlist_get_partition(ls, i); + int partno = blkid_partition_get_partno(par); + n = max(partno, n); + } + + if (*lower < 0) + *lower = n + *lower + 1; + if (*upper < 0) + *upper = n + *upper + 1; + + if (*lower > *upper && *upper != 0) { + warnx(_("specified range <%d:%d> does not make sense"), *lower, *upper); + return -EINVAL; + } + if (verbose) + printf(_("range recount: max partno=%d, lower=%d, upper=%d\n"), n, *lower, *upper); + return 0; +} + +static void del_parts_warnx(const char *device, int first, int last) +{ + if (first == last) + warnx(_("%s: error deleting partition %d"), device, first); + else + warnx(_("%s: error deleting partitions %d-%d"), + device, first, last); +} + +static int del_parts(int fd, const char *device, dev_t devno, + int lower, int upper) +{ + int rc = 0, i, errfirst = 0, errlast = 0; + + assert(fd >= 0); + assert(device); + + /* recount range by information in /sys */ + if (!lower) + lower = 1; + if (!upper || lower < 0 || upper < 0) { + int n = get_max_partno(device, devno); + if (!upper) + upper = n; + else if (upper < 0) + upper = n + upper + 1; + if (lower < 0) + lower = n + lower + 1; + } + if (lower > upper) { + warnx(_("specified range <%d:%d> " + "does not make sense"), lower, upper); + return -1; + } + + for (i = lower; i <= upper; i++) { + rc = partx_del_partition(fd, i); + if (rc == 0) { + if (verbose) + printf(_("%s: partition #%d removed\n"), device, i); + continue; + } else if (errno == ENXIO) { + if (verbose) + printf(_("%s: partition #%d doesn't exist\n"), device, i); + continue; + } + rc = -1; + if (verbose) + warn(_("%s: deleting partition #%d failed"), device, i); + if (!errfirst) + errlast = errfirst = i; + else if (errlast + 1 == i) + errlast++; + else { + del_parts_warnx(device, errfirst, errlast); + errlast = errfirst = i; + } + } + + if (errfirst) + del_parts_warnx(device, errfirst, errlast); + return rc; +} + + +static void add_parts_warnx(const char *device, int first, int last) +{ + if (first == last) + warnx(_("%s: error adding partition %d"), device, first); + else + warnx(_("%s: error adding partitions %d-%d"), + device, first, last); +} + +static int add_parts(int fd, const char *device, + blkid_partlist ls, int lower, int upper) +{ + int i, nparts, rc, errfirst = 0, errlast = 0; + + assert(fd >= 0); + assert(device); + assert(ls); + + rc = recount_range_by_pt(ls, &lower, &upper); + if (rc) + return rc; + + nparts = blkid_partlist_numof_partitions(ls); + + for (i = 0; i < nparts; i++) { + blkid_partition par = blkid_partlist_get_partition(ls, i); + int n = blkid_partition_get_partno(par); + uintmax_t start, size; + + if (lower && n < lower) + continue; + if (upper && n > upper) + continue; + + start = blkid_partition_get_start(par); + size = blkid_partition_get_size(par); + + if (blkid_partition_is_extended(par)) + /* + * Let's follow the Linux kernel and reduce + * DOS extended partition to 1 or 2 sectors. + */ + size = min(size, (uintmax_t) 2); + + if (partx_add_partition(fd, n, start, size) == 0) { + if (verbose) + printf(_("%s: partition #%d added\n"), device, n); + continue; + } + rc = -1; + if (verbose) + warn(_("%s: adding partition #%d failed"), device, n); + if (!errfirst) + errlast = errfirst = n; + else if (errlast + 1 == n) + errlast++; + else { + add_parts_warnx(device, errfirst, errlast); + errlast = errfirst = n; + } + } + + if (errfirst) + add_parts_warnx(device, errfirst, errlast); + + /* + * The kernel with enabled partitions scanner for loop devices add *all* + * partitions, so we should delete any extra, unwanted ones, when the -n + * option is passed. + */ + if (loopdev && loopcxt_is_partscan(&lc) && (lower || upper)) { + for (i = 0; i < nparts; i++) { + blkid_partition par = blkid_partlist_get_partition(ls, i); + int n = blkid_partition_get_partno(par); + + if (n < lower || n > upper) + partx_del_partition(fd, n); + } + } + + return rc; +} + +static void upd_parts_warnx(const char *device, int first, int last) +{ + if (first == last) + warnx(_("%s: error updating partition %d"), device, first); + else + warnx(_("%s: error updating partitions %d-%d"), + device, first, last); +} + +static int upd_parts(int fd, const char *device, dev_t devno, + blkid_partlist ls, int lower, int upper) +{ + int n, nparts, rc = 0, errfirst = 0, errlast = 0, err; + blkid_partition par; + uintmax_t start, size; + + assert(fd >= 0); + assert(device); + assert(ls); + + /* recount range by information in /sys, if on disk number of + * partitions is greater than in /sys the use on-disk limit */ + nparts = blkid_partlist_numof_partitions(ls); + if (!lower) + lower = 1; + if (!upper || lower < 0 || upper < 0) { + n = get_max_partno(device, devno); + if (!upper) + upper = n > nparts ? n : nparts; + else if (upper < 0) + upper = n + upper + 1; + if (lower < 0) + lower = n + lower + 1; + } + if (lower > upper) { + warnx(_("specified range <%d:%d> " + "does not make sense"), lower, upper); + return -1; + } + + for (n = lower; n <= upper; n++) { + par = blkid_partlist_get_partition_by_partno(ls, n); + if (!par) { + if (verbose) + warn(_("%s: no partition #%d"), device, n); + continue; + } + + start = blkid_partition_get_start(par); + size = blkid_partition_get_size(par); + if (blkid_partition_is_extended(par)) + /* + * Let's follow the Linux kernel and reduce + * DOS extended partition to 1 or 2 sectors. + */ + size = min(size, (uintmax_t) 2); + + err = partx_del_partition(fd, n); + if (err == -1 && errno == ENXIO) + err = 0; /* good, it already doesn't exist */ + if (err == -1 && errno == EBUSY) + { + /* try to resize */ + err = partx_resize_partition(fd, n, start, size); + if (verbose) + printf(_("%s: partition #%d resized\n"), device, n); + if (err == 0) + continue; + } + if (err == 0 && partx_add_partition(fd, n, start, size) == 0) { + if (verbose) + printf(_("%s: partition #%d added\n"), device, n); + continue; + } + + if (err == 0) + continue; + rc = -1; + if (verbose) + warn(_("%s: updating partition #%d failed"), device, n); + if (!errfirst) + errlast = errfirst = n; + else if (errlast + 1 == n) + errlast++; + else { + upd_parts_warnx(device, errfirst, errlast); + errlast = errfirst = n; + } + } + + if (errfirst) + upd_parts_warnx(device, errfirst, errlast); + return rc; +} + +static int list_parts(blkid_partlist ls, int lower, int upper) +{ + int i, nparts, rc; + + assert(ls); + + rc = recount_range_by_pt(ls, &lower, &upper); + if (rc) + return rc; + + nparts = blkid_partlist_numof_partitions(ls); + + for (i = 0; i < nparts; i++) { + blkid_partition par = blkid_partlist_get_partition(ls, i); + int n = blkid_partition_get_partno(par); + uintmax_t start, size; + + if (lower && n < lower) + continue; + if (upper && n > upper) + continue; + + start = blkid_partition_get_start(par); + size = blkid_partition_get_size(par); + + printf(P_("#%2d: %9ju-%9ju (%9ju sector, %6ju MB)\n", + "#%2d: %9ju-%9ju (%9ju sectors, %6ju MB)\n", + size), + n, start, start + size -1, + size, (size << 9) / 1000000); + } + return 0; +} + +static int add_scols_line(struct libscols_table *table, blkid_partition par) +{ + struct libscols_line *line; + int i, rc = 0; + + assert(table); + assert(par); + + line = scols_table_new_line(table, NULL); + if (!line) { + warn(_("failed to allocate output line")); + return -ENOMEM; + } + + for (i = 0; (size_t)i < ncolumns; i++) { + char *str = NULL; /* allocated string */ + const char *cstr = NULL; /* foreign string */ + + switch (get_column_id(i)) { + case COL_PARTNO: + xasprintf(&str, "%d", blkid_partition_get_partno(par)); + break; + case COL_START: + xasprintf(&str, "%ju", blkid_partition_get_start(par)); + break; + case COL_END: + xasprintf(&str, "%ju", + blkid_partition_get_start(par) + + blkid_partition_get_size(par) - 1); + break; + case COL_SECTORS: + xasprintf(&str, "%ju", blkid_partition_get_size(par)); + break; + case COL_SIZE: + if (partx_flags & FL_BYTES) + xasprintf(&str, "%ju", (uintmax_t) + blkid_partition_get_size(par) << 9); + else + str = size_to_human_string(SIZE_SUFFIX_1LETTER, + blkid_partition_get_size(par) << 9); + break; + case COL_NAME: + cstr = blkid_partition_get_name(par); + break; + case COL_UUID: + cstr = blkid_partition_get_uuid(par); + break; + case COL_TYPE: + if (blkid_partition_get_type_string(par)) + cstr = blkid_partition_get_type_string(par); + else + xasprintf(&str, "0x%x", + blkid_partition_get_type(par)); + break; + case COL_FLAGS: + xasprintf(&str, "0x%llx", blkid_partition_get_flags(par)); + break; + case COL_SCHEME: + { + blkid_parttable tab = blkid_partition_get_table(par); + if (tab) + cstr = blkid_parttable_get_type(tab); + break; + } + default: + break; + } + + if (cstr) + rc = scols_line_set_data(line, i, cstr); + else if (str) + rc = scols_line_refer_data(line, i, str); + if (rc) { + warn(_("failed to add output data")); + break; + } + } + + return rc; +} + +static int show_parts(blkid_partlist ls, int scols_flags, int lower, int upper) +{ + int i, rc = -1; + struct libscols_table *table; + int nparts; + + assert(ls); + + nparts = blkid_partlist_numof_partitions(ls); + if (!nparts) + return 0; + + scols_init_debug(0); + table = scols_new_table(); + if (!table) { + warn(_("failed to allocate output table")); + return -1; + } + scols_table_enable_raw(table, !!(scols_flags & PARTX_RAW)); + scols_table_enable_export(table, !!(scols_flags & PARTX_EXPORT)); + scols_table_enable_noheadings(table, !!(scols_flags & PARTX_NOHEADINGS)); + + for (i = 0; (size_t)i < ncolumns; i++) { + struct colinfo *col = get_column_info(i); + + if (!scols_table_new_column(table, col->name, col->whint, col->flags)) { + warnx(_("failed to allocate output column")); + goto done; + } + } + + rc = recount_range_by_pt(ls, &lower, &upper); + if (rc) + goto done; + + for (i = 0; i < nparts; i++) { + blkid_partition par = blkid_partlist_get_partition(ls, i); + int n = blkid_partition_get_partno(par); + + if (lower && n < lower) + continue; + if (upper && n > upper) + continue; + + rc = add_scols_line(table, par); + if (rc) + break; + } + + rc = 0; + scols_print_table(table); +done: + scols_unref_table(table); + return rc; +} + +static blkid_partlist get_partlist(blkid_probe pr, + const char *device, char *type) +{ + blkid_partlist ls; + blkid_parttable tab; + + assert(pr); + assert(device); + + if (type) { + char *name[] = { type, NULL }; + + if (blkid_probe_filter_partitions_type(pr, + BLKID_FLTR_ONLYIN, name)) { + warnx(_("failed to initialize blkid " + "filter for '%s'"), type); + return NULL; + } + } + + ls = blkid_probe_get_partitions(pr); + if (!ls) { + warnx(_("%s: failed to read partition table"), device); + return NULL; + } + + tab = blkid_partlist_get_table(ls); + if (verbose && tab) { + printf(_("%s: partition table type '%s' detected\n"), + device, blkid_parttable_get_type(tab)); + + if (!blkid_partlist_numof_partitions(ls)) + printf(_("%s: partition table with no partitions"), device); + } + + return ls; +} + +static void __attribute__((__noreturn__)) usage(void) +{ + FILE *out = stdout; + size_t i; + + fputs(USAGE_HEADER, out); + fprintf(out, + _(" %s [-a|-d|-s|-u] [--nr | ] \n"), + program_invocation_short_name); + + fputs(USAGE_SEPARATOR, out); + fputs(_("Tell the kernel about the presence and numbering of partitions.\n"), out); + + fputs(USAGE_OPTIONS, out); + fputs(_(" -a, --add add specified partitions or all of them\n"), out); + fputs(_(" -d, --delete delete specified partitions or all of them\n"), out); + fputs(_(" -u, --update update specified partitions or all of them\n"), out); + fputs(_(" -s, --show list partitions\n\n"), out); + fputs(_(" -b, --bytes print SIZE in bytes rather than in human readable format\n"), out); + fputs(_(" -g, --noheadings don't print headings for --show\n"), out); + fputs(_(" -n, --nr specify the range of partitions (e.g. --nr 2:4)\n"), out); + fputs(_(" -o, --output define which output columns to use\n"), out); + fputs(_(" --output-all output all columns\n"), out); + fputs(_(" -P, --pairs use key=\"value\" output format\n"), out); + fputs(_(" -r, --raw use raw output format\n"), out); + fputs(_(" -S, --sector-size overwrite sector size\n"), out); + fputs(_(" -t, --type specify the partition type\n"), out); + fputs(_(" --list-types list supported partition types and exit\n"), out); + fputs(_(" -v, --verbose verbose mode\n"), out); + + fputs(USAGE_SEPARATOR, out); + printf(USAGE_HELP_OPTIONS(22)); + + fputs(USAGE_COLUMNS, out); + for (i = 0; i < NCOLS; i++) + fprintf(out, " %10s %s\n", infos[i].name, _(infos[i].help)); + + printf(USAGE_MAN_TAIL("partx(8)")); + + exit(EXIT_SUCCESS); +} + +int main(int argc, char **argv) +{ + int fd, c, what = ACT_NONE, lower = 0, upper = 0, rc = 0; + int scols_flags = 0; + char *type = NULL; + char *device = NULL; /* pointer to argv[], ie: /dev/sda1 */ + char *wholedisk = NULL; /* allocated, ie: /dev/sda */ + char *outarg = NULL; + dev_t disk_devno = 0, part_devno = 0; + unsigned int sector_size = 0; + + enum { + OPT_LIST_TYPES = CHAR_MAX + 1, + OPT_OUTPUT_ALL + }; + static const struct option long_opts[] = { + { "bytes", no_argument, NULL, 'b' }, + { "noheadings", no_argument, NULL, 'g' }, + { "raw", no_argument, NULL, 'r' }, + { "list", no_argument, NULL, 'l' }, + { "show", no_argument, NULL, 's' }, + { "add", no_argument, NULL, 'a' }, + { "delete", no_argument, NULL, 'd' }, + { "update", no_argument, NULL, 'u' }, + { "type", required_argument, NULL, 't' }, + { "list-types", no_argument, NULL, OPT_LIST_TYPES }, + { "nr", required_argument, NULL, 'n' }, + { "output", required_argument, NULL, 'o' }, + { "output-all", no_argument, NULL, OPT_OUTPUT_ALL }, + { "pairs", no_argument, NULL, 'P' }, + { "sector-size",required_argument, NULL, 'S' }, + { "help", no_argument, NULL, 'h' }, + { "version", no_argument, NULL, 'V' }, + { "verbose", no_argument, NULL, 'v' }, + { NULL, 0, NULL, 0 } + }; + + static const ul_excl_t excl[] = { /* rows and cols in ASCII order */ + { 'P','a','d','l','r','s','u' }, + { 0 } + }; + int excl_st[ARRAY_SIZE(excl)] = UL_EXCL_STATUS_INIT; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + while ((c = getopt_long(argc, argv, + "abdglrsuvn:t:o:PS:hV", long_opts, NULL)) != -1) { + + err_exclusive_options(c, long_opts, excl, excl_st); + + switch(c) { + case 'a': + what = ACT_ADD; + break; + case 'b': + partx_flags |= FL_BYTES; + break; + case 'd': + what = ACT_DELETE; + break; + case 'g': + scols_flags |= PARTX_NOHEADINGS; + break; + case 'l': + what = ACT_LIST; + break; + case 'n': + if (parse_range(optarg, &lower, &upper, 0)) + errx(EXIT_FAILURE, _("failed to parse --nr range")); + break; + case 'o': + outarg = optarg; + break; + case OPT_OUTPUT_ALL: + for (ncolumns = 0; ncolumns < ARRAY_SIZE(infos); ncolumns++) + columns[ncolumns] = ncolumns; + break; + case 'P': + scols_flags |= PARTX_EXPORT; + what = ACT_SHOW; + break; + case 'r': + scols_flags |= PARTX_RAW; + what = ACT_SHOW; + break; + case 's': + what = ACT_SHOW; + break; + case 'S': + sector_size = strtou32_or_err(optarg, _("invalid sector size argument")); + break; + case 't': + type = optarg; + break; + case 'u': + what = ACT_UPD; + break; + case 'v': + verbose = 1; + break; + case OPT_LIST_TYPES: + { + size_t idx = 0; + const char *name = NULL; + + while (blkid_partitions_get_name(idx++, &name) == 0) + puts(name); + return EXIT_SUCCESS; + } + case 'h': + usage(); + case 'V': + printf(UTIL_LINUX_VERSION); + return EXIT_SUCCESS; + default: + errtryhelp(EXIT_FAILURE); + } + } + + if (what == ACT_NONE) + what = ACT_SHOW; + + /* --show default, could by modified by -o */ + if (what == ACT_SHOW && !ncolumns) { + columns[ncolumns++] = COL_PARTNO; + columns[ncolumns++] = COL_START; + columns[ncolumns++] = COL_END; + columns[ncolumns++] = COL_SECTORS; + columns[ncolumns++] = COL_SIZE; + columns[ncolumns++] = COL_NAME; + columns[ncolumns++] = COL_UUID; + } + + if (what == ACT_SHOW && outarg && + string_add_to_idarray(outarg, columns, ARRAY_SIZE(columns), + &ncolumns, column_name_to_id) < 0) + return EXIT_FAILURE; + + /* + * Note that 'partx /dev/sda1' == 'partx /dev/sda1 /dev/sda' + * so assume that the device and/or disk are always the last + * arguments to be passed to partx. + */ + if (optind == argc - 2) { + /* passed 2 arguments: + * /dev/sda1 /dev/sda : partition + whole-disk + * -- /dev/sda1 : partition that should be used as a whole-disk + */ + device = argv[optind]; + + if (strcmp(device, "-") == 0) { + device = NULL; + wholedisk = xstrdup(argv[optind + 1]); + } else { + device = argv[optind]; + wholedisk = xstrdup(argv[optind + 1]); + + if (device && wholedisk && !startswith(device, wholedisk)) + errx(EXIT_FAILURE, _("partition and disk name do not match")); + } + } else if (optind == argc - 1) { + /* passed only one arg (ie: /dev/sda3 or /dev/sda) */ + struct stat sb; + + device = argv[optind]; + + if (stat(device, &sb)) + err(EXIT_FAILURE, _("stat of %s failed"), device); + + part_devno = sb.st_rdev; + + if (blkid_devno_to_wholedisk(part_devno, + NULL, 0, &disk_devno) == 0 && + part_devno != disk_devno) + wholedisk = blkid_devno_to_devname(disk_devno); + + if (!wholedisk) { + wholedisk = xstrdup(device); + disk_devno = part_devno; + device = NULL; + part_devno = 0; + } + } else { + warnx(_("bad usage")); + errtryhelp(EXIT_FAILURE); + } + if (device && (upper || lower)) + errx(EXIT_FAILURE, _("--nr and are mutually exclusive")); + + assert(wholedisk); + + if (device) { + /* use partno from given partition instead of --nr range, e.g: + * partx -d /dev/sda3 + * is the same like: + * partx -d --nr 3 /dev/sda + */ + struct stat sb; + + if (!part_devno && !stat(device, &sb)) + part_devno = sb.st_rdev; + + lower = upper = get_partno_from_device(device, part_devno); + } + + if (verbose) + printf(_("partition: %s, disk: %s, lower: %d, upper: %d\n"), + device ? device : "none", wholedisk, lower, upper); + + if (what == ACT_ADD || what == ACT_DELETE) { + struct stat x; + + if (stat(wholedisk, &x)) + errx(EXIT_FAILURE, "%s", wholedisk); + + if (S_ISREG(x.st_mode)) { + /* not a blkdev, try to associate it to a loop device */ + if (what == ACT_DELETE) + errx(EXIT_FAILURE, _("%s: cannot delete partitions"), + wholedisk); + if (!loopmod_supports_partscan()) + errx(EXIT_FAILURE, _("%s: partitioned loop devices unsupported"), + wholedisk); + assoc_loopdev(wholedisk); + wholedisk = xstrdup(lc.device); + } else if (!S_ISBLK(x.st_mode)) + errx(EXIT_FAILURE, _("%s: not a block device"), wholedisk); + } + if ((fd = open(wholedisk, O_RDONLY)) == -1) + err(EXIT_FAILURE, _("cannot open %s"), wholedisk); + + if (what == ACT_DELETE) + rc = del_parts(fd, wholedisk, disk_devno, lower, upper); + else { + blkid_probe pr = blkid_new_probe(); + blkid_partlist ls = NULL; + + if (!pr || blkid_probe_set_device(pr, fd, 0, 0)) + warnx(_("%s: failed to initialize blkid prober"), + wholedisk); + else { + if (sector_size) + blkid_probe_set_sectorsize(pr, sector_size); + + ls = get_partlist(pr, wholedisk, type); + } + + if (ls) { + switch (what) { + case ACT_SHOW: + rc = show_parts(ls, scols_flags, lower, upper); + break; + case ACT_LIST: + rc = list_parts(ls, lower, upper); + break; + case ACT_ADD: + rc = add_parts(fd, wholedisk, ls, lower, upper); + break; + case ACT_UPD: + rc = upd_parts(fd, wholedisk, disk_devno, ls, lower, upper); + break; + case ACT_NONE: + break; + default: + abort(); + } + } else + rc = 1; + + blkid_free_probe(pr); + } + + if (loopdev) + loopcxt_deinit(&lc); + + if (close_fd(fd) != 0) + err(EXIT_FAILURE, _("write failed")); + + return rc ? EXIT_FAILURE : EXIT_SUCCESS; +} diff --git a/disk-utils/raw.8 b/disk-utils/raw.8 new file mode 100644 index 0000000..5a3b96e --- /dev/null +++ b/disk-utils/raw.8 @@ -0,0 +1,99 @@ +.TH RAW 8 "August 1999" "util-linux" "System Administration" +.SH NAME +raw \- bind a Linux raw character device +.SH SYNOPSIS +.B raw +.I /dev/raw/raw +.PP +.B raw +.I /dev/raw/raw /dev/ +.PP +.B raw \-q +.I /dev/raw/raw +.PP +.B raw \-qa +.SH DESCRIPTION +.B raw +is used to bind a Linux raw character device to a block device. Any +block device may be used: at the time of binding, the device driver does +not even have to be accessible (it may be loaded on demand as a kernel +module later). +.PP +.B raw +is used in two modes: it either sets raw device bindings, or it queries +existing bindings. When setting a raw device, +.I /dev/raw/raw +is the device name of an existing raw device node in the filesystem. +The block device to which it is to be bound can be specified either in +terms of its +.I major +and +.I minor +device numbers, or as a path name +.I /dev/ +to an existing block device file. +.PP +The bindings already in existence can be queried with the +.I \-q +option, which is used either with a raw device filename to query that one +device, or with the +.I \-a +option to query all bound raw devices. +.PP +Unbinding can be done by specifying major and minor 0. +.PP +Once bound to a block device, a raw device can be opened, read and +written, just like the block device it is bound to. However, the raw +device does not behave exactly like the block device. In particular, +access to the raw device bypasses the kernel's block buffer cache +entirely: all I/O is done directly to and from the address space of the +process performing the I/O. If the underlying block device driver can +support DMA, then no data copying at all is required to complete the +I/O. +.PP +Because raw I/O involves direct hardware access to a process's memory, a +few extra restrictions must be observed. All I/Os must be correctly +aligned in memory and on disk: they must start at a sector offset on +disk, they must be an exact number of sectors long, and the data buffer +in virtual memory must also be aligned to a multiple of the sector +size. The sector size is 512 bytes for most devices. +.SH OPTIONS +.TP +\fB\-q\fR, \fB\-\-query\fR +Set query mode. +.B raw +will query an existing binding instead of setting a new one. +.TP +\fB\-a\fR, \fB\-\-all\fR +With +.B \-q +, specify that all bound raw devices should be queried. +.TP +\fB\-h\fR, \fB\-\-help\fR +Display help text and exit. +.TP +\fB\-V\fR, \fB\-\-version\fR +Display version information and exit. + +.SH BUGS +The Linux +.BR dd (1) +command should be used without the \fBbs=\fR option, or the blocksize +needs to be a multiple of the sector size of the device (512 bytes usually), +otherwise it will fail with "Invalid Argument" messages (EINVAL). + +.PP +Raw I/O devices do not maintain cache coherency with the Linux block +device buffer cache. If you use raw I/O to overwrite data already in +the buffer cache, the buffer cache will no longer correspond to the +contents of the actual storage device underneath. This is deliberate, +but is regarded either a bug or a feature depending on who you ask! +.SH NOTES +Rather than using raw devices applications should prefer +.BR open (2) +devices, such as /dev/sda1, with the O_DIRECT flag. +.SH AUTHOR +Stephen Tweedie (sct@redhat.com) +.SH AVAILABILITY +The raw command is part of the util-linux package and is available from +https://www.kernel.org/pub/linux/utils/util-linux/. diff --git a/disk-utils/raw.c b/disk-utils/raw.c new file mode 100644 index 0000000..8abcbb7 --- /dev/null +++ b/disk-utils/raw.c @@ -0,0 +1,277 @@ +/* + * raw.c: User mode tool to bind and query raw character devices. + * + * Stephen Tweedie, 1999, 2000 + * + * This file may be redistributed under the terms of the GNU General + * Public License, version 2. + * + * Copyright Red Hat Software, 1999, 2000 + * + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "c.h" +#include "closestream.h" +#include "nls.h" +#include "pathnames.h" + +#define EXIT_RAW_ACCESS 3 +#define EXIT_RAW_IOCTL 4 + +#define RAW_NR_MINORS 8192 + +static int do_query; +static int do_query_all; + +static int master_fd; +static int raw_minor; + +void open_raw_ctl(void); +static int query(int minor_raw, const char *raw_name, int quiet); +static int bind(int minor_raw, int block_major, int block_minor); + +static void __attribute__((__noreturn__)) usage(void) +{ + FILE *out = stdout; + fputs(USAGE_HEADER, out); + fprintf(out, + _(" %1$s %2$srawN \n" + " %1$s %2$srawN /dev/\n" + " %1$s -q %2$srawN\n" + " %1$s -qa\n"), program_invocation_short_name, + _PATH_RAWDEVDIR); + + fputs(USAGE_SEPARATOR, out); + fputs(_("Bind a raw character device to a block device.\n"), out); + + fputs(USAGE_OPTIONS, out); + fputs(_(" -q, --query set query mode\n"), out); + fputs(_(" -a, --all query all raw devices\n"), out); + printf(USAGE_HELP_OPTIONS(16)); + printf(USAGE_MAN_TAIL("raw(8)")); + exit(EXIT_SUCCESS); +} + +static long strtol_octal_or_err(const char *str, const char *errmesg) +{ + long num; + char *end = NULL; + + if (str == NULL || *str == '\0') + goto err; + errno = 0; + num = strtol(str, &end, 0); + + if (errno || str == end || (end && *end)) + goto err; + + return num; + err: + if (errno) + err(EXIT_FAILURE, "%s: '%s'", errmesg, str); + else + errx(EXIT_FAILURE, "%s: '%s'", errmesg, str); + return 0; +} + +int main(int argc, char *argv[]) +{ + int c; + char *raw_name; + char *block_name; + int retval; + int block_major, block_minor; + int i, rc; + + struct stat statbuf; + + static const struct option longopts[] = { + {"query", no_argument, NULL, 'q'}, + {"all", no_argument, NULL, 'a'}, + {"version", no_argument, NULL, 'V'}, + {"help", no_argument, NULL, 'h'}, + {NULL, 0, NULL, '0'}, + }; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + while ((c = getopt_long(argc, argv, "qaVh", longopts, NULL)) != -1) + switch (c) { + case 'q': + do_query = 1; + break; + case 'a': + do_query_all = 1; + break; + case 'V': + printf(UTIL_LINUX_VERSION); + return EXIT_SUCCESS; + case 'h': + usage(); + default: + errtryhelp(EXIT_FAILURE); + } + + /* + * Check for, and open, the master raw device, /dev/raw + */ + open_raw_ctl(); + + if (do_query_all) { + if (optind < argc) { + warnx(_("bad usage")); + errtryhelp(EXIT_FAILURE); + } + for (i = 1; i < RAW_NR_MINORS; i++) + query(i, NULL, 1); + exit(EXIT_SUCCESS); + } + + /* + * It's a bind or a single query. Either way we need a raw device. + */ + + if (optind >= argc) { + warnx(_("bad usage")); + errtryhelp(EXIT_FAILURE); + } + raw_name = argv[optind++]; + + /* + * try to check the device name before stat(), because on systems with + * udev the raw0 causes a create udev event for char 162/0, which + * causes udev to *remove* /dev/rawctl + */ + rc = sscanf(raw_name, _PATH_RAWDEVDIR "raw%d", &raw_minor); + if (rc != 1) { + warnx(_("bad usage")); + errtryhelp(EXIT_FAILURE); + } + if (raw_minor == 0) + errx(EXIT_RAW_ACCESS, + _("Device '%s' is the control raw device " + "(use raw where is greater than zero)"), + raw_name); + + if (do_query) + return query(raw_minor, raw_name, 0); + + /* + * It's not a query, so we still have some parsing to do. Have we been + * given a block device filename or a major/minor pair? + */ + switch (argc - optind) { + case 1: + block_name = argv[optind]; + retval = stat(block_name, &statbuf); + if (retval) + err(EXIT_RAW_ACCESS, + _("Cannot locate block device '%s'"), block_name); + if (!S_ISBLK(statbuf.st_mode)) + errx(EXIT_RAW_ACCESS, + _("Device '%s' is not a block device"), + block_name); + block_major = major(statbuf.st_rdev); + block_minor = minor(statbuf.st_rdev); + break; + + case 2: + block_major = + strtol_octal_or_err(argv[optind], + _("failed to parse argument")); + block_minor = + strtol_octal_or_err(argv[optind + 1], + _("failed to parse argument")); + break; + + default: + warnx(_("bad usage")); + errtryhelp(EXIT_FAILURE); + } + + return bind(raw_minor, block_major, block_minor); +} + +void open_raw_ctl(void) +{ + master_fd = open(_PATH_RAWDEVCTL, O_RDWR, 0); + if (master_fd < 0) { + master_fd = open(_PATH_RAWDEVCTL_OLD, O_RDWR, 0); + if (master_fd < 0) + err(EXIT_RAW_ACCESS, + _("Cannot open master raw device '%s'"), + _PATH_RAWDEVCTL); + } +} + +static int query(int minor_raw, const char *raw_name, int quiet) +{ + struct raw_config_request rq; + static int has_worked = 0; + + if (raw_name) { + struct stat statbuf; + + if (stat(raw_name, &statbuf) != 0) + err(EXIT_RAW_ACCESS, + _("Cannot locate raw device '%s'"), raw_name); + if (!S_ISCHR(statbuf.st_mode)) + errx(EXIT_RAW_ACCESS, + _("Raw device '%s' is not a character dev"), + raw_name); + if (major(statbuf.st_rdev) != RAW_MAJOR) + errx(EXIT_RAW_ACCESS, + _("Device '%s' is not a raw dev"), raw_name); + minor_raw = minor(statbuf.st_rdev); + } + + rq.raw_minor = minor_raw; + if (ioctl(master_fd, RAW_GETBIND, &rq) < 0) { + if (quiet && errno == ENODEV) + return 3; + if (has_worked && errno == EINVAL) + return 0; + err(EXIT_RAW_IOCTL, _("Error querying raw device")); + } + + /* If one query has worked, mark that fact so that we don't report + * spurious fatal errors if raw(8) has been built to support more raw + * minor numbers than the kernel has. */ + has_worked = 1; + if (quiet && !rq.block_major && !rq.block_minor) + return 0; + printf(_("%sraw%d: bound to major %d, minor %d\n"), + _PATH_RAWDEVDIR, minor_raw, (int)rq.block_major, + (int)rq.block_minor); + return 0; +} + +static int bind(int minor_raw, int block_major, int block_minor) +{ + struct raw_config_request rq; + + rq.raw_minor = minor_raw; + rq.block_major = block_major; + rq.block_minor = block_minor; + if (ioctl(master_fd, RAW_SETBIND, &rq) < 0) + err(EXIT_RAW_IOCTL, _("Error setting raw device")); + printf(_("%sraw%d: bound to major %d, minor %d\n"), + _PATH_RAWDEVDIR, raw_minor, (int)rq.block_major, + (int)rq.block_minor); + return 0; +} diff --git a/disk-utils/resizepart.8 b/disk-utils/resizepart.8 new file mode 100644 index 0000000..a3ea0d2 --- /dev/null +++ b/disk-utils/resizepart.8 @@ -0,0 +1,38 @@ +.\" resizepart.8 -- man page for resizepart +.\" Copyright 2012 Vivek Goyal +.\" Copyright 2012 Red Hat, Inc. +.\" May be distributed under the GNU General Public License +.TH RESIZEPART 8 "January 2015" "util-linux" "System Administration" +.SH NAME +resizepart \- tell the kernel about the new size of a partition +.SH SYNOPSIS +.B resizepart +.I device partition length +.SH DESCRIPTION +.B resizepart +tells the Linux kernel about the new size of the specified partition. +The command is a simple wrapper around the "resize partition" ioctl. + +This command doesn't manipulate partitions on a block device. + +.SH PARAMETERS +.TP +.I device +The disk device. +.TP +.I partition +The partition number. +.TP +.I length +The new length of the partition (in 512-byte sectors). + +.SH SEE ALSO +.BR addpart (8), +.BR delpart (8), +.BR fdisk (8), +.BR parted (8), +.BR partprobe (8), +.BR partx (8) +.SH AVAILABILITY +The resizepart command is part of the util-linux package and is available from +https://www.kernel.org/pub/linux/utils/util-linux/. diff --git a/disk-utils/resizepart.c b/disk-utils/resizepart.c new file mode 100644 index 0000000..527517f --- /dev/null +++ b/disk-utils/resizepart.c @@ -0,0 +1,119 @@ +#include +#include +#include +#include +#include +#include +#include + +#include "c.h" +#include "nls.h" +#include "partx.h" +#include "sysfs.h" +#include "strutils.h" +#include "closestream.h" + +static void __attribute__((__noreturn__)) usage(void) +{ + FILE *out = stdout; + fputs(USAGE_HEADER, out); + fprintf(out, _(" %s \n"), + program_invocation_short_name); + + fputs(USAGE_SEPARATOR, out); + fputs(_("Tell the kernel about the new size of a partition.\n"), out); + + fputs(USAGE_OPTIONS, out); + printf(USAGE_HELP_OPTIONS(16)); + printf(USAGE_MAN_TAIL("resizepart(8)")); + exit(EXIT_SUCCESS); +} + +static int get_partition_start(int fd, int partno, uint64_t *start) +{ + struct stat st; + struct path_cxt *disk = NULL, *part = NULL; + dev_t devno = 0; + int rc = -1; + + /* + * wholedisk + */ + if (fstat(fd, &st) || !S_ISBLK(st.st_mode)) + goto done; + devno = st.st_rdev; + disk = ul_new_sysfs_path(devno, NULL, NULL); + if (!disk) + goto done; + /* + * partition + */ + devno = sysfs_blkdev_partno_to_devno(disk, partno); + if (!devno) + goto done; + + part = ul_new_sysfs_path(devno, disk, NULL); + if (!part) + goto done; + if (ul_path_read_u64(part, start, "start")) + goto done; + + rc = 0; +done: + ul_unref_path(part); + ul_unref_path(disk); + return rc; +} + +int main(int argc, char **argv) +{ + int c, fd, partno; + const char *wholedisk; + uint64_t start; + + static const struct option longopts[] = { + {"help", no_argument, NULL, 'h'}, + {"version", no_argument, NULL, 'V'}, + {NULL, 0, NULL, '0'}, + }; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + while ((c = getopt_long(argc, argv, "Vh", longopts, NULL)) != -1) + switch (c) { + case 'V': + printf(UTIL_LINUX_VERSION); + return EXIT_SUCCESS; + case 'h': + usage(); + default: + errtryhelp(EXIT_FAILURE); + } + + if (argc != 4) { + warnx(_("not enough arguments")); + errtryhelp(EXIT_FAILURE); + } + + wholedisk = argv[1]; + partno = strtou32_or_err(argv[2], _("invalid partition number argument")); + + if ((fd = open(wholedisk, O_RDONLY)) < 0) + err(EXIT_FAILURE, _("cannot open %s"), wholedisk); + + if (get_partition_start(fd, partno, &start)) + err(EXIT_FAILURE, _("%s: failed to get start of the partition number %s"), + wholedisk, argv[2]); + + if (partx_resize_partition(fd, partno, start, + strtou64_or_err(argv[3], _("invalid length argument")))) + err(EXIT_FAILURE, _("failed to resize partition")); + + if (close_fd(fd) != 0) + err(EXIT_FAILURE, _("write failed")); + + return 0; +} diff --git a/disk-utils/sfdisk.8 b/disk-utils/sfdisk.8 new file mode 100644 index 0000000..ff54760 --- /dev/null +++ b/disk-utils/sfdisk.8 @@ -0,0 +1,583 @@ +.\" sfdisk.8 -- man page for sfdisk +.\" Copyright (C) 2014 Karel Zak +.\" +.\" Permission is granted to make and distribute verbatim copies of this +.\" manual provided the copyright notice and this permission notice are +.\" preserved on all copies. +.\" +.\" Permission is granted to copy and distribute modified versions of this +.\" manual under the conditions for verbatim copying, provided that the +.\" entire resulting derived work is distributed under the terms of a +.\" permission notice identical to this one. +.\" +.TH SFDISK 8 "June 2015" "util-linux" "System Administration" +.SH NAME +sfdisk \- display or manipulate a disk partition table +.SH SYNOPSIS +.B sfdisk +[options] +.I device +.RB [ \-N +.IR partition-number ] +.sp +.B sfdisk +[options] +.I command +.SH DESCRIPTION +.B sfdisk +is a script-oriented tool for partitioning any block device. + +Since version 2.26 +.B sfdisk +supports MBR (DOS), GPT, SUN and SGI disk labels, but no longer provides any +functionality for CHS (Cylinder-Head-Sector) addressing. CHS has +never been important for Linux, and this addressing concept does not make any +sense for new devices. +.sp +.B sfdisk +(since version 2.26) +.B aligns the start and end of partitions +to block-device I/O limits when relative sizes are specified, when the default +values are used or when multiplicative suffixes (e.g. MiB) are used for sizes. +It is possible that partition size will be optimized (reduced or enlarged) due +to alignment if the start offset is specified exactly in sectors and partition +size relative or by multiplicative suffixes. + +The recommended way is not to specify start offsets at all and specify +partition size in MiB, GiB (or so). In this case sfdisk align all partitions +to block-device I/O limits (or when I/O limits are too small then to megabyte +boundary to keep disk layout portable). If this default behaviour is unwanted +(usually for very small partitions) then specify offsets and sizes in +sectors. In this case sfdisk entirely follows specified numbers without any +optimization. +.sp +.B sfdisk +does not create the standard system partitions for SGI and SUN disk labels like +.BR fdisk (8) +does. +It is necessary to explicitly create all partitions including whole-disk system +partitions. + +.B sfdisk +uses BLKRRPART (reread partition table) ioctl to make sure that the device is +not used by system or another tools (see also --no-reread). It's possible that +this feature or another sfdisk activity races with \fBudevd\fR. The recommended way +how to avoid possible collisions is to use exclusive flock for the whole-disk +device to serialize device access. The exclusive lock will cause udevd to skip +the event handling on the device. For example: +.RS +.sp +.nf +.B "flock /dev/sdc sfdisk /dev/sdc" +.fi +.sp +.RE +Note, this semantic is not currently supported by udevd for MD and DM devices. + +.SH COMMANDS +The commands are mutually exclusive. +.TP +.RB [ \-N " \fIpartition-number\fR] " \fIdevice\fR +The default \fBsfdisk\fR command is to read the specification for the desired +partitioning of \fIdevice\fR from standard input, and then create a partition +table according to the specification. See below for the description of the +input format. If standard input is a terminal, then \fBsfdisk\fR starts an +interactive session. +.sp +If the option \fB\-N\fR is specified, then the changes are applied to +the partition addressed by \fIpartition-number\fR. The unspecified fields +of the partition are not modified. +.sp +Note that it's possible to address an unused partition with \fB\-N\fR. +For example, an MBR always contains 4 partitions, but the number of used +partitions may be smaller. In this case \fBsfdisk\fR follows the default +values from the partition table and does not use built-in defaults for the +unused partition given with \fB\-N\fR. See also \fB\-\-append\fR. +.TP +.BR \-A , " \-\-activate \fIdevice " [ \fIpartition-number...] +Switch on the bootable flag for the specified partitions and switch off the +bootable flag on all unspecified partitions. The special placeholder '-' +may be used instead of the partition numbers to switch off the bootable flag +on all partitions. + +The activation command is supported for MBR and PMBR only. If GPT label is detected +than sfdisk prints warning and automatically enter PMBR. + +If no \fIpartition-number\fR is specified, then list the partitions with an +enabled flag. +.TP +.BR "\-\-delete \fIdevice " [ \fIpartition-number ...] +Delete all or the specified partitions. +.TP +.BR \-d , " \-\-dump " \fIdevice\fR +Dump the partitions of a device in a format that is usable as input to \fBsfdisk\fR. +See the section \fBBACKING UP THE PARTITION TABLE\fR. +.TP +.BR \-g , " \-\-show\-geometry " [ \fIdevice ...] +List the geometry of all or the specified devices. For backward +compatibility the deprecated option \fB\-\-show\-pt\-geometry\fR have the same +meaning as this one. +.TP +.BR \-J , " \-\-json " \fIdevice\fR +Dump the partitions of a device in JSON format. Note that \fBsfdisk\fR is +not able to use JSON as input format. +.TP +.BR \-l , " \-\-list " [ \fIdevice ...] +List the partitions of all or the specified devices. This command can be used +together with \fB\-\-verify\fR. +.TP +.BR \-F , " \-\-list-free " [ \fIdevice ...] +List the free unpartitioned areas on all or the specified devices. +.TP +.BR "\-\-part\-attrs \fIdevice partition-number " [ \fIattributes ] +Change the GPT partition attribute bits. If \fIattributes\fR is not specified, +then print the current partition settings. The \fIattributes\fR argument is a +comma- or space-delimited list of bits. The currently supported attribute +bits are: RequiredPartition, NoBlockIOProtocol, LegacyBIOSBootable +and GUID-specific bits in the range from 48 to 63. For example, the string +"RequiredPartition,50,51" sets three bits. +.TP +.BR "\-\-part\-label \fIdevice partition-number " [ \fIlabel ] +Change the GPT partition name (label). If \fIlabel\fR is not specified, +then print the current partition label. +.TP +.BR "\-\-part\-type \fIdevice partition-number " [ \fItype ] +Change the partition type. If \fItype\fR is not specified, then print the +current partition type. The \fItype\fR argument is hexadecimal for MBR, +or a GUID for GPT. For backward compatibility the options \fB\-c\fR and +\fB\-\-id\fR have the same meaning as this one. +.TP +.BR "\-\-part\-uuid \fIdevice partition-number " [ \fIuuid ] +Change the GPT partition UUID. If \fIuuid\fR is not specified, +then print the current partition UUID. +.TP +.BR \-r , " \-\-reorder " \fIdevice +Renumber the partitions, ordering them by their start offset. +.TP +.BR \-s , " \-\-show\-size " [ \fIdevice ...] +List the sizes of all or the specified devices in units of 1024 byte size. +This command is DEPRECATED in favour of +.BR blockdev (1). +.TP +.BR \-T , " \-\-list\-types" +Print all supported types for the current disk label or the label specified by +\fB\-\-label\fR. +.TP +.BR \-V , " \-\-verify " [ \fIdevice ...] +Test whether the partition table and partitions seem correct. + +.SH OPTIONS +.TP +.BR \-a , " \-\-append" +Don't create a new partition table, but only append the specified partitions. +.TP +.BR \-b , " \-\-backup" +Back up the current partition table sectors before starting the partitioning. +The default backup file name is ~/sfdisk--.bak; to use another +name see option \fB\-O\fR, \fB\-\-backup\-file\fR. +.TP +.BR \-\-color [ =\fIwhen ] +Colorize the output. The optional argument \fIwhen\fP +can be \fBauto\fR, \fBnever\fR or \fBalways\fR. If the \fIwhen\fR argument is omitted, +it defaults to \fBauto\fR. The colors can be disabled; for the current built-in default +see the \fB\-\-help\fR output. See also the \fBCOLORS\fR section. +.TP +.BR \-f , " \-\-force" +Disable all consistency checking. +.TP +.B \-\-Linux +Deprecated and ignored option. Partitioning that is compatible with +Linux (and other modern operating systems) is the default. +.TP +.BR \-n , " \-\-no\-act" +Do everything except writing to the device. +.TP +.B \-\-no\-reread +Do not check through the re-read-partition-table ioctl whether the device is in use. +.TP +.B \-\-no\-tell\-kernel +Don't tell the kernel about partition changes. This option is recommended together +with \fB\-\-no\-reread\fR to modify a partition on used disk. The modified partition +should not be used (e.g. mounted). +.TP +.BR \-O , " \-\-backup\-file " \fIpath +Override the default backup file name. Note that the device name and offset +are always appended to the file name. +.TP +.BR \-\-move-data [ =\fIpath ] +Move data after partition relocation, for example when moving the beginning +of a partition to another place on the disk. The size of the partition has +to remain the same, the new and old location may overlap. This option requires +option \fB\-N\fR in order to be processed on one specific partition only. + +The \fIpath\fR overrides the default log file name +(the default is ~/sfdisk-.move). The log file contains information +about all read/write operations on the partition data. + +Note that this operation is risky and not atomic. \fBDon't forget to backup your data!\fR + +In the example below, the first command creates a 100MiB free area before +the first partition and moves the data it contains (e.g. a filesystem), +the next command creates a new partition from the free space (at offset 2048), +and the last command reorders partitions to match disk order +(the original sdc1 will become sdc2). +.RS +.sp +.B "echo '+100M,' | sfdisk --move-data /dev/sdc -N 1" +.br +.B "echo '2048,' | sfdisk /dev/sdc --append +.br +.B sfdisk /dev/sdc --reorder +.sp +.RE + +.TP +.BR \-o , " \-\-output " \fIlist +Specify which output columns to print. Use +.B \-\-help +to get a list of all supported columns. +.sp +The default list of columns may be extended if \fIlist\fP is +specified in the format \fI+list\fP (e.g. \fB-o +UUID\fP). +.TP +.BR \-q , " \-\-quiet" +Suppress extra info messages. +.TP +.BR \-u , " \-\-unit S" +Deprecated option. Only the sector unit is supported. This option is not +supported when using the --show-size command. +.TP +.BR \-X , " \-\-label " \fItype +Specify the disk label type (e.g. \fBdos\fR, \fBgpt\fR, ...). If this option +is not given, then \fBsfdisk\fR defaults to the existing label, but if there +is no label on the device yet, then the type defaults to \fBdos\fR. The default +or the current label may be overwritten by the "label: " script header +line. The option \fB\-\-label\fR does not force \fBsfdisk\fR to create empty +disk label (see the \fBEMPTY DISK LABEL\fR section below). +.TP +.BR \-Y , " \-\-label\-nested " \fItype +Force editing of a nested disk label. The primary disk label has to exist already. +This option allows to edit for example a hybrid/protective MBR on devices with GPT. + +.TP +.BR -w , " \-\-wipe "\fIwhen +Wipe filesystem, RAID and partition-table signatures from the device, in order +to avoid possible collisions. The argument \fIwhen\fR can be \fBauto\fR, +\fBnever\fR or \fBalways\fR. When this option is not given, the default is +\fBauto\fR, in which case signatures are wiped only when in interactive mode; +except the old partition-table signatures which are always wiped before create +a new partition-table if the argument \fIwhen\fR is not \fBnever\fR. In all +cases detected signatures are reported by warning messages before a new +partition table is created. See also +.BR wipefs (8) +command. + +.TP +.BR -W , " \-\-wipe-partitions "\fIwhen +Wipe filesystem, RAID and partition-table signatures from a newly created +partitions, in order to avoid possible collisions. The argument \fIwhen\fR can +be \fBauto\fR, \fBnever\fR or \fBalways\fR. When this option is not given, the +default is \fBauto\fR, in which case signatures are wiped only when in +interactive mode and after confirmation by user. In all cases detected +signatures are reported by warning messages after a new partition is created. +See also +.BR wipefs (8) +command. + +.TP +.BR \-v , " \-\-version" +Display version information and exit. +.TP +.BR \-h , " \-\-help" +Display help text and exit. + +.SH "INPUT FORMATS" +.B sfdisk +supports two input formats and generic header lines. + +.B Header lines +.RS +The optional header lines specify generic information that apply to the partition +table. The header-line format is: +.RS +.sp +.B ": " +.sp +.RE +The currently recognized headers are: +.RS +.TP +.B unit +Specify the partitioning unit. The only supported unit is \fBsectors\fR. +.TP +.B label +Specify the partition table type. For example \fBdos\fR or \fBgpt\fR. +.TP +.B label-id +Specify the partition table identifier. It should be a hexadecimal number +(with a 0x prefix) for MBR and a UUID for GPT. +.TP +.B first-lba +Specify the first usable sector for GPT partitions. +.TP +.B last-lba +Specify the last usable sector for GPT partitions. +.TP +.B table-length +Specify the maximal number of GPT partitions. +.TP +.B grain +Specify minimal size in bytes used to calculate partitions alignment. The +default is 1MiB and it's strongly recommended to use the default. Do not +modify this variable if you're not sure. +.RE +.sp +Note that it is only possible to use header lines before the first partition +is specified in the input. +.RE + +.B Unnamed-fields format +.RS +.RS +.sp +.I start size type bootable +.sp +.RE +where each line fills one partition descriptor. +.sp +Fields are separated by whitespace, comma or semicolon possibly +followed by whitespace; initial and trailing whitespace is ignored. +Numbers can be octal, decimal or hexadecimal; decimal is the default. +When a field is absent, empty or specified as '-' a default value is +used. But when the \fB-N\fR option (change a single partition) is +given, the default for each field is its previous value. +.sp +The default value of +.I start +is the first non-assigned sector aligned according to device I/O limits. +The default start offset for the first partition is 1 MiB. The offset may +be followed by the multiplicative suffixes (KiB, MiB, GiB, TiB, PiB, +EiB, ZiB and YiB) then the number is interpreted as offset in bytes. +.sp +The default value of +.I size +indicates "as much as possible"; i.e. until the next partition or +end-of-device. A numerical argument is by default interpreted as a +number of sectors, however if the size is followed by one of the +multiplicative suffixes (KiB, MiB, GiB, TiB, PiB, EiB, ZiB and YiB) +then the number is interpreted as the size of the partition in bytes +and it is then aligned according to the device I/O limits. A '+' can +be used instead of a number to enlarge the partition as much as +possible. Note '+' is equivalent to the default behaviour for a new +partition; existing partitions will be resized as required. +.sp +The partition +.I type +is given in hex for MBR (DOS), without the 0x prefix, a GUID string for GPT, or +a shortcut: +.RS +.TP +.B L +Linux; means 83 for MBR and 0FC63DAF-8483-4772-8E79-3D69D8477DE4 for GPT. +.TP +.B S +swap area; means 82 for MBR and 0657FD6D-A4AB-43C4-84E5-0933C84B4F4F for GPT +.TP +.B E +extended partition; means 5 for MBR +.TP +.B H +home partition; means 933AC7E1-2EB4-4F13-B844-0E14E2AEF915 for GPT +.TP +.B X +linux extended partition; means 85 for MBR. +.TP +.B U +EFI System partition, means EF for MBR and C12A7328-F81F-11D2-BA4B-00A0C93EC93B for GPT +.TP +.B R +Linux RAID; means FD for MBR and A19D880F-05FC-4D3B-A006-743F0F84911E for GPT +.TP +.B V +LVM; means 8E for MBR and E6D6D379-F507-44C2-A23C-238F2A3DF928 for GPT +.RE +.PP +The default +.I type +value is +.I L + +.I bootable +is specified as [\fB*\fR|\fB-\fR], with as default not-bootable. The +value of this field is irrelevant for Linux - when Linux runs it has +been booted already - but ir might play a role for certain boot +loaders and for other operating systems. +.RE + +.B Named-fields format +.RS +This format is more readable, robust, extensible and allows to specify additional +information (e.g. a UUID). It is recommended to use this format to keep your scripts +more readable. +.RS +.sp +.RI [ "device \fB:" ] " name" [\fB= value "], ..." +.sp +.RE +The +.I device +field is optional. \fBsfdisk\fR extracts the partition number from the +device name. It allows to specify the partitions in random order. +This functionality is mostly used by \fB\-\-dump\fR. +Don't use it if you are not sure. + +The +.I value +can be between quotation marks (e.g. name="This is partition name"). +The currently supported fields are: +.RS +.TP +.BI start= number +The first non-assigned sector aligned according to device I/O limits. The default +start offset for the first partition is 1 MiB. The offset may be followed by +the multiplicative suffixes (KiB, MiB, GiB, TiB, PiB, EiB, ZiB and YiB) then +the number is interpreted as offset in bytes. +.TP +.BI size= number +Specify the partition size in sectors. The number may be followed by the multiplicative +suffixes (KiB, MiB, GiB, TiB, PiB, EiB, ZiB and YiB), then it's interpreted as size +in bytes and the size is aligned according to device I/O limits. +.TP +.B bootable +Mark the partition as bootable. +.TP +.BI attrs= string +Partition attributes, usually GPT partition attribute bits. See +\fB\-\-part\-attrs\fR for more details about the GPT-bits string format. +.TP +.BI uuid= string +GPT partition UUID. +.TP +.BI name= string +GPT partition name. +.TP +.BI type= code +A hexadecimal number (without 0x) for an MBR partition, or a GUID for a GPT partition. +For backward compatibility the \fBId=\fR field has the same meaning. +.RE +.RE + +.SH "EMPTY DISK LABEL" +.B sfdisk +does not create partition table without partitions by default. The lines with +partitions are expected in the script by default. The empty partition table has +to be explicitly requested by "label: " script header line without any +partitions lines. For example: +.RS +.sp +.B "echo 'label: gpt' | sfdisk /dev/sdb" +.sp +.RE +creates empty GPT partition table. Note that the \fB\-\-append\fR disables this feature. + +.SH "BACKING UP THE PARTITION TABLE" +It is recommended to save the layout of your devices. +.B sfdisk +supports two ways. +.sp +Use the \fB\-\-dump\fR option to save a description of the device layout +to a text file. The dump format is suitable for later \fBsfdisk\fR input. +For example: +.RS +.sp +.B "sfdisk --dump /dev/sda > sda.dump" +.sp +.RE +This can later be restored by: +.RS +.sp +.B "sfdisk /dev/sda < sda.dump" +.RE + +If you want to do a full (binary) backup of all sectors where the +partition table is stored, +then use the \fB\-\-backup\fR option. It writes the sectors to +~/sfdisk--.bak files. The default name of the backup file can +be changed with the \fB\-\-backup\-file\fR option. The backup files +contain only raw data from the \fIdevice\fR. +Note that the same concept of backup files is used by +.BR wipefs (8). +For example: +.RS +.sp +.B "sfdisk --backup /dev/sda" +.sp +.RE +The GPT header can later be restored by: +.RS +.sp +.nf +.B "dd if=~/sfdisk-sda-0x00000200.bak of=/dev/sda \e" +.B " seek=$((0x00000200)) bs=1 conv=notrunc" +.fi +.sp +.RE +Note that \fBsfdisk\fR since version 2.26 no longer provides the \fB\-I\fR option to +restore sectors. +.BR dd (1) +provides all necessary functionality. + +.SH COLORS +Implicit coloring can be disabled by an empty file \fI/etc/terminal-colors.d/sfdisk.disable\fR. + +See +.BR terminal-colors.d (5) +for more details about colorization configuration. The logical color names +supported by +.B sfdisk +are: +.TP +.B header +The header of the output tables. +.TP +.B warn +The warning messages. +.TP +.B welcome +The welcome message. + +.SH NOTES +Since version 2.26 \fBsfdisk\fR no longer provides the \fB\-R\fR or +\fB\-\-re\-read\fR option to force the kernel to reread the partition table. +Use \fBblockdev \-\-rereadpt\fR instead. +.PP +Since version 2.26 \fBsfdisk\fR does not provide the \fB\-\-DOS\fR, \fB\-\-IBM\fR, \fB\-\-DOS\-extended\fR, +\fB\-\-unhide\fR, \fB\-\-show\-extended\fR, \fB\-\-cylinders\fR, \fB\-\-heads\fR, \fB\-\-sectors\fR, +\fB\-\-inside\-outer\fR, \fB\-\-not\-inside\-outer\fR options. + +.SH ENVIRONMENT +.IP SFDISK_DEBUG=all +enables sfdisk debug output. +.IP LIBFDISK_DEBUG=all +enables libfdisk debug output. +.IP LIBBLKID_DEBUG=all +enables libblkid debug output. +.IP LIBSMARTCOLS_DEBUG=all +enables libsmartcols debug output. + +.SH "SEE ALSO" +.BR fdisk (8), +.BR cfdisk (8), +.BR parted (8), +.BR partprobe (8), +.BR partx (8) + +.SH AUTHOR +Karel Zak +.PP +The current sfdisk implementation is based on the original sfdisk +from Andries E. Brouwer. + +.SH AVAILABILITY +The sfdisk command is part of the util-linux package and is available from +https://www.kernel.org/pub/linux/utils/util-linux/. diff --git a/disk-utils/sfdisk.c b/disk-utils/sfdisk.c new file mode 100644 index 0000000..3911dda --- /dev/null +++ b/disk-utils/sfdisk.c @@ -0,0 +1,2226 @@ +/* + * Copyright (C) 1995 Andries E. Brouwer (aeb@cwi.nl) + * Copyright (C) 2014 Karel Zak + * + * This program is free software. You can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation: either Version 1 + * or (at your option) any later version. + * + * A.V. Le Blanc (LeBlanc@mcc.ac.uk) wrote Linux fdisk 1992-1994, + * patched by various people (faith@cs.unc.edu, martin@cs.unc.edu, + * leisner@sdsp.mc.xerox.com, esr@snark.thyrsus.com, aeb@cwi.nl) + * 1993-1995, with version numbers (as far as I have seen) 0.93 - 2.0e. + * This program had (head,sector,cylinder) as basic unit, and was + * (therefore) broken in several ways for the use on larger disks - + * for example, my last patch (from 2.0d to 2.0e) was required + * to allow a partition to cross cylinder 8064, and to write an + * extended partition past the 4GB mark. + * + * Karel Zak wrote new sfdisk based on libfdisk from util-linux + * in 2014. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifdef HAVE_LIBREADLINE +# define _FUNCTION_DEF +# include +#endif +#include + +#include "c.h" +#include "xalloc.h" +#include "nls.h" +#include "debug.h" +#include "strutils.h" +#include "closestream.h" +#include "colors.h" +#include "blkdev.h" +#include "all-io.h" +#include "rpmatch.h" +#include "optutils.h" + +#include "libfdisk.h" +#include "fdisk-list.h" + +/* + * sfdisk debug stuff (see fdisk.h and include/debug.h) + */ +static UL_DEBUG_DEFINE_MASK(sfdisk); +UL_DEBUG_DEFINE_MASKNAMES(sfdisk) = UL_DEBUG_EMPTY_MASKNAMES; + +#define SFDISKPROG_DEBUG_INIT (1 << 1) +#define SFDISKPROG_DEBUG_PARSE (1 << 2) +#define SFDISKPROG_DEBUG_MISC (1 << 3) +#define SFDISKPROG_DEBUG_ASK (1 << 4) +#define SFDISKPROG_DEBUG_ALL 0xFFFF + +#define DBG(m, x) __UL_DBG(sfdisk, SFDISKPROG_DEBUG_, m, x) +#define ON_DBG(m, x) __UL_DBG_CALL(sfdisk, SFDISKPROG_DEBUG_, m, x) + +enum { + ACT_FDISK = 1, + ACT_ACTIVATE, + ACT_CHANGE_ID, + ACT_DUMP, + ACT_LIST, + ACT_LIST_FREE, + ACT_LIST_TYPES, + ACT_REORDER, + ACT_SHOW_SIZE, + ACT_SHOW_GEOM, + ACT_VERIFY, + ACT_PARTTYPE, + ACT_PARTUUID, + ACT_PARTLABEL, + ACT_PARTATTRS, + ACT_DELETE +}; + +struct sfdisk { + int act; /* ACT_* */ + int partno; /* -N , default -1 */ + int wipemode; /* remove foreign signatures from disk */ + int pwipemode; /* remove foreign signatures from partitions */ + const char *label; /* --label