From b13154de3eca5ba28fbb4854d916cd0be5febeed Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Fri, 2 Nov 2012 20:15:39 +0400 Subject: Imported Upstream version 2.22 --- .tarball-version | 1 + .version | 1 + ABOUT-NLS | 768 + AUTHORS | 376 + COPYING | 339 + ChangeLog | 3 + Documentation/00-about-docs.txt | 7 + Documentation/TODO | 239 + Documentation/blkid.txt | 80 + Documentation/cal.txt | 42 + Documentation/cfdisk.txt | 35 + Documentation/col.txt | 41 + Documentation/ddate.txt | 73 + Documentation/deprecated.txt | 57 + 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/fdisk.txt | 581 + Documentation/getopt.txt | 31 + Documentation/getopt_changelog.txt | 38 + Documentation/howto-build-sys.txt | 88 + Documentation/howto-compilation.txt | 64 + Documentation/howto-contribute.txt | 128 + Documentation/howto-debug.txt | 72 + Documentation/howto-man-page.txt | 161 + Documentation/howto-tests.txt | 44 + Documentation/howto-usage-function.txt | 147 + Documentation/hwclock.txt | 3 + Documentation/licenses/COPYING.BSD-3 | 25 + Documentation/licenses/COPYING.GPLv2 | 339 + Documentation/licenses/COPYING.LGPLv2.1 | 502 + Documentation/licenses/COPYING.UCB | 32 + Documentation/modems-with-agetty.txt | 76 + Documentation/mount.txt | 17 + Documentation/pg.txt | 13 + Documentation/poeigl.txt | 503 + Documentation/release-schedule.txt | 39 + 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 | 1190 + Documentation/sfdisk.txt | 264 + Documentation/source-code-management.txt | 29 + Makefile.am | 195 + Makefile.in | 10308 ++++++++ NEWS | 1691 ++ README | 47 + README.licensing | 22 + aclocal.m4 | 1205 + autogen.sh | 100 + config.h.in | 626 + config/compile | 143 + config/config.guess | 1501 ++ config/config.rpath | 548 + config/config.sub | 1705 ++ config/depcomp | 630 + config/gtk-doc.make | 245 + config/install-sh | 520 + config/ltmain.sh | 9636 ++++++++ config/missing | 376 + config/mkinstalldirs | 111 + configure | 23833 +++++++++++++++++++ configure.ac | 1344 ++ disk-utils/Makemodule.am | 144 + disk-utils/addpart.8 | 40 + disk-utils/addpart.c | 61 + disk-utils/blockdev.8 | 85 + disk-utils/blockdev.c | 470 + disk-utils/cramfs.h | 114 + disk-utils/cramfs_common.c | 109 + disk-utils/delpart.8 | 34 + disk-utils/delpart.c | 60 + disk-utils/elvtune.8 | 67 + disk-utils/elvtune.c | 174 + disk-utils/fdformat.8 | 65 + disk-utils/fdformat.c | 168 + disk-utils/fsck.8 | 461 + disk-utils/fsck.c | 1576 ++ disk-utils/fsck.cramfs.c | 692 + disk-utils/fsck.minix.8 | 136 + disk-utils/fsck.minix.c | 1391 ++ disk-utils/isosize.8 | 35 + disk-utils/isosize.c | 219 + disk-utils/minix_programs.h | 118 + disk-utils/mkfs.8 | 110 + disk-utils/mkfs.bfs.8 | 58 + disk-utils/mkfs.bfs.c | 296 + disk-utils/mkfs.c | 144 + disk-utils/mkfs.cramfs.c | 913 + disk-utils/mkfs.minix.8 | 86 + disk-utils/mkfs.minix.c | 815 + disk-utils/mkswap.8 | 148 + disk-utils/mkswap.c | 672 + disk-utils/partx.8 | 173 + disk-utils/partx.c | 891 + disk-utils/partx.h | 75 + disk-utils/raw.8 | 92 + disk-utils/raw.c | 270 + disk-utils/resizepart.8 | 38 + disk-utils/resizepart.c | 106 + disk-utils/swaplabel.8 | 67 + disk-utils/swaplabel.c | 228 + fdisks/Makemodule.am | 87 + fdisks/cfdisk.8 | 452 + fdisks/cfdisk.c | 2854 +++ fdisks/common.h | 15 + fdisks/fdisk.8 | 288 + fdisks/fdisk.c | 1935 ++ fdisks/fdisk.h | 294 + fdisks/fdiskaixlabel.c | 90 + fdisks/fdiskaixlabel.h | 25 + fdisks/fdiskbsdlabel.c | 855 + fdisks/fdiskbsdlabel.h | 245 + fdisks/fdiskdoslabel.c | 833 + fdisks/fdiskdoslabel.h | 47 + fdisks/fdiskmaclabel.c | 108 + fdisks/fdiskmaclabel.h | 34 + fdisks/fdisksgilabel.c | 907 + fdisks/fdisksgilabel.h | 131 + fdisks/fdisksunlabel.c | 661 + fdisks/fdisksunlabel.h | 91 + fdisks/gpt.c | 216 + fdisks/gpt.h | 7 + fdisks/i386_sys_types.c | 110 + fdisks/partname.c | 48 + fdisks/sfdisk.8 | 603 + fdisks/sfdisk.c | 3242 +++ fdisks/utils.c | 523 + include/Makemodule.am | 45 + include/all-io.h | 72 + include/at.h | 32 + include/bitops.h | 84 + include/blkdev.h | 140 + include/c.h | 269 + include/canonicalize.h | 9 + include/carefulputc.h | 29 + include/closestream.h | 51 + include/cpuset.h | 95 + include/crc32.h | 9 + include/env.h | 17 + include/exitcodes.h | 35 + include/fileutils.h | 23 + include/ismounted.h | 14 + include/linux_reboot.h | 72 + include/linux_version.h | 14 + include/list.h | 333 + include/loopdev.h | 195 + include/mangle.h | 26 + include/match.h | 12 + include/mbsalign.h | 45 + include/md5.h | 29 + include/minix.h | 82 + include/nls.h | 115 + include/optutils.h | 95 + include/pager.h | 6 + include/pamfail.h | 16 + include/path.h | 17 + include/pathnames.h | 154 + include/procutils.h | 14 + include/randutils.h | 12 + include/rpmatch.h | 9 + include/setproctitle.h | 7 + include/strutils.h | 76 + include/swapheader.h | 28 + include/sysfs.h | 68 + include/tt.h | 93 + include/ttyutils.h | 116 + include/usleep.h | 18 + include/wholedisk.h | 8 + include/widechar.h | 38 + include/xalloc.h | 78 + include/xgetpass.h | 6 + lib/Makemodule.am | 111 + lib/at.c | 140 + lib/blkdev.c | 370 + lib/canonicalize.c | 205 + lib/cpuset.c | 399 + lib/crc32.c | 116 + lib/env.c | 109 + lib/fileutils.c | 83 + lib/ismounted.c | 372 + lib/langinfo.c | 121 + lib/linux_version.c | 25 + lib/loopdev.c | 1592 ++ lib/mangle.c | 166 + lib/match.c | 53 + lib/mbsalign.c | 290 + lib/md5.c | 254 + lib/pager.c | 215 + lib/path.c | 218 + lib/procutils.c | 124 + lib/randutils.c | 121 + lib/setproctitle.c | 74 + lib/strutils.c | 696 + lib/sysfs.c | 705 + lib/tt.c | 998 + lib/wholedisk.c | 57 + lib/xgetpass.c | 46 + libblkid/COPYING | 8 + libblkid/Makemodule.am | 16 + libblkid/blkid.pc.in | 11 + libblkid/docs/Makefile.am | 94 + libblkid/docs/Makefile.in | 728 + libblkid/docs/libblkid-config.xml | 57 + libblkid/docs/libblkid-docs.xml | 69 + libblkid/docs/libblkid-sections.txt | 192 + 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 | 95 + libblkid/samples/superblocks.c | 67 + libblkid/samples/topology.c | 86 + libblkid/src/Makemodule.am | 233 + libblkid/src/blkid.h.in | 351 + libblkid/src/blkid.sym | 148 + libblkid/src/blkidP.h | 481 + libblkid/src/cache.c | 272 + libblkid/src/config.c | 201 + libblkid/src/dev.c | 272 + libblkid/src/devname.c | 676 + libblkid/src/devno.c | 399 + libblkid/src/encode.c | 338 + libblkid/src/evaluate.c | 328 + libblkid/src/getsize.c | 34 + libblkid/src/llseek.c | 142 + libblkid/src/partitions/aix.c | 59 + libblkid/src/partitions/aix.h | 7 + libblkid/src/partitions/blkid_parttypes.h | 121 + libblkid/src/partitions/bsd.c | 243 + libblkid/src/partitions/dos.c | 288 + libblkid/src/partitions/dos.h | 36 + libblkid/src/partitions/gpt.c | 409 + libblkid/src/partitions/mac.c | 183 + libblkid/src/partitions/minix.c | 100 + libblkid/src/partitions/partitions.c | 1355 ++ libblkid/src/partitions/partitions.h | 62 + libblkid/src/partitions/sgi.c | 159 + libblkid/src/partitions/solaris_x86.c | 151 + libblkid/src/partitions/sun.c | 188 + libblkid/src/partitions/ultrix.c | 96 + libblkid/src/partitions/unixware.c | 194 + libblkid/src/probe.c | 1681 ++ libblkid/src/read.c | 500 + libblkid/src/resolve.c | 139 + libblkid/src/save.c | 219 + libblkid/src/superblocks/adaptec_raid.c | 114 + libblkid/src/superblocks/befs.c | 478 + libblkid/src/superblocks/bfs.c | 23 + libblkid/src/superblocks/btrfs.c | 93 + libblkid/src/superblocks/cramfs.c | 62 + libblkid/src/superblocks/ddf_raid.c | 139 + libblkid/src/superblocks/drbd.c | 117 + libblkid/src/superblocks/drbdproxy_datalog.c | 55 + libblkid/src/superblocks/exfat.c | 146 + libblkid/src/superblocks/ext.c | 540 + libblkid/src/superblocks/gfs.c | 131 + libblkid/src/superblocks/hfs.c | 321 + libblkid/src/superblocks/highpoint_raid.c | 87 + libblkid/src/superblocks/hpfs.c | 122 + libblkid/src/superblocks/iso9660.c | 215 + libblkid/src/superblocks/isw_raid.c | 65 + libblkid/src/superblocks/jfs.c | 71 + libblkid/src/superblocks/jmicron_raid.c | 64 + libblkid/src/superblocks/linux_raid.c | 258 + libblkid/src/superblocks/lsi_raid.c | 60 + libblkid/src/superblocks/luks.c | 66 + libblkid/src/superblocks/lvm.c | 228 + libblkid/src/superblocks/minix.c | 94 + libblkid/src/superblocks/netware.c | 97 + libblkid/src/superblocks/nilfs.c | 120 + libblkid/src/superblocks/ntfs.c | 224 + libblkid/src/superblocks/nvidia_raid.c | 64 + libblkid/src/superblocks/ocfs.c | 213 + libblkid/src/superblocks/promise_raid.c | 71 + libblkid/src/superblocks/reiserfs.c | 128 + libblkid/src/superblocks/romfs.c | 51 + libblkid/src/superblocks/silicon_raid.c | 85 + libblkid/src/superblocks/squashfs.c | 68 + libblkid/src/superblocks/superblocks.c | 768 + libblkid/src/superblocks/superblocks.h | 92 + libblkid/src/superblocks/swap.c | 171 + libblkid/src/superblocks/sysv.c | 154 + libblkid/src/superblocks/ubifs.c | 120 + libblkid/src/superblocks/udf.c | 169 + libblkid/src/superblocks/ufs.c | 258 + libblkid/src/superblocks/vfat.c | 427 + libblkid/src/superblocks/via_raid.c | 89 + libblkid/src/superblocks/vmfs.c | 101 + libblkid/src/superblocks/vxfs.c | 41 + libblkid/src/superblocks/xfs.c | 63 + libblkid/src/superblocks/zfs.c | 226 + libblkid/src/tag.c | 474 + libblkid/src/topology/dm.c | 138 + libblkid/src/topology/evms.c | 77 + libblkid/src/topology/ioctl.c | 74 + libblkid/src/topology/lvm.c | 150 + libblkid/src/topology/md.c | 154 + libblkid/src/topology/sysfs.c | 119 + libblkid/src/topology/topology.c | 366 + libblkid/src/topology/topology.h | 24 + libblkid/src/verify.c | 243 + libblkid/src/version.c | 62 + libmount/COPYING | 8 + libmount/Makemodule.am | 15 + libmount/docs/Makefile.am | 93 + libmount/docs/Makefile.in | 727 + libmount/docs/libmount-docs.xml | 65 + libmount/docs/libmount-sections.txt | 341 + libmount/docs/version.xml | 1 + libmount/docs/version.xml.in | 1 + libmount/mount.pc.in | 11 + libmount/src/Makemodule.am | 137 + libmount/src/cache.c | 697 + libmount/src/context.c | 2297 ++ libmount/src/context_loopdev.c | 368 + libmount/src/context_mount.c | 935 + libmount/src/context_umount.c | 856 + libmount/src/fs.c | 1501 ++ libmount/src/init.c | 45 + libmount/src/iter.c | 78 + libmount/src/libmount.h.in | 653 + libmount/src/libmount.sym | 250 + libmount/src/lock.c | 697 + libmount/src/mountP.h | 402 + libmount/src/optmap.c | 233 + libmount/src/optstr.c | 1303 + libmount/src/tab.c | 1195 + libmount/src/tab_diff.c | 362 + libmount/src/tab_parse.c | 944 + libmount/src/tab_update.c | 862 + libmount/src/test.c | 59 + libmount/src/utils.c | 991 + libmount/src/version.c | 127 + libuuid/COPYING | 5 + libuuid/Makemodule.am | 10 + libuuid/man/Makemodule.am | 14 + libuuid/man/uuid.3 | 65 + libuuid/man/uuid_clear.3 | 60 + libuuid/man/uuid_compare.3 | 66 + libuuid/man/uuid_copy.3 | 62 + libuuid/man/uuid_generate.3 | 126 + 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 | 62 + libuuid/man/uuid_parse.3 | 71 + libuuid/man/uuid_time.3 | 76 + libuuid/man/uuid_unparse.3 | 79 + libuuid/src/Makemodule.am | 56 + libuuid/src/clear.c | 43 + libuuid/src/compare.c | 55 + libuuid/src/copy.c | 45 + libuuid/src/gen_uuid.c | 551 + libuuid/src/isnull.c | 48 + libuuid/src/pack.c | 69 + libuuid/src/parse.c | 79 + libuuid/src/test_uuid.c | 180 + libuuid/src/unpack.c | 63 + libuuid/src/unparse.c | 76 + libuuid/src/uuid.h | 104 + libuuid/src/uuid.sym | 46 + libuuid/src/uuidP.h | 61 + libuuid/src/uuid_time.c | 171 + libuuid/src/uuidd.h | 54 + libuuid/uuid.pc.in | 11 + login-utils/Makemodule.am | 146 + login-utils/chfn.1 | 82 + login-utils/chfn.c | 486 + login-utils/chsh.1 | 65 + login-utils/chsh.c | 380 + login-utils/islocal.c | 115 + login-utils/islocal.h | 1 + login-utils/last.1 | 62 + login-utils/last.c | 481 + login-utils/login.1 | 334 + login-utils/login.c | 1477 ++ login-utils/logindefs.c | 297 + login-utils/logindefs.h | 12 + login-utils/newgrp.1 | 34 + login-utils/newgrp.c | 185 + login-utils/selinux_utils.c | 51 + login-utils/selinux_utils.h | 2 + login-utils/setpwnam.c | 218 + login-utils/setpwnam.h | 29 + login-utils/su.c | 813 + login-utils/sulogin.8 | 90 + login-utils/sulogin.c | 609 + login-utils/utmpdump.1 | 74 + login-utils/utmpdump.c | 363 + login-utils/vigr.8 | 1 + login-utils/vipw.8 | 90 + login-utils/vipw.c | 353 + m4/compiler.m4 | 32 + m4/gettext.m4 | 487 + m4/gtk-doc.m4 | 39 + m4/iconv.m4 | 103 + m4/lib-ld.m4 | 112 + m4/lib-link.m4 | 551 + m4/lib-prefix.m4 | 155 + m4/libtool.m4 | 7835 ++++++ m4/ltoptions.m4 | 369 + m4/ltsugar.m4 | 123 + m4/ltversion.m4 | 23 + m4/lt~obsolete.m4 | 98 + m4/nls.m4 | 49 + m4/po.m4 | 426 + m4/progtest.m4 | 91 + m4/tls.m4 | 111 + m4/ul.m4 | 301 + man/ru/ddate.1 | 123 + misc-utils/Makemodule.am | 175 + misc-utils/blkid.8 | 299 + misc-utils/blkid.c | 957 + misc-utils/cal.1 | 97 + misc-utils/cal.c | 800 + misc-utils/chkdupexe | 120 + misc-utils/chkdupexe.1 | 38 + misc-utils/chkdupexe.pl | 120 + misc-utils/ddate.1 | 114 + misc-utils/ddate.c | 374 + misc-utils/findfs.8 | 34 + misc-utils/findfs.c | 69 + misc-utils/findmnt.8 | 217 + misc-utils/findmnt.c | 1368 ++ misc-utils/getopt-parse.bash | 47 + misc-utils/getopt-parse.tcsh | 77 + misc-utils/getopt.1 | 448 + misc-utils/getopt.c | 458 + misc-utils/kill.1 | 111 + misc-utils/kill.c | 439 + misc-utils/kill.h | 1 + misc-utils/logger.1 | 155 + misc-utils/logger.c | 338 + misc-utils/look.1 | 116 + misc-utils/look.c | 381 + misc-utils/lsblk.8 | 104 + misc-utils/lsblk.c | 1421 ++ misc-utils/lslocks.8 | 82 + misc-utils/lslocks.c | 574 + misc-utils/mcookie.1 | 65 + misc-utils/mcookie.c | 190 + misc-utils/namei.1 | 74 + misc-utils/namei.c | 528 + misc-utils/procs.c | 126 + misc-utils/rename.1 | 60 + misc-utils/rename.c | 126 + misc-utils/sd-daemon.c | 530 + misc-utils/sd-daemon.h | 282 + misc-utils/uuidd.8 | 94 + misc-utils/uuidd.8.in | 94 + misc-utils/uuidd.c | 669 + misc-utils/uuidd.rc.in | 71 + misc-utils/uuidd.service.in | 12 + misc-utils/uuidd.socket.in | 8 + misc-utils/uuidgen.1 | 63 + misc-utils/uuidgen.c | 104 + misc-utils/whereis.1 | 140 + misc-utils/whereis.c | 485 + misc-utils/wipefs.8 | 74 + misc-utils/wipefs.c | 472 + mount-deprecated/Makemodule.am | 70 + mount-deprecated/devname.c | 14 + mount-deprecated/devname.h | 6 + mount-deprecated/fsprobe.c | 141 + mount-deprecated/fsprobe.h | 27 + mount-deprecated/fstab.c | 988 + mount-deprecated/fstab.h | 39 + mount-deprecated/getusername.c | 14 + mount-deprecated/getusername.h | 1 + mount-deprecated/mount.8 | 2857 +++ mount-deprecated/mount.c | 2652 +++ mount-deprecated/mount_constants.h | 73 + mount-deprecated/mount_mntent.c | 165 + mount-deprecated/mount_mntent.h | 28 + mount-deprecated/sundries.c | 300 + mount-deprecated/sundries.h | 55 + mount-deprecated/umount.8 | 179 + mount-deprecated/umount.c | 867 + po/Makefile.in.in | 367 + po/Makevars | 41 + po/POTFILES.in | 359 + po/Rules-quot | 47 + po/boldquot.sed | 10 + po/ca.gmo | Bin 0 -> 107864 bytes po/ca.po | 18346 ++++++++++++++ po/cs.gmo | Bin 0 -> 366948 bytes po/cs.po | 18982 +++++++++++++++ po/da.gmo | Bin 0 -> 203120 bytes po/da.po | 17505 ++++++++++++++ po/de.gmo | Bin 0 -> 140256 bytes po/de.po | 18683 +++++++++++++++ po/en@boldquot.header | 25 + po/en@quot.header | 22 + po/es.gmo | Bin 0 -> 109252 bytes po/es.po | 18505 ++++++++++++++ po/et.gmo | Bin 0 -> 66327 bytes po/et.po | 16957 +++++++++++++ po/eu.gmo | Bin 0 -> 41821 bytes po/eu.po | 16139 +++++++++++++ po/fi.gmo | Bin 0 -> 119334 bytes po/fi.po | 18262 ++++++++++++++ po/fr.gmo | Bin 0 -> 380700 bytes po/fr.po | 18559 +++++++++++++++ po/gl.gmo | Bin 0 -> 28136 bytes po/gl.po | 15217 ++++++++++++ po/hu.gmo | Bin 0 -> 130978 bytes po/hu.po | 17686 ++++++++++++++ po/id.gmo | Bin 0 -> 136970 bytes po/id.po | 18518 ++++++++++++++ po/insert-header.sin | 23 + po/it.gmo | Bin 0 -> 101950 bytes po/it.po | 18075 ++++++++++++++ po/ja.gmo | Bin 0 -> 143321 bytes po/ja.po | 18380 ++++++++++++++ po/nl.gmo | Bin 0 -> 326508 bytes po/nl.po | 18072 ++++++++++++++ po/pl.gmo | Bin 0 -> 364902 bytes po/pl.po | 16330 +++++++++++++ po/pt_BR.gmo | Bin 0 -> 86557 bytes po/pt_BR.po | 18214 ++++++++++++++ po/quot.sed | 6 + po/remove-potcdate.sin | 19 + po/ru.gmo | Bin 0 -> 104387 bytes po/ru.po | 18063 ++++++++++++++ po/sl.gmo | Bin 0 -> 99435 bytes po/sl.po | 18076 ++++++++++++++ po/stamp-po | 1 + po/sv.gmo | Bin 0 -> 112065 bytes po/sv.po | 18388 ++++++++++++++ po/tr.gmo | Bin 0 -> 106429 bytes po/tr.po | 18249 ++++++++++++++ po/uk.gmo | Bin 0 -> 470024 bytes po/uk.po | 16507 +++++++++++++ po/update-potfiles | 19 + po/util-linux.pot | 14597 ++++++++++++ po/vi.gmo | Bin 0 -> 389757 bytes po/vi.po | 18362 ++++++++++++++ po/zh_CN.gmo | Bin 0 -> 48615 bytes po/zh_CN.po | 14999 ++++++++++++ po/zh_TW.gmo | Bin 0 -> 141721 bytes po/zh_TW.po | 17762 ++++++++++++++ schedutils/Makemodule.am | 22 + schedutils/chrt.1 | 158 + schedutils/chrt.c | 339 + schedutils/ionice.1 | 114 + schedutils/ionice.c | 238 + schedutils/taskset.1 | 128 + schedutils/taskset.c | 242 + sys-utils/Makemodule.am | 302 + sys-utils/arch.1 | 40 + sys-utils/arch.c | 84 + sys-utils/chcpu.8 | 96 + sys-utils/chcpu.c | 335 + sys-utils/ctrlaltdel.8 | 51 + sys-utils/ctrlaltdel.c | 69 + sys-utils/cyclades.h | 16 + sys-utils/cytune.8 | 194 + sys-utils/cytune.c | 461 + sys-utils/dmesg.1 | 162 + sys-utils/dmesg.c | 1214 + sys-utils/eject.1 | 165 + sys-utils/eject.c | 1132 + sys-utils/fallocate.1 | 62 + sys-utils/fallocate.c | 173 + sys-utils/flock.1 | 166 + sys-utils/flock.c | 343 + sys-utils/fsfreeze.8 | 73 + sys-utils/fsfreeze.c | 134 + sys-utils/fstab.5 | 271 + sys-utils/fstrim.8 | 85 + sys-utils/fstrim.c | 153 + sys-utils/hwclock-cmos.c | 677 + sys-utils/hwclock-kd.c | 182 + sys-utils/hwclock-rtc.c | 509 + sys-utils/hwclock.8 | 661 + sys-utils/hwclock.c | 1870 ++ sys-utils/hwclock.h | 47 + sys-utils/ipcmk.1 | 51 + sys-utils/ipcmk.c | 160 + sys-utils/ipcrm.1 | 111 + sys-utils/ipcrm.c | 410 + sys-utils/ipcs.1 | 103 + sys-utils/ipcs.c | 714 + sys-utils/ldattach.8 | 144 + sys-utils/ldattach.c | 373 + sys-utils/losetup.8 | 174 + sys-utils/losetup.c | 465 + sys-utils/lp.h | 83 + sys-utils/lscpu.1 | 149 + sys-utils/lscpu.c | 1400 ++ sys-utils/mount.8 | 2935 +++ sys-utils/mount.c | 995 + sys-utils/mountpoint.1 | 43 + sys-utils/mountpoint.c | 212 + sys-utils/pivot_root.8 | 75 + sys-utils/pivot_root.c | 75 + sys-utils/prlimit.1 | 124 + sys-utils/prlimit.c | 643 + sys-utils/readprofile.8 | 152 + sys-utils/readprofile.c | 405 + sys-utils/renice.1 | 128 + sys-utils/renice.c | 185 + sys-utils/rtcwake.8 | 146 + sys-utils/rtcwake.c | 624 + sys-utils/setarch.8 | 85 + sys-utils/setarch.c | 351 + sys-utils/setsid.1 | 24 + sys-utils/setsid.c | 98 + sys-utils/swapoff.8 | 1 + sys-utils/swapoff.c | 196 + sys-utils/swapon-common.c | 106 + sys-utils/swapon-common.h | 26 + sys-utils/swapon.8 | 241 + sys-utils/swapon.c | 823 + sys-utils/switch_root.8 | 61 + sys-utils/switch_root.c | 225 + sys-utils/tunelp.8 | 147 + sys-utils/tunelp.c | 335 + sys-utils/umount.8 | 175 + sys-utils/umount.c | 399 + sys-utils/unshare.1 | 62 + sys-utils/unshare.c | 137 + sys-utils/wdctl.8 | 61 + sys-utils/wdctl.c | 577 + term-utils/Makemodule.am | 94 + term-utils/agetty.8 | 371 + term-utils/agetty.c | 1914 ++ term-utils/mesg.1 | 112 + term-utils/mesg.c | 158 + term-utils/reset | 13 + term-utils/reset.033c | 11 + term-utils/reset.1 | 45 + term-utils/script.1 | 156 + term-utils/script.c | 568 + term-utils/scriptreplay.1 | 107 + term-utils/scriptreplay.c | 234 + term-utils/setterm.1 | 196 + term-utils/setterm.c | 1290 + term-utils/ttymsg.c | 191 + term-utils/ttymsg.h | 2 + term-utils/wall.1 | 86 + term-utils/wall.c | 280 + term-utils/write.1 | 102 + term-utils/write.c | 381 + tests/Makemodule.am | 20 + tests/commands.sh | 64 + tests/expected/bitops/swapbytes | 21 + tests/expected/blkid/low-probe-adaptec-raid | 3 + 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 + 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-fat | 8 + tests/expected/blkid/low-probe-fat16_noheads | 8 + tests/expected/blkid/low-probe-fat32_label_64MB | 7 + 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 | 6 + tests/expected/blkid/low-probe-iso-joliet | 7 + tests/expected/blkid/low-probe-iso-rr-joliet | 7 + tests/expected/blkid/low-probe-isw-raid | 3 + tests/expected/blkid/low-probe-jbd | 5 + 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-lvm2 | 5 + tests/expected/blkid/low-probe-mdraid | 5 + tests/expected/blkid/low-probe-minix | 3 + 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 | 7 + 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-ubifs | 5 + tests/expected/blkid/low-probe-udf | 4 + tests/expected/blkid/low-probe-ufs | 5 + 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-zfs | 9 + 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 | 4 + tests/expected/blkid/lowprobe-pt-sun | 4 + tests/expected/blkid/md-raid0-whole | 53 + tests/expected/blkid/md-raid1-part | 64 + tests/expected/blkid/md-raid1-whole | 52 + tests/expected/build-sys/config | 0 tests/expected/build-sys/config-all | 111 + tests/expected/build-sys/config-all-devel | 120 + tests/expected/build-sys/config-all-non-nls | 111 + tests/expected/build-sys/config-audit | 94 + tests/expected/build-sys/config-core | 94 + tests/expected/build-sys/config-devel | 111 + tests/expected/build-sys/config-devel-new-mount | 127 + tests/expected/build-sys/config-non-libblkid | 75 + tests/expected/build-sys/config-non-libmount | 84 + tests/expected/build-sys/config-non-libs | 72 + tests/expected/build-sys/config-non-libuuid | 91 + tests/expected/build-sys/config-non-nls | 94 + tests/expected/build-sys/config-old-mount | 94 + tests/expected/build-sys/config-selinux | 94 + tests/expected/build-sys/config-slang | 94 + tests/expected/build-sys/config-static | 100 + tests/expected/cal/1m | 37 + tests/expected/cal/3m | 37 + tests/expected/cal/year | 177 + tests/expected/col/multibyte | 1 + tests/expected/colrm/rm2-2 | 3 + tests/expected/column/fillrow | 4 + tests/expected/column/multi-file | 10 + tests/expected/column/separator_table | 10 + tests/expected/cramfs/doubles | 3 + tests/expected/cramfs/fsck-endianness | 8 + tests/expected/cramfs/mkfs | 4125 ++++ tests/expected/cramfs/mkfs-endianness | 4 + tests/expected/eject/umount | 0 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 | 83 + tests/expected/fdisk/align-512-4K-63 | 84 + tests/expected/fdisk/align-512-4K-md | 87 + tests/expected/fdisk/align-512-4K-topology | 78 + tests/expected/fdisk/align-512-512 | 68 + tests/expected/fdisk/align-512-512-topology | 79 + tests/expected/fdisk/id | 5 + tests/expected/fdisk/mbr-dos-mode | 182 + tests/expected/fdisk/mbr-nondos-mode | 195 + tests/expected/fdisk/oddinput | 14 + tests/expected/fdisk/oddinput.toosmall | 1 + tests/expected/fdisk/sunlabel | 16 + tests/expected/fsck/ismounted | 1 + tests/expected/ipcs/headers | 64 + tests/expected/ipcs/limits | 11 + tests/expected/ipcs/limits2 | 4 + tests/expected/libmount/context | 5 + 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-umount-by-devname | 1 + .../expected/libmount/context-umount-by-mountpoint | 1 + tests/expected/libmount/context-utab | 9 + .../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-umount | 1 + .../libmount/context-utab-umount-by-devname | 1 + tests/expected/libmount/context-utab-umount-subvol | 1 + tests/expected/libmount/lock | 1 + tests/expected/libmount/optstr-append | 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-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-value | 1 + tests/expected/libmount/optstr-remove | 1 + tests/expected/libmount/optstr-remove-quoted | 1 + tests/expected/libmount/optstr-remove-value | 1 + tests/expected/libmount/optstr-set-large | 1 + tests/expected/libmount/optstr-set-new | 1 + tests/expected/libmount/optstr-set-new-end | 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 | 0 tests/expected/libmount/tabdiff-mount | 1 + tests/expected/libmount/tabdiff-move | 1 + tests/expected/libmount/tabdiff-remount | 2 + tests/expected/libmount/tabdiff-umount | 1 + 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-mountinfo | 352 + tests/expected/libmount/tabfiles-parse-mtab | 68 + 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/update-fstab-add | 3 + 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-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-fs-root | 1 + tests/expected/libmount/utils-fs-root-subdir | 1 + tests/expected/libmount/utils-fs-root-subdir2 | 1 + 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/login/islocal | 13 + tests/expected/login/logindefs | 14 + tests/expected/look/separator | 1 + tests/expected/lscpu/lscpu-i386-amdshanghai | 29 + tests/expected/lscpu/lscpu-i386-dellpe700 | 17 + tests/expected/lscpu/lscpu-i386-intels5000phb | 28 + tests/expected/lscpu/lscpu-i386-xenpara | 19 + tests/expected/lscpu/lscpu-ia64-512cpus | 654 + tests/expected/lscpu/lscpu-ia64-hpmatterhorn | 29 + tests/expected/lscpu/lscpu-ia64-hprx1620 | 21 + tests/expected/lscpu/lscpu-ia64-pg0 | 37 + tests/expected/lscpu/lscpu-ppc64-POWER7 | 31 + tests/expected/lscpu/lscpu-s390-kvm | 21 + tests/expected/lscpu/lscpu-s390-lpar | 36 + tests/expected/lscpu/lscpu-s390-zvm | 22 + tests/expected/lscpu/lscpu-sparc64-UltraSparc-T1 | 38 + tests/expected/lscpu/lscpu-x86_64-64cpu | 88 + tests/expected/lscpu/lscpu-x86_64-dell_e4310 | 28 + .../expected/lscpu/lscpu-x86_64-dell_poweredge1950 | 23 + .../expected/lscpu/lscpu-x86_64-dell_poweredgeR610 | 40 + tests/expected/lscpu/lscpu-x86_64-dellr710 | 40 + tests/expected/lscpu/lscpu-x86_64-el5xen | 30 + tests/expected/lscpu/lscpu-x86_64-hpdl585 | 42 + tests/expected/lscpu/lscpu-x86_64-ibme326m | 23 + tests/expected/lscpu/lscpu-x86_64-necem14 | 22 + tests/expected/lscpu/lscpu-x86_64-xenfull | 22 + tests/expected/md5/md5 | 7 + tests/expected/minix/fsck | 8 + tests/expected/minix/mkfs | 10 + tests/expected/misc/strtosize | 30 + tests/expected/mount/devname | 1 + tests/expected/mount/encryption | 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-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-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/noncanonical | 2 + tests/expected/mount/paths | 11 + 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-make-private | 1 + tests/expected/mount/shared-subtree-make-shared | 1 + .../expected/mount/shared-subtree-make-unbindable | 1 + tests/expected/mount/special | 1 + tests/expected/mount/uuid | 1 + tests/expected/namei/logic | 13 + tests/expected/partx/partx-bsd | 3 + tests/expected/partx/partx-dos+bsd | 5 + tests/expected/partx/partx-gpt | 6 + tests/expected/partx/partx-sgi | 3 + tests/expected/partx/partx-sun | 3 + tests/expected/paths/built-in | 35 + tests/expected/schedutils/cpuset | 24 + tests/expected/script/race | 1 + 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/functions.sh | 470 + tests/helpers/Makemodule.am | 12 + tests/helpers/test_byteswap.c | 114 + tests/helpers/test_md5.c | 29 + tests/helpers/test_pathnames.c | 100 + tests/helpers/test_sysinfo.c | 129 + tests/run.sh | 136 + tests/ts/bitops/swapbytes | 27 + tests/ts/blkid/images-fs/adaptec-raid.img.bz2 | Bin 0 -> 256 bytes tests/ts/blkid/images-fs/befs.img.bz2 | Bin 0 -> 36236 bytes tests/ts/blkid/images-fs/bfs.img.bz2 | Bin 0 -> 133 bytes tests/ts/blkid/images-fs/cramfs.img.bz2 | Bin 0 -> 124 bytes tests/ts/blkid/images-fs/ddf-raid.img.bz2 | Bin 0 -> 599 bytes tests/ts/blkid/images-fs/exfat.img.bz2 | Bin 0 -> 6301 bytes tests/ts/blkid/images-fs/ext2.img.bz2 | Bin 0 -> 356 bytes tests/ts/blkid/images-fs/ext3.img.bz2 | Bin 0 -> 1489 bytes tests/ts/blkid/images-fs/fat.img.bz2 | Bin 0 -> 249 bytes tests/ts/blkid/images-fs/fat16_noheads.img.bz2 | Bin 0 -> 336 bytes tests/ts/blkid/images-fs/fat32_label_64MB.img.bz2 | Bin 0 -> 1151 bytes tests/ts/blkid/images-fs/gfs2.img.bz2 | Bin 0 -> 130 bytes tests/ts/blkid/images-fs/hfs.img.bz2 | Bin 0 -> 257 bytes tests/ts/blkid/images-fs/hfsplus.img.bz2 | Bin 0 -> 300 bytes tests/ts/blkid/images-fs/hpfs.img.bz2 | Bin 0 -> 2454 bytes tests/ts/blkid/images-fs/hpt37x-raid.img.bz2 | Bin 0 -> 123 bytes tests/ts/blkid/images-fs/hpt45x-raid.img.bz2 | Bin 0 -> 151 bytes tests/ts/blkid/images-fs/iso-joliet.img.bz2 | Bin 0 -> 21050 bytes tests/ts/blkid/images-fs/iso-rr-joliet.img.bz2 | Bin 0 -> 21380 bytes tests/ts/blkid/images-fs/iso.img.bz2 | Bin 0 -> 20718 bytes tests/ts/blkid/images-fs/isw-raid.img.bz2 | Bin 0 -> 251 bytes tests/ts/blkid/images-fs/jbd.img.bz2 | Bin 0 -> 214 bytes tests/ts/blkid/images-fs/jfs.img.bz2 | Bin 0 -> 3434 bytes tests/ts/blkid/images-fs/jmicron-raid.img.bz2 | Bin 0 -> 159 bytes tests/ts/blkid/images-fs/lsi-raid.img.bz2 | Bin 0 -> 146 bytes tests/ts/blkid/images-fs/lvm2.img.bz2 | Bin 0 -> 177 bytes tests/ts/blkid/images-fs/mdraid.img.bz2 | Bin 0 -> 160 bytes tests/ts/blkid/images-fs/minix.img.bz2 | Bin 0 -> 138 bytes tests/ts/blkid/images-fs/netware.img.bz2 | Bin 0 -> 239 bytes tests/ts/blkid/images-fs/nilfs2.img.bz2 | Bin 0 -> 795 bytes tests/ts/blkid/images-fs/ntfs.img.bz2 | Bin 0 -> 35942 bytes tests/ts/blkid/images-fs/nvidia-raid.img.bz2 | Bin 0 -> 175 bytes tests/ts/blkid/images-fs/ocfs2.img.bz2 | Bin 0 -> 1070 bytes tests/ts/blkid/images-fs/promise-raid.img.bz2 | Bin 0 -> 784 bytes tests/ts/blkid/images-fs/reiser3.img.bz2 | Bin 0 -> 282 bytes tests/ts/blkid/images-fs/reiser4.img.bz2 | Bin 0 -> 372 bytes tests/ts/blkid/images-fs/romfs.img.bz2 | Bin 0 -> 115 bytes tests/ts/blkid/images-fs/silicon-raid.img.bz2 | Bin 0 -> 328 bytes tests/ts/blkid/images-fs/small-fat32.img.bz2 | Bin 0 -> 372 bytes tests/ts/blkid/images-fs/swap0.img.bz2 | Bin 0 -> 75 bytes tests/ts/blkid/images-fs/swap1.img.bz2 | Bin 0 -> 121 bytes tests/ts/blkid/images-fs/tuxonice.img.bz2 | Bin 0 -> 36891 bytes tests/ts/blkid/images-fs/ubifs.img.bz2 | Bin 0 -> 937 bytes tests/ts/blkid/images-fs/udf.img.bz2 | Bin 0 -> 2031 bytes tests/ts/blkid/images-fs/ufs.img.bz2 | Bin 0 -> 1318 bytes tests/ts/blkid/images-fs/via-raid.img.bz2 | Bin 0 -> 99 bytes tests/ts/blkid/images-fs/vmfs.img.bz2 | Bin 0 -> 144 bytes tests/ts/blkid/images-fs/vmfs_volume.img.bz2 | Bin 0 -> 287 bytes tests/ts/blkid/images-fs/xfs.img.bz2 | Bin 0 -> 443 bytes tests/ts/blkid/images-fs/zfs.img.bz2 | Bin 0 -> 10912 bytes tests/ts/blkid/images-pt/bsd.img.bz2 | Bin 0 -> 122 bytes tests/ts/blkid/images-pt/dos+bsd.img.bz2 | Bin 0 -> 1728 bytes tests/ts/blkid/images-pt/gpt.img.bz2 | Bin 0 -> 494 bytes tests/ts/blkid/images-pt/sgi.img.bz2 | Bin 0 -> 144 bytes tests/ts/blkid/images-pt/sun.img.bz2 | Bin 0 -> 170 bytes tests/ts/blkid/low-probe | 46 + tests/ts/blkid/lowprobe-pt | 45 + tests/ts/blkid/md-raid0-whole | 85 + tests/ts/blkid/md-raid1-part | 91 + tests/ts/blkid/md-raid1-whole | 85 + tests/ts/build-sys/config | 70 + tests/ts/cal/1m | 59 + tests/ts/cal/3m | 58 + tests/ts/cal/year | 58 + tests/ts/col/multibyte | 27 + tests/ts/col/multibyte.data | 1 + tests/ts/colrm/rm2-2 | 26 + tests/ts/column/fillrow | 29 + tests/ts/column/input | 10 + tests/ts/column/multi-file | 32 + tests/ts/column/separator_table | 29 + tests/ts/cramfs/cramfs-big.img | Bin 0 -> 4096 bytes tests/ts/cramfs/cramfs-little.img | Bin 0 -> 4096 bytes tests/ts/cramfs/doubles | 51 + tests/ts/cramfs/fsck-endianness | 57 + tests/ts/cramfs/mkfs | 95 + tests/ts/cramfs/mkfs-endianness | 53 + tests/ts/eject/umount | 111 + tests/ts/fdisk/align-512-4K | 87 + tests/ts/fdisk/align-512-4K-63 | 87 + tests/ts/fdisk/align-512-4K-md | 99 + tests/ts/fdisk/align-512-512 | 70 + tests/ts/fdisk/align-512-512-topology | 87 + tests/ts/fdisk/id | 37 + tests/ts/fdisk/mbr-dos-mode | 135 + tests/ts/fdisk/mbr-nondos-mode | 137 + tests/ts/fdisk/oddinput | 40 + tests/ts/fdisk/sunlabel | 74 + tests/ts/fsck/ismounted | 45 + tests/ts/hwclock/systohc | 58 + tests/ts/ipcs/functions.sh | 83 + tests/ts/ipcs/headers | 58 + tests/ts/ipcs/limits | 51 + tests/ts/ipcs/limits2 | 31 + tests/ts/libmount/context | 133 + tests/ts/libmount/context-utab | 125 + tests/ts/libmount/files/fstab | 14 + tests/ts/libmount/files/fstab.broken | 14 + tests/ts/libmount/files/mountinfo | 32 + tests/ts/libmount/files/mountinfo_mv | 32 + tests/ts/libmount/files/mountinfo_re | 32 + tests/ts/libmount/files/mountinfo_u | 31 + tests/ts/libmount/files/mtab | 11 + tests/ts/libmount/lock | 39 + tests/ts/libmount/optstr | 95 + tests/ts/libmount/tabdiff | 31 + tests/ts/libmount/tabfiles | 65 + tests/ts/libmount/tabfiles-tags | 95 + tests/ts/libmount/update | 96 + tests/ts/libmount/utils | 79 + tests/ts/login/islocal | 27 + tests/ts/login/islocal.data | 10 + tests/ts/login/logindefs | 24 + tests/ts/login/logindefs.data | 16 + tests/ts/look/separator | 39 + tests/ts/look/words | 3 + tests/ts/lscpu/dumps/i386-amdshanghai.tar.gz | Bin 0 -> 3395 bytes tests/ts/lscpu/dumps/i386-dellpe700.tar.gz | Bin 0 -> 799 bytes tests/ts/lscpu/dumps/i386-intels5000phb.tar.gz | Bin 0 -> 2865 bytes tests/ts/lscpu/dumps/ia64-512cpus.tar.gz | Bin 0 -> 67254 bytes tests/ts/lscpu/dumps/ia64-hpmatterhorn.tar.gz | Bin 0 -> 3514 bytes tests/ts/lscpu/dumps/ia64-hprx1620.tar.gz | Bin 0 -> 1384 bytes tests/ts/lscpu/dumps/ia64-pg0.tar.gz | Bin 0 -> 7784 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.tar.gz | Bin 0 -> 6611 bytes tests/ts/lscpu/dumps/s390-zvm.tar.gz | Bin 0 -> 2582 bytes tests/ts/lscpu/dumps/sparc64-UltraSparc-T1.tar.gz | Bin 0 -> 23071 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 .../lscpu/dumps/x86_64-dell_poweredge1950.tar.gz | Bin 0 -> 1492 bytes .../lscpu/dumps/x86_64-dell_poweredgeR610.tar.gz | Bin 0 -> 14095 bytes tests/ts/lscpu/dumps/x86_64-dellr710.tar.gz | Bin 0 -> 14300 bytes tests/ts/lscpu/dumps/x86_64-el5xen.tar.gz | Bin 0 -> 7296 bytes tests/ts/lscpu/dumps/x86_64-hpdl585.tar.gz | Bin 0 -> 6910 bytes tests/ts/lscpu/dumps/x86_64-ibme326m.tar.gz | Bin 0 -> 1461 bytes tests/ts/lscpu/dumps/x86_64-necem14.tar.gz | Bin 0 -> 1307 bytes tests/ts/lscpu/lscpu | 50 + tests/ts/lscpu/mk-input.sh | 43 + tests/ts/md5/data | 7 + tests/ts/md5/md5 | 31 + tests/ts/minix/fsck | 39 + tests/ts/minix/mkfs | 47 + tests/ts/misc/strtosize | 60 + tests/ts/mount/devname | 53 + tests/ts/mount/encryption | 64 + tests/ts/mount/fstab-broken | 62 + tests/ts/mount/fstab-devname | 53 + tests/ts/mount/fstab-devname2label | 49 + tests/ts/mount/fstab-devname2uuid | 49 + tests/ts/mount/fstab-label | 60 + tests/ts/mount/fstab-label2devname | 55 + tests/ts/mount/fstab-label2uuid | 60 + tests/ts/mount/fstab-none | 30 + tests/ts/mount/fstab-symlink | 68 + tests/ts/mount/fstab-uuid | 60 + tests/ts/mount/fstab-uuid2devname | 55 + tests/ts/mount/fstab-uuid2label | 59 + tests/ts/mount/label | 53 + tests/ts/mount/move | 53 + tests/ts/mount/noncanonical | 37 + tests/ts/mount/paths | 31 + tests/ts/mount/regfile | 37 + tests/ts/mount/remount | 52 + tests/ts/mount/rlimit | 78 + tests/ts/mount/shared-subtree | 58 + tests/ts/mount/special | 40 + tests/ts/mount/uuid | 52 + tests/ts/namei/logic | 34 + tests/ts/partx/partx | 45 + tests/ts/paths/built-in | 27 + tests/ts/schedutils/cpuset | 57 + tests/ts/script/race | 36 + tests/ts/swapon/devname | 44 + tests/ts/swapon/fixpgsz | 44 + tests/ts/swapon/fixsig | 46 + tests/ts/swapon/label | 46 + tests/ts/swapon/uuid | 46 + text-utils/Makemodule.am | 81 + text-utils/col.1 | 161 + text-utils/col.c | 576 + text-utils/colcrt.1 | 102 + text-utils/colcrt.c | 324 + text-utils/colrm.1 | 75 + text-utils/colrm.c | 194 + text-utils/column.1 | 77 + text-utils/column.c | 417 + text-utils/conv.c | 109 + text-utils/display.c | 348 + text-utils/hexdump.1 | 324 + text-utils/hexdump.c | 82 + text-utils/hexdump.h | 93 + text-utils/hexsyntax.c | 142 + text-utils/line.1 | 17 + text-utils/line.c | 45 + text-utils/more.1 | 249 + text-utils/more.c | 2197 ++ text-utils/parse.c | 495 + text-utils/pg.1 | 232 + text-utils/pg.c | 1783 ++ text-utils/rev.1 | 60 + text-utils/rev.c | 177 + text-utils/tailf.1 | 68 + text-utils/tailf.c | 292 + text-utils/ul.1 | 113 + text-utils/ul.c | 672 + tools/git-version-gen | 181 + 1139 files changed, 699596 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/TODO create mode 100644 Documentation/blkid.txt create mode 100644 Documentation/cal.txt create mode 100644 Documentation/cfdisk.txt create mode 100644 Documentation/col.txt create mode 100644 Documentation/ddate.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/fdisk.txt 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-tests.txt create mode 100644 Documentation/howto-usage-function.txt create mode 100644 Documentation/hwclock.txt create mode 100644 Documentation/licenses/COPYING.BSD-3 create mode 100644 Documentation/licenses/COPYING.GPLv2 create mode 100644 Documentation/licenses/COPYING.LGPLv2.1 create mode 100644 Documentation/licenses/COPYING.UCB create mode 100644 Documentation/modems-with-agetty.txt create mode 100644 Documentation/mount.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/sfdisk.txt create mode 100644 Documentation/source-code-management.txt 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 config.h.in 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 100755 config/ltmain.sh create mode 100755 config/missing create mode 100755 config/mkinstalldirs 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/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/elvtune.8 create mode 100644 disk-utils/elvtune.c create mode 100644 disk-utils/fdformat.8 create mode 100644 disk-utils/fdformat.c create mode 100644 disk-utils/fsck.8 create mode 100644 disk-utils/fsck.c 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.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/partx.h 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/swaplabel.8 create mode 100644 disk-utils/swaplabel.c create mode 100644 fdisks/Makemodule.am create mode 100644 fdisks/cfdisk.8 create mode 100644 fdisks/cfdisk.c create mode 100644 fdisks/common.h create mode 100644 fdisks/fdisk.8 create mode 100644 fdisks/fdisk.c create mode 100644 fdisks/fdisk.h create mode 100644 fdisks/fdiskaixlabel.c create mode 100644 fdisks/fdiskaixlabel.h create mode 100644 fdisks/fdiskbsdlabel.c create mode 100644 fdisks/fdiskbsdlabel.h create mode 100644 fdisks/fdiskdoslabel.c create mode 100644 fdisks/fdiskdoslabel.h create mode 100644 fdisks/fdiskmaclabel.c create mode 100644 fdisks/fdiskmaclabel.h create mode 100644 fdisks/fdisksgilabel.c create mode 100644 fdisks/fdisksgilabel.h create mode 100644 fdisks/fdisksunlabel.c create mode 100644 fdisks/fdisksunlabel.h create mode 100644 fdisks/gpt.c create mode 100644 fdisks/gpt.h create mode 100644 fdisks/i386_sys_types.c create mode 100644 fdisks/partname.c create mode 100644 fdisks/sfdisk.8 create mode 100644 fdisks/sfdisk.c create mode 100644 fdisks/utils.c create mode 100644 include/Makemodule.am create mode 100644 include/all-io.h create mode 100644 include/at.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/closestream.h create mode 100644 include/cpuset.h create mode 100644 include/crc32.h create mode 100644 include/env.h create mode 100644 include/exitcodes.h create mode 100644 include/fileutils.h create mode 100644 include/ismounted.h create mode 100644 include/linux_reboot.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/md5.h create mode 100644 include/minix.h create mode 100644 include/nls.h create mode 100644 include/optutils.h create mode 100644 include/pager.h create mode 100644 include/pamfail.h create mode 100644 include/path.h create mode 100644 include/pathnames.h create mode 100644 include/procutils.h create mode 100644 include/randutils.h create mode 100644 include/rpmatch.h create mode 100644 include/setproctitle.h create mode 100644 include/strutils.h create mode 100644 include/swapheader.h create mode 100644 include/sysfs.h create mode 100644 include/tt.h create mode 100644 include/ttyutils.h create mode 100644 include/usleep.h create mode 100644 include/wholedisk.h create mode 100644 include/widechar.h create mode 100644 include/xalloc.h create mode 100644 include/xgetpass.h create mode 100644 lib/Makemodule.am create mode 100644 lib/at.c create mode 100644 lib/blkdev.c create mode 100644 lib/canonicalize.c create mode 100644 lib/cpuset.c create mode 100644 lib/crc32.c create mode 100644 lib/env.c create mode 100644 lib/fileutils.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/md5.c create mode 100644 lib/pager.c create mode 100644 lib/path.c create mode 100644 lib/procutils.c create mode 100644 lib/randutils.c create mode 100644 lib/setproctitle.c create mode 100644 lib/strutils.c create mode 100644 lib/sysfs.c create mode 100644 lib/tt.c create mode 100644 lib/wholedisk.c create mode 100644 lib/xgetpass.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/blkid.sym 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/llseek.c create mode 100644 libblkid/src/partitions/aix.c create mode 100644 libblkid/src/partitions/aix.h create mode 100644 libblkid/src/partitions/blkid_parttypes.h create mode 100644 libblkid/src/partitions/bsd.c create mode 100644 libblkid/src/partitions/dos.c create mode 100644 libblkid/src/partitions/dos.h 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/befs.c create mode 100644 libblkid/src/superblocks/bfs.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/drbdproxy_datalog.c create mode 100644 libblkid/src/superblocks/exfat.c create mode 100644 libblkid/src/superblocks/ext.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/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/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/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/ubifs.c create mode 100644 libblkid/src/superblocks/udf.c create mode 100644 libblkid/src/superblocks/ufs.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 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/src/Makemodule.am 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/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 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/pack.c create mode 100644 libuuid/src/parse.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/uuid.sym 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/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/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/newgrp.1 create mode 100644 login-utils/newgrp.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.c 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/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/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 man/ru/ddate.1 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/chkdupexe create mode 100644 misc-utils/chkdupexe.1 create mode 100755 misc-utils/chkdupexe.pl create mode 100644 misc-utils/ddate.1 create mode 100644 misc-utils/ddate.c create mode 100644 misc-utils/findfs.8 create mode 100644 misc-utils/findfs.c create mode 100644 misc-utils/findmnt.8 create mode 100644 misc-utils/findmnt.c 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/kill.h 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.8 create mode 100644 misc-utils/lsblk.c 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/procs.c create mode 100644 misc-utils/rename.1 create mode 100644 misc-utils/rename.c create mode 100644 misc-utils/sd-daemon.c create mode 100644 misc-utils/sd-daemon.h 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/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 mount-deprecated/Makemodule.am create mode 100644 mount-deprecated/devname.c create mode 100644 mount-deprecated/devname.h create mode 100644 mount-deprecated/fsprobe.c create mode 100644 mount-deprecated/fsprobe.h create mode 100644 mount-deprecated/fstab.c create mode 100644 mount-deprecated/fstab.h create mode 100644 mount-deprecated/getusername.c create mode 100644 mount-deprecated/getusername.h create mode 100644 mount-deprecated/mount.8 create mode 100644 mount-deprecated/mount.c create mode 100644 mount-deprecated/mount_constants.h create mode 100644 mount-deprecated/mount_mntent.c create mode 100644 mount-deprecated/mount_mntent.h create mode 100644 mount-deprecated/sundries.c create mode 100644 mount-deprecated/sundries.h create mode 100644 mount-deprecated/umount.8 create mode 100644 mount-deprecated/umount.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/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/arch.1 create mode 100644 sys-utils/arch.c create mode 100644 sys-utils/chcpu.8 create mode 100644 sys-utils/chcpu.c create mode 100644 sys-utils/ctrlaltdel.8 create mode 100644 sys-utils/ctrlaltdel.c create mode 100644 sys-utils/cyclades.h create mode 100644 sys-utils/cytune.8 create mode 100644 sys-utils/cytune.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/hwclock-cmos.c create mode 100644 sys-utils/hwclock-kd.c create mode 100644 sys-utils/hwclock-rtc.c create mode 100644 sys-utils/hwclock.8 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/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/lp.h create mode 100644 sys-utils/lscpu.1 create mode 100644 sys-utils/lscpu.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/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/rtcwake.8 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/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 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 100755 term-utils/reset create mode 100755 term-utils/reset.033c create mode 100644 term-utils/reset.1 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/blkid/low-probe-adaptec-raid 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-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-fat create mode 100644 tests/expected/blkid/low-probe-fat16_noheads create mode 100644 tests/expected/blkid/low-probe-fat32_label_64MB 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-lvm2 create mode 100644 tests/expected/blkid/low-probe-mdraid create mode 100644 tests/expected/blkid/low-probe-minix 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-ubifs create mode 100644 tests/expected/blkid/low-probe-udf create mode 100644 tests/expected/blkid/low-probe-ufs 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-zfs 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/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 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-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-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-libuuid create mode 100644 tests/expected/build-sys/config-non-nls create mode 100644 tests/expected/build-sys/config-old-mount 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/1m create mode 100644 tests/expected/cal/3m create mode 100644 tests/expected/cal/year create mode 100644 tests/expected/col/multibyte create mode 100644 tests/expected/colrm/rm2-2 create mode 100644 tests/expected/column/fillrow create mode 100644 tests/expected/column/multi-file create mode 100644 tests/expected/column/separator_table create mode 100644 tests/expected/cramfs/doubles 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/eject/umount 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-4K-topology 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/id create mode 100644 tests/expected/fdisk/mbr-dos-mode create mode 100644 tests/expected/fdisk/mbr-nondos-mode 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/fsck/ismounted 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/libmount/context 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-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-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/lock create mode 100644 tests/expected/libmount/optstr-append 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-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-value create mode 100644 tests/expected/libmount/optstr-remove 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-large create mode 100644 tests/expected/libmount/optstr-set-new create mode 100644 tests/expected/libmount/optstr-set-new-end 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 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-mountinfo create mode 100644 tests/expected/libmount/tabfiles-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/update-fstab-add 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-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-fs-root create mode 100644 tests/expected/libmount/utils-fs-root-subdir create mode 100644 tests/expected/libmount/utils-fs-root-subdir2 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/login/islocal create mode 100644 tests/expected/login/logindefs create mode 100644 tests/expected/look/separator create mode 100644 tests/expected/lscpu/lscpu-i386-amdshanghai create mode 100644 tests/expected/lscpu/lscpu-i386-dellpe700 create mode 100644 tests/expected/lscpu/lscpu-i386-intels5000phb create mode 100644 tests/expected/lscpu/lscpu-i386-xenpara create mode 100644 tests/expected/lscpu/lscpu-ia64-512cpus create mode 100644 tests/expected/lscpu/lscpu-ia64-hpmatterhorn create mode 100644 tests/expected/lscpu/lscpu-ia64-hprx1620 create mode 100644 tests/expected/lscpu/lscpu-ia64-pg0 create mode 100644 tests/expected/lscpu/lscpu-ppc64-POWER7 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-zvm create mode 100644 tests/expected/lscpu/lscpu-sparc64-UltraSparc-T1 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/lscpu/lscpu-x86_64-dell_poweredge1950 create mode 100644 tests/expected/lscpu/lscpu-x86_64-dell_poweredgeR610 create mode 100644 tests/expected/lscpu/lscpu-x86_64-dellr710 create mode 100644 tests/expected/lscpu/lscpu-x86_64-el5xen create mode 100644 tests/expected/lscpu/lscpu-x86_64-hpdl585 create mode 100644 tests/expected/lscpu/lscpu-x86_64-ibme326m create mode 100644 tests/expected/lscpu/lscpu-x86_64-necem14 create mode 100644 tests/expected/lscpu/lscpu-x86_64-xenfull create mode 100644 tests/expected/md5/md5 create mode 100644 tests/expected/minix/fsck create mode 100644 tests/expected/minix/mkfs create mode 100644 tests/expected/misc/strtosize create mode 100644 tests/expected/mount/devname create mode 100644 tests/expected/mount/encryption 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-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-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/noncanonical create mode 100644 tests/expected/mount/paths 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-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/special create mode 100644 tests/expected/mount/uuid create mode 100644 tests/expected/namei/logic create mode 100644 tests/expected/partx/partx-bsd create mode 100644 tests/expected/partx/partx-dos+bsd create mode 100644 tests/expected/partx/partx-gpt create mode 100644 tests/expected/partx/partx-sgi create mode 100644 tests/expected/partx/partx-sun create mode 100644 tests/expected/paths/built-in create mode 100644 tests/expected/schedutils/cpuset create mode 100644 tests/expected/script/race 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/functions.sh create mode 100644 tests/helpers/Makemodule.am create mode 100644 tests/helpers/test_byteswap.c create mode 100644 tests/helpers/test_md5.c create mode 100644 tests/helpers/test_pathnames.c create mode 100644 tests/helpers/test_sysinfo.c create mode 100755 tests/run.sh create mode 100755 tests/ts/bitops/swapbytes create mode 100644 tests/ts/blkid/images-fs/adaptec-raid.img.bz2 create mode 100644 tests/ts/blkid/images-fs/befs.img.bz2 create mode 100644 tests/ts/blkid/images-fs/bfs.img.bz2 create mode 100644 tests/ts/blkid/images-fs/cramfs.img.bz2 create mode 100644 tests/ts/blkid/images-fs/ddf-raid.img.bz2 create mode 100644 tests/ts/blkid/images-fs/exfat.img.bz2 create mode 100644 tests/ts/blkid/images-fs/ext2.img.bz2 create mode 100644 tests/ts/blkid/images-fs/ext3.img.bz2 create mode 100644 tests/ts/blkid/images-fs/fat.img.bz2 create mode 100644 tests/ts/blkid/images-fs/fat16_noheads.img.bz2 create mode 100644 tests/ts/blkid/images-fs/fat32_label_64MB.img.bz2 create mode 100644 tests/ts/blkid/images-fs/gfs2.img.bz2 create mode 100644 tests/ts/blkid/images-fs/hfs.img.bz2 create mode 100644 tests/ts/blkid/images-fs/hfsplus.img.bz2 create mode 100644 tests/ts/blkid/images-fs/hpfs.img.bz2 create mode 100644 tests/ts/blkid/images-fs/hpt37x-raid.img.bz2 create mode 100644 tests/ts/blkid/images-fs/hpt45x-raid.img.bz2 create mode 100644 tests/ts/blkid/images-fs/iso-joliet.img.bz2 create mode 100644 tests/ts/blkid/images-fs/iso-rr-joliet.img.bz2 create mode 100644 tests/ts/blkid/images-fs/iso.img.bz2 create mode 100644 tests/ts/blkid/images-fs/isw-raid.img.bz2 create mode 100644 tests/ts/blkid/images-fs/jbd.img.bz2 create mode 100644 tests/ts/blkid/images-fs/jfs.img.bz2 create mode 100644 tests/ts/blkid/images-fs/jmicron-raid.img.bz2 create mode 100644 tests/ts/blkid/images-fs/lsi-raid.img.bz2 create mode 100644 tests/ts/blkid/images-fs/lvm2.img.bz2 create mode 100644 tests/ts/blkid/images-fs/mdraid.img.bz2 create mode 100644 tests/ts/blkid/images-fs/minix.img.bz2 create mode 100644 tests/ts/blkid/images-fs/netware.img.bz2 create mode 100644 tests/ts/blkid/images-fs/nilfs2.img.bz2 create mode 100644 tests/ts/blkid/images-fs/ntfs.img.bz2 create mode 100644 tests/ts/blkid/images-fs/nvidia-raid.img.bz2 create mode 100644 tests/ts/blkid/images-fs/ocfs2.img.bz2 create mode 100644 tests/ts/blkid/images-fs/promise-raid.img.bz2 create mode 100644 tests/ts/blkid/images-fs/reiser3.img.bz2 create mode 100644 tests/ts/blkid/images-fs/reiser4.img.bz2 create mode 100644 tests/ts/blkid/images-fs/romfs.img.bz2 create mode 100644 tests/ts/blkid/images-fs/silicon-raid.img.bz2 create mode 100644 tests/ts/blkid/images-fs/small-fat32.img.bz2 create mode 100644 tests/ts/blkid/images-fs/swap0.img.bz2 create mode 100644 tests/ts/blkid/images-fs/swap1.img.bz2 create mode 100644 tests/ts/blkid/images-fs/tuxonice.img.bz2 create mode 100644 tests/ts/blkid/images-fs/ubifs.img.bz2 create mode 100644 tests/ts/blkid/images-fs/udf.img.bz2 create mode 100644 tests/ts/blkid/images-fs/ufs.img.bz2 create mode 100644 tests/ts/blkid/images-fs/via-raid.img.bz2 create mode 100644 tests/ts/blkid/images-fs/vmfs.img.bz2 create mode 100644 tests/ts/blkid/images-fs/vmfs_volume.img.bz2 create mode 100644 tests/ts/blkid/images-fs/xfs.img.bz2 create mode 100644 tests/ts/blkid/images-fs/zfs.img.bz2 create mode 100644 tests/ts/blkid/images-pt/bsd.img.bz2 create mode 100644 tests/ts/blkid/images-pt/dos+bsd.img.bz2 create mode 100644 tests/ts/blkid/images-pt/gpt.img.bz2 create mode 100644 tests/ts/blkid/images-pt/sgi.img.bz2 create mode 100644 tests/ts/blkid/images-pt/sun.img.bz2 create mode 100755 tests/ts/blkid/low-probe create mode 100755 tests/ts/blkid/lowprobe-pt 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/1m create mode 100755 tests/ts/cal/3m create mode 100755 tests/ts/cal/year create mode 100755 tests/ts/col/multibyte create mode 100644 tests/ts/col/multibyte.data create mode 100755 tests/ts/colrm/rm2-2 create mode 100755 tests/ts/column/fillrow create mode 100644 tests/ts/column/input create mode 100755 tests/ts/column/multi-file create mode 100755 tests/ts/column/separator_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-endianness create mode 100755 tests/ts/cramfs/mkfs create mode 100755 tests/ts/cramfs/mkfs-endianness 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/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/oddinput create mode 100755 tests/ts/fdisk/sunlabel create mode 100755 tests/ts/fsck/ismounted 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/libmount/context create mode 100755 tests/ts/libmount/context-utab create mode 100644 tests/ts/libmount/files/fstab create mode 100644 tests/ts/libmount/files/fstab.broken 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_re create mode 100644 tests/ts/libmount/files/mountinfo_u create mode 100644 tests/ts/libmount/files/mtab create mode 100755 tests/ts/libmount/lock 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-tags create mode 100755 tests/ts/libmount/update create mode 100755 tests/ts/libmount/utils 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 100644 tests/ts/lscpu/dumps/i386-amdshanghai.tar.gz create mode 100644 tests/ts/lscpu/dumps/i386-dellpe700.tar.gz create mode 100644 tests/ts/lscpu/dumps/i386-intels5000phb.tar.gz create mode 100644 tests/ts/lscpu/dumps/ia64-512cpus.tar.gz create mode 100644 tests/ts/lscpu/dumps/ia64-hpmatterhorn.tar.gz create mode 100644 tests/ts/lscpu/dumps/ia64-hprx1620.tar.gz create mode 100644 tests/ts/lscpu/dumps/ia64-pg0.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.tar.gz create mode 100644 tests/ts/lscpu/dumps/s390-zvm.tar.gz create mode 100644 tests/ts/lscpu/dumps/sparc64-UltraSparc-T1.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 100644 tests/ts/lscpu/dumps/x86_64-dell_poweredge1950.tar.gz create mode 100644 tests/ts/lscpu/dumps/x86_64-dell_poweredgeR610.tar.gz create mode 100644 tests/ts/lscpu/dumps/x86_64-dellr710.tar.gz create mode 100644 tests/ts/lscpu/dumps/x86_64-el5xen.tar.gz create mode 100644 tests/ts/lscpu/dumps/x86_64-hpdl585.tar.gz create mode 100644 tests/ts/lscpu/dumps/x86_64-ibme326m.tar.gz create mode 100644 tests/ts/lscpu/dumps/x86_64-necem14.tar.gz create mode 100755 tests/ts/lscpu/lscpu create mode 100644 tests/ts/lscpu/mk-input.sh create mode 100644 tests/ts/md5/data create mode 100755 tests/ts/md5/md5 create mode 100755 tests/ts/minix/fsck create mode 100755 tests/ts/minix/mkfs create mode 100755 tests/ts/misc/strtosize create mode 100755 tests/ts/mount/devname create mode 100755 tests/ts/mount/encryption create mode 100755 tests/ts/mount/fstab-broken 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-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/noncanonical create mode 100755 tests/ts/mount/paths 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/uuid create mode 100755 tests/ts/namei/logic create mode 100755 tests/ts/partx/partx create mode 100755 tests/ts/paths/built-in create mode 100755 tests/ts/schedutils/cpuset create mode 100755 tests/ts/script/race 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 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/conv.c create mode 100644 text-utils/display.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/hexsyntax.c 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/parse.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/tailf.1 create mode 100644 text-utils/tailf.c create mode 100644 text-utils/ul.1 create mode 100644 text-utils/ul.c create mode 100755 tools/git-version-gen diff --git a/.tarball-version b/.tarball-version new file mode 100644 index 0000000..4699fb0 --- /dev/null +++ b/.tarball-version @@ -0,0 +1 @@ +2.22 diff --git a/.version b/.version new file mode 100644 index 0000000..4699fb0 --- /dev/null +++ b/.version @@ -0,0 +1 @@ +2.22 diff --git a/ABOUT-NLS b/ABOUT-NLS new file mode 100644 index 0000000..2f50c66 --- /dev/null +++ b/ABOUT-NLS @@ -0,0 +1,768 @@ +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 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 at translations should contact the appropriate team. + + When reporting bugs in the `intl/' directory or bugs which may be +related to internationalization, you should tell about the version of +`gettext' which is used. The information can be found in the +`intl/VERSION' file, in internationalized packages. + +Quick configuration advice +========================== + +If you want to exploit the full power of internationalization, you +should configure it using + + ./configure --with-included-gettext + +to force usage of internationalizing routines provided within this +package, despite the existence of internationalizing capabilities in the +operating system where this package is being installed. So far, only +the `gettext' implementation in the GNU C library version 2 provides as +many features (such as locale alias, message inheritance, automatic +charset conversion or plural form handling) as the implementation here. +It is also not possible to offer this additional functionality on top +of a `catgets' implementation. Future versions of GNU `gettext' will +very likely convey even more functionality. So it might be a good idea +to change to GNU `gettext' as soon as possible. + + So you need _not_ provide this option if you are using GNU libc 2 or +you have installed a recent copy of the GNU gettext package with the +included `libintl'. + +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. If not, the GNU `gettext' own +library will be used. This library is wholly contained within this +package, usually in the `intl/' subdirectory, so prior installation of +the GNU `gettext' package is _not_ required. Installers may use +special options at configuration time for changing the default +behaviour. The commands: + + ./configure --with-included-gettext + ./configure --disable-nls + +will respectively bypass any pre-existing `gettext' to use the +internationalizing routines provided within this package, or else, +_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.a' file and +will decide to use this. This might be not what is desirable. You +should use the more recent version of the GNU `gettext' library. I.e. +if the file `intl/VERSION' shows that the library which comes with this +package is more recent, you should use + + ./configure --with-included-gettext + +to prevent auto-detection. + + The configuration process will not test for the `catgets' function +and therefore it will not be used. The reason is that even an +emulation of `gettext' on top of `catgets' could not provide all the +extensions of the GNU `gettext' library. + + Internationalized packages have usually 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. + +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. 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 country 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. + +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://www.iro.umontreal.ca/contrib/po/HTML/', in the "National 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 `translation@iro.umontreal.ca' 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 skill are praised more than +programming skill, here. + +Available Packages +================== + +Languages are not equally supported in all packages. The following +matrix shows the current state of internationalization, as of January +2004. 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 ar az be bg bs ca cs da de el en en_GB eo es + +----------------------------------------------------+ + a2ps | [] [] [] [] | + aegis | () | + ant-phone | () | + anubis | | + ap-utils | | + aspell | [] | + bash | [] [] [] [] | + batchelor | | + bfd | [] [] | + binutils | [] [] | + bison | [] [] [] | + bluez-pin | [] [] [] | + clisp | | + clisp | [] [] [] | + console-tools | [] [] | + coreutils | [] [] [] [] | + cpio | [] [] [] | + darkstat | [] () [] | + diffutils | [] [] [] [] [] [] [] | + e2fsprogs | [] [] [] | + enscript | [] [] [] [] | + error | [] [] [] [] [] | + fetchmail | [] () [] [] [] [] | + fileutils | [] [] [] | + findutils | [] [] [] [] [] [] [] | + flex | [] [] [] [] | + fslint | | + gas | [] | + gawk | [] [] [] [] | + gbiff | [] | + gcal | [] | + gcc | [] [] | + gettext | [] [] [] [] [] | + gettext-examples | [] [] [] [] | + gettext-runtime | [] [] [] [] [] | + gettext-tools | [] [] [] | + gimp-print | [] [] [] [] [] | + gliv | | + glunarclock | [] [] | + gnubiff | [] | + gnucash | [] () [] [] | + gnucash-glossary | [] () [] | + gnupg | [] () [] [] [] [] | + gpe-aerial | [] | + gpe-beam | [] [] | + gpe-calendar | [] [] | + gpe-clock | [] [] | + gpe-conf | [] [] | + gpe-contacts | [] [] | + gpe-edit | [] | + gpe-go | [] | + gpe-login | [] [] | + gpe-ownerinfo | [] [] | + gpe-sketchbook | [] [] | + gpe-su | [] [] | + gpe-taskmanager | [] [] | + gpe-timesheet | [] | + gpe-today | [] [] | + gpe-todo | [] [] | + gphoto2 | [] [] [] [] | + gprof | [] [] [] | + gpsdrive | () () () | + gramadoir | [] | + grep | [] [] [] [] [] [] | + gretl | [] | + gtick | [] () | + hello | [] [] [] [] [] [] | + id-utils | [] [] | + indent | [] [] [] [] | + iso_3166 | [] [] [] [] [] [] [] [] [] [] | + iso_3166_1 | [] [] [] [] [] [] | + iso_3166_2 | | + iso_3166_3 | [] | + iso_4217 | [] [] [] [] | + iso_639 | | + jpilot | [] [] [] | + jtag | | + jwhois | [] | + kbd | [] [] [] [] [] | + latrine | () | + ld | [] [] | + libc | [] [] [] [] [] [] | + libgpewidget | [] [] | + libiconv | [] [] [] [] [] | + lifelines | [] () | + lilypond | [] | + lingoteach | | + lingoteach_lessons | () () | + lynx | [] [] [] [] | + m4 | [] [] [] [] | + mailutils | [] [] | + make | [] [] [] | + man-db | [] () [] [] () | + minicom | [] [] [] | + mysecretdiary | [] [] [] | + nano | [] () [] [] [] | + nano_1_0 | [] () [] [] [] | + opcodes | [] | + parted | [] [] [] [] [] | + ptx | [] [] [] [] [] | + python | | + radius | [] | + recode | [] [] [] [] [] [] [] | + rpm | [] [] | + screem | | + scrollkeeper | [] [] [] [] [] [] | + sed | [] [] [] [] [] [] | + sh-utils | [] [] [] | + shared-mime-info | | + sharutils | [] [] [] [] [] [] | + silky | () | + skencil | [] () [] | + sketch | [] () [] | + soundtracker | [] [] [] | + sp | [] | + tar | [] [] [] [] | + texinfo | [] [] [] | + textutils | [] [] [] [] | + tin | () () | + tp-robot | | + tuxpaint | [] [] [] [] [] [] [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux | [] [] [] [] [] | + vorbis-tools | [] [] [] [] | + wastesedge | () | + wdiff | [] [] [] [] | + wget | [] [] [] [] [] [] | + xchat | [] [] [] [] | + xfree86_xkb_xml | [] [] | + xpad | [] | + +----------------------------------------------------+ + af am ar az be bg bs ca cs da de el en en_GB eo es + 4 0 0 1 9 4 1 40 41 60 78 17 1 5 13 68 + + et eu fa fi fr ga gl he hr hu id is it ja ko lg + +-------------------------------------------------+ + a2ps | [] [] [] () () | + aegis | | + ant-phone | [] | + anubis | [] | + ap-utils | [] | + aspell | [] [] | + bash | [] [] | + batchelor | [] [] | + bfd | [] | + binutils | [] [] | + bison | [] [] [] [] | + bluez-pin | [] [] [] [] [] | + clisp | | + clisp | [] | + console-tools | | + coreutils | [] [] [] [] [] [] | + cpio | [] [] [] [] | + darkstat | () [] [] [] | + diffutils | [] [] [] [] [] [] [] | + e2fsprogs | | + enscript | [] [] | + error | [] [] [] [] | + fetchmail | [] | + fileutils | [] [] [] [] [] [] | + findutils | [] [] [] [] [] [] [] [] [] [] [] | + flex | [] [] [] | + fslint | [] | + gas | [] | + gawk | [] [] [] | + gbiff | [] | + gcal | [] | + gcc | [] | + gettext | [] [] [] | + gettext-examples | [] [] | + gettext-runtime | [] [] [] [] [] | + gettext-tools | [] [] [] | + gimp-print | [] [] | + gliv | () | + glunarclock | [] [] [] [] | + gnubiff | [] | + gnucash | () [] | + gnucash-glossary | [] | + gnupg | [] [] [] [] [] [] [] | + gpe-aerial | [] | + gpe-beam | [] | + gpe-calendar | [] [] [] | + gpe-clock | [] | + gpe-conf | [] | + gpe-contacts | [] [] | + gpe-edit | [] [] | + gpe-go | [] | + gpe-login | [] [] | + gpe-ownerinfo | [] [] [] | + gpe-sketchbook | [] | + gpe-su | [] | + gpe-taskmanager | [] | + gpe-timesheet | [] [] [] | + gpe-today | [] [] | + gpe-todo | [] [] | + gphoto2 | [] [] [] | + gprof | [] [] | + gpsdrive | () () () | + gramadoir | [] [] | + grep | [] [] [] [] [] [] [] [] [] [] [] | + gretl | [] [] | + gtick | [] [] [] | + hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | + id-utils | [] [] [] [] | + indent | [] [] [] [] [] [] [] [] [] | + iso_3166 | [] [] [] [] [] [] [] | + iso_3166_1 | [] [] [] [] [] | + iso_3166_2 | | + iso_3166_3 | | + iso_4217 | [] [] [] [] [] [] | + iso_639 | | + jpilot | [] () | + jtag | [] | + jwhois | [] [] [] [] | + kbd | [] | + latrine | [] | + ld | [] | + libc | [] [] [] [] [] [] | + libgpewidget | [] [] [] [] | + libiconv | [] [] [] [] [] [] [] [] [] | + lifelines | () | + lilypond | [] | + lingoteach | [] [] | + lingoteach_lessons | | + lynx | [] [] [] [] | + m4 | [] [] [] [] | + mailutils | | + make | [] [] [] [] [] [] | + man-db | () () | + minicom | [] [] [] [] | + mysecretdiary | [] [] | + nano | [] [] [] [] | + nano_1_0 | [] [] [] [] | + opcodes | [] | + parted | [] [] [] | + ptx | [] [] [] [] [] [] [] | + python | | + radius | [] | + recode | [] [] [] [] [] [] | + rpm | [] [] | + screem | | + scrollkeeper | [] | + sed | [] [] [] [] [] [] [] [] [] | + sh-utils | [] [] [] [] [] [] [] | + shared-mime-info | [] [] [] | + sharutils | [] [] [] [] [] | + silky | () [] () () | + skencil | [] | + sketch | [] | + soundtracker | [] [] | + sp | [] () | + tar | [] [] [] [] [] [] [] [] [] | + texinfo | [] [] [] [] | + textutils | [] [] [] [] [] [] | + tin | [] () | + tp-robot | [] | + tuxpaint | [] [] [] [] [] [] [] [] [] | + unicode-han-tra... | | + unicode-transla... | [] [] | + util-linux | [] [] [] [] () [] | + vorbis-tools | [] | + wastesedge | () | + wdiff | [] [] [] [] [] [] | + wget | [] [] [] [] [] [] [] | + xchat | [] [] [] | + xfree86_xkb_xml | [] [] | + xpad | [] [] | + +-------------------------------------------------+ + et eu fa fi fr ga gl he hr hu id is it ja ko lg + 22 2 1 26 106 28 24 8 10 41 33 1 26 33 12 0 + + lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru + +-----------------------------------------------------+ + a2ps | [] [] () () [] [] [] | + aegis | () () () | + ant-phone | [] [] | + anubis | [] [] [] [] [] [] | + ap-utils | [] () [] | + aspell | [] | + bash | [] [] [] | + batchelor | [] | + bfd | [] | + binutils | [] | + bison | [] [] [] [] [] | + bluez-pin | [] [] [] | + clisp | | + clisp | [] | + console-tools | [] | + coreutils | [] [] | + cpio | [] [] [] [] [] | + darkstat | [] [] [] [] | + diffutils | [] [] [] [] [] [] | + e2fsprogs | [] | + enscript | [] [] [] [] | + error | [] [] [] | + fetchmail | [] [] () [] | + fileutils | [] [] [] | + findutils | [] [] [] [] [] | + flex | [] [] [] [] | + fslint | [] [] | + gas | | + gawk | [] [] [] | + gbiff | [] [] | + gcal | | + gcc | | + gettext | [] [] [] | + gettext-examples | [] [] [] | + gettext-runtime | [] [] [] [] | + gettext-tools | [] [] | + gimp-print | [] | + gliv | [] [] [] | + glunarclock | [] [] [] [] | + gnubiff | [] | + gnucash | [] [] () [] | + gnucash-glossary | [] [] | + gnupg | [] | + gpe-aerial | [] [] [] [] | + gpe-beam | [] [] [] [] | + gpe-calendar | [] [] [] [] | + gpe-clock | [] [] [] [] | + gpe-conf | [] [] [] [] | + gpe-contacts | [] [] [] [] | + gpe-edit | [] [] [] [] | + gpe-go | [] [] [] | + gpe-login | [] [] [] [] | + gpe-ownerinfo | [] [] [] [] | + gpe-sketchbook | [] [] [] [] | + gpe-su | [] [] [] [] | + gpe-taskmanager | [] [] [] [] | + gpe-timesheet | [] [] [] [] | + gpe-today | [] [] [] [] | + gpe-todo | [] [] [] [] | + gphoto2 | [] | + gprof | [] [] | + gpsdrive | () () [] | + gramadoir | () [] | + grep | [] [] [] [] [] | + gretl | | + gtick | [] [] [] | + hello | [] [] [] [] [] [] [] [] [] [] | + id-utils | [] [] [] [] | + indent | [] [] [] [] | + iso_3166 | [] [] [] | + iso_3166_1 | [] [] | + iso_3166_2 | | + iso_3166_3 | [] | + iso_4217 | [] [] [] [] [] [] [] [] | + iso_639 | [] | + jpilot | () () | + jtag | | + jwhois | [] [] [] [] () | + kbd | [] [] [] | + latrine | [] | + ld | | + libc | [] [] [] [] | + libgpewidget | [] [] [] | + libiconv | [] [] [] [] [] | + lifelines | | + lilypond | | + lingoteach | | + lingoteach_lessons | | + lynx | [] [] [] | + m4 | [] [] [] [] [] | + mailutils | [] [] [] | + make | [] [] [] [] | + man-db | [] | + minicom | [] [] [] [] | + mysecretdiary | [] [] [] | + nano | [] [] [] [] [] | + nano_1_0 | [] [] [] [] [] [] | + opcodes | [] [] | + parted | [] [] [] [] | + ptx | [] [] [] [] [] [] [] [] | + python | | + radius | [] [] | + recode | [] [] [] [] | + rpm | [] [] [] | + screem | | + scrollkeeper | [] [] [] [] [] | + sed | [] [] [] | + sh-utils | [] [] | + shared-mime-info | [] [] | + sharutils | [] [] | + silky | () | + skencil | [] [] | + sketch | [] [] | + soundtracker | | + sp | | + tar | [] [] [] [] [] [] | + texinfo | [] [] [] [] | + textutils | [] [] | + tin | | + tp-robot | [] | + tuxpaint | [] [] [] [] [] [] [] [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux | [] [] [] | + vorbis-tools | [] [] [] | + wastesedge | | + wdiff | [] [] [] [] [] | + wget | [] [] [] | + xchat | [] [] [] | + xfree86_xkb_xml | [] [] | + xpad | [] [] | + +-----------------------------------------------------+ + lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru + 1 2 0 3 12 0 10 69 6 7 1 40 26 36 76 63 + + sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu + +-----------------------------------------------------+ + a2ps | [] [] [] [] | 16 + aegis | | 0 + ant-phone | | 3 + anubis | [] [] | 9 + ap-utils | () | 3 + aspell | | 4 + bash | | 9 + batchelor | | 3 + bfd | [] [] | 6 + binutils | [] [] [] | 8 + bison | [] [] | 14 + bluez-pin | [] [] [] | 14 + clisp | | 0 + clisp | | 5 + console-tools | | 3 + coreutils | [] [] [] [] | 16 + cpio | [] [] | 14 + darkstat | [] [] [] () () | 12 + diffutils | [] [] [] | 23 + e2fsprogs | [] [] | 6 + enscript | [] [] | 12 + error | [] [] [] | 15 + fetchmail | [] [] | 11 + fileutils | [] [] [] [] [] | 17 + findutils | [] [] [] [] [] [] | 29 + flex | [] [] | 13 + fslint | | 3 + gas | [] | 3 + gawk | [] [] | 12 + gbiff | | 4 + gcal | [] [] | 4 + gcc | [] | 4 + gettext | [] [] [] [] [] | 16 + gettext-examples | [] [] [] [] [] | 14 + gettext-runtime | [] [] [] [] [] [] [] [] | 22 + gettext-tools | [] [] [] [] [] [] | 14 + gimp-print | [] [] | 10 + gliv | | 3 + glunarclock | [] [] [] | 13 + gnubiff | | 3 + gnucash | [] [] | 9 + gnucash-glossary | [] [] [] | 8 + gnupg | [] [] [] [] | 17 + gpe-aerial | [] | 7 + gpe-beam | [] | 8 + gpe-calendar | [] [] [] [] | 13 + gpe-clock | [] [] [] | 10 + gpe-conf | [] [] | 9 + gpe-contacts | [] [] [] | 11 + gpe-edit | [] [] [] [] [] | 12 + gpe-go | | 5 + gpe-login | [] [] [] [] [] | 13 + gpe-ownerinfo | [] [] [] [] | 13 + gpe-sketchbook | [] [] | 9 + gpe-su | [] [] [] | 10 + gpe-taskmanager | [] [] [] | 10 + gpe-timesheet | [] [] [] [] | 12 + gpe-today | [] [] [] [] [] | 13 + gpe-todo | [] [] [] [] | 12 + gphoto2 | [] [] [] | 11 + gprof | [] [] | 9 + gpsdrive | [] [] | 3 + gramadoir | [] | 5 + grep | [] [] [] [] | 26 + gretl | | 3 + gtick | | 7 + hello | [] [] [] [] [] | 34 + id-utils | [] [] | 12 + indent | [] [] [] [] | 21 + iso_3166 | [] [] [] [] [] [] [] | 27 + iso_3166_1 | [] [] [] | 16 + iso_3166_2 | | 0 + iso_3166_3 | | 2 + iso_4217 | [] [] [] [] [] [] | 24 + iso_639 | | 1 + jpilot | [] [] [] [] [] | 9 + jtag | [] | 2 + jwhois | () [] [] | 11 + kbd | [] [] | 11 + latrine | | 2 + ld | [] [] | 5 + libc | [] [] [] [] | 20 + libgpewidget | [] [] [] [] | 13 + libiconv | [] [] [] [] [] [] [] [] | 27 + lifelines | [] | 2 + lilypond | [] | 3 + lingoteach | | 2 + lingoteach_lessons | () | 0 + lynx | [] [] [] | 14 + m4 | [] [] | 15 + mailutils | | 5 + make | [] [] [] | 16 + man-db | [] | 5 + minicom | | 11 + mysecretdiary | [] [] | 10 + nano | [] [] [] [] | 17 + nano_1_0 | [] [] [] | 17 + opcodes | [] [] | 6 + parted | [] [] [] | 15 + ptx | [] [] | 22 + python | | 0 + radius | | 4 + recode | [] [] [] | 20 + rpm | [] [] | 9 + screem | [] [] | 2 + scrollkeeper | [] [] [] | 15 + sed | [] [] [] [] [] [] | 24 + sh-utils | [] [] | 14 + shared-mime-info | [] [] | 7 + sharutils | [] [] [] [] | 17 + silky | () | 3 + skencil | [] | 6 + sketch | [] | 6 + soundtracker | [] [] | 7 + sp | [] | 3 + tar | [] [] [] [] [] | 24 + texinfo | [] [] [] | 14 + textutils | [] [] [] [] | 16 + tin | | 1 + tp-robot | | 2 + tuxpaint | [] [] [] [] [] | 29 + unicode-han-tra... | | 0 + unicode-transla... | | 2 + util-linux | [] [] | 15 + vorbis-tools | | 8 + wastesedge | | 0 + wdiff | [] [] [] | 18 + wget | [] [] [] [] [] [] [] [] | 24 + xchat | [] [] [] [] [] | 15 + xfree86_xkb_xml | [] [] [] [] [] | 11 + xpad | | 5 + +-----------------------------------------------------+ + 63 teams sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu + 131 domains 47 19 28 83 0 0 59 13 1 1 11 0 22 22 0 1373 + + 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 January 2004 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://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'. + +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 +`translation@iro.umontreal.ca' to make the `.pot' files available to +the translation teams. + diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..774fb50 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,376 @@ + + utils-linux + +MAINTAINER: + + Karel Zak + + +PAST MAINTAINERS: + + Adrian Bunk + Andries E. Brouwer + + +AUTHORS (merged projects & commands): + + fallocate: Eric Sandeen + Karel Zak + MatÄ›j Cepl + findmnt: Karel Zak + flock: H. Peter Anvin + fstrim: Lukas Czerner + fsfreeze: Hajime Taira + getopt: Frodo Looijaard + hwclock: Bryan Henderson + ipcmk: Hayden James + ldattach: Tilman Schmidt + libblkid: Theodore Ts'o + libmount: Karel Zak + libuuid: Theodore Ts'o + lscpu: Cai Qian + lsblk: Milan Broz + Karel Zak + rtcwake: David Brownell + Bernhard Walle + schedutils: Robert Love + setarch: Elliot Lee + Jindrich Novy + simpleinit: Richard Gooch + switch_root: Peter Jones + Jeremy Katz + unshare: Mikhail Gusarov + wipefs: Karel Zak + swaplabel: Jason Borden + Karel Zak + + +CONTRIBUTORS: + + A. Costa + Adam Jackson + Adrian Knoth + Ævar Arnfjörð Bjarmason + Alain Guibert + Alan Curry + Alan Wendt + Alexander Shishkin + Alexandre Peixoto Ferreira + Alexey Gladkov + Alexey Gladkov + Alon Bar-Lev + Alvaro M. Echevarria + AmĂ©rico Wang + Andrea Galbusera + Andreas BieĂźmann + Andreas Dilger + Andreas Schwab + Andreas Vogel + Andrew McGill + Andrew Nayenko + Andrzej Krzysztofowicz + Anthony Rumble + Anton V. Boyarshinov + Arif E. Nugroho + Arkadiusz Miskiewicz + Arnaud Mouiche + Arun Persaud + Attila Ăfra + Aurelien Jarno + Balint Cristian + Bastian Friedrich + Ben Hutchings + Benno Schulenberg + Bernardo Innocenti + Bernhard Voelker + Bernhard Walle + Bill Pemberton + Bill Reynolds + Björn Jacke + Bob Proulx + Bryn M. Reeves + B Watson + Cai Qian + Chandan B Rajenda + chas williams - CONTRACTOR + Chow Loong Jin + Chris Frost + Christian von Roques + Christian Wiese + Christophe Blaess + Christoph Hellwig + Christoph Lameter + Chris Webb + Claus Hindsgaul + Cliff Wickman + Clytie Siddall + Colin Watson + Cong Wang + Corentin Chary + Cristian RodrĂ­guez + Daisuke Yamashita + Daniel Drake + Daniel Mierswa + Daniel Nylander + Daniel Quinlan + Daniel Thumim + Dave Reisner + David Brownell + David Holland + Davidlohr Bueso + David Miller + David PrĂ©vot + David Prévot + David Woodhouse + Denis ChengRq + Dennis Gilmore + Dennis Jensen + Diego Elio 'Flameeyes' Pettenò + Dima Kogan + Dmitry V. Levin + Dong Hao + Douglas E. Quale + Doug Quale + Ed Carp + Elan Ruusamäe + Eric Rasmussen + Eric Sandeen + Erik Troan + Eryu Guan + Fabian Groffen + Flávio Leitner + Florentin Duneau + Florian Zumbiehl + Forest Bond + Francesco Cosoleto + François Revol + Fran DiĂ©guez + Frank Mayhar + FrĂ©dĂ©ric Bothamy + Frederik \"Freso\" S. Olesen + Gabor Kelemen + Gabriel Barazer + Gabriel Burt + Gabriel M. Schuyler + Gerhard Schneider + Gerrit Renker + Giulio Orsero + Guan Xin + Guillem Jover + Gunnar Ritter + Hajime Taira + Hamish Coleman + Harald Hoyer + Hayden James + Heiko Carstens + Hendrik Lönngren + Henne Vogelsang + H.J. Lu + H. Peter Anvin + Hugh Dickins + Humberto Zuazaga + Igor Bazhitov + Ilias Mamedov + Imre Kaloz + Jaakko Hyvätti + Jakob Unterwurzacher + Jakub Bogusz + James Le Cuirot + James Youngman + Jan Engelhardt + Jan Kara + Jan Sarenik + Jan \"Yenya\" Kasprzak + Jari Aalto + Jason Borden + Jason Vas Dias + Jeff Mahoney + Jens Kristian Søgaard + Jeremy Fitzhardinge + Jeremy Huntwork + Jeroen Oortwijn + Jesse Thilo + Jim Meyering + Jim Meyering + Jindrich Makovicka + Jiro SEKIBA + Joe Hansen + John Keeping + John Lindgren + John Paul Morrison + Jon Grant + Jon Ringle + Josep Puigdemont + Josiah Worcester + Juha Laiho + Jun Hamano + Justin B Rye + KaiGai Kohei + Kalev Soikonen + Kay Sievers + Kees Cook + Ken Kopin + Kevin E. Martin + kevin.granade@gmail.com + Kirill Elagin + Kunihiko IMAI + LaMont Jones + Lars Wirzenius + Lauri Nurmi + Lawrence Rust + Lennart Poettering + Linus Torvalds + Li Zefan + Lubomir Kundrak + Luciano Chavez + Ludwig Nussel + Lukas Czerner + Makoto Kato + Mantas MikulÄ—nas + Marc-Antoine Perennou + Marco Colombo + Marco d'Itri + Marek Michalkiewicz + Marek Otahal + Marek Polacek + Mark McLoughlin + Markus Rinne + Martin K. Petersen + Martin Schlemmer + Martin Schulze + Martin Steigerwald + Masatake YAMATO + Matthew Garrett + Matthias König + Matthias Koenig + Maurizio Lombardi + maximilian attems + Maxim Levitsky + Maxim V. Dziumanenko + Meelis Roos + Michael Glad + Michael Piefel + Michal Luscon + Michel Robitaille + Mike Frysinger + Mike Hommey + Mikel Olasagasti + Mikel Olasagasti Uranga + Mikhail Gusarov + Miklos Szeredi + Milan Bouchet-Valat + Milan Broz + Miquel van Smoorenburg + Mitchum DSouza + Moritz Muehlenhoff + M.S.Colclough + Natanael Copa + nick black + Nick Holloway + Nicolai Langfeldt + Nicolas Provost + NilgĂĽn Belma BugĂĽner + Norbert Buchmuller + Oliver Falk + Olivier Blin + Olivier MenguĂ© + Pádraig Brady + Pascal Terjan + Patrice Dumas + Paul Eggert + Paul Fox + Paulius Zaleckas + Paul Menzel + Pavel Maryanov + Pedro Ribeiro + Peter Breitenlohner + Peter De Wachter + Peter Jones + Peter Orbaek + Peter Rajnoha + Peter Tobias + Peter Tyser + Peter Volkov + Petr Pisar + Petr Uzel + Phan Vinh Thinh + Philipp Marek + Philipp Thomas + Phillip Susi + Pierre Hauweele + Pietro Castelli + Po-Yu Chuang + Raghavendra D Prabhu + Rajeev V. Pillai + Ram Pai + Randolph Bentson + Randy Dunlap + Ray Wang + Richard W.M. Jones + Rickard Faith + Rick Sladkey + Robert Förster + Robert Millan + Rodrigo Stulzer Lopes + Ron Sommeling + Ross Biro + Roy Peled + Sami Kerola + Samuel Thibault + Sam Varshavchik + Sander van Malssen + Santiago Vila Doncel + Sascha Sommer + Scott James Remnant + Scott Telford + Sebastian Andrzej Siewior + Sergey Gusarov + Shachar Shemesh + Simon Mihevc + s.p@orbitalfox.com + Stefan Krah + Stepan Kasal + Stephan Maka + Stephen Gallimore + Stephen Hemminger + Stephen Tweedie + Steve Grubb + Steven J. Magnani + Steven S. Dick + Steve Philp + Sukadev Bhattiprolu + Sven Eckelmann + Sven Jost + Takeshi Hamasaki + Theodore Ts'o + Thomas Fehr + Thomas Schwinge + Thorsten Glaser + Tilman Schmidt + Timo Juhani Lindfors + Timo Warns + Tim Waugh + Tobias Klauser + Tommy Thorn + Tom Prince + Tráş§n Ngọc Quân + Valerie Aurora + Ville Skyttä + Vincent Deffontaines + Vladimir Brednikov + Vladimir 'φ-coder/phcoder' Serbinenko + Volker Kuhlmann + Volker Schatz + Wanlong Gao + Wei-Lun Chao + Werner Almesberger + Werner Fink + WUEBBELS, Josef + Wylmer Wang + W.Z. Venema + Yann Droneaud + Yoshihiro Takahashi + Yuri Chornoivan + Yu Zhiguo + Zdenek Behan + 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..f1bebdd --- /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.22 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/TODO b/Documentation/TODO new file mode 100644 index 0000000..a646127 --- /dev/null +++ b/Documentation/TODO @@ -0,0 +1,239 @@ + + Note that items with (!) have high priority. + +lscpu +----- + - detect more hypervisors, see 'virt-what' shell script + http://people.redhat.com/~rjones/virt-what/ + +losetup +------- + - add new option --list and --output to print details about + one or all (-a) devices by lib/tt.c output. For example people hate + the hex devno in the default output. + +dmesg +----- + + - add --color to colorize err and panic messages + +hwclock +------- + + - (!!!) add "hwclock -c|--compare" to provide info about RTC frequency offset + like "adjtimex -c", shell version: + + #!/bin/bash + date > /dev/null + hwdate=$(hwclock -r) + time1_sys=$(date +'%s.%N') + time1_hw=$(date -d "${hwdate% -*}" +'%s') + + while sleep 10; do + hwdate=$(hwclock -r) + time2_sys=$(date +'%s.%N') + time2_hw=$(date -d "${hwdate% -*}" +'%s') + awk "END { x = (($time1_hw - $time1_sys) - ($time2_hw - $time2_sys)) / + ($time2_hw - $time1_hw); printf \"sysclock/RTC frequency offset: %.0f ppm (%.0f + ticks)\n\", x * 1e6, x * 1e4}" < /dev/null + done + +minix (fsck, mkfs) +------------------ + + - clean up types -- use ino_t, size_t and ssize_t + +libmount (mount/umount) +----------------------- + + Note that the old mount/[u]mount.c code is in MAINTENANCE MODE only. All new + features should be implemented to libmount or to the new sys-utils/{mount,umount}.c + utils. + + - add options to control fstab/mtab mount options usage, something like: + + --options-mode={ignore,append,prepend,replace} MNT_OMODE_{IGNORE, ...} + --options-source={fstab,mtab,disable} MNT_OMODE_{FSTAB,MTAB,NOTAB} + --options-source-force MNT_OMODE_FORCE + + (all this already supported by libmount) + + - add x-mount-mkdir mount option to libmount to allow "mkdir /mountpoint" + + - support MS_PROPAGATION flags in fstab -- note that kernel assumes that + these flags are not mixed with another mount flags, it means that: + + /dev/sda1 /mnt/foo auto ro,shared + + has be implemented by two syscalls: + + mount("/dev/sda1", "/mnt/foo", "ext4", MS_RDONLY, NULL); + mount(NULL, "/mnt/foo", "none", MS_REMOUNT|MS_SHARED, NULL); + + yeah, there is race ;-( + + - (!) on systems with regular mtab file it is impossible to umount by "umount + /dev/loop0" if the loop device has been created by "mount -o loop", because + there is backing file in the mtab (instead of the device name). + + Now we have all necessary information in /sysfs so it should be possible to + translate the device name to backing file and then search in mtab for the + filename. See loopdev_get_loopfile(). + + - add ---target-prefix option to specify prefix for mountpoints + so then you can + + mount --fstab=/etc/fstab.sandbox -a --target-prefix=/mnt/sandbox + + to create a new hierarchy of filesystems at sandbox + + - umount by label: + # mount LABEL=mylabel + # umount LABEL=mylabel + + +libblkd and libmount +-------------------- + + - use __attribute__((notnull)) and __attribute__((warn_unused_result)) + Note that the code has to be useful for non-gcc compilers too. + +partx +----- + + - support mapping by device-mapper if argv[0] is "kpartx" or --dm option is used. + + - (!) add regression tests for partx, addpart and delpart + + +docs +---- + + - (!) use something better than gtk-doc for libmount and libblkid (doxyden?) + + - (!) add API documentation to libuuid + + +lib/tt.c +-------- + + - allows to sort columns, for example sort lsblk(8) output by SIZE + +login-utils: +----------- + + - (!) merge newgrp from shadow-utils + +libblkid +-------- + + - improve DBG() debug macro, see new imeplemntation in libmount/src/mountP.h + + - (!) don't use internally blkid_loff_t, rather use off_t, size_t, ssize_t, + stdint.h types and so on... + + - add FSSIZE value -- filesystem size (klibc requirement) + + - (!) add support for dasd PT (used for example on s390) + +fdisk(s) +-------- + + - add to "First sector" dialog a line with information about available + gaps (free areas) to make it more user friendly if you want to skip + any useless (small) areas between existing partitions. + See https://bugzilla.redhat.com/show_bug.cgi?id=715114 + + - add "move end" command to move end of the last primary/extended partition. + This feature seems very attractive to users who resizing their disks + (for example in virtual machines). + + - sfdisk rounds to cylinders is -uM (megabyte units) is specified, this is + pretty stupid feature. It has to round to sectors if -uS or -uM is specified. + + - Sun label support is completely useless for large disks, it uses number of + cylinders from on-disk-label where the geometry is stored by int16 values. + It seems better to completely ignore this stuff from the label and always + use geometry + BLKGETSIZE64 from kernel. + + - use off_t instead "long long" + + - catch SIGINT (Ctrl-C) and return to main menu. + From Red Hat bugzilla #545488: + + While using fdisk normally, if you accidentally pressed the wrong button (to + start a sequence of questions for some operation, e.g. 'c' to create + partition). The tool tries too hard to keep asking you for valid input. You + can't provide a blank or invalid input to get it to break out of the current + dialog sequence and get back to the main menu. + + - fdisk/* refactoring (probably implement libfdisk ???) + + - add GPT support (probably implement libfdisk ???) + +misc +---- + + - switch_root: + - move all mountpoints to the newroot (there are hardcoded /proc /sys and /dev paths now) + - add --dont-move[=] options + + - use TZ=UTC + + - add mllockall() and SCHED_FIFO to hwclock, + see http://lkml.org/lkml/2008/10/12/132 + + - (!) rewrite ipcs to use /proc/sys/kernel rather than unreliable syscalls + (there are problems with 32bit userspace on 64bit kernel) + + +--------------- +exotic requests +--------------- + + - mount -a -- reorder fstab entries by paths before mount (just idea only) + + - mount -a (just idea only) + + Date: Sun, 3 Jun 2007 18:04:24 +0300 (MET DST) + From: Szabolcs Szakacsits + + In the past the right record order could be figured out easily by just + checking out fstab (if one knew what to look for) but considering the + fastly increasing number of user space file systems and their usage, with + their path, library, etc dependencies, it's getting trickier and is a black + magic for most users because they simply expect drives to be mounted + independently of their order in fstab. + + One typical, wrongly edited fstab example is: + + /dev/hda2 / ext3 defaults 1 1 + /dev/hda1 /mnt/windows ntfs-3g defaults 0 0 + /dev/hda3 /usr ext3 defaults 0 0 + + The events: + + mount -> /sbin/mount.ntfs-3g -> + -> resolves to /ntfs-3g via a symlink -> + -> ntfs-3g requires at least /libfuse* + + There are many potential solutions. For example installing everything on + the root file system which may be needed for successful mount. But this + is not always feasible or practical since we could end up putting almost + everything on the root file system in the end. + + Another idea is an improved mount strategy: + + do { + try to mount all unmounted entries + } while (not all mounted && at least one new was successfully mounted) + + + - 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..c58b04f --- /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 cach 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/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/cfdisk.txt b/Documentation/cfdisk.txt new file mode 100644 index 0000000..45728da --- /dev/null +++ b/Documentation/cfdisk.txt @@ -0,0 +1,35 @@ +Announcing the new curses based fdisk program... cfdisk + +cfdisk is a curses based disk drive partitioning program that can +create partitions for a wide variety of operating systems including +Linux, MS-DOS and OS/2. cfdisk was inspired by the fdisk program, by +A. V. Le Blanc (LeBlanc@mcc.ac.uk). I hope that this program will be +useful to both new and old Linux users, and I hope it will make the +installation process easier. + + + **** WARNING **** +If you write a bad partition table to disk, it may destroy data and +partitions. + +------------------------------------------------------------------- + + Copyright (C) 1994 Kevin E. Martin (martin@cs.unc.edu) + +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. + +cfdisk 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. + +___ +Kevin E. Martin University of North Carolina at Chapel Hill +martin@cs.unc.edu Department of Computer Science 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/ddate.txt b/Documentation/ddate.txt new file mode 100644 index 0000000..87d0fb8 --- /dev/null +++ b/Documentation/ddate.txt @@ -0,0 +1,73 @@ + +PERPETUAL DATE CONVERTER FROM GREGORIAN TO POEE CALENDAR + +SEASONS + 1. Chaos -- Patron Apostle Hung Mung + 2. Discord -- Patron Apostle Dr. Van Van Mojo + 3. Confusion -- Patron Apostle Sri Syadasti + 4. Bureaucracy -- Patron Apostle Zarathud + 5. The Aftermath -- Patron Apostle the Elder Malaclypse + +DAYS OF THE WEEK* + 1. Sweetmorn *The DAYS OF THE WEEK + 2. Boomtime are named from the five + 3. Pungenday basic elements: SWEET, + 4. Prickle-Prickle BOOM, PUNGENT, PRICKLE, + 5. Setting Orange and ORANGE. + +HOLYDAYS +A. Apostle Holydays B. Seasons Holydays + 1. Mungday 1. Chaoflux + 2. Mojoday 2. Discoflux + 3. Syaday 3. Confuflux + 4. Zaraday 4. Bureflux + 5. Maladay 5. Afflux +Each occurs on the 5th Each occurs on the 50th +day of the Season day of the Season + +C. Saint Tib's Day -- occurs once every four years (1 + 4 = 5) and is + inserted between the 59th and 60th days of the Season of Chaos + + ST BT PD PP SO SM BT PD PP SO +Jan 1 2 3 4 5 1 2 3 4 5 Chs Jul 5 6 7 8 9 40 41 42 43 44 Cfn + 6 7 8 9 10 6 7 8 9 10 10 11 12 13 14 45 46 47 48 49 + 11 12 13 14 15 11 12 13 14 15 15 16 17 18 19 50 51 52 53 54 + 16 17 18 19 20 16 17 18 19 20 20 21 22 23 24 55 56 57 58 59 + 21 22 23 24 25 21 22 23 24 25 25 26 27 28 29 60 61 62 63 64 + 26 27 28 29 30 26 27 28 29 30 30 31 1 2 3 65 66 67 68 69 + 31 1 2 3 4 31 32 33 34 35 Aug 4 5 6 7 8 70 71 72 73 1 Bcy +Feb 5 6 7 8 9 36 37 38 39 40 9 10 11 12 13 2 3 4 5 6 + 10 11 12 13 14 41 42 43 44 45 14 15 16 17 18 7 8 9 10 11 + 15 16 17 18 19 46 47 48 49 50 19 20 21 22 23 12 13 14 15 16 + 20 21 22 23 24 51 52 53 54 55 24 25 26 27 28 17 18 19 20 21 + 25 26 27 28* 1 56 57 58 59 60 29 30 31 1 2 22 23 24 25 26 +Mar 2 3 4 5 6 61 62 63 64 65 Sep 3 4 5 6 7 27 28 29 30 31 + 7 8 9 10 11 66 67 68 69 70 8 9 10 11 12 32 33 34 35 36 + 12 13 14 15 16 71 72 73 1 2 Dsc 13 14 15 16 17 37 38 39 40 41 + 17 18 19 20 21 3 4 5 6 7 18 19 20 21 22 42 43 44 45 46 + 22 23 24 25 26 8 9 10 11 12 23 24 25 26 27 47 48 49 50 51 + 27 28 29 30 31 13 14 15 16 17 28 29 30 1 2 52 53 54 55 56 +Apr 1 2 3 4 5 18 19 20 21 22 Oct 3 4 5 6 7 57 58 59 60 61 + 6 7 8 9 10 23 24 25 26 27 8 9 10 11 12 62 63 64 65 66 + 11 12 13 14 15 28 29 30 31 32 13 14 15 16 17 67 68 69 70 71 + 16 17 18 19 20 33 34 35 36 37 18 19 20 21 22 72 73 1 2 3 Afm + 21 22 23 24 25 38 39 40 41 42 23 24 25 26 27 4 5 6 7 8 + 26 27 28 29 30 43 44 45 46 47 28 29 30 31 1 9 10 11 12 13 +May 1 2 3 4 5 48 49 50 51 52 Nov 2 3 4 5 6 14 15 16 17 18 + 6 7 8 9 10 53 54 55 56 57 7 8 9 10 11 19 20 21 22 23 + 11 12 13 14 15 58 59 60 61 62 12 13 14 15 16 24 25 26 27 28 + 16 17 18 19 20 63 64 65 66 67 17 18 19 20 21 29 30 31 32 33 + 21 22 23 24 25 68 69 70 71 72 22 23 24 25 26 34 35 36 37 38 + 26 27 28 29 30 73 1 2 3 4 Cfn 27 28 29 30 1 39 40 41 42 43 + 31 1 2 3 4 5 6 7 8 9 Dec 2 3 4 5 6 44 45 46 47 48 +Jun 5 6 7 8 9 10 11 12 13 14 7 8 9 10 11 49 50 51 52 53 + 10 11 12 13 14 15 16 17 18 19 12 13 14 15 16 54 55 56 57 58 + 15 16 17 18 19 20 21 22 23 24 17 18 19 20 21 59 60 61 62 63 + 20 21 22 23 24 25 26 27 28 29 22 23 24 25 26 64 65 66 67 68 + 25 26 27 28 29 30 31 32 33 34 27 28 29 30 31 69 70 71 72 73 + 30 1 2 3 4 35 36 37 38 39 [1970 = 3136] [Next St. Tib's Day in 3138] + + SACRED DOCUMENT OF THE FROGS (old Erisian poem): + 73 Days hath + Chaos, Discord, Confusion, Bureaucracy, and Aftermath + diff --git a/Documentation/deprecated.txt b/Documentation/deprecated.txt new file mode 100644 index 0000000..842d642 --- /dev/null +++ b/Documentation/deprecated.txt @@ -0,0 +1,57 @@ +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: chkdupexe +Why: unnecessary, in Perl, not used in distributions, possible to replace + by a simple shell script. + +-------------------------- + +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: useless, nobody uses this command, head(1) is better + +-------------------------- + +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: cryptoloop support in mount/losetup +Why: depreciated in favor of dm-crypt. + +--------------------------- + +What: elvtune +Why: useless for kernel >= 2.6.9 + +--------------------------- + +What: arch(1) command +Why: deprecated in favor of uname(1) or arch(1) from coreutils + + The arch(1) has been added (during 2.13 development cycle) to coreutils + where it will be maintained as an alias for uname(1) command. + +---------------------------- + +What: newgrp(1) +Why: deprecated in favor of newgrp from shadow-utils + +---------------------------- + +What: vipw/vigr(8) +Why: deprecated in favor of vipw/vigr(8) from shadow-utils + +---------------------------- + +What: last(1) +Why: nobody uses this implementation + 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/fdisk.txt b/Documentation/fdisk.txt new file mode 100644 index 0000000..a480ac5 --- /dev/null +++ b/Documentation/fdisk.txt @@ -0,0 +1,581 @@ +`fdisk': the Linux partition table editor +========================================= + +`fdisk' is the Linux partition table editor. In this section we +examine this utility and try to describe it thoroughly enough so that +anyone can use it. + +* Contents: + +* Disks and how they are described. +* Dividing up your disk. +* The `fdisk' command. +* Deleting and adding partitions. +* Active flags and system types. +* Extra commands for experts. +* Warnings for `fdisk' users. + + +Disks and how they are described +-------------------------------- + +A typical disk consists physically of one or more circular objects +called "platters", which rotate about a central axis. Devices called +"heads" move to specified places on the disk surface to read or write +information. There is usually one head on each side of every platter, +and all these heads are attached to a comb-like controller arm which +moves all of them at the same time, either closer to the center of the +disk, or closer to the outer edge. + +Suppose the arm is in one position, putting an area of the disk +surface within reach of one or another of the heads. This total area, +everything that is accessible without moving the arm, is called a +"cylinder". (A cylinder is a barrel-shaped cross section of a disk, +consisting of a circular strip from each side of each platter.) The +part of a cylinder that one head can read or write without moving is +called a "track". + +Each track is divided into several pie-shaped slices called +"sectors", which are the smallest parts of the disk which can be read +or written at a time. The sectors on one disk are usually all the same +size. + +In fact, there are not always two heads to every platter, there are +some disks which do not have the same amount of data in every cylinder, +and there may be disks which do not have the same amount of data in +every sector. These features are usually hidden on PCs by the +controller card or the BIOS, which map the physical geometry of a disk +onto a logical geometry, which is what is actually used to access the +disk. + +The numbers which describe the "geometry" of a disk are + + 1. The number of cylinders it contains. + + 2. The number of tracks per cylinder, which is the number of heads. + + 3. The number of sectors per track. + + 4. The number of bytes per sector. + +These numbers vary from disk to disk, but a typical PC disk might +have about 1000 cylinders, half a dozen heads, and 15 or 20 sectors per +track, with each sector containing 512 bytes or characters; such a disk +contains 40 to 60 megabytes of data. A "double density" floppy disk +contains 40 cylinders, with 2 heads (2 tracks per cylinder), and with 9 +sectors per track; such a disk contains 360 kilobytes, or 360 * 1024 +characters. A "high density" 3.5 inch floppy contains 80 cylinders, +with 2 heads and 18 sectors per track, or 1.44 megabytes, or 1440 * +1024 characters. + +The exact size of a track or cylinder in bytes varies from one disk +to another. This `fdisk' for Linux deals mainly with cylinders, since +this is the best unit to use when allocating space for partitions. It +reports partition sizes in "blocks" of 1024 bytes, or 2 sectors, since +`mkswap' and the various `mkfs' programs require this number. A block +is the smallest amount of space which can be set aside for a file in +the current file systems. + +An operating system, such as Linux or DOS or OS/2, may use a disk in +any way that it wishes, but if two operating systems share the same +disk, they must agree on who owns what, or else one will interfere with +the other (that is, by damaging the other's files). A "partition" is a +section of a hard disk which is handled as a unit by all operating +systems which can access the disk. The standard way to define +partitions (for the moment) is the "partition table", a list of +information which is stored in parts of the disk that don't belong to +any of the systems using the disk. The beginning of the partition +table is stored in the disk's primary boot sector, and the rest is +stored in a chain of sectors scattered throughout the disk. + +The first sector on the disk is called the "primary boot block" or +"primary boot sector" because (1) it comes first, before other, similar +sectors; (2) it tells where the other, similar sectors are found, so +that it is logically `prior' to them; and (3) it usually contains code +which is executed when the system boots up. This sector contains a +table describing at most four partitions. These areas are called +"primary partitions". + +The partition table in the primary boot sector may also describe at +most one "extended partition". This is a large area of the disk, +usually containing all the space which is not in any primary partition. +Within this space we can set aside other areas which are called +"logical partitions", because they look almost exactly like primary +partitions. In fact, the main difference between them is that we can +boot from primary partitions, while we cannot boot from logical +partitions. This happens because the address of a primary partition is +in a fixed place, whereas the address of a secondary partition is not, +so we require a more complicated process to discover it, one which is +too difficult for most primary boot programs. + + +Dividing up your disk +--------------------- + +It is a good idea to plan ahead before you start creating partitions +on your disk. If you set aside a partition for some purpose, it is not +easy to change its size: you must backup all the data from the partition, +whether to floppies, to another partition, to another hard disk, or +somewhere else; then you must edit the table which describes this +partition, so changing its size; then you must reboot and initialize +the new partition, formatting it, for example, under DOS, or running +`mkfs' under Linux; finally you can copy all the data back. It is +possible, if you have several partitions, to copy data back and forth +between them while you change their sizes, but this is a bit risky and +time consuming. It is better to plan ahead what you will need, since +it is hard to change it afterwards. + +Many people with large disks and recent versions of DOS have their +entire file system on one large partition. They usually ask, `Isn't +there any way I can reformat my disk without copying everything off?' +There is no way to do it using standard DOS utilities, and there is no +truly safe way to do it using commercial software, because, if you make +a mistake, you will lose the entire contents of your disk. If you are +going to back up your disk anyway, you might as well copy the data back +safely. The Linux FAQ contains references to tools and procedures +which will allow you to do this, if you dare. + +DOS and Linux both allow you to access several partitions on a +single disk; on DOS these are treated as if they were separate disks or +drives, and under Linux they are treated as different "devices". + +You can have up to 64 partitions on a single IDE disk, or up to 16 +partitions on a single SCSI disk, at least as far as Linux is +concerned; in practice you will rarely want so many. The maximum size +of a Linux file system on a single partition depends on the type of +file system you use. Minix file systems (version 1) are limited to 64 +megabytes. You may have all of your Linux files in a single partition, +or you may have two, three, or more Linux file systems. Similarly you +may have one or more DOS partitions. If you have several small +partitions, you run much less risk of losing all your files if your +disk gets corrupted. On the other hand, you may run out of space on a +small partition more easily. + +Under DOS, you must refer to each partition by a separate drive +letter, but all partitions are automatically accessible. Under Linux +only the root partition is automatically accessible, but once we mount +another partition, it is indistinguishable from the rest of the file +system. Disks are usually mounted by a command in one of the system +startup files, `/etc/rc', so you need not worry about having to do it +yourself whenever you boot the system. But even ordinary users may +be allowed to mount removable hard disks and floppy disks. + +Linux requires at least one partition, which is the `root' of the +file system. You may prefer to have a separate partition for `/usr', +which contains most of the executable files, or for `/home', which +contains most of your private files. You may also wish to set aside a +partition to use for swap space, depending on the amount of memory your +PC has. You will certainly need swap space if you have less than 4 MB +of RAM and wish to compile anything substantial. You can reserve swap +space in a file, but you need a partition big enough to hold it, and +this will probably be less efficient than having a partition devoted to +swap. + +Are you going to boot Linux from the hard disk, or will you boot +from a floppy? Some boot programs place severe restrictions on where +the boot partition can be. LILO is more relaxed about this, but does +require either the Master Boot Record on your first hard disk, or the +boot record on one of the first four partitions on your first hard disk. + +If you have an extended partition with logical partitions in it, you +can have only three primary partitions containing data. + + +The `fdisk' command +------------------- + +Every operating system, whether DOS, OS/2, or Linux, should provide +its own utility for editing hard disk partition tables. At least four +of these utilities have been called `fdisk', for `Fixed DISK setup +program', where `fixed' means `not removable'. I believe the first PC +program named `fdisk' came from Microsoft in about 1985; before that +time disks were too small to divide into separate sections. + +Every operating system has its own peculiarities. Normally you +should set up a partition for the use of one operating system by using +its own `fdisk' program. Do not use the Linux `fdisk' to create +partitions for DOS or for any system other than Linux; otherwise you +may have problems. + +An `fdisk' program performs two functions: it reports how the disk is +configured, and it changes that configuration by adding or deleting +partitions. Most `fdisk' programs can also change other information in +partition tables. + +This `fdisk' for Linux operates on one hard disk at a time. If you +give the command + + fdisk + +it reports on, and is able to change, `/dev/hda', the first hard +disk. (If you have no `/dev/hda', `fdisk' uses `/dev/sda' as the +default device.) To look at or change the second hard disk, `/dev/hdb', +give the command + + fdisk /dev/hdb + +To look at or change the first SCSI disk, give the command + + fdisk /dev/sda + +There are some special forms of the `fdisk' command. One of them, +suggested by Jim Winstead, simply lists all partitions on all available +disks: + + fdisk -l (where `l' is a letter, not the digit `1') + +The option `-v' is provided to list the current version of the +`fdisk' command. Finally, there is an option `-s' which is not really +intended for interactive use. It causes fdisk to print the size of a +partition in blocks of 1024 bytes as follows: + + fdisk -s /dev/hda7 + 39934 + +Because this is intended to be used by `mkfs' and `mkswap' programs, +it does not return the size of extended partitions or of partitions +whose system type code is less than 10 (hexadecimal a). If you start +`fdisk' without using one of these special options, it responds by +asking for a command: + + Command (m for help): _ + +Each `fdisk' command consists of a single letter, which must be +followed by before it is obeyed. Upper and lower case are not +distinguished. Anything you type after the first character is ignored. +Give the command `m', and you should see this menu: + Command action + a toggle a bootable flag + d delete a partition + l list known partition types + m print this menu + n add a new partition + p print the partition table + q quit without saving changes + t change a partition's system id + u change display/entry units + v verify the partition table + w write table to disk and exit + x extra functionality (experts only) + + Command (m for help): _ + +The simplest commands are Print, Verify, and Quit. On a small disk, the +Print command might produce a display like this one: + + Disk /dev/hda: 5 heads, 17 sectors, 977 cylinders + Units = cylinders of 85 * 512 bytes + + Device Boot Begin Start End Blocks Id System + /dev/hda1 * 1 1 236 10021+ 1 DOS 12-bit FAT + /dev/hda2 837 837 977 5992+ 5 Extended + /dev/hda3 * 237 237 836 25500 83 Linux native + /dev/hda5 837 837 936 4249+ 82 Linux swap + /dev/hda6 942 942 977 1522 1 DOS 12-bit FAT + +There are 5 partitions reported; `/dev/hda4' does not appear because +it is not allocated. Partitions 1 and 3 are flagged as bootable. The +size of each partition is reported in 1 kilobyte blocks; hence the +primary Linux partition, partition 3, is 25 1/2 megabytes in size. The +`+' after three of the sizes warns that these partitions contain an odd +number of sectors: Linux normally allocates filespace in 1 kilobyte +blocks, so the extra sector in partition 5 is wasted. Id numbers are +reported in hexadecimal and explained in English. + +The display/entry units may be either cylinders or sectors. The +default is cylinders, but changing the units makes the print command +display the following table for the system reported above: + + Disk /dev/hda: 5 heads, 17 sectors, 977 cylinders + Units = sectors of 1 * 512 bytes + + Device Boot Begin Start End Blocks Id System + /dev/hda1 * 1 17 20059 10021+ 1 DOS 12-bit FAT + /dev/hda2 71060 71060 83044 5992+ 5 Extended + /dev/hda3 * 20060 20060 71059 25500 83 Linux native + /dev/hda5 71061 71061 79559 4249+ 82 Linux swap + /dev/hda6 79985 80001 83044 1522 1 DOS 12-bit FAT + +The start of data in both DOS partitions is 16 sectors after the +beginning of the partition: this is one reason why you should use DOS's +own `FDISK' to create DOS partitions. Changing the units to sectors +also affects the way in which the new partition command asks for the +beginning and end of a new partition. + +*Warning*: it is dangerous to create a new partition when the +display/entry units are sectors. + +The Verify command is useful because + + 1. It warns you if anything is wrong. *Always* do a Verify command + to check your work before writing any changes to disk. + + 2. It reports how many unallocated sectors there are on the disk. + +The Quit command is also useful. `fdisk' does not actually change +any data on your disk unless you give a Write command. If you are +unhappy about any changes you may have made, give the Quit command, and +your disk will remain as it was before you ran `fdisk'. You can also +interrupt `fdisk' with `CTRL-C'. + + +Deleting and adding partitions +------------------------------ + +Deleting a partition is simple. Give the Delete command by typing +`d'. `fdisk' asks: + + Partition number (1-6): _ + +Once you get this far, you must either delete a partition or +interrupt the program with `CTRL-C' (or whatever your current interrupt +character is). Note: + + 1. You may delete a nonexistent partition. You will get a warning + message. + + 2. You may delete an extended partition. This has the side effect of + deleting all partitions greater than or equal to 5. + + 3. You may delete a logical partition. In that case, all partitions + above it are renumbered at once. For example, if you delete + partition 5, then partition 6 becomes known as partition 5, and + partition 7 as partition 6. + +Adding a partition is just a bit more complicated. Give the New +command by typing `n'. `fdisk' allows you to + + 1. Create a primary partition, if there is a free slot in the primary + partition table. + + 2. Create an extended partition if there is a free slot in the + primary partition table, and if there is no extended partition. + + 3. Create a logical partition if an extended partition exists. + +If more than one of these actions is possible, you will be asked to +select Primary, Extended, or Logical, depending on what is currently +permissible. Before you create a primary or an extended partition, you +are asked what slot it is to have in the table (1-4). + +You may not add a primary or an extended partition if the selected +slot in the primary partition table is already occupied: in that case +you simply return to the main menu. You are not allowed to add a new +primary partition unless there are sectors available outside the +extended partition. You are not allowed to add a new logical partition +unless there are sectors available inside the extended partition. + +If space is available, you are prompted for the first cylinder: + + First cylinder ([237]-977): _ + +The limits are the lowest and the highest cylinders in which sectors +are available in the appropriate part of the disk. The square-bracketed +number is what you'll get if you simply press enter. Not all numbers in +this range are necessarily available: they may fall inside an existing +partition. If you select a cylinder which is already in use, you are +told off and prompted again for the first cylinder. After selecting the +first cylinder, you are prompted again: + + Last cylinder or +size or +sizeM or +sizeK (237-[836]): _ + +The limits are the cylinder you have chosen as the first cylinder, +and the highest cylinder which contains a legitimate upper boundary for +the new partition. The square-bracketed number is what you'll get if +you simply press enter. In other words, all numbers in the given range are +legitimate, unlike those in the first range of cylinders. You may also +specify the size of a partition in megabytes, kilobytes, or in the +current units (cylinders or sectors). A plus sign `+' indicates that +your answer is a size rather than a boundary, and the suffix `m' or `k' +(upper or lower case) indicates that the size is not given in units of +sectors or cylinders, but in megabytes or kilobytes respectively. Thus +possible answers to the last cylinder request above are + +700 + Make cylinder 700 the last cylinder in the partition. + ++300 + Make cylinder 237 + 300 = 537 the last cylinder in the partition. + ++15m + Make the partition at least 15 megabytes in size. + ++12500k + Make the partition at least 12,500 kilobytes in size. + +If you specify a size which is too large or an end which is out of +range, fdisk complains and repeats the prompt. + +Adding or deleting partitions has no effect unless you subsequently +give the Write command. Please remember to give the Verify command +first, just before giving the Write command: this is a safety +precaution. After giving the Write command, you will see this message: + + The partition table has been altered! + Calling ioctl() to re-read partition table. + Syncing disks. + +If there are no further messages, the kernel has successfully copied +the information from the partition table into its own internal table. +But sometimes you will see a message like this one: + + Re-read table failed with error 16: Device or resource busy. + Reboot your system to ensure the partition table is updated. + +In this case, depending on what you have changed in the partition +table, it may be dangerous to continue working without rebooting, +since you may lose or corrupt your data. + + +Here are some important things to note: + + 1. Before you reboot, you *may* run `fdisk' again, either to manage + another disk, or to make additional changes to the same disk, or + just to check that the changes have been made as you expected. + This is true even after you receive the message warning you to + reboot. + + 2. It is not a good idea to run any of the programs `mkfs', `mkswap', + `mount', or `swapon' if you have received the warning message but + have not rebooted. In this case it is dangerous to run any program, + but these in particular may cause serious damage to the data on your + disk, including the partition tables themselves. + + +Active flags and system types +----------------------------- + +The active flag is a bit in the partition table entry which marks a +partition as bootable. This is important to some primary boot sector +programs, which will not boot from an unflagged partition. Other such +programs do not allow more than one partition to be flagged. Some, +like LILO, ignore the flags completely. I prefer to flag all bootable +partitions as active so that they stand out on the menu which `fdisk' +lists. Fdisk prints a star after the name of a partition's device file +if its active flag is set. + +The Active command changes, or toggles, a partition's active flag. +Give the Active command, and select a partition by number. If it was +marked inactive, it will be flagged as active; if it was flagged as +active, it will be marked inactive. You may set the active flag on an +extended or logical partition, though the meaning of such a flag is by +no means clear. This can be used to install LILO as a secondary boot +loader to boot a Linux which lives on a second hard disk. + +The Type command changes the ID number which describes what type a +partition is. `fdisk' currently recognises 30 system IDs, in the sense +that it prints a string for each of them, but it allows you to change +any system ID to any other, with the following exceptions: you may not +change any partition to or from the type Extended, and you may not +change a partition whose type is Empty (0) to any other type. You may, +however, change the type of any data partition to 0, which is +equivalent to deleting it. + +The new system ID or type code is a hexadecimal number. There are +two ways of listing the numbers which `fdisk' recognises: use the List +command, which prints the list, or use the Type command, which, when it +prompts you for the code, says + + Hex code (type L to list codes): _ + +where the upper case `L' is used for clarity. The codes printed are: +Some of these numbers are a trifle uncertain. By default `fdisk' uses +a type of 83. It used to use 81, the type code used by the MINIX +`fdisk'. It seemed prudent to change the default since (a) many Linux +`minix' file systems are no longer compatible with MINIX, (b) the ext2 +file system, a native Linux file system, is fairly stable, as is the +Xia file system, and (c) the number 81 causes problems with DR-DOS. +Linux does not usually care what values you use for type codes, but +other systems, in particular DOS, OS/2, and DR-DOS, may. + +The value of 82 for Linux swap partitions is my own invention, and +is intended to give some recognisable distinction to the partitions +when the values are displayed in hexadecimal. + +New active flags and new system type codes are not written to the +disk until you exit from `fdisk' with the Write command, as described +above, in the section on deleting and adding partitions. + + +Extra commands for experts +-------------------------- + +The eXtra command `x' puts `fdisk' into `expert' mode, in which a +slightly different set of commands is available. The Active, Delete, +List, New, Type, Verify, and `eXpert' commands are not available in +expert mode. The commands Write and Quit are available as in ordinary +mode, the Print command is available, but produces output in a slightly +different format, and of course the Menu command prints the expert +menu. There are several new commands. + + 1. The Return command brings you back to the main menu. + + 2. The Extended command prints the list of table entries which point + to other tables. Ordinary users do not need this information. + The data is shown as it is stored. The same format is used for + the expert Print command. + + 3. The dangerous Begin command allows you to move the start of data + in a partition away from its beginning. Other systems create + partitions with this format, and it is sometimes useful to be able + to reproduce it. + + 4. The slightly dangerous Cylinders command allows you to change the + available number of cylinders. For SCSI disk owners, note that we + require not the actual number of physical cylinders, but the + number of logical cylinders used by DOS and other operating + systems. + + 5. The extremely dangerous Heads and Sectors commands allow you to + change the number of heads and sectors. It should not be + necessary to use these commands unless you have a SCSI disk, whose + geometry Linux is not always able to determine. SCSI disk owners + note that we need not the actual number of heads or of sectors per + track, but the number believed to exist by DOS and other operating + systems. *Warning*: If you set either of these numbers to a bad + value, you may lose all data on your disk. + +Always, after giving any of the commands Begin, Cylinder, Heads, or +Sectors, you should Return to the main menu and give the Verify command. + + +Warnings for `fdisk' users +-------------------------- + +In general, you should not use this `fdisk' program to create +partitions for other operating systems, only for Linux. Nor should you +use `fdisk' commands from other operating systems to create partitions +for Linux. + +DR-DOS 5.0 and 6.0 are reported to have difficulties with partition +ID codes of 80 or more. The Linux `fdisk' used to set the system type +of new partitions to hexadecimal 81. DR-DOS seems to confuse this with +hexadecimal 1, a DOS code. The values 82 for swap and 83 for file +systems should not cause problems with DR-DOS. If they do, you may use +the `fdisk' command `t' to change the system code of any Linux +partitions to some number less than hexadecimal 80; I suggest 42 and 43 +for the moment. + +Partitioning a hard disk may destroy data which is on that disk if you +are not careful. Go slowly, write down a description of the partition +tables before you changed them, and always verify before you write. + +Most operating systems and utilities expect that all partitions begin and +end at cylinder boundaries. This version of `fdisk' does so by default, +but you can use it to create partitions which begin or end anywhere. +This does not normally affect Linux, but it is very dangerous, as other +operating systems (including DOS) may try to `correct' the partition +boundaries. + +It is dangerous to create a new partition when the display/entry +units are sectors. + +The Verify command warns you if anything is wrong. *Always* give a +Verify command before writing any changes to disk. + +If you set the disk geometry (tracks per cylinder, or sectors per +track) to an incorrect value, you may lose all data on your disk. + +Do create BSD/SUN and/or IRIX/SGI disk labels only when you are sure +that you want them. Both features are intended to allow you READing +those labels and prevent unintentional formatting of these disks. 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..ee27965 --- /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..cd59e18 --- /dev/null +++ b/Documentation/howto-build-sys.txt @@ -0,0 +1,88 @@ +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 + + + - 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..bebe0d2 --- /dev/null +++ b/Documentation/howto-compilation.txt @@ -0,0 +1,64 @@ +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. + + Preferred compilation options for developers, when + using gcc, are: + + export CFLAGS="-Wmissing-parameter-type -Wsign-compare + -Wtype-limits -Wuninitialized -Wunused-parameter + -Wunused-but-set-parameter -fno-common" + + FIXME: add notes about klib and uClib. + +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..5df6389 --- /dev/null +++ b/Documentation/howto-contribute.txt @@ -0,0 +1,128 @@ +Patches + + * send your patches to the mailing list or to the upstream maintainer + (see the AUTHORS and README files) + + * diff -u + + * don't include generated (autotools) stuff to your patches (hint: + use git clean -Xd) + + * neutrality; The stuff in util-linux should be rather + distribution-neutral. No RPMs/DEBs/... are provided - get yours + from your distributor. + + * patches are delivered via email only. Downloading them from + internet servers is a pain. + + * one patch per email, with the changelog in the body of the email. + + * many small patches are favoured over one big. Break down is done on + basis of logical functionality; for example #endif mark ups, + compiler warning and exit codes fixes all should be individual + small patches. + + * Subject: [PATCH] subsystem: description + + * if someone else wrote the patch, they should be credited (and + blamed) for it. To communicate this, add a line: + + 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 a open-source patch. The rules are pretty + simple: if you can certify the below: + + 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 saying + + Signed-off-by: Random J Developer + + using your real name (sorry, no pseudonyms or anonymous + contributions.) + + * for more details see: The perfect patch + http://userweb.kernel.org/~akpm/stuff/tpp.txt + +Before sending a patch + + * make sure that after patching source files will compile without + errors. + + * test that previously existed program behaviour is not + unintentionally alterred. If you alter the behaviour tell about in + commit message. + +Coding style + + * the preferred coding style is based on the linux kernel + Documentation/CodingStyle. For more details see: + + http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob_plain;f=Documentation/CodingStyle + + * Use `FIXME:' and a good description if want to inform others + something is not quite right, and you are unwilling to fix the + issue. + +Various notes + + * The util-linux does not use kernel headers for file system super + blocks structures. + + * Patches relying on features that are not in Linus' tree + are not accepted. + + * 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 wrote + + if (this) + err(EXIT_FAIL, "this failed"); + err(EXIT_FAIL, "that failed"); + + * When you use if shortshort hand make sure it is not wrapped to + multiple lines. In case the shorthand does not look good on one + line use normal "if () else" syntax. + +IRC channel + + * We have a new #util-linux IRC channel at freenode.net. + + irc://chat.freenode.net/util-linux + + the channel is for developers or upstream maintainers. User + support is recommended to go to distribution channels or + forums. diff --git a/Documentation/howto-debug.txt b/Documentation/howto-debug.txt new file mode 100644 index 0000000..ca7346f --- /dev/null +++ b/Documentation/howto-debug.txt @@ -0,0 +1,72 @@ +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=0xffff + export LIBMOUNT_DEBUG=0xffff + +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..5ca4af0 --- /dev/null +++ b/Documentation/howto-man-page.txt @@ -0,0 +1,161 @@ +.\" This is an util-linux manual page example in troff format. +.\" +.\" .TH macro is expecting following arguments: +.\" title section date footer header +.\" The title is usually command name. +.\" The section must match with file name extension. +.\" The date tells month and year when last update happen. +.\" The footer is fixed to "util-linux". +.\" The header is textual string of 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' howto use various macros. +.\" +.TH EXAMPLE "1" "August 2011" "util-linux" "User Commands" +.SH NAME +example \- an util-linux man page howto +.SH SYNOPSIS +.B example +[options] +.I argument +.SH DESCRIPTION +All manual pages need some sort of description. Write such here. +.SH OPTIONS +.TP +\fB\-n\fR, \fB\-\-no\-argument\fR +This option does not use argument. +.TP +\fB\-o\fR, \fB\-\-optional\fR [\fIargument\fR] +Tell in description an +.I argument +is optional, and what happens when is or is not given. Notice that +.I argument +is not abbreviated, like in usage function. Assuming usage function would +define argument to be +.IR num , +the manual page should say +.IR number . +.TP +\fB\-r\fR, \fB\-\-required\fR \fIargument\fR +Tell in description option +.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 and exit. +.SH NOTES +Tell details what users might need to know. For example kernel feature or +version requirements. +.PP +The man page groff input lines should not exceed 80 characters length. +.PP +Do not leave empty lines to groff input. If you need break or paragraph use +appropriate groff macros. See +.BR groff_man (7) +how to use man page macros. +.PP +Use of +.I italic +which is underlined in terminal, and +.B bold +are not strictly defined. As some sort of convention +.I arguments +use italic, and the +.B other highlights +are bold. +.\" +.\" 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 groff uses double +spaces last sentence ends to end of line, and next begins from new line. +Unless double spaces are used in middle of of line the spacing style is +inconsistent. +.SH ENVIRONMENT +Tell which environment variables affect, and how, to execution of the command. +.TP +.B EXAMPLE_PATH +Configuration file path. Notice that a well-known environment variables such as +.B HOME +does not need explanation. +.SH FILES +Tell which file(s) command uses. +.TP +.B $EXAMPLE_PATH +.TQ +.B $HOME/.example.conf +.TQ +.B /etc/example.conf +What are these files, which order and will the evaluation end or continue if a +file is found. In case the explanation is not simple write separated Special +Files manual page that tells about syntax, meaning of key-value settings etc. +The file manual page needs to be referred in +.B SEE ALSO +section. +.TP +.B /var/log/example.log +Another file. +.SH EXAMPLES +Write typical and/or clever use examples here. The bellow examples are stupid, +and you should never write them to real man page. +.TP +.B example -h +Output help screen. +.TP +.B example -V +Output version information. +.SH "EXIT STATUS" +This section can be removed if 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 ftp://\:ftp.kernel.org\:/pub\:/linux\:/utils\:/util-linux/ +Linux Kernel Archive +.UE . diff --git a/Documentation/howto-tests.txt b/Documentation/howto-tests.txt new file mode 100644 index 0000000..fe91024 --- /dev/null +++ b/Documentation/howto-tests.txt @@ -0,0 +1,44 @@ + + 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] + + 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 + + + + *** 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. diff --git a/Documentation/howto-usage-function.txt b/Documentation/howto-usage-function.txt new file mode 100644 index 0000000..70116b2 --- /dev/null +++ b/Documentation/howto-usage-function.txt @@ -0,0 +1,147 @@ +Well-known options +------------------ + +Following options are well-known, and they should not be used for any +other purpose. + + -h, --help display usage and exit + -V, --version display version and exit + +Rule of thumb with other options is that once they exist you may not +change how they work, or remove them. + +Notice that `-?' is not expected to be synonym of --help, but an unknown +options resulting to a usage print out due getopt failure. + + +How usage is supposed to look +----------------------------- + +The usage output begins with empty line followed by `Usage:' and synopsis +beginning on the next line. Synopsis and all other lines which vary are +indented by one space (0x40). + +The synopsis line describes how to execute the command. Sometimes you may +need multiple synopsis lines, this is documented separately under Synopsis +title. + +Notations; Diamond brackets markup an argument. Anything optional is +marked with square brackets, such as optional command arguments, or +optional option arguments. In the later case `=' character in front of +the option argument, because one has to use it. Square brackets with +three dots inside mean unlimited repetition of previous. + +Short option are always written first followed by long option. Options are +separated with comma and one space. Lonely short or long option do not +affect where writing of the option begins. + +Below, in between snips, is an example of how the usage output should +look like. + +-- snip + +Usage: + program [options] [...] + +Options: + + -n, --no-argument option does not use argument + -o, --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 + consecutive lines are intended 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 + +Notice that there are usage function definitions in c.h include file +which you must use. Location of example is mentioned at the end of this +file. + + +Option description +------------------ + +Option description should not exceed width of 80 characters. If you need +longer description use multiple lines and indentation. + +The description begins from the point of longest option plus two spaces. +In case adding a new option would cause a description re-indentation +need it either has to be done, or the new option should begin description +from next line. Usually the later is better. The --help and --version +will not follow this rule, since they are defined as constants to ease +translation work. + +The argument, e.g. `arg', can be better. For example if an option is +expecting number as argument a `num' is suitable argument description. + +Order of the options has no special meaning, with a exception of --help and +--version which are expected to be last ones of the list. + +Last line of the usage print out is either empty, or a message informing +about manual page. For example: `For more details see example(1).' In +between man page message and options there is empty line. + + +Usage function +-------------- + +Standard usage function takes either stderr or stdout as an argument. The +argument will determine whether the program will exit with error or +success. Usage function will never return. + +In the code all strings with options have to start at the same position. See +bellow what that means. + + fprintf(out, _(" -x[=] default foo is %s"), x); + fputs( _(" -y some text"), out); + +The usage output should be split to manageable chunks, in practice one or +few lines. + + +Synopsis +-------- + +You may need to use multiple synopsis lines to tell that a command does +fundamentally different things depending on options and/or arguments. For +example ionice either changes 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] [] [...] + +Notice that the synopsis is not meant to be repetition of options segment. +The fundamental difference in execution is a bit difficult to define +other than usually command author, package maintainer or patch submitter +will know when it should be done that way. + + +Legacy options +-------------- + +Some commands use peculiar options and arguments. These are supported, +but such will not be accepted in future. See list bellow for a hint what +are meant this. + +- Other than `-' used to define an option. See `+' for `more' or `ddate' + commands. +- Option string used as an option argument. See `more' command and `-num'. +- Short long option. See `setterm'. + + +Example +------- + +Command sys-utils/arch.c is a minimal example how to do write usage +function, setup option parsing, version printing and so on. 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 b/Documentation/licenses/COPYING.BSD-3 new file mode 100644 index 0000000..2f17068 --- /dev/null +++ b/Documentation/licenses/COPYING.BSD-3 @@ -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.GPLv2 b/Documentation/licenses/COPYING.GPLv2 new file mode 100644 index 0000000..d159169 --- /dev/null +++ b/Documentation/licenses/COPYING.GPLv2 @@ -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.LGPLv2.1 b/Documentation/licenses/COPYING.LGPLv2.1 new file mode 100644 index 0000000..4362b49 --- /dev/null +++ b/Documentation/licenses/COPYING.LGPLv2.1 @@ -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/licenses/COPYING.UCB b/Documentation/licenses/COPYING.UCB new file mode 100644 index 0000000..9abbf24 --- /dev/null +++ b/Documentation/licenses/COPYING.UCB @@ -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/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/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..94f51a9 --- /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 untilities 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..6077735 --- /dev/null +++ b/Documentation/release-schedule.txt @@ -0,0 +1,39 @@ +Release schedule +---------------- + +The util-linux uses .. version numbering. +Since the major version is pretty much fixed the release means an +upgrade of minor number. Minor version is update roughly twice +per year. Easiest way to estimate when next version will occur is +to see time stamp of previous release. + +Before a release there are few release candidates, which will be +collectively tested. During test period changes to code base are +restricted. Usually there are two release candidates. + + what length what will be accepted to upstream + ------------------------------------------------------- + rc1 1-2 weeks bug fixes only + rc2 1-2 weeks translations, fatal/trivial bug fixes + +The period between a release and next release candidate can be considered as +merge window. + +Release criteria +---------------- + +For all releases is required: + + - make checkincludes pass + - make checkconfig pass + - make distcheck pass + - cd tests && ./run.sh pass + - out-of-tree build works + cd .. && mkdir build && cd build && ../util-linux/configure && make + + - ideally: build with uClibc, --with-slang + +See also +-------- + +Documentation/source-code-management.txt diff --git a/Documentation/releases/v2.13-ReleaseNotes b/Documentation/releases/v2.13-ReleaseNotes new file mode 100644 index 0000000..327894d --- /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: + ftp://ftp.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 Miskiewicz] + - 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..4b7c5af --- /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] + + * ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.13/v2.13.1.1-ReleaseNotes + ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.13/v2.13.1.1-ChangeLog + +util-linux-ng 2.13.1 [16-Jan-2008] + + * ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.13/v2.13.1-ReleaseNotes + ftp://ftp.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: + ftp://ftp.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 Miskiewicz] + - 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..98d9741 --- /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] + + * ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.14/v2.14.1-ReleaseNotes + ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.14/v2.14.1-ChangeLog + +util-linux-ng 2.14.2 [09-Feb-2009] + + * ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.14/v2.14.2-ReleaseNotes + ftp://ftp.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: + ftp://ftp.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 Miskiewicz] + - 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: + - dont 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..b7337e8 --- /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] + + * ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.15/v2.15.1-ReleaseNotes + ftp://ftp.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: + ftp://ftp.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..d4221b1 --- /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] + + * ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.16/v2.16.1-ReleaseNotes + ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.16/v2.16.1-ChangeLog + +util-linux-ng 2.16.2 [30-Nov-2009] + + * ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.16/v2.16.2-ReleaseNotes + ftp://ftp.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: + ftp://ftp.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..36e0b2c --- /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] + + * ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.17/v2.17.1-ReleaseNotes + ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.17/v2.17.1-ChangeLog + +util-linux-ng 2.17.2 [22-Mar-2010] + + * ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.17/v2.17.2-ReleaseNotes + ftp://ftp.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: + ftp://ftp.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..c15d82c --- /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: + ftp://ftp.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..e020c3b --- /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] + + * ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.19/v2.19.1-ReleaseNotes + ftp://ftp.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: + ftp://ftp.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..ea0b559 --- /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] + + * ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.20/v2.20.1-ReleaseNotes + ftp://ftp.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: + ftp://ftp.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 unssuported 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..8d617a4 --- /dev/null +++ b/Documentation/releases/v2.22-ReleaseNotes @@ -0,0 +1,1190 @@ +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 + +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] + + * ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.21/v2.21.1-ReleaseNotes + ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.21/v2.21.1-ChangeLog + +util-linux 2.21.2 [25-May-2012] + + * ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.21/v2.21.2-ReleaseNotes + ftp://ftp.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: + ftp://ftp.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/sfdisk.txt b/Documentation/sfdisk.txt new file mode 100644 index 0000000..13e671d --- /dev/null +++ b/Documentation/sfdisk.txt @@ -0,0 +1,264 @@ +Examples of the use of sfdisk 3.0 (to partition a disk) +Input lines have fields ,,... - see sfdisk.8. +Usually no is given, and input lines start with a comma. + +Before doing anything with a disk, make sure it is not in use; +unmount all its file systems, and say swapoff to its swap partitions. +(The final BLKRRPART ioctl will fail if anything else still uses +the disk, and you will have to reboot. It is easier to first make +sure that nothing uses the disk, e.g., by testing: + % umount /dev/sdb1 + % sfdisk -R /dev/sdb + BLKRRPART: Device or resource busy + * Device busy for revalidation (usage=2) + % swapoff /dev/sdb3 + % sfdisk -R /dev/sdb + * sdb: sdb1 < sdb5 sdb6 > sdb3 + % +Note that the starred messages are kernel messages, that may be +logged somewhere, or written to some other console. +In sfdisk 3.01 sfdisk automatically does this check, unless told not to.) + +1. One big partition: + sfdisk /dev/hda << EOF + ; + EOF + +(If there was garbage on the disk before, you may get error messages +like: `ERROR: sector 0 does not have an msdos signature' +and `/dev/hda: unrecognized partition'. This does not matter +if you write an entirely fresh partition table anyway.) + +The output will be: +----------------------------------------------------------------------- +Old situation: +... +New situation: +Units = cylinders of 208896 bytes, blocks of 1024 bytes, counting from 0 + + Device Boot Start End #cyls #blocks Id System +/dev/hda1 0+ 1023 1024- 208895+ 83 Linux native +Successfully wrote the new partition table + hda: hda1 +----------------------------------------------------------------------- +Writing and rereading the partition table takes a few seconds - +don't be alarmed if nothing happens for six seconds or so. + + +2. Three primary partitions: two of size 50MB and the rest: + sfdisk /dev/hda -uM << EOF + ,50 + ,50 + ; + EOF +----------------------------------------------------------------------- +New situation: +Units = megabytes of 1048576 bytes, blocks of 1024 bytes, counting from 0 + + Device Boot Start End MB #blocks Id System +/dev/hda1 0+ 50- 51- 51203+ 83 Linux native +/dev/hda2 50+ 100- 51- 51204 83 Linux native +/dev/hda3 100+ 203 104- 106488 83 Linux native +Successfully wrote the new partition table + hda: hda1 hda2 hda3 +----------------------------------------------------------------------- +/dev/hda1 is one block (in fact only half a block) shorter than +/dev/hda2 because its start had to be shifted away from zero in +order to leave room for the Master Boot Record (MBR). + + +3. A 1MB OS2 Boot Manager partition, a 50MB DOS partition, + and three extended partitions (DOS D:, Linux swap, Linux): + sfdisk /dev/hda -uM << EOF + ,1,a + ,50,6 + ,,E + ; + ,20,4 + ,16,S + ; + EOF +----------------------------------------------------------------------- + Device Boot Start End MB #blocks Id System +/dev/hda1 0+ 1- 2- 1223+ a OS/2 Boot Manager +/dev/hda2 1+ 51- 51- 51204 6 DOS 16-bit FAT >=32M +/dev/hda3 51+ 203 153- 156468 5 Extended +/dev/hda4 0 - 0 0 0 Empty +/dev/hda5 51+ 71- 21- 20603+ 4 DOS 16-bit FAT <32M +/dev/hda6 71+ 87- 17- 16523+ 82 Linux swap +/dev/hda7 87+ 203 117- 119339+ 83 Linux native +Successfully wrote the new partition table + hda: hda1 hda2 hda3 < hda5 hda6 hda7 > +----------------------------------------------------------------------- +All these rounded numbers look better in cylinder units: + % sfdisk -l /dev/hda +----------------------------------------------------------------------- + Device Boot Start End #cyls #blocks Id System +/dev/hda1 0+ 5 6- 1223+ a OS/2 Boot Manager +/dev/hda2 6 256 251 51204 6 DOS 16-bit FAT >=32M +/dev/hda3 257 1023 767 156468 5 Extended +/dev/hda4 0 - 0 0 0 Empty +/dev/hda5 257+ 357 101- 20603+ 4 DOS 16-bit FAT <32M +/dev/hda6 358+ 438 81- 16523+ 82 Linux swap +/dev/hda7 439+ 1023 585- 119339+ 83 Linux native +----------------------------------------------------------------------- +But still - why does /dev/hda5 not start on a cylinder boundary? +Because it is contained in an extended partition that does. +Of the chain of extended partitions, usually only the first is +shown. (The others have no name under Linux anyway.) But +these additional extended partitions can be made visible: + % sfdisk -l -x /dev/hda +----------------------------------------------------------------------- + Device Boot Start End #cyls #blocks Id System +/dev/hda1 0+ 5 6- 1223+ a OS/2 Boot Manager +/dev/hda2 6 256 251 51204 6 DOS 16-bit FAT >=32M +/dev/hda3 257 1023 767 156468 5 Extended +/dev/hda4 0 - 0 0 0 Empty + +/dev/hda5 257+ 357 101- 20603+ 4 DOS 16-bit FAT <32M + - 358 1023 666 135864 5 Extended + - 257 256 0 0 0 Empty + - 257 256 0 0 0 Empty + +/dev/hda6 358+ 438 81- 16523+ 82 Linux swap + - 439 1023 585 119340 5 Extended + - 358 357 0 0 0 Empty + - 358 357 0 0 0 Empty + +/dev/hda7 439+ 1023 585- 119339+ 83 Linux native + - 439 438 0 0 0 Empty + - 439 438 0 0 0 Empty + - 439 438 0 0 0 Empty +----------------------------------------------------------------------- + +Why the empty 4th input line? The description of the extended partitions +starts after that of the four primary partitions. +You force an empty partition with a ",0" input line, but here all +space was divided already, so the fourth partition became empty +automatically. + +How did I know about 4,6,a,E,S? Well, E,S,L stand for Extended, +Swap and Linux. The other values are hexadecimal and come from +the table: + % sfdisk -T + Id Name + + 0 Empty + 1 DOS 12-bit FAT + 2 XENIX root + 3 XENIX usr + 4 DOS 16-bit FAT <32M + 5 Extended + 6 DOS 16-bit FAT >=32M + 7 OS/2 HPFS or QNX or Advanced UNIX + 8 AIX data + 9 AIX boot or Coherent + a OS/2 Boot Manager + ... + + +4. Preserving the sectors changed by sfdisk. + % sfdisk -O save-hdd-partition-sectors /dev/hda + ... + will write the sectors overwritten by sfdisk to file. + If you notice that you trashed some partition, you may + be able to restore things by + % sfdisk -I save-hdd-partition-sectors /dev/hda + % + +5. Preserving some old partitions. + % sfdisk -N2 /dev/hda + ... + will only change the partition /dev/hda2, and leave the rest + unchanged. The most obvious application is to change an Id: + % sfdisk -N7 /dev/hda + ,,63 + % +----------------------------------------------------------------------- +Old situation: + + Device Boot Start End #cyls #blocks Id System +/dev/hda1 0+ 5 6- 1223+ a OS/2 Boot Manager +... +/dev/hda6 358+ 438 81- 16523+ 82 Linux swap +/dev/hda7 439+ 1023 585- 119339+ 83 Linux native + +New situation: + + Device Boot Start End #cyls #blocks Id System +/dev/hda1 0+ 5 6- 1223+ a OS/2 Boot Manager +... +/dev/hda6 358+ 438 81- 16523+ 82 Linux swap +/dev/hda7 439+ 1023 585- 119339+ 63 GNU HURD +----------------------------------------------------------------------- + Note that changing a logical partition into an empty partition + will decrease the number of all subsequent logical partitions. + +6. Deleting a partition. +At first I thought of having an option -X# for deleting partitions, +but there are several ways in which a partition can be deleted, and +it is probably better to handle this just as a general change. + % sfdisk -d /dev/hda > ohda +will write the current tables on the file `ohda'. +----------------------------------------------------------------------- +% cat ohda +# partition table of /dev/hda +unit: sectors + +/dev/hda1 : start= 1, size= 40799, Id= 5 +/dev/hda2 : start= 40800, size= 40800, Id=83 +/dev/hda3 : start= 81600, size= 336192, Id=83 +/dev/hda4 : start= 0, size= 0, Id= 0 +/dev/hda5 : start= 2, size= 40798, Id=83 +----------------------------------------------------------------------- +In order to delete the partition on /dev/hda3, edit this file +and feed the result to sfdisk again. +----------------------------------------------------------------------- +% emacs ohda +% cat ohda +# partition table of /dev/hda +unit: sectors + +/dev/hda1 : start= 1, size= 40799, Id= 5 +/dev/hda2 : start= 40800, size= 40800, Id=83 +/dev/hda3 : start= 0, size= 0, Id= 0 +/dev/hda4 : start= 0, size= 0, Id= 0 +/dev/hda5 : start= 2, size= 40798, Id=83 +% sfdisk /dev/hda < ohda +Old situation: +Units = cylinders of 208896 bytes, blocks of 1024 bytes, counting from 0 + + Device Boot Start End #cyls #blocks Id System +/dev/hda1 0+ 99 100- 20399+ 5 Extended +/dev/hda2 100 199 100 20400 83 Linux native +/dev/hda3 200 1023 824 168096 83 Linux native +/dev/hda4 0 - 0 0 0 Empty +/dev/hda5 0+ 99 100- 20399 83 Linux native +New situation: +Units = sectors of 512 bytes, counting from 0 + + Device Boot Start End #sectors Id System +/dev/hda1 1 40799 40799 5 Extended +/dev/hda2 40800 81599 40800 83 Linux native +/dev/hda3 0 - 0 0 Empty +/dev/hda4 0 - 0 0 Empty +/dev/hda5 2 40799 40798 83 Linux native +Successfully wrote the new partition table +% sfdisk -l -V /dev/hda + +Disk /dev/hda: 12 heads, 34 sectors, 1024 cylinders +Units = cylinders of 208896 bytes, blocks of 1024 bytes, counting from 0 + + Device Boot Start End #cyls #blocks Id System +/dev/hda1 0+ 99 100- 20399+ 5 Extended +/dev/hda2 100 199 100 20400 83 Linux native +/dev/hda3 0 - 0 0 0 Empty +/dev/hda4 0 - 0 0 0 Empty +/dev/hda5 0+ 99 100- 20399 83 Linux native +/dev/hda: OK +----------------------------------------------------------------------- +This is a good way of making changes: dump the current status +to file, edit the file, and feed it to sfdisk. +Preserving the file on some other disk could be useful: +if ever the MBR gets thrashed it can be used to restore +the old situation. diff --git a/Documentation/source-code-management.txt b/Documentation/source-code-management.txt new file mode 100644 index 0000000..cb192c7 --- /dev/null +++ b/Documentation/source-code-management.txt @@ -0,0 +1,29 @@ +SCM (source code management): + + git clone git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git util-linux + +Branches: + + * maintenance (stable) branch + - created for every . release + - branch name: stable/v. + + * bugfix branch + - created for .. release for + critical/security bugs only + - this branch is optional + - branch name: stable/v.. + + * master branch + - the status of this branch is: "it works for me". It + means useful but not well tested patches. + - it's source for occasional snapshots + - for long-term development or invasive changes should be + an active development forked into a separate branch + (topic branches) from the tip of "master". + + * A new tag object is created for: + - every release, tag name: v + + * KNOWN BUGS: + - tag v2.13.1 is typo. Please, ignore this tag. diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..a540f0e --- /dev/null +++ b/Makefile.am @@ -0,0 +1,195 @@ +AM_CPPFLAGS = \ + -include config.h \ + -I$(top_srcdir)/include \ + -DLOCALEDIR=\"$(localedir)\" \ + -D_PATH_LOCALSTATEDIR=\"${localstatedir}\" +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 and libmount.h are generated and stored in build dirs. +# +ul_libblkid_incdir = $(top_builddir)/libblkid/src +ul_libmount_incdir = $(top_builddir)/libmount/src +ul_libuuid_incdir = $(top_srcdir)/libuuid/src + +pkgconfigdir = $(usrlib_execdir)/pkgconfig + +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 = +ruman1_DATA = +check_PROGRAMS = +TESTS = + +PATHFILES = + +INSTALL_EXEC_HOOKS = +UNINSTALL_HOOKS = +INSTALL_DATA_HOOKS = +CLEAN_LOCALS = +CHECK_LOCALS = + +EXTRA_DIST = man/ru/ddate.1 +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 \ + tools/git-version-gen + + +include include/Makemodule.am +include lib/Makemodule.am +include libuuid/Makemodule.am +include libblkid/Makemodule.am +include libmount/Makemodule.am + +include schedutils/Makemodule.am +include text-utils/Makemodule.am +include term-utils/Makemodule.am +include login-utils/Makemodule.am +include mount-deprecated/Makemodule.am +include sys-utils/Makemodule.am +include misc-utils/Makemodule.am +include disk-utils/Makemodule.am +include fdisks/Makemodule.am + +include tests/Makemodule.am + +# +# 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|@localstatedir[@]|$(localstatedir)|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|@LIBUUID_VERSION[@]|$(LIBUUID_VERSION)|g' \ + -e 's|@LIBMOUNT_VERSION[@]|$(LIBMOUNT_VERSION)|g' \ + -e 's|@LIBBLKID_VERSION[@]|$(LIBBLKID_VERSION)|g' + +CLEANFILES += $(PATHFILES) +EXTRA_DIST += $(PATHFILES:=.in) + +$(PATHFILES): Makefile + @ rm -f $@ $@.tmp + $(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 + +ENABLE_ALL = --enable-static-programs --enable-most-builds +DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-use-tty-group \ + --disable-silent-rules $(ENABLE_ALL) \ + --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..ee3f854 --- /dev/null +++ b/Makefile.in @@ -0,0 +1,10308 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 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@ +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_48) $(am__EXEEXT_49) \ + $(am__EXEEXT_50) col$(EXEEXT) colcrt$(EXEEXT) colrm$(EXEEXT) \ + column$(EXEEXT) hexdump$(EXEEXT) rev$(EXEEXT) tailf$(EXEEXT) \ + $(am__EXEEXT_51) $(am__EXEEXT_52) script$(EXEEXT) \ + scriptreplay$(EXEEXT) $(am__EXEEXT_53) $(am__EXEEXT_54) \ + $(am__EXEEXT_55) $(am__EXEEXT_56) $(am__EXEEXT_57) \ + $(am__EXEEXT_58) $(am__EXEEXT_59) $(am__EXEEXT_60) \ + flock$(EXEEXT) ipcmk$(EXEEXT) ipcrm$(EXEEXT) ipcs$(EXEEXT) \ + renice$(EXEEXT) setsid$(EXEEXT) $(am__EXEEXT_61) \ + $(am__EXEEXT_62) $(am__EXEEXT_63) $(am__EXEEXT_64) \ + $(am__EXEEXT_65) $(am__EXEEXT_66) cal$(EXEEXT) logger$(EXEEXT) \ + look$(EXEEXT) mcookie$(EXEEXT) namei$(EXEEXT) whereis$(EXEEXT) \ + $(am__EXEEXT_67) $(am__EXEEXT_68) $(am__EXEEXT_69) \ + $(am__EXEEXT_70) getopt$(EXEEXT) isosize$(EXEEXT) +usrsbin_exec_PROGRAMS = $(am__EXEEXT_71) readprofile$(EXEEXT) \ + $(am__EXEEXT_72) $(am__EXEEXT_73) $(am__EXEEXT_74) \ + $(am__EXEEXT_75) +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) $(am__EXEEXT_14) $(am__EXEEXT_15) \ + $(am__EXEEXT_16) $(am__EXEEXT_17) $(am__EXEEXT_18) \ + $(am__EXEEXT_19) +sbin_PROGRAMS = $(am__EXEEXT_26) $(am__EXEEXT_27) $(am__EXEEXT_28) \ + $(am__EXEEXT_29) $(am__EXEEXT_30) $(am__EXEEXT_31) \ + $(am__EXEEXT_32) $(am__EXEEXT_33) $(am__EXEEXT_34) \ + $(am__EXEEXT_35) $(am__EXEEXT_36) fsck.minix$(EXEEXT) \ + mkfs.minix$(EXEEXT) mkfs$(EXEEXT) mkfs.bfs$(EXEEXT) \ + mkswap$(EXEEXT) $(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) +check_PROGRAMS = test_at$(EXEEXT) test_blkdev$(EXEEXT) \ + test_canonicalize$(EXEEXT) test_fileutils$(EXEEXT) \ + test_ismounted$(EXEEXT) test_mangle$(EXEEXT) \ + test_procutils$(EXEEXT) test_randutils$(EXEEXT) \ + test_strutils$(EXEEXT) test_tt$(EXEEXT) \ + test_wholedisk$(EXEEXT) $(am__EXEEXT_20) $(am__EXEEXT_21) \ + $(am__EXEEXT_22) $(am__EXEEXT_23) $(am__EXEEXT_24) \ + $(am__EXEEXT_25) test_islocal$(EXEEXT) test_logindefs$(EXEEXT) \ + test_byteswap$(EXEEXT) test_md5$(EXEEXT) \ + test_pathnames$(EXEEXT) test_sysinfo$(EXEEXT) +TESTS = +DIST_COMMON = README $(am__configure_deps) \ + $(am__dist_noinst_DATA_DIST) \ + $(am__dist_usrbin_exec_SCRIPTS_DIST) \ + $(am__uuidinc_HEADERS_DIST) $(dist_getoptexample_SCRIPTS) \ + $(dist_man_MANS) $(dist_noinst_HEADERS) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(srcdir)/config.h.in \ + $(srcdir)/disk-utils/Makemodule.am \ + $(srcdir)/fdisks/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)/libmount/Makemodule.am \ + $(srcdir)/libmount/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)/mount-deprecated/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 $(top_srcdir)/configure \ + $(top_srcdir)/libblkid/src/blkid.h.in \ + $(top_srcdir)/libmount/src/libmount.h.in \ + $(top_srcdir)/misc-utils/chkdupexe.pl ABOUT-NLS AUTHORS \ + COPYING ChangeLog NEWS config/compile config/config.guess \ + config/config.rpath config/config.sub config/depcomp \ + config/install-sh config/ltmain.sh config/missing \ + config/mkinstalldirs +@LINUX_TRUE@am__append_1 = \ +@LINUX_TRUE@ lib/linux_version.c \ +@LINUX_TRUE@ lib/loopdev.c + +@HAVE_LANGINFO_FALSE@am__append_2 = lib/langinfo.c +@HAVE_CPU_SET_T_TRUE@@LINUX_TRUE@am__append_3 = test_cpuset +@LINUX_TRUE@am__append_4 = \ +@LINUX_TRUE@ test_sysfs \ +@LINUX_TRUE@ test_loopdev \ +@LINUX_TRUE@ test_pager + +@BUILD_LIBUUID_TRUE@am__append_5 = \ +@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_6 = test_uuid +@BUILD_LIBUUID_TRUE@am__append_7 = libuuid.la +@BUILD_LIBUUID_TRUE@am__append_8 = libuuid/src/uuid.sym \ +@BUILD_LIBUUID_TRUE@ libuuid/COPYING +@BUILD_LIBUUID_TRUE@am__append_9 = install-exec-hook-libuuid +@BUILD_LIBUUID_TRUE@am__append_10 = uninstall-hook-libuuid +@BUILD_LIBUUID_TRUE@am__append_11 = libuuid/uuid.pc +@BUILD_LIBUUID_TRUE@am__append_12 = libuuid/uuid.pc +@BUILD_LIBBLKID_TRUE@am__append_13 = libblkid.la +@BUILD_LIBBLKID_TRUE@@LINUX_TRUE@am__append_14 = \ +@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_15 = libuuid.la +@BUILD_LIBBLKID_TRUE@@BUILD_LIBUUID_TRUE@am__append_16 = -I$(ul_libuuid_incdir) +@BUILD_LIBBLKID_TRUE@am__append_17 = libblkid/src/blkid.sym \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/blkid.h.in \ +@BUILD_LIBBLKID_TRUE@ libblkid/libblkid.3 libblkid/COPYING +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@am__append_18 = \ +@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_19 = libuuid.la +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@@BUILD_LIBUUID_TRUE@am__append_20 = $(UUID_LIBS) +@BUILD_LIBBLKID_TRUE@am__append_21 = install-exec-hook-libblkid +@BUILD_LIBBLKID_TRUE@am__append_22 = uninstall-hook-libblkid +@BUILD_LIBBLKID_TRUE@am__append_23 = \ +@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_24 = libblkid/docs +@BUILD_LIBBLKID_TRUE@am__append_25 = libblkid/blkid.pc +@BUILD_LIBBLKID_TRUE@am__append_26 = libblkid/blkid.pc +@BUILD_LIBBLKID_TRUE@am__append_27 = libblkid/libblkid.3 +@BUILD_LIBMOUNT_TRUE@am__append_28 = libmount.la +@BUILD_LIBMOUNT_TRUE@am__append_29 = libmount/src/libmount.sym \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount.h.in \ +@BUILD_LIBMOUNT_TRUE@ libmount/COPYING +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@am__append_30 = \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_cache \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_context \ +@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@@HAVE_SELINUX_TRUE@am__append_31 = $(SELINUX_LIBS) +@BUILD_LIBMOUNT_TRUE@am__append_32 = install-exec-hook-libmount +@BUILD_LIBMOUNT_TRUE@am__append_33 = uninstall-hook-libmount + +# Docs uses separate Makefiles +@BUILD_LIBMOUNT_TRUE@@ENABLE_GTK_DOC_TRUE@am__append_34 = libmount/docs +@BUILD_LIBMOUNT_TRUE@am__append_35 = libmount/mount.pc +@BUILD_LIBMOUNT_TRUE@am__append_36 = libmount/mount.pc +@BUILD_SCHEDUTILS_TRUE@am__append_37 = chrt +@BUILD_SCHEDUTILS_TRUE@am__append_38 = schedutils/chrt.1 +@BUILD_IONICE_TRUE@@BUILD_SCHEDUTILS_TRUE@am__append_39 = ionice +@BUILD_IONICE_TRUE@@BUILD_SCHEDUTILS_TRUE@am__append_40 = schedutils/ionice.1 +@BUILD_SCHEDUTILS_TRUE@@BUILD_TASKSET_TRUE@am__append_41 = taskset +@BUILD_SCHEDUTILS_TRUE@@BUILD_TASKSET_TRUE@am__append_42 = schedutils/taskset.1 +@BUILD_LINE_TRUE@am__append_43 = line +@BUILD_LINE_TRUE@am__append_44 = text-utils/line.1 + +# TODO: add BUILD_{MORE,UL,PG} ./configure.am +@HAVE_NCURSES_TRUE@am__append_45 = more +@HAVE_NCURSES_TRUE@am__append_46 = ul pg +@HAVE_NCURSES_TRUE@am__append_47 = \ +@HAVE_NCURSES_TRUE@ text-utils/ul.1 \ +@HAVE_NCURSES_TRUE@ text-utils/more.1 \ +@HAVE_NCURSES_TRUE@ text-utils/pg.1 + +@HAVE_NCURSES_FALSE@@HAVE_TERMCAP_TRUE@am__append_48 = more +@HAVE_NCURSES_FALSE@@HAVE_TERMCAP_TRUE@am__append_49 = text-utils/more.1 +@HAVE_UTIL_TRUE@am__append_50 = -lutil +@HAVE_UTEMPTER_TRUE@am__append_51 = -lutempter +@BUILD_AGETTY_TRUE@am__append_52 = agetty +@BUILD_AGETTY_TRUE@am__append_53 = term-utils/agetty.8 + +# TODO: add BUILD_SETTERM to configure.am +@HAVE_NCURSES_TRUE@@LINUX_TRUE@am__append_54 = setterm +@HAVE_NCURSES_TRUE@@LINUX_TRUE@am__append_55 = term-utils/setterm.1 +@BUILD_RESET_TRUE@am__append_56 = term-utils/reset +@BUILD_RESET_TRUE@am__append_57 = term-utils/reset.1 +@BUILD_MESG_TRUE@am__append_58 = mesg +@BUILD_MESG_TRUE@am__append_59 = term-utils/mesg.1 +@BUILD_WALL_TRUE@am__append_60 = wall +@BUILD_WALL_TRUE@am__append_61 = term-utils/wall.1 +@BUILD_WALL_TRUE@@MAKEINSTALL_DO_CHOWN_TRUE@@USE_TTY_GROUP_TRUE@am__append_62 = install-exec-hook-wall +@BUILD_WRITE_TRUE@am__append_63 = write +@BUILD_WRITE_TRUE@am__append_64 = term-utils/write.1 +@BUILD_WRITE_TRUE@@MAKEINSTALL_DO_CHOWN_TRUE@@USE_TTY_GROUP_TRUE@am__append_65 = install-exec-hook-write +@BUILD_LAST_TRUE@am__append_66 = last +@BUILD_LAST_TRUE@am__append_67 = login-utils/last.1 +@BUILD_SULOGIN_TRUE@am__append_68 = sulogin +@BUILD_SULOGIN_TRUE@am__append_69 = login-utils/sulogin.8 +@BUILD_SULOGIN_TRUE@@HAVE_LIBCRYPT_TRUE@am__append_70 = -lcrypt +@BUILD_SULOGIN_TRUE@@HAVE_SELINUX_TRUE@am__append_71 = -lselinux +@BUILD_LOGIN_TRUE@am__append_72 = login +@BUILD_LOGIN_TRUE@am__append_73 = login-utils/login.1 +@BUILD_LOGIN_TRUE@@HAVE_AUDIT_TRUE@am__append_74 = -laudit +@BUILD_LOGIN_TRUE@@HAVE_SELINUX_TRUE@am__append_75 = -lselinux +@BUILD_UTMPDUMP_TRUE@am__append_76 = utmpdump +@BUILD_UTMPDUMP_TRUE@am__append_77 = login-utils/utmpdump.1 +@BUILD_CHFN_CHSH_TRUE@am__append_78 = chfn chsh +@BUILD_CHFN_CHSH_TRUE@am__append_79 = \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/chfn.1 \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/chsh.1 + +@BUILD_CHFN_CHSH_TRUE@@HAVE_SELINUX_TRUE@am__append_80 = \ +@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_81 = -lselinux +@BUILD_SU_TRUE@am__append_82 = su +@BUILD_NEWGRP_TRUE@am__append_83 = newgrp +@BUILD_NEWGRP_TRUE@am__append_84 = login-utils/newgrp.1 +@BUILD_NEWGRP_TRUE@@HAVE_LIBCRYPT_TRUE@am__append_85 = -lcrypt +@BUILD_VIPW_TRUE@am__append_86 = vipw +@BUILD_VIPW_TRUE@am__append_87 = \ +@BUILD_VIPW_TRUE@ login-utils/vigr.8 \ +@BUILD_VIPW_TRUE@ login-utils/vipw.8 + +@BUILD_VIPW_TRUE@@HAVE_SELINUX_TRUE@am__append_88 = -lselinux +@BUILD_VIPW_TRUE@am__append_89 = install-exec-hook-vipw + +# +# mount +# +@BUILD_DEPRECATED_MOUNT_TRUE@am__append_90 = mount +@BUILD_DEPRECATED_MOUNT_TRUE@am__append_91 = mount-deprecated/mount.8 \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/umount.8 +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_SELINUX_TRUE@am__append_92 = $(SELINUX_LIBS) +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@am__append_93 = mount.static +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_SELINUX_TRUE@@HAVE_STATIC_MOUNT_TRUE@am__append_94 = $(SELINUX_LIBS_STATIC) + +# +# umount +# +@BUILD_DEPRECATED_MOUNT_TRUE@am__append_95 = umount +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@am__append_96 = umount.static +@BUILD_DEPRECATED_MOUNT_TRUE@@MAKEINSTALL_DO_SETUID_TRUE@am__append_97 = install-exec-hook-mount + +# +# Linux-only utils with no another dependencies. All another dependencies have +# to be resolved in configure.ac end exported to makefiles by BUILD_*. +# +@LINUX_TRUE@am__append_98 = dmesg +@LINUX_TRUE@am__append_99 = sys-utils/dmesg.1 sys-utils/ctrlaltdel.8 \ +@LINUX_TRUE@ sys-utils/fsfreeze.8 sys-utils/fstrim.8 \ +@LINUX_TRUE@ sys-utils/cytune.8 sys-utils/ldattach.8 \ +@LINUX_TRUE@ sys-utils/tunelp.8 sys-utils/rtcwake.8 \ +@LINUX_TRUE@ sys-utils/setarch.8 +@LINUX_TRUE@am__append_100 = ctrlaltdel fsfreeze fstrim +@LINUX_TRUE@am__append_101 = cytune setarch +@LINUX_TRUE@am__append_102 = ldattach tunelp rtcwake +@ARCH_S390_TRUE@@LINUX_TRUE@am__append_103 = s390 s390x +@ARCH_I86_TRUE@@LINUX_TRUE@am__append_104 = i386 +@ARCH_86_64_TRUE@@LINUX_TRUE@am__append_105 = i386 x86_64 +@ARCH_PPC_TRUE@@LINUX_TRUE@am__append_106 = ppc ppc64 ppc32 +@ARCH_SPARC_TRUE@@LINUX_TRUE@am__append_107 = sparc sparc64 sparc32 sparc32bash +@ARCH_MIPS_TRUE@@LINUX_TRUE@am__append_108 = mips mips64 mips32 +@ARCH_IA64_TRUE@@LINUX_TRUE@am__append_109 = i386 ia64 +@ARCH_HPPA_TRUE@@LINUX_TRUE@am__append_110 = parisc parisc64 parisc32 +@LINUX_TRUE@am__append_111 = $(SETARCH_MAN_LINKS) +@LINUX_TRUE@am__append_112 = $(SETARCH_MAN_LINKS) +@LINUX_TRUE@am__append_113 = install-exec-hook-setarch +@LINUX_TRUE@am__append_114 = uninstall-hook-setarch +@BUILD_EJECT_TRUE@am__append_115 = eject +@BUILD_EJECT_TRUE@am__append_116 = sys-utils/eject.1 +@BUILD_LOSETUP_TRUE@am__append_117 = losetup +@BUILD_LOSETUP_TRUE@am__append_118 = sys-utils/losetup.8 +@BUILD_LOSETUP_TRUE@@HAVE_STATIC_LOSETUP_TRUE@am__append_119 = losetup.static +@BUILD_PRLIMIT_TRUE@am__append_120 = prlimit +@BUILD_PRLIMIT_TRUE@am__append_121 = sys-utils/prlimit.1 + +# +# The original mount is in mount/ directory +# -- temporary we share some man pages +# +@BUILD_MOUNT_TRUE@am__append_122 = mount umount +@BUILD_MOUNT_TRUE@am__append_123 = \ +@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_124 = mount.static +@BUILD_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@am__append_125 = umount.static +@BUILD_MOUNT_TRUE@@MAKEINSTALL_DO_SETUID_TRUE@am__append_126 = install-exec-hook-mount +@BUILD_SWAPON_TRUE@am__append_127 = swapon swapoff +@BUILD_SWAPON_TRUE@am__append_128 = \ +@BUILD_SWAPON_TRUE@ sys-utils/swapoff.8 \ +@BUILD_SWAPON_TRUE@ sys-utils/swapon.8 + +@BUILD_LSCPU_TRUE@am__append_129 = lscpu +@BUILD_LSCPU_TRUE@am__append_130 = sys-utils/lscpu.1 +@BUILD_CHCPU_TRUE@am__append_131 = chcpu +@BUILD_CHCPU_TRUE@am__append_132 = sys-utils/chcpu.8 +@BUILD_WDCTL_TRUE@am__append_133 = wdctl +@BUILD_WDCTL_TRUE@am__append_134 = sys-utils/wdctl.8 +@BUILD_MOUNTPOINT_TRUE@am__append_135 = mountpoint +@BUILD_MOUNTPOINT_TRUE@am__append_136 = sys-utils/mountpoint.1 +@BUILD_FALLOCATE_TRUE@am__append_137 = fallocate +@BUILD_FALLOCATE_TRUE@am__append_138 = sys-utils/fallocate.1 +@BUILD_PIVOT_ROOT_TRUE@am__append_139 = pivot_root +@BUILD_PIVOT_ROOT_TRUE@am__append_140 = sys-utils/pivot_root.8 +@BUILD_SWITCH_ROOT_TRUE@am__append_141 = switch_root +@BUILD_SWITCH_ROOT_TRUE@am__append_142 = sys-utils/switch_root.8 +@BUILD_UNSHARE_TRUE@am__append_143 = unshare +@BUILD_UNSHARE_TRUE@am__append_144 = sys-utils/unshare.1 +@BUILD_ARCH_TRUE@am__append_145 = arch +@BUILD_ARCH_TRUE@am__append_146 = sys-utils/arch.1 +@BUILD_HWCLOCK_TRUE@am__append_147 = hwclock +@BUILD_HWCLOCK_TRUE@am__append_148 = sys-utils/hwclock.8 +@BUILD_HWCLOCK_TRUE@@LINUX_TRUE@am__append_149 = sys-utils/hwclock-rtc.c +@BUILD_HWCLOCK_TRUE@@HAVE_AUDIT_TRUE@am__append_150 = -laudit +@HAVE_LANGINFO_FALSE@am__append_151 = lib/langinfo.c +@HAVE_TINFO_TRUE@am__append_152 = -ltinfo @NCURSES_LIBS@ +@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@am__append_153 = @NCURSES_LIBS@ +@HAVE_NCURSES_FALSE@@HAVE_TERMCAP_TRUE@@HAVE_TINFO_FALSE@am__append_154 = -ltermcap +@BUILD_CHKDUPEXE_TRUE@am__append_155 = misc-utils/chkdupexe +@BUILD_CHKDUPEXE_TRUE@am__append_156 = misc-utils/chkdupexe +@BUILD_CHKDUPEXE_TRUE@am__append_157 = misc-utils/chkdupexe.1 +@BUILD_DDATE_TRUE@am__append_158 = ddate +@BUILD_DDATE_TRUE@am__append_159 = misc-utils/ddate.1 +@BUILD_DDATE_TRUE@am__append_160 = man/ru/ddate.1 +@BUILD_LSLOCKS_TRUE@am__append_161 = lslocks +@BUILD_LSLOCKS_TRUE@am__append_162 = misc-utils/lslocks.8 +@BUILD_LSBLK_TRUE@am__append_163 = lsblk +@BUILD_LSBLK_TRUE@am__append_164 = misc-utils/lsblk.8 +@BUILD_LSBLK_TRUE@@HAVE_UDEV_TRUE@am__append_165 = -ludev +@BUILD_LIBUUID_TRUE@am__append_166 = uuidgen +@BUILD_LIBUUID_TRUE@am__append_167 = misc-utils/uuidgen.1 +@BUILD_UUIDD_TRUE@am__append_168 = uuidd +@BUILD_UUIDD_TRUE@am__append_169 = misc-utils/uuidd.8 +@BUILD_UUIDD_TRUE@@USE_SOCKET_ACTIVATION_TRUE@am__append_170 = misc-utils/sd-daemon.c misc-utils/sd-daemon.h +@BUILD_UUIDD_TRUE@@USE_SOCKET_ACTIVATION_TRUE@am__append_171 = -lrt +@BUILD_UUIDD_TRUE@@HAVE_SYSTEMD_TRUE@am__append_172 = \ +@BUILD_UUIDD_TRUE@@HAVE_SYSTEMD_TRUE@ misc-utils/uuidd.service \ +@BUILD_UUIDD_TRUE@@HAVE_SYSTEMD_TRUE@ misc-utils/uuidd.socket + +@BUILD_LIBBLKID_TRUE@am__append_173 = blkid findfs wipefs +@BUILD_LIBBLKID_TRUE@am__append_174 = misc-utils/blkid.8 \ +@BUILD_LIBBLKID_TRUE@ misc-utils/findfs.8 misc-utils/wipefs.8 +@BUILD_LIBBLKID_TRUE@@HAVE_STATIC_BLKID_TRUE@am__append_175 = blkid.static +@BUILD_LIBMOUNT_TRUE@am__append_176 = findmnt +@BUILD_LIBMOUNT_TRUE@am__append_177 = misc-utils/findmnt.8 +@BUILD_KILL_TRUE@am__append_178 = kill +@BUILD_KILL_TRUE@am__append_179 = misc-utils/kill.1 +@BUILD_RENAME_TRUE@am__append_180 = rename +@BUILD_RENAME_TRUE@am__append_181 = misc-utils/rename.1 +@BUILD_LIBUUID_TRUE@am__append_182 = -I$(ul_libuuid_incdir) +@BUILD_LIBUUID_TRUE@am__append_183 = libuuid.la +@BUILD_LIBBLKID_TRUE@am__append_184 = -I$(ul_libblkid_incdir) +@BUILD_LIBBLKID_TRUE@am__append_185 = libblkid.la +@HAVE_SELINUX_TRUE@am__append_186 = -lselinux +@BUILD_SWAPLABEL_TRUE@am__append_187 = swaplabel +@BUILD_SWAPLABEL_TRUE@am__append_188 = disk-utils/swaplabel.8 +@BUILD_LIBUUID_TRUE@@BUILD_SWAPLABEL_TRUE@am__append_189 = libuuid.la +@BUILD_LIBUUID_TRUE@@BUILD_SWAPLABEL_TRUE@am__append_190 = -I$(ul_libuuid_incdir) +@BUILD_FSCK_TRUE@am__append_191 = fsck +@BUILD_FSCK_TRUE@am__append_192 = disk-utils/fsck.8 +@BUILD_ELVTUNE_TRUE@am__append_193 = elvtune +@BUILD_ELVTUNE_TRUE@am__append_194 = disk-utils/elvtune.8 +@BUILD_RAW_TRUE@am__append_195 = raw +@BUILD_RAW_TRUE@am__append_196 = disk-utils/raw.8 +@BUILD_CRAMFS_TRUE@am__append_197 = fsck.cramfs mkfs.cramfs +@LINUX_TRUE@am__append_198 = blockdev +@LINUX_TRUE@am__append_199 = disk-utils/blockdev.8 \ +@LINUX_TRUE@ disk-utils/fdformat.8 +@LINUX_TRUE@am__append_200 = fdformat +@BUILD_PARTX_TRUE@am__append_201 = partx addpart delpart resizepart +@BUILD_PARTX_TRUE@am__append_202 = \ +@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 + +@ARCH_M68K_FALSE@am__append_203 = fdisk +@ARCH_M68K_FALSE@am__append_204 = fdisks/fdisk.8 +@ARCH_M68K_FALSE@@BUILD_LIBBLKID_TRUE@am__append_205 = libblkid.la +@ARCH_M68K_FALSE@@HAVE_STATIC_FDISK_TRUE@am__append_206 = fdisk.static +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@am__append_207 = sfdisk +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@am__append_208 = fdisks/sfdisk.8 +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@HAVE_STATIC_SFDISK_TRUE@am__append_209 = sfdisk.static +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@am__append_210 = cfdisk +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@am__append_211 = fdisks/cfdisk.8 +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@@BUILD_LIBBLKID_TRUE@am__append_212 = -I$(ul_libblkid_incdir) +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@@BUILD_LIBBLKID_TRUE@am__append_213 = libblkid.la +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@@HAVE_SLANG_TRUE@am__append_214 = -lslang +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@@HAVE_NCURSES_TRUE@@HAVE_SLANG_FALSE@am__append_215 = @NCURSES_LIBS@ +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/compiler.m4 \ + $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gtk-doc.m4 \ + $(top_srcdir)/m4/iconv.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) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = misc-utils/chkdupexe libblkid/src/blkid.h \ + libmount/src/libmount.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__installdirs = "$(DESTDIR)$(usrlib_execdir)" "$(DESTDIR)$(bindir)" \ + "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(usrbin_execdir)" \ + "$(DESTDIR)$(usrsbin_execdir)" "$(DESTDIR)$(getoptexampledir)" \ + "$(DESTDIR)$(usrbin_execdir)" "$(DESTDIR)$(man1dir)" \ + "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" \ + "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(pkgconfigdir)" \ + "$(DESTDIR)$(ruman1dir)" "$(DESTDIR)$(systemdsystemunitdir)" \ + "$(DESTDIR)$(blkidincdir)" "$(DESTDIR)$(mountincdir)" \ + "$(DESTDIR)$(uuidincdir)" +LTLIBRARIES = $(noinst_LTLIBRARIES) $(usrlib_exec_LTLIBRARIES) +am__libblkid_la_SOURCES_DIST = include/list.h libblkid/src/blkidP.h \ + 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/blkid_parttypes.h \ + libblkid/src/partitions/bsd.c libblkid/src/partitions/dos.c \ + libblkid/src/partitions/dos.h 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/befs.c libblkid/src/superblocks/bfs.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/exfat.c \ + libblkid/src/superblocks/ext.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/netware.c \ + libblkid/src/superblocks/nilfs.c \ + libblkid/src/superblocks/ntfs.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/superblocks.c \ + libblkid/src/superblocks/swap.c \ + libblkid/src/superblocks/sysv.c \ + libblkid/src/superblocks/ubifs.c \ + libblkid/src/superblocks/udf.c libblkid/src/superblocks/ufs.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-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-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-befs.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-bfs.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-exfat.lo \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/libblkid_la-ext.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-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-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-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-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-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) +nodist_libblkid_la_OBJECTS = +libblkid_la_OBJECTS = $(am_libblkid_la_OBJECTS) \ + $(nodist_libblkid_la_OBJECTS) +AM_V_lt = $(am__v_lt_$(V)) +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +am__v_lt_0 = --silent +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/at.c lib/blkdev.c \ + lib/canonicalize.c lib/cpuset.c lib/crc32.c lib/env.c \ + lib/fileutils.c lib/ismounted.c lib/mangle.c lib/match.c \ + lib/mbsalign.c lib/md5.c lib/pager.c lib/path.c \ + lib/procutils.c lib/randutils.c lib/setproctitle.c \ + lib/strutils.c lib/sysfs.c lib/tt.c lib/wholedisk.c \ + lib/xgetpass.c lib/linux_version.c lib/loopdev.c \ + lib/langinfo.c +@LINUX_TRUE@am__objects_2 = lib/libcommon_la-linux_version.lo \ +@LINUX_TRUE@ lib/libcommon_la-loopdev.lo +@HAVE_LANGINFO_FALSE@am__objects_3 = lib/libcommon_la-langinfo.lo +am_libcommon_la_OBJECTS = lib/libcommon_la-at.lo \ + lib/libcommon_la-blkdev.lo lib/libcommon_la-canonicalize.lo \ + lib/libcommon_la-cpuset.lo lib/libcommon_la-crc32.lo \ + lib/libcommon_la-env.lo lib/libcommon_la-fileutils.lo \ + lib/libcommon_la-ismounted.lo lib/libcommon_la-mangle.lo \ + lib/libcommon_la-match.lo lib/libcommon_la-mbsalign.lo \ + lib/libcommon_la-md5.lo lib/libcommon_la-pager.lo \ + lib/libcommon_la-path.lo lib/libcommon_la-procutils.lo \ + lib/libcommon_la-randutils.lo lib/libcommon_la-setproctitle.lo \ + lib/libcommon_la-strutils.lo lib/libcommon_la-sysfs.lo \ + lib/libcommon_la-tt.lo lib/libcommon_la-wholedisk.lo \ + lib/libcommon_la-xgetpass.lo $(am__objects_2) $(am__objects_3) +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 $@ +am__DEPENDENCIES_1 = +am__libmount_la_SOURCES_DIST = include/list.h libmount/src/cache.c \ + libmount/src/context.c libmount/src/context_loopdev.c \ + libmount/src/context_mount.c libmount/src/context_umount.c \ + libmount/src/fs.c libmount/src/init.c libmount/src/iter.c \ + libmount/src/lock.c libmount/src/mountP.h \ + 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 +@BUILD_LIBMOUNT_TRUE@am_libmount_la_OBJECTS = \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount_la-cache.lo \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount_la-context.lo \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount_la-context_loopdev.lo \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount_la-context_mount.lo \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount_la-context_umount.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 +nodist_libmount_la_OBJECTS = +libmount_la_OBJECTS = $(am_libmount_la_OBJECTS) \ + $(nodist_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__libuuid_la_SOURCES_DIST = 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/uuidP.h \ + libuuid/src/uuid_time.c libuuid/src/uuid.h lib/randutils.c +am__objects_4 = +@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@ $(am__objects_4) \ +@BUILD_LIBUUID_TRUE@ lib/libuuid_la-randutils.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) +@HAVE_NCURSES_TRUE@am__EXEEXT_1 = more$(EXEEXT) +@HAVE_NCURSES_FALSE@@HAVE_TERMCAP_TRUE@am__EXEEXT_2 = more$(EXEEXT) +@BUILD_LOGIN_TRUE@am__EXEEXT_3 = login$(EXEEXT) +@BUILD_SU_TRUE@am__EXEEXT_4 = su$(EXEEXT) +@BUILD_DEPRECATED_MOUNT_TRUE@am__EXEEXT_5 = mount$(EXEEXT) +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@am__EXEEXT_6 = mount.static$(EXEEXT) +@BUILD_DEPRECATED_MOUNT_TRUE@am__EXEEXT_7 = umount$(EXEEXT) +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@am__EXEEXT_8 = umount.static$(EXEEXT) +@LINUX_TRUE@am__EXEEXT_9 = dmesg$(EXEEXT) +@BUILD_LOSETUP_TRUE@@HAVE_STATIC_LOSETUP_TRUE@am__EXEEXT_10 = losetup.static$(EXEEXT) +@BUILD_MOUNT_TRUE@am__EXEEXT_11 = mount$(EXEEXT) umount$(EXEEXT) +@BUILD_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@am__EXEEXT_12 = mount.static$(EXEEXT) +@BUILD_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@am__EXEEXT_13 = umount.static$(EXEEXT) +@BUILD_WDCTL_TRUE@am__EXEEXT_14 = wdctl$(EXEEXT) +@BUILD_MOUNTPOINT_TRUE@am__EXEEXT_15 = mountpoint$(EXEEXT) +@BUILD_ARCH_TRUE@am__EXEEXT_16 = arch$(EXEEXT) +@BUILD_LSBLK_TRUE@am__EXEEXT_17 = lsblk$(EXEEXT) +@BUILD_LIBMOUNT_TRUE@am__EXEEXT_18 = findmnt$(EXEEXT) +@BUILD_KILL_TRUE@am__EXEEXT_19 = kill$(EXEEXT) +@HAVE_CPU_SET_T_TRUE@@LINUX_TRUE@am__EXEEXT_20 = test_cpuset$(EXEEXT) +@LINUX_TRUE@am__EXEEXT_21 = test_sysfs$(EXEEXT) test_loopdev$(EXEEXT) \ +@LINUX_TRUE@ test_pager$(EXEEXT) +@BUILD_LIBUUID_TRUE@am__EXEEXT_22 = test_uuid$(EXEEXT) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@am__EXEEXT_23 = 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_24 = 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_25 = test_mount_cache$(EXEEXT) \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ test_mount_context$(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_AGETTY_TRUE@am__EXEEXT_26 = agetty$(EXEEXT) +@BUILD_SULOGIN_TRUE@am__EXEEXT_27 = sulogin$(EXEEXT) +@LINUX_TRUE@am__EXEEXT_28 = ctrlaltdel$(EXEEXT) fsfreeze$(EXEEXT) \ +@LINUX_TRUE@ fstrim$(EXEEXT) +@BUILD_LOSETUP_TRUE@am__EXEEXT_29 = losetup$(EXEEXT) +@BUILD_SWAPON_TRUE@am__EXEEXT_30 = swapon$(EXEEXT) swapoff$(EXEEXT) +@BUILD_CHCPU_TRUE@am__EXEEXT_31 = chcpu$(EXEEXT) +@BUILD_PIVOT_ROOT_TRUE@am__EXEEXT_32 = pivot_root$(EXEEXT) +@BUILD_SWITCH_ROOT_TRUE@am__EXEEXT_33 = switch_root$(EXEEXT) +@BUILD_HWCLOCK_TRUE@am__EXEEXT_34 = hwclock$(EXEEXT) +@BUILD_LIBBLKID_TRUE@am__EXEEXT_35 = blkid$(EXEEXT) findfs$(EXEEXT) \ +@BUILD_LIBBLKID_TRUE@ wipefs$(EXEEXT) +@BUILD_LIBBLKID_TRUE@@HAVE_STATIC_BLKID_TRUE@am__EXEEXT_36 = blkid.static$(EXEEXT) +@BUILD_SWAPLABEL_TRUE@am__EXEEXT_37 = swaplabel$(EXEEXT) +@BUILD_FSCK_TRUE@am__EXEEXT_38 = fsck$(EXEEXT) +@BUILD_ELVTUNE_TRUE@am__EXEEXT_39 = elvtune$(EXEEXT) +@BUILD_RAW_TRUE@am__EXEEXT_40 = raw$(EXEEXT) +@BUILD_CRAMFS_TRUE@am__EXEEXT_41 = fsck.cramfs$(EXEEXT) \ +@BUILD_CRAMFS_TRUE@ mkfs.cramfs$(EXEEXT) +@LINUX_TRUE@am__EXEEXT_42 = blockdev$(EXEEXT) +@ARCH_M68K_FALSE@am__EXEEXT_43 = fdisk$(EXEEXT) +@ARCH_M68K_FALSE@@HAVE_STATIC_FDISK_TRUE@am__EXEEXT_44 = fdisk.static$(EXEEXT) +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@am__EXEEXT_45 = sfdisk$(EXEEXT) +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@HAVE_STATIC_SFDISK_TRUE@am__EXEEXT_46 = sfdisk.static$(EXEEXT) +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@am__EXEEXT_47 = cfdisk$(EXEEXT) +@BUILD_SCHEDUTILS_TRUE@am__EXEEXT_48 = chrt$(EXEEXT) +@BUILD_IONICE_TRUE@@BUILD_SCHEDUTILS_TRUE@am__EXEEXT_49 = \ +@BUILD_IONICE_TRUE@@BUILD_SCHEDUTILS_TRUE@ ionice$(EXEEXT) +@BUILD_SCHEDUTILS_TRUE@@BUILD_TASKSET_TRUE@am__EXEEXT_50 = \ +@BUILD_SCHEDUTILS_TRUE@@BUILD_TASKSET_TRUE@ taskset$(EXEEXT) +@BUILD_LINE_TRUE@am__EXEEXT_51 = line$(EXEEXT) +@HAVE_NCURSES_TRUE@am__EXEEXT_52 = ul$(EXEEXT) pg$(EXEEXT) +@HAVE_NCURSES_TRUE@@LINUX_TRUE@am__EXEEXT_53 = setterm$(EXEEXT) +@BUILD_MESG_TRUE@am__EXEEXT_54 = mesg$(EXEEXT) +@BUILD_WALL_TRUE@am__EXEEXT_55 = wall$(EXEEXT) +@BUILD_WRITE_TRUE@am__EXEEXT_56 = write$(EXEEXT) +@BUILD_LAST_TRUE@am__EXEEXT_57 = last$(EXEEXT) +@BUILD_UTMPDUMP_TRUE@am__EXEEXT_58 = utmpdump$(EXEEXT) +@BUILD_CHFN_CHSH_TRUE@am__EXEEXT_59 = chfn$(EXEEXT) chsh$(EXEEXT) +@BUILD_NEWGRP_TRUE@am__EXEEXT_60 = newgrp$(EXEEXT) +@LINUX_TRUE@am__EXEEXT_61 = cytune$(EXEEXT) setarch$(EXEEXT) +@BUILD_EJECT_TRUE@am__EXEEXT_62 = eject$(EXEEXT) +@BUILD_PRLIMIT_TRUE@am__EXEEXT_63 = prlimit$(EXEEXT) +@BUILD_LSCPU_TRUE@am__EXEEXT_64 = lscpu$(EXEEXT) +@BUILD_FALLOCATE_TRUE@am__EXEEXT_65 = fallocate$(EXEEXT) +@BUILD_UNSHARE_TRUE@am__EXEEXT_66 = unshare$(EXEEXT) +@BUILD_DDATE_TRUE@am__EXEEXT_67 = ddate$(EXEEXT) +@BUILD_LSLOCKS_TRUE@am__EXEEXT_68 = lslocks$(EXEEXT) +@BUILD_LIBUUID_TRUE@am__EXEEXT_69 = uuidgen$(EXEEXT) +@BUILD_RENAME_TRUE@am__EXEEXT_70 = rename$(EXEEXT) +@BUILD_VIPW_TRUE@am__EXEEXT_71 = vipw$(EXEEXT) +@LINUX_TRUE@am__EXEEXT_72 = ldattach$(EXEEXT) tunelp$(EXEEXT) \ +@LINUX_TRUE@ rtcwake$(EXEEXT) +@BUILD_UUIDD_TRUE@am__EXEEXT_73 = uuidd$(EXEEXT) +@LINUX_TRUE@am__EXEEXT_74 = fdformat$(EXEEXT) +@BUILD_PARTX_TRUE@am__EXEEXT_75 = 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 disk-utils/partx.h +@BUILD_PARTX_TRUE@am_addpart_OBJECTS = disk-utils/addpart.$(OBJEXT) +addpart_OBJECTS = $(am_addpart_OBJECTS) +am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) +@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__arch_SOURCES_DIST = sys-utils/arch.c +@BUILD_ARCH_TRUE@am_arch_OBJECTS = sys-utils/arch.$(OBJEXT) +arch_OBJECTS = $(am_arch_OBJECTS) +arch_LDADD = $(LDADD) +arch_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__blkid_SOURCES_DIST = misc-utils/blkid.c +@BUILD_LIBBLKID_TRUE@am_blkid_OBJECTS = \ +@BUILD_LIBBLKID_TRUE@ misc-utils/blkid-blkid.$(OBJEXT) +blkid_OBJECTS = $(am_blkid_OBJECTS) +@BUILD_LIBBLKID_TRUE@blkid_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LIBBLKID_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_LIBBLKID_TRUE@am__objects_5 = \ +@BUILD_LIBBLKID_TRUE@ misc-utils/blkid_static-blkid.$(OBJEXT) +@BUILD_LIBBLKID_TRUE@@HAVE_STATIC_BLKID_TRUE@am_blkid_static_OBJECTS = \ +@BUILD_LIBBLKID_TRUE@@HAVE_STATIC_BLKID_TRUE@ $(am__objects_5) +blkid_static_OBJECTS = $(am_blkid_static_OBJECTS) +@BUILD_LIBBLKID_TRUE@@HAVE_STATIC_BLKID_TRUE@blkid_static_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LIBBLKID_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__blockdev_SOURCES_DIST = disk-utils/blockdev.c +@LINUX_TRUE@am_blockdev_OBJECTS = disk-utils/blockdev.$(OBJEXT) +blockdev_OBJECTS = $(am_blockdev_OBJECTS) +@LINUX_TRUE@blockdev_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +am__cal_SOURCES_DIST = misc-utils/cal.c lib/mbsalign.c lib/strutils.c \ + lib/langinfo.c +@HAVE_LANGINFO_FALSE@am__objects_6 = lib/langinfo.$(OBJEXT) +am_cal_OBJECTS = misc-utils/cal.$(OBJEXT) lib/mbsalign.$(OBJEXT) \ + lib/strutils.$(OBJEXT) $(am__objects_6) +cal_OBJECTS = $(am_cal_OBJECTS) +cal_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +am__cfdisk_SOURCES_DIST = fdisks/cfdisk.c fdisks/common.h fdisks/gpt.c \ + fdisks/gpt.h fdisks/i386_sys_types.c +am__objects_7 = fdisks/cfdisk-gpt.$(OBJEXT) \ + fdisks/cfdisk-i386_sys_types.$(OBJEXT) +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@am_cfdisk_OBJECTS = fdisks/cfdisk-cfdisk.$(OBJEXT) \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@ $(am__objects_7) +cfdisk_OBJECTS = $(am_cfdisk_OBJECTS) +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@cfdisk_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@ libcommon.la \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@ $(am__append_213) \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@ $(am__DEPENDENCIES_1) \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@ $(am__DEPENDENCIES_1) +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/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@@HAVE_SELINUX_TRUE@am__objects_8 = login-utils/chfn-selinux_utils.$(OBJEXT) +@BUILD_CHFN_CHSH_TRUE@am__objects_9 = \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/chfn-islocal.$(OBJEXT) \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/chfn-setpwnam.$(OBJEXT) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__objects_8) +@BUILD_CHFN_CHSH_TRUE@am_chfn_OBJECTS = \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/chfn-chfn.$(OBJEXT) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__objects_9) +chfn_OBJECTS = $(am_chfn_OBJECTS) +@BUILD_CHFN_CHSH_TRUE@am__DEPENDENCIES_3 = libcommon.la \ +@BUILD_CHFN_CHSH_TRUE@ $(am__DEPENDENCIES_1) +@BUILD_CHFN_CHSH_TRUE@chfn_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__DEPENDENCIES_3) +chfn_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(chfn_CFLAGS) $(CFLAGS) \ + $(chfn_LDFLAGS) $(LDFLAGS) -o $@ +am__chrt_SOURCES_DIST = schedutils/chrt.c +@BUILD_SCHEDUTILS_TRUE@am_chrt_OBJECTS = schedutils/chrt.$(OBJEXT) +chrt_OBJECTS = $(am_chrt_OBJECTS) +@BUILD_SCHEDUTILS_TRUE@chrt_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_SCHEDUTILS_TRUE@ libcommon.la +am__chsh_SOURCES_DIST = login-utils/chsh.c 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@@HAVE_SELINUX_TRUE@am__objects_10 = login-utils/chsh-selinux_utils.$(OBJEXT) +@BUILD_CHFN_CHSH_TRUE@am__objects_11 = \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/chsh-islocal.$(OBJEXT) \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/chsh-setpwnam.$(OBJEXT) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__objects_10) +@BUILD_CHFN_CHSH_TRUE@am_chsh_OBJECTS = \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/chsh-chsh.$(OBJEXT) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__objects_11) +chsh_OBJECTS = $(am_chsh_OBJECTS) +@BUILD_CHFN_CHSH_TRUE@chsh_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_CHFN_CHSH_TRUE@ $(am__DEPENDENCIES_3) +chsh_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(chsh_CFLAGS) $(CFLAGS) \ + $(chsh_LDFLAGS) $(LDFLAGS) -o $@ +am_col_OBJECTS = text-utils/col.$(OBJEXT) +col_OBJECTS = $(am_col_OBJECTS) +col_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +am_colcrt_OBJECTS = text-utils/colcrt.$(OBJEXT) +colcrt_OBJECTS = $(am_colcrt_OBJECTS) +colcrt_LDADD = $(LDADD) +colcrt_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_colrm_OBJECTS = text-utils/colrm.$(OBJEXT) +colrm_OBJECTS = $(am_colrm_OBJECTS) +colrm_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +am_column_OBJECTS = text-utils/column.$(OBJEXT) +column_OBJECTS = $(am_column_OBJECTS) +column_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +am__ctrlaltdel_SOURCES_DIST = sys-utils/ctrlaltdel.c +@LINUX_TRUE@am_ctrlaltdel_OBJECTS = sys-utils/ctrlaltdel.$(OBJEXT) +ctrlaltdel_OBJECTS = $(am_ctrlaltdel_OBJECTS) +ctrlaltdel_LDADD = $(LDADD) +ctrlaltdel_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__cytune_SOURCES_DIST = sys-utils/cytune.c sys-utils/cyclades.h +@LINUX_TRUE@am_cytune_OBJECTS = sys-utils/cytune.$(OBJEXT) +cytune_OBJECTS = $(am_cytune_OBJECTS) +@LINUX_TRUE@cytune_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +am__ddate_SOURCES_DIST = misc-utils/ddate.c +@BUILD_DDATE_TRUE@am_ddate_OBJECTS = misc-utils/ddate.$(OBJEXT) +ddate_OBJECTS = $(am_ddate_OBJECTS) +ddate_LDADD = $(LDADD) +ddate_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__delpart_SOURCES_DIST = disk-utils/delpart.c disk-utils/partx.h +@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 +@LINUX_TRUE@am_dmesg_OBJECTS = sys-utils/dmesg.$(OBJEXT) +dmesg_OBJECTS = $(am_dmesg_OBJECTS) +@LINUX_TRUE@dmesg_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +am__eject_SOURCES_DIST = sys-utils/eject.c +@BUILD_EJECT_TRUE@am_eject_OBJECTS = sys-utils/eject-eject.$(OBJEXT) +eject_OBJECTS = $(am_eject_OBJECTS) +@BUILD_EJECT_TRUE@eject_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_EJECT_TRUE@ libmount.la libcommon.la +eject_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(eject_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__elvtune_SOURCES_DIST = disk-utils/elvtune.c +@BUILD_ELVTUNE_TRUE@am_elvtune_OBJECTS = disk-utils/elvtune.$(OBJEXT) +elvtune_OBJECTS = $(am_elvtune_OBJECTS) +@BUILD_ELVTUNE_TRUE@elvtune_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_ELVTUNE_TRUE@ libcommon.la +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 +@LINUX_TRUE@am_fdformat_OBJECTS = disk-utils/fdformat.$(OBJEXT) +fdformat_OBJECTS = $(am_fdformat_OBJECTS) +fdformat_LDADD = $(LDADD) +fdformat_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__fdisk_SOURCES_DIST = fdisks/utils.c fdisks/fdisk.c fdisks/fdisk.h \ + fdisks/fdiskaixlabel.c fdisks/fdiskaixlabel.h \ + fdisks/fdiskbsdlabel.c fdisks/fdiskbsdlabel.h \ + fdisks/fdiskmaclabel.c fdisks/fdiskmaclabel.h \ + fdisks/fdisksgilabel.c fdisks/fdisksgilabel.h \ + fdisks/fdisksunlabel.c fdisks/fdisksunlabel.h \ + fdisks/fdiskdoslabel.c fdisks/fdiskdoslabel.h \ + fdisks/partname.c fdisks/common.h fdisks/gpt.c fdisks/gpt.h \ + fdisks/i386_sys_types.c +am__objects_12 = fdisks/fdisk-gpt.$(OBJEXT) \ + fdisks/fdisk-i386_sys_types.$(OBJEXT) +@ARCH_M68K_FALSE@am_fdisk_OBJECTS = fdisks/fdisk-utils.$(OBJEXT) \ +@ARCH_M68K_FALSE@ fdisks/fdisk-fdisk.$(OBJEXT) \ +@ARCH_M68K_FALSE@ fdisks/fdisk-fdiskaixlabel.$(OBJEXT) \ +@ARCH_M68K_FALSE@ fdisks/fdisk-fdiskbsdlabel.$(OBJEXT) \ +@ARCH_M68K_FALSE@ fdisks/fdisk-fdiskmaclabel.$(OBJEXT) \ +@ARCH_M68K_FALSE@ fdisks/fdisk-fdisksgilabel.$(OBJEXT) \ +@ARCH_M68K_FALSE@ fdisks/fdisk-fdisksunlabel.$(OBJEXT) \ +@ARCH_M68K_FALSE@ fdisks/fdisk-fdiskdoslabel.$(OBJEXT) \ +@ARCH_M68K_FALSE@ fdisks/fdisk-partname.$(OBJEXT) \ +@ARCH_M68K_FALSE@ $(am__objects_12) +fdisk_OBJECTS = $(am_fdisk_OBJECTS) +@ARCH_M68K_FALSE@fdisk_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@ARCH_M68K_FALSE@ libcommon.la $(am__append_205) +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 = fdisks/utils.c fdisks/fdisk.c \ + fdisks/fdisk.h fdisks/fdiskaixlabel.c fdisks/fdiskaixlabel.h \ + fdisks/fdiskbsdlabel.c fdisks/fdiskbsdlabel.h \ + fdisks/fdiskmaclabel.c fdisks/fdiskmaclabel.h \ + fdisks/fdisksgilabel.c fdisks/fdisksgilabel.h \ + fdisks/fdisksunlabel.c fdisks/fdisksunlabel.h \ + fdisks/fdiskdoslabel.c fdisks/fdiskdoslabel.h \ + fdisks/partname.c fdisks/common.h fdisks/gpt.c fdisks/gpt.h \ + fdisks/i386_sys_types.c +am__objects_13 = fdisks/fdisk_static-gpt.$(OBJEXT) \ + fdisks/fdisk_static-i386_sys_types.$(OBJEXT) +@ARCH_M68K_FALSE@am__objects_14 = fdisks/fdisk_static-utils.$(OBJEXT) \ +@ARCH_M68K_FALSE@ fdisks/fdisk_static-fdisk.$(OBJEXT) \ +@ARCH_M68K_FALSE@ fdisks/fdisk_static-fdiskaixlabel.$(OBJEXT) \ +@ARCH_M68K_FALSE@ fdisks/fdisk_static-fdiskbsdlabel.$(OBJEXT) \ +@ARCH_M68K_FALSE@ fdisks/fdisk_static-fdiskmaclabel.$(OBJEXT) \ +@ARCH_M68K_FALSE@ fdisks/fdisk_static-fdisksgilabel.$(OBJEXT) \ +@ARCH_M68K_FALSE@ fdisks/fdisk_static-fdisksunlabel.$(OBJEXT) \ +@ARCH_M68K_FALSE@ fdisks/fdisk_static-fdiskdoslabel.$(OBJEXT) \ +@ARCH_M68K_FALSE@ fdisks/fdisk_static-partname.$(OBJEXT) \ +@ARCH_M68K_FALSE@ $(am__objects_13) +@ARCH_M68K_FALSE@@HAVE_STATIC_FDISK_TRUE@am_fdisk_static_OBJECTS = \ +@ARCH_M68K_FALSE@@HAVE_STATIC_FDISK_TRUE@ $(am__objects_14) +fdisk_static_OBJECTS = $(am_fdisk_static_OBJECTS) +@ARCH_M68K_FALSE@am__DEPENDENCIES_4 = $(am__DEPENDENCIES_2) \ +@ARCH_M68K_FALSE@ libcommon.la $(am__append_205) +@ARCH_M68K_FALSE@@HAVE_STATIC_FDISK_TRUE@fdisk_static_DEPENDENCIES = $(am__DEPENDENCIES_4) +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__findfs_SOURCES_DIST = misc-utils/findfs.c +@BUILD_LIBBLKID_TRUE@am_findfs_OBJECTS = \ +@BUILD_LIBBLKID_TRUE@ misc-utils/findfs-findfs.$(OBJEXT) +findfs_OBJECTS = $(am_findfs_OBJECTS) +@BUILD_LIBBLKID_TRUE@findfs_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LIBBLKID_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 +@BUILD_LIBMOUNT_TRUE@am_findmnt_OBJECTS = \ +@BUILD_LIBMOUNT_TRUE@ misc-utils/findmnt-findmnt.$(OBJEXT) +findmnt_OBJECTS = $(am_findmnt_OBJECTS) +@BUILD_LIBMOUNT_TRUE@findmnt_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LIBMOUNT_TRUE@ libmount.la libcommon.la +findmnt_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(findmnt_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am_flock_OBJECTS = sys-utils/flock.$(OBJEXT) +flock_OBJECTS = $(am_flock_OBJECTS) +flock_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +am__fsck_SOURCES_DIST = disk-utils/fsck.c +@BUILD_FSCK_TRUE@am_fsck_OBJECTS = disk-utils/fsck-fsck.$(OBJEXT) +fsck_OBJECTS = $(am_fsck_OBJECTS) +@BUILD_FSCK_TRUE@fsck_DEPENDENCIES = $(am__DEPENDENCIES_2) libmount.la \ +@BUILD_FSCK_TRUE@ libblkid.la +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_15 = \ +@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_15) +fsck_cramfs_OBJECTS = $(am_fsck_cramfs_OBJECTS) +@BUILD_CRAMFS_TRUE@fsck_cramfs_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_CRAMFS_TRUE@ libcommon.la +am_fsck_minix_OBJECTS = disk-utils/fsck.minix.$(OBJEXT) \ + lib/ismounted.$(OBJEXT) +fsck_minix_OBJECTS = $(am_fsck_minix_OBJECTS) +fsck_minix_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +am__fsfreeze_SOURCES_DIST = sys-utils/fsfreeze.c +@LINUX_TRUE@am_fsfreeze_OBJECTS = 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 +@LINUX_TRUE@am_fstrim_OBJECTS = sys-utils/fstrim.$(OBJEXT) +fstrim_OBJECTS = $(am_fstrim_OBJECTS) +@LINUX_TRUE@fstrim_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +am_getopt_OBJECTS = misc-utils/getopt.$(OBJEXT) +getopt_OBJECTS = $(am_getopt_OBJECTS) +getopt_LDADD = $(LDADD) +getopt_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_hexdump_OBJECTS = text-utils/conv.$(OBJEXT) \ + text-utils/display.$(OBJEXT) text-utils/hexdump.$(OBJEXT) \ + text-utils/hexsyntax.$(OBJEXT) text-utils/parse.$(OBJEXT) +hexdump_OBJECTS = $(am_hexdump_OBJECTS) +hexdump_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +am__hwclock_SOURCES_DIST = sys-utils/hwclock.c sys-utils/hwclock.h \ + sys-utils/hwclock-cmos.c sys-utils/hwclock-kd.c \ + sys-utils/hwclock-rtc.c +@BUILD_HWCLOCK_TRUE@@LINUX_TRUE@am__objects_16 = 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@ sys-utils/hwclock-kd.$(OBJEXT) \ +@BUILD_HWCLOCK_TRUE@ $(am__objects_16) +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@@BUILD_SCHEDUTILS_TRUE@am_ionice_OBJECTS = schedutils/ionice.$(OBJEXT) +ionice_OBJECTS = $(am_ionice_OBJECTS) +@BUILD_IONICE_TRUE@@BUILD_SCHEDUTILS_TRUE@ionice_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_IONICE_TRUE@@BUILD_SCHEDUTILS_TRUE@ libcommon.la +am_ipcmk_OBJECTS = sys-utils/ipcmk.$(OBJEXT) +ipcmk_OBJECTS = $(am_ipcmk_OBJECTS) +ipcmk_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +am_ipcrm_OBJECTS = sys-utils/ipcrm.$(OBJEXT) +ipcrm_OBJECTS = $(am_ipcrm_OBJECTS) +ipcrm_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +am_ipcs_OBJECTS = sys-utils/ipcs.$(OBJEXT) +ipcs_OBJECTS = $(am_ipcs_OBJECTS) +ipcs_LDADD = $(LDADD) +ipcs_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_isosize_OBJECTS = disk-utils/isosize.$(OBJEXT) +isosize_OBJECTS = $(am_isosize_OBJECTS) +isosize_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +am__kill_SOURCES_DIST = misc-utils/kill.c misc-utils/kill.h \ + misc-utils/procs.c +@BUILD_KILL_TRUE@am_kill_OBJECTS = misc-utils/kill.$(OBJEXT) \ +@BUILD_KILL_TRUE@ misc-utils/procs.$(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 +@BUILD_LAST_TRUE@am_last_OBJECTS = login-utils/last.$(OBJEXT) +last_OBJECTS = $(am_last_OBJECTS) +last_LDADD = $(LDADD) +last_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__ldattach_SOURCES_DIST = sys-utils/ldattach.c +@LINUX_TRUE@am_ldattach_OBJECTS = sys-utils/ldattach.$(OBJEXT) +ldattach_OBJECTS = $(am_ldattach_OBJECTS) +@LINUX_TRUE@ldattach_DEPENDENCIES = $(am__DEPENDENCIES_2) 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_OBJECTS = misc-utils/logger.$(OBJEXT) lib/strutils.$(OBJEXT) +logger_OBJECTS = $(am_logger_OBJECTS) +logger_LDADD = $(LDADD) +logger_DEPENDENCIES = $(am__DEPENDENCIES_1) +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_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 = sys-utils/losetup.$(OBJEXT) +losetup_OBJECTS = $(am_losetup_OBJECTS) +@BUILD_LOSETUP_TRUE@losetup_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LOSETUP_TRUE@ libcommon.la +am__losetup_static_SOURCES_DIST = sys-utils/losetup.c +@BUILD_LOSETUP_TRUE@am__objects_17 = sys-utils/losetup.$(OBJEXT) +@BUILD_LOSETUP_TRUE@@HAVE_STATIC_LOSETUP_TRUE@am_losetup_static_OBJECTS = $(am__objects_17) +losetup_static_OBJECTS = $(am_losetup_static_OBJECTS) +@BUILD_LOSETUP_TRUE@am__DEPENDENCIES_5 = $(am__DEPENDENCIES_2) \ +@BUILD_LOSETUP_TRUE@ libcommon.la +@BUILD_LOSETUP_TRUE@@HAVE_STATIC_LOSETUP_TRUE@losetup_static_DEPENDENCIES = $(am__DEPENDENCIES_5) +losetup_static_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(losetup_static_LDFLAGS) $(LDFLAGS) -o \ + $@ +am__lsblk_SOURCES_DIST = misc-utils/lsblk.c +@BUILD_LSBLK_TRUE@am_lsblk_OBJECTS = misc-utils/lsblk-lsblk.$(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@ $(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 +@BUILD_LSCPU_TRUE@am_lscpu_OBJECTS = sys-utils/lscpu.$(OBJEXT) +lscpu_OBJECTS = $(am_lscpu_OBJECTS) +@BUILD_LSCPU_TRUE@lscpu_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LSCPU_TRUE@ libcommon.la +am__lslocks_SOURCES_DIST = misc-utils/lslocks.c lib/at.c \ + lib/strutils.c lib/tt.c lib/mbsalign.c +@BUILD_LSLOCKS_TRUE@am_lslocks_OBJECTS = misc-utils/lslocks.$(OBJEXT) \ +@BUILD_LSLOCKS_TRUE@ lib/at.$(OBJEXT) lib/strutils.$(OBJEXT) \ +@BUILD_LSLOCKS_TRUE@ lib/tt.$(OBJEXT) lib/mbsalign.$(OBJEXT) +lslocks_OBJECTS = $(am_lslocks_OBJECTS) +lslocks_LDADD = $(LDADD) +lslocks_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_mcookie_OBJECTS = misc-utils/mcookie.$(OBJEXT) lib/md5.$(OBJEXT) +mcookie_OBJECTS = $(am_mcookie_OBJECTS) +mcookie_LDADD = $(LDADD) +mcookie_DEPENDENCIES = $(am__DEPENDENCIES_1) +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_OBJECTS = disk-utils/mkfs.$(OBJEXT) +mkfs_OBJECTS = $(am_mkfs_OBJECTS) +mkfs_LDADD = $(LDADD) +mkfs_DEPENDENCIES = $(am__DEPENDENCIES_1) +am_mkfs_bfs_OBJECTS = disk-utils/mkfs.bfs.$(OBJEXT) +mkfs_bfs_OBJECTS = $(am_mkfs_bfs_OBJECTS) +mkfs_bfs_DEPENDENCIES = $(am__DEPENDENCIES_2) 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_15) +mkfs_cramfs_OBJECTS = $(am_mkfs_cramfs_OBJECTS) +@BUILD_CRAMFS_TRUE@mkfs_cramfs_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_CRAMFS_TRUE@ libcommon.la +am_mkfs_minix_OBJECTS = disk-utils/mkfs.minix.$(OBJEXT) +mkfs_minix_OBJECTS = $(am_mkfs_minix_OBJECTS) +mkfs_minix_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +am_mkswap_OBJECTS = disk-utils/mkswap-mkswap.$(OBJEXT) +mkswap_OBJECTS = $(am_mkswap_OBJECTS) +mkswap_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la \ + $(am__append_183) $(am__append_185) $(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 +@HAVE_NCURSES_FALSE@@HAVE_TERMCAP_TRUE@am_more_OBJECTS = text-utils/more.$(OBJEXT) +@HAVE_NCURSES_TRUE@am_more_OBJECTS = text-utils/more.$(OBJEXT) +more_OBJECTS = $(am_more_OBJECTS) +@HAVE_NCURSES_FALSE@@HAVE_TERMCAP_TRUE@more_DEPENDENCIES = \ +@HAVE_NCURSES_FALSE@@HAVE_TERMCAP_TRUE@ $(am__DEPENDENCIES_2) +@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@more_DEPENDENCIES = \ +@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@ $(am__DEPENDENCIES_2) +@HAVE_NCURSES_TRUE@@HAVE_TINFO_TRUE@more_DEPENDENCIES = \ +@HAVE_NCURSES_TRUE@@HAVE_TINFO_TRUE@ $(am__DEPENDENCIES_2) +am__mount_SOURCES_DIST = mount-deprecated/mount.c \ + mount-deprecated/sundries.c mount-deprecated/sundries.h \ + mount-deprecated/fstab.h mount-deprecated/mount_mntent.h \ + mount-deprecated/mount_constants.h \ + mount-deprecated/getusername.h mount-deprecated/fsprobe.h \ + mount-deprecated/devname.c mount-deprecated/devname.h \ + mount-deprecated/fstab.c mount-deprecated/getusername.c \ + mount-deprecated/mount_mntent.c mount-deprecated/fsprobe.c \ + sys-utils/mount.c +@BUILD_DEPRECATED_MOUNT_TRUE@am__objects_18 = mount-deprecated/mount-sundries.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/mount-devname.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/mount-fstab.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/mount-getusername.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/mount-mount_mntent.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/mount-fsprobe.$(OBJEXT) +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@am_mount_OBJECTS = sys-utils/mount-mount.$(OBJEXT) +@BUILD_DEPRECATED_MOUNT_TRUE@am_mount_OBJECTS = mount-deprecated/mount-mount.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ $(am__objects_18) +mount_OBJECTS = $(am_mount_OBJECTS) +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_SELINUX_TRUE@am__DEPENDENCIES_6 = $(am__DEPENDENCIES_1) +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@mount_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@ libcommon.la \ +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@ libmount.la \ +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@ $(am__DEPENDENCIES_1) +@BUILD_DEPRECATED_MOUNT_TRUE@mount_DEPENDENCIES = \ +@BUILD_DEPRECATED_MOUNT_TRUE@ $(am__DEPENDENCIES_2) libblkid.la \ +@BUILD_DEPRECATED_MOUNT_TRUE@ libcommon.la \ +@BUILD_DEPRECATED_MOUNT_TRUE@ $(am__DEPENDENCIES_6) +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 = mount-deprecated/mount.c \ + mount-deprecated/sundries.c mount-deprecated/sundries.h \ + mount-deprecated/fstab.h mount-deprecated/mount_mntent.h \ + mount-deprecated/mount_constants.h \ + mount-deprecated/getusername.h mount-deprecated/fsprobe.h \ + mount-deprecated/devname.c mount-deprecated/devname.h \ + mount-deprecated/fstab.c mount-deprecated/getusername.c \ + mount-deprecated/mount_mntent.c mount-deprecated/fsprobe.c \ + sys-utils/mount.c +@BUILD_DEPRECATED_MOUNT_TRUE@am__objects_19 = mount-deprecated/mount_static-sundries.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/mount_static-devname.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/mount_static-fstab.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/mount_static-getusername.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/mount_static-mount_mntent.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/mount_static-fsprobe.$(OBJEXT) +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@am__objects_20 = sys-utils/mount_static-mount.$(OBJEXT) +@BUILD_DEPRECATED_MOUNT_TRUE@am__objects_20 = mount-deprecated/mount_static-mount.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ $(am__objects_19) +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@am_mount_static_OBJECTS = $(am__objects_20) +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@am_mount_static_OBJECTS = $(am__objects_20) +mount_static_OBJECTS = $(am_mount_static_OBJECTS) +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_SELINUX_TRUE@@HAVE_STATIC_MOUNT_TRUE@am__DEPENDENCIES_7 = $(am__DEPENDENCIES_1) +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@am__DEPENDENCIES_8 = $(am__DEPENDENCIES_2) \ +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@ libcommon.la \ +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@ libmount.la \ +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@ $(am__DEPENDENCIES_1) +@BUILD_DEPRECATED_MOUNT_TRUE@am__DEPENDENCIES_8 = \ +@BUILD_DEPRECATED_MOUNT_TRUE@ $(am__DEPENDENCIES_2) libblkid.la \ +@BUILD_DEPRECATED_MOUNT_TRUE@ libcommon.la \ +@BUILD_DEPRECATED_MOUNT_TRUE@ $(am__DEPENDENCIES_6) +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@mount_static_DEPENDENCIES = $(am__DEPENDENCIES_8) \ +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@ $(am__DEPENDENCIES_1) +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@mount_static_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@ libblkid.la \ +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@ libcommon.la \ +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@ $(am__DEPENDENCIES_7) +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_OBJECTS = misc-utils/namei.$(OBJEXT) lib/strutils.$(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__partx_SOURCES_DIST = disk-utils/partx.c disk-utils/partx.h +@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 +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 +@HAVE_NCURSES_TRUE@am_pg_OBJECTS = text-utils/pg.$(OBJEXT) +pg_OBJECTS = $(am_pg_OBJECTS) +@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@pg_DEPENDENCIES = \ +@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@ $(am__DEPENDENCIES_2) +@HAVE_NCURSES_TRUE@@HAVE_TINFO_TRUE@pg_DEPENDENCIES = \ +@HAVE_NCURSES_TRUE@@HAVE_TINFO_TRUE@ $(am__DEPENDENCIES_2) +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 = sys-utils/prlimit.$(OBJEXT) +prlimit_OBJECTS = $(am_prlimit_OBJECTS) +@BUILD_PRLIMIT_TRUE@prlimit_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_PRLIMIT_TRUE@ libcommon.la +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_OBJECTS = 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_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 \ + disk-utils/partx.h +@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_OBJECTS = text-utils/rev.$(OBJEXT) +rev_OBJECTS = $(am_rev_OBJECTS) +rev_LDADD = $(LDADD) +rev_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__rtcwake_SOURCES_DIST = sys-utils/rtcwake.c +@LINUX_TRUE@am_rtcwake_OBJECTS = sys-utils/rtcwake.$(OBJEXT) +rtcwake_OBJECTS = $(am_rtcwake_OBJECTS) +@LINUX_TRUE@rtcwake_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +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 +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 +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_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 +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 +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_OBJECTS = term-utils/script.$(OBJEXT) +script_OBJECTS = $(am_script_OBJECTS) +script_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) +am_scriptreplay_OBJECTS = term-utils/scriptreplay.$(OBJEXT) +scriptreplay_OBJECTS = $(am_scriptreplay_OBJECTS) +scriptreplay_LDADD = $(LDADD) +scriptreplay_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__setarch_SOURCES_DIST = sys-utils/setarch.c +@LINUX_TRUE@am_setarch_OBJECTS = sys-utils/setarch.$(OBJEXT) +setarch_OBJECTS = $(am_setarch_OBJECTS) +setarch_LDADD = $(LDADD) +setarch_DEPENDENCIES = $(am__DEPENDENCIES_1) +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 +@HAVE_NCURSES_TRUE@@LINUX_TRUE@am_setterm_OBJECTS = \ +@HAVE_NCURSES_TRUE@@LINUX_TRUE@ term-utils/setterm.$(OBJEXT) +setterm_OBJECTS = $(am_setterm_OBJECTS) +@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@setterm_DEPENDENCIES = \ +@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@ $(am__DEPENDENCIES_2) +@HAVE_NCURSES_TRUE@@HAVE_TINFO_TRUE@setterm_DEPENDENCIES = \ +@HAVE_NCURSES_TRUE@@HAVE_TINFO_TRUE@ $(am__DEPENDENCIES_2) +am__sfdisk_SOURCES_DIST = fdisks/partname.c fdisks/sfdisk.c \ + fdisks/common.h fdisks/gpt.c fdisks/gpt.h \ + fdisks/i386_sys_types.c +am__objects_21 = fdisks/gpt.$(OBJEXT) fdisks/i386_sys_types.$(OBJEXT) +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@am_sfdisk_OBJECTS = \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@ fdisks/partname.$(OBJEXT) \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@ fdisks/sfdisk.$(OBJEXT) \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@ $(am__objects_21) +sfdisk_OBJECTS = $(am_sfdisk_OBJECTS) +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@sfdisk_DEPENDENCIES = \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@ $(am__DEPENDENCIES_2) \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@ libcommon.la +am__sfdisk_static_SOURCES_DIST = fdisks/partname.c fdisks/sfdisk.c \ + fdisks/common.h fdisks/gpt.c fdisks/gpt.h \ + fdisks/i386_sys_types.c +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@am__objects_22 = \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@ fdisks/partname.$(OBJEXT) \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@ fdisks/sfdisk.$(OBJEXT) \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@ $(am__objects_21) +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@HAVE_STATIC_SFDISK_TRUE@am_sfdisk_static_OBJECTS = $(am__objects_22) +sfdisk_static_OBJECTS = $(am_sfdisk_static_OBJECTS) +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@am__DEPENDENCIES_9 = \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@ $(am__DEPENDENCIES_2) \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@ libcommon.la +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@HAVE_STATIC_SFDISK_TRUE@sfdisk_static_DEPENDENCIES = $(am__DEPENDENCIES_9) +sfdisk_static_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(sfdisk_static_LDFLAGS) $(LDFLAGS) -o $@ +am__su_SOURCES_DIST = login-utils/su.c 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-logindefs.$(OBJEXT) +su_OBJECTS = $(am_su_OBJECTS) +@BUILD_SU_TRUE@su_DEPENDENCIES = $(am__DEPENDENCIES_2) +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 +@BUILD_SULOGIN_TRUE@am_sulogin_OBJECTS = \ +@BUILD_SULOGIN_TRUE@ login-utils/sulogin.$(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 +@BUILD_SWAPLABEL_TRUE@am_swaplabel_OBJECTS = disk-utils/swaplabel-swaplabel.$(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_189) +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 +@BUILD_SWAPON_TRUE@am_swapoff_OBJECTS = \ +@BUILD_SWAPON_TRUE@ sys-utils/swapoff-swapoff.$(OBJEXT) \ +@BUILD_SWAPON_TRUE@ sys-utils/swapoff-swapon-common.$(OBJEXT) +swapoff_OBJECTS = $(am_swapoff_OBJECTS) +@BUILD_SWAPON_TRUE@swapoff_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_SWAPON_TRUE@ libmount.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 +@BUILD_SWAPON_TRUE@am_swapon_OBJECTS = \ +@BUILD_SWAPON_TRUE@ sys-utils/swapon-swapon.$(OBJEXT) \ +@BUILD_SWAPON_TRUE@ sys-utils/swapon-swapon-common.$(OBJEXT) +swapon_OBJECTS = $(am_swapon_OBJECTS) +@BUILD_SWAPON_TRUE@swapon_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_SWAPON_TRUE@ libcommon.la libmount.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_tailf_OBJECTS = text-utils/tailf.$(OBJEXT) +tailf_OBJECTS = $(am_tailf_OBJECTS) +tailf_DEPENDENCIES = $(am__DEPENDENCIES_2) libcommon.la +am__taskset_SOURCES_DIST = schedutils/taskset.c +@BUILD_SCHEDUTILS_TRUE@@BUILD_TASKSET_TRUE@am_taskset_OBJECTS = schedutils/taskset.$(OBJEXT) +taskset_OBJECTS = $(am_taskset_OBJECTS) +@BUILD_SCHEDUTILS_TRUE@@BUILD_TASKSET_TRUE@taskset_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_SCHEDUTILS_TRUE@@BUILD_TASKSET_TRUE@ libcommon.la +am_test_at_OBJECTS = lib/test_at-at.$(OBJEXT) +test_at_OBJECTS = $(am_test_at_OBJECTS) +test_at_LDADD = $(LDADD) +test_at_DEPENDENCIES = $(am__DEPENDENCIES_1) +test_at_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_at_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am_test_blkdev_OBJECTS = lib/test_blkdev-blkdev.$(OBJEXT) +test_blkdev_OBJECTS = $(am_test_blkdev_OBJECTS) +test_blkdev_DEPENDENCIES = 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@am__DEPENDENCIES_10 = \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ libblkid.la \ +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@ $(am__DEPENDENCIES_1) +@BUILD_LIBBLKID_TESTS_TRUE@@BUILD_LIBBLKID_TRUE@test_blkid_cache_DEPENDENCIES = $(am__DEPENDENCIES_10) +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_10) +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_10) +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_10) +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_10) +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_10) +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_10) +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_10) +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_10) +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_10) +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_10) +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_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_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_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_LDADD = $(LDADD) +test_ismounted_DEPENDENCIES = $(am__DEPENDENCIES_1) +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_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_loopdev_SOURCES_DIST = lib/loopdev.c +@LINUX_TRUE@am_test_loopdev_OBJECTS = \ +@LINUX_TRUE@ lib/test_loopdev-loopdev.$(OBJEXT) +test_loopdev_OBJECTS = $(am_test_loopdev_OBJECTS) +@LINUX_TRUE@test_loopdev_DEPENDENCIES = libcommon.la +test_loopdev_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_loopdev_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +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_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_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_11 = $(am__DEPENDENCIES_1) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@am__DEPENDENCIES_12 = \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ libmount.la \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ $(am__DEPENDENCIES_11) +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@test_mount_cache_DEPENDENCIES = $(am__DEPENDENCIES_12) +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_12) +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_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_12) +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_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_12) +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_12) +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_12) +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_12) +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_12) +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_12) +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_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_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_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_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 +@LINUX_TRUE@am_test_sysfs_OBJECTS = lib/test_sysfs-sysfs.$(OBJEXT) +test_sysfs_OBJECTS = $(am_test_sysfs_OBJECTS) +@LINUX_TRUE@test_sysfs_DEPENDENCIES = libcommon.la +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_tt_OBJECTS = lib/test_tt-tt.$(OBJEXT) +test_tt_OBJECTS = $(am_test_tt_OBJECTS) +test_tt_DEPENDENCIES = libcommon.la +test_tt_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_tt_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__test_uuid_SOURCES_DIST = libuuid/src/test_uuid.c +@BUILD_LIBUUID_TRUE@am_test_uuid_OBJECTS = \ +@BUILD_LIBUUID_TRUE@ libuuid/src/test_uuid-test_uuid.$(OBJEXT) +test_uuid_OBJECTS = $(am_test_uuid_OBJECTS) +@BUILD_LIBUUID_TRUE@test_uuid_DEPENDENCIES = libuuid.la \ +@BUILD_LIBUUID_TRUE@ $(am__DEPENDENCIES_1) +test_uuid_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_uuid_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am_test_wholedisk_OBJECTS = lib/test_wholedisk-wholedisk.$(OBJEXT) +test_wholedisk_OBJECTS = $(am_test_wholedisk_OBJECTS) +test_wholedisk_LDADD = $(LDADD) +test_wholedisk_DEPENDENCIES = $(am__DEPENDENCIES_1) +test_wholedisk_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(test_wholedisk_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o \ + $@ +am__tunelp_SOURCES_DIST = sys-utils/tunelp.c sys-utils/lp.h +@LINUX_TRUE@am_tunelp_OBJECTS = sys-utils/tunelp.$(OBJEXT) +tunelp_OBJECTS = $(am_tunelp_OBJECTS) +tunelp_LDADD = $(LDADD) +tunelp_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__ul_SOURCES_DIST = text-utils/ul.c +@HAVE_NCURSES_TRUE@am_ul_OBJECTS = text-utils/ul.$(OBJEXT) +ul_OBJECTS = $(am_ul_OBJECTS) +@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@ul_DEPENDENCIES = \ +@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@ $(am__DEPENDENCIES_2) +@HAVE_NCURSES_TRUE@@HAVE_TINFO_TRUE@ul_DEPENDENCIES = \ +@HAVE_NCURSES_TRUE@@HAVE_TINFO_TRUE@ $(am__DEPENDENCIES_2) +am__umount_SOURCES_DIST = mount-deprecated/umount.c \ + mount-deprecated/sundries.c mount-deprecated/sundries.h \ + mount-deprecated/fstab.h mount-deprecated/mount_mntent.h \ + mount-deprecated/mount_constants.h \ + mount-deprecated/getusername.h mount-deprecated/fsprobe.h \ + mount-deprecated/devname.c mount-deprecated/devname.h \ + mount-deprecated/fstab.c mount-deprecated/getusername.c \ + mount-deprecated/mount_mntent.c mount-deprecated/fsprobe.c \ + sys-utils/umount.c +@BUILD_DEPRECATED_MOUNT_TRUE@am__objects_23 = mount-deprecated/umount-sundries.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/umount-devname.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/umount-fstab.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/umount-getusername.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/umount-mount_mntent.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/umount-fsprobe.$(OBJEXT) +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@am_umount_OBJECTS = sys-utils/umount-umount.$(OBJEXT) +@BUILD_DEPRECATED_MOUNT_TRUE@am_umount_OBJECTS = mount-deprecated/umount-umount.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ $(am__objects_23) +umount_OBJECTS = $(am_umount_OBJECTS) +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@umount_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@ libcommon.la \ +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@ libmount.la +@BUILD_DEPRECATED_MOUNT_TRUE@umount_DEPENDENCIES = \ +@BUILD_DEPRECATED_MOUNT_TRUE@ $(am__DEPENDENCIES_2) libblkid.la \ +@BUILD_DEPRECATED_MOUNT_TRUE@ libcommon.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 = mount-deprecated/umount.c \ + mount-deprecated/sundries.c mount-deprecated/sundries.h \ + mount-deprecated/fstab.h mount-deprecated/mount_mntent.h \ + mount-deprecated/mount_constants.h \ + mount-deprecated/getusername.h mount-deprecated/fsprobe.h \ + mount-deprecated/devname.c mount-deprecated/devname.h \ + mount-deprecated/fstab.c mount-deprecated/getusername.c \ + mount-deprecated/mount_mntent.c mount-deprecated/fsprobe.c \ + sys-utils/umount.c +@BUILD_DEPRECATED_MOUNT_TRUE@am__objects_24 = mount-deprecated/umount_static-sundries.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/umount_static-devname.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/umount_static-fstab.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/umount_static-getusername.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/umount_static-mount_mntent.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/umount_static-fsprobe.$(OBJEXT) +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@am__objects_25 = sys-utils/umount_static-umount.$(OBJEXT) +@BUILD_DEPRECATED_MOUNT_TRUE@am__objects_25 = mount-deprecated/umount_static-umount.$(OBJEXT) \ +@BUILD_DEPRECATED_MOUNT_TRUE@ $(am__objects_24) +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@am_umount_static_OBJECTS = $(am__objects_25) +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@am_umount_static_OBJECTS = $(am__objects_25) +umount_static_OBJECTS = $(am_umount_static_OBJECTS) +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@am__DEPENDENCIES_13 = $(am__DEPENDENCIES_2) \ +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@ libcommon.la \ +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@ libmount.la +@BUILD_DEPRECATED_MOUNT_TRUE@am__DEPENDENCIES_13 = \ +@BUILD_DEPRECATED_MOUNT_TRUE@ $(am__DEPENDENCIES_2) libblkid.la \ +@BUILD_DEPRECATED_MOUNT_TRUE@ libcommon.la +@BUILD_DEPRECATED_MOUNT_FALSE@@BUILD_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@umount_static_DEPENDENCIES = $(am__DEPENDENCIES_13) +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@umount_static_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@ libblkid.la \ +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@ libcommon.la +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 = sys-utils/unshare.$(OBJEXT) +unshare_OBJECTS = $(am_unshare_OBJECTS) +unshare_LDADD = $(LDADD) +unshare_DEPENDENCIES = $(am__DEPENDENCIES_1) +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) +utmpdump_LDADD = $(LDADD) +utmpdump_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__uuidd_SOURCES_DIST = misc-utils/uuidd.c misc-utils/sd-daemon.c \ + misc-utils/sd-daemon.h +@BUILD_UUIDD_TRUE@@USE_SOCKET_ACTIVATION_TRUE@am__objects_26 = misc-utils/uuidd-sd-daemon.$(OBJEXT) +@BUILD_UUIDD_TRUE@am_uuidd_OBJECTS = misc-utils/uuidd-uuidd.$(OBJEXT) \ +@BUILD_UUIDD_TRUE@ $(am__objects_26) +uuidd_OBJECTS = $(am_uuidd_OBJECTS) +@BUILD_UUIDD_TRUE@uuidd_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_UUIDD_TRUE@ libuuid.la $(am__DEPENDENCIES_1) +uuidd_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(uuidd_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__uuidgen_SOURCES_DIST = misc-utils/uuidgen.c +@BUILD_LIBUUID_TRUE@am_uuidgen_OBJECTS = \ +@BUILD_LIBUUID_TRUE@ misc-utils/uuidgen-uuidgen.$(OBJEXT) +uuidgen_OBJECTS = $(am_uuidgen_OBJECTS) +@BUILD_LIBUUID_TRUE@uuidgen_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LIBUUID_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__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.$(OBJEXT) +wdctl_OBJECTS = $(am_wdctl_OBJECTS) +@BUILD_WDCTL_TRUE@wdctl_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_WDCTL_TRUE@ libcommon.la +am_whereis_OBJECTS = misc-utils/whereis.$(OBJEXT) +whereis_OBJECTS = $(am_whereis_OBJECTS) +whereis_LDADD = $(LDADD) +whereis_DEPENDENCIES = $(am__DEPENDENCIES_1) +am__wipefs_SOURCES_DIST = misc-utils/wipefs.c +@BUILD_LIBBLKID_TRUE@am_wipefs_OBJECTS = \ +@BUILD_LIBBLKID_TRUE@ misc-utils/wipefs-wipefs.$(OBJEXT) +wipefs_OBJECTS = $(am_wipefs_OBJECTS) +@BUILD_LIBBLKID_TRUE@wipefs_DEPENDENCIES = $(am__DEPENDENCIES_2) \ +@BUILD_LIBBLKID_TRUE@ libblkid.la libcommon.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) +write_LDADD = $(LDADD) +write_DEPENDENCIES = $(am__DEPENDENCIES_1) +write_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(write_CFLAGS) $(CFLAGS) \ + $(write_LDFLAGS) $(LDFLAGS) -o $@ +am__dist_usrbin_exec_SCRIPTS_DIST = term-utils/reset \ + misc-utils/chkdupexe +SCRIPTS = $(dist_getoptexample_SCRIPTS) $(dist_usrbin_exec_SCRIPTS) +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_$(V)) +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +am__v_CC_0 = @echo " CC " $@; +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +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_$(V)) +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +am__v_CCLD_0 = @echo " CCLD " $@; +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +SOURCES = $(libblkid_la_SOURCES) $(nodist_libblkid_la_SOURCES) \ + $(libcommon_la_SOURCES) $(libmount_la_SOURCES) \ + $(nodist_libmount_la_SOURCES) $(libuuid_la_SOURCES) \ + $(addpart_SOURCES) $(agetty_SOURCES) $(arch_SOURCES) \ + $(blkid_SOURCES) $(blkid_static_SOURCES) $(blockdev_SOURCES) \ + $(cal_SOURCES) $(cfdisk_SOURCES) $(chcpu_SOURCES) \ + $(chfn_SOURCES) $(chrt_SOURCES) $(chsh_SOURCES) $(col_SOURCES) \ + $(colcrt_SOURCES) $(colrm_SOURCES) $(column_SOURCES) \ + $(ctrlaltdel_SOURCES) $(cytune_SOURCES) $(ddate_SOURCES) \ + $(delpart_SOURCES) $(dmesg_SOURCES) $(eject_SOURCES) \ + $(elvtune_SOURCES) $(fallocate_SOURCES) $(fdformat_SOURCES) \ + $(fdisk_SOURCES) $(fdisk_static_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) \ + $(lslocks_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) $(partx_SOURCES) \ + $(pg_SOURCES) $(pivot_root_SOURCES) $(prlimit_SOURCES) \ + $(raw_SOURCES) $(readprofile_SOURCES) $(rename_SOURCES) \ + $(renice_SOURCES) $(resizepart_SOURCES) $(rev_SOURCES) \ + $(rtcwake_SOURCES) $(sample_mkfs_SOURCES) \ + $(sample_partitions_SOURCES) $(sample_superblocks_SOURCES) \ + $(sample_topology_SOURCES) $(script_SOURCES) \ + $(scriptreplay_SOURCES) $(setarch_SOURCES) $(setsid_SOURCES) \ + $(setterm_SOURCES) $(sfdisk_SOURCES) $(sfdisk_static_SOURCES) \ + $(su_SOURCES) $(sulogin_SOURCES) $(swaplabel_SOURCES) \ + $(swapoff_SOURCES) $(swapon_SOURCES) $(switch_root_SOURCES) \ + $(tailf_SOURCES) $(taskset_SOURCES) $(test_at_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_canonicalize_SOURCES) \ + $(test_cpuset_SOURCES) $(test_fileutils_SOURCES) \ + $(test_islocal_SOURCES) $(test_ismounted_SOURCES) \ + $(test_logindefs_SOURCES) $(test_loopdev_SOURCES) \ + $(test_mangle_SOURCES) $(test_md5_SOURCES) \ + $(test_mount_cache_SOURCES) $(test_mount_context_SOURCES) \ + $(test_mount_lock_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_pathnames_SOURCES) $(test_procutils_SOURCES) \ + $(test_randutils_SOURCES) $(test_strutils_SOURCES) \ + $(test_sysfs_SOURCES) $(test_sysinfo_SOURCES) \ + $(test_tt_SOURCES) $(test_uuid_SOURCES) \ + $(test_wholedisk_SOURCES) $(tunelp_SOURCES) $(ul_SOURCES) \ + $(umount_SOURCES) $(umount_static_SOURCES) $(unshare_SOURCES) \ + $(utmpdump_SOURCES) $(uuidd_SOURCES) $(uuidgen_SOURCES) \ + $(vipw_SOURCES) $(wall_SOURCES) $(wdctl_SOURCES) \ + $(whereis_SOURCES) $(wipefs_SOURCES) $(write_SOURCES) +DIST_SOURCES = $(am__libblkid_la_SOURCES_DIST) \ + $(am__libcommon_la_SOURCES_DIST) \ + $(am__libmount_la_SOURCES_DIST) $(am__libuuid_la_SOURCES_DIST) \ + $(am__addpart_SOURCES_DIST) $(am__agetty_SOURCES_DIST) \ + $(am__arch_SOURCES_DIST) $(am__blkid_SOURCES_DIST) \ + $(am__blkid_static_SOURCES_DIST) $(am__blockdev_SOURCES_DIST) \ + $(am__cal_SOURCES_DIST) $(am__cfdisk_SOURCES_DIST) \ + $(am__chcpu_SOURCES_DIST) $(am__chfn_SOURCES_DIST) \ + $(am__chrt_SOURCES_DIST) $(am__chsh_SOURCES_DIST) \ + $(col_SOURCES) $(colcrt_SOURCES) $(colrm_SOURCES) \ + $(column_SOURCES) $(am__ctrlaltdel_SOURCES_DIST) \ + $(am__cytune_SOURCES_DIST) $(am__ddate_SOURCES_DIST) \ + $(am__delpart_SOURCES_DIST) $(am__dmesg_SOURCES_DIST) \ + $(am__eject_SOURCES_DIST) $(am__elvtune_SOURCES_DIST) \ + $(am__fallocate_SOURCES_DIST) $(am__fdformat_SOURCES_DIST) \ + $(am__fdisk_SOURCES_DIST) $(am__fdisk_static_SOURCES_DIST) \ + $(am__findfs_SOURCES_DIST) $(am__findmnt_SOURCES_DIST) \ + $(flock_SOURCES) $(am__fsck_SOURCES_DIST) \ + $(am__fsck_cramfs_SOURCES_DIST) $(fsck_minix_SOURCES) \ + $(am__fsfreeze_SOURCES_DIST) $(am__fstrim_SOURCES_DIST) \ + $(getopt_SOURCES) $(hexdump_SOURCES) \ + $(am__hwclock_SOURCES_DIST) $(am__ionice_SOURCES_DIST) \ + $(ipcmk_SOURCES) $(ipcrm_SOURCES) $(ipcs_SOURCES) \ + $(isosize_SOURCES) $(am__kill_SOURCES_DIST) \ + $(am__last_SOURCES_DIST) $(am__ldattach_SOURCES_DIST) \ + $(am__line_SOURCES_DIST) $(logger_SOURCES) \ + $(am__login_SOURCES_DIST) $(look_SOURCES) \ + $(am__losetup_SOURCES_DIST) $(am__losetup_static_SOURCES_DIST) \ + $(am__lsblk_SOURCES_DIST) $(am__lscpu_SOURCES_DIST) \ + $(am__lslocks_SOURCES_DIST) $(mcookie_SOURCES) \ + $(am__mesg_SOURCES_DIST) $(mkfs_SOURCES) $(mkfs_bfs_SOURCES) \ + $(am__mkfs_cramfs_SOURCES_DIST) $(mkfs_minix_SOURCES) \ + $(mkswap_SOURCES) $(am__more_SOURCES_DIST) \ + $(am__mount_SOURCES_DIST) $(am__mount_static_SOURCES_DIST) \ + $(am__mountpoint_SOURCES_DIST) $(namei_SOURCES) \ + $(am__newgrp_SOURCES_DIST) $(am__partx_SOURCES_DIST) \ + $(am__pg_SOURCES_DIST) $(am__pivot_root_SOURCES_DIST) \ + $(am__prlimit_SOURCES_DIST) $(am__raw_SOURCES_DIST) \ + $(readprofile_SOURCES) $(am__rename_SOURCES_DIST) \ + $(renice_SOURCES) $(am__resizepart_SOURCES_DIST) \ + $(rev_SOURCES) $(am__rtcwake_SOURCES_DIST) \ + $(am__sample_mkfs_SOURCES_DIST) \ + $(am__sample_partitions_SOURCES_DIST) \ + $(am__sample_superblocks_SOURCES_DIST) \ + $(am__sample_topology_SOURCES_DIST) $(script_SOURCES) \ + $(scriptreplay_SOURCES) $(am__setarch_SOURCES_DIST) \ + $(setsid_SOURCES) $(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) \ + $(tailf_SOURCES) $(am__taskset_SOURCES_DIST) \ + $(test_at_SOURCES) $(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) \ + $(test_canonicalize_SOURCES) $(am__test_cpuset_SOURCES_DIST) \ + $(test_fileutils_SOURCES) $(test_islocal_SOURCES) \ + $(test_ismounted_SOURCES) $(test_logindefs_SOURCES) \ + $(am__test_loopdev_SOURCES_DIST) $(test_mangle_SOURCES) \ + $(test_md5_SOURCES) $(am__test_mount_cache_SOURCES_DIST) \ + $(am__test_mount_context_SOURCES_DIST) \ + $(am__test_mount_lock_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) $(test_pathnames_SOURCES) \ + $(test_procutils_SOURCES) $(test_randutils_SOURCES) \ + $(test_strutils_SOURCES) $(am__test_sysfs_SOURCES_DIST) \ + $(test_sysinfo_SOURCES) $(test_tt_SOURCES) \ + $(am__test_uuid_SOURCES_DIST) $(test_wholedisk_SOURCES) \ + $(am__tunelp_SOURCES_DIST) $(am__ul_SOURCES_DIST) \ + $(am__umount_SOURCES_DIST) $(am__umount_static_SOURCES_DIST) \ + $(am__unshare_SOURCES_DIST) $(am__utmpdump_SOURCES_DIST) \ + $(am__uuidd_SOURCES_DIST) $(am__uuidgen_SOURCES_DIST) \ + $(am__vipw_SOURCES_DIST) $(am__wall_SOURCES_DIST) \ + $(am__wdctl_SOURCES_DIST) $(whereis_SOURCES) \ + $(am__wipefs_SOURCES_DIST) $(am__write_SOURCES_DIST) +RECURSIVE_TARGETS = all-recursive check-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 uninstall-recursive +man1dir = $(mandir)/man1 +man3dir = $(mandir)/man3 +man5dir = $(mandir)/man5 +man8dir = $(mandir)/man8 +NROFF = nroff +MANS = $(dist_man_MANS) $(man_MANS) +am__dist_noinst_DATA_DIST = 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/tailf.1 text-utils/line.1 text-utils/ul.1 \ + text-utils/more.1 text-utils/pg.1 term-utils/script.1 \ + term-utils/scriptreplay.1 term-utils/agetty.8 \ + term-utils/setterm.1 term-utils/reset.1 term-utils/mesg.1 \ + term-utils/wall.1 term-utils/write.1 login-utils/last.1 \ + login-utils/sulogin.8 login-utils/login.1 \ + login-utils/utmpdump.1 login-utils/chfn.1 login-utils/chsh.1 \ + login-utils/newgrp.1 login-utils/vigr.8 login-utils/vipw.8 \ + mount-deprecated/mount.8 mount-deprecated/umount.8 \ + sys-utils/flock.1 sys-utils/ipcmk.1 sys-utils/ipcrm.1 \ + sys-utils/ipcs.1 sys-utils/renice.1 sys-utils/setsid.1 \ + sys-utils/readprofile.8 sys-utils/dmesg.1 \ + sys-utils/ctrlaltdel.8 sys-utils/fsfreeze.8 sys-utils/fstrim.8 \ + sys-utils/cytune.8 sys-utils/ldattach.8 sys-utils/tunelp.8 \ + sys-utils/rtcwake.8 sys-utils/setarch.8 sys-utils/eject.1 \ + sys-utils/losetup.8 sys-utils/prlimit.1 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/arch.1 sys-utils/hwclock.8 \ + 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/chkdupexe.1 misc-utils/ddate.1 misc-utils/lslocks.8 \ + misc-utils/lsblk.8 misc-utils/uuidgen.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 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/elvtune.8 \ + disk-utils/raw.8 disk-utils/blockdev.8 disk-utils/fdformat.8 \ + disk-utils/addpart.8 disk-utils/delpart.8 \ + disk-utils/resizepart.8 disk-utils/partx.8 fdisks/fdisk.8 \ + fdisks/sfdisk.8 fdisks/cfdisk.8 +DATA = $(dist_noinst_DATA) $(pkgconfig_DATA) $(ruman1_DATA) \ + $(systemdsystemunit_DATA) +am__uuidinc_HEADERS_DIST = libuuid/src/uuid.h +HEADERS = $(dist_noinst_HEADERS) $(nodist_blkidinc_HEADERS) \ + $(nodist_mountinc_HEADERS) $(uuidinc_HEADERS) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ + distdir dist dist-all distcheck +ETAGS = etags +CTAGS = ctags +am__tty_colors = \ +red=; grn=; lgn=; blu=; std= +DIST_SUBDIRS = po libblkid/docs libmount/docs +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + { test ! -d "$(distdir)" \ + || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -fr "$(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.bz2 $(distdir).tar.xz +distuninstallcheck_listfiles = find . -type f -print +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +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@ +GMSGFMT = @GMSGFMT@ +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@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBBLKID_DATE = @LIBBLKID_DATE@ +LIBBLKID_VERSION = @LIBBLKID_VERSION@ +LIBBLKID_VERSION_INFO = @LIBBLKID_VERSION_INFO@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBMOUNT_VERSION = @LIBMOUNT_VERSION@ +LIBMOUNT_VERSION_INFO = @LIBMOUNT_VERSION_INFO@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIBUUID_VERSION = @LIBUUID_VERSION@ +LIBUUID_VERSION_INFO = @LIBUUID_VERSION_INFO@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +NCURSES_LIBS = @NCURSES_LIBS@ +NM = @NM@ +NMEDIT = @NMEDIT@ +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@ +PERL = @PERL@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POSUB = @POSUB@ +RANLIB = @RANLIB@ +SED = @SED@ +SELINUX_LIBS = @SELINUX_LIBS@ +SELINUX_LIBS_STATIC = @SELINUX_LIBS_STATIC@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +SOCKET_LIBS = @SOCKET_LIBS@ +STRIP = @STRIP@ +SUID_CFLAGS = @SUID_CFLAGS@ +SUID_LDFLAGS = @SUID_LDFLAGS@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +XGETTEXT = @XGETTEXT@ +XSLTPROC = @XSLTPROC@ +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@ +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@ +libdirname = @libdirname@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +ruman1dir = @ruman1dir@ +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_LOCALSTATEDIR=\"${localstatedir}\" + +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 and libmount.h are generated and stored in build dirs. +# +ul_libblkid_incdir = $(top_builddir)/libblkid/src +ul_libmount_incdir = $(top_builddir)/libmount/src +ul_libuuid_incdir = $(top_srcdir)/libuuid/src +pkgconfigdir = $(usrlib_execdir)/pkgconfig +dist_noinst_HEADERS = include/all-io.h include/at.h include/bitops.h \ + include/blkdev.h include/c.h include/canonicalize.h \ + include/carefulputc.h include/closestream.h include/cpuset.h \ + include/crc32.h include/env.h include/exitcodes.h \ + include/fileutils.h include/ismounted.h include/linux_reboot.h \ + include/linux_version.h include/list.h include/loopdev.h \ + include/mangle.h include/match.h include/mbsalign.h \ + include/md5.h include/minix.h include/nls.h include/optutils.h \ + include/pager.h include/pamfail.h include/path.h \ + include/pathnames.h include/procutils.h include/randutils.h \ + include/rpmatch.h include/setproctitle.h include/strutils.h \ + include/swapheader.h include/sysfs.h include/tt.h \ + include/ttyutils.h include/usleep.h include/wholedisk.h \ + include/widechar.h include/xalloc.h include/xgetpass.h +noinst_LTLIBRARIES = libcommon.la +dist_man_MANS = $(am__append_5) $(am__append_27) $(am__append_38) \ + $(am__append_40) $(am__append_42) 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/tailf.1 \ + $(am__append_44) $(am__append_47) $(am__append_49) \ + term-utils/script.1 term-utils/scriptreplay.1 $(am__append_53) \ + $(am__append_55) $(am__append_57) $(am__append_59) \ + $(am__append_61) $(am__append_64) $(am__append_67) \ + $(am__append_69) $(am__append_73) $(am__append_77) \ + $(am__append_79) $(am__append_84) $(am__append_87) \ + $(am__append_91) sys-utils/flock.1 sys-utils/ipcmk.1 \ + sys-utils/ipcrm.1 sys-utils/ipcs.1 sys-utils/renice.1 \ + sys-utils/setsid.1 sys-utils/readprofile.8 $(am__append_99) \ + $(am__append_116) $(am__append_118) $(am__append_121) \ + $(am__append_123) $(am__append_128) $(am__append_130) \ + $(am__append_132) $(am__append_134) $(am__append_136) \ + $(am__append_138) $(am__append_140) $(am__append_142) \ + $(am__append_144) $(am__append_146) $(am__append_148) \ + misc-utils/cal.1 misc-utils/logger.1 misc-utils/look.1 \ + misc-utils/mcookie.1 misc-utils/namei.1 misc-utils/whereis.1 \ + $(am__append_157) $(am__append_159) $(am__append_162) \ + $(am__append_164) $(am__append_167) $(am__append_169) \ + $(am__append_174) $(am__append_177) $(am__append_179) \ + $(am__append_181) misc-utils/getopt.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 $(am__append_188) \ + $(am__append_192) $(am__append_194) $(am__append_196) \ + $(am__append_199) $(am__append_202) $(am__append_204) \ + $(am__append_208) $(am__append_211) +man_MANS = $(am__append_111) +pkgconfig_DATA = $(am__append_11) $(am__append_25) $(am__append_35) +usrlib_exec_LTLIBRARIES = $(am__append_7) $(am__append_13) \ + $(am__append_28) +dist_usrbin_exec_SCRIPTS = $(am__append_56) $(am__append_155) +systemdsystemunit_DATA = $(am__append_172) +ruman1_DATA = $(am__append_160) +PATHFILES = $(am__append_12) $(am__append_26) $(am__append_36) \ + misc-utils/uuidd.8 misc-utils/uuidd.rc \ + misc-utils/uuidd.service misc-utils/uuidd.socket +INSTALL_EXEC_HOOKS = $(am__append_9) $(am__append_21) $(am__append_32) \ + $(am__append_62) $(am__append_65) $(am__append_89) \ + $(am__append_97) $(am__append_113) $(am__append_126) +UNINSTALL_HOOKS = $(am__append_10) $(am__append_22) $(am__append_33) \ + $(am__append_114) +INSTALL_DATA_HOOKS = +CLEAN_LOCALS = clean-local-tests +CHECK_LOCALS = check-local-tests +EXTRA_DIST = man/ru/ddate.1 .version autogen.sh Documentation \ + po/update-potfiles README.licensing tools/git-version-gen \ + $(am__append_8) $(am__append_17) $(am__append_29) \ + term-utils/reset.033c tests/expected tests/functions.sh \ + tests/commands.sh tests/run.sh tests/ts $(PATHFILES:=.in) +CLEANFILES = $(am__append_112) $(am__append_156) $(PATHFILES) +SUBDIRS = po $(am__append_24) $(am__append_34) +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/at.c lib/blkdev.c lib/canonicalize.c \ + lib/cpuset.c lib/crc32.c lib/env.c lib/fileutils.c \ + lib/ismounted.c lib/mangle.c lib/match.c lib/mbsalign.c \ + lib/md5.c lib/pager.c lib/path.c lib/procutils.c \ + lib/randutils.c lib/setproctitle.c lib/strutils.c lib/sysfs.c \ + lib/tt.c lib/wholedisk.c lib/xgetpass.c $(am__append_1) \ + $(am__append_2) +test_blkdev_SOURCES = lib/blkdev.c +test_blkdev_CFLAGS = -DTEST_PROGRAM +test_blkdev_LDADD = libcommon.la +test_ismounted_SOURCES = lib/ismounted.c +test_ismounted_CFLAGS = -DTEST_PROGRAM +test_wholedisk_SOURCES = lib/wholedisk.c +test_wholedisk_CFLAGS = -DTEST_PROGRAM +test_mangle_SOURCES = lib/mangle.c +test_mangle_CFLAGS = -DTEST_PROGRAM +test_at_SOURCES = lib/at.c +test_at_CFLAGS = -DTEST_PROGRAM_AT +test_strutils_SOURCES = lib/strutils.c +test_strutils_CFLAGS = -DTEST_PROGRAM +test_randutils_SOURCES = lib/randutils.c +test_randutils_CFLAGS = -DTEST_PROGRAM +test_procutils_SOURCES = lib/procutils.c +test_procutils_CFLAGS = -DTEST_PROGRAM +@LINUX_TRUE@test_cpuset_SOURCES = lib/cpuset.c +@LINUX_TRUE@test_cpuset_CFLAGS = -DTEST_PROGRAM +@LINUX_TRUE@test_sysfs_SOURCES = lib/sysfs.c +@LINUX_TRUE@test_sysfs_CFLAGS = -DTEST_PROGRAM_SYSFS +@LINUX_TRUE@test_sysfs_LDADD = libcommon.la +@LINUX_TRUE@test_pager_SOURCES = lib/pager.c +@LINUX_TRUE@test_pager_CFLAGS = -DTEST_PROGRAM +@LINUX_TRUE@test_loopdev_SOURCES = lib/loopdev.c +@LINUX_TRUE@test_loopdev_CFLAGS = -DTEST_PROGRAM_LOOPDEV +@LINUX_TRUE@test_loopdev_LDADD = libcommon.la +test_fileutils_SOURCES = lib/fileutils.c +test_fileutils_CFLAGS = -DTEST_PROGRAM +test_tt_SOURCES = lib/tt.c +test_tt_CFLAGS = -DTEST_PROGRAM +test_tt_LDADD = libcommon.la +test_canonicalize_SOURCES = lib/canonicalize.c +test_canonicalize_CFLAGS = -DTEST_PROGRAM_CANONICALIZE +@BUILD_LIBUUID_TRUE@test_uuid_SOURCES = libuuid/src/test_uuid.c +@BUILD_LIBUUID_TRUE@test_uuid_LDADD = libuuid.la $(SOCKET_LIBS) +@BUILD_LIBUUID_TRUE@test_uuid_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/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/uuidd.h \ +@BUILD_LIBUUID_TRUE@ libuuid/src/uuidP.h \ +@BUILD_LIBUUID_TRUE@ libuuid/src/uuid_time.c \ +@BUILD_LIBUUID_TRUE@ $(uuidinc_HEADERS) \ +@BUILD_LIBUUID_TRUE@ lib/randutils.c + +@BUILD_LIBUUID_TRUE@libuuid_la_DEPENDENCIES = libuuid/src/uuid.sym +@BUILD_LIBUUID_TRUE@libuuid_la_LIBADD = $(SOCKET_LIBS) +@BUILD_LIBUUID_TRUE@libuuid_la_CFLAGS = -I$(ul_libuuid_incdir) -Ilibuuid/src +@BUILD_LIBUUID_TRUE@libuuid_la_LDFLAGS = \ +@BUILD_LIBUUID_TRUE@ -Wl,--version-script=$(top_srcdir)/libuuid/src/uuid.sym \ +@BUILD_LIBUUID_TRUE@ -version-info $(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 = $(top_builddir)/libblkid/src/blkid.h +@BUILD_LIBBLKID_TRUE@libblkid_la_SOURCES = include/list.h \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/blkidP.h \ +@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@ $(blkidinc_HEADERS) \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/aix.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/aix.h \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/blkid_parttypes.h \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/bsd.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/dos.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/partitions/dos.h \ +@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/befs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/bfs.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/exfat.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/ext.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/netware.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/nilfs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/ntfs.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/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/ubifs.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/udf.c \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/superblocks/ufs.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_14) +@BUILD_LIBBLKID_TRUE@nodist_libblkid_la_SOURCES = libblkid/src/blkid.h +@BUILD_LIBBLKID_TRUE@libblkid_la_LIBADD = libcommon.la \ +@BUILD_LIBBLKID_TRUE@ $(am__append_15) +@BUILD_LIBBLKID_TRUE@libblkid_la_CFLAGS = -I$(ul_libblkid_incdir) \ +@BUILD_LIBBLKID_TRUE@ -I$(top_srcdir)/libblkid/src \ +@BUILD_LIBBLKID_TRUE@ $(am__append_16) +@BUILD_LIBBLKID_TRUE@libblkid_la_DEPENDENCIES = \ +@BUILD_LIBBLKID_TRUE@ $(libblkid_la_LIBADD) \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/blkid.sym \ +@BUILD_LIBBLKID_TRUE@ libblkid/src/blkid.h.in + +@BUILD_LIBBLKID_TRUE@libblkid_la_LDFLAGS = \ +@BUILD_LIBBLKID_TRUE@ -Wl,--version-script=$(top_srcdir)/libblkid/src/blkid.sym \ +@BUILD_LIBBLKID_TRUE@ -version-info $(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_19) \ +@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_20) +@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 +@BUILD_LIBBLKID_TRUE@sample_mkfs_CFLAGS = -I$(ul_libblkid_incdir) +@BUILD_LIBBLKID_TRUE@sample_partitions_SOURCES = libblkid/samples/partitions.c +@BUILD_LIBBLKID_TRUE@sample_partitions_LDADD = libblkid.la +@BUILD_LIBBLKID_TRUE@sample_partitions_CFLAGS = -I$(ul_libblkid_incdir) +@BUILD_LIBBLKID_TRUE@sample_superblocks_SOURCES = libblkid/samples/superblocks.c +@BUILD_LIBBLKID_TRUE@sample_superblocks_LDADD = libblkid.la +@BUILD_LIBBLKID_TRUE@sample_superblocks_CFLAGS = -I$(ul_libblkid_incdir) +@BUILD_LIBBLKID_TRUE@sample_topology_SOURCES = libblkid/samples/topology.c +@BUILD_LIBBLKID_TRUE@sample_topology_LDADD = libblkid.la +@BUILD_LIBBLKID_TRUE@sample_topology_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 = $(top_builddir)/libmount/src/libmount.h +@BUILD_LIBMOUNT_TRUE@libmount_la_SOURCES = \ +@BUILD_LIBMOUNT_TRUE@ include/list.h \ +@BUILD_LIBMOUNT_TRUE@ \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/cache.c \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/context.c \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/context_loopdev.c \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/context_mount.c \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/context_umount.c \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/fs.c \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/init.c \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/iter.c \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/lock.c \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/mountP.h \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/optmap.c \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/optstr.c \ +@BUILD_LIBMOUNT_TRUE@ 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 \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/utils.c \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/version.c \ +@BUILD_LIBMOUNT_TRUE@ $(mountinc_HEADERS) + +@BUILD_LIBMOUNT_TRUE@nodist_libmount_la_SOURCES = libmount/src/mountP.h +@BUILD_LIBMOUNT_TRUE@libmount_la_LIBADD = libcommon.la libblkid.la $(SELINUX_LIBS) +@BUILD_LIBMOUNT_TRUE@libmount_la_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@libmount_la_DEPENDENCIES = \ +@BUILD_LIBMOUNT_TRUE@ $(libmount_la_LIBADD) \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount.sym \ +@BUILD_LIBMOUNT_TRUE@ libmount/src/libmount.h.in + +@BUILD_LIBMOUNT_TRUE@libmount_la_LDFLAGS = \ +@BUILD_LIBMOUNT_TRUE@ -Wl,--version-script=$(top_srcdir)/libmount/src/libmount.sym \ +@BUILD_LIBMOUNT_TRUE@ -version-info $(LIBMOUNT_VERSION_INFO) + +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@libmount_tests_cflags = -DTEST_PROGRAM $(libmount_la_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@ $(UUID_LIBS) \ +@BUILD_LIBMOUNT_TESTS_TRUE@@BUILD_LIBMOUNT_TRUE@ $(am__append_31) +@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_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_SCHEDUTILS_TRUE@chrt_SOURCES = schedutils/chrt.c +@BUILD_SCHEDUTILS_TRUE@chrt_LDADD = $(LDADD) libcommon.la +@BUILD_IONICE_TRUE@@BUILD_SCHEDUTILS_TRUE@ionice_SOURCES = schedutils/ionice.c +@BUILD_IONICE_TRUE@@BUILD_SCHEDUTILS_TRUE@ionice_LDADD = $(LDADD) libcommon.la +@BUILD_SCHEDUTILS_TRUE@@BUILD_TASKSET_TRUE@taskset_SOURCES = schedutils/taskset.c +@BUILD_SCHEDUTILS_TRUE@@BUILD_TASKSET_TRUE@taskset_LDADD = $(LDADD) libcommon.la +col_SOURCES = text-utils/col.c +col_LDADD = $(LDADD) libcommon.la +colcrt_SOURCES = text-utils/colcrt.c +colrm_SOURCES = text-utils/colrm.c +colrm_LDADD = $(LDADD) libcommon.la +column_SOURCES = text-utils/column.c +column_LDADD = $(LDADD) libcommon.la +hexdump_SOURCES = \ + text-utils/conv.c \ + text-utils/display.c \ + text-utils/hexdump.c \ + text-utils/hexdump.h \ + text-utils/hexsyntax.c \ + text-utils/parse.c + +hexdump_LDADD = $(LDADD) libcommon.la +rev_SOURCES = text-utils/rev.c +tailf_SOURCES = text-utils/tailf.c +tailf_LDADD = $(LDADD) libcommon.la +@BUILD_LINE_TRUE@line_SOURCES = text-utils/line.c +@HAVE_NCURSES_FALSE@@HAVE_TERMCAP_TRUE@more_SOURCES = text-utils/more.c +@HAVE_NCURSES_TRUE@more_SOURCES = text-utils/more.c +@HAVE_NCURSES_TRUE@ul_SOURCES = text-utils/ul.c +@HAVE_NCURSES_TRUE@pg_SOURCES = text-utils/pg.c +@HAVE_NCURSES_FALSE@@HAVE_TERMCAP_TRUE@more_LDADD = $(LDADD) -ltermcap +@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@more_LDADD = $(LDADD) @NCURSES_LIBS@ +@HAVE_NCURSES_TRUE@@HAVE_TINFO_TRUE@more_LDADD = $(LDADD) -ltinfo +@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@pg_LDADD = $(LDADD) @NCURSES_LIBS@ +@HAVE_NCURSES_TRUE@@HAVE_TINFO_TRUE@pg_LDADD = $(LDADD) -ltinfo @NCURSES_LIBS@ +@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@ul_LDADD = $(LDADD) @NCURSES_LIBS@ +@HAVE_NCURSES_TRUE@@HAVE_TINFO_TRUE@ul_LDADD = $(LDADD) -ltinfo +script_SOURCES = term-utils/script.c +script_LDADD = $(LDADD) $(am__append_50) $(am__append_51) +scriptreplay_SOURCES = term-utils/scriptreplay.c +@BUILD_AGETTY_TRUE@agetty_SOURCES = term-utils/agetty.c +@BUILD_AGETTY_TRUE@agetty_LDADD = $(LDADD) libcommon.la +@HAVE_NCURSES_TRUE@@LINUX_TRUE@setterm_SOURCES = term-utils/setterm.c +@HAVE_NCURSES_TRUE@@HAVE_TINFO_FALSE@setterm_LDADD = $(LDADD) @NCURSES_LIBS@ +@HAVE_NCURSES_TRUE@@HAVE_TINFO_TRUE@setterm_LDADD = $(LDADD) -ltinfo +@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_LAST_TRUE@last_SOURCES = login-utils/last.c +@BUILD_SULOGIN_TRUE@sulogin_SOURCES = \ +@BUILD_SULOGIN_TRUE@ login-utils/sulogin.c + +@BUILD_SULOGIN_TRUE@sulogin_LDADD = $(LDADD) libcommon.la \ +@BUILD_SULOGIN_TRUE@ $(am__append_70) $(am__append_71) +@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 -lpam_misc \ +@BUILD_LOGIN_TRUE@ $(am__append_74) $(am__append_75) +@BUILD_UTMPDUMP_TRUE@utmpdump_SOURCES = login-utils/utmpdump.c +@BUILD_CHFN_CHSH_TRUE@chfn_chsh_sources = login-utils/islocal.c \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/islocal.h \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/setpwnam.c \ +@BUILD_CHFN_CHSH_TRUE@ login-utils/setpwnam.h $(am__append_80) +@BUILD_CHFN_CHSH_TRUE@chfn_chsh_cflags = $(SUID_CFLAGS) $(AM_CFLAGS) +@BUILD_CHFN_CHSH_TRUE@chfn_chsh_ldflags = $(SUID_LDFLAGS) $(AM_LDFLAGS) +@BUILD_CHFN_CHSH_TRUE@chfn_chsh_ldadd = libcommon.la -lpam -lpam_misc \ +@BUILD_CHFN_CHSH_TRUE@ $(am__append_81) +@BUILD_CHFN_CHSH_TRUE@chfn_SOURCES = login-utils/chfn.c $(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/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) -lpam -lpam_misc +@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_85) +@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_88) +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_DEPRECATED_MOUNT_TRUE@mount_common_sources = \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/sundries.c \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/sundries.h \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/fstab.h \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/mount_mntent.h \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/mount_constants.h \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/getusername.h \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/fsprobe.h \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/devname.c \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/devname.h \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/fstab.c \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/getusername.c \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/mount_mntent.c \ +@BUILD_DEPRECATED_MOUNT_TRUE@ mount-deprecated/fsprobe.c + +@BUILD_DEPRECATED_MOUNT_TRUE@mount_SOURCES = mount-deprecated/mount.c $(mount_common_sources) +@BUILD_MOUNT_TRUE@mount_SOURCES = sys-utils/mount.c +@BUILD_DEPRECATED_MOUNT_TRUE@mount_CFLAGS = $(SUID_CFLAGS) $(AM_CFLAGS) -I$(ul_libblkid_incdir) +@BUILD_MOUNT_TRUE@mount_CFLAGS = $(SUID_CFLAGS) $(AM_CFLAGS) -I$(ul_libmount_incdir) +@BUILD_DEPRECATED_MOUNT_TRUE@mount_LDFLAGS = $(SUID_LDFLAGS) $(AM_LDFLAGS) +@BUILD_MOUNT_TRUE@mount_LDFLAGS = $(SUID_LDFLAGS) $(AM_LDFLAGS) +@BUILD_DEPRECATED_MOUNT_TRUE@mount_LDADD = $(LDADD) libblkid.la \ +@BUILD_DEPRECATED_MOUNT_TRUE@ libcommon.la $(am__append_92) +@BUILD_MOUNT_TRUE@mount_LDADD = $(LDADD) libcommon.la libmount.la $(SELINUX_LIBS) +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@mount_static_SOURCES = $(mount_SOURCES) +@BUILD_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@mount_static_SOURCES = $(mount_SOURCES) +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@mount_static_CFLAGS = $(mount_CFLAGS) +@BUILD_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@mount_static_CFLAGS = $(mount_CFLAGS) +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@mount_static_LDFLAGS = -all-static +@BUILD_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@mount_static_LDFLAGS = $(mount_LDFLAGS) -all-static +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@mount_static_LDADD = \ +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@ $(LDADD) \ +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@ libblkid.la \ +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@ libcommon.la \ +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@ $(am__append_94) +@BUILD_MOUNT_TRUE@@HAVE_STATIC_MOUNT_TRUE@mount_static_LDADD = $(mount_LDADD) $(SELINUX_LIBS_STATIC) +@BUILD_DEPRECATED_MOUNT_TRUE@umount_SOURCES = mount-deprecated/umount.c $(mount_common_sources) +@BUILD_MOUNT_TRUE@umount_SOURCES = sys-utils/umount.c +@BUILD_DEPRECATED_MOUNT_TRUE@umount_CFLAGS = $(SUID_CFLAGS) $(AM_CFLAGS) -I$(ul_libblkid_incdir) +@BUILD_MOUNT_TRUE@umount_CFLAGS = $(AM_CFLAGS) $(SUID_CFLAGS) -I$(ul_libmount_incdir) +@BUILD_DEPRECATED_MOUNT_TRUE@umount_LDFLAGS = $(SUID_LDFLAGS) $(AM_LDFLAGS) +@BUILD_MOUNT_TRUE@umount_LDFLAGS = $(SUID_LDFLAGS) $(AM_LDFLAGS) +@BUILD_DEPRECATED_MOUNT_TRUE@umount_LDADD = $(LDADD) libblkid.la libcommon.la +@BUILD_MOUNT_TRUE@umount_LDADD = $(LDADD) libcommon.la libmount.la +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@umount_static_SOURCES = $(umount_SOURCES) +@BUILD_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@umount_static_SOURCES = $(umount_SOURCES) +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@umount_static_CFLAGS = $(umount_CFLAGS) +@BUILD_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@umount_static_CFLAGS = $(umount_CFLAGS) +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@umount_static_LDFLAGS = -all-static +@BUILD_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@umount_static_LDFLAGS = $(umount_LDFLAGS) -all-static +@BUILD_DEPRECATED_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@umount_static_LDADD = $(LDADD) libblkid.la libcommon.la +@BUILD_MOUNT_TRUE@@HAVE_STATIC_UMOUNT_TRUE@umount_static_LDADD = $(umount_LDADD) +flock_SOURCES = sys-utils/flock.c +flock_LDADD = $(LDADD) libcommon.la +ipcmk_SOURCES = sys-utils/ipcmk.c +ipcmk_LDADD = $(LDADD) libcommon.la +ipcrm_SOURCES = sys-utils/ipcrm.c +ipcrm_LDADD = $(LDADD) libcommon.la +ipcs_SOURCES = sys-utils/ipcs.c +renice_SOURCES = sys-utils/renice.c +setsid_SOURCES = sys-utils/setsid.c +readprofile_SOURCES = sys-utils/readprofile.c +@LINUX_TRUE@dmesg_SOURCES = sys-utils/dmesg.c +@LINUX_TRUE@dmesg_LDADD = $(LDADD) libcommon.la +@LINUX_TRUE@ctrlaltdel_SOURCES = sys-utils/ctrlaltdel.c +@LINUX_TRUE@fsfreeze_SOURCES = sys-utils/fsfreeze.c +@LINUX_TRUE@fstrim_SOURCES = sys-utils/fstrim.c +@LINUX_TRUE@fstrim_LDADD = $(LDADD) libcommon.la +@LINUX_TRUE@cytune_SOURCES = sys-utils/cytune.c sys-utils/cyclades.h +@LINUX_TRUE@cytune_LDADD = $(LDADD) libcommon.la +@LINUX_TRUE@ldattach_SOURCES = sys-utils/ldattach.c +@LINUX_TRUE@ldattach_LDADD = $(LDADD) libcommon.la +@LINUX_TRUE@tunelp_SOURCES = sys-utils/tunelp.c sys-utils/lp.h +@LINUX_TRUE@rtcwake_SOURCES = sys-utils/rtcwake.c +@LINUX_TRUE@rtcwake_LDADD = $(LDADD) libcommon.la +@LINUX_TRUE@setarch_SOURCES = sys-utils/setarch.c +@LINUX_TRUE@SETARCH_LINKS = linux32 linux64 $(am__append_103) \ +@LINUX_TRUE@ $(am__append_104) $(am__append_105) \ +@LINUX_TRUE@ $(am__append_106) $(am__append_107) \ +@LINUX_TRUE@ $(am__append_108) $(am__append_109) \ +@LINUX_TRUE@ $(am__append_110) +@LINUX_TRUE@SETARCH_MAN_LINKS = $(addprefix sys-utils/,$(SETARCH_LINKS:=.8)) +@BUILD_EJECT_TRUE@eject_SOURCES = sys-utils/eject.c +@BUILD_EJECT_TRUE@eject_LDADD = $(LDADD) libmount.la libcommon.la +@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 +@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_PRLIMIT_TRUE@prlimit_SOURCES = sys-utils/prlimit.c +@BUILD_PRLIMIT_TRUE@prlimit_LDADD = $(LDADD) libcommon.la +@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@swapon_CFLAGS = $(AM_CFLAGS) -I$(ul_libmount_incdir) +@BUILD_SWAPON_TRUE@swapon_LDADD = $(LDADD) libcommon.la libmount.la +@BUILD_SWAPON_TRUE@swapoff_SOURCES = sys-utils/swapoff.c sys-utils/swapon-common.c +@BUILD_SWAPON_TRUE@swapoff_CFLAGS = $(AM_CFLAGS) -I$(ul_libmount_incdir) +@BUILD_SWAPON_TRUE@swapoff_LDADD = $(LDADD) libmount.la +@BUILD_LSCPU_TRUE@lscpu_SOURCES = sys-utils/lscpu.c +@BUILD_LSCPU_TRUE@lscpu_LDADD = $(LDADD) libcommon.la +@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 +@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_ARCH_TRUE@arch_SOURCES = sys-utils/arch.c +@BUILD_HWCLOCK_TRUE@hwclock_SOURCES = sys-utils/hwclock.c \ +@BUILD_HWCLOCK_TRUE@ sys-utils/hwclock.h \ +@BUILD_HWCLOCK_TRUE@ sys-utils/hwclock-cmos.c \ +@BUILD_HWCLOCK_TRUE@ sys-utils/hwclock-kd.c $(am__append_149) +@BUILD_HWCLOCK_TRUE@hwclock_LDADD = $(LDADD) libcommon.la \ +@BUILD_HWCLOCK_TRUE@ $(am__append_150) +cal_SOURCES = misc-utils/cal.c lib/mbsalign.c lib/strutils.c \ + $(am__append_151) +cal_LDADD = $(LDADD) $(am__append_152) $(am__append_153) \ + $(am__append_154) +logger_SOURCES = misc-utils/logger.c lib/strutils.c +look_SOURCES = misc-utils/look.c +mcookie_SOURCES = misc-utils/mcookie.c lib/md5.c +namei_SOURCES = misc-utils/namei.c lib/strutils.c +whereis_SOURCES = misc-utils/whereis.c +@BUILD_DDATE_TRUE@ddate_SOURCES = misc-utils/ddate.c +@BUILD_LSLOCKS_TRUE@lslocks_SOURCES = \ +@BUILD_LSLOCKS_TRUE@ misc-utils/lslocks.c \ +@BUILD_LSLOCKS_TRUE@ lib/at.c \ +@BUILD_LSLOCKS_TRUE@ lib/strutils.c \ +@BUILD_LSLOCKS_TRUE@ lib/tt.c \ +@BUILD_LSLOCKS_TRUE@ lib/mbsalign.c + +@BUILD_LSBLK_TRUE@lsblk_SOURCES = misc-utils/lsblk.c +@BUILD_LSBLK_TRUE@lsblk_LDADD = $(LDADD) libblkid.la libmount.la \ +@BUILD_LSBLK_TRUE@ libcommon.la $(am__append_165) +@BUILD_LSBLK_TRUE@lsblk_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) -I$(ul_libmount_incdir) +@BUILD_LIBUUID_TRUE@uuidgen_SOURCES = misc-utils/uuidgen.c +@BUILD_LIBUUID_TRUE@uuidgen_LDADD = $(LDADD) libuuid.la +@BUILD_LIBUUID_TRUE@uuidgen_CFLAGS = $(AM_CFLAGS) -I$(ul_libuuid_incdir) +@BUILD_UUIDD_TRUE@uuidd_LDADD = $(LDADD) libuuid.la $(am__append_171) +@BUILD_UUIDD_TRUE@uuidd_CFLAGS = $(AM_CFLAGS) -I$(ul_libuuid_incdir) +@BUILD_UUIDD_TRUE@uuidd_SOURCES = misc-utils/uuidd.c $(am__append_170) +@BUILD_LIBBLKID_TRUE@blkid_SOURCES = misc-utils/blkid.c +@BUILD_LIBBLKID_TRUE@blkid_LDADD = $(LDADD) libblkid.la libcommon.la +@BUILD_LIBBLKID_TRUE@blkid_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) +@BUILD_LIBBLKID_TRUE@findfs_LDADD = $(LDADD) libblkid.la +@BUILD_LIBBLKID_TRUE@findfs_SOURCES = misc-utils/findfs.c +@BUILD_LIBBLKID_TRUE@findfs_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) +@BUILD_LIBBLKID_TRUE@wipefs_SOURCES = misc-utils/wipefs.c +@BUILD_LIBBLKID_TRUE@wipefs_LDADD = $(LDADD) libblkid.la libcommon.la +@BUILD_LIBBLKID_TRUE@wipefs_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) +@BUILD_LIBBLKID_TRUE@@HAVE_STATIC_BLKID_TRUE@blkid_static_SOURCES = $(blkid_SOURCES) +@BUILD_LIBBLKID_TRUE@@HAVE_STATIC_BLKID_TRUE@blkid_static_LDFLAGS = -all-static +@BUILD_LIBBLKID_TRUE@@HAVE_STATIC_BLKID_TRUE@blkid_static_LDADD = $(LDADD) libblkid.la +@BUILD_LIBBLKID_TRUE@@HAVE_STATIC_BLKID_TRUE@blkid_static_CFLAGS = $(AM_CFLAGS) -I$(ul_libblkid_incdir) +@BUILD_LIBMOUNT_TRUE@findmnt_LDADD = $(LDADD) libmount.la libcommon.la +@BUILD_LIBMOUNT_TRUE@findmnt_CFLAGS = $(AM_CFLAGS) -I$(ul_libmount_incdir) +@BUILD_LIBMOUNT_TRUE@findmnt_SOURCES = misc-utils/findmnt.c +@BUILD_KILL_TRUE@kill_SOURCES = \ +@BUILD_KILL_TRUE@ misc-utils/kill.c \ +@BUILD_KILL_TRUE@ misc-utils/kill.h \ +@BUILD_KILL_TRUE@ misc-utils/procs.c + +@BUILD_KILL_TRUE@kill_LDADD = $(LDADD) libcommon.la +@BUILD_RENAME_TRUE@rename_SOURCES = misc-utils/rename.c +getopt_SOURCES = misc-utils/getopt.c +getoptexampledir = $(datadir)/getopt/ +dist_getoptexample_SCRIPTS = \ + misc-utils/getopt-parse.bash \ + misc-utils/getopt-parse.tcsh + +fsck_minix_SOURCES = \ + disk-utils/fsck.minix.c \ + disk-utils/minix_programs.h \ + lib/ismounted.c + +fsck_minix_LDADD = $(LDADD) libcommon.la +mkfs_minix_SOURCES = \ + disk-utils/minix_programs.h \ + disk-utils/mkfs.minix.c + +mkfs_minix_LDADD = $(LDADD) libcommon.la +mkfs_SOURCES = disk-utils/mkfs.c +isosize_SOURCES = disk-utils/isosize.c +isosize_LDADD = $(LDADD) libcommon.la +mkfs_bfs_SOURCES = \ + disk-utils/mkfs.bfs.c + +mkfs_bfs_LDADD = $(LDADD) libcommon.la +mkswap_SOURCES = \ + disk-utils/mkswap.c + +mkswap_LDADD = $(LDADD) libcommon.la $(am__append_183) \ + $(am__append_185) $(am__append_186) +mkswap_CFLAGS = $(AM_CFLAGS) $(am__append_182) $(am__append_184) +@BUILD_SWAPLABEL_TRUE@swaplabel_SOURCES = disk-utils/swaplabel.c +@BUILD_SWAPLABEL_TRUE@swaplabel_CFLAGS = $(AM_CFLAGS) \ +@BUILD_SWAPLABEL_TRUE@ -I$(ul_libblkid_incdir) \ +@BUILD_SWAPLABEL_TRUE@ $(am__append_190) +@BUILD_SWAPLABEL_TRUE@swaplabel_LDADD = $(LDADD) libblkid.la \ +@BUILD_SWAPLABEL_TRUE@ libcommon.la $(am__append_189) +@BUILD_FSCK_TRUE@fsck_SOURCES = disk-utils/fsck.c +@BUILD_FSCK_TRUE@fsck_LDADD = $(LDADD) libmount.la libblkid.la +@BUILD_FSCK_TRUE@fsck_CFLAGS = $(AM_CFLAGS) -I$(ul_libmount_incdir) -I$(ul_libblkid_incdir) +@BUILD_ELVTUNE_TRUE@elvtune_SOURCES = disk-utils/elvtune.c +@BUILD_ELVTUNE_TRUE@elvtune_LDADD = $(LDADD) libcommon.la +@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 +@LINUX_TRUE@blockdev_SOURCES = disk-utils/blockdev.c +@LINUX_TRUE@blockdev_LDADD = $(LDADD) libcommon.la +@LINUX_TRUE@fdformat_SOURCES = disk-utils/fdformat.c +@BUILD_PARTX_TRUE@addpart_SOURCES = \ +@BUILD_PARTX_TRUE@ disk-utils/addpart.c \ +@BUILD_PARTX_TRUE@ disk-utils/partx.h + +@BUILD_PARTX_TRUE@addpart_LDADD = $(LDADD) libcommon.la +@BUILD_PARTX_TRUE@delpart_SOURCES = \ +@BUILD_PARTX_TRUE@ disk-utils/delpart.c \ +@BUILD_PARTX_TRUE@ disk-utils/partx.h + +@BUILD_PARTX_TRUE@delpart_LDADD = $(LDADD) libcommon.la +@BUILD_PARTX_TRUE@resizepart_SOURCES = \ +@BUILD_PARTX_TRUE@ disk-utils/resizepart.c \ +@BUILD_PARTX_TRUE@ disk-utils/partx.h + +@BUILD_PARTX_TRUE@resizepart_LDADD = $(LDADD) libcommon.la +@BUILD_PARTX_TRUE@partx_SOURCES = \ +@BUILD_PARTX_TRUE@ disk-utils/partx.c \ +@BUILD_PARTX_TRUE@ disk-utils/partx.h + +@BUILD_PARTX_TRUE@partx_CFLAGS = -I$(ul_libblkid_incdir) +@BUILD_PARTX_TRUE@partx_LDADD = $(LDADD) libblkid.la libcommon.la +fdisk_common_sources = \ + fdisks/common.h \ + fdisks/gpt.c \ + fdisks/gpt.h \ + fdisks/i386_sys_types.c + +@ARCH_M68K_FALSE@fdisk_SOURCES = \ +@ARCH_M68K_FALSE@ fdisks/utils.c \ +@ARCH_M68K_FALSE@ fdisks/fdisk.c \ +@ARCH_M68K_FALSE@ fdisks/fdisk.h \ +@ARCH_M68K_FALSE@ fdisks/fdiskaixlabel.c \ +@ARCH_M68K_FALSE@ fdisks/fdiskaixlabel.h \ +@ARCH_M68K_FALSE@ fdisks/fdiskbsdlabel.c \ +@ARCH_M68K_FALSE@ fdisks/fdiskbsdlabel.h \ +@ARCH_M68K_FALSE@ fdisks/fdiskmaclabel.c \ +@ARCH_M68K_FALSE@ fdisks/fdiskmaclabel.h \ +@ARCH_M68K_FALSE@ fdisks/fdisksgilabel.c \ +@ARCH_M68K_FALSE@ fdisks/fdisksgilabel.h \ +@ARCH_M68K_FALSE@ fdisks/fdisksunlabel.c \ +@ARCH_M68K_FALSE@ fdisks/fdisksunlabel.h \ +@ARCH_M68K_FALSE@ fdisks/fdiskdoslabel.c \ +@ARCH_M68K_FALSE@ fdisks/fdiskdoslabel.h \ +@ARCH_M68K_FALSE@ fdisks/partname.c \ +@ARCH_M68K_FALSE@ $(fdisk_common_sources) + +@ARCH_M68K_FALSE@fdisk_LDADD = $(LDADD) libcommon.la $(am__append_205) +@ARCH_M68K_FALSE@@BUILD_LIBBLKID_TRUE@fdisk_CFLAGS = -I$(ul_libblkid_incdir) +@ARCH_M68K_FALSE@@HAVE_STATIC_FDISK_TRUE@fdisk_static_SOURCES = $(fdisk_SOURCES) +@ARCH_M68K_FALSE@@HAVE_STATIC_FDISK_TRUE@fdisk_static_LDFLAGS = -all-static +@ARCH_M68K_FALSE@@HAVE_STATIC_FDISK_TRUE@fdisk_static_CFLAGS = $(fdisk_CFLAGS) +@ARCH_M68K_FALSE@@HAVE_STATIC_FDISK_TRUE@fdisk_static_LDADD = $(fdisk_LDADD) +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@sfdisk_SOURCES = \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@ fdisks/partname.c \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@ fdisks/sfdisk.c \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@ $(fdisk_common_sources) + +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@sfdisk_LDADD = $(LDADD) libcommon.la +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@HAVE_STATIC_SFDISK_TRUE@sfdisk_static_SOURCES = $(sfdisk_SOURCES) +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@HAVE_STATIC_SFDISK_TRUE@sfdisk_static_LDFLAGS = -all-static +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@HAVE_STATIC_SFDISK_TRUE@sfdisk_static_LDADD = $(sfdisk_LDADD) +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@cfdisk_SOURCES = fdisks/cfdisk.c $(fdisk_common_sources) +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@cfdisk_CFLAGS = $(am__append_212) +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@cfdisk_LDADD = $(LDADD) \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@ libcommon.la \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@ $(am__append_213) \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@ $(am__append_214) \ +@ARCH_M68K_FALSE@@ARCH_SPARC_FALSE@@BUILD_CFDISK_TRUE@ $(am__append_215) +test_byteswap_SOURCES = tests/helpers/test_byteswap.c +test_md5_SOURCES = tests/helpers/test_md5.c lib/md5.c +test_pathnames_SOURCES = tests/helpers/test_pathnames.c +test_sysinfo_SOURCES = tests/helpers/test_sysinfo.c + +# +# 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|@localstatedir[@]|$(localstatedir)|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|@LIBUUID_VERSION[@]|$(LIBUUID_VERSION)|g' \ + -e 's|@LIBMOUNT_VERSION[@]|$(LIBMOUNT_VERSION)|g' \ + -e 's|@LIBBLKID_VERSION[@]|$(LIBBLKID_VERSION)|g' + +ENABLE_ALL = --enable-static-programs --enable-most-builds +DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-use-tty-group \ + --disable-silent-rules $(ENABLE_ALL) \ + --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 +am--refresh: + @: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.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)/schedutils/Makemodule.am $(srcdir)/text-utils/Makemodule.am $(srcdir)/term-utils/Makemodule.am $(srcdir)/login-utils/Makemodule.am $(srcdir)/mount-deprecated/Makemodule.am $(srcdir)/sys-utils/Makemodule.am $(srcdir)/misc-utils/Makemodule.am $(srcdir)/disk-utils/Makemodule.am $(srcdir)/fdisks/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 +.PRECIOUS: 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; + +$(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 + @if test ! -f $@; then \ + rm -f stamp-h1; \ + $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ + else :; fi + +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 +misc-utils/chkdupexe: $(top_builddir)/config.status $(top_srcdir)/misc-utils/chkdupexe.pl + cd $(top_builddir) && $(SHELL) ./config.status $@ +libblkid/src/blkid.h: $(top_builddir)/config.status $(top_srcdir)/libblkid/src/blkid.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 $@ + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +install-usrlib_execLTLIBRARIES: $(usrlib_exec_LTLIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(usrlib_execdir)" || $(MKDIR_P) "$(DESTDIR)$(usrlib_execdir)" + @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 " $(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)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +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-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-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-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-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-exfat.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-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-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-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-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-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-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) + $(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-at.lo: lib/$(am__dirstamp) \ + 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-cpuset.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-crc32.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-env.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-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-md5.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-pager.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-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-sysfs.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-tt.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-wholedisk.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/libcommon_la-xgetpass.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-langinfo.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +libcommon.la: $(libcommon_la_OBJECTS) $(libcommon_la_DEPENDENCIES) + $(AM_V_CCLD)$(libcommon_la_LINK) $(libcommon_la_OBJECTS) $(libcommon_la_LIBADD) $(LIBS) +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-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-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.la: $(libmount_la_OBJECTS) $(libmount_la_DEPENDENCIES) + $(AM_V_CCLD)$(libmount_la_LINK) $(am_libmount_la_rpath) $(libmount_la_OBJECTS) $(libmount_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) +lib/libuuid_la-randutils.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +libuuid.la: $(libuuid_la_OBJECTS) $(libuuid_la_DEPENDENCIES) + $(AM_V_CCLD)$(libuuid_la_LINK) $(am_libuuid_la_rpath) $(libuuid_la_OBJECTS) $(libuuid_la_LIBADD) $(LIBS) +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + 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) + test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)" + @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ + 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) + test -z "$(usrbin_execdir)" || $(MKDIR_P) "$(DESTDIR)$(usrbin_execdir)" + @list='$(usrbin_exec_PROGRAMS)'; test -n "$(usrbin_execdir)" || list=; \ + 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) + test -z "$(usrsbin_execdir)" || $(MKDIR_P) "$(DESTDIR)$(usrsbin_execdir)" + @list='$(usrsbin_exec_PROGRAMS)'; test -n "$(usrsbin_execdir)" || list=; \ + 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) + @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) + @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/arch.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +arch$(EXEEXT): $(arch_OBJECTS) $(arch_DEPENDENCIES) + @rm -f arch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_OBJECTS) $(arch_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) + @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) + @rm -f blkid.static$(EXEEXT) + $(AM_V_CCLD)$(blkid_static_LINK) $(blkid_static_OBJECTS) $(blkid_static_LDADD) $(LIBS) +disk-utils/blockdev.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) +blockdev$(EXEEXT): $(blockdev_OBJECTS) $(blockdev_DEPENDENCIES) + @rm -f blockdev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(blockdev_OBJECTS) $(blockdev_LDADD) $(LIBS) +misc-utils/cal.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) +lib/mbsalign.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/strutils.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/langinfo.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +cal$(EXEEXT): $(cal_OBJECTS) $(cal_DEPENDENCIES) + @rm -f cal$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(cal_OBJECTS) $(cal_LDADD) $(LIBS) +fdisks/$(am__dirstamp): + @$(MKDIR_P) fdisks + @: > fdisks/$(am__dirstamp) +fdisks/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) fdisks/$(DEPDIR) + @: > fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/cfdisk-cfdisk.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/cfdisk-gpt.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/cfdisk-i386_sys_types.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +cfdisk$(EXEEXT): $(cfdisk_OBJECTS) $(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) + @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-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) + @rm -f chfn$(EXEEXT) + $(AM_V_CCLD)$(chfn_LINK) $(chfn_OBJECTS) $(chfn_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) + @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-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) + @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) + @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) + @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) + @rm -f colrm$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(colrm_OBJECTS) $(colrm_LDADD) $(LIBS) +text-utils/column.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) +column$(EXEEXT): $(column_OBJECTS) $(column_DEPENDENCIES) + @rm -f column$(EXEEXT) + $(AM_V_CCLD)$(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) + @rm -f ctrlaltdel$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ctrlaltdel_OBJECTS) $(ctrlaltdel_LDADD) $(LIBS) +sys-utils/cytune.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +cytune$(EXEEXT): $(cytune_OBJECTS) $(cytune_DEPENDENCIES) + @rm -f cytune$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(cytune_OBJECTS) $(cytune_LDADD) $(LIBS) +misc-utils/ddate.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) +ddate$(EXEEXT): $(ddate_OBJECTS) $(ddate_DEPENDENCIES) + @rm -f ddate$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ddate_OBJECTS) $(ddate_LDADD) $(LIBS) +disk-utils/delpart.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) +delpart$(EXEEXT): $(delpart_OBJECTS) $(delpart_DEPENDENCIES) + @rm -f delpart$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(delpart_OBJECTS) $(delpart_LDADD) $(LIBS) +sys-utils/dmesg.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +dmesg$(EXEEXT): $(dmesg_OBJECTS) $(dmesg_DEPENDENCIES) + @rm -f dmesg$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(dmesg_OBJECTS) $(dmesg_LDADD) $(LIBS) +sys-utils/eject-eject.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +eject$(EXEEXT): $(eject_OBJECTS) $(eject_DEPENDENCIES) + @rm -f eject$(EXEEXT) + $(AM_V_CCLD)$(eject_LINK) $(eject_OBJECTS) $(eject_LDADD) $(LIBS) +disk-utils/elvtune.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) +elvtune$(EXEEXT): $(elvtune_OBJECTS) $(elvtune_DEPENDENCIES) + @rm -f elvtune$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(elvtune_OBJECTS) $(elvtune_LDADD) $(LIBS) +sys-utils/fallocate.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +fallocate$(EXEEXT): $(fallocate_OBJECTS) $(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) + @rm -f fdformat$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fdformat_OBJECTS) $(fdformat_LDADD) $(LIBS) +fdisks/fdisk-utils.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk-fdisk.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk-fdiskaixlabel.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk-fdiskbsdlabel.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk-fdiskmaclabel.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk-fdisksgilabel.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk-fdisksunlabel.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk-fdiskdoslabel.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk-partname.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk-gpt.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk-i386_sys_types.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisk$(EXEEXT): $(fdisk_OBJECTS) $(fdisk_DEPENDENCIES) + @rm -f fdisk$(EXEEXT) + $(AM_V_CCLD)$(fdisk_LINK) $(fdisk_OBJECTS) $(fdisk_LDADD) $(LIBS) +fdisks/fdisk_static-utils.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk_static-fdisk.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk_static-fdiskaixlabel.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk_static-fdiskbsdlabel.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk_static-fdiskmaclabel.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk_static-fdisksgilabel.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk_static-fdisksunlabel.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk_static-fdiskdoslabel.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk_static-partname.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk_static-gpt.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/fdisk_static-i386_sys_types.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisk.static$(EXEEXT): $(fdisk_static_OBJECTS) $(fdisk_static_DEPENDENCIES) + @rm -f fdisk.static$(EXEEXT) + $(AM_V_CCLD)$(fdisk_static_LINK) $(fdisk_static_OBJECTS) $(fdisk_static_LDADD) $(LIBS) +misc-utils/findfs-findfs.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) +findfs$(EXEEXT): $(findfs_OBJECTS) $(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) +findmnt$(EXEEXT): $(findmnt_OBJECTS) $(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) +flock$(EXEEXT): $(flock_OBJECTS) $(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) +fsck$(EXEEXT): $(fsck_OBJECTS) $(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) + @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) +lib/ismounted.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +fsck.minix$(EXEEXT): $(fsck_minix_OBJECTS) $(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) + @rm -f fsfreeze$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fsfreeze_OBJECTS) $(fsfreeze_LDADD) $(LIBS) +sys-utils/fstrim.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +fstrim$(EXEEXT): $(fstrim_OBJECTS) $(fstrim_DEPENDENCIES) + @rm -f fstrim$(EXEEXT) + $(AM_V_CCLD)$(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) + @rm -f getopt$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(getopt_OBJECTS) $(getopt_LDADD) $(LIBS) +text-utils/conv.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) +text-utils/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/hexsyntax.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) +text-utils/parse.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) +hexdump$(EXEEXT): $(hexdump_OBJECTS) $(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-kd.$(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) + @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) + @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) + @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) + @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) +ipcs$(EXEEXT): $(ipcs_OBJECTS) $(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) + @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) +misc-utils/procs.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) +kill$(EXEEXT): $(kill_OBJECTS) $(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) + @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) + @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) + @rm -f line$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(line_OBJECTS) $(line_LDADD) $(LIBS) +misc-utils/logger.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) +logger$(EXEEXT): $(logger_OBJECTS) $(logger_DEPENDENCIES) + @rm -f logger$(EXEEXT) + $(AM_V_CCLD)$(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) + @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) + @rm -f look$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(look_OBJECTS) $(look_LDADD) $(LIBS) +sys-utils/losetup.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +losetup$(EXEEXT): $(losetup_OBJECTS) $(losetup_DEPENDENCIES) + @rm -f losetup$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(losetup_OBJECTS) $(losetup_LDADD) $(LIBS) +losetup.static$(EXEEXT): $(losetup_static_OBJECTS) $(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) +lsblk$(EXEEXT): $(lsblk_OBJECTS) $(lsblk_DEPENDENCIES) + @rm -f lsblk$(EXEEXT) + $(AM_V_CCLD)$(lsblk_LINK) $(lsblk_OBJECTS) $(lsblk_LDADD) $(LIBS) +sys-utils/lscpu.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +lscpu$(EXEEXT): $(lscpu_OBJECTS) $(lscpu_DEPENDENCIES) + @rm -f lscpu$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(lscpu_OBJECTS) $(lscpu_LDADD) $(LIBS) +misc-utils/lslocks.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) +lib/at.$(OBJEXT): lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/tt.$(OBJEXT): lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lslocks$(EXEEXT): $(lslocks_OBJECTS) $(lslocks_DEPENDENCIES) + @rm -f lslocks$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(lslocks_OBJECTS) $(lslocks_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) + @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) + @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) + @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) + @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) + @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) + @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) + @rm -f mkswap$(EXEEXT) + $(AM_V_CCLD)$(mkswap_LINK) $(mkswap_OBJECTS) $(mkswap_LDADD) $(LIBS) +text-utils/more.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) +more$(EXEEXT): $(more_OBJECTS) $(more_DEPENDENCIES) + @rm -f more$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(more_OBJECTS) $(more_LDADD) $(LIBS) +mount-deprecated/$(am__dirstamp): + @$(MKDIR_P) mount-deprecated + @: > mount-deprecated/$(am__dirstamp) +mount-deprecated/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) mount-deprecated/$(DEPDIR) + @: > mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/mount-mount.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/mount-sundries.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/mount-devname.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/mount-fstab.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/mount-getusername.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/mount-mount_mntent.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/mount-fsprobe.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +sys-utils/mount-mount.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +mount$(EXEEXT): $(mount_OBJECTS) $(mount_DEPENDENCIES) + @rm -f mount$(EXEEXT) + $(AM_V_CCLD)$(mount_LINK) $(mount_OBJECTS) $(mount_LDADD) $(LIBS) +mount-deprecated/mount_static-mount.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/mount_static-sundries.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/mount_static-devname.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/mount_static-fstab.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/mount_static-getusername.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/mount_static-mount_mntent.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/mount_static-fsprobe.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +sys-utils/mount_static-mount.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +mount.static$(EXEEXT): $(mount_static_OBJECTS) $(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) + @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) +namei$(EXEEXT): $(namei_OBJECTS) $(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) + @rm -f newgrp$(EXEEXT) + $(AM_V_CCLD)$(newgrp_LINK) $(newgrp_OBJECTS) $(newgrp_LDADD) $(LIBS) +disk-utils/partx-partx.$(OBJEXT): disk-utils/$(am__dirstamp) \ + disk-utils/$(DEPDIR)/$(am__dirstamp) +partx$(EXEEXT): $(partx_OBJECTS) $(partx_DEPENDENCIES) + @rm -f partx$(EXEEXT) + $(AM_V_CCLD)$(partx_LINK) $(partx_OBJECTS) $(partx_LDADD) $(LIBS) +text-utils/pg.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) +pg$(EXEEXT): $(pg_OBJECTS) $(pg_DEPENDENCIES) + @rm -f pg$(EXEEXT) + $(AM_V_CCLD)$(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) + @rm -f pivot_root$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(pivot_root_OBJECTS) $(pivot_root_LDADD) $(LIBS) +sys-utils/prlimit.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +prlimit$(EXEEXT): $(prlimit_OBJECTS) $(prlimit_DEPENDENCIES) + @rm -f prlimit$(EXEEXT) + $(AM_V_CCLD)$(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) + @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) + @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) + @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) + @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) + @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) + @rm -f rev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(rev_OBJECTS) $(rev_LDADD) $(LIBS) +sys-utils/rtcwake.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +rtcwake$(EXEEXT): $(rtcwake_OBJECTS) $(rtcwake_DEPENDENCIES) + @rm -f rtcwake$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(rtcwake_OBJECTS) $(rtcwake_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) + @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) + @rm -f sample-partitions$(EXEEXT) + $(AM_V_CCLD)$(sample_partitions_LINK) $(sample_partitions_OBJECTS) $(sample_partitions_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) + @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) + @rm -f sample-topology$(EXEEXT) + $(AM_V_CCLD)$(sample_topology_LINK) $(sample_topology_OBJECTS) $(sample_topology_LDADD) $(LIBS) +term-utils/script.$(OBJEXT): term-utils/$(am__dirstamp) \ + term-utils/$(DEPDIR)/$(am__dirstamp) +script$(EXEEXT): $(script_OBJECTS) $(script_DEPENDENCIES) + @rm -f script$(EXEEXT) + $(AM_V_CCLD)$(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) + @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) + @rm -f setarch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(setarch_OBJECTS) $(setarch_LDADD) $(LIBS) +sys-utils/setsid.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +setsid$(EXEEXT): $(setsid_OBJECTS) $(setsid_DEPENDENCIES) + @rm -f setsid$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(setsid_OBJECTS) $(setsid_LDADD) $(LIBS) +term-utils/setterm.$(OBJEXT): term-utils/$(am__dirstamp) \ + term-utils/$(DEPDIR)/$(am__dirstamp) +setterm$(EXEEXT): $(setterm_OBJECTS) $(setterm_DEPENDENCIES) + @rm -f setterm$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(setterm_OBJECTS) $(setterm_LDADD) $(LIBS) +fdisks/partname.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/sfdisk.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/gpt.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +fdisks/i386_sys_types.$(OBJEXT): fdisks/$(am__dirstamp) \ + fdisks/$(DEPDIR)/$(am__dirstamp) +sfdisk$(EXEEXT): $(sfdisk_OBJECTS) $(sfdisk_DEPENDENCIES) + @rm -f sfdisk$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sfdisk_OBJECTS) $(sfdisk_LDADD) $(LIBS) +sfdisk.static$(EXEEXT): $(sfdisk_static_OBJECTS) $(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-logindefs.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +su$(EXEEXT): $(su_OBJECTS) $(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) +sulogin$(EXEEXT): $(sulogin_OBJECTS) $(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) +swaplabel$(EXEEXT): $(swaplabel_OBJECTS) $(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) +swapoff$(EXEEXT): $(swapoff_OBJECTS) $(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) +swapon$(EXEEXT): $(swapon_OBJECTS) $(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) + @rm -f switch_root$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(switch_root_OBJECTS) $(switch_root_LDADD) $(LIBS) +text-utils/tailf.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) +tailf$(EXEEXT): $(tailf_OBJECTS) $(tailf_DEPENDENCIES) + @rm -f tailf$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tailf_OBJECTS) $(tailf_LDADD) $(LIBS) +schedutils/taskset.$(OBJEXT): schedutils/$(am__dirstamp) \ + schedutils/$(DEPDIR)/$(am__dirstamp) +taskset$(EXEEXT): $(taskset_OBJECTS) $(taskset_DEPENDENCIES) + @rm -f taskset$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(taskset_OBJECTS) $(taskset_LDADD) $(LIBS) +lib/test_at-at.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +test_at$(EXEEXT): $(test_at_OBJECTS) $(test_at_DEPENDENCIES) + @rm -f test_at$(EXEEXT) + $(AM_V_CCLD)$(test_at_LINK) $(test_at_OBJECTS) $(test_at_LDADD) $(LIBS) +lib/test_blkdev-blkdev.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +test_blkdev$(EXEEXT): $(test_blkdev_OBJECTS) $(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) + @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) + @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) + @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) + @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) + @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) + @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) + @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) + @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) + @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) + @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) + @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) + @rm -f test_byteswap$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_byteswap_OBJECTS) $(test_byteswap_LDADD) $(LIBS) +lib/test_canonicalize-canonicalize.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +test_canonicalize$(EXEEXT): $(test_canonicalize_OBJECTS) $(test_canonicalize_DEPENDENCIES) + @rm -f test_canonicalize$(EXEEXT) + $(AM_V_CCLD)$(test_canonicalize_LINK) $(test_canonicalize_OBJECTS) $(test_canonicalize_LDADD) $(LIBS) +lib/test_cpuset-cpuset.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +test_cpuset$(EXEEXT): $(test_cpuset_OBJECTS) $(test_cpuset_DEPENDENCIES) + @rm -f test_cpuset$(EXEEXT) + $(AM_V_CCLD)$(test_cpuset_LINK) $(test_cpuset_OBJECTS) $(test_cpuset_LDADD) $(LIBS) +lib/test_fileutils-fileutils.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +test_fileutils$(EXEEXT): $(test_fileutils_OBJECTS) $(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) + @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) + @rm -f test_ismounted$(EXEEXT) + $(AM_V_CCLD)$(test_ismounted_LINK) $(test_ismounted_OBJECTS) $(test_ismounted_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) + @rm -f test_logindefs$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_logindefs_OBJECTS) $(test_logindefs_LDADD) $(LIBS) +lib/test_loopdev-loopdev.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +test_loopdev$(EXEEXT): $(test_loopdev_OBJECTS) $(test_loopdev_DEPENDENCIES) + @rm -f test_loopdev$(EXEEXT) + $(AM_V_CCLD)$(test_loopdev_LINK) $(test_loopdev_OBJECTS) $(test_loopdev_LDADD) $(LIBS) +lib/test_mangle-mangle.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +test_mangle$(EXEEXT): $(test_mangle_OBJECTS) $(test_mangle_DEPENDENCIES) + @rm -f test_mangle$(EXEEXT) + $(AM_V_CCLD)$(test_mangle_LINK) $(test_mangle_OBJECTS) $(test_mangle_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) + @rm -f test_md5$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_md5_OBJECTS) $(test_md5_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) + @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) + @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_lock-lock.$(OBJEXT): \ + libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +test_mount_lock$(EXEEXT): $(test_mount_lock_OBJECTS) $(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_optstr-optstr.$(OBJEXT): \ + libmount/src/$(am__dirstamp) \ + libmount/src/$(DEPDIR)/$(am__dirstamp) +test_mount_optstr$(EXEEXT): $(test_mount_optstr_OBJECTS) $(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) + @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) + @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) + @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) + @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) + @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) + @rm -f test_pager$(EXEEXT) + $(AM_V_CCLD)$(test_pager_LINK) $(test_pager_OBJECTS) $(test_pager_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) + @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) + @rm -f test_procutils$(EXEEXT) + $(AM_V_CCLD)$(test_procutils_LINK) $(test_procutils_OBJECTS) $(test_procutils_LDADD) $(LIBS) +lib/test_randutils-randutils.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +test_randutils$(EXEEXT): $(test_randutils_OBJECTS) $(test_randutils_DEPENDENCIES) + @rm -f test_randutils$(EXEEXT) + $(AM_V_CCLD)$(test_randutils_LINK) $(test_randutils_OBJECTS) $(test_randutils_LDADD) $(LIBS) +lib/test_strutils-strutils.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +test_strutils$(EXEEXT): $(test_strutils_OBJECTS) $(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) +test_sysfs$(EXEEXT): $(test_sysfs_OBJECTS) $(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) + @rm -f test_sysinfo$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_sysinfo_OBJECTS) $(test_sysinfo_LDADD) $(LIBS) +lib/test_tt-tt.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +test_tt$(EXEEXT): $(test_tt_OBJECTS) $(test_tt_DEPENDENCIES) + @rm -f test_tt$(EXEEXT) + $(AM_V_CCLD)$(test_tt_LINK) $(test_tt_OBJECTS) $(test_tt_LDADD) $(LIBS) +libuuid/src/test_uuid-test_uuid.$(OBJEXT): \ + libuuid/src/$(am__dirstamp) \ + libuuid/src/$(DEPDIR)/$(am__dirstamp) +test_uuid$(EXEEXT): $(test_uuid_OBJECTS) $(test_uuid_DEPENDENCIES) + @rm -f test_uuid$(EXEEXT) + $(AM_V_CCLD)$(test_uuid_LINK) $(test_uuid_OBJECTS) $(test_uuid_LDADD) $(LIBS) +lib/test_wholedisk-wholedisk.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +test_wholedisk$(EXEEXT): $(test_wholedisk_OBJECTS) $(test_wholedisk_DEPENDENCIES) + @rm -f test_wholedisk$(EXEEXT) + $(AM_V_CCLD)$(test_wholedisk_LINK) $(test_wholedisk_OBJECTS) $(test_wholedisk_LDADD) $(LIBS) +sys-utils/tunelp.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +tunelp$(EXEEXT): $(tunelp_OBJECTS) $(tunelp_DEPENDENCIES) + @rm -f tunelp$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tunelp_OBJECTS) $(tunelp_LDADD) $(LIBS) +text-utils/ul.$(OBJEXT): text-utils/$(am__dirstamp) \ + text-utils/$(DEPDIR)/$(am__dirstamp) +ul$(EXEEXT): $(ul_OBJECTS) $(ul_DEPENDENCIES) + @rm -f ul$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ul_OBJECTS) $(ul_LDADD) $(LIBS) +mount-deprecated/umount-umount.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/umount-sundries.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/umount-devname.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/umount-fstab.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/umount-getusername.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/umount-mount_mntent.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/umount-fsprobe.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +sys-utils/umount-umount.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +umount$(EXEEXT): $(umount_OBJECTS) $(umount_DEPENDENCIES) + @rm -f umount$(EXEEXT) + $(AM_V_CCLD)$(umount_LINK) $(umount_OBJECTS) $(umount_LDADD) $(LIBS) +mount-deprecated/umount_static-umount.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/umount_static-sundries.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/umount_static-devname.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/umount_static-fstab.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/umount_static-getusername.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/umount_static-mount_mntent.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +mount-deprecated/umount_static-fsprobe.$(OBJEXT): \ + mount-deprecated/$(am__dirstamp) \ + mount-deprecated/$(DEPDIR)/$(am__dirstamp) +sys-utils/umount_static-umount.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +umount.static$(EXEEXT): $(umount_static_OBJECTS) $(umount_static_DEPENDENCIES) + @rm -f umount.static$(EXEEXT) + $(AM_V_CCLD)$(umount_static_LINK) $(umount_static_OBJECTS) $(umount_static_LDADD) $(LIBS) +sys-utils/unshare.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +unshare$(EXEEXT): $(unshare_OBJECTS) $(unshare_DEPENDENCIES) + @rm -f unshare$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(unshare_OBJECTS) $(unshare_LDADD) $(LIBS) +login-utils/utmpdump.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +utmpdump$(EXEEXT): $(utmpdump_OBJECTS) $(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) +misc-utils/uuidd-sd-daemon.$(OBJEXT): misc-utils/$(am__dirstamp) \ + misc-utils/$(DEPDIR)/$(am__dirstamp) +uuidd$(EXEEXT): $(uuidd_OBJECTS) $(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) + @rm -f uuidgen$(EXEEXT) + $(AM_V_CCLD)$(uuidgen_LINK) $(uuidgen_OBJECTS) $(uuidgen_LDADD) $(LIBS) +login-utils/vipw.$(OBJEXT): login-utils/$(am__dirstamp) \ + login-utils/$(DEPDIR)/$(am__dirstamp) +vipw$(EXEEXT): $(vipw_OBJECTS) $(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) + @rm -f wall$(EXEEXT) + $(AM_V_CCLD)$(wall_LINK) $(wall_OBJECTS) $(wall_LDADD) $(LIBS) +sys-utils/wdctl.$(OBJEXT): sys-utils/$(am__dirstamp) \ + sys-utils/$(DEPDIR)/$(am__dirstamp) +wdctl$(EXEEXT): $(wdctl_OBJECTS) $(wdctl_DEPENDENCIES) + @rm -f wdctl$(EXEEXT) + $(AM_V_CCLD)$(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) + @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) + @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) + @rm -f write$(EXEEXT) + $(AM_V_CCLD)$(write_LINK) $(write_OBJECTS) $(write_LDADD) $(LIBS) +install-dist_getoptexampleSCRIPTS: $(dist_getoptexample_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(getoptexampledir)" || $(MKDIR_P) "$(DESTDIR)$(getoptexampledir)" + @list='$(dist_getoptexample_SCRIPTS)'; test -n "$(getoptexampledir)" || list=; \ + 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)'`; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(getoptexampledir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(getoptexampledir)" && rm -f $$files +install-dist_usrbin_execSCRIPTS: $(dist_usrbin_exec_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(usrbin_execdir)" || $(MKDIR_P) "$(DESTDIR)$(usrbin_execdir)" + @list='$(dist_usrbin_exec_SCRIPTS)'; test -n "$(usrbin_execdir)" || list=; \ + 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)'`; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(usrbin_execdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(usrbin_execdir)" && rm -f $$files + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + -rm -f disk-utils/addpart.$(OBJEXT) + -rm -f disk-utils/blockdev.$(OBJEXT) + -rm -f disk-utils/cramfs_common.$(OBJEXT) + -rm -f disk-utils/delpart.$(OBJEXT) + -rm -f disk-utils/elvtune.$(OBJEXT) + -rm -f disk-utils/fdformat.$(OBJEXT) + -rm -f disk-utils/fsck-fsck.$(OBJEXT) + -rm -f disk-utils/fsck.cramfs.$(OBJEXT) + -rm -f disk-utils/fsck.minix.$(OBJEXT) + -rm -f disk-utils/isosize.$(OBJEXT) + -rm -f disk-utils/mkfs.$(OBJEXT) + -rm -f disk-utils/mkfs.bfs.$(OBJEXT) + -rm -f disk-utils/mkfs.cramfs.$(OBJEXT) + -rm -f disk-utils/mkfs.minix.$(OBJEXT) + -rm -f disk-utils/mkswap-mkswap.$(OBJEXT) + -rm -f disk-utils/partx-partx.$(OBJEXT) + -rm -f disk-utils/raw.$(OBJEXT) + -rm -f disk-utils/resizepart.$(OBJEXT) + -rm -f disk-utils/swaplabel-swaplabel.$(OBJEXT) + -rm -f fdisks/cfdisk-cfdisk.$(OBJEXT) + -rm -f fdisks/cfdisk-gpt.$(OBJEXT) + -rm -f fdisks/cfdisk-i386_sys_types.$(OBJEXT) + -rm -f fdisks/fdisk-fdisk.$(OBJEXT) + -rm -f fdisks/fdisk-fdiskaixlabel.$(OBJEXT) + -rm -f fdisks/fdisk-fdiskbsdlabel.$(OBJEXT) + -rm -f fdisks/fdisk-fdiskdoslabel.$(OBJEXT) + -rm -f fdisks/fdisk-fdiskmaclabel.$(OBJEXT) + -rm -f fdisks/fdisk-fdisksgilabel.$(OBJEXT) + -rm -f fdisks/fdisk-fdisksunlabel.$(OBJEXT) + -rm -f fdisks/fdisk-gpt.$(OBJEXT) + -rm -f fdisks/fdisk-i386_sys_types.$(OBJEXT) + -rm -f fdisks/fdisk-partname.$(OBJEXT) + -rm -f fdisks/fdisk-utils.$(OBJEXT) + -rm -f fdisks/fdisk_static-fdisk.$(OBJEXT) + -rm -f fdisks/fdisk_static-fdiskaixlabel.$(OBJEXT) + -rm -f fdisks/fdisk_static-fdiskbsdlabel.$(OBJEXT) + -rm -f fdisks/fdisk_static-fdiskdoslabel.$(OBJEXT) + -rm -f fdisks/fdisk_static-fdiskmaclabel.$(OBJEXT) + -rm -f fdisks/fdisk_static-fdisksgilabel.$(OBJEXT) + -rm -f fdisks/fdisk_static-fdisksunlabel.$(OBJEXT) + -rm -f fdisks/fdisk_static-gpt.$(OBJEXT) + -rm -f fdisks/fdisk_static-i386_sys_types.$(OBJEXT) + -rm -f fdisks/fdisk_static-partname.$(OBJEXT) + -rm -f fdisks/fdisk_static-utils.$(OBJEXT) + -rm -f fdisks/gpt.$(OBJEXT) + -rm -f fdisks/i386_sys_types.$(OBJEXT) + -rm -f fdisks/partname.$(OBJEXT) + -rm -f fdisks/sfdisk.$(OBJEXT) + -rm -f lib/at.$(OBJEXT) + -rm -f lib/ismounted.$(OBJEXT) + -rm -f lib/langinfo.$(OBJEXT) + -rm -f lib/libcommon_la-at.$(OBJEXT) + -rm -f lib/libcommon_la-at.lo + -rm -f lib/libcommon_la-blkdev.$(OBJEXT) + -rm -f lib/libcommon_la-blkdev.lo + -rm -f lib/libcommon_la-canonicalize.$(OBJEXT) + -rm -f lib/libcommon_la-canonicalize.lo + -rm -f lib/libcommon_la-cpuset.$(OBJEXT) + -rm -f lib/libcommon_la-cpuset.lo + -rm -f lib/libcommon_la-crc32.$(OBJEXT) + -rm -f lib/libcommon_la-crc32.lo + -rm -f lib/libcommon_la-env.$(OBJEXT) + -rm -f lib/libcommon_la-env.lo + -rm -f lib/libcommon_la-fileutils.$(OBJEXT) + -rm -f lib/libcommon_la-fileutils.lo + -rm -f lib/libcommon_la-ismounted.$(OBJEXT) + -rm -f lib/libcommon_la-ismounted.lo + -rm -f lib/libcommon_la-langinfo.$(OBJEXT) + -rm -f lib/libcommon_la-langinfo.lo + -rm -f lib/libcommon_la-linux_version.$(OBJEXT) + -rm -f lib/libcommon_la-linux_version.lo + -rm -f lib/libcommon_la-loopdev.$(OBJEXT) + -rm -f lib/libcommon_la-loopdev.lo + -rm -f lib/libcommon_la-mangle.$(OBJEXT) + -rm -f lib/libcommon_la-mangle.lo + -rm -f lib/libcommon_la-match.$(OBJEXT) + -rm -f lib/libcommon_la-match.lo + -rm -f lib/libcommon_la-mbsalign.$(OBJEXT) + -rm -f lib/libcommon_la-mbsalign.lo + -rm -f lib/libcommon_la-md5.$(OBJEXT) + -rm -f lib/libcommon_la-md5.lo + -rm -f lib/libcommon_la-pager.$(OBJEXT) + -rm -f lib/libcommon_la-pager.lo + -rm -f lib/libcommon_la-path.$(OBJEXT) + -rm -f lib/libcommon_la-path.lo + -rm -f lib/libcommon_la-procutils.$(OBJEXT) + -rm -f lib/libcommon_la-procutils.lo + -rm -f lib/libcommon_la-randutils.$(OBJEXT) + -rm -f lib/libcommon_la-randutils.lo + -rm -f lib/libcommon_la-setproctitle.$(OBJEXT) + -rm -f lib/libcommon_la-setproctitle.lo + -rm -f lib/libcommon_la-strutils.$(OBJEXT) + -rm -f lib/libcommon_la-strutils.lo + -rm -f lib/libcommon_la-sysfs.$(OBJEXT) + -rm -f lib/libcommon_la-sysfs.lo + -rm -f lib/libcommon_la-tt.$(OBJEXT) + -rm -f lib/libcommon_la-tt.lo + -rm -f lib/libcommon_la-wholedisk.$(OBJEXT) + -rm -f lib/libcommon_la-wholedisk.lo + -rm -f lib/libcommon_la-xgetpass.$(OBJEXT) + -rm -f lib/libcommon_la-xgetpass.lo + -rm -f lib/libuuid_la-randutils.$(OBJEXT) + -rm -f lib/libuuid_la-randutils.lo + -rm -f lib/mbsalign.$(OBJEXT) + -rm -f lib/md5.$(OBJEXT) + -rm -f lib/strutils.$(OBJEXT) + -rm -f lib/test_at-at.$(OBJEXT) + -rm -f lib/test_blkdev-blkdev.$(OBJEXT) + -rm -f lib/test_canonicalize-canonicalize.$(OBJEXT) + -rm -f lib/test_cpuset-cpuset.$(OBJEXT) + -rm -f lib/test_fileutils-fileutils.$(OBJEXT) + -rm -f lib/test_ismounted-ismounted.$(OBJEXT) + -rm -f lib/test_loopdev-loopdev.$(OBJEXT) + -rm -f lib/test_mangle-mangle.$(OBJEXT) + -rm -f lib/test_pager-pager.$(OBJEXT) + -rm -f lib/test_procutils-procutils.$(OBJEXT) + -rm -f lib/test_randutils-randutils.$(OBJEXT) + -rm -f lib/test_strutils-strutils.$(OBJEXT) + -rm -f lib/test_sysfs-sysfs.$(OBJEXT) + -rm -f lib/test_tt-tt.$(OBJEXT) + -rm -f lib/test_wholedisk-wholedisk.$(OBJEXT) + -rm -f lib/tt.$(OBJEXT) + -rm -f libblkid/samples/sample_mkfs-mkfs.$(OBJEXT) + -rm -f libblkid/samples/sample_partitions-partitions.$(OBJEXT) + -rm -f libblkid/samples/sample_superblocks-superblocks.$(OBJEXT) + -rm -f libblkid/samples/sample_topology-topology.$(OBJEXT) + -rm -f libblkid/src/libblkid_la-cache.$(OBJEXT) + -rm -f libblkid/src/libblkid_la-cache.lo + -rm -f libblkid/src/libblkid_la-config.$(OBJEXT) + -rm -f libblkid/src/libblkid_la-config.lo + -rm -f libblkid/src/libblkid_la-dev.$(OBJEXT) + -rm -f libblkid/src/libblkid_la-dev.lo + -rm -f libblkid/src/libblkid_la-devname.$(OBJEXT) + -rm -f libblkid/src/libblkid_la-devname.lo + -rm -f libblkid/src/libblkid_la-devno.$(OBJEXT) + -rm -f libblkid/src/libblkid_la-devno.lo + -rm -f libblkid/src/libblkid_la-encode.$(OBJEXT) + -rm -f libblkid/src/libblkid_la-encode.lo + -rm -f libblkid/src/libblkid_la-evaluate.$(OBJEXT) + -rm -f libblkid/src/libblkid_la-evaluate.lo + -rm -f libblkid/src/libblkid_la-getsize.$(OBJEXT) + -rm -f libblkid/src/libblkid_la-getsize.lo + -rm -f libblkid/src/libblkid_la-llseek.$(OBJEXT) + -rm -f libblkid/src/libblkid_la-llseek.lo + -rm -f libblkid/src/libblkid_la-probe.$(OBJEXT) + -rm -f libblkid/src/libblkid_la-probe.lo + -rm -f libblkid/src/libblkid_la-read.$(OBJEXT) + -rm -f libblkid/src/libblkid_la-read.lo + -rm -f libblkid/src/libblkid_la-resolve.$(OBJEXT) + -rm -f libblkid/src/libblkid_la-resolve.lo + -rm -f libblkid/src/libblkid_la-save.$(OBJEXT) + -rm -f libblkid/src/libblkid_la-save.lo + -rm -f libblkid/src/libblkid_la-tag.$(OBJEXT) + -rm -f libblkid/src/libblkid_la-tag.lo + -rm -f libblkid/src/libblkid_la-verify.$(OBJEXT) + -rm -f libblkid/src/libblkid_la-verify.lo + -rm -f libblkid/src/libblkid_la-version.$(OBJEXT) + -rm -f libblkid/src/libblkid_la-version.lo + -rm -f libblkid/src/partitions/libblkid_la-aix.$(OBJEXT) + -rm -f libblkid/src/partitions/libblkid_la-aix.lo + -rm -f libblkid/src/partitions/libblkid_la-bsd.$(OBJEXT) + -rm -f libblkid/src/partitions/libblkid_la-bsd.lo + -rm -f libblkid/src/partitions/libblkid_la-dos.$(OBJEXT) + -rm -f libblkid/src/partitions/libblkid_la-dos.lo + -rm -f libblkid/src/partitions/libblkid_la-gpt.$(OBJEXT) + -rm -f libblkid/src/partitions/libblkid_la-gpt.lo + -rm -f libblkid/src/partitions/libblkid_la-mac.$(OBJEXT) + -rm -f libblkid/src/partitions/libblkid_la-mac.lo + -rm -f libblkid/src/partitions/libblkid_la-minix.$(OBJEXT) + -rm -f libblkid/src/partitions/libblkid_la-minix.lo + -rm -f libblkid/src/partitions/libblkid_la-partitions.$(OBJEXT) + -rm -f libblkid/src/partitions/libblkid_la-partitions.lo + -rm -f libblkid/src/partitions/libblkid_la-sgi.$(OBJEXT) + -rm -f libblkid/src/partitions/libblkid_la-sgi.lo + -rm -f libblkid/src/partitions/libblkid_la-solaris_x86.$(OBJEXT) + -rm -f libblkid/src/partitions/libblkid_la-solaris_x86.lo + -rm -f libblkid/src/partitions/libblkid_la-sun.$(OBJEXT) + -rm -f libblkid/src/partitions/libblkid_la-sun.lo + -rm -f libblkid/src/partitions/libblkid_la-ultrix.$(OBJEXT) + -rm -f libblkid/src/partitions/libblkid_la-ultrix.lo + -rm -f libblkid/src/partitions/libblkid_la-unixware.$(OBJEXT) + -rm -f libblkid/src/partitions/libblkid_la-unixware.lo + -rm -f libblkid/src/superblocks/libblkid_la-adaptec_raid.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-adaptec_raid.lo + -rm -f libblkid/src/superblocks/libblkid_la-befs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-befs.lo + -rm -f libblkid/src/superblocks/libblkid_la-bfs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-bfs.lo + -rm -f libblkid/src/superblocks/libblkid_la-btrfs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-btrfs.lo + -rm -f libblkid/src/superblocks/libblkid_la-cramfs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-cramfs.lo + -rm -f libblkid/src/superblocks/libblkid_la-ddf_raid.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-ddf_raid.lo + -rm -f libblkid/src/superblocks/libblkid_la-drbd.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-drbd.lo + -rm -f libblkid/src/superblocks/libblkid_la-drbdproxy_datalog.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-drbdproxy_datalog.lo + -rm -f libblkid/src/superblocks/libblkid_la-exfat.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-exfat.lo + -rm -f libblkid/src/superblocks/libblkid_la-ext.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-ext.lo + -rm -f libblkid/src/superblocks/libblkid_la-gfs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-gfs.lo + -rm -f libblkid/src/superblocks/libblkid_la-hfs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-hfs.lo + -rm -f libblkid/src/superblocks/libblkid_la-highpoint_raid.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-highpoint_raid.lo + -rm -f libblkid/src/superblocks/libblkid_la-hpfs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-hpfs.lo + -rm -f libblkid/src/superblocks/libblkid_la-iso9660.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-iso9660.lo + -rm -f libblkid/src/superblocks/libblkid_la-isw_raid.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-isw_raid.lo + -rm -f libblkid/src/superblocks/libblkid_la-jfs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-jfs.lo + -rm -f libblkid/src/superblocks/libblkid_la-jmicron_raid.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-jmicron_raid.lo + -rm -f libblkid/src/superblocks/libblkid_la-linux_raid.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-linux_raid.lo + -rm -f libblkid/src/superblocks/libblkid_la-lsi_raid.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-lsi_raid.lo + -rm -f libblkid/src/superblocks/libblkid_la-luks.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-luks.lo + -rm -f libblkid/src/superblocks/libblkid_la-lvm.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-lvm.lo + -rm -f libblkid/src/superblocks/libblkid_la-minix.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-minix.lo + -rm -f libblkid/src/superblocks/libblkid_la-netware.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-netware.lo + -rm -f libblkid/src/superblocks/libblkid_la-nilfs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-nilfs.lo + -rm -f libblkid/src/superblocks/libblkid_la-ntfs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-ntfs.lo + -rm -f libblkid/src/superblocks/libblkid_la-nvidia_raid.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-nvidia_raid.lo + -rm -f libblkid/src/superblocks/libblkid_la-ocfs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-ocfs.lo + -rm -f libblkid/src/superblocks/libblkid_la-promise_raid.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-promise_raid.lo + -rm -f libblkid/src/superblocks/libblkid_la-reiserfs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-reiserfs.lo + -rm -f libblkid/src/superblocks/libblkid_la-romfs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-romfs.lo + -rm -f libblkid/src/superblocks/libblkid_la-silicon_raid.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-silicon_raid.lo + -rm -f libblkid/src/superblocks/libblkid_la-squashfs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-squashfs.lo + -rm -f libblkid/src/superblocks/libblkid_la-superblocks.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-superblocks.lo + -rm -f libblkid/src/superblocks/libblkid_la-swap.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-swap.lo + -rm -f libblkid/src/superblocks/libblkid_la-sysv.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-sysv.lo + -rm -f libblkid/src/superblocks/libblkid_la-ubifs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-ubifs.lo + -rm -f libblkid/src/superblocks/libblkid_la-udf.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-udf.lo + -rm -f libblkid/src/superblocks/libblkid_la-ufs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-ufs.lo + -rm -f libblkid/src/superblocks/libblkid_la-vfat.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-vfat.lo + -rm -f libblkid/src/superblocks/libblkid_la-via_raid.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-via_raid.lo + -rm -f libblkid/src/superblocks/libblkid_la-vmfs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-vmfs.lo + -rm -f libblkid/src/superblocks/libblkid_la-vxfs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-vxfs.lo + -rm -f libblkid/src/superblocks/libblkid_la-xfs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-xfs.lo + -rm -f libblkid/src/superblocks/libblkid_la-zfs.$(OBJEXT) + -rm -f libblkid/src/superblocks/libblkid_la-zfs.lo + -rm -f libblkid/src/test_blkid_cache-cache.$(OBJEXT) + -rm -f libblkid/src/test_blkid_config-config.$(OBJEXT) + -rm -f libblkid/src/test_blkid_dev-dev.$(OBJEXT) + -rm -f libblkid/src/test_blkid_devname-devname.$(OBJEXT) + -rm -f libblkid/src/test_blkid_devno-devno.$(OBJEXT) + -rm -f libblkid/src/test_blkid_evaluate-evaluate.$(OBJEXT) + -rm -f libblkid/src/test_blkid_read-read.$(OBJEXT) + -rm -f libblkid/src/test_blkid_resolve-resolve.$(OBJEXT) + -rm -f libblkid/src/test_blkid_save-save.$(OBJEXT) + -rm -f libblkid/src/test_blkid_tag-tag.$(OBJEXT) + -rm -f libblkid/src/test_blkid_verify-verify.$(OBJEXT) + -rm -f libblkid/src/topology/libblkid_la-dm.$(OBJEXT) + -rm -f libblkid/src/topology/libblkid_la-dm.lo + -rm -f libblkid/src/topology/libblkid_la-evms.$(OBJEXT) + -rm -f libblkid/src/topology/libblkid_la-evms.lo + -rm -f libblkid/src/topology/libblkid_la-ioctl.$(OBJEXT) + -rm -f libblkid/src/topology/libblkid_la-ioctl.lo + -rm -f libblkid/src/topology/libblkid_la-lvm.$(OBJEXT) + -rm -f libblkid/src/topology/libblkid_la-lvm.lo + -rm -f libblkid/src/topology/libblkid_la-md.$(OBJEXT) + -rm -f libblkid/src/topology/libblkid_la-md.lo + -rm -f libblkid/src/topology/libblkid_la-sysfs.$(OBJEXT) + -rm -f libblkid/src/topology/libblkid_la-sysfs.lo + -rm -f libblkid/src/topology/libblkid_la-topology.$(OBJEXT) + -rm -f libblkid/src/topology/libblkid_la-topology.lo + -rm -f libmount/src/libmount_la-cache.$(OBJEXT) + -rm -f libmount/src/libmount_la-cache.lo + -rm -f libmount/src/libmount_la-context.$(OBJEXT) + -rm -f libmount/src/libmount_la-context.lo + -rm -f libmount/src/libmount_la-context_loopdev.$(OBJEXT) + -rm -f libmount/src/libmount_la-context_loopdev.lo + -rm -f libmount/src/libmount_la-context_mount.$(OBJEXT) + -rm -f libmount/src/libmount_la-context_mount.lo + -rm -f libmount/src/libmount_la-context_umount.$(OBJEXT) + -rm -f libmount/src/libmount_la-context_umount.lo + -rm -f libmount/src/libmount_la-fs.$(OBJEXT) + -rm -f libmount/src/libmount_la-fs.lo + -rm -f libmount/src/libmount_la-init.$(OBJEXT) + -rm -f libmount/src/libmount_la-init.lo + -rm -f libmount/src/libmount_la-iter.$(OBJEXT) + -rm -f libmount/src/libmount_la-iter.lo + -rm -f libmount/src/libmount_la-lock.$(OBJEXT) + -rm -f libmount/src/libmount_la-lock.lo + -rm -f libmount/src/libmount_la-optmap.$(OBJEXT) + -rm -f libmount/src/libmount_la-optmap.lo + -rm -f libmount/src/libmount_la-optstr.$(OBJEXT) + -rm -f libmount/src/libmount_la-optstr.lo + -rm -f libmount/src/libmount_la-tab.$(OBJEXT) + -rm -f libmount/src/libmount_la-tab.lo + -rm -f libmount/src/libmount_la-tab_diff.$(OBJEXT) + -rm -f libmount/src/libmount_la-tab_diff.lo + -rm -f libmount/src/libmount_la-tab_parse.$(OBJEXT) + -rm -f libmount/src/libmount_la-tab_parse.lo + -rm -f libmount/src/libmount_la-tab_update.$(OBJEXT) + -rm -f libmount/src/libmount_la-tab_update.lo + -rm -f libmount/src/libmount_la-test.$(OBJEXT) + -rm -f libmount/src/libmount_la-test.lo + -rm -f libmount/src/libmount_la-utils.$(OBJEXT) + -rm -f libmount/src/libmount_la-utils.lo + -rm -f libmount/src/libmount_la-version.$(OBJEXT) + -rm -f libmount/src/libmount_la-version.lo + -rm -f libmount/src/test_mount_cache-cache.$(OBJEXT) + -rm -f libmount/src/test_mount_context-context.$(OBJEXT) + -rm -f libmount/src/test_mount_lock-lock.$(OBJEXT) + -rm -f libmount/src/test_mount_optstr-optstr.$(OBJEXT) + -rm -f libmount/src/test_mount_tab-tab.$(OBJEXT) + -rm -f libmount/src/test_mount_tab_diff-tab_diff.$(OBJEXT) + -rm -f libmount/src/test_mount_tab_update-tab_update.$(OBJEXT) + -rm -f libmount/src/test_mount_utils-utils.$(OBJEXT) + -rm -f libmount/src/test_mount_version-version.$(OBJEXT) + -rm -f libuuid/src/libuuid_la-clear.$(OBJEXT) + -rm -f libuuid/src/libuuid_la-clear.lo + -rm -f libuuid/src/libuuid_la-compare.$(OBJEXT) + -rm -f libuuid/src/libuuid_la-compare.lo + -rm -f libuuid/src/libuuid_la-copy.$(OBJEXT) + -rm -f libuuid/src/libuuid_la-copy.lo + -rm -f libuuid/src/libuuid_la-gen_uuid.$(OBJEXT) + -rm -f libuuid/src/libuuid_la-gen_uuid.lo + -rm -f libuuid/src/libuuid_la-isnull.$(OBJEXT) + -rm -f libuuid/src/libuuid_la-isnull.lo + -rm -f libuuid/src/libuuid_la-pack.$(OBJEXT) + -rm -f libuuid/src/libuuid_la-pack.lo + -rm -f libuuid/src/libuuid_la-parse.$(OBJEXT) + -rm -f libuuid/src/libuuid_la-parse.lo + -rm -f libuuid/src/libuuid_la-unpack.$(OBJEXT) + -rm -f libuuid/src/libuuid_la-unpack.lo + -rm -f libuuid/src/libuuid_la-unparse.$(OBJEXT) + -rm -f libuuid/src/libuuid_la-unparse.lo + -rm -f libuuid/src/libuuid_la-uuid_time.$(OBJEXT) + -rm -f libuuid/src/libuuid_la-uuid_time.lo + -rm -f libuuid/src/test_uuid-test_uuid.$(OBJEXT) + -rm -f login-utils/chfn-chfn.$(OBJEXT) + -rm -f login-utils/chfn-islocal.$(OBJEXT) + -rm -f login-utils/chfn-selinux_utils.$(OBJEXT) + -rm -f login-utils/chfn-setpwnam.$(OBJEXT) + -rm -f login-utils/chsh-chsh.$(OBJEXT) + -rm -f login-utils/chsh-islocal.$(OBJEXT) + -rm -f login-utils/chsh-selinux_utils.$(OBJEXT) + -rm -f login-utils/chsh-setpwnam.$(OBJEXT) + -rm -f login-utils/last.$(OBJEXT) + -rm -f login-utils/login.$(OBJEXT) + -rm -f login-utils/logindefs.$(OBJEXT) + -rm -f login-utils/newgrp-newgrp.$(OBJEXT) + -rm -f login-utils/su-logindefs.$(OBJEXT) + -rm -f login-utils/su-su.$(OBJEXT) + -rm -f login-utils/sulogin.$(OBJEXT) + -rm -f login-utils/test_islocal-islocal.$(OBJEXT) + -rm -f login-utils/test_logindefs-logindefs.$(OBJEXT) + -rm -f login-utils/utmpdump.$(OBJEXT) + -rm -f login-utils/vipw.$(OBJEXT) + -rm -f misc-utils/blkid-blkid.$(OBJEXT) + -rm -f misc-utils/blkid_static-blkid.$(OBJEXT) + -rm -f misc-utils/cal.$(OBJEXT) + -rm -f misc-utils/ddate.$(OBJEXT) + -rm -f misc-utils/findfs-findfs.$(OBJEXT) + -rm -f misc-utils/findmnt-findmnt.$(OBJEXT) + -rm -f misc-utils/getopt.$(OBJEXT) + -rm -f misc-utils/kill.$(OBJEXT) + -rm -f misc-utils/logger.$(OBJEXT) + -rm -f misc-utils/look.$(OBJEXT) + -rm -f misc-utils/lsblk-lsblk.$(OBJEXT) + -rm -f misc-utils/lslocks.$(OBJEXT) + -rm -f misc-utils/mcookie.$(OBJEXT) + -rm -f misc-utils/namei.$(OBJEXT) + -rm -f misc-utils/procs.$(OBJEXT) + -rm -f misc-utils/rename.$(OBJEXT) + -rm -f misc-utils/uuidd-sd-daemon.$(OBJEXT) + -rm -f misc-utils/uuidd-uuidd.$(OBJEXT) + -rm -f misc-utils/uuidgen-uuidgen.$(OBJEXT) + -rm -f misc-utils/whereis.$(OBJEXT) + -rm -f misc-utils/wipefs-wipefs.$(OBJEXT) + -rm -f mount-deprecated/mount-devname.$(OBJEXT) + -rm -f mount-deprecated/mount-fsprobe.$(OBJEXT) + -rm -f mount-deprecated/mount-fstab.$(OBJEXT) + -rm -f mount-deprecated/mount-getusername.$(OBJEXT) + -rm -f mount-deprecated/mount-mount.$(OBJEXT) + -rm -f mount-deprecated/mount-mount_mntent.$(OBJEXT) + -rm -f mount-deprecated/mount-sundries.$(OBJEXT) + -rm -f mount-deprecated/mount_static-devname.$(OBJEXT) + -rm -f mount-deprecated/mount_static-fsprobe.$(OBJEXT) + -rm -f mount-deprecated/mount_static-fstab.$(OBJEXT) + -rm -f mount-deprecated/mount_static-getusername.$(OBJEXT) + -rm -f mount-deprecated/mount_static-mount.$(OBJEXT) + -rm -f mount-deprecated/mount_static-mount_mntent.$(OBJEXT) + -rm -f mount-deprecated/mount_static-sundries.$(OBJEXT) + -rm -f mount-deprecated/umount-devname.$(OBJEXT) + -rm -f mount-deprecated/umount-fsprobe.$(OBJEXT) + -rm -f mount-deprecated/umount-fstab.$(OBJEXT) + -rm -f mount-deprecated/umount-getusername.$(OBJEXT) + -rm -f mount-deprecated/umount-mount_mntent.$(OBJEXT) + -rm -f mount-deprecated/umount-sundries.$(OBJEXT) + -rm -f mount-deprecated/umount-umount.$(OBJEXT) + -rm -f mount-deprecated/umount_static-devname.$(OBJEXT) + -rm -f mount-deprecated/umount_static-fsprobe.$(OBJEXT) + -rm -f mount-deprecated/umount_static-fstab.$(OBJEXT) + -rm -f mount-deprecated/umount_static-getusername.$(OBJEXT) + -rm -f mount-deprecated/umount_static-mount_mntent.$(OBJEXT) + -rm -f mount-deprecated/umount_static-sundries.$(OBJEXT) + -rm -f mount-deprecated/umount_static-umount.$(OBJEXT) + -rm -f schedutils/chrt.$(OBJEXT) + -rm -f schedutils/ionice.$(OBJEXT) + -rm -f schedutils/taskset.$(OBJEXT) + -rm -f sys-utils/arch.$(OBJEXT) + -rm -f sys-utils/chcpu.$(OBJEXT) + -rm -f sys-utils/ctrlaltdel.$(OBJEXT) + -rm -f sys-utils/cytune.$(OBJEXT) + -rm -f sys-utils/dmesg.$(OBJEXT) + -rm -f sys-utils/eject-eject.$(OBJEXT) + -rm -f sys-utils/fallocate.$(OBJEXT) + -rm -f sys-utils/flock.$(OBJEXT) + -rm -f sys-utils/fsfreeze.$(OBJEXT) + -rm -f sys-utils/fstrim.$(OBJEXT) + -rm -f sys-utils/hwclock-cmos.$(OBJEXT) + -rm -f sys-utils/hwclock-kd.$(OBJEXT) + -rm -f sys-utils/hwclock-rtc.$(OBJEXT) + -rm -f sys-utils/hwclock.$(OBJEXT) + -rm -f sys-utils/ipcmk.$(OBJEXT) + -rm -f sys-utils/ipcrm.$(OBJEXT) + -rm -f sys-utils/ipcs.$(OBJEXT) + -rm -f sys-utils/ldattach.$(OBJEXT) + -rm -f sys-utils/losetup.$(OBJEXT) + -rm -f sys-utils/lscpu.$(OBJEXT) + -rm -f sys-utils/mount-mount.$(OBJEXT) + -rm -f sys-utils/mount_static-mount.$(OBJEXT) + -rm -f sys-utils/mountpoint-mountpoint.$(OBJEXT) + -rm -f sys-utils/pivot_root.$(OBJEXT) + -rm -f sys-utils/prlimit.$(OBJEXT) + -rm -f sys-utils/readprofile.$(OBJEXT) + -rm -f sys-utils/renice.$(OBJEXT) + -rm -f sys-utils/rtcwake.$(OBJEXT) + -rm -f sys-utils/setarch.$(OBJEXT) + -rm -f sys-utils/setsid.$(OBJEXT) + -rm -f sys-utils/swapoff-swapoff.$(OBJEXT) + -rm -f sys-utils/swapoff-swapon-common.$(OBJEXT) + -rm -f sys-utils/swapon-swapon-common.$(OBJEXT) + -rm -f sys-utils/swapon-swapon.$(OBJEXT) + -rm -f sys-utils/switch_root.$(OBJEXT) + -rm -f sys-utils/tunelp.$(OBJEXT) + -rm -f sys-utils/umount-umount.$(OBJEXT) + -rm -f sys-utils/umount_static-umount.$(OBJEXT) + -rm -f sys-utils/unshare.$(OBJEXT) + -rm -f sys-utils/wdctl.$(OBJEXT) + -rm -f term-utils/agetty.$(OBJEXT) + -rm -f term-utils/mesg.$(OBJEXT) + -rm -f term-utils/script.$(OBJEXT) + -rm -f term-utils/scriptreplay.$(OBJEXT) + -rm -f term-utils/setterm.$(OBJEXT) + -rm -f term-utils/wall-ttymsg.$(OBJEXT) + -rm -f term-utils/wall-wall.$(OBJEXT) + -rm -f term-utils/write-write.$(OBJEXT) + -rm -f tests/helpers/test_byteswap.$(OBJEXT) + -rm -f tests/helpers/test_md5.$(OBJEXT) + -rm -f tests/helpers/test_pathnames.$(OBJEXT) + -rm -f tests/helpers/test_sysinfo.$(OBJEXT) + -rm -f text-utils/col.$(OBJEXT) + -rm -f text-utils/colcrt.$(OBJEXT) + -rm -f text-utils/colrm.$(OBJEXT) + -rm -f text-utils/column.$(OBJEXT) + -rm -f text-utils/conv.$(OBJEXT) + -rm -f text-utils/display.$(OBJEXT) + -rm -f text-utils/hexdump.$(OBJEXT) + -rm -f text-utils/hexsyntax.$(OBJEXT) + -rm -f text-utils/line.$(OBJEXT) + -rm -f text-utils/more.$(OBJEXT) + -rm -f text-utils/parse.$(OBJEXT) + -rm -f text-utils/pg.$(OBJEXT) + -rm -f text-utils/rev.$(OBJEXT) + -rm -f text-utils/tailf.$(OBJEXT) + -rm -f text-utils/ul.$(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)/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)/elvtune.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)/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)/swaplabel-swaplabel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/cfdisk-cfdisk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/cfdisk-gpt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/cfdisk-i386_sys_types.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk-fdisk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk-fdiskaixlabel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk-fdiskbsdlabel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk-fdiskdoslabel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk-fdiskmaclabel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk-fdisksgilabel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk-fdisksunlabel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk-gpt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk-i386_sys_types.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk-partname.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk-utils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk_static-fdisk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk_static-fdiskaixlabel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk_static-fdiskbsdlabel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk_static-fdiskdoslabel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk_static-fdiskmaclabel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk_static-fdisksgilabel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk_static-fdisksunlabel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk_static-gpt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk_static-i386_sys_types.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk_static-partname.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/fdisk_static-utils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/gpt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/i386_sys_types.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/partname.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@fdisks/$(DEPDIR)/sfdisk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/at.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/ismounted.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/langinfo.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-at.Plo@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-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-env.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-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-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-path.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-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-strutils.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-tt.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-wholedisk.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/libcommon_la-xgetpass.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)/mbsalign.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/md5.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/strutils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_at-at.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_cpuset-cpuset.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_loopdev-loopdev.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_procutils-procutils.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_strutils-strutils.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_tt-tt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/test_wholedisk-wholedisk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/tt.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-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-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-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-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-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-ext.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-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-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-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-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-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@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-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_lock-lock.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@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-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)/test_uuid-test_uuid.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-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-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-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)/newgrp-newgrp.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.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_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.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/ddate.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.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.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.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/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)/procs.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)/uuidd-sd-daemon.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)/whereis.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@misc-utils/$(DEPDIR)/wipefs-wipefs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/mount-devname.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/mount-fsprobe.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/mount-fstab.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/mount-getusername.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/mount-mount.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/mount-mount_mntent.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/mount-sundries.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/mount_static-devname.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/mount_static-fsprobe.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/mount_static-fstab.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/mount_static-getusername.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/mount_static-mount.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/mount_static-mount_mntent.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/mount_static-sundries.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/umount-devname.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/umount-fsprobe.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/umount-fstab.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/umount-getusername.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/umount-mount_mntent.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/umount-sundries.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/umount-umount.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/umount_static-devname.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/umount_static-fsprobe.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/umount_static-fstab.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/umount_static-getusername.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/umount_static-mount_mntent.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/umount_static-sundries.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mount-deprecated/$(DEPDIR)/umount_static-umount.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)/arch.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)/ctrlaltdel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/cytune.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/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.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-kd.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)/ldattach.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/losetup.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/lscpu.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)/pivot_root.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/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)/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)/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)/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.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sys-utils/$(DEPDIR)/wdctl.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.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.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_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_sysinfo.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.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@text-utils/$(DEPDIR)/conv.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@text-utils/$(DEPDIR)/display.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)/hexsyntax.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.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@text-utils/$(DEPDIR)/parse.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@text-utils/$(DEPDIR)/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)/tailf.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@text-utils/$(DEPDIR)/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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-at.lo: lib/at.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-at.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-at.Tpo -c -o lib/libcommon_la-at.lo `test -f 'lib/at.c' || echo '$(srcdir)/'`lib/at.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-at.Tpo lib/$(DEPDIR)/libcommon_la-at.Plo +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/at.c' object='lib/libcommon_la-at.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(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-at.lo `test -f 'lib/at.c' || echo '$(srcdir)/'`lib/at.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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 + +lib/libcommon_la-tt.lo: lib/tt.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-tt.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-tt.Tpo -c -o lib/libcommon_la-tt.lo `test -f 'lib/tt.c' || echo '$(srcdir)/'`lib/tt.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-tt.Tpo lib/$(DEPDIR)/libcommon_la-tt.Plo +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/tt.c' object='lib/libcommon_la-tt.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(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-tt.lo `test -f 'lib/tt.c' || echo '$(srcdir)/'`lib/tt.c + +lib/libcommon_la-wholedisk.lo: lib/wholedisk.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-wholedisk.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-wholedisk.Tpo -c -o lib/libcommon_la-wholedisk.lo `test -f 'lib/wholedisk.c' || echo '$(srcdir)/'`lib/wholedisk.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-wholedisk.Tpo lib/$(DEPDIR)/libcommon_la-wholedisk.Plo +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/wholedisk.c' object='lib/libcommon_la-wholedisk.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(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-wholedisk.lo `test -f 'lib/wholedisk.c' || echo '$(srcdir)/'`lib/wholedisk.c + +lib/libcommon_la-xgetpass.lo: lib/xgetpass.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-xgetpass.lo -MD -MP -MF lib/$(DEPDIR)/libcommon_la-xgetpass.Tpo -c -o lib/libcommon_la-xgetpass.lo `test -f 'lib/xgetpass.c' || echo '$(srcdir)/'`lib/xgetpass.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/libcommon_la-xgetpass.Tpo lib/$(DEPDIR)/libcommon_la-xgetpass.Plo +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/xgetpass.c' object='lib/libcommon_la-xgetpass.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(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-xgetpass.lo `test -f 'lib/xgetpass.c' || echo '$(srcdir)/'`lib/xgetpass.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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +fdisks/cfdisk-cfdisk.o: fdisks/cfdisk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cfdisk_CFLAGS) $(CFLAGS) -MT fdisks/cfdisk-cfdisk.o -MD -MP -MF fdisks/$(DEPDIR)/cfdisk-cfdisk.Tpo -c -o fdisks/cfdisk-cfdisk.o `test -f 'fdisks/cfdisk.c' || echo '$(srcdir)/'`fdisks/cfdisk.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/cfdisk-cfdisk.Tpo fdisks/$(DEPDIR)/cfdisk-cfdisk.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/cfdisk.c' object='fdisks/cfdisk-cfdisk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cfdisk_CFLAGS) $(CFLAGS) -c -o fdisks/cfdisk-cfdisk.o `test -f 'fdisks/cfdisk.c' || echo '$(srcdir)/'`fdisks/cfdisk.c + +fdisks/cfdisk-cfdisk.obj: fdisks/cfdisk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cfdisk_CFLAGS) $(CFLAGS) -MT fdisks/cfdisk-cfdisk.obj -MD -MP -MF fdisks/$(DEPDIR)/cfdisk-cfdisk.Tpo -c -o fdisks/cfdisk-cfdisk.obj `if test -f 'fdisks/cfdisk.c'; then $(CYGPATH_W) 'fdisks/cfdisk.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/cfdisk.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/cfdisk-cfdisk.Tpo fdisks/$(DEPDIR)/cfdisk-cfdisk.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/cfdisk.c' object='fdisks/cfdisk-cfdisk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cfdisk_CFLAGS) $(CFLAGS) -c -o fdisks/cfdisk-cfdisk.obj `if test -f 'fdisks/cfdisk.c'; then $(CYGPATH_W) 'fdisks/cfdisk.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/cfdisk.c'; fi` + +fdisks/cfdisk-gpt.o: fdisks/gpt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cfdisk_CFLAGS) $(CFLAGS) -MT fdisks/cfdisk-gpt.o -MD -MP -MF fdisks/$(DEPDIR)/cfdisk-gpt.Tpo -c -o fdisks/cfdisk-gpt.o `test -f 'fdisks/gpt.c' || echo '$(srcdir)/'`fdisks/gpt.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/cfdisk-gpt.Tpo fdisks/$(DEPDIR)/cfdisk-gpt.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/gpt.c' object='fdisks/cfdisk-gpt.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cfdisk_CFLAGS) $(CFLAGS) -c -o fdisks/cfdisk-gpt.o `test -f 'fdisks/gpt.c' || echo '$(srcdir)/'`fdisks/gpt.c + +fdisks/cfdisk-gpt.obj: fdisks/gpt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cfdisk_CFLAGS) $(CFLAGS) -MT fdisks/cfdisk-gpt.obj -MD -MP -MF fdisks/$(DEPDIR)/cfdisk-gpt.Tpo -c -o fdisks/cfdisk-gpt.obj `if test -f 'fdisks/gpt.c'; then $(CYGPATH_W) 'fdisks/gpt.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/gpt.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/cfdisk-gpt.Tpo fdisks/$(DEPDIR)/cfdisk-gpt.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/gpt.c' object='fdisks/cfdisk-gpt.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cfdisk_CFLAGS) $(CFLAGS) -c -o fdisks/cfdisk-gpt.obj `if test -f 'fdisks/gpt.c'; then $(CYGPATH_W) 'fdisks/gpt.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/gpt.c'; fi` + +fdisks/cfdisk-i386_sys_types.o: fdisks/i386_sys_types.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cfdisk_CFLAGS) $(CFLAGS) -MT fdisks/cfdisk-i386_sys_types.o -MD -MP -MF fdisks/$(DEPDIR)/cfdisk-i386_sys_types.Tpo -c -o fdisks/cfdisk-i386_sys_types.o `test -f 'fdisks/i386_sys_types.c' || echo '$(srcdir)/'`fdisks/i386_sys_types.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/cfdisk-i386_sys_types.Tpo fdisks/$(DEPDIR)/cfdisk-i386_sys_types.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/i386_sys_types.c' object='fdisks/cfdisk-i386_sys_types.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cfdisk_CFLAGS) $(CFLAGS) -c -o fdisks/cfdisk-i386_sys_types.o `test -f 'fdisks/i386_sys_types.c' || echo '$(srcdir)/'`fdisks/i386_sys_types.c + +fdisks/cfdisk-i386_sys_types.obj: fdisks/i386_sys_types.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cfdisk_CFLAGS) $(CFLAGS) -MT fdisks/cfdisk-i386_sys_types.obj -MD -MP -MF fdisks/$(DEPDIR)/cfdisk-i386_sys_types.Tpo -c -o fdisks/cfdisk-i386_sys_types.obj `if test -f 'fdisks/i386_sys_types.c'; then $(CYGPATH_W) 'fdisks/i386_sys_types.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/i386_sys_types.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/cfdisk-i386_sys_types.Tpo fdisks/$(DEPDIR)/cfdisk-i386_sys_types.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/i386_sys_types.c' object='fdisks/cfdisk-i386_sys_types.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cfdisk_CFLAGS) $(CFLAGS) -c -o fdisks/cfdisk-i386_sys_types.obj `if test -f 'fdisks/i386_sys_types.c'; then $(CYGPATH_W) 'fdisks/i386_sys_types.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/i386_sys_types.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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +fdisks/fdisk-utils.o: fdisks/utils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-utils.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk-utils.Tpo -c -o fdisks/fdisk-utils.o `test -f 'fdisks/utils.c' || echo '$(srcdir)/'`fdisks/utils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-utils.Tpo fdisks/$(DEPDIR)/fdisk-utils.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/utils.c' object='fdisks/fdisk-utils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-utils.o `test -f 'fdisks/utils.c' || echo '$(srcdir)/'`fdisks/utils.c + +fdisks/fdisk-utils.obj: fdisks/utils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-utils.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk-utils.Tpo -c -o fdisks/fdisk-utils.obj `if test -f 'fdisks/utils.c'; then $(CYGPATH_W) 'fdisks/utils.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/utils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-utils.Tpo fdisks/$(DEPDIR)/fdisk-utils.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/utils.c' object='fdisks/fdisk-utils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-utils.obj `if test -f 'fdisks/utils.c'; then $(CYGPATH_W) 'fdisks/utils.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/utils.c'; fi` + +fdisks/fdisk-fdisk.o: fdisks/fdisk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-fdisk.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk-fdisk.Tpo -c -o fdisks/fdisk-fdisk.o `test -f 'fdisks/fdisk.c' || echo '$(srcdir)/'`fdisks/fdisk.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-fdisk.Tpo fdisks/$(DEPDIR)/fdisk-fdisk.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdisk.c' object='fdisks/fdisk-fdisk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-fdisk.o `test -f 'fdisks/fdisk.c' || echo '$(srcdir)/'`fdisks/fdisk.c + +fdisks/fdisk-fdisk.obj: fdisks/fdisk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-fdisk.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk-fdisk.Tpo -c -o fdisks/fdisk-fdisk.obj `if test -f 'fdisks/fdisk.c'; then $(CYGPATH_W) 'fdisks/fdisk.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdisk.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-fdisk.Tpo fdisks/$(DEPDIR)/fdisk-fdisk.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdisk.c' object='fdisks/fdisk-fdisk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-fdisk.obj `if test -f 'fdisks/fdisk.c'; then $(CYGPATH_W) 'fdisks/fdisk.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdisk.c'; fi` + +fdisks/fdisk-fdiskaixlabel.o: fdisks/fdiskaixlabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-fdiskaixlabel.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk-fdiskaixlabel.Tpo -c -o fdisks/fdisk-fdiskaixlabel.o `test -f 'fdisks/fdiskaixlabel.c' || echo '$(srcdir)/'`fdisks/fdiskaixlabel.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-fdiskaixlabel.Tpo fdisks/$(DEPDIR)/fdisk-fdiskaixlabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdiskaixlabel.c' object='fdisks/fdisk-fdiskaixlabel.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-fdiskaixlabel.o `test -f 'fdisks/fdiskaixlabel.c' || echo '$(srcdir)/'`fdisks/fdiskaixlabel.c + +fdisks/fdisk-fdiskaixlabel.obj: fdisks/fdiskaixlabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-fdiskaixlabel.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk-fdiskaixlabel.Tpo -c -o fdisks/fdisk-fdiskaixlabel.obj `if test -f 'fdisks/fdiskaixlabel.c'; then $(CYGPATH_W) 'fdisks/fdiskaixlabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdiskaixlabel.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-fdiskaixlabel.Tpo fdisks/$(DEPDIR)/fdisk-fdiskaixlabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdiskaixlabel.c' object='fdisks/fdisk-fdiskaixlabel.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-fdiskaixlabel.obj `if test -f 'fdisks/fdiskaixlabel.c'; then $(CYGPATH_W) 'fdisks/fdiskaixlabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdiskaixlabel.c'; fi` + +fdisks/fdisk-fdiskbsdlabel.o: fdisks/fdiskbsdlabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-fdiskbsdlabel.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk-fdiskbsdlabel.Tpo -c -o fdisks/fdisk-fdiskbsdlabel.o `test -f 'fdisks/fdiskbsdlabel.c' || echo '$(srcdir)/'`fdisks/fdiskbsdlabel.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-fdiskbsdlabel.Tpo fdisks/$(DEPDIR)/fdisk-fdiskbsdlabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdiskbsdlabel.c' object='fdisks/fdisk-fdiskbsdlabel.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-fdiskbsdlabel.o `test -f 'fdisks/fdiskbsdlabel.c' || echo '$(srcdir)/'`fdisks/fdiskbsdlabel.c + +fdisks/fdisk-fdiskbsdlabel.obj: fdisks/fdiskbsdlabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-fdiskbsdlabel.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk-fdiskbsdlabel.Tpo -c -o fdisks/fdisk-fdiskbsdlabel.obj `if test -f 'fdisks/fdiskbsdlabel.c'; then $(CYGPATH_W) 'fdisks/fdiskbsdlabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdiskbsdlabel.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-fdiskbsdlabel.Tpo fdisks/$(DEPDIR)/fdisk-fdiskbsdlabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdiskbsdlabel.c' object='fdisks/fdisk-fdiskbsdlabel.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-fdiskbsdlabel.obj `if test -f 'fdisks/fdiskbsdlabel.c'; then $(CYGPATH_W) 'fdisks/fdiskbsdlabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdiskbsdlabel.c'; fi` + +fdisks/fdisk-fdiskmaclabel.o: fdisks/fdiskmaclabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-fdiskmaclabel.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk-fdiskmaclabel.Tpo -c -o fdisks/fdisk-fdiskmaclabel.o `test -f 'fdisks/fdiskmaclabel.c' || echo '$(srcdir)/'`fdisks/fdiskmaclabel.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-fdiskmaclabel.Tpo fdisks/$(DEPDIR)/fdisk-fdiskmaclabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdiskmaclabel.c' object='fdisks/fdisk-fdiskmaclabel.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-fdiskmaclabel.o `test -f 'fdisks/fdiskmaclabel.c' || echo '$(srcdir)/'`fdisks/fdiskmaclabel.c + +fdisks/fdisk-fdiskmaclabel.obj: fdisks/fdiskmaclabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-fdiskmaclabel.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk-fdiskmaclabel.Tpo -c -o fdisks/fdisk-fdiskmaclabel.obj `if test -f 'fdisks/fdiskmaclabel.c'; then $(CYGPATH_W) 'fdisks/fdiskmaclabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdiskmaclabel.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-fdiskmaclabel.Tpo fdisks/$(DEPDIR)/fdisk-fdiskmaclabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdiskmaclabel.c' object='fdisks/fdisk-fdiskmaclabel.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-fdiskmaclabel.obj `if test -f 'fdisks/fdiskmaclabel.c'; then $(CYGPATH_W) 'fdisks/fdiskmaclabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdiskmaclabel.c'; fi` + +fdisks/fdisk-fdisksgilabel.o: fdisks/fdisksgilabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-fdisksgilabel.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk-fdisksgilabel.Tpo -c -o fdisks/fdisk-fdisksgilabel.o `test -f 'fdisks/fdisksgilabel.c' || echo '$(srcdir)/'`fdisks/fdisksgilabel.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-fdisksgilabel.Tpo fdisks/$(DEPDIR)/fdisk-fdisksgilabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdisksgilabel.c' object='fdisks/fdisk-fdisksgilabel.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-fdisksgilabel.o `test -f 'fdisks/fdisksgilabel.c' || echo '$(srcdir)/'`fdisks/fdisksgilabel.c + +fdisks/fdisk-fdisksgilabel.obj: fdisks/fdisksgilabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-fdisksgilabel.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk-fdisksgilabel.Tpo -c -o fdisks/fdisk-fdisksgilabel.obj `if test -f 'fdisks/fdisksgilabel.c'; then $(CYGPATH_W) 'fdisks/fdisksgilabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdisksgilabel.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-fdisksgilabel.Tpo fdisks/$(DEPDIR)/fdisk-fdisksgilabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdisksgilabel.c' object='fdisks/fdisk-fdisksgilabel.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-fdisksgilabel.obj `if test -f 'fdisks/fdisksgilabel.c'; then $(CYGPATH_W) 'fdisks/fdisksgilabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdisksgilabel.c'; fi` + +fdisks/fdisk-fdisksunlabel.o: fdisks/fdisksunlabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-fdisksunlabel.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk-fdisksunlabel.Tpo -c -o fdisks/fdisk-fdisksunlabel.o `test -f 'fdisks/fdisksunlabel.c' || echo '$(srcdir)/'`fdisks/fdisksunlabel.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-fdisksunlabel.Tpo fdisks/$(DEPDIR)/fdisk-fdisksunlabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdisksunlabel.c' object='fdisks/fdisk-fdisksunlabel.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-fdisksunlabel.o `test -f 'fdisks/fdisksunlabel.c' || echo '$(srcdir)/'`fdisks/fdisksunlabel.c + +fdisks/fdisk-fdisksunlabel.obj: fdisks/fdisksunlabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-fdisksunlabel.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk-fdisksunlabel.Tpo -c -o fdisks/fdisk-fdisksunlabel.obj `if test -f 'fdisks/fdisksunlabel.c'; then $(CYGPATH_W) 'fdisks/fdisksunlabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdisksunlabel.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-fdisksunlabel.Tpo fdisks/$(DEPDIR)/fdisk-fdisksunlabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdisksunlabel.c' object='fdisks/fdisk-fdisksunlabel.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-fdisksunlabel.obj `if test -f 'fdisks/fdisksunlabel.c'; then $(CYGPATH_W) 'fdisks/fdisksunlabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdisksunlabel.c'; fi` + +fdisks/fdisk-fdiskdoslabel.o: fdisks/fdiskdoslabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-fdiskdoslabel.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk-fdiskdoslabel.Tpo -c -o fdisks/fdisk-fdiskdoslabel.o `test -f 'fdisks/fdiskdoslabel.c' || echo '$(srcdir)/'`fdisks/fdiskdoslabel.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-fdiskdoslabel.Tpo fdisks/$(DEPDIR)/fdisk-fdiskdoslabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdiskdoslabel.c' object='fdisks/fdisk-fdiskdoslabel.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-fdiskdoslabel.o `test -f 'fdisks/fdiskdoslabel.c' || echo '$(srcdir)/'`fdisks/fdiskdoslabel.c + +fdisks/fdisk-fdiskdoslabel.obj: fdisks/fdiskdoslabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-fdiskdoslabel.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk-fdiskdoslabel.Tpo -c -o fdisks/fdisk-fdiskdoslabel.obj `if test -f 'fdisks/fdiskdoslabel.c'; then $(CYGPATH_W) 'fdisks/fdiskdoslabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdiskdoslabel.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-fdiskdoslabel.Tpo fdisks/$(DEPDIR)/fdisk-fdiskdoslabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdiskdoslabel.c' object='fdisks/fdisk-fdiskdoslabel.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-fdiskdoslabel.obj `if test -f 'fdisks/fdiskdoslabel.c'; then $(CYGPATH_W) 'fdisks/fdiskdoslabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdiskdoslabel.c'; fi` + +fdisks/fdisk-partname.o: fdisks/partname.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-partname.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk-partname.Tpo -c -o fdisks/fdisk-partname.o `test -f 'fdisks/partname.c' || echo '$(srcdir)/'`fdisks/partname.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-partname.Tpo fdisks/$(DEPDIR)/fdisk-partname.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/partname.c' object='fdisks/fdisk-partname.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-partname.o `test -f 'fdisks/partname.c' || echo '$(srcdir)/'`fdisks/partname.c + +fdisks/fdisk-partname.obj: fdisks/partname.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-partname.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk-partname.Tpo -c -o fdisks/fdisk-partname.obj `if test -f 'fdisks/partname.c'; then $(CYGPATH_W) 'fdisks/partname.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/partname.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-partname.Tpo fdisks/$(DEPDIR)/fdisk-partname.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/partname.c' object='fdisks/fdisk-partname.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-partname.obj `if test -f 'fdisks/partname.c'; then $(CYGPATH_W) 'fdisks/partname.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/partname.c'; fi` + +fdisks/fdisk-gpt.o: fdisks/gpt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-gpt.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk-gpt.Tpo -c -o fdisks/fdisk-gpt.o `test -f 'fdisks/gpt.c' || echo '$(srcdir)/'`fdisks/gpt.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-gpt.Tpo fdisks/$(DEPDIR)/fdisk-gpt.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/gpt.c' object='fdisks/fdisk-gpt.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-gpt.o `test -f 'fdisks/gpt.c' || echo '$(srcdir)/'`fdisks/gpt.c + +fdisks/fdisk-gpt.obj: fdisks/gpt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-gpt.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk-gpt.Tpo -c -o fdisks/fdisk-gpt.obj `if test -f 'fdisks/gpt.c'; then $(CYGPATH_W) 'fdisks/gpt.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/gpt.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-gpt.Tpo fdisks/$(DEPDIR)/fdisk-gpt.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/gpt.c' object='fdisks/fdisk-gpt.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-gpt.obj `if test -f 'fdisks/gpt.c'; then $(CYGPATH_W) 'fdisks/gpt.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/gpt.c'; fi` + +fdisks/fdisk-i386_sys_types.o: fdisks/i386_sys_types.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-i386_sys_types.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk-i386_sys_types.Tpo -c -o fdisks/fdisk-i386_sys_types.o `test -f 'fdisks/i386_sys_types.c' || echo '$(srcdir)/'`fdisks/i386_sys_types.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-i386_sys_types.Tpo fdisks/$(DEPDIR)/fdisk-i386_sys_types.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/i386_sys_types.c' object='fdisks/fdisk-i386_sys_types.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-i386_sys_types.o `test -f 'fdisks/i386_sys_types.c' || echo '$(srcdir)/'`fdisks/i386_sys_types.c + +fdisks/fdisk-i386_sys_types.obj: fdisks/i386_sys_types.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -MT fdisks/fdisk-i386_sys_types.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk-i386_sys_types.Tpo -c -o fdisks/fdisk-i386_sys_types.obj `if test -f 'fdisks/i386_sys_types.c'; then $(CYGPATH_W) 'fdisks/i386_sys_types.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/i386_sys_types.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk-i386_sys_types.Tpo fdisks/$(DEPDIR)/fdisk-i386_sys_types.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/i386_sys_types.c' object='fdisks/fdisk-i386_sys_types.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk-i386_sys_types.obj `if test -f 'fdisks/i386_sys_types.c'; then $(CYGPATH_W) 'fdisks/i386_sys_types.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/i386_sys_types.c'; fi` + +fdisks/fdisk_static-utils.o: fdisks/utils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-utils.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-utils.Tpo -c -o fdisks/fdisk_static-utils.o `test -f 'fdisks/utils.c' || echo '$(srcdir)/'`fdisks/utils.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-utils.Tpo fdisks/$(DEPDIR)/fdisk_static-utils.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/utils.c' object='fdisks/fdisk_static-utils.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-utils.o `test -f 'fdisks/utils.c' || echo '$(srcdir)/'`fdisks/utils.c + +fdisks/fdisk_static-utils.obj: fdisks/utils.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-utils.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-utils.Tpo -c -o fdisks/fdisk_static-utils.obj `if test -f 'fdisks/utils.c'; then $(CYGPATH_W) 'fdisks/utils.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/utils.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-utils.Tpo fdisks/$(DEPDIR)/fdisk_static-utils.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/utils.c' object='fdisks/fdisk_static-utils.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-utils.obj `if test -f 'fdisks/utils.c'; then $(CYGPATH_W) 'fdisks/utils.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/utils.c'; fi` + +fdisks/fdisk_static-fdisk.o: fdisks/fdisk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-fdisk.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-fdisk.Tpo -c -o fdisks/fdisk_static-fdisk.o `test -f 'fdisks/fdisk.c' || echo '$(srcdir)/'`fdisks/fdisk.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-fdisk.Tpo fdisks/$(DEPDIR)/fdisk_static-fdisk.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdisk.c' object='fdisks/fdisk_static-fdisk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-fdisk.o `test -f 'fdisks/fdisk.c' || echo '$(srcdir)/'`fdisks/fdisk.c + +fdisks/fdisk_static-fdisk.obj: fdisks/fdisk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-fdisk.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-fdisk.Tpo -c -o fdisks/fdisk_static-fdisk.obj `if test -f 'fdisks/fdisk.c'; then $(CYGPATH_W) 'fdisks/fdisk.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdisk.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-fdisk.Tpo fdisks/$(DEPDIR)/fdisk_static-fdisk.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdisk.c' object='fdisks/fdisk_static-fdisk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-fdisk.obj `if test -f 'fdisks/fdisk.c'; then $(CYGPATH_W) 'fdisks/fdisk.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdisk.c'; fi` + +fdisks/fdisk_static-fdiskaixlabel.o: fdisks/fdiskaixlabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-fdiskaixlabel.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-fdiskaixlabel.Tpo -c -o fdisks/fdisk_static-fdiskaixlabel.o `test -f 'fdisks/fdiskaixlabel.c' || echo '$(srcdir)/'`fdisks/fdiskaixlabel.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-fdiskaixlabel.Tpo fdisks/$(DEPDIR)/fdisk_static-fdiskaixlabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdiskaixlabel.c' object='fdisks/fdisk_static-fdiskaixlabel.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-fdiskaixlabel.o `test -f 'fdisks/fdiskaixlabel.c' || echo '$(srcdir)/'`fdisks/fdiskaixlabel.c + +fdisks/fdisk_static-fdiskaixlabel.obj: fdisks/fdiskaixlabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-fdiskaixlabel.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-fdiskaixlabel.Tpo -c -o fdisks/fdisk_static-fdiskaixlabel.obj `if test -f 'fdisks/fdiskaixlabel.c'; then $(CYGPATH_W) 'fdisks/fdiskaixlabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdiskaixlabel.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-fdiskaixlabel.Tpo fdisks/$(DEPDIR)/fdisk_static-fdiskaixlabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdiskaixlabel.c' object='fdisks/fdisk_static-fdiskaixlabel.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-fdiskaixlabel.obj `if test -f 'fdisks/fdiskaixlabel.c'; then $(CYGPATH_W) 'fdisks/fdiskaixlabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdiskaixlabel.c'; fi` + +fdisks/fdisk_static-fdiskbsdlabel.o: fdisks/fdiskbsdlabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-fdiskbsdlabel.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-fdiskbsdlabel.Tpo -c -o fdisks/fdisk_static-fdiskbsdlabel.o `test -f 'fdisks/fdiskbsdlabel.c' || echo '$(srcdir)/'`fdisks/fdiskbsdlabel.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-fdiskbsdlabel.Tpo fdisks/$(DEPDIR)/fdisk_static-fdiskbsdlabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdiskbsdlabel.c' object='fdisks/fdisk_static-fdiskbsdlabel.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-fdiskbsdlabel.o `test -f 'fdisks/fdiskbsdlabel.c' || echo '$(srcdir)/'`fdisks/fdiskbsdlabel.c + +fdisks/fdisk_static-fdiskbsdlabel.obj: fdisks/fdiskbsdlabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-fdiskbsdlabel.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-fdiskbsdlabel.Tpo -c -o fdisks/fdisk_static-fdiskbsdlabel.obj `if test -f 'fdisks/fdiskbsdlabel.c'; then $(CYGPATH_W) 'fdisks/fdiskbsdlabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdiskbsdlabel.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-fdiskbsdlabel.Tpo fdisks/$(DEPDIR)/fdisk_static-fdiskbsdlabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdiskbsdlabel.c' object='fdisks/fdisk_static-fdiskbsdlabel.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-fdiskbsdlabel.obj `if test -f 'fdisks/fdiskbsdlabel.c'; then $(CYGPATH_W) 'fdisks/fdiskbsdlabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdiskbsdlabel.c'; fi` + +fdisks/fdisk_static-fdiskmaclabel.o: fdisks/fdiskmaclabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-fdiskmaclabel.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-fdiskmaclabel.Tpo -c -o fdisks/fdisk_static-fdiskmaclabel.o `test -f 'fdisks/fdiskmaclabel.c' || echo '$(srcdir)/'`fdisks/fdiskmaclabel.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-fdiskmaclabel.Tpo fdisks/$(DEPDIR)/fdisk_static-fdiskmaclabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdiskmaclabel.c' object='fdisks/fdisk_static-fdiskmaclabel.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-fdiskmaclabel.o `test -f 'fdisks/fdiskmaclabel.c' || echo '$(srcdir)/'`fdisks/fdiskmaclabel.c + +fdisks/fdisk_static-fdiskmaclabel.obj: fdisks/fdiskmaclabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-fdiskmaclabel.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-fdiskmaclabel.Tpo -c -o fdisks/fdisk_static-fdiskmaclabel.obj `if test -f 'fdisks/fdiskmaclabel.c'; then $(CYGPATH_W) 'fdisks/fdiskmaclabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdiskmaclabel.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-fdiskmaclabel.Tpo fdisks/$(DEPDIR)/fdisk_static-fdiskmaclabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdiskmaclabel.c' object='fdisks/fdisk_static-fdiskmaclabel.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-fdiskmaclabel.obj `if test -f 'fdisks/fdiskmaclabel.c'; then $(CYGPATH_W) 'fdisks/fdiskmaclabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdiskmaclabel.c'; fi` + +fdisks/fdisk_static-fdisksgilabel.o: fdisks/fdisksgilabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-fdisksgilabel.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-fdisksgilabel.Tpo -c -o fdisks/fdisk_static-fdisksgilabel.o `test -f 'fdisks/fdisksgilabel.c' || echo '$(srcdir)/'`fdisks/fdisksgilabel.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-fdisksgilabel.Tpo fdisks/$(DEPDIR)/fdisk_static-fdisksgilabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdisksgilabel.c' object='fdisks/fdisk_static-fdisksgilabel.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-fdisksgilabel.o `test -f 'fdisks/fdisksgilabel.c' || echo '$(srcdir)/'`fdisks/fdisksgilabel.c + +fdisks/fdisk_static-fdisksgilabel.obj: fdisks/fdisksgilabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-fdisksgilabel.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-fdisksgilabel.Tpo -c -o fdisks/fdisk_static-fdisksgilabel.obj `if test -f 'fdisks/fdisksgilabel.c'; then $(CYGPATH_W) 'fdisks/fdisksgilabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdisksgilabel.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-fdisksgilabel.Tpo fdisks/$(DEPDIR)/fdisk_static-fdisksgilabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdisksgilabel.c' object='fdisks/fdisk_static-fdisksgilabel.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-fdisksgilabel.obj `if test -f 'fdisks/fdisksgilabel.c'; then $(CYGPATH_W) 'fdisks/fdisksgilabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdisksgilabel.c'; fi` + +fdisks/fdisk_static-fdisksunlabel.o: fdisks/fdisksunlabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-fdisksunlabel.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-fdisksunlabel.Tpo -c -o fdisks/fdisk_static-fdisksunlabel.o `test -f 'fdisks/fdisksunlabel.c' || echo '$(srcdir)/'`fdisks/fdisksunlabel.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-fdisksunlabel.Tpo fdisks/$(DEPDIR)/fdisk_static-fdisksunlabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdisksunlabel.c' object='fdisks/fdisk_static-fdisksunlabel.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-fdisksunlabel.o `test -f 'fdisks/fdisksunlabel.c' || echo '$(srcdir)/'`fdisks/fdisksunlabel.c + +fdisks/fdisk_static-fdisksunlabel.obj: fdisks/fdisksunlabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-fdisksunlabel.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-fdisksunlabel.Tpo -c -o fdisks/fdisk_static-fdisksunlabel.obj `if test -f 'fdisks/fdisksunlabel.c'; then $(CYGPATH_W) 'fdisks/fdisksunlabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdisksunlabel.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-fdisksunlabel.Tpo fdisks/$(DEPDIR)/fdisk_static-fdisksunlabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdisksunlabel.c' object='fdisks/fdisk_static-fdisksunlabel.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-fdisksunlabel.obj `if test -f 'fdisks/fdisksunlabel.c'; then $(CYGPATH_W) 'fdisks/fdisksunlabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdisksunlabel.c'; fi` + +fdisks/fdisk_static-fdiskdoslabel.o: fdisks/fdiskdoslabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-fdiskdoslabel.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-fdiskdoslabel.Tpo -c -o fdisks/fdisk_static-fdiskdoslabel.o `test -f 'fdisks/fdiskdoslabel.c' || echo '$(srcdir)/'`fdisks/fdiskdoslabel.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-fdiskdoslabel.Tpo fdisks/$(DEPDIR)/fdisk_static-fdiskdoslabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdiskdoslabel.c' object='fdisks/fdisk_static-fdiskdoslabel.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-fdiskdoslabel.o `test -f 'fdisks/fdiskdoslabel.c' || echo '$(srcdir)/'`fdisks/fdiskdoslabel.c + +fdisks/fdisk_static-fdiskdoslabel.obj: fdisks/fdiskdoslabel.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-fdiskdoslabel.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-fdiskdoslabel.Tpo -c -o fdisks/fdisk_static-fdiskdoslabel.obj `if test -f 'fdisks/fdiskdoslabel.c'; then $(CYGPATH_W) 'fdisks/fdiskdoslabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdiskdoslabel.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-fdiskdoslabel.Tpo fdisks/$(DEPDIR)/fdisk_static-fdiskdoslabel.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/fdiskdoslabel.c' object='fdisks/fdisk_static-fdiskdoslabel.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-fdiskdoslabel.obj `if test -f 'fdisks/fdiskdoslabel.c'; then $(CYGPATH_W) 'fdisks/fdiskdoslabel.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/fdiskdoslabel.c'; fi` + +fdisks/fdisk_static-partname.o: fdisks/partname.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-partname.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-partname.Tpo -c -o fdisks/fdisk_static-partname.o `test -f 'fdisks/partname.c' || echo '$(srcdir)/'`fdisks/partname.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-partname.Tpo fdisks/$(DEPDIR)/fdisk_static-partname.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/partname.c' object='fdisks/fdisk_static-partname.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-partname.o `test -f 'fdisks/partname.c' || echo '$(srcdir)/'`fdisks/partname.c + +fdisks/fdisk_static-partname.obj: fdisks/partname.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-partname.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-partname.Tpo -c -o fdisks/fdisk_static-partname.obj `if test -f 'fdisks/partname.c'; then $(CYGPATH_W) 'fdisks/partname.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/partname.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-partname.Tpo fdisks/$(DEPDIR)/fdisk_static-partname.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/partname.c' object='fdisks/fdisk_static-partname.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-partname.obj `if test -f 'fdisks/partname.c'; then $(CYGPATH_W) 'fdisks/partname.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/partname.c'; fi` + +fdisks/fdisk_static-gpt.o: fdisks/gpt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-gpt.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-gpt.Tpo -c -o fdisks/fdisk_static-gpt.o `test -f 'fdisks/gpt.c' || echo '$(srcdir)/'`fdisks/gpt.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-gpt.Tpo fdisks/$(DEPDIR)/fdisk_static-gpt.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/gpt.c' object='fdisks/fdisk_static-gpt.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-gpt.o `test -f 'fdisks/gpt.c' || echo '$(srcdir)/'`fdisks/gpt.c + +fdisks/fdisk_static-gpt.obj: fdisks/gpt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-gpt.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-gpt.Tpo -c -o fdisks/fdisk_static-gpt.obj `if test -f 'fdisks/gpt.c'; then $(CYGPATH_W) 'fdisks/gpt.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/gpt.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-gpt.Tpo fdisks/$(DEPDIR)/fdisk_static-gpt.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/gpt.c' object='fdisks/fdisk_static-gpt.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-gpt.obj `if test -f 'fdisks/gpt.c'; then $(CYGPATH_W) 'fdisks/gpt.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/gpt.c'; fi` + +fdisks/fdisk_static-i386_sys_types.o: fdisks/i386_sys_types.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-i386_sys_types.o -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-i386_sys_types.Tpo -c -o fdisks/fdisk_static-i386_sys_types.o `test -f 'fdisks/i386_sys_types.c' || echo '$(srcdir)/'`fdisks/i386_sys_types.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-i386_sys_types.Tpo fdisks/$(DEPDIR)/fdisk_static-i386_sys_types.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/i386_sys_types.c' object='fdisks/fdisk_static-i386_sys_types.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-i386_sys_types.o `test -f 'fdisks/i386_sys_types.c' || echo '$(srcdir)/'`fdisks/i386_sys_types.c + +fdisks/fdisk_static-i386_sys_types.obj: fdisks/i386_sys_types.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -MT fdisks/fdisk_static-i386_sys_types.obj -MD -MP -MF fdisks/$(DEPDIR)/fdisk_static-i386_sys_types.Tpo -c -o fdisks/fdisk_static-i386_sys_types.obj `if test -f 'fdisks/i386_sys_types.c'; then $(CYGPATH_W) 'fdisks/i386_sys_types.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/i386_sys_types.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fdisks/$(DEPDIR)/fdisk_static-i386_sys_types.Tpo fdisks/$(DEPDIR)/fdisk_static-i386_sys_types.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fdisks/i386_sys_types.c' object='fdisks/fdisk_static-i386_sys_types.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fdisk_static_CFLAGS) $(CFLAGS) -c -o fdisks/fdisk_static-i386_sys_types.obj `if test -f 'fdisks/i386_sys_types.c'; then $(CYGPATH_W) 'fdisks/i386_sys_types.c'; else $(CYGPATH_W) '$(srcdir)/fdisks/i386_sys_types.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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +mount-deprecated/mount-mount.o: mount-deprecated/mount.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount-mount.o -MD -MP -MF mount-deprecated/$(DEPDIR)/mount-mount.Tpo -c -o mount-deprecated/mount-mount.o `test -f 'mount-deprecated/mount.c' || echo '$(srcdir)/'`mount-deprecated/mount.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount-mount.Tpo mount-deprecated/$(DEPDIR)/mount-mount.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/mount.c' object='mount-deprecated/mount-mount.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount-mount.o `test -f 'mount-deprecated/mount.c' || echo '$(srcdir)/'`mount-deprecated/mount.c + +mount-deprecated/mount-mount.obj: mount-deprecated/mount.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount-mount.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/mount-mount.Tpo -c -o mount-deprecated/mount-mount.obj `if test -f 'mount-deprecated/mount.c'; then $(CYGPATH_W) 'mount-deprecated/mount.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/mount.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount-mount.Tpo mount-deprecated/$(DEPDIR)/mount-mount.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/mount.c' object='mount-deprecated/mount-mount.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount-mount.obj `if test -f 'mount-deprecated/mount.c'; then $(CYGPATH_W) 'mount-deprecated/mount.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/mount.c'; fi` + +mount-deprecated/mount-sundries.o: mount-deprecated/sundries.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount-sundries.o -MD -MP -MF mount-deprecated/$(DEPDIR)/mount-sundries.Tpo -c -o mount-deprecated/mount-sundries.o `test -f 'mount-deprecated/sundries.c' || echo '$(srcdir)/'`mount-deprecated/sundries.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount-sundries.Tpo mount-deprecated/$(DEPDIR)/mount-sundries.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/sundries.c' object='mount-deprecated/mount-sundries.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount-sundries.o `test -f 'mount-deprecated/sundries.c' || echo '$(srcdir)/'`mount-deprecated/sundries.c + +mount-deprecated/mount-sundries.obj: mount-deprecated/sundries.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount-sundries.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/mount-sundries.Tpo -c -o mount-deprecated/mount-sundries.obj `if test -f 'mount-deprecated/sundries.c'; then $(CYGPATH_W) 'mount-deprecated/sundries.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/sundries.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount-sundries.Tpo mount-deprecated/$(DEPDIR)/mount-sundries.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/sundries.c' object='mount-deprecated/mount-sundries.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount-sundries.obj `if test -f 'mount-deprecated/sundries.c'; then $(CYGPATH_W) 'mount-deprecated/sundries.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/sundries.c'; fi` + +mount-deprecated/mount-devname.o: mount-deprecated/devname.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount-devname.o -MD -MP -MF mount-deprecated/$(DEPDIR)/mount-devname.Tpo -c -o mount-deprecated/mount-devname.o `test -f 'mount-deprecated/devname.c' || echo '$(srcdir)/'`mount-deprecated/devname.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount-devname.Tpo mount-deprecated/$(DEPDIR)/mount-devname.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/devname.c' object='mount-deprecated/mount-devname.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount-devname.o `test -f 'mount-deprecated/devname.c' || echo '$(srcdir)/'`mount-deprecated/devname.c + +mount-deprecated/mount-devname.obj: mount-deprecated/devname.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount-devname.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/mount-devname.Tpo -c -o mount-deprecated/mount-devname.obj `if test -f 'mount-deprecated/devname.c'; then $(CYGPATH_W) 'mount-deprecated/devname.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/devname.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount-devname.Tpo mount-deprecated/$(DEPDIR)/mount-devname.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/devname.c' object='mount-deprecated/mount-devname.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount-devname.obj `if test -f 'mount-deprecated/devname.c'; then $(CYGPATH_W) 'mount-deprecated/devname.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/devname.c'; fi` + +mount-deprecated/mount-fstab.o: mount-deprecated/fstab.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount-fstab.o -MD -MP -MF mount-deprecated/$(DEPDIR)/mount-fstab.Tpo -c -o mount-deprecated/mount-fstab.o `test -f 'mount-deprecated/fstab.c' || echo '$(srcdir)/'`mount-deprecated/fstab.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount-fstab.Tpo mount-deprecated/$(DEPDIR)/mount-fstab.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/fstab.c' object='mount-deprecated/mount-fstab.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount-fstab.o `test -f 'mount-deprecated/fstab.c' || echo '$(srcdir)/'`mount-deprecated/fstab.c + +mount-deprecated/mount-fstab.obj: mount-deprecated/fstab.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount-fstab.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/mount-fstab.Tpo -c -o mount-deprecated/mount-fstab.obj `if test -f 'mount-deprecated/fstab.c'; then $(CYGPATH_W) 'mount-deprecated/fstab.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/fstab.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount-fstab.Tpo mount-deprecated/$(DEPDIR)/mount-fstab.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/fstab.c' object='mount-deprecated/mount-fstab.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount-fstab.obj `if test -f 'mount-deprecated/fstab.c'; then $(CYGPATH_W) 'mount-deprecated/fstab.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/fstab.c'; fi` + +mount-deprecated/mount-getusername.o: mount-deprecated/getusername.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount-getusername.o -MD -MP -MF mount-deprecated/$(DEPDIR)/mount-getusername.Tpo -c -o mount-deprecated/mount-getusername.o `test -f 'mount-deprecated/getusername.c' || echo '$(srcdir)/'`mount-deprecated/getusername.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount-getusername.Tpo mount-deprecated/$(DEPDIR)/mount-getusername.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/getusername.c' object='mount-deprecated/mount-getusername.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount-getusername.o `test -f 'mount-deprecated/getusername.c' || echo '$(srcdir)/'`mount-deprecated/getusername.c + +mount-deprecated/mount-getusername.obj: mount-deprecated/getusername.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount-getusername.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/mount-getusername.Tpo -c -o mount-deprecated/mount-getusername.obj `if test -f 'mount-deprecated/getusername.c'; then $(CYGPATH_W) 'mount-deprecated/getusername.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/getusername.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount-getusername.Tpo mount-deprecated/$(DEPDIR)/mount-getusername.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/getusername.c' object='mount-deprecated/mount-getusername.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount-getusername.obj `if test -f 'mount-deprecated/getusername.c'; then $(CYGPATH_W) 'mount-deprecated/getusername.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/getusername.c'; fi` + +mount-deprecated/mount-mount_mntent.o: mount-deprecated/mount_mntent.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount-mount_mntent.o -MD -MP -MF mount-deprecated/$(DEPDIR)/mount-mount_mntent.Tpo -c -o mount-deprecated/mount-mount_mntent.o `test -f 'mount-deprecated/mount_mntent.c' || echo '$(srcdir)/'`mount-deprecated/mount_mntent.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount-mount_mntent.Tpo mount-deprecated/$(DEPDIR)/mount-mount_mntent.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/mount_mntent.c' object='mount-deprecated/mount-mount_mntent.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount-mount_mntent.o `test -f 'mount-deprecated/mount_mntent.c' || echo '$(srcdir)/'`mount-deprecated/mount_mntent.c + +mount-deprecated/mount-mount_mntent.obj: mount-deprecated/mount_mntent.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount-mount_mntent.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/mount-mount_mntent.Tpo -c -o mount-deprecated/mount-mount_mntent.obj `if test -f 'mount-deprecated/mount_mntent.c'; then $(CYGPATH_W) 'mount-deprecated/mount_mntent.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/mount_mntent.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount-mount_mntent.Tpo mount-deprecated/$(DEPDIR)/mount-mount_mntent.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/mount_mntent.c' object='mount-deprecated/mount-mount_mntent.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount-mount_mntent.obj `if test -f 'mount-deprecated/mount_mntent.c'; then $(CYGPATH_W) 'mount-deprecated/mount_mntent.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/mount_mntent.c'; fi` + +mount-deprecated/mount-fsprobe.o: mount-deprecated/fsprobe.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount-fsprobe.o -MD -MP -MF mount-deprecated/$(DEPDIR)/mount-fsprobe.Tpo -c -o mount-deprecated/mount-fsprobe.o `test -f 'mount-deprecated/fsprobe.c' || echo '$(srcdir)/'`mount-deprecated/fsprobe.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount-fsprobe.Tpo mount-deprecated/$(DEPDIR)/mount-fsprobe.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/fsprobe.c' object='mount-deprecated/mount-fsprobe.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount-fsprobe.o `test -f 'mount-deprecated/fsprobe.c' || echo '$(srcdir)/'`mount-deprecated/fsprobe.c + +mount-deprecated/mount-fsprobe.obj: mount-deprecated/fsprobe.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount-fsprobe.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/mount-fsprobe.Tpo -c -o mount-deprecated/mount-fsprobe.obj `if test -f 'mount-deprecated/fsprobe.c'; then $(CYGPATH_W) 'mount-deprecated/fsprobe.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/fsprobe.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount-fsprobe.Tpo mount-deprecated/$(DEPDIR)/mount-fsprobe.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/fsprobe.c' object='mount-deprecated/mount-fsprobe.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount-fsprobe.obj `if test -f 'mount-deprecated/fsprobe.c'; then $(CYGPATH_W) 'mount-deprecated/fsprobe.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/fsprobe.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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +mount-deprecated/mount_static-mount.o: mount-deprecated/mount.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount_static-mount.o -MD -MP -MF mount-deprecated/$(DEPDIR)/mount_static-mount.Tpo -c -o mount-deprecated/mount_static-mount.o `test -f 'mount-deprecated/mount.c' || echo '$(srcdir)/'`mount-deprecated/mount.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount_static-mount.Tpo mount-deprecated/$(DEPDIR)/mount_static-mount.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/mount.c' object='mount-deprecated/mount_static-mount.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount_static-mount.o `test -f 'mount-deprecated/mount.c' || echo '$(srcdir)/'`mount-deprecated/mount.c + +mount-deprecated/mount_static-mount.obj: mount-deprecated/mount.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount_static-mount.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/mount_static-mount.Tpo -c -o mount-deprecated/mount_static-mount.obj `if test -f 'mount-deprecated/mount.c'; then $(CYGPATH_W) 'mount-deprecated/mount.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/mount.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount_static-mount.Tpo mount-deprecated/$(DEPDIR)/mount_static-mount.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/mount.c' object='mount-deprecated/mount_static-mount.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount_static-mount.obj `if test -f 'mount-deprecated/mount.c'; then $(CYGPATH_W) 'mount-deprecated/mount.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/mount.c'; fi` + +mount-deprecated/mount_static-sundries.o: mount-deprecated/sundries.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount_static-sundries.o -MD -MP -MF mount-deprecated/$(DEPDIR)/mount_static-sundries.Tpo -c -o mount-deprecated/mount_static-sundries.o `test -f 'mount-deprecated/sundries.c' || echo '$(srcdir)/'`mount-deprecated/sundries.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount_static-sundries.Tpo mount-deprecated/$(DEPDIR)/mount_static-sundries.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/sundries.c' object='mount-deprecated/mount_static-sundries.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount_static-sundries.o `test -f 'mount-deprecated/sundries.c' || echo '$(srcdir)/'`mount-deprecated/sundries.c + +mount-deprecated/mount_static-sundries.obj: mount-deprecated/sundries.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount_static-sundries.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/mount_static-sundries.Tpo -c -o mount-deprecated/mount_static-sundries.obj `if test -f 'mount-deprecated/sundries.c'; then $(CYGPATH_W) 'mount-deprecated/sundries.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/sundries.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount_static-sundries.Tpo mount-deprecated/$(DEPDIR)/mount_static-sundries.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/sundries.c' object='mount-deprecated/mount_static-sundries.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount_static-sundries.obj `if test -f 'mount-deprecated/sundries.c'; then $(CYGPATH_W) 'mount-deprecated/sundries.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/sundries.c'; fi` + +mount-deprecated/mount_static-devname.o: mount-deprecated/devname.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount_static-devname.o -MD -MP -MF mount-deprecated/$(DEPDIR)/mount_static-devname.Tpo -c -o mount-deprecated/mount_static-devname.o `test -f 'mount-deprecated/devname.c' || echo '$(srcdir)/'`mount-deprecated/devname.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount_static-devname.Tpo mount-deprecated/$(DEPDIR)/mount_static-devname.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/devname.c' object='mount-deprecated/mount_static-devname.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount_static-devname.o `test -f 'mount-deprecated/devname.c' || echo '$(srcdir)/'`mount-deprecated/devname.c + +mount-deprecated/mount_static-devname.obj: mount-deprecated/devname.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount_static-devname.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/mount_static-devname.Tpo -c -o mount-deprecated/mount_static-devname.obj `if test -f 'mount-deprecated/devname.c'; then $(CYGPATH_W) 'mount-deprecated/devname.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/devname.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount_static-devname.Tpo mount-deprecated/$(DEPDIR)/mount_static-devname.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/devname.c' object='mount-deprecated/mount_static-devname.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount_static-devname.obj `if test -f 'mount-deprecated/devname.c'; then $(CYGPATH_W) 'mount-deprecated/devname.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/devname.c'; fi` + +mount-deprecated/mount_static-fstab.o: mount-deprecated/fstab.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount_static-fstab.o -MD -MP -MF mount-deprecated/$(DEPDIR)/mount_static-fstab.Tpo -c -o mount-deprecated/mount_static-fstab.o `test -f 'mount-deprecated/fstab.c' || echo '$(srcdir)/'`mount-deprecated/fstab.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount_static-fstab.Tpo mount-deprecated/$(DEPDIR)/mount_static-fstab.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/fstab.c' object='mount-deprecated/mount_static-fstab.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount_static-fstab.o `test -f 'mount-deprecated/fstab.c' || echo '$(srcdir)/'`mount-deprecated/fstab.c + +mount-deprecated/mount_static-fstab.obj: mount-deprecated/fstab.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount_static-fstab.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/mount_static-fstab.Tpo -c -o mount-deprecated/mount_static-fstab.obj `if test -f 'mount-deprecated/fstab.c'; then $(CYGPATH_W) 'mount-deprecated/fstab.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/fstab.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount_static-fstab.Tpo mount-deprecated/$(DEPDIR)/mount_static-fstab.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/fstab.c' object='mount-deprecated/mount_static-fstab.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount_static-fstab.obj `if test -f 'mount-deprecated/fstab.c'; then $(CYGPATH_W) 'mount-deprecated/fstab.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/fstab.c'; fi` + +mount-deprecated/mount_static-getusername.o: mount-deprecated/getusername.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount_static-getusername.o -MD -MP -MF mount-deprecated/$(DEPDIR)/mount_static-getusername.Tpo -c -o mount-deprecated/mount_static-getusername.o `test -f 'mount-deprecated/getusername.c' || echo '$(srcdir)/'`mount-deprecated/getusername.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount_static-getusername.Tpo mount-deprecated/$(DEPDIR)/mount_static-getusername.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/getusername.c' object='mount-deprecated/mount_static-getusername.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount_static-getusername.o `test -f 'mount-deprecated/getusername.c' || echo '$(srcdir)/'`mount-deprecated/getusername.c + +mount-deprecated/mount_static-getusername.obj: mount-deprecated/getusername.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount_static-getusername.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/mount_static-getusername.Tpo -c -o mount-deprecated/mount_static-getusername.obj `if test -f 'mount-deprecated/getusername.c'; then $(CYGPATH_W) 'mount-deprecated/getusername.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/getusername.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount_static-getusername.Tpo mount-deprecated/$(DEPDIR)/mount_static-getusername.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/getusername.c' object='mount-deprecated/mount_static-getusername.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount_static-getusername.obj `if test -f 'mount-deprecated/getusername.c'; then $(CYGPATH_W) 'mount-deprecated/getusername.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/getusername.c'; fi` + +mount-deprecated/mount_static-mount_mntent.o: mount-deprecated/mount_mntent.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount_static-mount_mntent.o -MD -MP -MF mount-deprecated/$(DEPDIR)/mount_static-mount_mntent.Tpo -c -o mount-deprecated/mount_static-mount_mntent.o `test -f 'mount-deprecated/mount_mntent.c' || echo '$(srcdir)/'`mount-deprecated/mount_mntent.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount_static-mount_mntent.Tpo mount-deprecated/$(DEPDIR)/mount_static-mount_mntent.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/mount_mntent.c' object='mount-deprecated/mount_static-mount_mntent.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount_static-mount_mntent.o `test -f 'mount-deprecated/mount_mntent.c' || echo '$(srcdir)/'`mount-deprecated/mount_mntent.c + +mount-deprecated/mount_static-mount_mntent.obj: mount-deprecated/mount_mntent.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount_static-mount_mntent.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/mount_static-mount_mntent.Tpo -c -o mount-deprecated/mount_static-mount_mntent.obj `if test -f 'mount-deprecated/mount_mntent.c'; then $(CYGPATH_W) 'mount-deprecated/mount_mntent.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/mount_mntent.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount_static-mount_mntent.Tpo mount-deprecated/$(DEPDIR)/mount_static-mount_mntent.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/mount_mntent.c' object='mount-deprecated/mount_static-mount_mntent.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount_static-mount_mntent.obj `if test -f 'mount-deprecated/mount_mntent.c'; then $(CYGPATH_W) 'mount-deprecated/mount_mntent.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/mount_mntent.c'; fi` + +mount-deprecated/mount_static-fsprobe.o: mount-deprecated/fsprobe.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount_static-fsprobe.o -MD -MP -MF mount-deprecated/$(DEPDIR)/mount_static-fsprobe.Tpo -c -o mount-deprecated/mount_static-fsprobe.o `test -f 'mount-deprecated/fsprobe.c' || echo '$(srcdir)/'`mount-deprecated/fsprobe.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount_static-fsprobe.Tpo mount-deprecated/$(DEPDIR)/mount_static-fsprobe.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/fsprobe.c' object='mount-deprecated/mount_static-fsprobe.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount_static-fsprobe.o `test -f 'mount-deprecated/fsprobe.c' || echo '$(srcdir)/'`mount-deprecated/fsprobe.c + +mount-deprecated/mount_static-fsprobe.obj: mount-deprecated/fsprobe.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/mount_static-fsprobe.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/mount_static-fsprobe.Tpo -c -o mount-deprecated/mount_static-fsprobe.obj `if test -f 'mount-deprecated/fsprobe.c'; then $(CYGPATH_W) 'mount-deprecated/fsprobe.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/fsprobe.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/mount_static-fsprobe.Tpo mount-deprecated/$(DEPDIR)/mount_static-fsprobe.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/fsprobe.c' object='mount-deprecated/mount_static-fsprobe.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(mount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/mount_static-fsprobe.obj `if test -f 'mount-deprecated/fsprobe.c'; then $(CYGPATH_W) 'mount-deprecated/fsprobe.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/fsprobe.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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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-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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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/test_at-at.o: lib/at.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_at_CFLAGS) $(CFLAGS) -MT lib/test_at-at.o -MD -MP -MF lib/$(DEPDIR)/test_at-at.Tpo -c -o lib/test_at-at.o `test -f 'lib/at.c' || echo '$(srcdir)/'`lib/at.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_at-at.Tpo lib/$(DEPDIR)/test_at-at.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/at.c' object='lib/test_at-at.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_at_CFLAGS) $(CFLAGS) -c -o lib/test_at-at.o `test -f 'lib/at.c' || echo '$(srcdir)/'`lib/at.c + +lib/test_at-at.obj: lib/at.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_at_CFLAGS) $(CFLAGS) -MT lib/test_at-at.obj -MD -MP -MF lib/$(DEPDIR)/test_at-at.Tpo -c -o lib/test_at-at.obj `if test -f 'lib/at.c'; then $(CYGPATH_W) 'lib/at.c'; else $(CYGPATH_W) '$(srcdir)/lib/at.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_at-at.Tpo lib/$(DEPDIR)/test_at-at.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/at.c' object='lib/test_at-at.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_at_CFLAGS) $(CFLAGS) -c -o lib/test_at-at.obj `if test -f 'lib/at.c'; then $(CYGPATH_W) 'lib/at.c'; else $(CYGPATH_W) '$(srcdir)/lib/at.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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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_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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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_loopdev-loopdev.o: lib/loopdev.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_loopdev_CFLAGS) $(CFLAGS) -MT lib/test_loopdev-loopdev.o -MD -MP -MF lib/$(DEPDIR)/test_loopdev-loopdev.Tpo -c -o lib/test_loopdev-loopdev.o `test -f 'lib/loopdev.c' || echo '$(srcdir)/'`lib/loopdev.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_loopdev-loopdev.Tpo lib/$(DEPDIR)/test_loopdev-loopdev.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/loopdev.c' object='lib/test_loopdev-loopdev.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_loopdev_CFLAGS) $(CFLAGS) -c -o lib/test_loopdev-loopdev.o `test -f 'lib/loopdev.c' || echo '$(srcdir)/'`lib/loopdev.c + +lib/test_loopdev-loopdev.obj: lib/loopdev.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_loopdev_CFLAGS) $(CFLAGS) -MT lib/test_loopdev-loopdev.obj -MD -MP -MF lib/$(DEPDIR)/test_loopdev-loopdev.Tpo -c -o lib/test_loopdev-loopdev.obj `if test -f 'lib/loopdev.c'; then $(CYGPATH_W) 'lib/loopdev.c'; else $(CYGPATH_W) '$(srcdir)/lib/loopdev.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_loopdev-loopdev.Tpo lib/$(DEPDIR)/test_loopdev-loopdev.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/loopdev.c' object='lib/test_loopdev-loopdev.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_loopdev_CFLAGS) $(CFLAGS) -c -o lib/test_loopdev-loopdev.obj `if test -f 'lib/loopdev.c'; then $(CYGPATH_W) 'lib/loopdev.c'; else $(CYGPATH_W) '$(srcdir)/lib/loopdev.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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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_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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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_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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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_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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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_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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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_tt-tt.o: lib/tt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_tt_CFLAGS) $(CFLAGS) -MT lib/test_tt-tt.o -MD -MP -MF lib/$(DEPDIR)/test_tt-tt.Tpo -c -o lib/test_tt-tt.o `test -f 'lib/tt.c' || echo '$(srcdir)/'`lib/tt.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_tt-tt.Tpo lib/$(DEPDIR)/test_tt-tt.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/tt.c' object='lib/test_tt-tt.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_tt_CFLAGS) $(CFLAGS) -c -o lib/test_tt-tt.o `test -f 'lib/tt.c' || echo '$(srcdir)/'`lib/tt.c + +lib/test_tt-tt.obj: lib/tt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_tt_CFLAGS) $(CFLAGS) -MT lib/test_tt-tt.obj -MD -MP -MF lib/$(DEPDIR)/test_tt-tt.Tpo -c -o lib/test_tt-tt.obj `if test -f 'lib/tt.c'; then $(CYGPATH_W) 'lib/tt.c'; else $(CYGPATH_W) '$(srcdir)/lib/tt.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_tt-tt.Tpo lib/$(DEPDIR)/test_tt-tt.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/tt.c' object='lib/test_tt-tt.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_tt_CFLAGS) $(CFLAGS) -c -o lib/test_tt-tt.obj `if test -f 'lib/tt.c'; then $(CYGPATH_W) 'lib/tt.c'; else $(CYGPATH_W) '$(srcdir)/lib/tt.c'; fi` + +libuuid/src/test_uuid-test_uuid.o: libuuid/src/test_uuid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_uuid_CFLAGS) $(CFLAGS) -MT libuuid/src/test_uuid-test_uuid.o -MD -MP -MF libuuid/src/$(DEPDIR)/test_uuid-test_uuid.Tpo -c -o libuuid/src/test_uuid-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-test_uuid.Tpo libuuid/src/$(DEPDIR)/test_uuid-test_uuid.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libuuid/src/test_uuid.c' object='libuuid/src/test_uuid-test_uuid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_uuid_CFLAGS) $(CFLAGS) -c -o libuuid/src/test_uuid-test_uuid.o `test -f 'libuuid/src/test_uuid.c' || echo '$(srcdir)/'`libuuid/src/test_uuid.c + +libuuid/src/test_uuid-test_uuid.obj: libuuid/src/test_uuid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_uuid_CFLAGS) $(CFLAGS) -MT libuuid/src/test_uuid-test_uuid.obj -MD -MP -MF libuuid/src/$(DEPDIR)/test_uuid-test_uuid.Tpo -c -o libuuid/src/test_uuid-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-test_uuid.Tpo libuuid/src/$(DEPDIR)/test_uuid-test_uuid.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='libuuid/src/test_uuid.c' object='libuuid/src/test_uuid-test_uuid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_uuid_CFLAGS) $(CFLAGS) -c -o libuuid/src/test_uuid-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` + +lib/test_wholedisk-wholedisk.o: lib/wholedisk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_wholedisk_CFLAGS) $(CFLAGS) -MT lib/test_wholedisk-wholedisk.o -MD -MP -MF lib/$(DEPDIR)/test_wholedisk-wholedisk.Tpo -c -o lib/test_wholedisk-wholedisk.o `test -f 'lib/wholedisk.c' || echo '$(srcdir)/'`lib/wholedisk.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_wholedisk-wholedisk.Tpo lib/$(DEPDIR)/test_wholedisk-wholedisk.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/wholedisk.c' object='lib/test_wholedisk-wholedisk.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_wholedisk_CFLAGS) $(CFLAGS) -c -o lib/test_wholedisk-wholedisk.o `test -f 'lib/wholedisk.c' || echo '$(srcdir)/'`lib/wholedisk.c + +lib/test_wholedisk-wholedisk.obj: lib/wholedisk.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_wholedisk_CFLAGS) $(CFLAGS) -MT lib/test_wholedisk-wholedisk.obj -MD -MP -MF lib/$(DEPDIR)/test_wholedisk-wholedisk.Tpo -c -o lib/test_wholedisk-wholedisk.obj `if test -f 'lib/wholedisk.c'; then $(CYGPATH_W) 'lib/wholedisk.c'; else $(CYGPATH_W) '$(srcdir)/lib/wholedisk.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) lib/$(DEPDIR)/test_wholedisk-wholedisk.Tpo lib/$(DEPDIR)/test_wholedisk-wholedisk.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/wholedisk.c' object='lib/test_wholedisk-wholedisk.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_wholedisk_CFLAGS) $(CFLAGS) -c -o lib/test_wholedisk-wholedisk.obj `if test -f 'lib/wholedisk.c'; then $(CYGPATH_W) 'lib/wholedisk.c'; else $(CYGPATH_W) '$(srcdir)/lib/wholedisk.c'; fi` + +mount-deprecated/umount-umount.o: mount-deprecated/umount.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount-umount.o -MD -MP -MF mount-deprecated/$(DEPDIR)/umount-umount.Tpo -c -o mount-deprecated/umount-umount.o `test -f 'mount-deprecated/umount.c' || echo '$(srcdir)/'`mount-deprecated/umount.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount-umount.Tpo mount-deprecated/$(DEPDIR)/umount-umount.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/umount.c' object='mount-deprecated/umount-umount.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount-umount.o `test -f 'mount-deprecated/umount.c' || echo '$(srcdir)/'`mount-deprecated/umount.c + +mount-deprecated/umount-umount.obj: mount-deprecated/umount.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount-umount.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/umount-umount.Tpo -c -o mount-deprecated/umount-umount.obj `if test -f 'mount-deprecated/umount.c'; then $(CYGPATH_W) 'mount-deprecated/umount.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/umount.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount-umount.Tpo mount-deprecated/$(DEPDIR)/umount-umount.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/umount.c' object='mount-deprecated/umount-umount.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount-umount.obj `if test -f 'mount-deprecated/umount.c'; then $(CYGPATH_W) 'mount-deprecated/umount.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/umount.c'; fi` + +mount-deprecated/umount-sundries.o: mount-deprecated/sundries.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount-sundries.o -MD -MP -MF mount-deprecated/$(DEPDIR)/umount-sundries.Tpo -c -o mount-deprecated/umount-sundries.o `test -f 'mount-deprecated/sundries.c' || echo '$(srcdir)/'`mount-deprecated/sundries.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount-sundries.Tpo mount-deprecated/$(DEPDIR)/umount-sundries.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/sundries.c' object='mount-deprecated/umount-sundries.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount-sundries.o `test -f 'mount-deprecated/sundries.c' || echo '$(srcdir)/'`mount-deprecated/sundries.c + +mount-deprecated/umount-sundries.obj: mount-deprecated/sundries.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount-sundries.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/umount-sundries.Tpo -c -o mount-deprecated/umount-sundries.obj `if test -f 'mount-deprecated/sundries.c'; then $(CYGPATH_W) 'mount-deprecated/sundries.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/sundries.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount-sundries.Tpo mount-deprecated/$(DEPDIR)/umount-sundries.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/sundries.c' object='mount-deprecated/umount-sundries.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount-sundries.obj `if test -f 'mount-deprecated/sundries.c'; then $(CYGPATH_W) 'mount-deprecated/sundries.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/sundries.c'; fi` + +mount-deprecated/umount-devname.o: mount-deprecated/devname.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount-devname.o -MD -MP -MF mount-deprecated/$(DEPDIR)/umount-devname.Tpo -c -o mount-deprecated/umount-devname.o `test -f 'mount-deprecated/devname.c' || echo '$(srcdir)/'`mount-deprecated/devname.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount-devname.Tpo mount-deprecated/$(DEPDIR)/umount-devname.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/devname.c' object='mount-deprecated/umount-devname.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount-devname.o `test -f 'mount-deprecated/devname.c' || echo '$(srcdir)/'`mount-deprecated/devname.c + +mount-deprecated/umount-devname.obj: mount-deprecated/devname.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount-devname.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/umount-devname.Tpo -c -o mount-deprecated/umount-devname.obj `if test -f 'mount-deprecated/devname.c'; then $(CYGPATH_W) 'mount-deprecated/devname.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/devname.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount-devname.Tpo mount-deprecated/$(DEPDIR)/umount-devname.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/devname.c' object='mount-deprecated/umount-devname.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount-devname.obj `if test -f 'mount-deprecated/devname.c'; then $(CYGPATH_W) 'mount-deprecated/devname.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/devname.c'; fi` + +mount-deprecated/umount-fstab.o: mount-deprecated/fstab.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount-fstab.o -MD -MP -MF mount-deprecated/$(DEPDIR)/umount-fstab.Tpo -c -o mount-deprecated/umount-fstab.o `test -f 'mount-deprecated/fstab.c' || echo '$(srcdir)/'`mount-deprecated/fstab.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount-fstab.Tpo mount-deprecated/$(DEPDIR)/umount-fstab.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/fstab.c' object='mount-deprecated/umount-fstab.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount-fstab.o `test -f 'mount-deprecated/fstab.c' || echo '$(srcdir)/'`mount-deprecated/fstab.c + +mount-deprecated/umount-fstab.obj: mount-deprecated/fstab.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount-fstab.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/umount-fstab.Tpo -c -o mount-deprecated/umount-fstab.obj `if test -f 'mount-deprecated/fstab.c'; then $(CYGPATH_W) 'mount-deprecated/fstab.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/fstab.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount-fstab.Tpo mount-deprecated/$(DEPDIR)/umount-fstab.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/fstab.c' object='mount-deprecated/umount-fstab.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount-fstab.obj `if test -f 'mount-deprecated/fstab.c'; then $(CYGPATH_W) 'mount-deprecated/fstab.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/fstab.c'; fi` + +mount-deprecated/umount-getusername.o: mount-deprecated/getusername.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount-getusername.o -MD -MP -MF mount-deprecated/$(DEPDIR)/umount-getusername.Tpo -c -o mount-deprecated/umount-getusername.o `test -f 'mount-deprecated/getusername.c' || echo '$(srcdir)/'`mount-deprecated/getusername.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount-getusername.Tpo mount-deprecated/$(DEPDIR)/umount-getusername.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/getusername.c' object='mount-deprecated/umount-getusername.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount-getusername.o `test -f 'mount-deprecated/getusername.c' || echo '$(srcdir)/'`mount-deprecated/getusername.c + +mount-deprecated/umount-getusername.obj: mount-deprecated/getusername.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount-getusername.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/umount-getusername.Tpo -c -o mount-deprecated/umount-getusername.obj `if test -f 'mount-deprecated/getusername.c'; then $(CYGPATH_W) 'mount-deprecated/getusername.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/getusername.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount-getusername.Tpo mount-deprecated/$(DEPDIR)/umount-getusername.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/getusername.c' object='mount-deprecated/umount-getusername.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount-getusername.obj `if test -f 'mount-deprecated/getusername.c'; then $(CYGPATH_W) 'mount-deprecated/getusername.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/getusername.c'; fi` + +mount-deprecated/umount-mount_mntent.o: mount-deprecated/mount_mntent.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount-mount_mntent.o -MD -MP -MF mount-deprecated/$(DEPDIR)/umount-mount_mntent.Tpo -c -o mount-deprecated/umount-mount_mntent.o `test -f 'mount-deprecated/mount_mntent.c' || echo '$(srcdir)/'`mount-deprecated/mount_mntent.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount-mount_mntent.Tpo mount-deprecated/$(DEPDIR)/umount-mount_mntent.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/mount_mntent.c' object='mount-deprecated/umount-mount_mntent.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount-mount_mntent.o `test -f 'mount-deprecated/mount_mntent.c' || echo '$(srcdir)/'`mount-deprecated/mount_mntent.c + +mount-deprecated/umount-mount_mntent.obj: mount-deprecated/mount_mntent.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount-mount_mntent.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/umount-mount_mntent.Tpo -c -o mount-deprecated/umount-mount_mntent.obj `if test -f 'mount-deprecated/mount_mntent.c'; then $(CYGPATH_W) 'mount-deprecated/mount_mntent.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/mount_mntent.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount-mount_mntent.Tpo mount-deprecated/$(DEPDIR)/umount-mount_mntent.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/mount_mntent.c' object='mount-deprecated/umount-mount_mntent.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount-mount_mntent.obj `if test -f 'mount-deprecated/mount_mntent.c'; then $(CYGPATH_W) 'mount-deprecated/mount_mntent.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/mount_mntent.c'; fi` + +mount-deprecated/umount-fsprobe.o: mount-deprecated/fsprobe.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount-fsprobe.o -MD -MP -MF mount-deprecated/$(DEPDIR)/umount-fsprobe.Tpo -c -o mount-deprecated/umount-fsprobe.o `test -f 'mount-deprecated/fsprobe.c' || echo '$(srcdir)/'`mount-deprecated/fsprobe.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount-fsprobe.Tpo mount-deprecated/$(DEPDIR)/umount-fsprobe.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/fsprobe.c' object='mount-deprecated/umount-fsprobe.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount-fsprobe.o `test -f 'mount-deprecated/fsprobe.c' || echo '$(srcdir)/'`mount-deprecated/fsprobe.c + +mount-deprecated/umount-fsprobe.obj: mount-deprecated/fsprobe.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount-fsprobe.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/umount-fsprobe.Tpo -c -o mount-deprecated/umount-fsprobe.obj `if test -f 'mount-deprecated/fsprobe.c'; then $(CYGPATH_W) 'mount-deprecated/fsprobe.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/fsprobe.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount-fsprobe.Tpo mount-deprecated/$(DEPDIR)/umount-fsprobe.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/fsprobe.c' object='mount-deprecated/umount-fsprobe.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount-fsprobe.obj `if test -f 'mount-deprecated/fsprobe.c'; then $(CYGPATH_W) 'mount-deprecated/fsprobe.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/fsprobe.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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +mount-deprecated/umount_static-umount.o: mount-deprecated/umount.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount_static-umount.o -MD -MP -MF mount-deprecated/$(DEPDIR)/umount_static-umount.Tpo -c -o mount-deprecated/umount_static-umount.o `test -f 'mount-deprecated/umount.c' || echo '$(srcdir)/'`mount-deprecated/umount.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount_static-umount.Tpo mount-deprecated/$(DEPDIR)/umount_static-umount.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/umount.c' object='mount-deprecated/umount_static-umount.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount_static-umount.o `test -f 'mount-deprecated/umount.c' || echo '$(srcdir)/'`mount-deprecated/umount.c + +mount-deprecated/umount_static-umount.obj: mount-deprecated/umount.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount_static-umount.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/umount_static-umount.Tpo -c -o mount-deprecated/umount_static-umount.obj `if test -f 'mount-deprecated/umount.c'; then $(CYGPATH_W) 'mount-deprecated/umount.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/umount.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount_static-umount.Tpo mount-deprecated/$(DEPDIR)/umount_static-umount.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/umount.c' object='mount-deprecated/umount_static-umount.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount_static-umount.obj `if test -f 'mount-deprecated/umount.c'; then $(CYGPATH_W) 'mount-deprecated/umount.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/umount.c'; fi` + +mount-deprecated/umount_static-sundries.o: mount-deprecated/sundries.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount_static-sundries.o -MD -MP -MF mount-deprecated/$(DEPDIR)/umount_static-sundries.Tpo -c -o mount-deprecated/umount_static-sundries.o `test -f 'mount-deprecated/sundries.c' || echo '$(srcdir)/'`mount-deprecated/sundries.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount_static-sundries.Tpo mount-deprecated/$(DEPDIR)/umount_static-sundries.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/sundries.c' object='mount-deprecated/umount_static-sundries.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount_static-sundries.o `test -f 'mount-deprecated/sundries.c' || echo '$(srcdir)/'`mount-deprecated/sundries.c + +mount-deprecated/umount_static-sundries.obj: mount-deprecated/sundries.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount_static-sundries.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/umount_static-sundries.Tpo -c -o mount-deprecated/umount_static-sundries.obj `if test -f 'mount-deprecated/sundries.c'; then $(CYGPATH_W) 'mount-deprecated/sundries.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/sundries.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount_static-sundries.Tpo mount-deprecated/$(DEPDIR)/umount_static-sundries.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/sundries.c' object='mount-deprecated/umount_static-sundries.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount_static-sundries.obj `if test -f 'mount-deprecated/sundries.c'; then $(CYGPATH_W) 'mount-deprecated/sundries.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/sundries.c'; fi` + +mount-deprecated/umount_static-devname.o: mount-deprecated/devname.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount_static-devname.o -MD -MP -MF mount-deprecated/$(DEPDIR)/umount_static-devname.Tpo -c -o mount-deprecated/umount_static-devname.o `test -f 'mount-deprecated/devname.c' || echo '$(srcdir)/'`mount-deprecated/devname.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount_static-devname.Tpo mount-deprecated/$(DEPDIR)/umount_static-devname.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/devname.c' object='mount-deprecated/umount_static-devname.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount_static-devname.o `test -f 'mount-deprecated/devname.c' || echo '$(srcdir)/'`mount-deprecated/devname.c + +mount-deprecated/umount_static-devname.obj: mount-deprecated/devname.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount_static-devname.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/umount_static-devname.Tpo -c -o mount-deprecated/umount_static-devname.obj `if test -f 'mount-deprecated/devname.c'; then $(CYGPATH_W) 'mount-deprecated/devname.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/devname.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount_static-devname.Tpo mount-deprecated/$(DEPDIR)/umount_static-devname.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/devname.c' object='mount-deprecated/umount_static-devname.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount_static-devname.obj `if test -f 'mount-deprecated/devname.c'; then $(CYGPATH_W) 'mount-deprecated/devname.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/devname.c'; fi` + +mount-deprecated/umount_static-fstab.o: mount-deprecated/fstab.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount_static-fstab.o -MD -MP -MF mount-deprecated/$(DEPDIR)/umount_static-fstab.Tpo -c -o mount-deprecated/umount_static-fstab.o `test -f 'mount-deprecated/fstab.c' || echo '$(srcdir)/'`mount-deprecated/fstab.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount_static-fstab.Tpo mount-deprecated/$(DEPDIR)/umount_static-fstab.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/fstab.c' object='mount-deprecated/umount_static-fstab.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount_static-fstab.o `test -f 'mount-deprecated/fstab.c' || echo '$(srcdir)/'`mount-deprecated/fstab.c + +mount-deprecated/umount_static-fstab.obj: mount-deprecated/fstab.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount_static-fstab.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/umount_static-fstab.Tpo -c -o mount-deprecated/umount_static-fstab.obj `if test -f 'mount-deprecated/fstab.c'; then $(CYGPATH_W) 'mount-deprecated/fstab.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/fstab.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount_static-fstab.Tpo mount-deprecated/$(DEPDIR)/umount_static-fstab.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/fstab.c' object='mount-deprecated/umount_static-fstab.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount_static-fstab.obj `if test -f 'mount-deprecated/fstab.c'; then $(CYGPATH_W) 'mount-deprecated/fstab.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/fstab.c'; fi` + +mount-deprecated/umount_static-getusername.o: mount-deprecated/getusername.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount_static-getusername.o -MD -MP -MF mount-deprecated/$(DEPDIR)/umount_static-getusername.Tpo -c -o mount-deprecated/umount_static-getusername.o `test -f 'mount-deprecated/getusername.c' || echo '$(srcdir)/'`mount-deprecated/getusername.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount_static-getusername.Tpo mount-deprecated/$(DEPDIR)/umount_static-getusername.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/getusername.c' object='mount-deprecated/umount_static-getusername.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount_static-getusername.o `test -f 'mount-deprecated/getusername.c' || echo '$(srcdir)/'`mount-deprecated/getusername.c + +mount-deprecated/umount_static-getusername.obj: mount-deprecated/getusername.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount_static-getusername.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/umount_static-getusername.Tpo -c -o mount-deprecated/umount_static-getusername.obj `if test -f 'mount-deprecated/getusername.c'; then $(CYGPATH_W) 'mount-deprecated/getusername.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/getusername.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount_static-getusername.Tpo mount-deprecated/$(DEPDIR)/umount_static-getusername.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/getusername.c' object='mount-deprecated/umount_static-getusername.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount_static-getusername.obj `if test -f 'mount-deprecated/getusername.c'; then $(CYGPATH_W) 'mount-deprecated/getusername.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/getusername.c'; fi` + +mount-deprecated/umount_static-mount_mntent.o: mount-deprecated/mount_mntent.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount_static-mount_mntent.o -MD -MP -MF mount-deprecated/$(DEPDIR)/umount_static-mount_mntent.Tpo -c -o mount-deprecated/umount_static-mount_mntent.o `test -f 'mount-deprecated/mount_mntent.c' || echo '$(srcdir)/'`mount-deprecated/mount_mntent.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount_static-mount_mntent.Tpo mount-deprecated/$(DEPDIR)/umount_static-mount_mntent.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/mount_mntent.c' object='mount-deprecated/umount_static-mount_mntent.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount_static-mount_mntent.o `test -f 'mount-deprecated/mount_mntent.c' || echo '$(srcdir)/'`mount-deprecated/mount_mntent.c + +mount-deprecated/umount_static-mount_mntent.obj: mount-deprecated/mount_mntent.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount_static-mount_mntent.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/umount_static-mount_mntent.Tpo -c -o mount-deprecated/umount_static-mount_mntent.obj `if test -f 'mount-deprecated/mount_mntent.c'; then $(CYGPATH_W) 'mount-deprecated/mount_mntent.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/mount_mntent.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount_static-mount_mntent.Tpo mount-deprecated/$(DEPDIR)/umount_static-mount_mntent.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/mount_mntent.c' object='mount-deprecated/umount_static-mount_mntent.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount_static-mount_mntent.obj `if test -f 'mount-deprecated/mount_mntent.c'; then $(CYGPATH_W) 'mount-deprecated/mount_mntent.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/mount_mntent.c'; fi` + +mount-deprecated/umount_static-fsprobe.o: mount-deprecated/fsprobe.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount_static-fsprobe.o -MD -MP -MF mount-deprecated/$(DEPDIR)/umount_static-fsprobe.Tpo -c -o mount-deprecated/umount_static-fsprobe.o `test -f 'mount-deprecated/fsprobe.c' || echo '$(srcdir)/'`mount-deprecated/fsprobe.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount_static-fsprobe.Tpo mount-deprecated/$(DEPDIR)/umount_static-fsprobe.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/fsprobe.c' object='mount-deprecated/umount_static-fsprobe.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount_static-fsprobe.o `test -f 'mount-deprecated/fsprobe.c' || echo '$(srcdir)/'`mount-deprecated/fsprobe.c + +mount-deprecated/umount_static-fsprobe.obj: mount-deprecated/fsprobe.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -MT mount-deprecated/umount_static-fsprobe.obj -MD -MP -MF mount-deprecated/$(DEPDIR)/umount_static-fsprobe.Tpo -c -o mount-deprecated/umount_static-fsprobe.obj `if test -f 'mount-deprecated/fsprobe.c'; then $(CYGPATH_W) 'mount-deprecated/fsprobe.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/fsprobe.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) mount-deprecated/$(DEPDIR)/umount_static-fsprobe.Tpo mount-deprecated/$(DEPDIR)/umount_static-fsprobe.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mount-deprecated/fsprobe.c' object='mount-deprecated/umount_static-fsprobe.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(umount_static_CFLAGS) $(CFLAGS) -c -o mount-deprecated/umount_static-fsprobe.obj `if test -f 'mount-deprecated/fsprobe.c'; then $(CYGPATH_W) 'mount-deprecated/fsprobe.c'; else $(CYGPATH_W) '$(srcdir)/mount-deprecated/fsprobe.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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +misc-utils/uuidd-sd-daemon.o: misc-utils/sd-daemon.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidd_CFLAGS) $(CFLAGS) -MT misc-utils/uuidd-sd-daemon.o -MD -MP -MF misc-utils/$(DEPDIR)/uuidd-sd-daemon.Tpo -c -o misc-utils/uuidd-sd-daemon.o `test -f 'misc-utils/sd-daemon.c' || echo '$(srcdir)/'`misc-utils/sd-daemon.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/uuidd-sd-daemon.Tpo misc-utils/$(DEPDIR)/uuidd-sd-daemon.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='misc-utils/sd-daemon.c' object='misc-utils/uuidd-sd-daemon.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidd_CFLAGS) $(CFLAGS) -c -o misc-utils/uuidd-sd-daemon.o `test -f 'misc-utils/sd-daemon.c' || echo '$(srcdir)/'`misc-utils/sd-daemon.c + +misc-utils/uuidd-sd-daemon.obj: misc-utils/sd-daemon.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidd_CFLAGS) $(CFLAGS) -MT misc-utils/uuidd-sd-daemon.obj -MD -MP -MF misc-utils/$(DEPDIR)/uuidd-sd-daemon.Tpo -c -o misc-utils/uuidd-sd-daemon.obj `if test -f 'misc-utils/sd-daemon.c'; then $(CYGPATH_W) 'misc-utils/sd-daemon.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/sd-daemon.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) misc-utils/$(DEPDIR)/uuidd-sd-daemon.Tpo misc-utils/$(DEPDIR)/uuidd-sd-daemon.Po +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='misc-utils/sd-daemon.c' object='misc-utils/uuidd-sd-daemon.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(uuidd_CFLAGS) $(CFLAGS) -c -o misc-utils/uuidd-sd-daemon.obj `if test -f 'misc-utils/sd-daemon.c'; then $(CYGPATH_W) 'misc-utils/sd-daemon.c'; else $(CYGPATH_W) '$(srcdir)/misc-utils/sd-daemon.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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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 +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ 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@ $(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` + +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 libmount/src/.libs libmount/src/_libs + -rm -rf libuuid/src/.libs libuuid/src/_libs + +distclean-libtool: + -rm -f libtool config.lt +install-man1: $(dist_man_MANS) $(man_MANS) + @$(NORMAL_INSTALL) + test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" + @list=''; test -n "$(man1dir)" || exit 0; \ + { 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'; \ + } | 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,.,'`; \ + test -z "$$files" || { \ + echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(man1dir)" && rm -f $$files; } +install-man3: $(dist_man_MANS) $(man_MANS) + @$(NORMAL_INSTALL) + test -z "$(man3dir)" || $(MKDIR_P) "$(DESTDIR)$(man3dir)" + @list=''; test -n "$(man3dir)" || exit 0; \ + { 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'; \ + } | 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,.,'`; \ + test -z "$$files" || { \ + echo " ( cd '$(DESTDIR)$(man3dir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(man3dir)" && rm -f $$files; } +install-man5: $(dist_man_MANS) $(man_MANS) + @$(NORMAL_INSTALL) + test -z "$(man5dir)" || $(MKDIR_P) "$(DESTDIR)$(man5dir)" + @list=''; test -n "$(man5dir)" || exit 0; \ + { 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'; \ + } | 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,.,'`; \ + test -z "$$files" || { \ + echo " ( cd '$(DESTDIR)$(man5dir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(man5dir)" && rm -f $$files; } +install-man8: $(dist_man_MANS) $(man_MANS) + @$(NORMAL_INSTALL) + test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)" + @list=''; test -n "$(man8dir)" || exit 0; \ + { 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'; \ + } | 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,.,'`; \ + test -z "$$files" || { \ + echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(man8dir)" && rm -f $$files; } +install-pkgconfigDATA: $(pkgconfig_DATA) + @$(NORMAL_INSTALL) + test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ + 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|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files +install-ruman1DATA: $(ruman1_DATA) + @$(NORMAL_INSTALL) + test -z "$(ruman1dir)" || $(MKDIR_P) "$(DESTDIR)$(ruman1dir)" + @list='$(ruman1_DATA)'; test -n "$(ruman1dir)" || list=; \ + 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)$(ruman1dir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(ruman1dir)" || exit $$?; \ + done + +uninstall-ruman1DATA: + @$(NORMAL_UNINSTALL) + @list='$(ruman1_DATA)'; test -n "$(ruman1dir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(ruman1dir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(ruman1dir)" && rm -f $$files +install-systemdsystemunitDATA: $(systemdsystemunit_DATA) + @$(NORMAL_INSTALL) + test -z "$(systemdsystemunitdir)" || $(MKDIR_P) "$(DESTDIR)$(systemdsystemunitdir)" + @list='$(systemdsystemunit_DATA)'; test -n "$(systemdsystemunitdir)" || list=; \ + 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|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(systemdsystemunitdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(systemdsystemunitdir)" && rm -f $$files +install-nodist_blkidincHEADERS: $(nodist_blkidinc_HEADERS) + @$(NORMAL_INSTALL) + test -z "$(blkidincdir)" || $(MKDIR_P) "$(DESTDIR)$(blkidincdir)" + @list='$(nodist_blkidinc_HEADERS)'; test -n "$(blkidincdir)" || list=; \ + 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|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(blkidincdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(blkidincdir)" && rm -f $$files +install-nodist_mountincHEADERS: $(nodist_mountinc_HEADERS) + @$(NORMAL_INSTALL) + test -z "$(mountincdir)" || $(MKDIR_P) "$(DESTDIR)$(mountincdir)" + @list='$(nodist_mountinc_HEADERS)'; test -n "$(mountincdir)" || list=; \ + 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|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(mountincdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(mountincdir)" && rm -f $$files +install-uuidincHEADERS: $(uuidinc_HEADERS) + @$(NORMAL_INSTALL) + test -z "$(uuidincdir)" || $(MKDIR_P) "$(DESTDIR)$(uuidincdir)" + @list='$(uuidinc_HEADERS)'; test -n "$(uuidincdir)" || list=; \ + 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|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(uuidincdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(uuidincdir)" && rm -f $$files + +# 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. +$(RECURSIVE_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; 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" + +$(RECURSIVE_CLEAN_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + 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; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + 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 +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + 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" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +check-TESTS: $(TESTS) + @failed=0; all=0; xfail=0; xpass=0; skip=0; \ + srcdir=$(srcdir); export srcdir; \ + list=' $(TESTS) '; \ + $(am__tty_colors); \ + if test -n "$$list"; then \ + for tst in $$list; do \ + if test -f ./$$tst; then dir=./; \ + elif test -f $$tst; then dir=; \ + else dir="$(srcdir)/"; fi; \ + if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *[\ \ ]$$tst[\ \ ]*) \ + xpass=`expr $$xpass + 1`; \ + failed=`expr $$failed + 1`; \ + col=$$red; res=XPASS; \ + ;; \ + *) \ + col=$$grn; res=PASS; \ + ;; \ + esac; \ + elif test $$? -ne 77; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *[\ \ ]$$tst[\ \ ]*) \ + xfail=`expr $$xfail + 1`; \ + col=$$lgn; res=XFAIL; \ + ;; \ + *) \ + failed=`expr $$failed + 1`; \ + col=$$red; res=FAIL; \ + ;; \ + esac; \ + else \ + skip=`expr $$skip + 1`; \ + col=$$blu; res=SKIP; \ + fi; \ + echo "$${col}$$res$${std}: $$tst"; \ + done; \ + if test "$$all" -eq 1; then \ + tests="test"; \ + All=""; \ + else \ + tests="tests"; \ + All="All "; \ + fi; \ + if test "$$failed" -eq 0; then \ + if test "$$xfail" -eq 0; then \ + banner="$$All$$all $$tests passed"; \ + else \ + if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \ + banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \ + fi; \ + else \ + if test "$$xpass" -eq 0; then \ + banner="$$failed of $$all $$tests failed"; \ + else \ + if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \ + banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \ + fi; \ + fi; \ + dashes="$$banner"; \ + skipped=""; \ + if test "$$skip" -ne 0; then \ + if test "$$skip" -eq 1; then \ + skipped="($$skip test was not run)"; \ + else \ + skipped="($$skip tests were not run)"; \ + fi; \ + test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$skipped"; \ + fi; \ + report=""; \ + if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ + report="Please report to $(PACKAGE_BUGREPORT)"; \ + test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$report"; \ + fi; \ + dashes=`echo "$$dashes" | sed s/./=/g`; \ + if test "$$failed" -eq 0; then \ + echo "$$grn$$dashes"; \ + else \ + echo "$$red$$dashes"; \ + fi; \ + echo "$$banner"; \ + test -z "$$skipped" || echo "$$skipped"; \ + test -z "$$report" || echo "$$report"; \ + echo "$$dashes$$std"; \ + test "$$failed" -eq 0; \ + else :; fi + +distdir: $(DISTFILES) + @list='$(MANS)'; if test -n "$$list"; then \ + list=`for p in $$list; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ + if test -n "$$list" && \ + grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ + grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ + echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ + echo " typically \`make maintainer-clean' will remove them" >&2; \ + exit 1; \ + else :; fi; \ + else :; fi + $(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 \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + 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) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist-lzma: distdir + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma + $(am__remove_distdir) +dist-xz: distdir + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz + $(am__remove_distdir) + +dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__remove_distdir) + +dist dist-all: distdir + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz + $(am__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*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lzma*) \ + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/_build + mkdir $(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 \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(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__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: + @$(am__cd) '$(distuninstallcheck_dir)' \ + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + || { 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) + $(MAKE) $(AM_MAKEFLAGS) check-TESTS 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)$(usrlib_execdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(usrbin_execdir)" "$(DESTDIR)$(usrsbin_execdir)" "$(DESTDIR)$(getoptexampledir)" "$(DESTDIR)$(usrbin_execdir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(ruman1dir)" "$(DESTDIR)$(systemdsystemunitdir)" "$(DESTDIR)$(blkidincdir)" "$(DESTDIR)$(mountincdir)" "$(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: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +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 fdisks/$(DEPDIR)/$(am__dirstamp) + -rm -f fdisks/$(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 libmount/src/$(DEPDIR)/$(am__dirstamp) + -rm -f libmount/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 mount-deprecated/$(DEPDIR)/$(am__dirstamp) + -rm -f mount-deprecated/$(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." + -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-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) fdisks/$(DEPDIR) lib/$(DEPDIR) libblkid/samples/$(DEPDIR) libblkid/src/$(DEPDIR) libblkid/src/partitions/$(DEPDIR) libblkid/src/superblocks/$(DEPDIR) libblkid/src/topology/$(DEPDIR) libmount/src/$(DEPDIR) libuuid/src/$(DEPDIR) login-utils/$(DEPDIR) misc-utils/$(DEPDIR) mount-deprecated/$(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_getoptexampleSCRIPTS install-man \ + install-nodist_blkidincHEADERS install-nodist_mountincHEADERS \ + install-pkgconfigDATA install-ruman1DATA \ + 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-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) fdisks/$(DEPDIR) lib/$(DEPDIR) libblkid/samples/$(DEPDIR) libblkid/src/$(DEPDIR) libblkid/src/partitions/$(DEPDIR) libblkid/src/superblocks/$(DEPDIR) libblkid/src/topology/$(DEPDIR) libmount/src/$(DEPDIR) libuuid/src/$(DEPDIR) login-utils/$(DEPDIR) misc-utils/$(DEPDIR) mount-deprecated/$(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_getoptexampleSCRIPTS \ + uninstall-dist_usrbin_execSCRIPTS uninstall-man \ + uninstall-nodist_blkidincHEADERS \ + uninstall-nodist_mountincHEADERS uninstall-pkgconfigDATA \ + uninstall-ruman1DATA 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: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \ + check-am ctags-recursive install install-am install-data-am \ + install-exec-am install-strip tags-recursive uninstall-am + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am am--refresh check check-TESTS check-am check-local \ + clean clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ + clean-libtool clean-local clean-noinstLTLIBRARIES \ + clean-noinstPROGRAMS clean-sbinPROGRAMS \ + clean-usrbin_execPROGRAMS clean-usrlib_execLTLIBRARIES \ + clean-usrsbin_execPROGRAMS ctags ctags-recursive dist dist-all \ + dist-bzip2 dist-gzip dist-hook dist-lzma 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_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_mountincHEADERS \ + install-pdf install-pdf-am install-pkgconfigDATA install-ps \ + install-ps-am install-ruman1DATA 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-recursive uninstall uninstall-am \ + uninstall-binPROGRAMS uninstall-dist_getoptexampleSCRIPTS \ + uninstall-dist_usrbin_execSCRIPTS uninstall-hook uninstall-man \ + uninstall-man1 uninstall-man3 uninstall-man5 uninstall-man8 \ + uninstall-nodist_blkidincHEADERS \ + uninstall-nodist_mountincHEADERS uninstall-pkgconfigDATA \ + uninstall-ruman1DATA uninstall-sbinPROGRAMS \ + uninstall-systemdsystemunitDATA uninstall-usrbin_execPROGRAMS \ + uninstall-usrlib_execLTLIBRARIES \ + uninstall-usrsbin_execPROGRAMS uninstall-uuidincHEADERS + + +# move lib from $(usrlib_execdir) to $(libdir) if needed +@BUILD_LIBUUID_TRUE@install-exec-hook-libuuid: +@BUILD_LIBUUID_TRUE@ if test "$(usrlib_execdir)" != "$(libdir)"; 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)"; 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)"; 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* +@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_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_SETUID_TRUE@ chmod 4755 $(DESTDIR)$(bindir)/su +@BUILD_VIPW_TRUE@ cd $(DESTDIR)$(usrsbin_execdir) && ln -sf vipw vigr + +@BUILD_DEPRECATED_MOUNT_TRUE@@MAKEINSTALL_DO_SETUID_TRUE@install-exec-hook-mount: +@BUILD_DEPRECATED_MOUNT_TRUE@@MAKEINSTALL_DO_SETUID_TRUE@ chmod 4755 $(DESTDIR)$(bindir)/mount +@BUILD_DEPRECATED_MOUNT_TRUE@@MAKEINSTALL_DO_SETUID_TRUE@ chmod 4755 $(DESTDIR)$(bindir)/umount + +@LINUX_TRUE@$(SETARCH_MAN_LINKS): +@LINUX_TRUE@ $(AM_V_GEN)echo ".so man8/setarch.8" > $@ + +@LINUX_TRUE@install-exec-hook-setarch: +@LINUX_TRUE@ for I in $(SETARCH_LINKS); do \ +@LINUX_TRUE@ cd $(DESTDIR)$(usrbin_execdir) && ln -sf setarch $$I ; \ +@LINUX_TRUE@ done + +@LINUX_TRUE@uninstall-hook-setarch: +@LINUX_TRUE@ for I in $(SETARCH_LINKS); do \ +@LINUX_TRUE@ rm -f $(DESTDIR)$(usrbin_execdir)/$$I ; \ +@LINUX_TRUE@ done + +@BUILD_MOUNT_TRUE@@MAKEINSTALL_DO_SETUID_TRUE@install-exec-hook-mount: +@BUILD_MOUNT_TRUE@@MAKEINSTALL_DO_SETUID_TRUE@ chmod 4755 $(DESTDIR)$(bindir)/mount +@BUILD_MOUNT_TRUE@@MAKEINSTALL_DO_SETUID_TRUE@ chmod 4755 $(DESTDIR)$(bindir)/umount + +clean-local-tests: + rm -rf $(top_builddir)/tests/output $(top_builddir)/tests/diff + +check-local-tests: $(check_PROGRAMS) + $(top_srcdir)/tests/run.sh --srcdir=$(abs_top_srcdir) --builddir=$(abs_top_builddir) --nonroot + +$(PATHFILES): Makefile + @ rm -f $@ $@.tmp + $(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 +.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..6c292a5 --- /dev/null +++ b/NEWS @@ -0,0 +1,1691 @@ +util-linux 2.22: Sep 04 2012 +* see Documentation/releases/v2.22-ReleaseNotes or complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.21/v2.21-rc1-ChangeLog + +util-linux 2.20: Aug 29 2011 +* see docs/v2.20-ReleaseNotes or complete changelog at + ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.20/v2.20-ChangeLog + +util-linux 2.20-rc2: Aug 17 2011 +* see docs/v2.20-ReleaseNotes or complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.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 complete changelog at + ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.14/v2.14-ChangeLog + +util-linux-ng 2.14-rc3 +* see Documentation/releases/v2.14-ReleaseNotes or complete changelog at + ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.14/v2.14-rc3-ChangeLog + +util-linux-ng 2.14-rc2 +* see Documentation/releases/v2.14-ReleaseNotes or complete changelog at + ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.14/v2.14-rc2-ChangeLog + +util-linux-ng 2.14-rc1 +* see Documentation/releases/v2.14-ReleaseNotes or complete changelog at + ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.14/v2.14-rc1-ChangeLog + +util-linux-ng 2.13 + +* see Documentation/releases/v2.13-ReleaseNotes or complete changelog at + ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.13/v2.13-ChangeLog + +util-linux-ng 2.13-rc3 + +* see Documentation/releases/v2.13-ReleaseNotes or complete changelog at + ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.13/v2.13-rc3-ChangeLog + +util-linux-ng 2.13-rc2 + +* see Documentation/releases/v2.13-ReleaseNotes or complete changelog at + ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.13/v2.13-rc2-ChangeLog + +util-linux-ng 2.13-rc1 + +* see Documentation/releases/v2.13-ReleaseNotes or complete changelog at + ftp://ftp.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: dont 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 Perez) +* Danish messages (Claus Hindsgaul) +* Dutch messages (Taco Witte) +* Finnish messages (Lauri Nurmi) +* French messages (Michel Robitaille) +* German messages (Michael Piefel) +* Slovenian messages (Primoz 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 Perez) +* Danish messages (Claus Hindsgaul) +* Dutch messages (Taco Witte) +* Finnish messages (Lauri Nurmi) +* French messages (Michel Robitaille) - HURRAY! +* German messages (Michael Piefel) +* Slovenian messages (Primoz 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 (Gyorgy Kovesdi) +* mount.8: add dmask and fmask vfat mount options +* pg: compilation fix (Joachim Henke) +* script: localized time strings (Goeran 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 Purczynski) +* more: bigendian fix + +util-linux 2.11v + +* Catalan messages (Antoni Bella Perez) +* Finnish messages (Lauri Nurmi) +* Very few Russian messages (panivan@yandex.ru) +* Slovenian messages (Primoz 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 (Michal 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 Miskiewicz) +* 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 (Jiri Pavlovsky) + +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 (Jiri Pavlovsky) +* 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 (Jiri Pavlovsky) +* 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 +* behaviour 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: + +HIGLIGHTS for version 2.7: + +1) util-linux now _requires_ ncurses. Several programs are completely + converted to use terminfo (instead of termcap). + +2) Removed progams: + - 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 enhancments 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 + releated 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..6dc5199 --- /dev/null +++ b/README @@ -0,0 +1,47 @@ + + util-linux + + util-linux is a random collection of Linux utilities + + Note that in years 2006-2010 this project used the name "util-linux-ng". + +MAILING LIST: + + E-MAIL: util-linux@vger.kernel.org + URL: http://vger.kernel.org/vger-lists.html#util-linux + + +DOWNLOAD: + + ftp://ftp.kernel.org/pub/linux/utils/util-linux/ + + +SOURCE CODE: + + Web interface: + http://git.kernel.org/?p=utils/util-linux/util-linux.git + https://github.com/karelzak/util-linux + Checkout: + git clone git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git util-linux + + +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 + bugfix = unplanned releases for critical/security bugs + + Development releases: + + .-rc diff --git a/README.licensing b/README.licensing new file mode 100644 index 0000000..b29883c --- /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: + + * GPLv3+ (GNU General Public License version 3, or any later version) + + * GPLv2+ (GNU General Public License version 2, or any later version) + + * GPLv2 (GNU General Public License version 2) + + * LGPLv2+ (GNU Lesser General Public License v2 (or 2.1) or any later version) + + * BSD with advertising + + * Public Domain + +Please, check the source code for more details. A license is usually at the start +of each source file. + +The /COPYING file (GPLv2+) 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..129cf8c --- /dev/null +++ b/aclocal.m4 @@ -0,0 +1,1205 @@ +# generated automatically by aclocal 1.11.1 -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005, 2006, 2007, 2008, 2009 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_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, +[m4_warning([this file was generated for autoconf 2.68. +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 1 (pkg-config-0.24) +# +# Copyright © 2004 Scott James Remnant . +# +# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# 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. + +# PKG_PROG_PKG_CONFIG([MIN-VERSION]) +# ---------------------------------- +AC_DEFUN([PKG_PROG_PKG_CONFIG], +[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) +m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) +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 +])# PKG_PROG_PKG_CONFIG + +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# +# Check to see whether a particular set of modules exists. Similar +# to PKG_CHECK_MODULES(), but does not set variables or print errors. +# +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +# only at the first occurence in configure.ac, so if the first place +# it's called might be skipped (such as if it is within an "if", you +# 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]) + +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) +# --------------------------------------------- +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`], + [pkg_failed=yes]) + else + pkg_failed=untried +fi[]dnl +])# _PKG_CONFIG + +# _PKG_SHORT_ERRORS_SUPPORTED +# ----------------------------- +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 +])# _PKG_SHORT_ERRORS_SUPPORTED + + +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], +# [ACTION-IF-NOT-FOUND]) +# +# +# Note that if there is a possibility the first call to +# PKG_CHECK_MODULES might not happen, you should be sure to include an +# 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 "$2" 2>&1` + else + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$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]) + ]) +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 .]) + ]) +else + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS + AC_MSG_RESULT([yes]) + $3 +fi[]dnl +])# PKG_CHECK_MODULES + +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 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.11' +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.11.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.11.1])dnl +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) + +# AM_AUX_DIR_EXPAND -*- Autoconf -*- + +# Copyright (C) 2001, 2003, 2005 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], +[dnl Rely on autoconf to set up CDPATH properly. +AC_PREREQ([2.50])dnl +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 +# 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. + +# serial 9 + +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[AC_PREREQ(2.52)dnl + ifelse([$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, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 +# 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. + +# serial 10 + +# 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", "GCJ", or "OBJC". +# 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 + +ifelse([$1], CC, [depcc="$CC" am_compiler_list=], + [$1], CXX, [depcc="$CXX" am_compiler_list=], + [$1], OBJC, [depcc="$OBJC" 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'. + 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 8's {/usr,}/bin/sh. + touch 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 + ;; + 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, +[ --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors]) +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +AC_SUBST([AMDEPBACKSLASH])dnl +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl +]) + +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 +# 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. + +#serial 5 + +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[{ + # Autoconf 2.62 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"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //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' -e 's/\$U/'"$U"'/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, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005, 2006, 2008, 2009 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. + +# serial 16 + +# 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. + +# 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.62])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], +[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], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, + [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([AM_PROG_MKDIR_P])dnl +# We need awk for the "check" target. 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)], + [define([AC_PROG_CC], + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES(CXX)], + [define([AC_PROG_CXX], + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES(OBJC)], + [define([AC_PROG_OBJC], + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl +]) +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro +dnl 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 +]) + +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, 2003, 2005, 2008 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}" != 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, 2005 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. + +# serial 2 + +# 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, 2002, 2003, 2005, 2009 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. + +# serial 4 + +# 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 +]) + +# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008 +# 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. + +# serial 6 + +# AM_PROG_CC_C_O +# -------------- +# Like AC_PROG_CC_C_O, but changed for automake. +AC_DEFUN([AM_PROG_CC_C_O], +[AC_REQUIRE([AC_PROG_CC_C_O])dnl +AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([compile])dnl +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o +if test "$am_t" != 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 +dnl Make sure AC_PROG_CC is never called again, or it will override our +dnl setting of CC. +m4_define([AC_PROG_CC], + [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) +]) + +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- + +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 +# 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. + +# serial 6 + +# 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 supports --run. +# If it does, 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 --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + AC_MSG_WARN([`missing' script is too old or missing]) +fi +]) + +# Copyright (C) 2003, 2004, 2005, 2006 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_MKDIR_P +# --------------- +# Check for `mkdir -p'. +AC_DEFUN([AM_PROG_MKDIR_P], +[AC_PREREQ([2.60])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, +dnl while keeping a definition of mkdir_p for backward compatibility. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of +dnl Makefile.ins that do not define MKDIR_P, so we do our own +dnl adjustment using top_builddir (which is defined more often than +dnl MKDIR_P). +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl +case $mkdir_p in + [[\\/$]]* | ?:[[\\/]]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac +]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003, 2005, 2008 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. + +# serial 4 + +# _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) 2001, 2003, 2005 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, 1997, 2000, 2001, 2003, 2005, 2008 +# 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. + +# serial 5 + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Just in case +sleep 1 +echo timestamp > conftest.file +# 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 ( + 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 + rm -f conftest.file + 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 + + 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)]) + +# Copyright (C) 2009 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. + +# serial 1 + +# 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], +[ --enable-silent-rules less verbose build output (undo: `make V=1') + --disable-silent-rules verbose build output (undo: `make V=0')]) +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 +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl +AM_BACKSLASH='\' +AC_SUBST([AM_BACKSLASH])dnl +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl +]) + +# Copyright (C) 2001, 2003, 2005 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, 2008 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. + +# serial 2 + +# _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, 2005 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. + +# serial 2 + +# _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. +AM_MISSING_PROG([AMTAR], [tar]) +m4_if([$1], [v7], + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], + [m4_case([$1], [ustar],, [pax],, + [m4_fatal([Unknown tar format])]) +AC_MSG_CHECKING([how to create a $1 tar archive]) +# Loop over all known methods to create a tar archive until one works. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' +_am_tools=${am_cv_prog_tar_$1-$_am_tools} +# Do not fold the above two line into one, because Tru64 sh and +# Solaris sh will not grok spaces in the rhs of `-'. +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/compiler.m4]) +m4_include([m4/gettext.m4]) +m4_include([m4/gtk-doc.m4]) +m4_include([m4/iconv.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..2bcbda7 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,100 @@ +#!/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 +HAS_GTKDOC=1 + +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 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 util-linux build system." + echo + DIE=1 +} +(autoheader --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "You must have autoheader installed to generate util-linux build system." + echo "The autoheader command is part of the GNU autoconf package." + echo + DIE=1 +} +(libtool --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "You must have libtool-2 installed to generate util-linux build system." + echo + DIE=1 +} +(automake --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "You must have automake installed to generate util-linux build system." + echo + DIE=1 +} + +ltver=$(libtoolize --version | awk '/^libtoolize/ { print $4 }') +ltver=${ltver:-"none"} +test ${ltver##2.} = "$ltver" && { + echo "You must have libtool version >= 2.x.x, but you have $ltver." + DIE=1 +} + +if test "$DIE" -eq 1; then + exit 1 +fi + +echo +echo "Generate build-system by:" +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)" + +rm -rf autom4te.cache + +set -e +po/update-potfiles +autopoint --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/config.h.in b/config.h.in new file mode 100644 index 0000000..d5fb010 --- /dev/null +++ b/config.h.in @@ -0,0 +1,626 @@ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD + +/* 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 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 `ADDR_COMPAT_LAYOUT', and to 0 + if you don't. */ +#undef HAVE_DECL_ADDR_COMPAT_LAYOUT + +/* Define to 1 if you have the declaration of `ADDR_LIMIT_32BIT', and to 0 if + you don't. */ +#undef HAVE_DECL_ADDR_LIMIT_32BIT + +/* Define to 1 if you have the declaration of `ADDR_LIMIT_3GB', and to 0 if + you don't. */ +#undef HAVE_DECL_ADDR_LIMIT_3GB + +/* Define to 1 if you have the declaration of `ADDR_NO_RANDOMIZE', and to 0 if + you don't. */ +#undef HAVE_DECL_ADDR_NO_RANDOMIZE + +/* 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 `FDPIC_FUNCPTRS', and to 0 if + you don't. */ +#undef HAVE_DECL_FDPIC_FUNCPTRS + +/* Define to 1 if you have the declaration of `MMAP_PAGE_ZERO', and to 0 if + you don't. */ +#undef HAVE_DECL_MMAP_PAGE_ZERO + +/* Define to 1 if you have the declaration of `READ_IMPLIES_EXEC', and to 0 if + you don't. */ +#undef HAVE_DECL_READ_IMPLIES_EXEC + +/* Define to 1 if you have the declaration of `STICKY_TIMEOUTS', and to 0 if + you don't. */ +#undef HAVE_DECL_STICKY_TIMEOUTS + +/* Define to 1 if you have the declaration of `UNAME26', and to 0 if you + don't. */ +#undef HAVE_DECL_UNAME26 + +/* Define to 1 if you have the declaration of `WHOLE_SECONDS', and to 0 if you + don't. */ +#undef HAVE_DECL_WHOLE_SECONDS + +/* 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 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 + +/* Have valid fallocate() function */ +#undef HAVE_FALLOCATE + +/* Define to 1 if you have the header file. */ +#undef HAVE_FCNTL_H + +/* 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 `getrlimit' function. */ +#undef HAVE_GETRLIMIT + +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + +/* Define if you have the iconv() function. */ +#undef HAVE_ICONV + +/* Define to 1 if you have the `inotify_init' function. */ +#undef HAVE_INOTIFY_INIT + +/* 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 `jrand48' function. */ +#undef HAVE_JRAND48 + +/* Define to 1 if you have the header file. */ +#undef HAVE_LANGINFO_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 + +/* Do we need -lcrypt? */ +#undef HAVE_LIBCRYPT + +/* Define to 1 if you have the `ncurses' library (-lncurses). */ +#undef HAVE_LIBNCURSES + +/* Define to 1 if you have the `ncursesw' library (-lncursesw). */ +#undef HAVE_LIBNCURSESW + +/* Define to 1 if you have the `selinux' library (-lselinux). */ +#undef HAVE_LIBSELINUX + +/* Define to 1 if you have the `termcap' library (-ltermcap). */ +#undef HAVE_LIBTERMCAP + +/* Define to 1 if you have the `udev' library (-ludev). */ +#undef HAVE_LIBUDEV + +/* 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 -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_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_MAJOR_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_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 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_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_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 `openat' function. */ +#undef HAVE_OPENAT + +/* 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 + +/* 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 `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 `security_get_initial_context' function. */ +#undef HAVE_SECURITY_GET_INITIAL_CONTEXT + +/* Define to 1 if you have the header file. */ +#undef HAVE_SECURITY_PAM_MISC_H + +/* 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 `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 + +/* 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 you have the `strtoull' function. */ +#undef HAVE_STRTOULL + +/* 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 you have the `sysconf' function. */ +#undef HAVE_SYSCONF + +/* 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_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_PRCTL_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_QUEUE_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_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_TIME_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_UN_H + +/* 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 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 `updwtmp' function. */ +#undef HAVE_UPDWTMP + +/* Define to 1 if you have the `usleep' function. */ +#undef HAVE_USLEEP + +/* Define to 1 if you want to use uuid daemon. */ +#undef HAVE_UUIDD + +/* 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 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 + +/* libmount version string */ +#undef LIBMOUNT_VERSION + +/* Should login chown /dev/vcsN? */ +#undef LOGIN_CHOWN_VCS + +/* Should login stat() the mailbox? */ +#undef LOGIN_STAT_MAIL + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#undef LT_OBJDIR + +/* Define to 1 if your C compiler doesn't accept -c and -o together. */ +#undef NO_MINUS_C_MINUS_O + +/* 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 + +/* Should chfn and chsh require the user to enter the password? */ +#undef REQUIRE_PASSWORD + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Is swapon() declared with two parameters? */ +#undef SWAPON_HAS_TWO_ARGS + +/* 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 unshare */ +#undef SYS_unshare + +/* Should uuidd support socket activation? */ +#undef USE_SOCKET_ACTIVATION + +/* 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 + +/* 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 + +/* 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/compile b/config/compile new file mode 100755 index 0000000..c0096a7 --- /dev/null +++ b/config/compile @@ -0,0 +1,143 @@ +#! /bin/sh +# Wrapper for compilers which do not understand `-c -o'. + +scriptversion=2009-10-06.20; # UTC + +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 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 +# . + +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 $? + ;; +esac + +ofile= +cfile= +eat= + +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: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/config/config.guess b/config/config.guess new file mode 100755 index 0000000..dc84c68 --- /dev/null +++ b/config/config.guess @@ -0,0 +1,1501 @@ +#! /bin/sh +# Attempt to guess a canonical system name. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 +# Free Software Foundation, Inc. + +timestamp='2009-11-20' + +# 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 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. +# +# 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 Per Bothner. Please send patches (context +# diff format) to and include a ChangeLog +# entry. +# +# This script attempts to guess a canonical system name similar to +# config.sub. If it succeeds, it prints the system name on stdout, and +# exits with 0. Otherwise, it exits with 1. +# +# 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;hb=HEAD + +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 (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, +2002, 2003, 2004, 2005, 2006, 2007, 2008 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 + +# 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 tupples: *-*-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=`(/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 ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in + 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 + # 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/[-_].*/\./'` + ;; + 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}" + exit ;; + *:OpenBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${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 ;; + 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'` + exit ;; + 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:*:[456]) + 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/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + 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:*:*) + case ${UNAME_MACHINE} in + pc98) + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + amd64) + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + *) + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + esac + exit ;; + i*:CYGWIN*:*) + echo ${UNAME_MACHINE}-pc-cygwin + exit ;; + *:MINGW*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + 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-gnu`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 '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu + exit ;; + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + 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="libc1" ; else LIBC="" ; fi + echo ${UNAME_MACHINE}-unknown-linux-gnu${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-gnu + else + echo ${UNAME_MACHINE}-unknown-linux-gnueabi + fi + exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + cris:Linux:*:*) + echo cris-axis-linux-gnu + exit ;; + crisv32:Linux:*:*) + echo crisv32-axis-linux-gnu + exit ;; + frv:Linux:*:*) + echo frv-unknown-linux-gnu + exit ;; + i*86:Linux:*:*) + LIBC=gnu + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #ifdef __dietlibc__ + LIBC=dietlibc + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` + echo "${UNAME_MACHINE}-pc-linux-${LIBC}" + exit ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + 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-gnu"; exit; } + ;; + or32:Linux:*:*) + echo or32-unknown-linux-gnu + exit ;; + padre:Linux:*:*) + echo sparc-unknown-linux-gnu + exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu + 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-gnu ;; + PA8*) echo hppa2.0-unknown-linux-gnu ;; + *) echo hppa-unknown-linux-gnu ;; + esac + exit ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu + exit ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux + exit ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + vax:Linux:*:*) + echo ${UNAME_MACHINE}-dec-linux-gnu + exit ;; + x86_64:Linux:*:*) + echo x86_64-unknown-linux-gnu + exit ;; + xtensa*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + 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 configury 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 ;; + 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 ;; + 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 + case $UNAME_PROCESSOR in + i386) + eval $set_cc_for_build + 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 + UNAME_PROCESSOR="x86_64" + fi + fi ;; + unknown) UNAME_PROCESSOR=powerpc ;; + esac + 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 ;; + NSE-?:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk${UNAME_RELEASE} + exit ;; + NSR-?:NONSTOP_KERNEL:*:*) + echo nsr-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 ;; +esac + +#echo '(No uname command or uname output not recognized.)' 1>&2 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 + +eval $set_cc_for_build +cat >$dummy.c < +# include +#endif +main () +{ +#if defined (sony) +#if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); +#else +#include + printf ("m68k-sony-newsos%s\n", +#ifdef NEWSOS4 + "4" +#else + "" +#endif + ); exit (0); +#endif +#endif + +#if defined (__arm) && defined (__acorn) && defined (__unix) + printf ("arm-acorn-riscix\n"); exit (0); +#endif + +#if defined (hp300) && !defined (hpux) + printf ("m68k-hp-bsd\n"); exit (0); +#endif + +#if defined (NeXT) +#if !defined (__ARCHITECTURE__) +#define __ARCHITECTURE__ "m68k" +#endif + int version; + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; + if (version < 4) + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); + else + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); + exit (0); +#endif + +#if defined (MULTIMAX) || defined (n16) +#if defined (UMAXV) + printf ("ns32k-encore-sysv\n"); exit (0); +#else +#if defined (CMU) + printf ("ns32k-encore-mach\n"); exit (0); +#else + printf ("ns32k-encore-bsd\n"); exit (0); +#endif +#endif +#endif + +#if defined (__386BSD__) + printf ("i386-pc-bsd\n"); exit (0); +#endif + +#if defined (sequent) +#if defined (i386) + printf ("i386-sequent-dynix\n"); exit (0); +#endif +#if defined (ns32000) + printf ("ns32k-sequent-dynix\n"); exit (0); +#endif +#endif + +#if defined (_SEQUENT_) + struct utsname un; + + uname(&un); + + if (strncmp(un.version, "V2", 2) == 0) { + printf ("i386-sequent-ptx2\n"); exit (0); + } + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ + printf ("i386-sequent-ptx1\n"); exit (0); + } + printf ("i386-sequent-ptx\n"); exit (0); + +#endif + +#if defined (vax) +# if !defined (ultrix) +# include +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif +#endif + +#if defined (alliant) && defined (i860) + printf ("i860-alliant-bsd\n"); exit (0); +#endif + + exit (1); +} +EOF + +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + +# Apollos put the system type in the environment. + +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } + +# Convex versions that predate uname can use getsysinfo(1) + +if [ -x /usr/convex/getsysinfo ] +then + case `getsysinfo -f cpu_type` in + c1*) + echo c1-convex-bsd + exit ;; + c2*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + c34*) + echo c34-convex-bsd + exit ;; + c38*) + echo c38-convex-bsd + exit ;; + c4*) + echo c4-convex-bsd + exit ;; + esac +fi + +cat >&2 < in order to provide the needed +information to handle your system. + +config.guess timestamp = $timestamp + +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` +/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..4db13e5 --- /dev/null +++ b/config/config.rpath @@ -0,0 +1,548 @@ +#! /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-2003 Free Software Foundation, Inc. +# Taken from GNU libtool, 2001 +# Originally by Gordon Matzigkeit , 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 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# 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. +# +# 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 M$VC, +# 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 AC_LIBTOOL_PROG_COMPILER_PIC. + +wl= +if test "$GCC" = yes; then + wl='-Wl,' +else + case "$host_os" in + aix*) + wl='-Wl,' + ;; + mingw* | pw32* | os2*) + ;; + hpux9* | hpux10* | hpux11*) + wl='-Wl,' + ;; + irix5* | irix6* | nonstopux*) + wl='-Wl,' + ;; + newsos6) + ;; + linux*) + case $CC in + icc|ecc) + wl='-Wl,' + ;; + ccc) + wl='-Wl,' + ;; + esac + ;; + osf3* | osf4* | osf5*) + wl='-Wl,' + ;; + sco3.2v5*) + ;; + solaris*) + wl='-Wl,' + ;; + sunos4*) + wl='-Qoption ld ' + ;; + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + wl='-Wl,' + ;; + sysv4*MP*) + ;; + uts4*) + ;; + esac +fi + +# Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS. + +hardcode_libdir_flag_spec= +hardcode_libdir_separator= +hardcode_direct=no +hardcode_minus_L=no + +case "$host_os" in + cygwin* | mingw* | pw32*) + # 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 + ;; + openbsd*) + with_gnu_ld=no + ;; +esac + +ld_shlibs=yes +if test "$with_gnu_ld" = yes; then + case "$host_os" in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + fi + ;; + amigaos*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can use + # them. + ld_shlibs=no + ;; + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + cygwin* | mingw* | pw32*) + # 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 + ;; + netbsd*) + ;; + solaris* | sysv5*) + 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 + ;; + 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" = yes; then + # 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' + 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 + ;; + aix4* | aix5*) + 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].*|aix5*) + 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 + hardcode_direct=yes + 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*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # see comment about different semantics on the GNU ld section + ld_shlibs=no + ;; + bsdi4*) + ;; + cygwin* | mingw* | pw32*) + # 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*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + hardcode_direct=no + fi + ;; + dgux*) + hardcode_libdir_flag_spec='-L$libdir' + ;; + freebsd1*) + ld_shlibs=no + ;; + freebsd2.2*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + freebsd2*) + hardcode_direct=yes + hardcode_minus_L=yes + ;; + freebsd*) + 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* | hpux11*) + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=no + ;; + ia64*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=no + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + *) + 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 + ;; + 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=: + ;; + openbsd*) + 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 + ;; + 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=: + ;; + sco3.2v5*) + ;; + 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.2uw2*) + hardcode_direct=yes + hardcode_minus_L=no + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + ;; + sysv5*) + hardcode_libdir_flag_spec= + ;; + uts4*) + hardcode_libdir_flag_spec='-L$libdir' + ;; + *) + ld_shlibs=no + ;; + esac +fi + +# Check dynamic linker characteristics +# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER. +libname_spec='lib$name' +case "$host_os" in + aix3*) + ;; + aix4* | aix5*) + ;; + amigaos*) + ;; + beos*) + ;; + bsdi4*) + ;; + cygwin* | mingw* | pw32*) + shrext=.dll + ;; + darwin* | rhapsody*) + shrext=.dylib + ;; + dgux*) + ;; + freebsd1*) + ;; + freebsd*) + ;; + gnu*) + ;; + hpux9* | hpux10* | hpux11*) + case "$host_cpu" in + ia64*) + shrext=.so + ;; + hppa*64*) + shrext=.sl + ;; + *) + shrext=.sl + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + 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*) + ;; + netbsd*) + ;; + newsos6) + ;; + nto-qnx) + ;; + openbsd*) + ;; + os2*) + libname_spec='$name' + shrext=.dll + ;; + osf3* | osf4* | osf5*) + ;; + sco3.2v5*) + ;; + solaris*) + ;; + sunos4*) + ;; + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + ;; + sysv4*MP*) + ;; + uts4*) + ;; +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_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` + +sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <. Submit a context +# diff and a properly formatted GNU ChangeLog entry. +# +# 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;hb=HEAD + +# 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 + $0 [OPTION] 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 (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, +2002, 2003, 2004, 2005, 2006, 2007, 2008 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-dietlibc | linux-newlib* | linux-uclibc* | \ + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ + kopensolaris*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + ;; + *) + 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*) + 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 \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ + | bfin \ + | c4x | clipper \ + | d10v | d30v | dlx | dsp16xx \ + | fido | fr30 | frv \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | i370 | i860 | i960 | ia64 \ + | ip2k | iq2000 \ + | lm32 \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | 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 \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipstx39 | mipstx39el \ + | mn10200 | mn10300 \ + | moxie \ + | mt \ + | msp430 \ + | nios | nios2 \ + | ns16k | ns32k \ + | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ + | pyramid \ + | rx \ + | score \ + | 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 \ + | spu | strongarm \ + | tahoe | thumb | tic4x | tic80 | tron \ + | ubicom32 \ + | v850 | v850e \ + | we32k \ + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ + | z8k | z80) + basic_machine=$basic_machine-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12 | picochip) + # Motorola 68HC11/12. + basic_machine=$basic_machine-unknown + os=-none + ;; + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) + ;; + ms1) + basic_machine=mt-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-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* | avr32-* \ + | bfin-* | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ + | clipper-* | craynv-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | ip2k-* | iq2000-* \ + | lm32-* \ + | m32c-* | m32r-* | m32rle-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ + | 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-* \ + | mipsisa64-* | mipsisa64el-* \ + | mipsisa64r2-* | mipsisa64r2el-* \ + | mipsisa64sb1-* | mipsisa64sb1el-* \ + | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipstx39-* | mipstx39el-* \ + | mmix-* \ + | mt-* \ + | msp430-* \ + | nios-* | nios2-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ + | pyramid-* \ + | 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-* | strongarm-* | sv1-* | sx?-* \ + | tahoe-* | thumb-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ + | tron-* \ + | ubicom32-* \ + | v850-* | v850e-* | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ + | 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 + ;; + 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 + ;; + 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) + 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 + ;; + 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'm not sure what "Sysv32" means. Should this be sysv3.2? + 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 + ;; + 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 + ;; + mingw32) + basic_machine=i386-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 + ;; + msdos) + basic_machine=i386-pc + os=-msdos + ;; + ms1-*) + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` + ;; + mvs) + basic_machine=i370-ibm + os=-mvs + ;; + 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 + ;; + nsr-tandem) + basic_machine=nsr-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) basic_machine=powerpc-unknown + ;; + ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppcle | powerpclittle | ppc-le | powerpc-little) + basic_machine=powerpcle-unknown + ;; + ppcle-* | powerpclittle-*) + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little | ppc64-le | powerpc64-little) + 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) + 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 + ;; + 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 + ;; + tic54x | c54x*) + basic_machine=tic54x-unknown + os=-coff + ;; + tic55x | c55x*) + basic_machine=tic55x-unknown + os=-coff + ;; + tic6x | c6x*) + basic_machine=tic6x-unknown + os=-coff + ;; + tile*) + basic_machine=tile-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 + ;; + 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 + ;; + 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* \ + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ + | -aos* | -aros* \ + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ + | -openbsd* | -solidbsd* \ + | -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* \ + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ + | -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*) + # 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 + ;; + -kaos*) + os=-kaos + ;; + -zvmoe) + os=-zvmoe + ;; + -dicos*) + os=-dicos + ;; + -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 + ;; + # 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 + # This also exists in the configure program, but was not the + # default. + # os=-sunos4 + ;; + 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 + ;; + *-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..df8eea7 --- /dev/null +++ b/config/depcomp @@ -0,0 +1,630 @@ +#! /bin/sh +# depcomp - compile a program generating dependencies as side-effects + +scriptversion=2009-04-28.21; # UTC + +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 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 outputing dependencies. + libtool Whether libtool is used (yes/no). + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "depcomp $scriptversion" + exit $? + ;; +esac + +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" + +# 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 + +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 -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + mv "$tmpdepfile" "$depfile" + ;; + +gcc) +## 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). +## - 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 -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz +## 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. + tr ' ' ' +' < "$tmpdepfile" | +## 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. +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -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 -eq 0; then : + else + 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 ' ' ' +' < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ + tr ' +' ' ' >> "$depfile" + echo >> "$depfile" + + # The second pass generates a dummy entry for each header file. + tr ' ' ' +' < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ + >> "$depfile" + else + # The sourcefile does not contain any dependencies, so just + # store a dummy comment line, to avoid errors with the Makefile + # "include basename.Plo" scheme. + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +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. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + 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 -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + # Each line is of the form `foo.o: dependent.h'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" + # That's a tab and a space in the []. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" + else + # The sourcefile does not contain any dependencies, so just + # store a dummy comment line, to avoid errors with the Makefile + # "include basename.Plo" scheme. + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +icc) + # Intel's C compiler understands `-MD -MF file'. However on + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c + # ICC 7.0 will fill foo.d with something like + # foo.o: sub/foo.c + # foo.o: sub/foo.h + # which is wrong. We want: + # sub/foo.o: sub/foo.c + # sub/foo.o: sub/foo.h + # sub/foo.c: + # sub/foo.h: + # ICC 7.1 will output + # foo.o: sub/foo.c sub/foo.h + # and will wrap long lines using \ : + # foo.o: sub/foo.c ... \ + # sub/foo.h ... \ + # ... + + "$@" -MD -MF "$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + 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. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + 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 -eq 0; then : + else + 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,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" + # Add `dependent.h:' lines. + sed -ne '2,${ + s/^ *// + s/ \\*$// + s/$/:/ + p + }' "$tmpdepfile" >> "$depfile" + else + echo "#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. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + + if test "$libtool" = yes; then + # With Tru64 cc, shared objects can also be used to make a + # static library. This mechanism is used in libtool 1.4 series to + # handle both shared and static libraries in a single compilation. + # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. + # + # With libtool 1.5 this exception was removed, and libtool now + # 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.libs/$base.lo.d # libtool 1.4 + tmpdepfile2=$dir$base.o.d # libtool 1.5 + tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 + tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 + "$@" -Wc,-MD + else + tmpdepfile1=$dir$base.o.d + tmpdepfile2=$dir$base.d + tmpdepfile3=$dir$base.d + tmpdepfile4=$dir$base.d + "$@" -MD + fi + + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" + # That's a tab and a space in the []. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" + else + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +#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:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + tr ' ' ' +' < "$tmpdepfile" | \ +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + 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" + cat < "$tmpdepfile" > "$depfile" + sed '1,2d' "$tmpdepfile" | tr ' ' ' +' | \ +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + 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:: \1 \\:p' >> "$depfile" + echo " " >> "$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: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/config/gtk-doc.make b/config/gtk-doc.make new file mode 100644 index 0000000..86566ea --- /dev/null +++ b/config/gtk-doc.make @@ -0,0 +1,245 @@ +# +# 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-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 \ + --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..6781b98 --- /dev/null +++ b/config/install-sh @@ -0,0 +1,520 @@ +#!/bin/sh +# install - install a program, script, or datafile + +scriptversion=2009-04-28.21; # 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. + +nl=' +' +IFS=" "" $nl" + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit=${DOITPROG-} +if test -z "$doit"; then + doit_exec=exec +else + doit_exec=$doit +fi + +# 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_glob='?' +initialize_posix_glob=' + test "$posix_glob" != "?" || { + if (set -f) 2>/dev/null; then + posix_glob= + else + posix_glob=: + fi + } +' + +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 +no_target_directory= + +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 + *' '* | *' '* | *' +'* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac + shift;; + + -o) chowncmd="$chownprog $2" + shift;; + + -s) stripcmd=$stripprog;; + + -t) dst_arg=$2 + shift;; + + -T) no_target_directory=true;; + + --version) echo "$0 $scriptversion"; exit $?;; + + --) shift + break;; + + -*) echo "$0: invalid option: $1" >&2 + exit 1;; + + *) break;; + esac + shift +done + +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 + 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 + trap '(exit $?); exit' 1 2 13 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 starting with `-'. + 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 + # Protect names starting with `-'. + case $dst in + -*) dst=./$dst;; + esac + + # 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 -n "$no_target_directory"; then + echo "$0: $dst_arg: Is a directory" >&2 + exit 1 + fi + dstdir=$dst + dst=$dstdir/`basename "$src"` + dstdir_status=0 + else + # Prefer dirname, but fall back on a substitute if dirname fails. + dstdir=` + (dirname "$dst") 2>/dev/null || + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$dst" : 'X\(//\)[^/]' \| \ + X"$dst" : 'X\(//\)$' \| \ + X"$dst" : 'X\(/\)' \| . 2>/dev/null || + echo X"$dst" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q' + ` + + 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-writeable 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 + + eval "$initialize_posix_glob" + + oIFS=$IFS + IFS=/ + $posix_glob set -f + set fnord $dstdir + shift + $posix_glob set +f + IFS=$oIFS + + prefixes= + + for d + do + test -z "$d" && 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` && + + eval "$initialize_posix_glob" && + $posix_glob set -f && + set X $old && old=:$2:$4:$5:$6 && + set X $new && new=:$2:$4:$5:$6 && + $posix_glob 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: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/config/ltmain.sh b/config/ltmain.sh new file mode 100755 index 0000000..78cf017 --- /dev/null +++ b/config/ltmain.sh @@ -0,0 +1,9636 @@ + +# libtool (GNU libtool) 2.4 +# Written by Gordon Matzigkeit , 1996 + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, +# 2007, 2008, 2009, 2010 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 GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, +# or obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +# Usage: $progname [OPTION]... [MODE-ARG]... +# +# Provide generalized library-building support services. +# +# --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 +# --preserve-dup-deps don't remove duplicate dependency libraries +# --quiet, --silent don't print informational messages +# --no-quiet, --no-silent +# print informational messages (default) +# --tag=TAG use configuration variables from tag TAG +# -v, --verbose print more informational messages than default +# --no-verbose don't print the extra informational messages +# --version print version information +# -h, --help, --help-all print short, long, or detailed 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) +# $progname: (GNU libtool) 2.4 +# automake: $automake_version +# autoconf: $autoconf_version +# +# Report bugs to . +# GNU libtool home page: . +# General help using GNU software: . + +PROGRAM=libtool +PACKAGE=libtool +VERSION=2.4 +TIMESTAMP="" +package_revision=1.3293 + +# 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 + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' +} + +# NLS nuisances: We save the old values to restore during execute mode. +lt_user_locale= +lt_safe_locale= +for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES +do + eval "if test \"\${$lt_var+set}\" = set; then + save_$lt_var=\$$lt_var + $lt_var=C + export $lt_var + lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\" + lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" + fi" +done +LC_ALL=C +LANGUAGE=C +export LANGUAGE LC_ALL + +$lt_unset CDPATH + + +# 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" + + + +: ${CP="cp -f"} +test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} +: ${EGREP="/bin/grep -E"} +: ${FGREP="/bin/grep -F"} +: ${GREP="/bin/grep"} +: ${LN_S="ln -s"} +: ${MAKE="make"} +: ${MKDIR="mkdir"} +: ${MV="mv -f"} +: ${RM="rm -f"} +: ${SED="/bin/sed"} +: ${SHELL="${CONFIG_SHELL-/bin/sh}"} +: ${Xsed="$SED -e 1s/^X//"} + +# Global variables: +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. + +exit_status=$EXIT_SUCCESS + +# Make sure IFS has a sensible default +lt_nl=' +' +IFS=" $lt_nl" + +dirname="s,/[^/]*$,," +basename="s,^.*/,," + +# func_dirname file append nondir_replacement +# Compute the dirname of FILE. If nonempty, add APPEND to the result, +# otherwise set result to NONDIR_REPLACEMENT. +func_dirname () +{ + func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi +} # func_dirname may be replaced by extended shell implementation + + +# func_basename file +func_basename () +{ + func_basename_result=`$ECHO "${1}" | $SED "$basename"` +} # func_basename may be replaced by extended shell implementation + + +# 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" +# Implementation must be kept synchronized with func_dirname +# and func_basename. For efficiency, we do not delegate to +# those functions but instead duplicate the functionality here. +func_dirname_and_basename () +{ + # Extract subdirectory from the argument. + func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi + func_basename_result=`$ECHO "${1}" | $SED -e "$basename"` +} # func_dirname_and_basename may be replaced by extended shell implementation + + +# func_stripname prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# 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). +# func_strip_suffix prefix name +func_stripname () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; + esac +} # func_stripname may be replaced by extended shell implementation + + +# These SED scripts presuppose an absolute path with a trailing slash. +pathcar='s,^/\([^/]*\).*$,\1,' +pathcdr='s,^/[^/]*,,' +removedotparts=':dotsl + s@/\./@/@g + t dotsl + s,/\.$,/,' +collapseslashes='s@/\{1,\}@/@g' +finalslash='s,/*$,/,' + +# 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. +# value returned in "$func_normal_abspath_result" +func_normal_abspath () +{ + # 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 "$removedotparts" -e "$collapseslashes" -e "$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 "$pathcar"` + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$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_normal_abspath_result=$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_relative_path SRCDIR DSTDIR +# generates a relative path from SRCDIR to DSTDIR, with a trailing +# slash if non-empty, suitable for immediately appending a filename +# without needing to append a separator. +# value returned in "$func_relative_path_result" +func_relative_path () +{ + 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 "x$func_relative_path_tlibdir" = x ; 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 "x$func_stripname_result" != x ; then + func_relative_path_result=${func_relative_path_result}/${func_stripname_result} + fi + + # Normalisation. If bindir is libdir, return empty string, + # else relative path ending with a slash; either way, target + # file name can be directly appended. + if test ! -z "$func_relative_path_result"; then + func_stripname './' '' "$func_relative_path_result/" + func_relative_path_result=$func_stripname_result + fi +} + +# The name of this program: +func_dirname_and_basename "$progpath" +progname=$func_basename_result + +# Make sure we have an absolute path for reexecution: +case $progpath in + [\\/]*|[A-Za-z]:\\*) ;; + *[\\/]*) + progdir=$func_dirname_result + progdir=`cd "$progdir" && pwd` + progpath="$progdir/$progname" + ;; + *) + save_IFS="$IFS" + IFS=: + for progdir in $PATH; do + IFS="$save_IFS" + test -x "$progdir/$progname" && break + done + IFS="$save_IFS" + test -n "$progdir" || progdir=`pwd` + progpath="$progdir/$progname" + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed="${SED}"' -e 1s/^X//' +sed_quote_subst='s/\([`"$\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +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 +# which contains forward slashes, into one that contains +# (escaped) backslashes. A very naive implementation. +lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' + +# Re-`\' parameter expansions in output of double_quote_subst that were +# `\'-ed in input to the same. If an odd number of `\' preceded a '$' +# in input to 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 '$'. +bs='\\' +bs2='\\\\' +bs4='\\\\\\\\' +dollar='\$' +sed_double_backslash="\ + s/$bs4/&\\ +/g + s/^$bs2$dollar/$bs&/ + s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g + s/\n//g" + +# Standard options: +opt_dry_run=false +opt_help=false +opt_quiet=false +opt_verbose=false +opt_warning=: + +# func_echo arg... +# Echo program name prefixed message, along with the current mode +# name if it has been set yet. +func_echo () +{ + $ECHO "$progname: ${opt_mode+$opt_mode: }$*" +} + +# func_verbose arg... +# Echo program name prefixed message in verbose mode only. +func_verbose () +{ + $opt_verbose && 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_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "$*" +} + +# func_error arg... +# Echo program name prefixed message to standard error. +func_error () +{ + $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2 +} + +# func_warning arg... +# Echo program name prefixed warning message to standard error. +func_warning () +{ + $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2 + + # bash bug again: + : +} + +# func_fatal_error arg... +# Echo program name prefixed message to standard error, and exit. +func_fatal_error () +{ + func_error ${1+"$@"} + exit $EXIT_FAILURE +} + +# func_fatal_help arg... +# Echo program name prefixed message to standard error, followed by +# a help hint, and exit. +func_fatal_help () +{ + func_error ${1+"$@"} + func_fatal_error "$help" +} +help="Try \`$progname --help' for more information." ## default + + +# func_grep expression filename +# Check whether EXPRESSION matches any line of FILENAME, without output. +func_grep () +{ + $GREP "$1" "$2" >/dev/null 2>&1 +} + + +# func_mkdir_p directory-path +# Make sure the entire path to DIRECTORY-PATH is available. +func_mkdir_p () +{ + my_directory_path="$1" + my_dir_list= + + if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then + + # Protect directory names starting with `-' + case $my_directory_path in + -*) my_directory_path="./$my_directory_path" ;; + esac + + # While some portion of DIR does not yet exist... + while test ! -d "$my_directory_path"; do + # ...make a list in topmost first order. Use a colon delimited + # list incase some portion of path contains whitespace. + my_dir_list="$my_directory_path:$my_dir_list" + + # If the last portion added has no slash in it, the list is done + case $my_directory_path in */*) ;; *) break ;; esac + + # ...otherwise throw away the child directory and loop + my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"` + done + my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'` + + save_mkdir_p_IFS="$IFS"; IFS=':' + for my_dir in $my_dir_list; do + IFS="$save_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 "$my_dir" 2>/dev/null || : + done + IFS="$save_mkdir_p_IFS" + + # Bail out if we (or some other process) failed to create a directory. + test -d "$my_directory_path" || \ + func_fatal_error "Failed to create \`$1'" + fi +} + + +# func_mktempdir [string] +# Make a temporary directory that won't clash with other running +# libtool processes, and avoids race conditions if possible. If +# given, STRING is the basename for that directory. +func_mktempdir () +{ + my_template="${TMPDIR-/tmp}/${1-$progname}" + + if test "$opt_dry_run" = ":"; then + # Return a directory name, but don't create it in dry-run mode + my_tmpdir="${my_template}-$$" + else + + # If mktemp works, use that first and foremost + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` + + if test ! -d "$my_tmpdir"; then + # Failing that, at least try and use $RANDOM to avoid a race + my_tmpdir="${my_template}-${RANDOM-0}$$" + + save_mktempdir_umask=`umask` + umask 0077 + $MKDIR "$my_tmpdir" + umask $save_mktempdir_umask + fi + + # If we're not in dry-run mode, bomb out on failure + test -d "$my_tmpdir" || \ + func_fatal_error "cannot create temporary directory \`$my_tmpdir'" + fi + + $ECHO "$my_tmpdir" +} + + +# func_quote_for_eval arg +# Aesthetically quote ARG to be evaled later. +# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT +# is double-quoted, suitable for a subsequent eval, whereas +# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters +# which are still active within double quotes backslashified. +func_quote_for_eval () +{ + case $1 in + *[\\\`\"\$]*) + func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;; + *) + func_quote_for_eval_unquoted_result="$1" ;; + esac + + case $func_quote_for_eval_unquoted_result in + # Double-quote args containing shell metacharacters to delay + # word splitting, command substitution and and variable + # expansion for a subsequent eval. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\"" + ;; + *) + func_quote_for_eval_result="$func_quote_for_eval_unquoted_result" + esac +} + + +# 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 () +{ + case $1 in + *[\\\`\"]*) + my_arg=`$ECHO "$1" | $SED \ + -e "$double_quote_subst" -e "$sed_double_backslash"` ;; + *) + my_arg="$1" ;; + esac + + case $my_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. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + my_arg="\"$my_arg\"" + ;; + esac + + func_quote_for_expand_result="$my_arg" +} + + +# func_show_eval cmd [fail_exp] +# Unless opt_silent 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 () +{ + my_cmd="$1" + my_fail_exp="${2-:}" + + ${opt_silent-false} || { + func_quote_for_expand "$my_cmd" + eval "func_echo $func_quote_for_expand_result" + } + + if ${opt_dry_run-false}; then :; else + eval "$my_cmd" + my_status=$? + if test "$my_status" -eq 0; then :; else + eval "(exit $my_status); $my_fail_exp" + fi + fi +} + + +# func_show_eval_locale cmd [fail_exp] +# Unless opt_silent 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 () +{ + my_cmd="$1" + my_fail_exp="${2-:}" + + ${opt_silent-false} || { + func_quote_for_expand "$my_cmd" + eval "func_echo $func_quote_for_expand_result" + } + + if ${opt_dry_run-false}; then :; else + eval "$lt_user_locale + $my_cmd" + my_status=$? + eval "$lt_safe_locale" + if test "$my_status" -eq 0; then :; else + eval "(exit $my_status); $my_fail_exp" + fi + 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 () +{ + case $1 in + [0-9]* | *[!a-zA-Z0-9_]*) + func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'` + ;; + * ) + func_tr_sh_result=$1 + ;; + esac +} + + +# func_version +# Echo version message to standard output and exit. +func_version () +{ + $opt_debug + + $SED -n '/(C)/!b go + :more + /\./!{ + N + s/\n# / / + b more + } + :go + /^# '$PROGRAM' (GNU /,/# warranty; / { + s/^# // + s/^# *$// + s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ + p + }' < "$progpath" + exit $? +} + +# func_usage +# Echo short help message to standard output and exit. +func_usage () +{ + $opt_debug + + $SED -n '/^# Usage:/,/^# *.*--help/ { + s/^# // + s/^# *$// + s/\$progname/'$progname'/ + p + }' < "$progpath" + echo + $ECHO "run \`$progname --help | more' for full usage" + exit $? +} + +# func_help [NOEXIT] +# Echo long help message to standard output and exit, +# unless 'noexit' is passed as argument. +func_help () +{ + $opt_debug + + $SED -n '/^# Usage:/,/# Report bugs to/ { + :print + s/^# // + s/^# *$// + s*\$progname*'$progname'* + s*\$host*'"$host"'* + s*\$SHELL*'"$SHELL"'* + s*\$LTCC*'"$LTCC"'* + s*\$LTCFLAGS*'"$LTCFLAGS"'* + s*\$LD*'"$LD"'* + s/\$with_gnu_ld/'"$with_gnu_ld"'/ + s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/ + s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/ + p + d + } + /^# .* home page:/b print + /^# General help using/b print + ' < "$progpath" + ret=$? + if test -z "$1"; then + exit $ret + fi +} + +# func_missing_arg argname +# Echo program name prefixed message to standard error and set global +# exit_cmd. +func_missing_arg () +{ + $opt_debug + + func_error "missing argument for $1." + exit_cmd=exit +} + + +# 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. +func_split_short_opt () +{ + my_sed_short_opt='1s/^\(..\).*$/\1/;q' + my_sed_short_rest='1s/^..\(.*\)$/\1/;q' + + func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"` + func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"` +} # func_split_short_opt may be replaced by extended shell implementation + + +# func_split_long_opt longopt +# Set func_split_long_opt_name and func_split_long_opt_arg shell +# variables after splitting LONGOPT at the `=' sign. +func_split_long_opt () +{ + my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q' + my_sed_long_arg='1s/^--[^=]*=//' + + func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"` + func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"` +} # func_split_long_opt may be replaced by extended shell implementation + +exit_cmd=: + + + + + +magic="%%%MAGIC variable%%%" +magic_exe="%%%MAGIC EXE variable%%%" + +# Global variables. +nonopt= +preserve_args= +lo2o="s/\\.lo\$/.${objext}/" +o2lo="s/\\.${objext}\$/.lo/" +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= + +# func_append var value +# Append VALUE to the end of shell variable VAR. +func_append () +{ + eval "${1}=\$${1}\${2}" +} # func_append may be replaced by extended shell implementation + +# func_append_quoted var value +# Quote VALUE and append to the end of shell variable VAR, separated +# by a space. +func_append_quoted () +{ + func_quote_for_eval "${2}" + eval "${1}=\$${1}\\ \$func_quote_for_eval_result" +} # func_append_quoted may be replaced by extended shell implementation + + +# func_arith arithmetic-term... +func_arith () +{ + func_arith_result=`expr "${@}"` +} # func_arith may be replaced by extended shell implementation + + +# func_len string +# STRING may not start with a hyphen. +func_len () +{ + func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len` +} # func_len may be replaced by extended shell implementation + + +# func_lo2o object +func_lo2o () +{ + func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` +} # func_lo2o may be replaced by extended shell implementation + + +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` +} # func_xform may be replaced by extended shell implementation + + +# func_fatal_configuration arg... +# Echo program name prefixed message to standard error, followed by +# a configuration failure hint, and exit. +func_fatal_configuration () +{ + func_error ${1+"$@"} + func_error "See the $PACKAGE documentation for more information." + func_fatal_error "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 "$build_libtool_libs" = yes; then + echo "enable shared libraries" + else + echo "disable shared libraries" + fi + if test "$build_old_libs" = yes; 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 +} + + +# 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 + + + +# Option defaults: +opt_debug=: +opt_dry_run=false +opt_config=false +opt_preserve_dup_deps=false +opt_features=false +opt_finish=false +opt_help=false +opt_help_all=false +opt_silent=: +opt_verbose=: +opt_silent=false +opt_verbose=false + + +# Parse options once, thoroughly. This comes as soon as possible in the +# script to make things like `--version' happen as quickly as we can. +{ + # this just eases exit handling + while test $# -gt 0; do + opt="$1" + shift + case $opt in + --debug|-x) opt_debug='set -x' + func_echo "enabling shell trace mode" + $opt_debug + ;; + --dry-run|--dryrun|-n) + opt_dry_run=: + ;; + --config) + opt_config=: +func_config + ;; + --dlopen|-dlopen) + optarg="$1" + opt_dlopen="${opt_dlopen+$opt_dlopen +}$optarg" + shift + ;; + --preserve-dup-deps) + opt_preserve_dup_deps=: + ;; + --features) + opt_features=: +func_features + ;; + --finish) + opt_finish=: +set dummy --mode finish ${1+"$@"}; shift + ;; + --help) + opt_help=: + ;; + --help-all) + opt_help_all=: +opt_help=': help-all' + ;; + --mode) + test $# = 0 && func_missing_arg $opt && break + optarg="$1" + opt_mode="$optarg" +case $optarg in + # Valid mode arguments: + clean|compile|execute|finish|install|link|relink|uninstall) ;; + + # Catch anything else as an error + *) func_error "invalid argument for $opt" + exit_cmd=exit + break + ;; +esac + shift + ;; + --no-silent|--no-quiet) + opt_silent=false +func_append preserve_args " $opt" + ;; + --no-verbose) + opt_verbose=false +func_append preserve_args " $opt" + ;; + --silent|--quiet) + opt_silent=: +func_append preserve_args " $opt" + opt_verbose=false + ;; + --verbose|-v) + opt_verbose=: +func_append preserve_args " $opt" +opt_silent=false + ;; + --tag) + test $# = 0 && func_missing_arg $opt && break + optarg="$1" + opt_tag="$optarg" +func_append preserve_args " $opt $optarg" +func_enable_tag "$optarg" + shift + ;; + + -\?|-h) func_usage ;; + --help) func_help ;; + --version) func_version ;; + + # Separate optargs to long options: + --*=*) + func_split_long_opt "$opt" + set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"} + shift + ;; + + # Separate non-argument short options: + -\?*|-h*|-n*|-v*) + func_split_short_opt "$opt" + set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"} + shift + ;; + + --) break ;; + -*) func_fatal_help "unrecognized option \`$opt'" ;; + *) set dummy "$opt" ${1+"$@"}; shift; break ;; + esac + done + + # Validate options: + + # save first non-option argument + if test "$#" -gt 0; then + nonopt="$opt" + shift + fi + + # preserve --debug + test "$opt_debug" = : || func_append preserve_args " --debug" + + case $host in + *cygwin* | *mingw* | *pw32* | *cegcc*) + # 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 + + if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then + func_fatal_configuration "not configured to build any kind of library" + fi + + # Darwin sucks + eval std_shrext=\"$shrext_cmds\" + + # Only execute mode is allowed to have -dlopen flags. + if test -n "$opt_dlopen" && test "$opt_mode" != execute; 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." + } + + + # Bail if the options were screwed + $exit_cmd $EXIT_FAILURE +} + + + + +## ----------- ## +## Main. ## +## ----------- ## + +# 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 \ + | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 +} + +# 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 "$lalib_p" = yes +} + +# 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 () +{ + func_lalib_p "$1" +} + +# 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 () +{ + $opt_debug + save_ifs=$IFS; IFS='~' + for cmd in $1; do + IFS=$save_ifs + eval cmd=\"$cmd\" + 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 () +{ + $opt_debug + 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 () +{ + $opt_debug + 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 "$build_libtool_libs" = yes; then + write_lobj=\'${2}\' + else + write_lobj=none + fi + + if test "$build_old_libs" = yes; 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 "$lt_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 () +{ + $opt_debug + # 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 () +{ + $opt_debug + 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 () +{ + $opt_debug + # awkward: cmd appends spaces to result + func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | + $SED -e 's/[ ]*$//' -e "$lt_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 () +{ + $opt_debug + 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 () +{ + $opt_debug + 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 () +{ + $opt_debug + 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 () +{ + $opt_debug + $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 () +{ + $opt_debug + 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 () +{ + $opt_debug + 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 () +{ + $opt_debug + 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 () +{ + $opt_debug + 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 () +{ + $opt_debug + 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 () +{ + $opt_debug + 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 () +{ + $opt_debug + 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 () +{ + $opt_debug + 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 () +{ + $opt_debug + 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 () +{ + $opt_debug + 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 () +{ + $opt_debug + 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 () +{ + $opt_debug + 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 () +{ + $opt_debug + 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_mode_compile arg... +func_mode_compile () +{ + $opt_debug + # 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 | *.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 "$build_libtool_libs" != yes && \ + func_fatal_configuration "can not 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 "$build_old_libs" = yes; 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 "$pic_mode" = no && test "$deplibs_check_method" != pass_all; 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 "$compiler_c_o" = no; 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 "$need_locks" = yes; 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 "$need_locks" = warn; 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 "$build_libtool_libs" = yes; then + # Without this assignment, base_compile gets emptied. + fbsd_hideous_sh_bug=$base_compile + + if test "$pic_mode" != no; 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 "$need_locks" = warn && + 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 "$suppress_opt" = yes; then + suppress_output=' >/dev/null 2>&1' + fi + fi + + # Only build a position-dependent object if we build old libraries. + if test "$build_old_libs" = yes; then + if test "$pic_mode" != yes; then + # Don't build PIC code + command="$base_compile $qsrcfile$pie_flag" + else + command="$base_compile $qsrcfile $pic_flag" + fi + if test "$compiler_c_o" = yes; 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 "$need_locks" = warn && + 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 "$need_locks" != no; then + removelist=$lockfile + $RM "$lockfile" + fi + } + + exit $EXIT_SUCCESS +} + +$opt_help || { + test "$opt_mode" = compile && 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 + -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 () +{ + $opt_debug + # 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 test "X$opt_dry_run" = Xfalse; then + 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" + else + # 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 + fi +} + +test "$opt_mode" = execute && func_mode_execute ${1+"$@"} + + +# func_mode_finish arg... +func_mode_finish () +{ + $opt_debug + 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_silent && 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 "$opt_mode" = finish && func_mode_finish ${1+"$@"} + + +# func_mode_install arg... +func_mode_install () +{ + $opt_debug + # There may be an optional sh(1) argument at the beginning of + # install_prog (especially on Windows NT). + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || + # 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=no + 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=yes ;; + -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$prev" = x-m && 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=yes + if test "$isdir" = yes; 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 + ;; + 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 "$build_old_libs" = yes; 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=yes + 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'` ### testsuite: skip nested quoting test + if test -n "$libdir" && test ! -f "$libfile"; then + func_warning "\`$lib' has not been installed in \`$libdir'" + finalize=no + fi + done + + relink_command= + func_source "$wrapper" + + outputname= + if test "$fast_install" = no && test -n "$relink_command"; then + $opt_dry_run || { + if test "$finalize" = yes; 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_silent || { + 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_show_eval "$install_prog \$file \$oldlib" 'exit $?' + + if test -n "$stripme" && test -n "$old_striplib"; then + func_show_eval "$old_striplib $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 "$opt_mode" = install && 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 () +{ + $opt_debug + my_outputname="$1" + my_originator="$2" + my_pic_p="${3-no}" + my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'` + my_dlsyms= + + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; 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$TIMESTAMP) $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 con'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 + +/* External symbol declarations for the compiler. */\ +" + + if test "$dlself" = yes; 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 + + 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[]; +LT_DLSYM_CONST lt_dlsymlist +lt_${my_prefix}_LTX_preloaded_symbols[] = +{\ + { \"$my_originator\", (void *) 0 }," + + 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" ;; + *) + if test "X$my_pic_p" != Xno; then + pic_flag_for_symtable=" $pic_flag" + fi + ;; + 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"' + + # 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_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 () +{ + $opt_debug + 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 + 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 + } + }'` + 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 () +{ + $opt_debug + 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 () +{ + $opt_debug + 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 which possess that section. Heuristic: eliminate + # all those which 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_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 () +{ + $opt_debug + 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 () +{ + $opt_debug + 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_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 () +{ + $opt_debug + 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 () +{ + $opt_debug + f_ex_an_ar_dir="$1"; shift + f_ex_an_ar_oldlib="$1" + if test "$lock_old_archive_extraction" = yes; 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 "$lock_old_archive_extraction" = yes; 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 () +{ + $opt_debug + 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` + darwin_base_archive=`basename "$darwin_archive"` + 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 "$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 in which 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$TIMESTAMP) $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/ which is used only on +# windows platforms, and (c) all begin with the string "--lt-" +# (application programs are unlikely to have options which 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$TIMESTAMP) $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 () +{ + for lt_wr_arg + do + case \$lt_wr_arg in + --lt-*) ;; + *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; + esac + shift + done + 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 "$fast_install" = yes; 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 "$shlibpath_overrides_runpath" = yes && 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 + +/* 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 platforms) ... */ +#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 +# ifndef _INTPTR_T_DEFINED +# define _INTPTR_T_DEFINED +# define intptr_t int +# endif +#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 ((void *) 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]; + int 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 = 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 (strcmp (str, pat) == 0) + *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 + int 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) + { + int orig_value_len = strlen (orig_value); + int 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 #' */ + int len = strlen (new_value); + while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) + { + new_value[len-1] = '\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 -e 's/\([\\"]\)/\\\1/g' \ + -e 's/^/ fputs ("/' -e 's/$/\\n", f);/' + + 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 () +{ + $opt_debug + case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in + *import*) : ;; + *) false ;; + esac +} + +# func_mode_link arg... +func_mode_link () +{ + $opt_debug + 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 + # which 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 which 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= + non_pic_objects= + precious_files_regex= + prefer_static_libs=no + preload=no + 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 "$build_libtool_libs" != yes && \ + func_fatal_configuration "can not build a shared library" + build_old_libs=no + break + ;; + -all-static | -static | -static-libtool-libs) + case $arg in + -all-static) + if test "$build_libtool_libs" = yes && 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) + if test "$preload" = no; then + # Add the symbol object into the linking commands. + func_append compile_command " @SYMFILE@" + func_append finalize_command " @SYMFILE@" + preload=yes + fi + case $arg in + *.la | *.lo) ;; # We handle these cases below. + force) + if test "$dlself" = no; then + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + self) + if test "$prev" = dlprefiles; then + dlself=yes + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then + dlself=yes + else + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + *) + if test "$prev" = dlfiles; 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 + ;; + 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 "$pic_object" = none && + test "$non_pic_object" = none; 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 "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; 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 "$prev" = dlprefiles; 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 "$non_pic_object" != none; 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 "$pic_object" = none ; 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 + ;; + 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 "$prev" = rpath; 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$arg" = "X-export-symbols"; 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$arg" = "X-lc" || test "X$arg" = "X-lm"; 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$arg" = "X-lc" && continue + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && 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$arg" = "X-lc" && continue + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + test "X$arg" = "X-lc" && continue + ;; + esac + elif test "X$arg" = "X-lc_r"; then + case $host in + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; + esac + fi + func_append deplibs " $arg" + 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) + 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 + ;; + + -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 + # @file GCC response files + # -tp=* Portland pgcc target processor selection + # --sysroot=* for sysroot support + # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization + -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*|-flto*|-fwhopr*|-fuse-linker-plugin) + 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 + ;; + + # 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 "$pic_object" = none && + test "$non_pic_object" = none; 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 "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; 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 "$prev" = dlprefiles; 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 "$non_pic_object" != none; 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 "$pic_object" = none ; 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 "$prev" = dlfiles; then + # This library was specified with -dlopen. + func_append dlfiles " $func_resolve_sysroot_result" + prev= + elif test "$prev" = dlprefiles; 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 "$export_dynamic" = yes && 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\" + + 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 "$linkmode" = lib; 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=no + 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 "$linkmode,$pass" = "lib,link"; 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 "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan"; then + libs="$deplibs" + deplibs= + fi + if test "$linkmode" = prog; then + case $pass in + dlopen) libs="$dlfiles" ;; + dlpreopen) libs="$dlprefiles" ;; + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; + esac + fi + if test "$linkmode,$pass" = "lib,dlpreopen"; 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 "$pass" = dlopen; then + # Collect dlpreopened libraries + save_deplibs="$deplibs" + deplibs= + fi + + for deplib in $libs; do + lib= + found=no + case $deplib in + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + func_append compiler_flags " $deplib" + if test "$linkmode" = lib ; then + case "$new_inherited_linker_flags " in + *" $deplib "*) ;; + * ) func_append new_inherited_linker_flags " $deplib" ;; + esac + fi + fi + continue + ;; + -l*) + if test "$linkmode" != lib && test "$linkmode" != prog; then + func_warning "\`-l' is ignored for archives/objects" + continue + fi + func_stripname '-l' '' "$deplib" + name=$func_stripname_result + if test "$linkmode" = lib; 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 "$search_ext" = ".la"; then + found=yes + else + found=no + fi + break 2 + fi + done + done + if test "$found" != yes; then + # deplib doesn't seem to be a libtool library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + else # 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 "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; 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=no + func_dirname "$lib" "" "." + ladir="$func_dirname_result" + lib=$ladir/$old_library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + fi + fi + ;; + *) ;; + esac + fi + fi + ;; # -l + *.ltframework) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + if test "$linkmode" = lib ; 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 "$pass" = conv && 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 "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + if test "$pass" = scan; 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 "$pass" = link; 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 "$pass" = conv; 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=no + 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=yes + fi + ;; + pass_all) + valid_a_lib=yes + ;; + esac + if test "$valid_a_lib" != yes; then + 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." + else + echo + $ECHO "*** Warning: Linking the shared library $output against the" + $ECHO "*** static library $deplib is not portable!" + deplibs="$deplib $deplibs" + fi + ;; + esac + continue + ;; + prog) + if test "$pass" != link; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + continue + ;; + esac # linkmode + ;; # *.$libext + *.lo | *.$objext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + elif test "$linkmode" = prog; then + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; 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=yes + continue + ;; + esac # case $deplib + + if test "$found" = yes || test -f "$lib"; then : + else + func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'" + fi + + # 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 "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan" || + { test "$linkmode" != prog && test "$linkmode" != lib; }; then + test -n "$dlopen" && func_append dlfiles " $dlopen" + test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" + fi + + if test "$pass" = conv; 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 "$linkmode" != prog && test "$linkmode" != lib; 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 "$prefer_static_libs" = yes || + test "$prefer_static_libs,$installed" = "built,no"; }; 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 "$pass" = dlopen; then + if test -z "$libdir"; then + func_fatal_error "cannot -dlopen a convenience library: \`$lib'" + fi + if test -z "$dlname" || + test "$dlopen_support" != yes || + test "$build_libtool_libs" = no; 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 "X$installed" = Xyes; 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 "X$hardcode_automatic" = Xyes && 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 "$pass" = dlpreopen; then + if test -z "$libdir" && test "$linkmode" = prog; 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 "$linkmode" = lib; then + deplibs="$dir/$old_library $deplibs" + elif test "$linkmode,$pass" = "prog,link"; 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 "$linkmode" = prog && test "$pass" != link; then + func_append newlib_search_path " $ladir" + deplibs="$lib $deplibs" + + linkalldeplibs=no + if test "$link_all_deplibs" != no || test -z "$library_names" || + test "$build_libtool_libs" = no; then + linkalldeplibs=yes + 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 test "$linkalldeplibs" = yes; 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 "$linkmode,$pass" = "prog,link"; then + if test -n "$library_names" && + { { test "$prefer_static_libs" = no || + test "$prefer_static_libs,$installed" = "built,yes"; } || + 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 test "$alldeplibs" = yes && + { test "$deplibs_check_method" = pass_all || + { test "$build_libtool_libs" = yes && + 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 "$use_static_libs" = built && test "$installed" = yes; then + use_static_libs=no + fi + if test -n "$library_names" && + { test "$use_static_libs" = no || test -z "$old_library"; }; then + case $host in + *cygwin* | *mingw* | *cegcc*) + # No point in relinking DLLs because paths are not encoded + func_append notinst_deplibs " $lib" + need_relink=no + ;; + *) + if test "$installed" = no; 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 "$shouldnotlink" = yes && test "$pass" = link; then + echo + if test "$linkmode" = prog; 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 "$linkmode" = lib && + test "$hardcode_into_libs" = yes; 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*) + 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 "$linkmode" = prog || test "$opt_mode" != relink; then + add_shlibpath= + add_dir= + add= + lib_linked=yes + case $hardcode_action in + immediate | unsupported) + if test "$hardcode_direct" = no; 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 can not + # 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 "$hardcode_minus_L" = no; then + case $host in + *-*-sunos*) add_shlibpath="$dir" ;; + esac + add_dir="-L$dir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = no; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + relink) + if test "$hardcode_direct" = yes && + test "$hardcode_direct_absolute" = no; then + add="$dir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$dir" + # 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 "$hardcode_shlibpath_var" = yes; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + *) lib_linked=no ;; + esac + + if test "$lib_linked" != yes; 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 "$linkmode" = prog; 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 "$hardcode_direct" != yes && + test "$hardcode_minus_L" != yes && + test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) func_append finalize_shlibpath "$libdir:" ;; + esac + fi + fi + fi + + if test "$linkmode" = prog || test "$opt_mode" = relink; then + add_shlibpath= + add_dir= + add= + # Finalize command for both is simple: just hardcode it. + if test "$hardcode_direct" = yes && + test "$hardcode_direct_absolute" = no; then + add="$libdir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$libdir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) func_append finalize_shlibpath "$libdir:" ;; + esac + add="-l$name" + elif test "$hardcode_automatic" = yes; 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 "$linkmode" = prog; 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 "$linkmode" = prog; 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 "$hardcode_direct" != unsupported; 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 "$build_libtool_libs" = yes; then + # Not a shared library + if test "$deplibs_check_method" != pass_all; 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 can not 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 "$module" = yes; 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 "$build_old_libs" = no; 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 "$linkmode" = lib; then + if test -n "$dependency_libs" && + { test "$hardcode_into_libs" != yes || + test "$build_old_libs" = yes || + test "$link_static" = yes; }; 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 "$link_static" = no && 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 "$link_all_deplibs" != no; 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 "$pass" = link; then + if test "$linkmode" = "prog"; 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 "$pass" = dlpreopen; then + # Link the dlpreopened libraries before other libraries + for deplib in $save_deplibs; do + deplibs="$deplib $deplibs" + done + fi + if test "$pass" != dlopen; then + if test "$pass" != conv; then + # 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= + fi + + if test "$linkmode,$pass" != "prog,link"; then + vars="deplibs" + else + vars="compile_deplibs finalize_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 + # 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 "$linkmode" = prog; then + dlfiles="$newdlfiles" + fi + if test "$linkmode" = prog || test "$linkmode" = lib; then + dlprefiles="$newdlprefiles" + fi + + case $linkmode in + oldlib) + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; 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 "$module" = no && \ + func_fatal_help "libtool library \`$output' must begin with \`lib'" + + if test "$need_lib_prefix" != no; 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 "$deplibs_check_method" != pass_all; 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 "$dlself" != no && \ + func_warning "\`-dlopen self' is ignored for libtool libraries" + + set dummy $rpath + shift + test "$#" -gt 1 && \ + func_warning "ignoring multiple \`-rpath's for a libtool library" + + install_libdir="$1" + + oldlibs= + if test -z "$rpath"; then + if test "$build_libtool_libs" = yes; 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 + # which has an extra 1 added just for fun + # + case $version_type in + darwin|linux|osf|windows|none) + func_arith $number_major + $number_minor + current=$func_arith_result + age="$number_minor" + revision="$number_revision" + ;; + freebsd-aout|freebsd-elf|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" + ;; + + freebsd-aout) + major=".$current" + versuffix=".$current.$revision"; + ;; + + freebsd-elf) + major=".$current" + versuffix=".$current" + ;; + + irix | nonstopux) + if test "X$lt_irix_increment" = "Xno"; 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 "$loop" -ne 0; 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) + 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 "$loop" -ne 0; 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" + ;; + + sunos) + major=".$current" + versuffix=".$current.$revision" + ;; + + windows) + # Use '-' rather than '.', since we only want one + # extension on DOS 8.3 filesystems. + 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 "$need_version" = no; then + versuffix= + else + versuffix=".0.0" + fi + fi + + # Remove version info from name if versioning should be avoided + if test "$avoid_version" = yes && test "$need_version" = no; then + major= + versuffix= + verstring="" + fi + + # Check to see if the archive will have undefined symbols. + if test "$allow_undefined" = yes; then + if test "$allow_undefined_flag" = unsupported; then + func_warning "undefined symbols not allowed in $host shared libraries" + build_libtool_libs=no + build_old_libs=yes + fi + else + # Don't allow undefined symbols. + allow_undefined_flag="$no_undefined_flag" + fi + + fi + + func_generate_dlsyms "$libname" "$libname" "yes" + func_append libobjs " $symfileobj" + test "X$libobjs" = "X " && libobjs= + + if test "$opt_mode" != relink; 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 "X$precious_files_regex" != "X"; 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 "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; 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 "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; 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 "$build_libtool_libs" = yes; 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 "$build_libtool_need_lc" = "yes"; 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 "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; 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 "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; 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 "X$deplibs_check_method" = "Xnone"; 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 "$droppeddeps" = yes; then + if test "$module" = yes; 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 "$build_old_libs" = no; 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 "$allow_undefined" = no; 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 "$build_old_libs" = no; 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 "$build_libtool_libs" = yes; then + if test "$hardcode_into_libs" = yes; then + # Hardcode the library paths + hardcode_libdirs= + dep_rpath= + rpath="$finalize_rpath" + test "$opt_mode" != relink && 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" + if test -n "$hardcode_libdir_flag_spec_ld"; then + eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" + else + eval dep_rpath=\"$hardcode_libdir_flag_spec\" + fi + 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 "$opt_mode" != relink && 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 + if test "x`$SED 1q $export_symbols`" != xEXPORTS; then + # 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 + fi + ;; + esac + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + if test "$always_export_symbols" = yes || 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 "$try_normal_branch" = yes \ + && { 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 "X$skipped_export" != "X:"; 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 "X$skipped_export" != "X:" && 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 "$compiler_needs_object" = yes && + 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 "$thread_safe" = yes && 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 "$opt_mode" = relink; 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 "$module" = yes && 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 "X$skipped_export" != "X:" && + 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 "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; 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 "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then + output=${output_objdir}/${output_la}.lnk + func_verbose "creating linker input file list: $output" + : > $output + set x $save_libobjs + shift + firstobj= + if test "$compiler_needs_object" = yes; 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 "X$objlist" = X || + 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 "$k" -eq 1 ; 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 + + if ${skipped_export-false}; then + 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 + 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_silent || { + 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 "$opt_mode" = relink; 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 + + if ${skipped_export-false}; then + 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 + 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 "$module" = yes && 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="$save_ifs" + eval cmd=\"$cmd\" + $opt_silent || { + 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 "$opt_mode" = relink; 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 "$opt_mode" = relink; 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 "$module" = yes || test "$export_dynamic" = yes; then + # On all known operating systems, these are identical. + dlname="$soname" + fi + fi + ;; + + obj) + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; 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= + # reload_cmds runs $LD directly, so let us get rid of + # -Wl from whole_archive_flag_spec and hope we can get by with + # turning comma into space.. + wl= + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" + reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` + 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 "$build_libtool_libs" != yes && 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" ### testsuite: skip nested quoting test + + 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 + + if test "$build_libtool_libs" != yes; then + 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 + fi + + if test -n "$pic_flag" || test "$pic_mode" != default; 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" + + test "$preload" = yes \ + && test "$dlopen_support" = unknown \ + && test "$dlopen_self" = unknown \ + && test "$dlopen_self_static" = unknown && \ + 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 "$tagname" = CXX ; 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 "$build_old_libs" = yes; 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@" "no" + + # template prelinking step + if test -n "$prelink_cmds"; then + func_execute_cmds "$prelink_cmds" 'exit $?' + fi + + wrappers_required=yes + case $host in + *cegcc* | *mingw32ce*) + # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. + wrappers_required=no + ;; + *cygwin* | *mingw* ) + if test "$build_libtool_libs" != yes; then + wrappers_required=no + fi + ;; + *) + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then + wrappers_required=no + fi + ;; + esac + if test "$wrappers_required" = no; then + # 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 + fi + + 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 "$no_install" = yes; 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 + + if test "$hardcode_action" = relink; then + # 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" + else + if test "$fast_install" != no; then + link_command="$finalize_var$compile_command$finalize_rpath" + if test "$fast_install" = yes; then + relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` + else + # fast_install is set to needless + relink_command= + fi + else + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + fi + fi + + # 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 + + if test "$build_libtool_libs" = convenience; then + oldobjs="$libobjs_save $symfileobj" + addlibs="$convenience" + build_libtool_libs=no + else + if test "$build_libtool_libs" = module; then + oldobjs="$libobjs_save" + build_libtool_libs=no + else + oldobjs="$old_deplibs $non_pic_objects" + if test "$preload" = yes && test -f "$symfileobj"; then + func_append oldobjs " $symfileobj" + fi + fi + addlibs="$old_convenience" + fi + + 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 "$build_libtool_libs" = yes; 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 + 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 "X$oldobjs" = "X" ; 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 "$build_old_libs" = yes && 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 "$hardcode_automatic" = yes ; then + relink_command= + fi + + # Only create the output if not a dry run. + $opt_dry_run || { + for installed in no yes; do + if test "$installed" = yes; 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" + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + 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 "x$bindir" != x ; + 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$TIMESTAMP) $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 can not 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 "$installed" = no && test "$need_relink" = yes; 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 +} + +{ test "$opt_mode" = link || test "$opt_mode" = relink; } && + func_mode_link ${1+"$@"} + + +# func_mode_uninstall arg... +func_mode_uninstall () +{ + $opt_debug + RM="$nonopt" + files= + rmforce= + 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=yes ;; + -*) 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 "X$dir" = X.; then + odir="$objdir" + else + odir="$dir/$objdir" + fi + func_basename "$file" + name="$func_basename_result" + test "$opt_mode" = uninstall && odir="$dir" + + # Remember odir for removal later, being careful to avoid duplicates + if test "$opt_mode" = clean; 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 test "$rmforce" = yes; 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" 'test "$rmforce" = yes || exit_status=1' + fi + + if test -n "$old_library"; then + # Do each command in the old_postuninstall commands. + func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || 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 "$pic_object" != none; 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 "$non_pic_object" != none; then + func_append rmfiles " $dir/$non_pic_object" + fi + fi + ;; + + *) + if test "$opt_mode" = clean ; 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 "$fast_install" = yes && 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 +} + +{ test "$opt_mode" = uninstall || test "$opt_mode" = clean; } && + func_mode_uninstall ${1+"$@"} + +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 +# in which 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: +# vi:sw=2 + diff --git a/config/missing b/config/missing new file mode 100755 index 0000000..28055d2 --- /dev/null +++ b/config/missing @@ -0,0 +1,376 @@ +#! /bin/sh +# Common stub for a few missing GNU programs while installing. + +scriptversion=2009-04-28.21; # UTC + +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, +# 2008, 2009 Free Software Foundation, Inc. +# Originally 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 + +run=: +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' +sed_minuso='s/.* -o \([^ ]*\).*/\1/p' + +# In the cases where this matters, `missing' is being run in the +# srcdir already. +if test -f configure.ac; then + configure_ac=configure.ac +else + configure_ac=configure.in +fi + +msg="missing on your system" + +case $1 in +--run) + # Try to run requested program, and just exit if it succeeds. + run= + shift + "$@" && exit 0 + # Exit code 63 means version mismatch. This often happens + # when the user try to use an ancient version of a tool on + # a file that requires a minimum version. In this case we + # we should proceed has if the program had been absent, or + # if --run hadn't been passed. + if test $? = 63; then + run=: + msg="probably too old" + fi + ;; + + -h|--h|--he|--hel|--help) + echo "\ +$0 [OPTION]... PROGRAM [ARGUMENT]... + +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an +error status if there is no known handling for PROGRAM. + +Options: + -h, --help display this help and exit + -v, --version output version information and exit + --run try to run the given command, and emulate it if it fails + +Supported PROGRAM values: + aclocal touch file \`aclocal.m4' + autoconf touch file \`configure' + autoheader touch file \`config.h.in' + autom4te touch the output file, or create a stub one + automake touch all \`Makefile.in' files + bison create \`y.tab.[ch]', if possible, from existing .[ch] + flex create \`lex.yy.c', if possible, from existing .c + help2man touch the output file + lex create \`lex.yy.c', if possible, from existing .c + makeinfo touch the output file + tar try tar, gnutar, gtar, then tar without non-portable flags + yacc create \`y.tab.[ch]', if possible, from existing .[ch] + +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 + +# normalize program name to check for. +program=`echo "$1" | sed ' + s/^gnu-//; t + s/^gnu//; t + s/^g//; t'` + +# Now exit if we have it, but it failed. Also exit now if we +# don't have it and --version was passed (most likely to detect +# the program). This is about non-GNU programs, so use $1 not +# $program. +case $1 in + lex*|yacc*) + # Not GNU programs, they don't have --version. + ;; + + tar*) + if test -n "$run"; then + echo 1>&2 "ERROR: \`tar' requires --run" + exit 1 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then + exit 1 + fi + ;; + + *) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then + # Could not run --version or --help. This is probably someone + # running `$TOOL --version' or `$TOOL --help' to check whether + # $TOOL exists and not knowing $TOOL uses missing. + exit 1 + fi + ;; +esac + +# If it does not exist, or fails to run (possibly an outdated version), +# try to emulate it. +case $program in + aclocal*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`acinclude.m4' or \`${configure_ac}'. You might want + to install the \`Automake' and \`Perl' packages. Grab them from + any GNU archive site." + touch aclocal.m4 + ;; + + autoconf*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`${configure_ac}'. You might want to install the + \`Autoconf' and \`GNU m4' packages. Grab them from any GNU + archive site." + touch configure + ;; + + autoheader*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`acconfig.h' or \`${configure_ac}'. You might want + to install the \`Autoconf' and \`GNU m4' packages. Grab them + from any GNU archive site." + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` + test -z "$files" && files="config.h" + touch_files= + for f in $files; do + case $f in + *:*) touch_files="$touch_files "`echo "$f" | + sed -e 's/^[^:]*://' -e 's/:.*//'`;; + *) touch_files="$touch_files $f.in";; + esac + done + touch $touch_files + ;; + + automake*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. + You might want to install the \`Automake' and \`Perl' packages. + Grab them from any GNU archive site." + find . -type f -name Makefile.am -print | + sed 's/\.am$/.in/' | + while read f; do touch "$f"; done + ;; + + autom4te*) + echo 1>&2 "\ +WARNING: \`$1' is needed, but is $msg. + You might have modified some files without having the + proper tools for further handling them. + You can get \`$1' as part of \`Autoconf' from any GNU + archive site." + + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then + touch $file + else + test -z "$file" || exec >$file + echo "#! /bin/sh" + echo "# Created by GNU Automake missing as a replacement of" + echo "# $ $@" + echo "exit 0" + chmod +x $file + exit 1 + fi + ;; + + bison*|yacc*) + echo 1>&2 "\ +WARNING: \`$1' $msg. You should only need it if + you modified a \`.y' file. You may need the \`Bison' package + in order for those modifications to take effect. You can get + \`Bison' from any GNU archive site." + rm -f y.tab.c y.tab.h + if test $# -ne 1; then + eval LASTARG="\${$#}" + case $LASTARG in + *.y) + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" y.tab.c + fi + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" y.tab.h + fi + ;; + esac + fi + if test ! -f y.tab.h; then + echo >y.tab.h + fi + if test ! -f y.tab.c; then + echo 'main() { return 0; }' >y.tab.c + fi + ;; + + lex*|flex*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a \`.l' file. You may need the \`Flex' package + in order for those modifications to take effect. You can get + \`Flex' from any GNU archive site." + rm -f lex.yy.c + if test $# -ne 1; then + eval LASTARG="\${$#}" + case $LASTARG in + *.l) + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" lex.yy.c + fi + ;; + esac + fi + if test ! -f lex.yy.c; then + echo 'main() { return 0; }' >lex.yy.c + fi + ;; + + help2man*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a dependency of a manual page. You may need the + \`Help2man' package in order for those modifications to take + effect. You can get \`Help2man' from any GNU archive site." + + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then + touch $file + else + test -z "$file" || exec >$file + echo ".ab help2man is required to generate this page" + exit $? + fi + ;; + + makeinfo*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a \`.texi' or \`.texinfo' file, or any other file + indirectly affecting the aspect of the manual. The spurious + call might also be the consequence of using a buggy \`make' (AIX, + DU, IRIX). You might want to install the \`Texinfo' package or + the \`GNU make' package. Grab either from any GNU archive site." + # The file to touch is that specified with -o ... + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -z "$file"; then + # ... or it is the one specified with @setfilename ... + infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` + file=`sed -n ' + /^@setfilename/{ + s/.* \([^ ]*\) *$/\1/ + p + q + }' $infile` + # ... or it is derived from the source name (dir/f.texi becomes f.info) + test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info + fi + # If the file does not exist, the user really needs makeinfo; + # let's fail without touching anything. + test -f $file || exit 1 + touch $file + ;; + + tar*) + shift + + # We have already tried tar in the generic part. + # Look for gnutar/gtar before invocation to avoid ugly error + # messages. + if (gnutar --version > /dev/null 2>&1); then + gnutar "$@" && exit 0 + fi + if (gtar --version > /dev/null 2>&1); then + gtar "$@" && exit 0 + fi + firstarg="$1" + if shift; then + case $firstarg in + *o*) + firstarg=`echo "$firstarg" | sed s/o//` + tar "$firstarg" "$@" && exit 0 + ;; + esac + case $firstarg in + *h*) + firstarg=`echo "$firstarg" | sed s/h//` + tar "$firstarg" "$@" && exit 0 + ;; + esac + fi + + echo 1>&2 "\ +WARNING: I can't seem to be able to run \`tar' with the given arguments. + You may want to install GNU tar or Free paxutils, or check the + command line arguments." + exit 1 + ;; + + *) + echo 1>&2 "\ +WARNING: \`$1' is needed, and is $msg. + You might have modified some files without having the + proper tools for further handling them. Check the \`README' file, + it often tells you about the needed prerequisites for installing + this package. You may also peek at any GNU archive site, in case + some other package would contain this missing \`$1' program." + exit 1 + ;; +esac + +exit 0 + +# 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: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/config/mkinstalldirs b/config/mkinstalldirs new file mode 100755 index 0000000..d2d5f21 --- /dev/null +++ b/config/mkinstalldirs @@ -0,0 +1,111 @@ +#! /bin/sh +# mkinstalldirs --- make directory hierarchy +# Author: Noah Friedman +# Created: 1993-05-16 +# Public domain + +errstatus=0 +dirmode="" + +usage="\ +Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." + +# process command line arguments +while test $# -gt 0 ; do + case $1 in + -h | --help | --h*) # -h for help + echo "$usage" 1>&2 + exit 0 + ;; + -m) # -m PERM arg + shift + test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } + dirmode=$1 + shift + ;; + --) # stop option processing + shift + break + ;; + -*) # unknown option + echo "$usage" 1>&2 + exit 1 + ;; + *) # first non-opt arg + break + ;; + esac +done + +for file +do + if test -d "$file"; then + shift + else + break + fi +done + +case $# in + 0) exit 0 ;; +esac + +case $dirmode in + '') + if mkdir -p -- . 2>/dev/null; then + echo "mkdir -p -- $*" + exec mkdir -p -- "$@" + fi + ;; + *) + if mkdir -m "$dirmode" -p -- . 2>/dev/null; then + echo "mkdir -m $dirmode -p -- $*" + exec mkdir -m "$dirmode" -p -- "$@" + fi + ;; +esac + +for file +do + set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` + shift + + pathcomp= + for d + do + pathcomp="$pathcomp$d" + case $pathcomp in + -*) pathcomp=./$pathcomp ;; + esac + + if test ! -d "$pathcomp"; then + echo "mkdir $pathcomp" + + mkdir "$pathcomp" || lasterr=$? + + if test ! -d "$pathcomp"; then + errstatus=$lasterr + else + if test ! -z "$dirmode"; then + echo "chmod $dirmode $pathcomp" + lasterr="" + chmod "$dirmode" "$pathcomp" || lasterr=$? + + if test ! -z "$lasterr"; then + errstatus=$lasterr + fi + fi + fi + fi + + pathcomp="$pathcomp/" + done +done + +exit $errstatus + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# End: +# mkinstalldirs ends here diff --git a/configure b/configure new file mode 100755 index 0000000..cbd9c56 --- /dev/null +++ b/configure @@ -0,0 +1,23833 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.68 for util-linux 2.22. +# +# Report bugs to . +# +# +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 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 + +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" + 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 : + # 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 + export CONFIG_SHELL + 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+"$@"} +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_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; } + + # 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 -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +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 + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# 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.22' +PACKAGE_STRING='util-linux 2.22' +PACKAGE_BUGREPORT='kzak@redhat.com' +PACKAGE_URL='' + +ac_unique_file="sys-utils/mount.c" +ac_default_prefix=/usr +# 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_subst_vars='am__EXEEXT_FALSE +am__EXEEXT_TRUE +LTLIBOBJS +LIBOBJS +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 +HAVE_SYSTEMD_FALSE +HAVE_SYSTEMD_TRUE +systemdsystemunitdir +USE_SOCKET_ACTIVATION_FALSE +USE_SOCKET_ACTIVATION_TRUE +PERL +BUILD_CHKDUPEXE_FALSE +BUILD_CHKDUPEXE_TRUE +BUILD_WRITE_FALSE +BUILD_WRITE_TRUE +BUILD_WALL_FALSE +BUILD_WALL_TRUE +BUILD_TASKSET_FALSE +BUILD_TASKSET_TRUE +HAVE_SCHED_GETAFFINITY_FALSE +HAVE_SCHED_GETAFFINITY_TRUE +BUILD_IONICE_FALSE +BUILD_IONICE_TRUE +HAVE_IOPRIO_GET_FALSE +HAVE_IOPRIO_GET_TRUE +HAVE_IOPRIO_SET_FALSE +HAVE_IOPRIO_SET_TRUE +BUILD_SCHEDUTILS_FALSE +BUILD_SCHEDUTILS_TRUE +BUILD_SU_FALSE +BUILD_SU_TRUE +BUILD_SULOGIN_FALSE +BUILD_SULOGIN_TRUE +BUILD_LOGIN_FALSE +BUILD_LOGIN_TRUE +BUILD_CHFN_CHSH_FALSE +BUILD_CHFN_CHSH_TRUE +BUILD_NEWGRP_FALSE +BUILD_NEWGRP_TRUE +BUILD_VIPW_FALSE +BUILD_VIPW_TRUE +BUILD_RESET_FALSE +BUILD_RESET_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_ELVTUNE_FALSE +BUILD_ELVTUNE_TRUE +BUILD_PIVOT_ROOT_FALSE +BUILD_PIVOT_ROOT_TRUE +HAVE_PIVOT_ROOT_FALSE +HAVE_PIVOT_ROOT_TRUE +BUILD_SWITCH_ROOT_FALSE +BUILD_SWITCH_ROOT_TRUE +BUILD_LSLOCKS_FALSE +BUILD_LSLOCKS_TRUE +BUILD_PRLIMIT_FALSE +BUILD_PRLIMIT_TRUE +HAVE_PRLIMIT64_FALSE +HAVE_PRLIMIT64_TRUE +BUILD_SWAPLABEL_FALSE +BUILD_SWAPLABEL_TRUE +BUILD_WDCTL_FALSE +BUILD_WDCTL_TRUE +BUILD_CHCPU_FALSE +BUILD_CHCPU_TRUE +BUILD_LSCPU_FALSE +BUILD_LSCPU_TRUE +BUILD_LSBLK_FALSE +BUILD_LSBLK_TRUE +BUILD_SWAPON_FALSE +BUILD_SWAPON_TRUE +BUILD_HWCLOCK_FALSE +BUILD_HWCLOCK_TRUE +BUILD_CRAMFS_FALSE +BUILD_CRAMFS_TRUE +BUILD_AGETTY_FALSE +BUILD_AGETTY_TRUE +BUILD_EJECT_FALSE +BUILD_EJECT_TRUE +ruman1dir +BUILD_DDATE_FALSE +BUILD_DDATE_TRUE +BUILD_ARCH_FALSE +BUILD_ARCH_TRUE +BUILD_UNSHARE_FALSE +BUILD_UNSHARE_TRUE +HAVE_UNSHARE_FALSE +HAVE_UNSHARE_TRUE +BUILD_FALLOCATE_FALSE +BUILD_FALLOCATE_TRUE +HAVE_FALLOCATE_FALSE +HAVE_FALLOCATE_TRUE +BUILD_MOUNTPOINT_FALSE +BUILD_MOUNTPOINT_TRUE +BUILD_UUIDD_FALSE +BUILD_UUIDD_TRUE +BUILD_PARTX_FALSE +BUILD_PARTX_TRUE +BUILD_FSCK_FALSE +BUILD_FSCK_TRUE +BUILD_LOSETUP_FALSE +BUILD_LOSETUP_TRUE +BUILD_MOUNT_FALSE +BUILD_MOUNT_TRUE +BUILD_DEPRECATED_MOUNT_FALSE +BUILD_DEPRECATED_MOUNT_TRUE +LIBMOUNT_VERSION_INFO +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 +HAVE_TINFO_FALSE +HAVE_TINFO_TRUE +BUILD_CFDISK_FALSE +BUILD_CFDISK_TRUE +HAVE_SLANG_FALSE +HAVE_SLANG_TRUE +NCURSES_LIBS +HAVE_NCURSES_FALSE +HAVE_NCURSES_TRUE +HAVE_UDEV_FALSE +HAVE_UDEV_TRUE +HAVE_AUDIT_FALSE +HAVE_AUDIT_TRUE +SELINUX_LIBS_STATIC +SELINUX_LIBS +HAVE_SELINUX_FALSE +HAVE_SELINUX_TRUE +HAVE_LIBCRYPT_FALSE +HAVE_LIBCRYPT_TRUE +HAVE_CPU_SET_T_FALSE +HAVE_CPU_SET_T_TRUE +HAVE_TERMCAP_FALSE +HAVE_TERMCAP_TRUE +HAVE_UTIL_FALSE +HAVE_UTIL_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 +SOCKET_LIBS +HAVE_LANGINFO_FALSE +HAVE_LANGINFO_TRUE +POSUB +LTLIBINTL +LIBINTL +INTLLIBS +LTLIBICONV +LIBICONV +MSGMERGE +XGETTEXT +GMSGFMT +MSGFMT +USE_NLS +MKINSTALLDIRS +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 +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 +OTOOL64 +OTOOL +LIPO +NMEDIT +DSYMUTIL +MANIFEST_TOOL +RANLIB +ac_ct_AR +AR +DLLTOOL +OBJDUMP +LN_S +NM +ac_ct_DUMPBIN +DUMPBIN +LD +FGREP +SED +LIBTOOL +WARN_CFLAGS +host_os +host_vendor +host_cpu +host +build_os +build_vendor +build_cpu +build +EGREP +GREP +CPP +am__fastdepCC_FALSE +am__fastdepCC_TRUE +CCDEPMODE +AMDEPBACKSLASH +AMDEP_FALSE +AMDEP_TRUE +am__quote +am__include +DEPDIR +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC +usrlib_execdir +usrsbin_execdir +usrbin_execdir +libdirname +AM_BACKSLASH +AM_DEFAULT_VERBOSITY +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 +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_silent_rules +enable_dependency_tracking +enable_shared +enable_static +with_pic +enable_fast_install +with_gnu_ld +with_sysroot +enable_libtool_lock +with_html_dir +enable_gtk_doc +enable_largefile +enable_nls +enable_rpath +with_libiconv_prefix +with_libintl_prefix +enable_static_programs +enable_tls +with_selinux +with_audit +with_udev +with_ncurses +with_slang +with_utempter +enable_most_builds +enable_libuuid +enable_libblkid +enable_libmount +enable_deprecated_mount +enable_mount +enable_losetup +enable_fsck +enable_partx +enable_uuidd +enable_mountpoint +enable_fallocate +enable_unshare +enable_arch +enable_ddate +enable_eject +enable_agetty +enable_cramfs +enable_switch_root +enable_pivot_root +enable_elvtune +enable_kill +enable_last +enable_utmpdump +enable_line +enable_mesg +enable_raw +enable_rename +enable_reset +enable_vipw +enable_newgrp +enable_chfn_chsh +enable_chsh_only_listed +enable_login +enable_login_chown_vcs +enable_login_stat_mail +enable_sulogin +enable_su +enable_schedutils +enable_wall +enable_write +enable_chkdupexe +enable_socket_activation +with_systemdsystemunitdir +enable_pg_bell +enable_require_password +enable_fs_paths_default +enable_fs_paths_extra +enable_use_tty_group +enable_makeinstall_chown +enable_makeinstall_setuid +' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +CPP +PKG_CONFIG +PKG_CONFIG_PATH +PKG_CONFIG_LIBDIR +SUID_CFLAGS +SUID_LDFLAGS' + + +# 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 + $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used" >&2 + 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.22 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.22:";; + 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-silent-rules less verbose build output (undo: `make V=1') + --disable-silent-rules verbose build output (undo: `make V=0') + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors + --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) + --enable-gtk-doc use gtk-doc to build documentation [[default=no]] + --disable-largefile omit support for large files + --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) + --disable-tls disable use of thread local support + --enable-most-builds build everything other than experimental code + --disable-libuuid do not build libuuid and uuid utilities + --disable-libblkid do not build libblkid and many related utilities + --disable-libmount do not build libmount + --enable-deprecated-mount + build old mount utilities + --disable-mount do not build mount(8) and umount(8) + --disable-losetup do not build losetup + --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 + --enable-arch do build arch + --enable-ddate do build ddate + --disable-eject do not build eject + --disable-agetty do not build agetty + --disable-cramfs do not build fsck.cramfs, mkfs.cramfs + --disable-switch_root do not build switch_root + --disable-pivot_root do not build pivot_root + --enable-elvtune build elvtune (only works with 2.2 and 2.4 kernels) + --disable-kill do not build kill + --enable-last build last + --disable-utmpdump do not build utmpdump + --enable-line build line + --enable-mesg build mesg + --enable-raw build raw + --disable-rename do not build rename + --enable-reset build reset + --enable-vipw build vipw + --enable-newgrp build newgrp + --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-sulogin do not build sulogin + --disable-su do not build su + --disable-schedutils do not build chrt, ionice, teskset + --disable-wall do not build wall + --enable-write build write + --enable-chkdupexe build deprecated chkdupexe + --enable-socket-activation + build uuidd with support for systemd socket + activation + --disable-pg-bell let pg not ring the bell on invalid keys + --disable-require-password + do not require the user to enter the password in + chfn and chsh + --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 + --disable-makeinstall-chown + do not do chown-like operations during "make + install" + --disable-makeinstall-setuid + do not do setuid chmod operations during "make + install" + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-pic try to use only PIC/non-PIC objects [default=use + both] + --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 + --with-selinux compile with SELinux support + --with-audit compile with audit support + --without-udev compile without udev support + --with-ncurses build with non-wide ncurses, default is wide version + (--without-ncurses disables all ncurses(w) support) + --with-slang compile cfdisk with slang + --with-utempter compile script(1) with libutempter + --with-systemdsystemunitdir=DIR + directory for systemd service files + +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 + 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 + 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 + +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 . +_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.22 +generated by GNU Autoconf 2.68 + +Copyright (C) 2010 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 || + $as_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.22, which was +generated by GNU Autoconf 2.68. 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 + +# 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. + + + +am__api_version='1.11' + +# 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 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$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; } +# Just in case +sleep 1 +echo timestamp > conftest.file +# 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 ( + 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 + rm -f conftest.file + 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 + + 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; } +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"` + +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +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 --run true"; then + am_missing_run="$MISSING --run " +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}" != 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$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; } + +mkdir_p="$MKDIR_P" +case $mkdir_p in + [\\/$]* | ?:[\\/]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac + +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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 + +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.22' + + +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"} + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +# Always define AMTAR for backward compatibility. + +AMTAR=${AMTAR-"${am_missing_run}tar"} + + +{ $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; } +# Loop over all known methods to create a tar archive until one works. +_am_tools='gnutar pax cpio none' +_am_tools=${am_cv_prog_tar_pax-$_am_tools} +# Do not fold the above two line into one, because Tru64 sh and +# Solaris sh will not grok spaces in the rhs of `-'. +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); } + 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; } + + + + + + +# 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_BACKSLASH='\' + + + + + +PACKAGE_VERSION_MAJOR=$(echo $PACKAGE_VERSION | awk -F. '{print $1}') +PACKAGE_VERSION_MINOR=$(echo $PACKAGE_VERSION | awk -F. '{print $2}' \ + | awk -F- '{print $1}') +PACKAGE_VERSION_RELEASE=0 + +LIBBLKID_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE" +LIBBLKID_DATE="04-Sep-2012" +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 + +# 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 ;; +esac + +case $prefix:$localstatedir in + NONE:'${prefix}/var') + localstatedir=/run + { $as_echo "$as_me:${as_lineno-$LINENO}: --localstatedir defaults to /run" >&5 +$as_echo "$as_me: --localstatedir defaults to /run" >&6;} + ;; + *:'${prefix}/var') + localstatedir=${prefix}/run + ;; + NONE:*) + ;; + *:*) + localstatedir=${prefix}/${localstatedir} + ;; +esac + + +libdirname=`basename "$libdir"` + + +# The original default values of {bin,sbin,lib}dir +usrbin_execdir='${exec_prefix}/bin' + + +usrsbin_execdir='${exec_prefix}/sbin' + + +usrlib_execdir='${exec_prefix}/'$libdirname + + + +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='\' +fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +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 +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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 +#include +#include +/* 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 + +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'. + 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 8's {/usr,}/bin/sh. + touch 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 + ;; + 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 + + +if test "x$CC" != xcc; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 +$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } +else + { $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; } +fi +set dummy $CC; ac_cc=`$as_echo "$2" | + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +if eval \${ac_cv_prog_cc_${ac_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. +# We do the test twice because some compilers refuse to overwrite an +# existing .o file with -o, though they will create one. +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' +rm -f conftest2.* +if { { 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; } && + test -f conftest2.$ac_objext && { { 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 + eval ac_cv_prog_cc_${ac_cc}_c_o=yes + if test "x$CC" != xcc; then + # Test first that cc exists at all. + if { ac_try='cc -c conftest.$ac_ext >&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_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' + rm -f conftest2.* + if { { 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; } && + test -f conftest2.$ac_objext && { { 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 + # cc works too. + : + else + # cc exists but doesn't like -o. + eval ac_cv_prog_cc_${ac_cc}_c_o=no + fi + fi + fi +else + eval ac_cv_prog_cc_${ac_cc}_c_o=no +fi +rm -f core conftest* + +fi +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; 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_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h + +fi + +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o +if test "$am_t" != 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 + + + 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 -xc99=all -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 +#include +#include +/* 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 + + +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" + { test -f "$ac_path_GREP" && $as_test_x "$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" + { test -f "$ac_path_EGREP" && $as_test_x "$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 + + + +# 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 () +{ +/* FIXME: Include the comments suggested by Paul. */ +#ifndef __cplusplus + /* Ultrix mips cc rejects this. */ + typedef int charset[2]; + const charset cs; + /* 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. */ + char *t; + 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 saying + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ + struct s { int j; const int *ap[3]; }; + struct s *b; 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 + + 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 + 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 + + 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 + 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_ul_Warn=`$as_echo "ul_cv_warn_-Werror=sequence-point" | $as_tr_sh` + { $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 eval \${$as_ul_Warn+:} false; then : + $as_echo_n "(cached) " >&6 +else + + 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 : + eval "$as_ul_Warn=yes" +else + eval "$as_ul_Warn=no" +fi +rm -f conftest.err conftest.i conftest.$ac_ext + CPPFLAGS="$ul_save_CPPFLAGS" + +fi +eval ac_res=\$$as_ul_Warn + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + if eval test \"x\$"$as_ul_Warn"\" = x"yes"; 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 + + 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 + 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 -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 + + 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 + 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 + + 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 + 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 + + 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 + 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 + + 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 + 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 + + 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 + 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 + + 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 + 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 + + 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 + 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 + + 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 + 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 + + 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 + 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 + + 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 + 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 + + 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 + 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 + + 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 + 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 + + 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 + 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 + + + +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' +macro_revision='1.3293' + + + + + + + + + + + + + +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" + { test -f "$ac_path_SED" && $as_test_x "$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" + { test -f "$ac_path_FGREP" && $as_test_x "$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 "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +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 ${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 + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + 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 "$lt_cv_path_NM" != "no"; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols" + ;; + *) + 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; + ;; + + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # 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 + ;; + + 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"; 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"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && + test $i != 17 # 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"} + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } +# Try some XSI features +xsi_shell=no +( _lt_dummy="a/b/c" + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ + = c,a/b,b/c, \ + && eval 'test $(( 1 + 1 )) -eq 2 \ + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ + && xsi_shell=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 +$as_echo "$xsi_shell" >&6; } + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } +lt_shell_append=no +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ + >/dev/null 2>&1 \ + && lt_shell_append=yes +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 +$as_echo "$lt_shell_append" >&6; } + + +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 "$GCC" != yes; then + reload_cmds=false + fi + ;; + darwin*) + if test "$GCC" = yes; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 +# which 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. + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. + if ( test "$lt_cv_nm_interface" = "BSD nm" && 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 + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +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 Linux ELF. +linux* | k*bsd*-gnu | kopensolaris*-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*) + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; 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 + ;; +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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 "$ac_status" -eq 0; 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 "$ac_status" -ne 0; 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 "x$lt_cv_ar_at_file" = xno; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 + openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$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 "$host_cpu" = ia64; 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 + +# 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 -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$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 -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/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 + # and D for any global 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};"\ +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ +" \$ 0!~/External *\|/{next};"\ +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ +" {if(hide[section]) next};"\ +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ +" s[1]~/^[@?]/{print s[1], s[1]; next};"\ +" s[1]~prfx {split(s[1],t,\"@\"); print 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 con'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* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$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 "$pipe_works" = yes; 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 "$GCC" = yes; 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; } + + + + + +# Check whether --enable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then : + enableval=$enable_libtool_lock; +fi + +test "x$enable_libtool_lock" != xno && 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 which ABI we are using. + 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 which ABI we are using. + 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 "$lt_cv_prog_gnu_ld" = yes; 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* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +s390*-*linux*|s390*-*tpf*|sparc*-*linux*) + # Find out which ABI we are using. + 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*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|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" + ;; + ppc*-*linux*|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 x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +sparc*-*solaris*) + # Find out which ABI we are using. + 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*) LD="${LD-ld} -m elf64_sparc" ;; + *) + 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 "x$lt_cv_path_mainfest_tool" != xyes; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; 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 -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; 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 "$lt_cv_apple_cc_single_mod" = "yes"; then + _lt_dar_single_mod='$single_module' + fi + if test "$lt_cv_ld_exported_symbols_list" = "yes"; 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 "$lt_cv_ld_force_load" = "no"; then + _lt_dsymutil='~$DSYMUTIL $lib || :' + else + _lt_dsymutil= + fi + ;; + 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; pic_mode="$withval" +else + pic_mode=default +fi + + +test -z "$pic_mode" && pic_mode=default + + + + + + + + # 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 + + + + + + + + + + + +# 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 "X${COLLECT_NAMES+set}" != Xset; 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 + +for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` + + +# 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 "$GCC" = yes; 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" + # 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 x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; 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 "$GCC" = yes; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + ;; + + 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' + ;; + + 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 ' + lt_prog_compiler_pic='-Xcompiler -fPIC' + ;; + 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 "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + 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' + ;; + + 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) + 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' + ;; + 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\ F* | *Sun*Fortran*) + # 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\ C*) + # Sun C 5.9 + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Wl,' + ;; + 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 which 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" + # 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 x"$lt_cv_prog_compiler_pic_works" = xyes; 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 x"$lt_cv_prog_compiler_static_works" = xyes; 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 "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; 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 "$hard_links" = no; 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_flag_spec_ld= + 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 "$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 + + # 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 "$with_gnu_ld" = yes; 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 "$lt_use_gnu_ld_interface" = yes; 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 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 "$host_cpu" != ia64; 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 (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; 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 + ;; + + 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 "$host_os" = linux-dietlibc; 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 "$tmp_diet" = no + 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' ;; + 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 "x$supports_anon_versioning" = xyes; 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 + 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= + hardcode_libdir_flag_spec_ld='-rpath $libdir' + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' + if test "x$supports_anon_versioning" = xyes; 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 can not +*** 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 "$ld_shlibs" = no; 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 "$GCC" = yes && 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 "$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 + 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 AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global + # defined symbols, whereas GNU nm marks them as "W". + 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) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | 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 + # 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 + + 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,' + + if test "$GCC" = yes; 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 "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; 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 "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + 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_use_runtimelinking" = yes; 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 "${lt_cv_aix_libpath+set}" = 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 "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; 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 "${lt_cv_aix_libpath+set}" = 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 "$with_gnu_ld" = yes; 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 + # This is similar to how AIX traditionally builds its shared libraries. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + 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~linknames=' + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $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 + 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 "$lt_cv_ld_force_load" = "yes"; 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*) _lt_dar_can_shared=yes ;; + *) _lt_dar_can_shared=$GCC ;; + esac + if test "$_lt_dar_can_shared" = "yes"; 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 + ;; + + freebsd1*) + ld_shlibs=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 "$GCC" = yes; 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 $output_objdir/$soname = $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 $output_objdir/$soname = $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 "$GCC" = yes && test "$with_gnu_ld" = no; 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 "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_flag_spec_ld='+b $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 "$GCC" = yes && test "$with_gnu_ld" = no; 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 x"$lt_cv_prog_compiler__b" = xyes; 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 "$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_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 "$GCC" = yes; 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 "$lt_cv_irix_exported_symbol" = yes; 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 + ;; + + 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*) + 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__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; 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 + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + 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 + allow_undefined_flag=unsupported + archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; 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 "$GCC" = yes; 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 "$GCC" = yes; 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 "$GCC" = yes; 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 "x$host_vendor" = xsequent; 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 "$GCC" = yes; 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 can NOT 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 "$GCC" = yes; 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 x$host_vendor = xsni; 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 "$ld_shlibs" = no && 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 "$enable_shared" = yes && test "$GCC" = yes; 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 "$GCC" = yes; 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` + 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" + else + 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 + 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 + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; 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 + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # 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}' + else + # 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' + fi + 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%'\''`; test $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 + 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 + 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 + ;; + +freebsd1*) + dynamic_linker=no + ;; + +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[123]*) 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} $libname${shared_ext}' + 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 + ;; + +gnu*) + version_type=linux + 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 + hardcode_into_libs=yes + ;; + +haiku*) + version_type=linux + 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=yes + 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 "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + 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 + 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 "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + 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 + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + version_type=linux + 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" + + # Append ld.so.conf contents 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 + 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*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + 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 + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +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 + 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 "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux + 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 + 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=freebsd-elf + 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 "$with_gnu_ld" = yes; 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 + 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 + 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 "$dynamic_linker" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" +fi +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { $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 "X$hardcode_automatic" = "Xyes" ; then + + # We can hardcode non-existent directories. + if test "$hardcode_direct" != no && + # 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 "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && + test "$hardcode_minus_L" != no; 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 "$hardcode_action" = relink || + test "$inherit_rpath" = yes; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + + + + + + + if test "x$enable_dlopen" != xyes; 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 + + ;; + + *) + 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 "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && 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 "$cross_compiling" = yes; 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 -fvisbility=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 "x$lt_cv_dlopen_self" = xyes; 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 "$cross_compiling" = yes; 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 -fvisbility=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 which 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 "$can_build_shared" = "no" && 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 "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + + aix[4-9]*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + 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 "$enable_shared" = yes || 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: + + + + + + + + + + +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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 +case ${host_os} in + *linux*) + linux_os=yes + ;; +esac + if test "x$linux_os" = xyes; then + LINUX_TRUE= + LINUX_FALSE='#' +else + LINUX_TRUE='#' + LINUX_FALSE= +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*) 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 + + + + + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + case "$ac_aux_dir" in + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; + esac + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + 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; } + + + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +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 + if $ac_dir/$ac_word --statistics /dev/null >/dev/null 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +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 + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 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 + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +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 + if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 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 + + + if test "$GMSGFMT" != ":"; then + if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && + (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 +$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } + GMSGFMT=":" + fi + fi + + if test "$XGETTEXT" != ":"; then + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $XGETTEXT --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 + : ; + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 +$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } + XGETTEXT=":" + fi + rm -f messages.po + fi + + ac_config_commands="$ac_config_commands default-1" + + + + 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 + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +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 GCC" >&5 +$as_echo_n "checking for ld used by GCC... " >&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. + [\\/]* | [A-Za-z]:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the path 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 + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH; do + 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 GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break ;; + *) + test "$with_gnu_ld" != yes && break ;; + esac + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$acl_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&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 ld's 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" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + 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 + + + + + + + + + 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/lib" + fi + fi + +fi + + LIBICONV= + LTLIBICONV= + INCICONV= + 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= + if test $use_additional = yes; then + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + else + if test -f "$additional_libdir/lib$name.$libext"; then + found_dir="$additional_libdir" + found_a="$additional_libdir/lib$name.$libext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + 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 "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" + found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + else + if test -f "$dir/lib$name.$libext"; then + found_dir="$dir" + found_a="$dir/lib$name.$libext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + 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/lib"; 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 "$hardcode_direct" = yes; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$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 "$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 + */lib | */lib/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` + 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*) 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/lib"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) 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 "$hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$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=\"$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 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; } + + + + + LIBINTL= + LTLIBINTL= + POSUB= + + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + + + + + + + { $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 ${gt_cv_func_gnugettext1_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings; +int +main () +{ +bindtextdomain ("", ""); +return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_gnugettext1_libc=yes +else + gt_cv_func_gnugettext1_libc=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: $gt_cv_func_gnugettext1_libc" >&5 +$as_echo "$gt_cv_func_gnugettext1_libc" >&6; } + + if test "$gt_cv_func_gnugettext1_libc" != "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 "#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/lib" + fi + fi + +fi + + LIBINTL= + LTLIBINTL= + INCINTL= + 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= + if test $use_additional = yes; then + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + else + if test -f "$additional_libdir/lib$name.$libext"; then + found_dir="$additional_libdir" + found_a="$additional_libdir/lib$name.$libext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + 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 "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" + found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + else + if test -f "$dir/lib$name.$libext"; then + found_dir="$dir" + found_a="$dir/lib$name.$libext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + 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/lib"; 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 "$hardcode_direct" = yes; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$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 "$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 + */lib | */lib/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` + 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*) 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/lib"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) 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 "$hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$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=\"$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 ${gt_cv_func_gnugettext1_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 +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (); +int +main () +{ +bindtextdomain ("", ""); +return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_gnugettext1_libintl=yes +else + gt_cv_func_gnugettext1_libintl=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (); +int +main () +{ +bindtextdomain ("", ""); +return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + gt_cv_func_gnugettext1_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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5 +$as_echo "$gt_cv_func_gnugettext1_libintl" >&6; } + fi + + if test "$gt_cv_func_gnugettext1_libc" = "yes" \ + || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= + LTLIBINTL= + INCINTL= + 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 test "$gt_cv_func_gnugettext1_libintl" = "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 test "$gt_cv_func_gnugettext1_libintl" = "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 \ + linux/cdrom.h \ + linux/falloc.h \ + linux/watchdog.h \ + linux/fd.h \ + linux/raw.h \ + linux/tiocl.h \ + linux/version.h \ + locale.h \ + mntent.h \ + net/if.h \ + net/if_dl.h \ + netinet/in.h \ + paths.h \ + pty.h \ + security/pam_misc.h \ + stdint.h \ + stdio_ext.h \ + stdlib.h \ + sys/disk.h \ + sys/disklabel.h \ + sys/file.h \ + sys/io.h \ + sys/ioccom.h \ + sys/ioctl.h \ + sys/mkdev.h \ + sys/prctl.h \ + sys/queue.h \ + sys/resource.h \ + sys/socket.h \ + sys/sockio.h \ + sys/stat.h \ + sys/swap.h \ + sys/syscall.h \ + sys/time.h \ + sys/types.h \ + sys/un.h \ + unistd.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 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 + + +have_linux_raw_h=$ac_cv_header_linux_raw_h +have_linux_watchdog_h=$ac_cv_header_linux_watchdog_h +have_security_pam_misc_h=$ac_cv_header_security_pam_misc_h + + +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" "UNAME26" "ac_cv_have_decl_UNAME26" "#include +" +if test "x$ac_cv_have_decl_UNAME26" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_UNAME26 $ac_have_decl +_ACEOF +ac_fn_c_check_decl "$LINENO" "ADDR_NO_RANDOMIZE" "ac_cv_have_decl_ADDR_NO_RANDOMIZE" "#include +" +if test "x$ac_cv_have_decl_ADDR_NO_RANDOMIZE" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_ADDR_NO_RANDOMIZE $ac_have_decl +_ACEOF +ac_fn_c_check_decl "$LINENO" "FDPIC_FUNCPTRS" "ac_cv_have_decl_FDPIC_FUNCPTRS" "#include +" +if test "x$ac_cv_have_decl_FDPIC_FUNCPTRS" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FDPIC_FUNCPTRS $ac_have_decl +_ACEOF +ac_fn_c_check_decl "$LINENO" "MMAP_PAGE_ZERO" "ac_cv_have_decl_MMAP_PAGE_ZERO" "#include +" +if test "x$ac_cv_have_decl_MMAP_PAGE_ZERO" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_MMAP_PAGE_ZERO $ac_have_decl +_ACEOF +ac_fn_c_check_decl "$LINENO" "ADDR_COMPAT_LAYOUT" "ac_cv_have_decl_ADDR_COMPAT_LAYOUT" "#include +" +if test "x$ac_cv_have_decl_ADDR_COMPAT_LAYOUT" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_ADDR_COMPAT_LAYOUT $ac_have_decl +_ACEOF +ac_fn_c_check_decl "$LINENO" "READ_IMPLIES_EXEC" "ac_cv_have_decl_READ_IMPLIES_EXEC" "#include +" +if test "x$ac_cv_have_decl_READ_IMPLIES_EXEC" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_READ_IMPLIES_EXEC $ac_have_decl +_ACEOF +ac_fn_c_check_decl "$LINENO" "ADDR_LIMIT_32BIT" "ac_cv_have_decl_ADDR_LIMIT_32BIT" "#include +" +if test "x$ac_cv_have_decl_ADDR_LIMIT_32BIT" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_ADDR_LIMIT_32BIT $ac_have_decl +_ACEOF +ac_fn_c_check_decl "$LINENO" "WHOLE_SECONDS" "ac_cv_have_decl_WHOLE_SECONDS" "#include +" +if test "x$ac_cv_have_decl_WHOLE_SECONDS" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_WHOLE_SECONDS $ac_have_decl +_ACEOF +ac_fn_c_check_decl "$LINENO" "STICKY_TIMEOUTS" "ac_cv_have_decl_STICKY_TIMEOUTS" "#include +" +if test "x$ac_cv_have_decl_STICKY_TIMEOUTS" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STICKY_TIMEOUTS $ac_have_decl +_ACEOF +ac_fn_c_check_decl "$LINENO" "ADDR_LIMIT_3GB" "ac_cv_have_decl_ADDR_LIMIT_3GB" "#include +" +if test "x$ac_cv_have_decl_ADDR_LIMIT_3GB" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_ADDR_LIMIT_3GB $ac_have_decl +_ACEOF + + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#ifdef HAVE_SYS_SWAP_H +# include +#endif +#include + +int +main () +{ +swapon("/dev/null", 0); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +$as_echo "#define SWAPON_HAS_TWO_ARGS 1" >>confdefs.h + + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: Your libc thinks that swapon has 1 arg only." >&5 +$as_echo "$as_me: Your libc thinks that swapon has 1 arg only." >&6;} + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +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 + + +for ac_func in \ + __fpending \ + __secure_getenv \ + err \ + errx \ + fsync \ + futimens \ + getdomainname \ + getdtablesize \ + getexecname \ + getmntinfo \ + getrlimit \ + inotify_init \ + jrand48 \ + lchown \ + llseek \ + lseek64 \ + nanosleep \ + personality \ + posix_fadvise \ + prctl \ + rpmatch \ + scandirat \ + setresgid \ + setresuid \ + sigqueue \ + srandom \ + strnchr \ + strndup \ + strnlen \ + strtoull \ + sysconf \ + updwtmp \ + usleep \ + 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 + + +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 gethostbyname" >&5 +$as_echo_n "checking for library containing gethostbyname... " >&6; } +if ${ac_cv_search_gethostbyname+:} 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 gethostbyname (); +int +main () +{ +return gethostbyname (); + ; + return 0; +} +_ACEOF +for ac_lib in '' nsl; 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_gethostbyname=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_gethostbyname+:} false; then : + break +fi +done +if ${ac_cv_search_gethostbyname+:} false; then : + +else + ac_cv_search_gethostbyname=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 +$as_echo "$ac_cv_search_gethostbyname" >&6; } +ac_res=$ac_cv_search_gethostbyname +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + if test x"$ac_cv_search_gethostbyname" != x"none required"; then + SOCKET_LIBS="$SOCKET_LIBS -lnsl"; + fi +fi + +{ $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 + +case "$have_dirfd:$have_ddfd" in +no:no) + as_fn_error $? "cannot find a method to get filedescriptor of directory" "$LINENO" 5 ;; +esac + + +{ $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 "#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 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_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; + ; + 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 ;; +no) enable_static_programs= ;; +esac + + + case ,$enable_static_programs, in + *,losetup,*) static_losetup=yes ;; + esac + 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 + 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 + 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 + 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 + 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 + HAVE_STATIC_BLKID_TRUE= + HAVE_STATIC_BLKID_FALSE='#' +else + HAVE_STATIC_BLKID_TRUE='#' + HAVE_STATIC_BLKID_FALSE= +fi + + + + + + + + # 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 + + #ifdef __GLIBC__ + + #if !(__GLIBC_PREREQ(2, 7)) + #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 +int main() +{ + int i; + char *s; + i = sscanf("x", "%ms", &s); + if (i == 1) + return 0; + return 1; +} +_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 +int main() +{ + int i; + char *s; + i = sscanf("x", "%as", &s); + if (i == 1) + return 0; + return 1; +} +_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 + + + + 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 + + + + + have_termcap=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetnum in -ltermcap" >&5 +$as_echo_n "checking for tgetnum in -ltermcap... " >&6; } +if ${ac_cv_lib_termcap_tgetnum+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ltermcap $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 tgetnum (); +int +main () +{ +return tgetnum (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_termcap_tgetnum=yes +else + ac_cv_lib_termcap_tgetnum=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_termcap_tgetnum" >&5 +$as_echo "$ac_cv_lib_termcap_tgetnum" >&6; } +if test "x$ac_cv_lib_termcap_tgetnum" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBTERMCAP 1 +_ACEOF + + LIBS="-ltermcap $LIBS" + +else + have_termcap=no +fi + + if test $have_termcap = yes; then + HAVE_TERMCAP_TRUE= + HAVE_TERMCAP_FALSE='#' +else + HAVE_TERMCAP_TRUE='#' + HAVE_TERMCAP_FALSE= +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 + + +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 "#define HAVE_WIDECHAR 1" >>confdefs.h + + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +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_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. +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 + +else + + as_fn_error $? "crypt() is not available" "$LINENO" 5 + +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 + + + have_selinux=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getprevcon in -lselinux" >&5 +$as_echo_n "checking for getprevcon in -lselinux... " >&6; } +if ${ac_cv_lib_selinux_getprevcon+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lselinux $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 getprevcon (); +int +main () +{ +return getprevcon (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_selinux_getprevcon=yes +else + ac_cv_lib_selinux_getprevcon=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_selinux_getprevcon" >&5 +$as_echo "$ac_cv_lib_selinux_getprevcon" >&6; } +if test "x$ac_cv_lib_selinux_getprevcon" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBSELINUX 1 +_ACEOF + + LIBS="-lselinux $LIBS" + +else + have_selinux=no +fi + + if test $have_selinux = yes; then + HAVE_SELINUX_TRUE= + HAVE_SELINUX_FALSE='#' +else + HAVE_SELINUX_TRUE='#' + HAVE_SELINUX_FALSE= +fi + + + case "$with_selinux:$have_selinux" in + yes:no) as_fn_error $? "SELinux selected but libselinux not found" "$LINENO" 5;; + esac +fi + +if test "x$have_selinux" = xyes; then + SELINUX_LIBS="-lselinux -lsepol" + SELINUX_LIBS_STATIC="-lselinux -lsepol" + old_LDFLAGS="$LDFLAGS" + 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 + + LDFLAGS="$old_LDFLAGS" +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-ncurses was given. +if test "${with_ncurses+set}" = set; then : + withval=$with_ncurses; +else + with_ncurses=auto + +fi + + if false; then + HAVE_NCURSES_TRUE= + HAVE_NCURSES_FALSE='#' +else + HAVE_NCURSES_TRUE='#' + HAVE_NCURSES_FALSE= +fi + + +if test "x$with_ncurses" != xno; then + have_ncurses=no + for ac_header in ncurses.h ncurses/ncurses.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 + + if test "x$with_ncurses" = xauto; then + + + have_ncurses=yes + { $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 : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBNCURSESW 1 +_ACEOF + + LIBS="-lncursesw $LIBS" + +else + have_ncurses=no +fi + + if test $have_ncurses = yes; then + HAVE_NCURSES_TRUE= + HAVE_NCURSES_FALSE='#' +else + HAVE_NCURSES_TRUE='#' + HAVE_NCURSES_FALSE= +fi + + + if test "x$have_ncurses" = 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 + +fi + +done + + NCURSES_LIBS="-lncursesw" + fi + fi + if test "x$have_ncurses" = xno; then + + + have_ncurses=yes + { $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 : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBNCURSES 1 +_ACEOF + + LIBS="-lncurses $LIBS" + +else + have_ncurses=no +fi + + if test $have_ncurses = yes; then + HAVE_NCURSES_TRUE= + HAVE_NCURSES_FALSE='#' +else + HAVE_NCURSES_TRUE='#' + HAVE_NCURSES_FALSE= +fi + + + if test "x$have_ncurses" = xyes; then + NCURSES_LIBS="-lncurses" + fi + fi + +fi + +done + + if test "x$have_ncurses" = xno; then + as_fn_error $? "ncurses or ncursesw selected, but library not found (--without-ncurses to disable)" "$LINENO" 5 + fi +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 + 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_ncurses" = xyes; then + BUILD_CFDISK_TRUE= + BUILD_CFDISK_FALSE='#' +else + BUILD_CFDISK_TRUE='#' + BUILD_CFDISK_FALSE= +fi + + + +have_tinfo=no +{ $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 +fi + + if test "x$have_tinfo" = xyes; then + HAVE_TINFO_TRUE= + HAVE_TINFO_FALSE='#' +else + HAVE_TINFO_TRUE='#' + HAVE_TINFO_FALSE= +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-most-builds was given. +if test "${enable_most_builds+set}" = set; then : + enableval=$enable_most_builds; +else + enable_most_builds=no + +fi + +if test "x$enable_most_builds" = xyes; then + enable_arch=check + enable_ddate=yes + enable_elvtune=check + enable_last=yes + enable_line=yes + enable_mesg=yes + enable_reset=yes + enable_vipw=yes + enable_chfn_chsh=yes + enable_newgrp=yes + enable_write=yes +fi + +# Check whether --enable-libuuid was given. +if test "${enable_libuuid+set}" = set; then : + enableval=$enable_libuuid; +else + enable_libuuid=yes + +fi + + + + + +build_libuuid=$enable_libuuid + + + + if test "x$build_libuuid" = xyes; then + BUILD_LIBUUID_TRUE= + BUILD_LIBUUID_FALSE='#' +else + BUILD_LIBUUID_TRUE='#' + BUILD_LIBUUID_FALSE= +fi + + +if test "x$enable_libuuid" = xyes; then + +$as_echo "#define HAVE_LIBUUID 1" >>confdefs.h + +else + { $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-libblkid was given. +if test "${enable_libblkid+set}" = set; then : + enableval=$enable_libblkid; +else + enable_libblkid=yes + +fi + + + + + +build_libblkid=$enable_libblkid + + + + + +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 + enable_libmount=check + +fi + + + + + +build_libmount=$enable_libmount + + + + if test "x$build_libmount" != xno; then + + case $enable_libmount:$linux_os in #( + no:*) + build_libmount=no ;; + yes:yes) + build_libmount=yes ;; + yes:*) + as_fn_error $? "libmount selected for non-linux system" "$LINENO" 5;; + check:yes) + build_libmount=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; do not build libmount" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build libmount" >&2;} + build_libmount=no ;; + esac + 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; do not build libmount" >&5 +$as_echo "$as_me: WARNING: libblkid disabled; do not build libmount" >&2;} + build_libmount=no ;; + esac + fi + + + + + if test "x$build_libmount" != xno; then + case $enable_libmount:$have_scanf_alloc_modifier 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; do not build libmount" >&5 +$as_echo "$as_me: WARNING: scanf string alloc modifier not found; do not build 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 + + + + + +cat >>confdefs.h <<_ACEOF +#define LIBMOUNT_VERSION "$LIBMOUNT_VERSION" +_ACEOF + + + +# Check whether --enable-deprecated-mount was given. +if test "${enable_deprecated_mount+set}" = set; then : + enableval=$enable_deprecated_mount; +else + enable_deprecated_mount=no + +fi + + + + + +build_deprecated_mount=$enable_deprecated_mount + + + + if test "x$build_deprecated_mount" != xno; then + + case $enable_deprecated_mount:$linux_os in #( + no:*) + build_deprecated_mount=no ;; + yes:yes) + build_deprecated_mount=yes ;; + yes:*) + as_fn_error $? "deprecated_mount selected for non-linux system" "$LINENO" 5;; + check:yes) + build_deprecated_mount=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; do not build deprecated_mount" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build deprecated_mount" >&2;} + build_deprecated_mount=no ;; + esac + fi + + + + + if test "x$build_deprecated_mount" != xno; then + case $enable_deprecated_mount:$build_libblkid in #( + no:*) + build_deprecated_mount=no ;; + yes:yes) + build_deprecated_mount=yes ;; + yes:*) + as_fn_error $? "libblkid is needed to build deprecated_mount" "$LINENO" 5;; + check:yes) + build_deprecated_mount=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libblkid disabled; do not build deprecated_mount" >&5 +$as_echo "$as_me: WARNING: libblkid disabled; do not build deprecated_mount" >&2;} + build_deprecated_mount=no ;; + esac + fi + + if test "x$build_deprecated_mount" = xyes; then + BUILD_DEPRECATED_MOUNT_TRUE= + BUILD_DEPRECATED_MOUNT_FALSE='#' +else + BUILD_DEPRECATED_MOUNT_TRUE='#' + BUILD_DEPRECATED_MOUNT_FALSE= +fi + + + +# Check whether --enable-mount was given. +if test "${enable_mount+set}" = set; then : + enableval=$enable_mount; +else + enable_mount=check + +fi + + + + + +build_mount=$enable_mount + + + + + 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; do not build mount" >&5 +$as_echo "$as_me: WARNING: libmount disabled; do not build mount" >&2;} + build_mount=no ;; + esac + fi + + + + + if test "x$build_mount" != xno; then + case $enable_mount:$build_deprecated_mount in #( + no:*) + build_mount=no ;; + check:yes) + build_mount=no ;; + yes:yes) + as_fn_error $? "mount selected, but it conflicts with old deprecated mount version" "$LINENO" 5;; + 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 + enable_losetup=check + +fi + + + + + +build_losetup=$enable_losetup + + + + 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; do not build losetup" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build 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-fsck was given. +if test "${enable_fsck+set}" = set; then : + enableval=$enable_fsck; +else + enable_fsck=check + +fi + + + + + +build_fsck=$enable_fsck + + + + + 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; do not build fsck" >&5 +$as_echo "$as_me: WARNING: libmount disabled; do not build 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 + enable_partx=check + +fi + + + + + +build_partx=$enable_partx + + + + 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; do not build partx" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build 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; do not build partx" >&5 +$as_echo "$as_me: WARNING: libblkid disabled; do not build 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 + enable_uuidd=check + +fi + + + + + +build_uuidd=$enable_uuidd + + + + + 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; do not build uuidd" >&5 +$as_echo "$as_me: WARNING: libuuid disabled; do not build uuidd" >&2;} + build_uuidd=no ;; + esac + fi + +if test "x$build_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 + + + +# Check whether --enable-mountpoint was given. +if test "${enable_mountpoint+set}" = set; then : + enableval=$enable_mountpoint; +else + enable_mountpoint=check + +fi + + + + + +build_mountpoint=$enable_mountpoint + + + + + 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; do not build mountpoint" >&5 +$as_echo "$as_me: WARNING: libmount disabled; do not build 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 + enable_fallocate=check + +fi + + + + + +build_fallocate=$enable_fallocate + + + + 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; do not build fallocate" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build fallocate" >&2;} + build_fallocate=no ;; + esac + fi + + + + + + if false; then + HAVE_FALLOCATE_TRUE= + HAVE_FALLOCATE_FALSE='#' +else + HAVE_FALLOCATE_TRUE='#' + HAVE_FALLOCATE_FALSE= +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; } + if test "x$ul_cv_syscall_fallocate" != xno; then + HAVE_FALLOCATE_TRUE= + HAVE_FALLOCATE_FALSE='#' +else + HAVE_FALLOCATE_TRUE='#' + HAVE_FALLOCATE_FALSE= +fi + + 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; do not build fallocate" >&5 +$as_echo "$as_me: WARNING: fallocate syscall not found; do not build 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 + + +# Check whether --enable-unshare was given. +if test "${enable_unshare+set}" = set; then : + enableval=$enable_unshare; +else + enable_unshare=check + +fi + + + + + +build_unshare=$enable_unshare + + + + 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; do not build unshare" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build unshare" >&2;} + build_unshare=no ;; + esac + fi + + + + + + if false; then + HAVE_UNSHARE_TRUE= + HAVE_UNSHARE_FALSE='#' +else + HAVE_UNSHARE_TRUE='#' + HAVE_UNSHARE_FALSE= +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; } + if test "x$ul_cv_syscall_unshare" != xno; then + HAVE_UNSHARE_TRUE= + HAVE_UNSHARE_FALSE='#' +else + HAVE_UNSHARE_TRUE='#' + HAVE_UNSHARE_FALSE= +fi + + 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; do not build unshare" >&5 +$as_echo "$as_me: WARNING: unshare syscall not found; do not build 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 + +if test "x$build_unshare" = xyes; then + 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 + +fi + + +# Check whether --enable-arch was given. +if test "${enable_arch+set}" = set; then : + enableval=$enable_arch; +else + enable_arch=no + +fi + + + + + +build_arch=$enable_arch + + + + if test "x$build_arch" != xno; then + + case $enable_arch:$linux_os in #( + no:*) + build_arch=no ;; + yes:yes) + build_arch=yes ;; + yes:*) + as_fn_error $? "arch selected for non-linux system" "$LINENO" 5;; + check:yes) + build_arch=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; do not build arch" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build arch" >&2;} + build_arch=no ;; + esac + fi + + if test "x$build_arch" = xyes; then + BUILD_ARCH_TRUE= + BUILD_ARCH_FALSE='#' +else + BUILD_ARCH_TRUE='#' + BUILD_ARCH_FALSE= +fi + + + +# Check whether --enable-ddate was given. +if test "${enable_ddate+set}" = set; then : + enableval=$enable_ddate; +else + enable_ddate=no + +fi + + + + + +build_ddate=$enable_ddate + + if test "x$build_ddate" = xyes; then + BUILD_DDATE_TRUE= + BUILD_DDATE_FALSE='#' +else + BUILD_DDATE_TRUE='#' + BUILD_DDATE_FALSE= +fi + +ruman1dir='${mandir}/ru/man1' + + + +# Check whether --enable-eject was given. +if test "${enable_eject+set}" = set; then : + enableval=$enable_eject; +else + enable_eject=check + +fi + + + + + +build_eject=$enable_eject + + + + 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; do not build eject" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build 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; do not build eject" >&5 +$as_echo "$as_me: WARNING: libmount disabled; do not build 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 + enable_agetty=yes + +fi + + + + + +build_agetty=$enable_agetty + + if test "x$build_agetty" = xyes; then + BUILD_AGETTY_TRUE= + BUILD_AGETTY_FALSE='#' +else + BUILD_AGETTY_TRUE='#' + BUILD_AGETTY_FALSE= +fi + + + +# Check whether --enable-cramfs was given. +if test "${enable_cramfs+set}" = set; then : + enableval=$enable_cramfs; +else + enable_cramfs=check + +fi + + + + + +build_cramfs=$enable_cramfs + +{ $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 + + + + + if test "x$build_cramfs" != xno; then + case $enable_cramfs:$have_z 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; do not build cramfs" >&5 +$as_echo "$as_me: WARNING: z library not found; do not build 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 + + + +if test "x$have_io" = xyes -o "x$linux_os" = xyes; then + build_hwclock=yes +fi + if test "x$build_hwclock" = xyes; then + BUILD_HWCLOCK_TRUE= + BUILD_HWCLOCK_FALSE='#' +else + BUILD_HWCLOCK_TRUE='#' + BUILD_HWCLOCK_FALSE= +fi + + + + + + + +build_swapon='yes' enable_swapon='check' + + + + 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; do not build swapon" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build swapon" >&2;} + build_swapon=no ;; + esac + 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; do not build swapon" >&5 +$as_echo "$as_me: WARNING: libblkid disabled; do not build 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; do not build swapon" >&5 +$as_echo "$as_me: WARNING: libmount disabled; do not build 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 + + + + + + + +build_lsblk='yes' enable_lsblk='check' + + + + 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; do not build lsblk" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build 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; do not build lsblk" >&5 +$as_echo "$as_me: WARNING: libblkid disabled; do not build 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; do not build lsblk" >&5 +$as_echo "$as_me: WARNING: libmount disabled; do not build 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 + + + + + + + +build_lscpu='yes' enable_lscpu='check' + + + + 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; do not build lscpu" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build lscpu" >&2;} + build_lscpu=no ;; + esac + fi + + + + + if test "x$build_lscpu" != xno; then + case $enable_lscpu:$have_cpu_set_t 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; do not build lscpu" >&5 +$as_echo "$as_me: WARNING: cpu_set_t type not found; do not build 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 + + + + + + + +build_chcpu='yes' enable_chcpu='check' + + + + 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; do not build chcpu" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build chcpu" >&2;} + build_chcpu=no ;; + esac + fi + + + + + if test "x$build_chcpu" != xno; then + case $enable_chcpu:$have_cpu_set_t 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; do not build chcpu" >&5 +$as_echo "$as_me: WARNING: cpu_set_t type not found; do not build 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 + + + + + + + +build_wdctl='yes' enable_wdctl='check' + + + + 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; do not build wdctl" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build wdctl" >&2;} + build_wdctl=no ;; + esac + fi + + + + + if test "x$build_wdctl" != xno; then + case $enable_wdctl:$have_linux_watchdog_h 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; do not build wdctl" >&5 +$as_echo "$as_me: WARNING: linux/watchdog.h header file not found; do not build 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 + + + + + + + +build_swaplabel='yes' enable_swaplabel='check' + + + + + 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; do not build swaplabel" >&5 +$as_echo "$as_me: WARNING: libblkid disabled; do not build 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 + + + + + + + +build_prlimit='yes' enable_prlimit='check' + + + + 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; do not build prlimit" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build prlimit" >&2;} + build_prlimit=no ;; + esac + fi + + + + + + if false; then + HAVE_PRLIMIT64_TRUE= + HAVE_PRLIMIT64_FALSE='#' +else + HAVE_PRLIMIT64_TRUE='#' + HAVE_PRLIMIT64_FALSE= +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; } + if test "x$ul_cv_syscall_prlimit64" != xno; then + HAVE_PRLIMIT64_TRUE= + HAVE_PRLIMIT64_FALSE='#' +else + HAVE_PRLIMIT64_TRUE='#' + HAVE_PRLIMIT64_FALSE= +fi + + 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; do not build prlimit" >&5 +$as_echo "$as_me: WARNING: prlimit64 syscall not found; do not build 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 + + + + + + +build_lslocks='yes' enable_lslocks='check' + + + + 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; do not build lslocks" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build 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 + enable_switch_root=check + +fi + + + + + +build_switch_root=$enable_switch_root + + + + 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; do not build switch_root" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build switch_root" >&2;} + build_switch_root=no ;; + esac + fi + + + + + if test "x$build_switch_root" != xno; then + case $enable_switch_root:$have_openat 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; do not build switch_root" >&5 +$as_echo "$as_me: WARNING: openat function not found; do not build 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 + enable_pivot_root=check + +fi + + + + + +build_pivot_root=$enable_pivot_root + + + + 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; do not build switch_root" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build switch_root" >&2;} + build_switch_root=no ;; + esac + fi + + + + + + if false; then + HAVE_PIVOT_ROOT_TRUE= + HAVE_PIVOT_ROOT_FALSE='#' +else + HAVE_PIVOT_ROOT_TRUE='#' + HAVE_PIVOT_ROOT_FALSE= +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; } + if test "x$ul_cv_syscall_pivot_root" != xno; then + HAVE_PIVOT_ROOT_TRUE= + HAVE_PIVOT_ROOT_FALSE='#' +else + HAVE_PIVOT_ROOT_TRUE='#' + HAVE_PIVOT_ROOT_FALSE= +fi + + 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; do not build pivot_root" >&5 +$as_echo "$as_me: WARNING: pivot_root syscall not found; do not build 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 + + + +# Check whether --enable-elvtune was given. +if test "${enable_elvtune+set}" = set; then : + enableval=$enable_elvtune; +else + enable_elvtune=no + +fi + + + + + +build_elvtune=$enable_elvtune + + + + if test "x$build_elvtune" != xno; then + + case $enable_elvtune:$linux_os in #( + no:*) + build_elvtune=no ;; + yes:yes) + build_elvtune=yes ;; + yes:*) + as_fn_error $? "elvtune selected for non-linux system" "$LINENO" 5;; + check:yes) + build_elvtune=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; do not build elvtune" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build elvtune" >&2;} + build_elvtune=no ;; + esac + fi + + if test "x$build_elvtune" = xyes; then + BUILD_ELVTUNE_TRUE= + BUILD_ELVTUNE_FALSE='#' +else + BUILD_ELVTUNE_TRUE='#' + BUILD_ELVTUNE_FALSE= +fi + + + +# Check whether --enable-kill was given. +if test "${enable_kill+set}" = set; then : + enableval=$enable_kill; +else + enable_kill=check + +fi + + + + + +build_kill=$enable_kill + + + + 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; do not build kill" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build 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 + enable_last=no + +fi + + + + + +build_last=$enable_last + + 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 + enable_utmpdump=yes + +fi + + + + + +build_utmpdump=$enable_utmpdump + + 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 + enable_line=no + +fi + + + + + +build_line=$enable_line + + 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 + enable_mesg=no + +fi + + + + + +build_mesg=$enable_mesg + + 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 + enable_raw=check + +fi + + + + + +build_raw=$enable_raw + + + + 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; do not build raw" >&5 +$as_echo "$as_me: WARNING: non-linux system; do not build raw" >&2;} + build_raw=no ;; + esac + fi + + + + + if test "x$build_raw" != xno; then + case $enable_raw:$have_linux_raw_h 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; do not build raw" >&5 +$as_echo "$as_me: WARNING: raw.h header file not found; do not build 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 + enable_rename=yes + +fi + + + + + +build_rename=$enable_rename + + if test "x$build_rename" = xyes; then + BUILD_RENAME_TRUE= + BUILD_RENAME_FALSE='#' +else + BUILD_RENAME_TRUE='#' + BUILD_RENAME_FALSE= +fi + + + +# Check whether --enable-reset was given. +if test "${enable_reset+set}" = set; then : + enableval=$enable_reset; +else + enable_reset=no + +fi + + + + + +build_reset=$enable_reset + + if test "x$build_reset" = xyes; then + BUILD_RESET_TRUE= + BUILD_RESET_FALSE='#' +else + BUILD_RESET_TRUE='#' + BUILD_RESET_FALSE= +fi + + + +# Check whether --enable-vipw was given. +if test "${enable_vipw+set}" = set; then : + enableval=$enable_vipw; +else + enable_vipw=no + +fi + + + + + +build_vipw=$enable_vipw + + 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 + enable_newgrp=no + +fi + + + + + +build_newgrp=$enable_newgrp + + if test "x$build_newgrp" = xyes; then + BUILD_NEWGRP_TRUE= + BUILD_NEWGRP_FALSE='#' +else + BUILD_NEWGRP_TRUE='#' + BUILD_NEWGRP_FALSE= +fi + + + +# Check whether --enable-chfn-chsh was given. +if test "${enable_chfn_chsh+set}" = set; then : + enableval=$enable_chfn_chsh; +else + enable_chfn_chsh=no + +fi + + + + + +build_chfn_chsh=$enable_chfn_chsh + + + + + if test "x$build_chfn_chsh" != xno; then + case $enable_chfn_chsh:$have_security_pam_misc_h 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; do not build chfn_chsh" >&5 +$as_echo "$as_me: WARNING: PAM header file not found; do not build chfn_chsh" >&2;} + build_chfn_chsh=no ;; + esac + 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 + + +# 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 + enable_login=yes + +fi + + + + + +build_login=$enable_login + + + + + if test "x$build_login" != xno; then + case $enable_login:$have_security_pam_misc_h 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; do not build login" >&5 +$as_echo "$as_me: WARNING: PAM header file not found; do not build 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-sulogin was given. +if test "${enable_sulogin+set}" = set; then : + enableval=$enable_sulogin; +else + enable_sulogin=yes + +fi + + + + + +build_sulogin=$enable_sulogin + + 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 + enable_su=yes + +fi + + + + + +build_su=$enable_su + + + + + if test "x$build_su" != xno; then + case $enable_su:$have_security_pam_misc_h 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; do not build su" >&5 +$as_echo "$as_me: WARNING: PAM header file not found; do not build 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-schedutils was given. +if test "${enable_schedutils+set}" = set; then : + enableval=$enable_schedutils; +else + enable_schedutils=yes + +fi + + + + + +build_schedutils=$enable_schedutils + + if test "x$build_schedutils" = xyes; then + BUILD_SCHEDUTILS_TRUE= + BUILD_SCHEDUTILS_FALSE='#' +else + BUILD_SCHEDUTILS_TRUE='#' + BUILD_SCHEDUTILS_FALSE= +fi + + + + + + +build_ionice='yes' enable_ionice='check' + + + + + if test "x$build_ionice" != xno; then + case $enable_ionice:$build_schedutils in #( + no:*) + build_ionice=no ;; + yes:yes) + build_ionice=yes ;; + yes:*) + as_fn_error $? "schedutils is needed to build ionice" "$LINENO" 5;; + check:yes) + build_ionice=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: schedutils disabled; do not build ionice" >&5 +$as_echo "$as_me: WARNING: schedutils disabled; do not build ionice" >&2;} + build_ionice=no ;; + esac + fi + + + + + + if false; then + HAVE_IOPRIO_SET_TRUE= + HAVE_IOPRIO_SET_FALSE='#' +else + HAVE_IOPRIO_SET_TRUE='#' + HAVE_IOPRIO_SET_FALSE= +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; } + if test "x$ul_cv_syscall_ioprio_set" != xno; then + HAVE_IOPRIO_SET_TRUE= + HAVE_IOPRIO_SET_FALSE='#' +else + HAVE_IOPRIO_SET_TRUE='#' + HAVE_IOPRIO_SET_FALSE= +fi + + 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; do not build ionice" >&5 +$as_echo "$as_me: WARNING: ioprio_set syscall not found; do not build ionice" >&2;} + build_ionice=no ;; + *) + build_ionice=yes ;; + esac + fi + fi + + + + + + + if false; then + HAVE_IOPRIO_GET_TRUE= + HAVE_IOPRIO_GET_FALSE='#' +else + HAVE_IOPRIO_GET_TRUE='#' + HAVE_IOPRIO_GET_FALSE= +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; } + if test "x$ul_cv_syscall_ioprio_get" != xno; then + HAVE_IOPRIO_GET_TRUE= + HAVE_IOPRIO_GET_FALSE='#' +else + HAVE_IOPRIO_GET_TRUE='#' + HAVE_IOPRIO_GET_FALSE= +fi + + 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; do not build ionice" >&5 +$as_echo "$as_me: WARNING: ioprio_get syscall not found; do not build 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 + + + + + + +build_taskset='yes' enable_taskset='check' + + + + + if test "x$build_taskset" != xno; then + case $enable_taskset:$build_schedutils in #( + no:*) + build_taskset=no ;; + yes:yes) + build_taskset=yes ;; + yes:*) + as_fn_error $? "schedutils is needed to build taskset" "$LINENO" 5;; + check:yes) + build_taskset=yes ;; + check:*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: schedutils disabled; do not build taskset" >&5 +$as_echo "$as_me: WARNING: schedutils disabled; do not build taskset" >&2;} + build_taskset=no ;; + esac + fi + + + + + + if false; then + HAVE_SCHED_GETAFFINITY_TRUE= + HAVE_SCHED_GETAFFINITY_FALSE='#' +else + HAVE_SCHED_GETAFFINITY_TRUE='#' + HAVE_SCHED_GETAFFINITY_FALSE= +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; } + if test "x$ul_cv_syscall_sched_getaffinity" != xno; then + HAVE_SCHED_GETAFFINITY_TRUE= + HAVE_SCHED_GETAFFINITY_FALSE='#' +else + HAVE_SCHED_GETAFFINITY_TRUE='#' + HAVE_SCHED_GETAFFINITY_FALSE= +fi + + 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; do not build taskset" >&5 +$as_echo "$as_me: WARNING: sched_getaffinity syscall not found; do not build 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 + + + +# Check whether --enable-wall was given. +if test "${enable_wall+set}" = set; then : + enableval=$enable_wall; +else + enable_wall=yes + +fi + + + + + +build_wall=$enable_wall + + 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 + enable_write=no + +fi + + + + + +build_write=$enable_write + + if test "x$build_write" = xyes; then + BUILD_WRITE_TRUE= + BUILD_WRITE_FALSE='#' +else + BUILD_WRITE_TRUE='#' + BUILD_WRITE_FALSE= +fi + + + +# Check whether --enable-chkdupexe was given. +if test "${enable_chkdupexe+set}" = set; then : + enableval=$enable_chkdupexe; +else + enable_chkdupexe=no + +fi + + + + + +build_chkdupexe=$enable_chkdupexe + + if test "x$build_chkdupexe" = xyes; then + BUILD_CHKDUPEXE_TRUE= + BUILD_CHKDUPEXE_FALSE='#' +else + BUILD_CHKDUPEXE_TRUE='#' + BUILD_CHKDUPEXE_FALSE= +fi + + +if test "x$build_chkdupexe" = xyes; then + # Extract the first word of "perl", so it can be a program name with args. +set dummy perl; 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_PERL+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PERL in + [\\/]* | ?:[\\/]*) + ac_cv_path_PERL="$PERL" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PERL="$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 +PERL=$ac_cv_path_PERL +if test -n "$PERL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 +$as_echo "$PERL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + ac_config_files="$ac_config_files misc-utils/chkdupexe:misc-utils/chkdupexe.pl" + +fi + + +# Check whether --enable-socket-activation was given. +if test "${enable_socket_activation+set}" = set; then : + enableval=$enable_socket_activation; +else + enable_socket_activation=no + +fi + + + if test "x$enable_socket_activation" = xyes; then + USE_SOCKET_ACTIVATION_TRUE= + USE_SOCKET_ACTIVATION_FALSE='#' +else + USE_SOCKET_ACTIVATION_TRUE='#' + USE_SOCKET_ACTIVATION_FALSE= +fi + + +if test "x$enable_socket_activation" = xyes; then + +$as_echo "#define USE_SOCKET_ACTIVATION 1" >>confdefs.h + +fi + + +# Check whether --with-systemdsystemunitdir was given. +if test "${with_systemdsystemunitdir+set}" = set; then : + withval=$with_systemdsystemunitdir; +else + with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd) +fi + + +if test "x$with_systemdsystemunitdir" != "xno"; then + systemdsystemunitdir=$with_systemdsystemunitdir + +fi + + if test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != "xno" ; then + HAVE_SYSTEMD_TRUE= + HAVE_SYSTEMD_FALSE='#' +else + HAVE_SYSTEMD_TRUE='#' + HAVE_SYSTEMD_FALSE= +fi + + + +# 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-require-password was given. +if test "${enable_require_password+set}" = set; then : + enableval=$enable_require_password; +else + enable_require_password=yes + +fi + + +if test "x$enable_require_password" = xyes; then + +$as_echo "#define REQUIRE_PASSWORD 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-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 + + + + + + +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 libmount/docs/Makefile libmount/docs/version.xml libmount/src/libmount.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 + + + if test -n "$EXEEXT"; then + am__EXEEXT_TRUE= + am__EXEEXT_FALSE='#' +else + am__EXEEXT_TRUE='#' + am__EXEEXT_FALSE= +fi + +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 -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 "${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_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_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_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_TERMCAP_TRUE}" && test -z "${HAVE_TERMCAP_FALSE}"; then + as_fn_error $? "conditional \"HAVE_TERMCAP\" 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_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_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 "${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 "${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_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_DEPRECATED_MOUNT_TRUE}" && test -z "${BUILD_DEPRECATED_MOUNT_FALSE}"; then + as_fn_error $? "conditional \"BUILD_DEPRECATED_MOUNT\" 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_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_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 "${HAVE_FALLOCATE_TRUE}" && test -z "${HAVE_FALLOCATE_FALSE}"; then + as_fn_error $? "conditional \"HAVE_FALLOCATE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_FALLOCATE_TRUE}" && test -z "${HAVE_FALLOCATE_FALSE}"; then + as_fn_error $? "conditional \"HAVE_FALLOCATE\" 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 "${HAVE_UNSHARE_TRUE}" && test -z "${HAVE_UNSHARE_FALSE}"; then + as_fn_error $? "conditional \"HAVE_UNSHARE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_UNSHARE_TRUE}" && test -z "${HAVE_UNSHARE_FALSE}"; then + as_fn_error $? "conditional \"HAVE_UNSHARE\" 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_ARCH_TRUE}" && test -z "${BUILD_ARCH_FALSE}"; then + as_fn_error $? "conditional \"BUILD_ARCH\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${BUILD_DDATE_TRUE}" && test -z "${BUILD_DDATE_FALSE}"; then + as_fn_error $? "conditional \"BUILD_DDATE\" 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 "${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_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_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_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 "${HAVE_PRLIMIT64_TRUE}" && test -z "${HAVE_PRLIMIT64_FALSE}"; then + as_fn_error $? "conditional \"HAVE_PRLIMIT64\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_PRLIMIT64_TRUE}" && test -z "${HAVE_PRLIMIT64_FALSE}"; then + as_fn_error $? "conditional \"HAVE_PRLIMIT64\" 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 "${HAVE_PIVOT_ROOT_TRUE}" && test -z "${HAVE_PIVOT_ROOT_FALSE}"; then + as_fn_error $? "conditional \"HAVE_PIVOT_ROOT\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_PIVOT_ROOT_TRUE}" && test -z "${HAVE_PIVOT_ROOT_FALSE}"; then + as_fn_error $? "conditional \"HAVE_PIVOT_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_ELVTUNE_TRUE}" && test -z "${BUILD_ELVTUNE_FALSE}"; then + as_fn_error $? "conditional \"BUILD_ELVTUNE\" 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_RESET_TRUE}" && test -z "${BUILD_RESET_FALSE}"; then + as_fn_error $? "conditional \"BUILD_RESET\" 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 "${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 "${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_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_SCHEDUTILS_TRUE}" && test -z "${BUILD_SCHEDUTILS_FALSE}"; then + as_fn_error $? "conditional \"BUILD_SCHEDUTILS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_IOPRIO_SET_TRUE}" && test -z "${HAVE_IOPRIO_SET_FALSE}"; then + as_fn_error $? "conditional \"HAVE_IOPRIO_SET\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_IOPRIO_SET_TRUE}" && test -z "${HAVE_IOPRIO_SET_FALSE}"; then + as_fn_error $? "conditional \"HAVE_IOPRIO_SET\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_IOPRIO_GET_TRUE}" && test -z "${HAVE_IOPRIO_GET_FALSE}"; then + as_fn_error $? "conditional \"HAVE_IOPRIO_GET\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_IOPRIO_GET_TRUE}" && test -z "${HAVE_IOPRIO_GET_FALSE}"; then + as_fn_error $? "conditional \"HAVE_IOPRIO_GET\" 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 "${HAVE_SCHED_GETAFFINITY_TRUE}" && test -z "${HAVE_SCHED_GETAFFINITY_FALSE}"; then + as_fn_error $? "conditional \"HAVE_SCHED_GETAFFINITY\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${HAVE_SCHED_GETAFFINITY_TRUE}" && test -z "${HAVE_SCHED_GETAFFINITY_FALSE}"; then + as_fn_error $? "conditional \"HAVE_SCHED_GETAFFINITY\" 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_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 "${BUILD_CHKDUPEXE_TRUE}" && test -z "${BUILD_CHKDUPEXE_FALSE}"; then + as_fn_error $? "conditional \"BUILD_CHKDUPEXE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${USE_SOCKET_ACTIVATION_TRUE}" && test -z "${USE_SOCKET_ACTIVATION_FALSE}"; then + as_fn_error $? "conditional \"USE_SOCKET_ACTIVATION\" 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 "${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 -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +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 + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# 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.22, which was +generated by GNU Autoconf 2.68. 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 ." + +_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.22 +configured by $0, generated by GNU Autoconf 2.68, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2010 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"`' +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' +ECHO='`$ECHO "$ECHO" | $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_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"`' +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' +lt_sysroot='`$ECHO "$lt_sysroot" | $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_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $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"`' +sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $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 \ +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_c_name_address \ +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ +nm_file_list_spec \ +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_flag_spec_ld \ +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\\"\\\`\\\\\\"" + ;; + *) + 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 \ +sys_lib_dlsearch_path_spec; do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in + *[\\\\\\\`\\"\\\$]*) + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + ;; + *) + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" + ;; + esac +done + +ac_aux_dir='$ac_aux_dir' +xsi_shell='$xsi_shell' +lt_shell_append='$lt_shell_append' + +# See if we are running on zsh, and set the options which 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' + TIMESTAMP='$TIMESTAMP' + 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. + 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" ;; + "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + "misc-utils/chkdupexe") CONFIG_FILES="$CONFIG_FILES misc-utils/chkdupexe:misc-utils/chkdupexe.pl" ;; + "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" ;; + "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" ;; + "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"" || { + # Autoconf 2.62 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"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //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' -e 's/\$U/'"$U"'/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 which 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 + +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $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. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, +# Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is part of GNU Libtool. +# +# 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 GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or +# obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + +# The names of the tagged configurations supported by this script. +available_tags="" + +# ### 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 + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# An echo program that protects backslashes. +ECHO=$lt_ECHO + +# 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 chkdupexe (normally "o"). +objext=$ac_objext + +# Executable file chkdupexe (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 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 + +# 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 in which our libraries should be installed. +lt_sysroot=$lt_sysroot + +# 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 chkdupexe (normally "a"). +libext=$libext + +# Shared library chkdupexe (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 + +# Run-time system search path for libraries. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# 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 + +# If ld is used when linking, flag to hardcode \$libdir into a binary +# during linking. This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld + +# 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 + + 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 "X${COLLECT_NAMES+set}" != Xset; 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) + + if test x"$xsi_shell" = xyes; then + sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ +func_dirname ()\ +{\ +\ case ${1} in\ +\ */*) func_dirname_result="${1%/*}${2}" ;;\ +\ * ) func_dirname_result="${3}" ;;\ +\ esac\ +} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_basename ()$/,/^} # func_basename /c\ +func_basename ()\ +{\ +\ func_basename_result="${1##*/}"\ +} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ +func_dirname_and_basename ()\ +{\ +\ case ${1} in\ +\ */*) func_dirname_result="${1%/*}${2}" ;;\ +\ * ) func_dirname_result="${3}" ;;\ +\ esac\ +\ func_basename_result="${1##*/}"\ +} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ +func_stripname ()\ +{\ +\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ +\ # positional parameters, so assign one to ordinary parameter first.\ +\ func_stripname_result=${3}\ +\ func_stripname_result=${func_stripname_result#"${1}"}\ +\ func_stripname_result=${func_stripname_result%"${2}"}\ +} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ +func_split_long_opt ()\ +{\ +\ func_split_long_opt_name=${1%%=*}\ +\ func_split_long_opt_arg=${1#*=}\ +} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ +func_split_short_opt ()\ +{\ +\ func_split_short_opt_arg=${1#??}\ +\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ +} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ +func_lo2o ()\ +{\ +\ case ${1} in\ +\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ +\ *) func_lo2o_result=${1} ;;\ +\ esac\ +} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_xform ()$/,/^} # func_xform /c\ +func_xform ()\ +{\ + func_xform_result=${1%.*}.lo\ +} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_arith ()$/,/^} # func_arith /c\ +func_arith ()\ +{\ + func_arith_result=$(( $* ))\ +} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_len ()$/,/^} # func_len /c\ +func_len ()\ +{\ + func_len_result=${#1}\ +} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + +fi + +if test x"$lt_shell_append" = xyes; then + sed -e '/^func_append ()$/,/^} # func_append /c\ +func_append ()\ +{\ + eval "${1}+=\\${2}"\ +} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ +func_append_quoted ()\ +{\ +\ func_quote_for_eval "${2}"\ +\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ +} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + # Save a `func_append' function call where possible by direct use of '+=' + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +else + # Save a `func_append' function call even when '+=' is not available + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +fi + +if test x"$_lt_function_replace_fail" = x":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} +fi + + + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + + ;; + "default-1":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 + 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" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/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" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.in. + 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 + diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..8727d34 --- /dev/null +++ b/configure.ac @@ -0,0 +1,1344 @@ +AC_INIT(util-linux, + m4_esyscmd([tools/git-version-gen .tarball-version]), + kzak@redhat.com) + +AC_PREREQ(2.60) + +AC_CONFIG_AUX_DIR(config) +AC_CONFIG_MACRO_DIR([m4]) +AM_INIT_AUTOMAKE([-Wall foreign 1.10 tar-pax dist-bzip2 no-dist-gzip dist-xz -Wno-portability subdir-objects]) + +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], + [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])]) + +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. '{print $2}' \ + | awk -F- '{print $1}') +PACKAGE_VERSION_RELEASE=0 + +dnl libblkid version +LIBBLKID_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE" +LIBBLKID_DATE="04-Sep-2012" +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 + +# Check whether exec_prefix=/usr: +case $exec_prefix:$prefix in +NONE:NONE | NONE:/usr | /usr:*) + AC_MSG_NOTICE([Default --exec-prefix detected.]) + case $bindir in + '${exec_prefix}/bin') bindir=/bin + AC_MSG_NOTICE([ --bindir defaults to /bin]) ;; + esac + case $sbindir in + '${exec_prefix}/sbin') sbindir=/sbin + AC_MSG_NOTICE([ --sbindir defaults to /sbin]) ;; + esac + case $libdir in + '${exec_prefix}/lib') libdir=/lib + AC_MSG_NOTICE([ --libdir defaults to /lib]) ;; + esac ;; +esac + +case $prefix:$localstatedir in + NONE:'${prefix}/var') + localstatedir=/run + AC_MSG_NOTICE([ --localstatedir defaults to /run]) + ;; + *:'${prefix}/var') + localstatedir=${prefix}/run + ;; + NONE:*) + ;; + *:*) + localstatedir=${prefix}/${localstatedir} + ;; +esac +AC_SUBST([localstatedir]) + +libdirname=`basename "$libdir"` +AC_SUBST([libdirname]) + +# 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]) + +usrlib_execdir='${exec_prefix}/'$libdirname +AC_SUBST([usrlib_execdir]) + + +AM_PROG_CC_C_O +AC_PROG_CC_STDC +AC_GNU_SOURCE +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([-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]) +AC_SUBST([WARN_CFLAGS]) + +dnl libtool-2 +LT_INIT + +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.])]) +PKG_PROG_PKG_CONFIG + +GTK_DOC_CHECK([1.10]) +AC_PATH_PROG([XSLTPROC], [xsltproc]) + +linux_os=no +case ${host_os} in + *linux*) + linux_os=yes + ;; +esac +AM_CONDITIONAL([LINUX], test "x$linux_os" = xyes) + +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*) + +AC_SYS_LARGEFILE + +AM_GNU_GETTEXT_VERSION([0.14.1]) +AM_GNU_GETTEXT([external]) +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 + +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 \ + linux/cdrom.h \ + linux/falloc.h \ + linux/watchdog.h \ + linux/fd.h \ + linux/raw.h \ + linux/tiocl.h \ + linux/version.h \ + locale.h \ + mntent.h \ + net/if.h \ + net/if_dl.h \ + netinet/in.h \ + paths.h \ + pty.h \ + security/pam_misc.h \ + stdint.h \ + stdio_ext.h \ + stdlib.h \ + sys/disk.h \ + sys/disklabel.h \ + sys/file.h \ + sys/io.h \ + sys/ioccom.h \ + sys/ioctl.h \ + sys/mkdev.h \ + sys/prctl.h \ + sys/queue.h \ + sys/resource.h \ + sys/socket.h \ + sys/sockio.h \ + sys/stat.h \ + sys/swap.h \ + sys/syscall.h \ + sys/time.h \ + sys/types.h \ + sys/un.h \ + unistd.h \ +]) + +AC_CHECK_HEADERS([langinfo.h], + [AM_CONDITIONAL([HAVE_LANGINFO], [true])], + [AM_CONDITIONAL([HAVE_LANGINFO], [false])]) + +dnl Convert some ac_cv_header_* variables to have_* +dnl +have_linux_raw_h=$ac_cv_header_linux_raw_h +have_linux_watchdog_h=$ac_cv_header_linux_watchdog_h +have_security_pam_misc_h=$ac_cv_header_security_pam_misc_h + + +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([ + UNAME26, + ADDR_NO_RANDOMIZE, + FDPIC_FUNCPTRS, + MMAP_PAGE_ZERO, + ADDR_COMPAT_LAYOUT, + READ_IMPLIES_EXEC, + ADDR_LIMIT_32BIT, + WHOLE_SECONDS, + STICKY_TIMEOUTS, + ADDR_LIMIT_3GB], [], [], [#include ]) + +AC_COMPILE_IFELSE([AC_LANG_PROGRAM( +[[ +#ifdef HAVE_SYS_SWAP_H +# include +#endif +#include +]], +[[swapon("/dev/null", 0);]])], +[AC_DEFINE(SWAPON_HAS_TWO_ARGS, 1, [Is swapon() declared with two parameters?]) +], +[AC_MSG_NOTICE([Your libc thinks that swapon has 1 arg only.]) +]) + + +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_FUNCS([ \ + __fpending \ + __secure_getenv \ + err \ + errx \ + fsync \ + futimens \ + getdomainname \ + getdtablesize \ + getexecname \ + getmntinfo \ + getrlimit \ + inotify_init \ + jrand48 \ + lchown \ + llseek \ + lseek64 \ + nanosleep \ + personality \ + posix_fadvise \ + prctl \ + rpmatch \ + scandirat \ + setresgid \ + setresuid \ + sigqueue \ + srandom \ + strnchr \ + strndup \ + strnlen \ + strtoull \ + sysconf \ + updwtmp \ + usleep \ + 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_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([gethostbyname], [nsl], + [if test x"$ac_cv_search_gethostbyname" != x"none required"; then + SOCKET_LIBS="$SOCKET_LIBS -lnsl"; + fi]) +AC_SEARCH_LIBS([socket], [socket], + [if test x"$ac_cv_search_socket" != x"none required"; then + SOCKET_LIBS="$SOCKET_LIBS -lsocket"; + fi]) +AC_SUBST([SOCKET_LIBS]) + + +have_dirfd=no +AC_CHECK_FUNCS([dirfd], [have_dirfd=yes], [have_dirfd=no]) +if test x"$have_dirfd" = xno ; then + AC_CHECK_DECLS([dirfd], + [have_dirfd=yes], [have_dirfd=no], + [#include + #include ]) +fi + +have_ddfd=no +if test x"$have_dirfd" = xno ; then + AC_CHECK_MEMBERS([DIR.dd_fd], + [have_ddfd=yes], [have_ddfd=no], + [#include + #include ]) +fi + +case "$have_dirfd:$have_ddfd" in +no:no) + AC_MSG_ERROR([cannot find a method to get filedescriptor of directory]) ;; +esac + + +AC_MSG_CHECKING(whether program_invocation_short_name is defined) +AC_TRY_COMPILE([#include ], + [program_invocation_short_name = "test";], + AC_DEFINE(HAVE_PROGRAM_INVOCATION_SHORT_NAME, 1, + [Define if program_invocation_short_name is defined]) + AC_MSG_RESULT(yes), + AC_MSG_RESULT(no)) + +AC_MSG_CHECKING([whether __progname is defined]) +AC_LINK_IFELSE([AC_LANG_PROGRAM([extern char *__progname;], + [if (*__progname == 0) return;])], + 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]) + +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])[)])]) + +case $enable_static_programs in +yes) enable_static_programs=m4_quote(UL_STATIC_PROGRAMS) ;; +no) enable_static_programs= ;; +esac + +dnl Set all the individual AM_CONDITIONALs +m4_foreach([UL_PRG], m4_defn([UL_STATIC_PROGRAMS]), [ + case ,$enable_static_programs, in + *,UL_PRG,*) static_[]UL_PRG=yes ;; + esac + AM_CONDITIONAL([HAVE_STATIC_]m4_toupper(UL_PRG), + [test "x$static_[]UL_PRG" = xyes]) +]) + +AX_CHECK_TLS + +AC_DEFUN([UL_SCANF_TYPE_MODIFIER], [dnl +# include +int main() +{ + int i; + char *s; + i = sscanf("x", $1, &s); + if (i == 1) + return 0; + return 1; +}]) + +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 + + #ifdef __GLIBC__ + + #if !(__GLIBC_PREREQ(2, 7)) + #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]) +case "$scanf_cv_alloc_modifier" in +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 + ;; +esac + +UL_CHECK_LIB(util, openpty) +UL_CHECK_LIB(termcap, tgetnum) + +AC_CHECK_TYPES([union semun], [], [], [[ +#include +]]) +AC_CHECK_TYPES(loff_t) + +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ +#include +#include +#include +]], [[ + wchar_t wc; + wint_t w; + w = fgetwc(stdin); + if (w == WEOF) exit(1); + wc = w; + fputwc(wc,stdout); +]])], +[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_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. +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 + ],[ + AC_MSG_ERROR([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 +) + +if test "x$with_selinux" = xno; then + AM_CONDITIONAL(HAVE_SELINUX, false) +else + UL_CHECK_LIB(selinux, getprevcon) + case "$with_selinux:$have_selinux" in + yes:no) AC_MSG_ERROR([SELinux selected but libselinux not found]);; + esac +fi + +if test "x$have_selinux" = xyes; then + SELINUX_LIBS="-lselinux -lsepol" + SELINUX_LIBS_STATIC="-lselinux -lsepol" + old_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $SELINUX_LIBS" + # This function is missing in old libselinux 1.xx versions + AC_CHECK_FUNCS([security_get_initial_context]) + LDFLAGS="$old_LDFLAGS" +fi +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 +) + +if test "x$with_audit" = xno; then + AM_CONDITIONAL(HAVE_AUDIT, false) +else + UL_CHECK_LIB(audit, audit_log_user_message) + case "$with_audit:$have_audit" in + yes:no) + AC_MSG_ERROR([Audit selected but libaudit not found (or does not support audit_log_user_message())]) + ;; + esac +fi + +AC_ARG_WITH([udev], AS_HELP_STRING([--without-udev], [compile without udev support]), + [], with_udev=auto +) + +if test "x$with_udev" = xno; then + AM_CONDITIONAL(HAVE_UDEV, false) +else + UL_CHECK_LIB(udev, udev_new) + case "$with_udev:$have_udev" in + yes:no) + AC_MSG_ERROR([udev selected but libudev not found]) + ;; + esac +fi + +AC_ARG_WITH([ncurses], + AS_HELP_STRING([--with-ncurses], [build with non-wide ncurses, default is wide version + (--without-ncurses disables all ncurses(w) support)]), + [], with_ncurses=auto +) +AM_CONDITIONAL(HAVE_NCURSES, false) + +if test "x$with_ncurses" != xno; then + have_ncurses=no + AC_CHECK_HEADERS([ncurses.h ncurses/ncurses.h], [ + if test "x$with_ncurses" = xauto; then + UL_CHECK_LIB(ncursesw, initscr, ncurses) + if test "x$have_ncurses" = xyes; then + AC_CHECK_HEADERS([ncursesw/ncurses.h]) + NCURSES_LIBS="-lncursesw" + fi + fi + if test "x$have_ncurses" = xno; then + UL_CHECK_LIB(ncurses, initscr) + if test "x$have_ncurses" = xyes; then + NCURSES_LIBS="-lncurses" + fi + fi + ]) + if test "x$have_ncurses" = xno; then + AC_MSG_ERROR([ncurses or ncursesw selected, but library not found (--without-ncurses to disable)]) + fi +fi +AC_SUBST([NCURSES_LIBS]) + + +AC_ARG_WITH([slang], + AS_HELP_STRING([--with-slang], [compile cfdisk with slang]), + [], with_slang=no +) +have_slang=no +if test "x$with_slang" = xyes; then + 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 +]) + if test "x$have_slang" = xno; then + AC_MSG_ERROR([slang selected but slcurses.h not found]) + fi +fi +AM_CONDITIONAL(HAVE_SLANG, test "x$have_slang" = xyes) + + +AM_CONDITIONAL(BUILD_CFDISK, test "x$have_slang" = xyes -o "x$have_ncurses" = xyes) + + +have_tinfo=no +AC_CHECK_LIB(tinfo, tgetent, [have_tinfo=yes]) +AM_CONDITIONAL(HAVE_TINFO, test "x$have_tinfo" = xyes) + + +AC_ARG_WITH([utempter], + AS_HELP_STRING([--with-utempter], [compile script(1) with libutempter]), + [], with_utempter=no +) + +if test "x$with_utempter" = xyes; then + UL_CHECK_LIB(utempter, utempter_add_record) + if test "x$have_utempter" = xno; then + AC_MSG_ERROR([utempter selected but libutempter not found]) + fi +else + AM_CONDITIONAL(HAVE_UTEMPTER, false) +fi + + +AC_ARG_ENABLE([most-builds], + AS_HELP_STRING([--enable-most-builds], [build everything other than experimental code]), + [], enable_most_builds=no +) +if test "x$enable_most_builds" = xyes; then + enable_arch=check + enable_ddate=yes + enable_elvtune=check + enable_last=yes + enable_line=yes + enable_mesg=yes + enable_reset=yes + enable_vipw=yes + enable_chfn_chsh=yes + enable_newgrp=yes + enable_write=yes +fi + +dnl +dnl libuuid +dnl +AC_ARG_ENABLE([libuuid], + AS_HELP_STRING([--disable-libuuid], [do not build libuuid and uuid utilities]), + [], 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) + +if test "x$enable_libuuid" = xyes; then + AC_DEFINE(HAVE_LIBUUID, 1, [Define to 1 if you have the -luuid.]) +else + AC_MSG_WARN([uuid library is not found; mkswap(8) will not generate UUIDs]) +fi + +dnl +dnl libblkid +dnl +AC_ARG_ENABLE([libblkid], + AS_HELP_STRING([--disable-libblkid], [do not build libblkid and many related utilities]), + [], enable_libblkid=yes +) +UL_BUILD_INIT([libblkid]) +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]) +if test "x$build_libblkid" = xyes; then + AC_DEFINE(HAVE_LIBBLKID, 1, [Define to 1 if you have the -lblkid.]) +fi +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]), + [], enable_libmount=check +) +UL_BUILD_INIT([libmount]) +UL_REQUIRES_LINUX([libmount]) +UL_REQUIRES_BUILD([libmount], [libblkid]) +UL_REQUIRES_HAVE([libmount], [scanf_alloc_modifier], [scanf string alloc modifier]) +AM_CONDITIONAL(BUILD_LIBMOUNT, test "x$build_libmount" = xyes) +AM_CONDITIONAL(BUILD_LIBMOUNT_TESTS, test "x$build_libmount" = xyes -a "x$enable_static" = xyes) + +AC_SUBST([LIBMOUNT_VERSION]) +AC_SUBST([LIBMOUNT_VERSION_INFO]) +AC_DEFINE_UNQUOTED(LIBMOUNT_VERSION, "$LIBMOUNT_VERSION", [libmount version string]) + + +AC_ARG_ENABLE([deprecated-mount], + AS_HELP_STRING([--enable-deprecated-mount], [build old mount utilities]), + [], enable_deprecated_mount=no +) +UL_BUILD_INIT([deprecated_mount]) +UL_REQUIRES_LINUX([deprecated_mount]) +UL_REQUIRES_BUILD([deprecated_mount], [libblkid]) +AM_CONDITIONAL(BUILD_DEPRECATED_MOUNT, test "x$build_deprecated_mount" = xyes) + + +AC_ARG_ENABLE([mount], + AS_HELP_STRING([--disable-mount], [do not build mount(8) and umount(8)]), + [], enable_mount=check +) +UL_BUILD_INIT([mount]) +UL_REQUIRES_BUILD([mount], [libmount]) +UL_CONFLICTS_BUILD([mount], [deprecated_mount], [old deprecated mount version]) +AM_CONDITIONAL(BUILD_MOUNT, test "x$build_mount" = xyes) + + +AC_ARG_ENABLE([losetup], + AS_HELP_STRING([--disable-losetup], [do not build losetup]), + [], enable_losetup=check +) +UL_BUILD_INIT([losetup]) +UL_REQUIRES_LINUX([losetup]) +AM_CONDITIONAL(BUILD_LOSETUP, test "x$build_losetup" = xyes) + + +AC_ARG_ENABLE([fsck], + AS_HELP_STRING([--disable-fsck], [do not build fsck]), + [], 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]), + [], enable_partx=check +) +UL_BUILD_INIT([partx]) +UL_REQUIRES_LINUX([partx]) +UL_REQUIRES_BUILD([partx], [libblkid]) +AM_CONDITIONAL(BUILD_PARTX, test "x$build_partx" = xyes) + + +AC_ARG_ENABLE([uuidd], + AS_HELP_STRING([--disable-uuidd], [do not build the uuid daemon]), + [], enable_uuidd=check +) +UL_BUILD_INIT([uuidd]) +UL_REQUIRES_BUILD([uuidd], [libuuid]) +if test "x$build_uuidd" = xyes; then + AC_DEFINE(HAVE_UUIDD, 1, [Define to 1 if you want to use uuid daemon.]) +fi +AM_CONDITIONAL(BUILD_UUIDD, test "x$build_uuidd" = xyes) + + +AC_ARG_ENABLE([mountpoint], + AS_HELP_STRING([--disable-mountpoint], [do not build mountpoint]), + [], 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]), + [], 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) + +if test "x$build_fallocate" = xyes; then + 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])]) +fi + + +AC_ARG_ENABLE([unshare], + AS_HELP_STRING([--disable-unshare], [do not build unshare]), + [], 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) +if test "x$build_unshare" = xyes; then + AC_CHECK_FUNCS([unshare]) +fi + + +AC_ARG_ENABLE([arch], + AS_HELP_STRING([--enable-arch], [do build arch]), + [], enable_arch=no +) +UL_BUILD_INIT([arch]) +UL_REQUIRES_LINUX([arch]) +AM_CONDITIONAL(BUILD_ARCH, test "x$build_arch" = xyes) + + +AC_ARG_ENABLE([ddate], + AS_HELP_STRING([--enable-ddate], [do build ddate]), + [], enable_ddate=no +) +UL_BUILD_INIT([ddate]) +AM_CONDITIONAL(BUILD_DDATE, test "x$build_ddate" = xyes) +ruman1dir='${mandir}/ru/man1' +AC_SUBST([ruman1dir]) + + +AC_ARG_ENABLE([eject], + AS_HELP_STRING([--disable-eject], [do not build eject]), + [], 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]), + [], enable_agetty=yes +) +UL_BUILD_INIT([agetty]) +AM_CONDITIONAL(BUILD_AGETTY, test "x$build_agetty" = xyes) + + +AC_ARG_ENABLE([cramfs], + AS_HELP_STRING([--disable-cramfs], [do not build fsck.cramfs, mkfs.cramfs]), + [], enable_cramfs=check +) +UL_BUILD_INIT([cramfs]) +AC_CHECK_LIB(z, crc32, [have_z=yes], [have_z=no]) +UL_REQUIRES_HAVE([cramfs], [z], [z library]) +AM_CONDITIONAL(BUILD_CRAMFS, test "x$build_cramfs" = xyes) + + +if test "x$have_io" = xyes -o "x$linux_os" = xyes; then + build_hwclock=yes +fi +AM_CONDITIONAL(BUILD_HWCLOCK, test "x$build_hwclock" = xyes) + + +UL_BUILD_INIT([swapon], [check]) +UL_REQUIRES_LINUX([swapon]) +UL_REQUIRES_BUILD([swapon], [libblkid]) +UL_REQUIRES_BUILD([swapon], [libmount]) +AM_CONDITIONAL(BUILD_SWAPON, test "x$build_swapon" = xyes) + + +UL_BUILD_INIT([lsblk], [check]) +UL_REQUIRES_LINUX([lsblk]) +UL_REQUIRES_BUILD([lsblk], [libblkid]) +UL_REQUIRES_BUILD([lsblk], [libmount]) +AM_CONDITIONAL(BUILD_LSBLK, test "x$build_lsblk" = xyes) + + +UL_BUILD_INIT([lscpu], [check]) +UL_REQUIRES_LINUX([lscpu]) +UL_REQUIRES_HAVE([lscpu], [cpu_set_t], [cpu_set_t type]) +AM_CONDITIONAL(BUILD_LSCPU, test "x$build_lscpu" = 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) + + +UL_BUILD_INIT([wdctl], [check]) +UL_REQUIRES_LINUX([wdctl]) +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([prlimit], [check]) +UL_REQUIRES_LINUX([prlimit]) +UL_REQUIRES_SYSCALL_CHECK([prlimit], [UL_CHECK_SYSCALL([prlimit64])], [prlimit64]) +AM_CONDITIONAL(BUILD_PRLIMIT, test "x$build_prlimit" = xyes) +if test "x$build_prlimit" = xyes; then + AC_CHECK_FUNCS([prlimit]) +fi + + +UL_BUILD_INIT([lslocks], [check]) +UL_REQUIRES_LINUX([lslocks]) +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]), + [], enable_switch_root=check +) +UL_BUILD_INIT([switch_root]) +UL_REQUIRES_LINUX([switch_root]) +UL_REQUIRES_HAVE([switch_root], [openat], [openat 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]), + [], enable_pivot_root=check +) +UL_BUILD_INIT([pivot_root]) +UL_REQUIRES_LINUX([switch_root]) +UL_REQUIRES_SYSCALL_CHECK([pivot_root], [UL_CHECK_SYSCALL([pivot_root])]) +AM_CONDITIONAL(BUILD_PIVOT_ROOT, test "x$build_pivot_root" = xyes) + + +AC_ARG_ENABLE([elvtune], + AS_HELP_STRING([--enable-elvtune], [build elvtune (only works with 2.2 and 2.4 kernels)]), + [], enable_elvtune=no +) +UL_BUILD_INIT([elvtune]) +UL_REQUIRES_LINUX([elvtune]) +AM_CONDITIONAL(BUILD_ELVTUNE, test "x$build_elvtune" = xyes) + + +AC_ARG_ENABLE([kill], + AS_HELP_STRING([--disable-kill], [do not build kill]), + [], 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([--enable-last], [build last]), + [], enable_last=no +) +UL_BUILD_INIT([last]) +AM_CONDITIONAL(BUILD_LAST, test "x$build_last" = xyes) + + +AC_ARG_ENABLE([utmpdump], + AS_HELP_STRING([--disable-utmpdump], [do not build utmpdump]), + [], enable_utmpdump=yes +) +UL_BUILD_INIT([utmpdump]) +AM_CONDITIONAL(BUILD_UTMPDUMP, test "x$build_utmpdump" = xyes) + + +AC_ARG_ENABLE([line], + AS_HELP_STRING([--enable-line], [build line]), + [], enable_line=no +) +UL_BUILD_INIT([line]) +AM_CONDITIONAL(BUILD_LINE, test "x$build_line" = xyes) + + +AC_ARG_ENABLE([mesg], + AS_HELP_STRING([--enable-mesg], [build mesg]), + [], enable_mesg=no +) +UL_BUILD_INIT([mesg]) +AM_CONDITIONAL(BUILD_MESG, test "x$build_mesg" = xyes) + + +AC_ARG_ENABLE([raw], + AS_HELP_STRING([--enable-raw], [build raw]), + [], 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]), + [], enable_rename=yes +) +UL_BUILD_INIT([rename]) +AM_CONDITIONAL(BUILD_RENAME, test "x$build_rename" = xyes) + + +AC_ARG_ENABLE([reset], + AS_HELP_STRING([--enable-reset], [build reset]), + [], enable_reset=no +) +UL_BUILD_INIT([reset]) +AM_CONDITIONAL(BUILD_RESET, test "x$build_reset" = xyes) + + +AC_ARG_ENABLE([vipw], + AS_HELP_STRING([--enable-vipw], [build vipw]), + [], enable_vipw=no +) +UL_BUILD_INIT([vipw]) +AM_CONDITIONAL(BUILD_VIPW, test "x$build_vipw" = xyes) + + +AC_ARG_ENABLE([newgrp], + AS_HELP_STRING([--enable-newgrp], [build newgrp]), + [], enable_newgrp=no +) +UL_BUILD_INIT([newgrp]) +AM_CONDITIONAL(BUILD_NEWGRP, test "x$build_newgrp" = xyes) + + +AC_ARG_ENABLE([chfn-chsh], + AS_HELP_STRING([--enable-chfn-chsh], [build chfn and chsh]), + [], enable_chfn_chsh=no +) +UL_BUILD_INIT([chfn_chsh]) +UL_REQUIRES_HAVE([chfn_chsh], [security_pam_misc_h], [PAM header file]) +AM_CONDITIONAL(BUILD_CHFN_CHSH, test "x$build_chfn_chsh" = 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 +) + +if test "x$enable_chsh_only_listed" = xyes; then +AC_DEFINE(ONLY_LISTED_SHELLS, 1, [Should chsh allow only shells in /etc/shells?]) +fi + + +AC_ARG_ENABLE([login], + AS_HELP_STRING([--disable-login], [do not build login]), + [], enable_login=yes +) +UL_BUILD_INIT([login]) +UL_REQUIRES_HAVE([login], [security_pam_misc_h], [PAM header file]) +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 +) + +if test "x$enable_login_chown_vcs" = xyes; then + AC_DEFINE(LOGIN_CHOWN_VCS, 1, [Should login chown /dev/vcsN?]) +fi + +AC_ARG_ENABLE([login-stat-mail], + AS_HELP_STRING([--enable-login-stat-mail], [let login stat() the mailbox]), + [], enable_login_stat_mail=no +) + +if test "x$enable_login_stat_mail" = xyes; then + AC_DEFINE(LOGIN_STAT_MAIL, 1, [Should login stat() the mailbox?]) +fi + + +AC_ARG_ENABLE([sulogin], + AS_HELP_STRING([--disable-sulogin], [do not build sulogin]), + [], enable_sulogin=yes +) +UL_BUILD_INIT([sulogin]) +AM_CONDITIONAL(BUILD_SULOGIN, test "x$build_sulogin" = xyes) + + +AC_ARG_ENABLE([su], + AS_HELP_STRING([--disable-su], [do not build su]), + [], enable_su=yes +) +UL_BUILD_INIT([su]) +UL_REQUIRES_HAVE([su], [security_pam_misc_h], [PAM header file]) +AM_CONDITIONAL(BUILD_SU, test "x$build_su" = xyes) + + +AC_ARG_ENABLE([schedutils], + AS_HELP_STRING([--disable-schedutils], [do not build chrt, ionice, teskset]), + [], enable_schedutils=yes +) +UL_BUILD_INIT([schedutils]) +AM_CONDITIONAL(BUILD_SCHEDUTILS, test "x$build_schedutils" = xyes) + +UL_BUILD_INIT([ionice], [check]) +UL_REQUIRES_BUILD([ionice], [schedutils]) +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_BUILD_INIT([taskset], [check]) +UL_REQUIRES_BUILD([taskset], [schedutils]) +UL_REQUIRES_SYSCALL_CHECK([taskset], + [UL_CHECK_SYSCALL([sched_getaffinity])], + [sched_getaffinity]) +AM_CONDITIONAL(BUILD_TASKSET, test "x$build_taskset" = xyes) + + +AC_ARG_ENABLE([wall], + AS_HELP_STRING([--disable-wall], [do not build wall]), + [], enable_wall=yes +) +UL_BUILD_INIT([wall]) +AM_CONDITIONAL(BUILD_WALL, test "x$build_wall" = xyes) + + +AC_ARG_ENABLE([write], + AS_HELP_STRING([--enable-write], [build write]), + [], enable_write=no +) +UL_BUILD_INIT([write]) +AM_CONDITIONAL(BUILD_WRITE, test "x$build_write" = xyes) + + +AC_ARG_ENABLE([chkdupexe], + AS_HELP_STRING([--enable-chkdupexe], [build deprecated chkdupexe]), + [], enable_chkdupexe=no +) +UL_BUILD_INIT([chkdupexe]) +AM_CONDITIONAL(BUILD_CHKDUPEXE, test "x$build_chkdupexe" = xyes) + +if test "x$build_chkdupexe" = xyes; then + AC_PATH_PROG(PERL, perl) + AC_CONFIG_FILES([misc-utils/chkdupexe:misc-utils/chkdupexe.pl]) +fi + + +AC_ARG_ENABLE([socket-activation], + AS_HELP_STRING([--enable-socket-activation], [build uuidd with support for systemd socket activation]), + [], enable_socket_activation=no +) + +AM_CONDITIONAL(USE_SOCKET_ACTIVATION, test "x$enable_socket_activation" = xyes) + +if test "x$enable_socket_activation" = xyes; then + AC_DEFINE(USE_SOCKET_ACTIVATION, 1, [Should uuidd support socket activation?]) +fi + +AC_ARG_WITH([systemdsystemunitdir], + AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [directory for systemd service files]), + [], [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)]) + +if test "x$with_systemdsystemunitdir" != "xno"; then + AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir]) +fi + +AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != "xno" ]) + + +AC_ARG_ENABLE([pg-bell], + AS_HELP_STRING([--disable-pg-bell], [let pg not ring the bell on invalid keys]), + [], enable_pg_bell=yes +) + +if test "x$enable_pg_bell" = xyes; then + AC_DEFINE(PG_BELL, 1, [Should pg ring the bell on invalid keys?]) +fi + + +AC_ARG_ENABLE([require-password], + AS_HELP_STRING([--disable-require-password], [do not require the user to enter the password in chfn and chsh]), + [], enable_require_password=yes +) + +if test "x$enable_require_password" = xyes; then + AC_DEFINE(REQUIRE_PASSWORD, 1, [Should chfn and chsh require the user to enter the password?]) +fi + + +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@:>@]), + [case "$enableval" in + yes) fs_paths_defaults="FS_PATHS_DEFAULT" ;; + no) fs_paths_defaults="" ;; + *) fs_paths_defaults="$enableval" ;; + esac], + [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]), + [case "$enableval" in + yes|no) fs_paths_extra="" ;; + *) fs_paths_extra="$enableval" ;; + esac], + [fs_paths_extra=""] +) +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 +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) + +if test "x$enable_use_tty_group" = xyes; then + AC_DEFINE(USE_TTY_GROUP, 1, [Should wall and write be installed setgid tty?]) +fi + +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_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]) + +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 +libmount/docs/Makefile +libmount/docs/version.xml +libmount/src/libmount.h +po/Makefile.in +]) + + +AC_OUTPUT diff --git a/disk-utils/Makemodule.am b/disk-utils/Makemodule.am new file mode 100644 index 0000000..f2360bf --- /dev/null +++ b/disk-utils/Makemodule.am @@ -0,0 +1,144 @@ + +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 \ + lib/ismounted.c +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 + +sbin_PROGRAMS += mkfs +dist_man_MANS += disk-utils/mkfs.8 +mkfs_SOURCES = disk-utils/mkfs.c + +usrbin_exec_PROGRAMS += isosize +dist_man_MANS += disk-utils/isosize.8 +isosize_SOURCES = disk-utils/isosize.c +isosize_LDADD = $(LDADD) libcommon.la + +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 + +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 + + +if BUILD_SWAPLABEL +sbin_PROGRAMS += swaplabel +dist_man_MANS += disk-utils/swaplabel.8 +swaplabel_SOURCES = disk-utils/swaplabel.c + +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 +fsck_LDADD = $(LDADD) libmount.la libblkid.la +fsck_CFLAGS = $(AM_CFLAGS) -I$(ul_libmount_incdir) -I$(ul_libblkid_incdir) +endif + + +if BUILD_ELVTUNE +sbin_PROGRAMS += elvtune +dist_man_MANS += disk-utils/elvtune.8 +elvtune_SOURCES = disk-utils/elvtune.c +elvtune_LDADD = $(LDADD) libcommon.la +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 + +sbin_PROGRAMS += mkfs.cramfs +mkfs_cramfs_SOURCES = disk-utils/mkfs.cramfs.c $(cramfs_common_sources) +mkfs_cramfs_LDADD = $(LDADD) -lz libcommon.la +endif + + +if LINUX +sbin_PROGRAMS += blockdev +dist_man_MANS += disk-utils/blockdev.8 +blockdev_SOURCES = disk-utils/blockdev.c +blockdev_LDADD = $(LDADD) libcommon.la + +usrsbin_exec_PROGRAMS += fdformat +dist_man_MANS += disk-utils/fdformat.8 +fdformat_SOURCES = disk-utils/fdformat.c +endif # LINUX + + +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 \ + disk-utils/partx.h +addpart_LDADD = $(LDADD) libcommon.la + +delpart_SOURCES = \ + disk-utils/delpart.c \ + disk-utils/partx.h +delpart_LDADD = $(LDADD) libcommon.la + +resizepart_SOURCES = \ + disk-utils/resizepart.c \ + disk-utils/partx.h +resizepart_LDADD = $(LDADD) libcommon.la + +partx_SOURCES = \ + disk-utils/partx.c \ + disk-utils/partx.h +partx_CFLAGS = -I$(ul_libblkid_incdir) +partx_LDADD = $(LDADD) libblkid.la libcommon.la + +endif # BUILD_PARTX diff --git a/disk-utils/addpart.8 b/disk-utils/addpart.8 new file mode 100644 index 0000000..9dcd0a3 --- /dev/null +++ b/disk-utils/addpart.8 @@ -0,0 +1,40 @@ +.\" addpart.8 -- +.\" Copyright 2007 Karel Zak +.\" Copyright 2007 Red Hat, Inc. +.\" May be distributed under the GNU General Public License +.TH ADDPART 8 "January 2007" "util-linux" "System Administration" +.SH NAME +addpart \- +simple wrapper around the "add partition" ioctl +.SH SYNOPSIS +.B addpart +.I device partition start length +.SH DESCRIPTION +.B addpart +is a program that informs the Linux kernel of new partition. + +This command doesn't manipulate partitions on hard drive. + +.SH PARAMETERS +.TP +.I device +Specify the disk device. +.TP +.I partition +Specify the partition number. +.TP +.I start +Specify the begin of the partition (in 512-byte sectors). +.TP +.I length +Specify 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 +ftp://ftp.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..c0f25a5 --- /dev/null +++ b/disk-utils/addpart.c @@ -0,0 +1,61 @@ +#include +#include +#include +#include + +#include "c.h" +#include "nls.h" +#include "partx.h" +#include "strutils.h" + +static void __attribute__ ((__noreturn__)) usage(FILE * out) +{ + fputs(USAGE_HEADER, out); + fprintf(out, _(" %s \n"), + program_invocation_short_name); + fputs(USAGE_OPTIONS, out); + fputs(USAGE_HELP, out); + fputs(USAGE_VERSION, out); + fprintf(out, USAGE_MAN_TAIL("addpart(8)")); + exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); +} + +int main(int argc, char **argv) +{ + int c, fd; + + static const struct option longopts[] = { + {"help", no_argument, 0, 'h'}, + {"version", no_argument, 0, 'V'}, + {NULL, no_argument, 0, '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(stdout); + default: + usage(stderr); + } + + if (argc != 5) + usage(stderr); + + 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..2b3d64c --- /dev/null +++ b/disk-utils/blockdev.8 @@ -0,0 +1,85 @@ +.\" -*- nroff -*- +.\" 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 ] +.IR command +.RI [ command ...] +.IR device +.RI [ device ...] +.br +.B blockdev +.B \-\-report +.RI [ device ...] +.SH DESCRIPTION +The utility +.B blockdev +allows one to call block device ioctls from the command line. +.SH OPTIONS +.IP "\fB\-V\fP" +Print version and exit. +.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. +.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 sectorsize in bytes - 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. +.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. +.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 +ftp://ftp.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..a9e8833 --- /dev/null +++ b/disk-utils/blockdev.c @@ -0,0 +1,470 @@ +/* + * 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" + +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") + },{ + 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(FILE * out) +{ + size_t i; + fprintf(out, _("\nUsage:\n" + " %1$s -V\n" + " %1$s --report [devices]\n" + " %1$s [-v|-q] commands devices\n\n" + "Available commands:\n"), program_invocation_short_name); + + fprintf(out, _(" %-25s get size in 512-byte sectors\n"), "--getsz"); + for (i = 0; i < ARRAY_SIZE(bdcms); i++) { + if (bdcms[i].argname) + fprintf(out, " %s %-*s %s\n", bdcms[i].name, + (int)(24 - strlen(bdcms[i].name)), + bdcms[i].argname, _(bdcms[i].help)); + else + fprintf(out, " %-25s %s\n", bdcms[i].name, + _(bdcms[i].help)); + } + fputc('\n', out); + exit(out == stderr ? EXIT_FAILURE : 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) + usage(stderr); + + /* -V not together with commands */ + if (!strcmp(argv[1], "-V") || !strcmp(argv[1], "--version")) { + printf(_("%s (%s)\n"), program_invocation_short_name, + PACKAGE_STRING); + return EXIT_SUCCESS; + } + if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) + usage(stdout); + + /* --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) + usage(stderr); + + 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]); + usage(stderr); + } + + 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); + usage(stderr); + } + 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) { + perror(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; + struct hd_geometry g; + + fd = open(device, O_RDONLY | O_NONBLOCK); + if (fd < 0) { + if (!quiet) + warn(_("cannot open %s"), device); + return; + } + + ro = ssz = bsz = 0; + g.start = ra = 0; + if (ioctl(fd, BLKROGET, &ro) == 0 && + ioctl(fd, BLKRAGET, &ra) == 0 && + ioctl(fd, BLKSSZGET, &ssz) == 0 && + ioctl(fd, BLKBSZGET, &bsz) == 0 && + ioctl(fd, HDIO_GETGEO, &g) == 0 && + blkdev_get_size(fd, &bytes) == 0) { + printf("%s %5ld %5d %5d %10ld %15lld %s\n", + ro ? "ro" : "rw", ra, ssz, bsz, g.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/cramfs.h b/disk-utils/cramfs.h new file mode 100644 index 0000000..96904f7 --- /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 Michael 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..0dc59e7 --- /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 Michael 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..433582f --- /dev/null +++ b/disk-utils/delpart.8 @@ -0,0 +1,34 @@ +.\" delpart.8 -- +.\" Copyright 2007 Karel Zak +.\" Copyright 2007 Red Hat, Inc. +.\" May be distributed under the GNU General Public License +.TH DELPART 8 "January 2007" "util-linux" "System Administration" +.SH NAME +delpart \- +simple wrapper around the "del partition" ioctl +.SH SYNOPSIS +.B delpart +.I device partition +.SH DESCRIPTION +.B delpart +is a program that asks the Linux kernel to remove a partition. + +This command doesn't manipulate partitions on hard drive. + +.SH OPTIONS +.TP +.I device +Specify the disk device. +.TP +.I partition +Specify the partition number. + +.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 +ftp://ftp.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..e940e3b --- /dev/null +++ b/disk-utils/delpart.c @@ -0,0 +1,60 @@ +#include +#include +#include +#include + +#include "c.h" +#include "nls.h" +#include "partx.h" +#include "strutils.h" + +static void __attribute__ ((__noreturn__)) usage(FILE * out) +{ + fputs(USAGE_HEADER, out); + fprintf(out, _(" %s \n"), + program_invocation_short_name); + fputs(USAGE_OPTIONS, out); + fputs(USAGE_HELP, out); + fputs(USAGE_VERSION, out); + fprintf(out, USAGE_MAN_TAIL("delpart(8)")); + exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); +} + +int main(int argc, char **argv) +{ + int c, fd; + + static const struct option longopts[] = { + {"help", no_argument, 0, 'h'}, + {"version", no_argument, 0, 'V'}, + {NULL, no_argument, 0, '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(stdout); + default: + usage(stderr); + } + + if (argc != 3) + usage(stderr); + + + 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/elvtune.8 b/disk-utils/elvtune.8 new file mode 100644 index 0000000..f71b1d4 --- /dev/null +++ b/disk-utils/elvtune.8 @@ -0,0 +1,67 @@ +.\" -*- nroff -*- +.TH ELVTUNE 8 "March 2000" "util-linux" "System Administration" +.SH NAME +elvtune \- I/O elevator tuner +.SH SYNOPSIS +.B elvtune +.RB [ \-r +.IR r_lat ] +.RB [ \-w +.IR w_lat ] +.RB [ \-b +.IR b_max ] +.IR device ... +.br +.B elvtune \-h +.br +.B elvtune \-v +.SH DESCRIPTION +.B elvtune +allows to tune the I/O elevator per blockdevice queue. The +tuning can be safely done at runtime. Tuning the elevator means +being able to change disk performance and interactiveness. +In the output of +.B elvtune +the address of the queue tuned will be shown; +it can be considered as a queue ID. +Multiple partitions on the same harddisk will +share the same queue and so tuning one partition will be +like tuning the whole HD. +.SH OPTIONS +.TP +.BI -r \ r_lat +Set the maximum latency that the I/O scheduler will provide on +each read. +.TP +.BI -w \ w_lat +Set the maximum latency that the I/O scheduler will provide on +each write. +.TP +.BI -b \ b_max +Set the maximum coalescing factor allowed on writes when there are reads +pending in the queue. +.TP +.BI -h +Display help text and exit. +.TP +.BI -v +Display version version information and exit. +.SH NOTE +Actually, the only fields tunable are those relative +to the IO scheduler. It's not possible to select +a one-way or two-way elevator yet. +.PP +For logical blockdevices like LVM the tuning has to +be done on the +.I physical +devices. Tuning the queue of the LVM logical device +is useless. +.SH RETURN VALUE +0 on success and 1 on failure. +.SH HISTORY +Ioctls for tuning elevator behaviour were added in Linux 2.3.99-pre1. +.SH AUTHORS +Andrea Arcangeli SuSE +.SH AVAILABILITY +The elvtune command is part of the util-linux package and is available from +ftp://ftp.kernel.org/pub/linux/utils/util-linux/. diff --git a/disk-utils/elvtune.c b/disk-utils/elvtune.c new file mode 100644 index 0000000..9f7fbf3 --- /dev/null +++ b/disk-utils/elvtune.c @@ -0,0 +1,174 @@ +/* + * elvtune.c - I/O elevator tuner + * + * Copyright (C) 2000 Andrea Arcangeli SuSE + * + * 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. + */ + +/* + * 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 +#include +#include +#include "nls.h" +#include "blkdev.h" +#include "closestream.h" +#include "linux_version.h" + +/* this has to match with the kernel structure */ +/* current version for ac19 and 2.2.16 */ +typedef struct blkelv_ioctl_arg_s { + int queue_ID; + int read_latency; + int write_latency; + int max_bomb_segments; +} blkelv_ioctl_arg_t; + +static void +usage(void) { + fprintf(stderr, "elvtune (%s)\n", PACKAGE_STRING); + fprintf(stderr, _("usage:\n")); + fprintf(stderr, "\telvtune [-r r_lat] [-w w_lat] [-b b_lat]" + " /dev/blkdev1 [/dev/blkdev2...]\n"); + fprintf(stderr, "\telvtune -h\n"); + fprintf(stderr, "\telvtune -v\n"); + fprintf(stderr, _("\tNOTE: elvtune only works with 2.4 kernels\n")); + /* (ioctls exist in 2.2.16 - 2.5.57) */ +} + +static void +version(void) { + fprintf(stderr, "elvtune (%s)\n", PACKAGE_STRING); +} + +int +main(int argc, char * argv[]) { + int read_value = 0xbeefbeef, write_value = 0xbeefbeef, bomb_value = 0xbeefbeef; + int read_set, write_set, bomb_set, set; + char * devname; + int fd; + blkelv_ioctl_arg_t elevator; + + read_set = write_set = bomb_set = set = 0; + + setlocale(LC_MESSAGES, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + for (;;) { + int opt; + + opt = getopt(argc, argv, "r:w:b:hv"); + if (opt == -1) + break; + switch (opt) { + case 'r': + read_value = atoi(optarg); + read_set = set = 1; + break; + case 'w': + write_value = atoi(optarg); + write_set = set = 1; + break; + case 'b': + bomb_value = atoi(optarg); + bomb_set = set = 1; + break; + + case 'h': + usage(), exit(0); + case 'v': + version(), exit(0); + + default: + usage(), exit(1); + } + } + + if (optind >= argc) + fprintf(stderr, _("missing blockdevice, use -h for help\n")), exit(1); + + while (optind < argc) { + devname = argv[optind++]; + + fd = open(devname, O_RDONLY|O_NONBLOCK); + if (fd < 0) { + perror("open"); + break; + } + + /* mmj: If we get EINVAL it's not a 2.4 kernel, so warn about + that and exit. It should return ENOTTY however, so check for + that as well in case it gets corrected in the future */ + + if (ioctl(fd, BLKELVGET, &elevator) < 0) { + int errsv = errno; + perror("ioctl get"); + if ((errsv == EINVAL || errsv == ENOTTY) && + get_linux_version() >= KERNEL_VERSION(2,5,58)) { + fprintf(stderr, + _("\nelvtune is only useful on older " + "kernels;\nfor 2.6 use IO scheduler " + "sysfs tunables instead..\n")); + } + break; + } + + if (set) { + if (read_set) + elevator.read_latency = read_value; + if (write_set) + elevator.write_latency = write_value; + if (bomb_set) + elevator.max_bomb_segments = bomb_value; + + if (ioctl(fd, BLKELVSET, &elevator) < 0) { + perror("ioctl set"); + break; + } + if (ioctl(fd, BLKELVGET, &elevator) < 0) { + perror("ioctl reget"); + break; + } + } + + printf("\n%s elevator ID\t\t%d\n", devname, elevator.queue_ID); + printf("\tread_latency:\t\t%d\n", elevator.read_latency); + printf("\twrite_latency:\t\t%d\n", elevator.write_latency); + printf("\tmax_bomb_segments:\t%d\n\n", elevator.max_bomb_segments); + + if (close(fd) < 0) { + perror("close"); + break; + } + } + + return 0; +} diff --git a/disk-utils/fdformat.8 b/disk-utils/fdformat.8 new file mode 100644 index 0000000..d02241e --- /dev/null +++ b/disk-utils/fdformat.8 @@ -0,0 +1,65 @@ +.\" Copyright 1992, 1993 Rickard E. Faith (faith@cs.unc.edu) +.\" May be distributed under the GNU General Public License +.TH FDFORMAT 8 "July 2011" "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\-n\fR, \fB\-\-no\-verify\fR +Skip the verification that is normally performed after the formatting. +.TP +\fB\-V\fR, \fB\-\-version\fR +Output version information and exit. +.TP +\fB\-h\fR, \fB\-\-help\fR +Display help and exit. +.SH "SEE ALSO" +.BR fd (4), +.BR setfdprm (8), +.BR mkfs (8), +.BR emkfs (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 +ftp://ftp.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..e937a8e --- /dev/null +++ b/disk-utils/fdformat.c @@ -0,0 +1,168 @@ +/* + * fdformat.c - Low-level formats a floppy disk - Werner Almesberger + */ +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "c.h" +#include "closestream.h" +#include "nls.h" +#include "xalloc.h" + +struct floppy_struct param; + +#define SECTOR_SIZE 512 + +static void format_disk(int ctrl) +{ + struct format_descr descr; + unsigned int track; + + printf(_("Formatting ... ")); + fflush(stdout); + if (ioctl(ctrl, FDFMTBEG, NULL) < 0) + err(EXIT_FAILURE, "ioctl: FDFMTBEG"); + for (track = 0; track < param.track; track++) { + descr.track = track; + descr.head = 0; + if (ioctl(ctrl, FDFMTTRK, (long) &descr) < 0) + err(EXIT_FAILURE, "ioctl: FDFMTTRK"); + + printf("%3d\b\b\b", track); + fflush(stdout); + if (param.head == 2) { + descr.head = 1; + if (ioctl(ctrl, FDFMTTRK, (long)&descr) < 0) + err(EXIT_FAILURE, "ioctl: FDFMTTRK"); + } + } + if (ioctl(ctrl, FDFMTEND, NULL) < 0) + err(EXIT_FAILURE, "ioctl: FDFMTEND"); + printf(_("done\n")); +} + +static void verify_disk(char *name) +{ + unsigned char *data; + unsigned int cyl; + int fd, cyl_size, count; + + cyl_size = param.sect * param.head * 512; + data = xmalloc(cyl_size); + printf(_("Verifying ... ")); + fflush(stdout); + if ((fd = open(name, O_RDONLY)) < 0) + err(EXIT_FAILURE, _("cannot open %s"), name); + for (cyl = 0; cyl < param.track; cyl++) { + int read_bytes; + + printf("%3d\b\b\b", cyl); + fflush(stdout); + read_bytes = read(fd, data, cyl_size); + if (read_bytes != cyl_size) { + if (read_bytes < 0) + perror(_("Read: ")); + fprintf(stderr, + _("Problem reading cylinder %d," + " expected %d, read %d\n"), + cyl, cyl_size, read_bytes); + free(data); + exit(EXIT_FAILURE); + } + for (count = 0; count < cyl_size; count++) + if (data[count] != FD_FILL_BYTE) { + printf(_("bad data in cyl %d\n" + "Continuing ... "), cyl); + fflush(stdout); + break; + } + } + free(data); + printf(_("done\n")); + if (close(fd) < 0) + err(EXIT_FAILURE, "close"); +} + +static void __attribute__ ((__noreturn__)) usage(FILE * out) +{ + fprintf(out, _("Usage: %s [options] device\n"), + program_invocation_short_name); + + fprintf(out, _("\nOptions:\n" + " -n, --no-verify disable the verification after the format\n" + " -V, --version output version information and exit\n" + " -h, --help display this help and exit\n\n")); + + exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); +} + +int main(int argc, char **argv) +{ + int ch; + int ctrl; + int verify = 1; + struct stat st; + + static const struct option longopts[] = { + {"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, "nVh", longopts, NULL)) != -1) + switch (ch) { + case 'n': + verify = 0; + break; + case 'V': + printf(_("%s from %s\n"), program_invocation_short_name, + PACKAGE_STRING); + exit(EXIT_SUCCESS); + case 'h': + usage(stdout); + default: + usage(stderr); + } + + argc -= optind; + argv += optind; + + if (argc < 1) + usage(stderr); + if (stat(argv[0], &st) < 0) + err(EXIT_FAILURE, _("stat failed %s"), 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]); + if (access(argv[0], W_OK) < 0) + err(EXIT_FAILURE, _("cannot access file %s"), argv[0]); + + ctrl = open(argv[0], O_WRONLY); + 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); + format_disk(ctrl); + close(ctrl); + + if (verify) + verify_disk(argv[0]); + return EXIT_SUCCESS; +} diff --git a/disk-utils/fsck.8 b/disk-utils/fsck.8 new file mode 100644 index 0000000..4cfeb1f --- /dev/null +++ b/disk-utils/fsck.8 @@ -0,0 +1,461 @@ +.\" -*- nroff -*- +.\" 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 [ \-lrsAVRTMNP ] +.RB [ \-C +.RI [ fd ]] +.RB [ \-t +.IR fstype ] +.RI [ filesys ...] +.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 +.B /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 +Fsck 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 +.I /sbin +first, then in +.I /etc/fs +and +.IR /etc , +and finally in the directories listed in the PATH environment +variable. Please see the filesystem-specific checker manual pages for +further details. +.SH OPTIONS +.TP +.B \-l +Lock the whole-disk device by an exclusive +.BR flock (2). +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 +.B 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) -- this feature is +not implemented yet. +.TP +.B \-r +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 +.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 +.B /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 +.B /etc/fstab +will be checked. +.sp +For example, if +.B opts=ro +appears in +.IR fslist , +then only filesystems listed in +.B /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 can not 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, +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 detemine 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 --- 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 +.B /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 +.B \-C\fR [ \fI "fd" \fR ] +Display completion/progress bars for those filesystem checkers (currently +only for ext2 and ext3) which support them. Fsck 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 +.B fs-specific-options +Options which are not understood by +.B fsck +are passed to the filesystem-specific checker. These arguments +.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. +.IP +Options and arguments which follow the +.B \-\- +are treated as filesystem-specific options to be passed to the +filesystem-specific checker. +.IP +Please note that fsck 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. +.PP +Options to different filesystem-specific fsck's are not standardized. +If in doubt, please consult the man pages of the filesystem-specific +checker. Although not guaranteed, the following options are supported +by most filesystem checkers: +.TP +.B \-a +Automatically repair the filesystem without any questions (use +this option with caution). Note that +.BR e2fsck (8) +supports +.B \-a +for backward compatibility only. This option is mapped to +.BR e2fsck 's +.B \-p +option which is safe to use, unlike the +.B \-a +option that some filesystem checkers support. +.TP +.B \-n +For some filesystem-specific checkers, the +.B \-n +option will cause the fs-specific fsck to avoid attempting to repair any +problems, but simply report such problems to stdout. This is however +not true for all filesystem-specific checkers. In particular, +.BR fsck.reiserfs (8) +will not report any corruption if given this option. +.BR fsck.minix (8) +does not support the +.B \-n +option at all. +.TP +.B \-r +Interactively repair the filesystem (ask for confirmations). Note: It +is generally a bad idea to use this option if multiple fsck's are being +run in parallel. Also note that this is +.BR e2fsck 's +default behavior; it supports this option for backward compatibility +reasons only. +.TP +.B \-y +For some filesystem-specific checkers, the +.B \-y +option will cause the fs-specific fsck to always attempt to fix any +detected filesystem corruption automatically. Sometimes an expert may +be able to do better driving the fsck manually. Note that +.B not +all filesystem-specific checkers implement this option. In particular +.BR fsck.minix (8) +and +.BR fsck.cramfs (8) +do not support the +.B -y +option as of this writing. +.SH AUTHOR +.MT tytso@mit.edu +Theodore Ts'o +.ME +.SH AVAILABILITY +The fsck command is part of the util-linux package and is available from +.UR ftp://\:ftp.kernel.org\:/pub\:/linux\:/utils\:/util-linux/ +Linux Kernel Archive +.UE . +.SH FILES +.IR /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. A set of +system directories are searched first: +.BR /sbin , +.BR /sbin/fs.d , +.BR /sbin/fs , +.BR /etc/fs , +and +.BR /etc . +Then the set of directories found in the +.B PATH +environment are searched. +.TP +.B FSTAB_FILE +This environment variable allows the system administrator +to override the standard location of the +.B /etc/fstab +file. It is also useful for developers who are testing +.BR fsck . +.SH SEE ALSO +.BR fstab (5), +.BR mkfs (8), +.BR fsck.ext2 (8) +or +.BR fsck.ext3 (8) +or +.BR e2fsck (8), +.BR cramfsck (8), +.BR fsck.minix (8), +.BR fsck.msdos (8), +.BR fsck.jfs (8), +.BR fsck.nfs (8), +.BR fsck.vfat (8), +.BR fsck.xfs (8), +.BR fsck.xiafs (8), +.BR reiserfsck (8). diff --git a/disk-utils/fsck.c b/disk-utils/fsck.c new file mode 100644 index 0000000..28a1d70 --- /dev/null +++ b/disk-utils/fsck.c @@ -0,0 +1,1576 @@ +/* + * 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, 2012 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 "closestream.h" + +#define XALLOC_EXIT_CODE FSCK_EX_ERROR +#include "xalloc.h" + +#ifndef DEFAULT_FSTYPE +# define DEFAULT_FSTYPE "ext2" +#endif + +#define MAX_DEVICES 32 +#define MAX_ARGS 32 + +static const char *ignored_types[] = { + "ignore", + "iso9660", + "sw", + NULL +}; + +static const char *really_wanted[] = { + "minix", + "ext2", + "ext3", + "ext4", + "ext4dev", + "jfs", + "reiserfs", + "xiafs", + "xfs", + NULL +}; + +/* + * Internal structure for mount tabel 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 whole disk file descriptor or -1 */ + 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 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; + +static const char fsck_prefix_path[] = FS_SEARCH_PATH; +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; +} + +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 + 1) > sizeof(path)) + return 0; + + f = fopen(path, "r"); + if (!f) + return 0; + + rc = fscanf(f, "%d", &x); + if (rc != 1) { + if (ferror(f)) + warn(_("failed to 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 *diskname; + + if (!disk || is_irrotational_disk(disk)) + return; + + diskname = blkid_devno_to_devname(disk); + if (!diskname) + return; + + if (verbose) + printf(_("Locking disk %s ... "), diskname); + + inst->lock = open(diskname, O_CLOEXEC | O_RDONLY); + 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")); + + free(diskname); + return; +} + +static void unlock_disk(struct fsck_instance *inst) +{ + if (inst->lock >= 0) { + /* explicitly unlock, don't rely on close(), maybe some library + * (e.g. liblkid) has still open the device. + */ + flock(inst->lock, LOCK_UN); + close(inst->lock); + + inst->lock = -1; + } +} + +static void free_instance(struct fsck_instance *i) +{ + if (lockdisk) + unlock_disk(i); + free(i->prog); + 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) + return fs; + + mnt_free_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; + + type = mnt_get_fstype(device, &ambi, mnt_table_get_cache(fstab)); + if (!ambi) + mnt_fs_set_fstype(fs, type); + } +} + +static int parser_errcb(struct libmnt_table *tb __attribute__ ((__unused__)), + const char *filename, int line) +{ + warnx(_("%s: parse error at line %d -- ignore"), filename, line); + return 0; +} + +/* + * 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 defauls if $FSTAB_FILE is not specified + */ + path = getenv("FSTAB_FILE"); + + if (mnt_table_parse_fstab(fstab, path)) { + if (!path) + path = mnt_get_fstab_path(); + 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 char *find_fsck(const char *type) +{ + char *s; + const char *tpl; + static char prog[256]; + char *p = xstrdup(fsck_path); + struct stat st; + + /* 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, ":")) { + sprintf(prog, tpl, s, type); + if (stat(prog, &st) == 0) + break; + } + free(p); + + return(s ? prog : NULL); +} + +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) +{ + double time_diff; + + if (!inst || !report_stats || noexecute) + return; + + time_diff = (inst->end_time.tv_sec - inst->start_time.tv_sec) + + (inst->end_time.tv_usec - inst->start_time.tv_usec) / 1E6; + + fprintf(stdout, "%s: status %d, rss %ld, " + "real %f, user %d.%06d, sys %d.%06d\n", + fs_get_device(inst->fs), + inst->exit_status, + inst->rusage.ru_maxrss, + time_diff, + (int)inst->rusage.ru_utime.tv_sec, + (int)inst->rusage.ru_utime.tv_usec, + (int)inst->rusage.ru_stime.tv_sec, + (int)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 *type, struct libmnt_fs *fs, int interactive) +{ + char *s, *argv[80], prog[80]; + int argc, i; + struct fsck_instance *inst, *p; + pid_t pid; + + inst = xcalloc(1, sizeof(*inst)); + + sprintf(prog, "fsck.%s", type); + argv[0] = xstrdup(prog); + 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] = 0; + + s = find_fsck(prog); + if (s == NULL) { + warnx(_("%s: not found"), prog); + free(inst); + return ENOENT; + } + + if (verbose || noexecute) { + const char *tgt = mnt_fs_get_target(fs); + + if (!tgt) + tgt = fs_get_device(fs); + printf("[%s (%d) -- %s] ", s, num_running, tgt); + for (i=0; i < argc; i++) + printf("%s ", argv[i]); + printf("\n"); + } + + 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(inst); + return errno; + } else if (pid == 0) { + if (!interactive) + close(0); + execv(s, argv); + err(FSCK_EX_ERROR, _("%s: execute failed"), s); + } + + for (i=0; i < argc; i++) + free(argv[i]); + + inst->pid = pid; + inst->prog = xstrdup(prog); + inst->type = xstrdup(type); + gettimeofday(&inst->start_time, NULL); + 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; + 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 = 0; +#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(_("waidpid failed")); + continue; + } + for (prev = 0, 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; + gettimeofday(&inst->end_time, NULL); + 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(0) + 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) +{ + 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; + + num_running++; + retval = execute(type, fs, interactive); + if (retval) { + warnx(_("error %d while executing fsck.%s for %s"), + retval, type, fs_get_device(fs)); + num_running--; + return FSCK_EX_ERROR; + } + return 0; +} + + +/* + * Deal with the fsck -t argument. + */ +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 == 0 || cmp->list[0] == 0) + 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 **ip, *type; + int wanted = 0; + + /* + * 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; + + /* Do we really really want to check this fs? */ + for(ip = really_wanted; *ip; ip++) + if (strcmp(type, *ip) == 0) { + wanted = 1; + break; + } + + /* See if the program is available. */ + if (find_fsck(type) == NULL) { + if (wanted) + 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)) != 0) { +#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 != 0); + + 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 skep 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) +{ + printf(_("\nUsage:\n" + " %s [fsck-options] [fs-options] [filesys ...]\n"), + program_invocation_short_name); + + puts(_( "\nOptions:\n" + " -A check all filesystems\n" + " -R skip root filesystem; useful only with `-A'\n" + " -M do not check mounted filesystems\n" + " -t specify filesystem types to be checked;\n" + " type is allowed to be comma-separated list\n" + " -P check filesystems in parallel, including root\n" + " -r report statistics for each device fsck\n" + " -s serialize fsck operations\n" + " -l lock the device using flock()\n" + " -N do not execute, just show what would be done\n" + " -T do not show the title on startup\n" + " -C display progress bar; file descriptor is for GUIs\n" + " -V explain what is being done\n" + " -? display this help and exit\n\n" + "See fsck.* commands for fs-options.")); + + exit(FSCK_EX_USAGE); +} + +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 = 0; + char options[128]; + int opt = 0; + int opts_for_fsck = 0; + struct sigaction sa; + + /* + * Set up signal action + */ + memset(&sa, 0, sizeof(struct sigaction)); + sa.sa_handler = signal_cancel; + sigaction(SIGINT, &sa, 0); + sigaction(SIGTERM, &sa, 0); + + num_devices = 0; + num_args = 0; + instance_list = 0; + + for (i=1; i < argc; i++) { + arg = argv[i]; + if (!arg) + continue; + 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]) { + progress_fd = string_to_int(arg+j+1); + if (progress_fd < 0) + progress_fd = 0; + else + goto next_arg; + } else if ((i+1) < argc && + !strncmp(argv[i+1], "-", 1) == 0) { + progress_fd = string_to_int(argv[i]); + 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; + break; + case 's': + serialize = 1; + break; + case 't': + tmp = 0; + if (fstype) + usage(); + if (arg[j+1]) + tmp = arg+j+1; + else if ((i+1) < argc) + tmp = argv[++i]; + else + usage(); + 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; + } + } + 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; + char *oldpath = getenv("PATH"); + struct libmnt_fs *fs; + + setvbuf(stdout, NULL, _IONBF, BUFSIZ); + setvbuf(stderr, NULL, _IONBF, BUFSIZ); + + setlocale(LC_MESSAGES, ""); + setlocale(LC_CTYPE, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + mnt_init_debug(0); /* init libmount debug mask */ + mntcache = mnt_new_cache(); /* no fatal error if failed */ + + parse_argv(argc, argv); + + if (!notitle) + printf(_("%s from %s\n"), program_invocation_short_name, PACKAGE_STRING); + + load_fs_info(); + + /* Update our search path to include uncommon directories. */ + if (oldpath) { + fsck_path = xmalloc (strlen (fsck_prefix_path) + 1 + + strlen (oldpath) + 1); + strcpy (fsck_path, fsck_prefix_path); + strcat (fsck_path, ":"); + strcat (fsck_path, oldpath); + } else { + fsck_path = xstrdup(fsck_prefix_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_free_cache(mntcache); + mnt_free_table(fstab); + mnt_free_table(mtab); + return status; +} diff --git a/disk-utils/fsck.cramfs.c b/disk-utils/fsck.cramfs.c new file mode 100644 index 0000000..04f970f --- /dev/null +++ b/disk-utils/fsck.cramfs.c @@ -0,0 +1,692 @@ +/* + * 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) + */ + +/* compile-time options */ +//#define INCLUDE_FS_TESTS /* include cramfs checking and extraction */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include /* for major, minor */ + +#include "cramfs.h" +#include "nls.h" +#include "blkdev.h" +#include "c.h" +#include "exitcodes.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 */ +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) */ + +char *extract_dir = ""; /* extraction directory (-x) */ + +#define PAD_SIZE 512 + +#ifdef INCLUDE_FS_TESTS + +static int opt_extract = 0; /* extract cramfs (-x) */ + +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 *); +#endif /* INCLUDE_FS_TESTS */ + +static char *outbuffer; + +static size_t page_size; + +/* Input status of 0 to print help and exit without an error. */ +static void __attribute__((__noreturn__)) usage(int status) +{ + FILE *stream = status ? stderr : stdout; + + fputs(USAGE_HEADER, stream); + fprintf(stream, + _(" %s [options] file\n"), program_invocation_short_name); + fputs(USAGE_OPTIONS, stream); + fputs(_(" -x, --destination extract into directory\n"), stream); + fputs(_(" -v, --verbose be more verbose\n"), stream); + fputs(USAGE_HELP, stream); + fputs(USAGE_VERSION, stream); + exit(status); +} + +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 failed %s"), 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, _("read failed: %s"), filename); + if (get_superblock_endianness(super.magic) != -1) + *start = 0; + else if (*length >= (PAD_SIZE + sizeof(super))) { + lseek(fd, PAD_SIZE, SEEK_SET); + if (read(fd, &super, sizeof(super)) != sizeof(super)) + err(FSCK_EX_ERROR, _("read failed: %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")); + + if (super.size < page_size) + 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) + fprintf(stderr, + _("warning: file extends past end of filesystem\n")); + } else + fprintf(stderr, _("warning: old cramfs format\n")); +} + +static void test_crc(int start) +{ + void *buf; + uint32_t crc; + + if (!(super.flags & CRAMFS_FLAG_FSID_VERSION_2)) { +#ifdef INCLUDE_FS_TESTS + return; +#else + errx(FSCK_EX_USAGE, _("unable to test CRC: old cramfs format")); +#endif + } + + crc = crc32(0L, Z_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) { + lseek(fd, 0, SEEK_SET); + if (read(fd, buf, super.size) < 0) + err(FSCK_EX_ERROR, _("read failed: %s"), filename); + } + } + if (buf != MAP_FAILED) { + ((struct cramfs_super *)(buf + start))->fsid.crc = + crc32(0L, Z_NULL, 0); + crc = crc32(crc, buf + start, super.size - start); + munmap(buf, super.size); + } else { + int retval; + size_t length = 0; + + buf = xmalloc(4096); + lseek(fd, start, SEEK_SET); + for (;;) { + retval = read(fd, buf, 4096); + if (retval < 0) + err(FSCK_EX_ERROR, _("read failed: %s"), filename); + else if (retval == 0) + break; + if (length == 0) + ((struct cramfs_super *)buf)->fsid.crc = + crc32(0L, Z_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")); +} + +#ifdef INCLUDE_FS_TESTS +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) { + read_buffer_block = block; + lseek(fd, block << ROMBUFFER_BITS, SEEK_SET); + read(fd, read_buffer, ROMBUFFERSIZE * 2); + } + 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, int len) +{ + int err; + + stream.next_in = src; + stream.avail_in = len; + + stream.next_out = (unsigned char *)outbuffer; + stream.avail_out = page_size * 2; + + inflateReset(&stream); + + if (len > page_size * 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 %p(%d): %s"), + zError(err), src, len); + return stream.total_out; +} + +#if !HAVE_LCHOWN +#define lchown chown +#endif + +static void do_uncompress(char *path, int fd, unsigned long offset, + unsigned long size) +{ + unsigned long curr = offset + 4 * ((size + page_size - 1) / page_size); + + do { + unsigned long out = page_size; + 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 %ld (%zd)\n"), curr, + page_size); + if (size < page_size) + out = size; + memset(outbuffer, 0x00, out); + } else { + if (opt_verbose > 1) + printf(_(" uncompressing block at %ld to %ld (%ld)\n"), + curr, next, next - curr); + out = uncompress_block(romfs_read(curr), next - curr); + } + if (size >= page_size) { + if (out != page_size) + 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 (opt_extract) + if (write(fd, 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 (opt_extract) { + 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 fd = 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 (opt_extract) { + fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, i->mode); + if (fd < 0) + err(FSCK_EX_ERROR, _("cannot open %s"), path); + } + if (i->size) + do_uncompress(path, fd, offset, i->size); + if (opt_extract) { + close(fd); + 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 %ld to %ld (%ld)\n"), + curr, next, next - curr); + free(str); + } + if (opt_extract) { + 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 (opt_extract) { + 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 (%ld) < sizeof(struct cramfs_super) + start (%ld)"), + start_data, sizeof(struct cramfs_super) + start); + if (end_dir != start_data) + errx(FSCK_EX_UNCORRECTED, + _("directory data end (%ld) != file data start (%ld)"), + end_dir, start_data); + } + if (super.flags & CRAMFS_FLAG_FSID_VERSION_2) + if (end_data > super.size) + errx(FSCK_EX_UNCORRECTED, _("invalid file data offset")); + + iput(root); /* free(root) */ +} +#endif /* INCLUDE_FS_TESTS */ + +int main(int argc, char **argv) +{ + int c; /* for getopt */ + int start = 0; + size_t length = 0; + + static const struct option longopts[] = { + {"destination", required_argument, 0, 'x'}, + {"verbose", no_argument, 0, 'v'}, + {"version", no_argument, 0, 'V'}, + {"help", no_argument, 0, 'h'}, + {NULL, no_argument, 0, '0'}, + }; + + setlocale(LC_MESSAGES, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + page_size = getpagesize(); + + outbuffer = xmalloc(page_size * 2); + + /* command line options */ + while ((c = getopt_long(argc, argv, "x:vVh", longopts, NULL)) != EOF) + switch (c) { + case 'h': + usage(FSCK_EX_OK); + break; + case 'V': + printf(UTIL_LINUX_VERSION); + return EXIT_SUCCESS; + case 'x': +#ifdef INCLUDE_FS_TESTS + opt_extract = 1; + extract_dir = optarg; + break; +#else + errx(FSCK_EX_USAGE, _("compiled without -x support")); +#endif + case 'v': + opt_verbose++; + break; + default: + usage(FSCK_EX_USAGE); + } + + if ((argc - optind) != 1) + usage(FSCK_EX_USAGE); + filename = argv[optind]; + + test_super(&start, &length); + test_crc(start); +#ifdef INCLUDE_FS_TESTS + test_fs(start); +#endif + + 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..e84b82b --- /dev/null +++ b/disk-utils/fsck.minix.8 @@ -0,0 +1,136 @@ +.\" Copyright 1992, 1993, 1994 Rickard E. Faith (faith@cs.unc.edu) +.\" May be freely distributed. +.\" " for hilit19 +.TH FSCK 8 "July 1996" "util-linux" "System Administration" +.SH NAME +fsck.minix \- check consistency of Minix filesystem +.SH SYNOPSIS +.B fsck.minix +.RB [ \-larvsmf ] +.I device +.SH DESCRIPTION +.B fsck.minix +performs a consistency check for the Linux MINIX filesystem. The current +version supports the 14 character and 30 character filename options. + +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 (and remember that the kernel can write to it when it +searches for files). + +The \fIdevice\fR name will usually have the following form: +.nf +.RS +/dev/hda[1-63] (IDE disk 1) +/dev/hdb[1-63] (IDE disk 2) +/dev/sda[1-15] (SCSI disk 1) +/dev/sdb[1-15] (SCSI disk 2) +.RE +.fi + +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. Since Linux does not currently have raw +devices, there is +.I no +need to reboot at this time. +.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 (i.e., the root filesystem), make sure nothing is +writing to the disk, and that no files are "zombies" waiting for deletion. +.SH OPTIONS +.TP +.B \-l +List all filenames. +.TP +.B \-r +Perform interactive repairs. +.TP +.B \-a +Perform automatic repairs. (This option implies +.B \-r +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 +.B \-v +Be verbose. +.TP +.B \-s +Output super-block information. +.TP +.B \-m +Activate MINIX-like "mode not cleared" warnings. +.TP +.B \-f +Force a filesystem check even if the filesystem was marked as valid (this +marking is done by the kernel when the filesystem is unmounted). +.SH "SEE ALSO" +.BR fsck (8), +.BR fsck.ext (8), +.BR fsck.ext2 (8), +.BR fsck.xiafs (8), +.BR mkfs (8), +.BR mkfs.minix (8), +.BR mkfs.ext (8), +.BR mkfs.ext2 (8), +.BR mkfs.xiafs (8), +.BR reboot (8) +.SH DIAGNOSTICS +There are numerous diagnostic messages. The ones mentioned here are the +most commonly seen in normal usage. + +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: +.IP 0 +No errors +.IP 3 +Filesystem errors corrected, system should be rebooted if filesystem was +mounted +.IP 4 +Filesystem errors left uncorrected +.IP 8 +Operational error +.IP 16 +Usage or syntax error +.PP +In point of fact, only 0, 3, 4, 7, 8, and 16 can ever be returned. +.SH AUTHOR +Linus Torvalds (torvalds@cs.helsinki.fi) +.br +Error code values by Rik Faith (faith@cs.unc.edu) +.br +Added support for filesystem valid flag: Dr. Wettstein +(greg%wind.uucp@plains.nodak.edu) +.br +Check to prevent fsck of mounted filesystem added by Daniel Quinlan +(quinlan@yggdrasil.com) +.br +Minix v2 fs support by Andreas Schwab +(schwab@issan.informatik.uni-dortmund.de), updated by Nicolai +Langfeldt (janl@math.uio.no) +.br +Portability patch by Russell King (rmk@ecs.soton.ac.uk). +.SH AVAILABILITY +The fsck.minix command is part of the util-linux package and is available from +ftp://ftp.kernel.org/pub/linux/utils/util-linux/. diff --git a/disk-utils/fsck.minix.c b/disk-utils/fsck.minix.c new file mode 100644 index 0000000..f24a9f2 --- /dev/null +++ b/disk-utils/fsck.minix.c @@ -0,0 +1,1391 @@ +/* + * 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 rudimetary 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). + * + * Usuage: fsck [-larvsm] device + * -l for a listing of all the filenames + * -a for automatic repairs (not implemented) + * -r for repairs (interactive) (not implemented) + * -v for verbose (tells how many files) + * -s for super-block info + * -m for minix-like "mode not cleared" warnings + * -f force filesystem check even if filesystem marked as valid + * + * The device may be a block device or a image of one, but this isn't + * enforced (but it's not much fun on a character device :-). + */ + +#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" + +#define ROOT_INO 1 +#define YESNO_LENGTH 64 + +/* Global variables used in minix_programs.h inline fuctions */ +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 IN; +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]; + +#define MAGIC (Super.s_magic) + +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(0, 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 +leave(int status) { + reset(); + exit(status); +} + +static void +usage(void) { + fputs(USAGE_HEADER, stderr); + fprintf(stderr, + _(" %s [options] \n"), program_invocation_short_name); + fputs(USAGE_OPTIONS, stderr); + fputs(_(" -l list all filenames\n"), stderr); + fputs(_(" -a automatic repair\n"), stderr); + fputs(_(" -r interactive repair\n"), stderr); + fputs(_(" -v be verbose\n"), stderr); + fputs(_(" -s output super-block information\n"), stderr); + fputs(_(" -m activate mode not cleared warnings\n"), stderr); + fputs(_(" -f force check\n"), stderr); + fputs(USAGE_SEPARATOR, stderr); + fputs(USAGE_VERSION, stderr); + fprintf(stderr, USAGE_MAN_TAIL("fsck.minix(8)")); + leave(FSCK_EX_USAGE); +} + +static void die(const char *fmt, ...) + __attribute__ ((__format__(__printf__, 1, 2))); + +static void +die(const char *fmt, ...) { + va_list ap; + + fprintf(stderr, "%s: ", program_invocation_short_name); + 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 -1: + /* def = def */ + break; + case 0: + case 1: + 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(0) && isatty(1)) + cont = ask(_("Do you really want to continue"), 0); + else + cont = 0; + if (!cont) { + printf(_("check aborted.\n")); + exit(FSCK_EX_OK); + } + return; +} + +/* 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(IN, 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(IN, 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(IN, MINIX_BLOCK_SIZE * nr, SEEK_SET)) + die(_("seek failed in write_block")); + if (MINIX_BLOCK_SIZE != write(IN, 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; + + 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; + result = check_zone_nr(dind + (blknr / 512), &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) { + /* 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(IN, MINIX_BLOCK_SIZE, SEEK_SET)) + die(_("seek failed in write_super_block")); + if (MINIX_BLOCK_SIZE != write(IN, super_block_buffer, MINIX_BLOCK_SIZE)) + die(_("unable to write super-block")); + return; +} + +static void +write_tables(void) { + write_super_block(); + unsigned long buffsz = get_inode_buffer_size(); + unsigned long imaps = get_nimaps(); + unsigned long zmaps = get_nzmaps(); + + if (write_all(IN, inode_map, imaps * MINIX_BLOCK_SIZE)) + die(_("Unable to write inode map")); + + if (write_all(IN, zone_map, zmaps * MINIX_BLOCK_SIZE)) + die(_("Unable to write zone map")); + + if (write_all(IN, 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) + 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(IN, 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(IN, super_block_buffer, MINIX_BLOCK_SIZE)) + die(_("unable to read super block")); + if (MAGIC == MINIX_SUPER_MAGIC) { + namelen = 14; + dirsize = 16; + fs_version = 1; + } else if (MAGIC == MINIX_SUPER_MAGIC2) { + namelen = 30; + dirsize = 32; + fs_version = 1; + } else if (MAGIC == MINIX2_SUPER_MAGIC) { + namelen = 14; + dirsize = 16; + fs_version = 2; + } else if (MAGIC == MINIX2_SUPER_MAGIC2) { + namelen = 30; + dirsize = 32; + fs_version = 2; + } 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_nimaps() * MINIX_BLOCK_SIZE * 8 < get_ninodes() + 1) + die(_("bad s_imap_blocks 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(); + unsigned long buffsz = get_inode_buffer_size(); + unsigned long norm_first_zone = first_zone_data(); + unsigned long 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(IN, inode_map, imaps * MINIX_BLOCK_SIZE); + if (rc < 0 || imaps * MINIX_BLOCK_SIZE != (size_t) rc) + die(_("Unable to read inode map")); + + rc = read(IN, zone_map, zmaps * MINIX_BLOCK_SIZE); + if (rc < 0 || zmaps * MINIX_BLOCK_SIZE != (size_t) rc) + die(_("Unable to read zone map")); + + rc = read(IN, 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=%ld (%ld)\n"), first_zone, norm_first_zone); + printf(_("Zonesize=%d\n"), MINIX_BLOCK_SIZE << get_zone_size()); + printf(_("Maxsize=%ld\n"), get_max_size()); + 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]; + 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) + strncpy(name_list[name_depth], name, namelen); + 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) + strncpy(name_list[name_depth], name, namelen); + 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]; + struct minix2_inode *inode; + unsigned long ino; + char *name; + int block; + + block = map_block2(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) + strncpy(name_list[name_depth], name, namelen); + 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("%6zd %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_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; + unsigned int 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; + } + for (offset = 0; offset < dir->i_size; offset += dirsize) + check_file(dir, offset); +} + +static void +recursive_check2(unsigned int ino) { + struct minix2_inode *dir; + unsigned int 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(IN, MINIX_BLOCK_SIZE * i, SEEK_SET)) + die(_("seek failed in bad_zone")); + return (MINIX_BLOCK_SIZE != read(IN, 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 = 0; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + if (argc == 2 && + (!strcmp(argv[1], "-V") || !strcmp(argv[1], "--version"))) { + printf(UTIL_LINUX_VERSION); + exit(FSCK_EX_OK); + } + + 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 (argc-- > 1) { + argv++; + if (argv[0][0] != '-') { + if (device_name) + usage(); + else + device_name = argv[0]; + } else + while (*++argv[0]) + switch (argv[0][0]) { + 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; + default: + usage(); + } + } + if (!device_name) + usage(); + check_mount(); /* trying to check a mounted filesystem? */ + if (repair && !automatic) { + if (!isatty(0) || !isatty(1)) + die(_("need terminal for interactive repairs")); + } + IN = open(device_name, repair ? O_RDWR : O_RDONLY); + if (IN < 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 (!(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(0, &termios); + tmp = termios; + tmp.c_lflag &= ~(ICANON | ECHO); + tcsetattr(0, TCSANOW, &tmp); + termios_set = 1; + } + + if (fs_version == 2) { + check_root2(); + check2(); + } else { + check_root(); + check(); + } + if (verbose) { + unsigned long i, free; + + for (i = 1, free = 0; i <= get_ninodes(); i++) + if (!inode_in_use(i)) + free++; + printf(_("\n%6ld inodes used (%ld%%)\n"), + (get_ninodes() - free), + 100 * (get_ninodes() - free) / get_ninodes()); + for (i = get_first_zone(), free = 0; i < get_nzones(); i++) + if (!zone_in_use(i)) + 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(0, TCSANOW, &termios); + + 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..6cbc1ff --- /dev/null +++ b/disk-utils/isosize.8 @@ -0,0 +1,35 @@ +.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 +.\" Add any additional description here +.PP +This command outputs the length of an iso9660 file system that +is contained in the given file. That file may be a normal file or +a block device (e.g. /dev/hdd or /dev/sr0). In the absence of +any switches (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. diff --git a/disk-utils/isosize.c b/disk-utils/isosize.c new file mode 100644 index 0000000..e5defae --- /dev/null +++ b/disk-utils/isosize.c @@ -0,0 +1,219 @@ +/* + * 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 ISODCL(from, to) (to - from + 1) + +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 */ + warn("733error: le=%d be=%d", le, be); + return (le); +} + +struct iso_primary_descriptor +{ + unsigned char type [ISODCL ( 1, 1)]; /* 711 */ + unsigned char id [ISODCL ( 2, 6)]; + unsigned char version [ISODCL ( 7, 7)]; /* 711 */ + unsigned char unused1 [ISODCL ( 8, 8)]; + unsigned char system_id [ISODCL ( 9, 40)]; /* auchars */ + unsigned char volume_id [ISODCL ( 41, 72)]; /* duchars */ + unsigned char unused2 [ISODCL ( 73, 80)]; + unsigned char volume_space_size [ISODCL ( 81, 88)]; /* 733 */ + unsigned char unused3 [ISODCL ( 89, 120)]; + unsigned char volume_set_size [ISODCL ( 121, 124)]; /* 723 */ + unsigned char volume_sequence_number [ISODCL ( 125, 128)]; /* 723 */ + unsigned char logical_block_size [ISODCL ( 129, 132)]; /* 723 */ + unsigned char path_table_size [ISODCL ( 133, 140)]; /* 733 */ + unsigned char type_l_path_table [ISODCL ( 141, 144)]; /* 731 */ + unsigned char opt_type_l_path_table [ISODCL ( 145, 148)]; /* 731 */ + unsigned char type_m_path_table [ISODCL ( 149, 152)]; /* 732 */ + unsigned char opt_type_m_path_table [ISODCL ( 153, 156)]; /* 732 */ + unsigned char root_directory_record [ISODCL ( 157, 190)]; /* 9.1 */ + unsigned char volume_set_id [ISODCL ( 191, 318)]; /* duchars */ + unsigned char publisher_id [ISODCL ( 319, 446)]; /* achars */ + unsigned char preparer_id [ISODCL ( 447, 574)]; /* achars */ + unsigned char application_id [ISODCL ( 575, 702)]; /* achars */ + unsigned char copyright_file_id [ISODCL ( 703, 739)]; /* 7.5 dchars */ + unsigned char abstract_file_id [ISODCL ( 740, 776)]; /* 7.5 dchars */ + unsigned char bibliographic_file_id [ISODCL ( 777, 813)]; /* 7.5 dchars */ + unsigned char creation_date [ISODCL ( 814, 830)]; /* 8.4.26.1 */ + unsigned char modification_date [ISODCL ( 831, 847)]; /* 8.4.26.1 */ + unsigned char expiration_date [ISODCL ( 848, 864)]; /* 8.4.26.1 */ + unsigned char effective_date [ISODCL ( 865, 881)]; /* 8.4.26.1 */ + unsigned char file_structure_version [ISODCL ( 882, 882)]; /* 711 */ + unsigned char unused4 [ISODCL ( 883, 883)]; + unsigned char application_data [ISODCL ( 884, 1395)]; + unsigned char unused5 [ISODCL (1396, 2048)]; +}; + +static void isosize(char *filenamep, int xflag, long divisor) +{ + int fd, nsecs, ssize; + struct iso_primary_descriptor ipd; + + if ((fd = open(filenamep, O_RDONLY)) < 0) + err(EXIT_FAILURE, _("cannot open %s"), filenamep); + + if (lseek(fd, 16 << 11, 0) == (off_t) - 1) + err(EXIT_FAILURE, _("seek error on %s"), filenamep); + + if (read(fd, &ipd, sizeof(ipd)) < 0) + err(EXIT_FAILURE, _("read error on %s"), filenamep); + + nsecs = isonum_733(ipd.volume_space_size, xflag); + /* isonum_723 returns nowadays always 2048 */ + ssize = isonum_723(ipd.logical_block_size, xflag); + + 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); + } + + close(fd); +} + +static void __attribute__((__noreturn__)) usage(FILE *out) +{ + fprintf(out, _("\nUsage:\n" + " %s [options] iso9660_image_file\n"), + program_invocation_short_name); + + fprintf(out, _("\nOptions:\n" + " -d, --divisor=NUM divide bytes NUM\n" + " -x, --sectors show sector count and size\n" + " -V, --version output version information and exit\n" + " -H, --help display this help and exit\n\n")); + + exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); +} + +int main(int argc, char **argv) +{ + int j, ct, opt, xflag = 0; + long divisor = 0; + + static const struct option longopts[] = { + {"divisor", no_argument, 0, 'd'}, + {"sectors", no_argument, 0, 'x'}, + {"version", no_argument, 0, 'V'}, + {"help", no_argument, 0, 'h'}, + {NULL, 0, 0, 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(_("%s (%s)\n"), program_invocation_short_name, + PACKAGE_STRING); + return EXIT_SUCCESS; + case 'h': + usage(stdout); + default: + usage(stderr); + } + + ct = argc - optind; + + if (ct <= 0) + usage(stderr); + + for (j = optind; j < argc; j++) { + if (ct > 1) + printf("%s: ", argv[j]); + isosize(argv[j], xflag, divisor); + } + + return EXIT_SUCCESS; +} diff --git a/disk-utils/minix_programs.h b/disk-utils/minix_programs.h new file mode 100644 index 0000000..4af1a34 --- /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 (unsigned long)Super.s_ninodes; + } +} + +static inline unsigned long get_nzones(void) +{ + switch (fs_version) { + case 3: + return (unsigned long)Super3.s_zones; + case 2: + return (unsigned long)Super.s_zones; + default: + return (unsigned long)Super.s_nzones; + } +} + +static inline unsigned long get_nimaps(void) +{ + switch (fs_version) { + case 3: + return (unsigned long)Super3.s_imap_blocks; + default: + return (unsigned long)Super.s_imap_blocks; + } +} + +static inline unsigned long get_nzmaps(void) +{ + switch (fs_version) { + case 3: + return (unsigned long)Super3.s_zmap_blocks; + default: + return (unsigned long)Super.s_zmap_blocks; + } +} + +static inline unsigned long get_first_zone(void) +{ + switch (fs_version) { + case 3: + return (unsigned long)Super3.s_firstdatazone; + default: + return (unsigned long)Super.s_firstdatazone; + } +} + +static inline unsigned long get_zone_size(void) +{ + switch (fs_version) { + case 3: + return (unsigned long)Super3.s_log_zone_size; + default: + return (unsigned long)Super.s_log_zone_size; + } +} + +static inline unsigned long get_max_size(void) +{ + switch (fs_version) { + case 3: + return (unsigned long)Super3.s_max_size; + default: + return (unsigned long)Super.s_max_size; + } +} + +static 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 unsigned long first_zone_data(void) +{ + return 2 + get_nimaps() + get_nzmaps() + inode_blocks(); +} + +static inline unsigned long 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..af9304b --- /dev/null +++ b/disk-utils/mkfs.8 @@ -0,0 +1,110 @@ +.\" -*- nroff -*- +.TH MKFS 8 "June 2011" "util-linux" "System Administration" +.SH NAME +mkfs \- build a Linux filesystem +.SH SYNOPSIS +.SH SYNOPSIS +.B mkfs +.RI [ options ] +.RB [ \-t +.IR "type fs-options" ] " device " [ size ] +.SH DESCRIPTION +.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 in a number +of directories, like perhaps +.IR /sbin , +.IR /sbin/fs , +.IR /sbin/fs.d , +.IR /etc/fs , +.I /etc +(the precise list is defined at compile time but at least +contains +.I /sbin +and +.IR /sbin/fs ), +and finally in the directories +listed in the PATH environment variable. +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. +Although not guaranteed, the following options are supported +by most filesystem builders. +.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 and exit. +.SH BUGS +All generic options must precede and not be combined with +filesystem-specific options. +Some filesystem-specific programs do not support the +.B -V +(verbose) option, nor return meaningful exit codes. +Also, 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 +.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), +.BR mkfs.xiafs (8) +.SH AVAILABILITY +The mkfs command is part of the util-linux package and is available from +ftp://ftp.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..c1794e5 --- /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-512 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" +Output 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 +ftp://ftp.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..d83f9e0 --- /dev/null +++ b/disk-utils/mkfs.bfs.c @@ -0,0 +1,296 @@ +/* + * mkfs.bfs - Create SCO BFS filesystem - aeb, 1999-09-07 + * + */ + +#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" + +#define BFS_ROOT_INO 2 +#define BFS_NAMELEN 14 +#define BFS_BLOCKSIZE 512 +#define BFS_SUPER_MAGIC 0x1badface + +/* superblock - 512 bytes */ +struct bfssb { + unsigned int s_magic; + unsigned int s_start; /* byte offset of start of data */ + unsigned int s_end; /* sizeof(slice)-1 */ + + /* for recovery during compaction */ + int s_from, s_to; /* src and dest block of current transfer */ + int 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 { + unsigned short i_ino; + unsigned char i_pad1[2]; + unsigned long i_first_block; + unsigned long i_last_block; + unsigned long i_bytes_to_end; + unsigned long i_type; /* 1: file, 2: the unique dir */ + unsigned long i_mode; + unsigned long i_uid, i_gid; + unsigned long i_nlinks; + unsigned long i_atime, i_mtime, i_ctime; + unsigned char i_pad2[16]; +}; + +#define BFS_DIR_TYPE 2 + +/* directory entry - 16 bytes */ +struct bfsde { + unsigned short d_ino; + char d_name[BFS_NAMELEN]; +}; + +static void __attribute__ ((__noreturn__)) usage(FILE * out) +{ + fprintf(out, + _("Usage: %s [options] device [block-count]\n"), + program_invocation_short_name); + 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" + " -V, --version output version information and exit\n" + " -V as version must be only option\n" + " -h, --help display this help and exit\n\n")); + + exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); +} + +static void __attribute__ ((__noreturn__)) print_version(void) +{ + printf(_("%s from %s\n"), program_invocation_short_name, PACKAGE_STRING); + 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; + 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) + usage(stderr); + + 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(stdout); + default: + usage(stderr); + } + } + + if (optind == argc) + usage(stderr); + + device = argv[optind++]; + + if (stat(device, &statbuf) < 0) + err(EXIT_FAILURE, _("stat failed %s"), device); + + if (!S_ISBLK(statbuf.st_mode)) + errx(EXIT_FAILURE, _("%s is not a block special device"), device); + + fd = open(device, O_RDWR | O_EXCL); + 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) + usage(stderr); + + 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 behaviour 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 = BFS_SUPER_MAGIC; + sb.s_start = ino_bytes + sizeof(struct bfssb); + sb.s_end = 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: %lu (in 1 block)\n"), + inodes); + else + fprintf(stderr, _("Inodes: %lu (in %llu blocks)\n"), + inodes, ino_blocks); + fprintf(stderr, _("Blocks: %lld\n"), total_blocks); + fprintf(stderr, _("Inode end: %d, Data end: %d\n"), + sb.s_start - 1, 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 = BFS_ROOT_INO; + ri.i_first_block = 1 + ino_blocks; + ri.i_last_block = ri.i_first_block + + (inodes * sizeof(de) - 1) / BFS_BLOCKSIZE; + ri.i_bytes_to_end = ri.i_first_block * BFS_BLOCKSIZE + + 2 * sizeof(struct bfsde) - 1; + ri.i_type = BFS_DIR_TYPE; + ri.i_mode = S_IFDIR | 0755; /* or just 0755 */ + ri.i_uid = 0; + ri.i_gid = 1; /* random */ + ri.i_nlinks = 2; + time(&now); + ri.i_atime = now; + ri.i_mtime = now; + ri.i_ctime = 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 = 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) < 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..dc2d2fd --- /dev/null +++ b/disk-utils/mkfs.c @@ -0,0 +1,144 @@ +/* + * 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 + * + */ + +#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 + +#define SEARCH_PATH "PATH=" FS_SEARCH_PATH +#define PROGNAME "mkfs.%s" + + +static void __attribute__ ((__noreturn__)) usage(FILE * out) +{ + fprintf(out, + _("Usage: %s [options] [-t type fs-options] device [size]\n"), + program_invocation_short_name); + + fprintf(out, _("\nOptions:\n" + " -t, --type=TYPE file system type, when undefined ext2 is used\n" + " fs-options parameters to real file system builder\n" + " device path to a device\n" + " size number of blocks on the device\n" + " -V, --verbose explain what is done\n" + " defining -V more than once will cause a dry-run\n" + " -V, --version output version information and exit\n" + " -V as version must be only option\n" + " -h, --help display this help and exit\n")); + + fprintf(out, _("\nFor more information see mkfs(8).\n")); + + exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); +} + +static void __attribute__ ((__noreturn__)) print_version(void) +{ + printf(_("%s (%s)\n"), + program_invocation_short_name, PACKAGE_STRING); + 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; + char *oldpath, *newpath; + + enum { VERSION_OPTION = CHAR_MAX + 1 }; + + static const struct option longopts[] = { + {"type", required_argument, NULL, 't'}, + {"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 && !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(stdout); + case VERSION_OPTION: + print_version(); + default: + optind--; + more = 1; + break; /* start of specific arguments */ + } + if (optind == argc) + usage(stderr); + + /* If -t wasn't specified, use the default */ + if (fstype == NULL) + fstype = DEFAULT_FSTYPE; + + /* Set PATH and program name */ + oldpath = getenv("PATH"); + if (!oldpath) + oldpath = "/bin"; + + newpath = xmalloc(strlen(oldpath) + sizeof(SEARCH_PATH) + 3); + sprintf(newpath, "%s:%s\n", SEARCH_PATH, oldpath); + putenv(newpath); + + progname = xmalloc(sizeof(PROGNAME) + strlen(fstype) + 1); + sprintf(progname, PROGNAME, fstype); + argv[--optind] = progname; + + if (verbose) { + printf(_("mkfs (%s)\n"), PACKAGE_STRING); + i = optind; + while (argv[i]) + printf("%s ", argv[i++]); + printf("\n"); + if (verbose > 1) + return EXIT_SUCCESS; + } + + /* Execute the program */ + execvp(progname, argv + optind); + perror(progname); + return EXIT_FAILURE; +} diff --git a/disk-utils/mkfs.cramfs.c b/disk-utils/mkfs.cramfs.c new file mode 100644 index 0000000..f504a32 --- /dev/null +++ b/disk-utils/mkfs.cramfs.c @@ -0,0 +1,913 @@ +/* + * 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 instaed of all simultaneously. - aeb, 2002-11-01 + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "c.h" +#include "cramfs.h" +#include "closestream.h" +#include "md5.h" +#include "nls.h" +#include "exitcodes.h" +#include "strutils.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; /* settable via -b option */ +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[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 + +/* Input status of 0 to print help and exit without an error. */ +static void +usage(int status) { + FILE *stream = status ? stderr : stdout; + + fprintf(stream, + _("usage: %s [-h] [-v] [-b blksize] [-e edition] [-N endian] [-i file] " + "[-n name] dirname outfile\n" + " -h print this help\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 " + "(requires >= 2.4.0)\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 (requires >= 2.3.39)\n" + " dirname root of the filesystem to be compressed\n" + " outfile output file\n"), + program_invocation_short_name, PAD_SIZE); + + exit(status); +} + +static char * +do_mmap(char *path, unsigned int size, unsigned int mode){ + int fd; + char *start; + + if (!size) + return NULL; + + if (S_ISLNK(mode)) { + start = xmalloc(size); + if (readlink(path, start, size) < 0) { + perror(path); + warn_skip = 1; + start = NULL; + } + return start; + } + + fd = open(path, O_RDONLY); + if (fd < 0) { + perror(path); + warn_skip = 1; + return NULL; + } + + start = mmap(NULL, size, PROT_READ, MAP_PRIVATE, fd, 0); + if (-1 == (int) (long) start) + err(MKFS_EX_ERROR, "mmap"); + close(fd); + + return start; +} + +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) { + MD5_CTX ctx; + char *start; + + start = do_mmap(e->path, e->size, e->mode); + if (start == NULL) { + e->flags |= CRAMFS_EFLAG_INVALID; + } else { + MD5Init(&ctx); + MD5Update(&ctx, (unsigned char *) start, e->size); + 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) + 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, 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, 0, 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] == '.') { + if (dirent->d_name[2] == '\0') + continue; + } + } + namelen = strlen(dirent->d_name); + if (namelen > MAX_INPUT_NAMELEN) + errx(MKFS_EX_ERROR, + _("Very long (%zu bytes) filename `%s' found.\n" + " Please increase MAX_INPUT_NAMELEN in " + "mkcramfs.c and recompile. Exiting."), + namelen, dirent->d_name); + memcpy(endpath, dirent->d_name, namelen + 1); + + if (lstat(path, &st) < 0) { + perror(endpath); + warn_skip = 1; + continue; + } + entry = xcalloc(1, sizeof(struct entry)); + entry->name = (unsigned char *)xstrdup(dirent->d_name); + if (namelen > 255) { + /* Can't happen when reading from ext2fs. */ + + /* TODO: we ought to avoid chopping in half + multi-byte UTF8 characters. */ + entry->name[namelen = 255] = '\0'; + warn_namelen = 1; + } + 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) { + 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, Z_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) + strncpy((char *)super->name, opt_name, sizeof(super->name)); + else + strncpy((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, Z_NULL, 0); + int c; + cramfs_is_big_endian = HOST_IS_BIG_ENDIAN; /* default is to use host order */ + + blksize = getpagesize(); + total_blocks = 0; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + /* command line options */ + while ((c = getopt(argc, argv, "hb:Ee:i:n:N:psVvz")) != EOF) { + switch (c) { + case 'h': + usage(MKFS_EX_OK); + 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, _("edition number argument failed")); + 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 failed %s"), 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(_("%s from %s\n"), + program_invocation_short_name, PACKAGE_STRING); + exit(MKFS_EX_OK); + case 'v': + verbose = 1; + break; + case 'z': + opt_holes = 1; + break; + default: + usage(FSCK_EX_USAGE); + } + } + + if ((argc - optind) != 2) + usage(MKFS_EX_USAGE); + dirname = argv[optind]; + outfile = argv[optind + 1]; + + if (stat(dirname, &st) < 0) + err(MKFS_EX_USAGE, _("stat failed %s"), 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); + close(fd); + if (written < 0) + err(MKFS_EX_ERROR, _("ROM image")); + if (offset != written) + errx(MKFS_EX_ERROR, _("ROM image write failed (%zd %zd)"), + written, offset); + + /* + * (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 255 bytes.")); + 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 EXIT_SUCCESS; +} diff --git a/disk-utils/mkfs.minix.8 b/disk-utils/mkfs.minix.8 new file mode 100644 index 0000000..a65a711 --- /dev/null +++ b/disk-utils/mkfs.minix.8 @@ -0,0 +1,86 @@ +.\" Copyright 1992, 1993, 1994 Rickard E. Faith (faith@cs.unc.edu) +.\" May be freely distributed. +.TH MKFS.MINIX 8 "June 2011" "util-linux" "System Administration" +.SH NAME +mkfs.minix \- make a Minix filesystem +.SH SYNOPSIS +.B mkfs.minix +.RB [ \-c | \-l +.IR filename ] +.RB [ \-n +.IR namelength ] +.RB [ \-i +.IR inodecount ] +.RB [ \-v ] +.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-8] (IDE disk 1) +/dev/hdb[1-8] (IDE disk 2) +/dev/sda[1-8] (SCSI disk 1) +/dev/sdb[1-8] (SCSI disk 2) +.RE +.fi + +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 +.B \-c +Check the device for bad blocks before creating the filesystem. If any +are found, the count is printed. +.TP +.BI \-n " namelength" +Specify the maximum length of filenames. +Currently, the only allowable values are 14 and 30. +The default is 30. Note that kernels older than 0.99p7 +only accept namelength 14. +.TP +.BI \-i " inodecount" +Specify the number of inodes for the filesystem. +.TP +.BI \-l " filename" +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. +.TP +.BR \-2 , " \-v" +Make a Minix version 2 filesystem. +.TP +.B \-3 +Make a Minix version 3 filesystem. +.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 mkfs (8), +.BR fsck (8), +.BR reboot (8) +.SH AVAILABILITY +The mkfs.minix command is part of the util-linux package and is available from +ftp://ftp.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..49626bf --- /dev/null +++ b/disk-utils/mkfs.minix.c @@ -0,0 +1,815 @@ +/* + * 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 + * + * Usage: mkfs [-c | -l filename ] [-12v3] [-nXX] [-iXX] device [size-in-blocks] + * + * -c for readablility checking (SLOW!) + * -l for getting a list of bad blocks from a file. + * -n for namelength (currently the kernel only uses 14 or 30) + * -i for number of inodes + * -1 for v1 filesystem + * -2,-v for v2 filesystem + * -3 for v3 filesystem + * + * The device may be a block device or a image of one, but this isn't + * enforced (but it's not much fun on a character device :-). + */ + +#include +#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" + +#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 + +/* + * Global variables used in minix_programs.h inline fuctions + */ +int fs_version = 1; +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) + +static char *program_name = "mkfs"; +static char *device_name; +static int DEV = -1; +static unsigned long long BLOCKS; +static int check; +static int badblocks; + +/* + * default (changed to 30, per Linus's + * suggestion, Sun Nov 21 08:05:07 1993) + * This should be changed in the future to 60, + * since v3 needs to be the default nowadays (2011) + */ +static size_t namelen = 30; +static size_t dirsize = 32; +static int magic = MINIX_SUPER_MAGIC2; + +static char root_block[MINIX_BLOCK_SIZE]; + +static char boot_block_buffer[512]; + +static unsigned short good_blocks_table[MAX_GOOD_BLOCKS]; +static int used_good_blocks; +static unsigned long req_nr_inodes; + + +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) { + errx(MKFS_EX_USAGE, _("Usage: %s [-c | -l filename] [-nXX] [-iXX] /dev/name [blocks]"), + program_name); +} + +/* + * Check to make certain that our new filesystem won't be created on + * an already mounted partition. Code adapted from mke2fs, Copyright + * (C) 1994 Theodore Ts'o. Also licensed under GPL. + */ +static void check_mount(void) { + FILE * f; + struct mntent * mnt; + + if ((f = setmntent (_PATH_MOUNTED, "r")) == NULL) + return; + while ((mnt = getmntent (f)) != NULL) + if (strcmp (device_name, mnt->mnt_fsname) == 0) + break; + endmntent (f); + if (!mnt) + return; + + errx(MKFS_EX_ERROR, _("%s is mounted; will not make a filesystem here!"), + device_name); +} + +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(void) { + unsigned long imaps = get_nimaps(); + unsigned long zmaps = get_nzmaps(); + unsigned long buffsz = get_inode_buffer_size(); + + /* Mark the super block valid. */ + super_set_state(); + + if (lseek(DEV, 0, SEEK_SET)) + err(MKFS_EX_ERROR, _("%s: seek to boot block failed " + " in write_tables"), device_name); + if (write_all(DEV, boot_block_buffer, 512)) + err(MKFS_EX_ERROR, _("%s: unable to clear boot sector"), device_name); + if (MINIX_BLOCK_SIZE != lseek(DEV, MINIX_BLOCK_SIZE, SEEK_SET)) + err(MKFS_EX_ERROR, _("%s: seek failed in write_tables"), device_name); + + if (write_all(DEV, super_block_buffer, MINIX_BLOCK_SIZE)) + err(MKFS_EX_ERROR, _("%s: unable to write super-block"), device_name); + + if (write_all(DEV, inode_map, imaps * MINIX_BLOCK_SIZE)) + err(MKFS_EX_ERROR, _("%s: unable to write inode map"), device_name); + + if (write_all(DEV, zone_map, zmaps * MINIX_BLOCK_SIZE)) + err(MKFS_EX_ERROR, _("%s: unable to write zone map"), device_name); + + if (write_all(DEV, inode_buffer, buffsz)) + err(MKFS_EX_ERROR, _("%s: unable to write inodes"), device_name); +} + +static void write_block(int blk, char * buffer) { + if (blk*MINIX_BLOCK_SIZE != lseek(DEV, blk*MINIX_BLOCK_SIZE, SEEK_SET)) + errx(MKFS_EX_ERROR, _("%s: seek failed in write_block"), device_name); + + if (write_all(DEV, buffer, MINIX_BLOCK_SIZE)) + errx(MKFS_EX_ERROR, _("%s: write failed in write_block"), device_name); +} + +static int get_free_block(void) { + unsigned int blk; + unsigned int zones = get_nzones(); + unsigned int first_zone = get_first_zone(); + + if (used_good_blocks+1 >= MAX_GOOD_BLOCKS) + errx(MKFS_EX_ERROR, _("%s: too many bad blocks"), device_name); + if (used_good_blocks) + blk = good_blocks_table[used_good_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"), device_name); + good_blocks_table[used_good_blocks] = blk; + used_good_blocks++; + return blk; +} + +static void mark_good_blocks(void) { + int blk; + + for (blk=0 ; blk < used_good_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(void) +{ + 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 (!badblocks) + return; + mark_inode(MINIX_BAD_INO); + inode->i_nlinks = 1; + inode->i_time = time(NULL); + inode->i_mode = S_IFREG + 0000; + inode->i_size = badblocks*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(); + 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(); + memset(dind_block,0,MINIX_BLOCK_SIZE); + for (i=0 ; i<512 ; i++) { + write_block(ind,(char *) ind_block); + dind_block[i] = ind = get_free_block(); + 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"), device_name); +end_bad: + if (ind) + write_block(ind, (char *) ind_block); + if (dind) + write_block(dind, (char *) dind_block); +} + +static void make_bad_inode_v2_v3 (void) +{ + 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 (!badblocks) + return; + mark_inode (MINIX_BAD_INO); + inode->i_nlinks = 1; + inode->i_atime = inode->i_mtime = inode->i_ctime = time (NULL); + inode->i_mode = S_IFREG + 0000; + inode->i_size = badblocks * 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 (); + 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 (); + memset (dind_block, 0, MINIX_BLOCK_SIZE); + for (i = 0; i < 256; i++) { + write_block (ind, (char *) ind_block); + dind_block[i] = ind = get_free_block (); + 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"), device_name); + end_bad: + if (ind) + write_block (ind, (char *) ind_block); + if (dind) + write_block (dind, (char *) dind_block); +} + +static void make_bad_inode(void) +{ + if (fs_version < 2) + return make_bad_inode_v1(); + return make_bad_inode_v2_v3(); +} + +static void make_root_inode_v1(void) { + struct minix_inode * inode = &Inode[MINIX_ROOT_INO]; + + mark_inode(MINIX_ROOT_INO); + inode->i_zone[0] = get_free_block(); + inode->i_nlinks = 2; + inode->i_time = time(NULL); + if (badblocks) + inode->i_size = 3*dirsize; + else { + root_block[2*dirsize] = '\0'; + root_block[2*dirsize+1] = '\0'; + inode->i_size = 2*dirsize; + } + inode->i_mode = S_IFDIR + 0755; + inode->i_uid = getuid(); + if (inode->i_uid) + inode->i_gid = getgid(); + write_block(inode->i_zone[0],root_block); +} + +static void make_root_inode_v2_v3 (void) { + struct minix2_inode *inode = &Inode2[MINIX_ROOT_INO]; + + mark_inode (MINIX_ROOT_INO); + inode->i_zone[0] = get_free_block (); + inode->i_nlinks = 2; + inode->i_atime = inode->i_mtime = inode->i_ctime = time (NULL); + + if (badblocks) + inode->i_size = 3 * dirsize; + else { + root_block[2 * dirsize] = '\0'; + inode->i_size = 2 * dirsize; + } + + inode->i_mode = S_IFDIR + 0755; + inode->i_uid = getuid(); + if (inode->i_uid) + inode->i_gid = getgid(); + write_block (inode->i_zone[0], root_block); +} + +static void make_root_inode(void) +{ + if (fs_version < 2) + return make_root_inode_v1(); + return make_root_inode_v2_v3(); +} + +static void super_set_nzones(void) +{ + switch (fs_version) { + case 3: + Super3.s_zones = BLOCKS; + break; + case 2: + Super.s_zones = BLOCKS; + break; + default: /* v1 */ + Super.s_nzones = 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(unsigned long inodes) +{ + switch (fs_version) { + case 3: + Super3.s_imap_blocks = UPPER(inodes + 1, BITS_PER_BLOCK); + Super3.s_zmap_blocks = UPPER(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(BLOCKS - (1+get_nimaps()+inode_blocks()), + BITS_PER_BLOCK+1); + Super.s_firstdatazone = first_zone_data(); + break; + } +} + +static void super_set_magic(void) +{ + switch (fs_version) { + case 3: + Super3.s_magic = magic; + break; + default: + Super.s_magic = magic; + break; + } +} + +static void setup_tables(void) { + unsigned long inodes, zmaps, imaps, zones, i; + + super_block_buffer = calloc(1, MINIX_BLOCK_SIZE); + if (!super_block_buffer) + err(MKFS_EX_ERROR, _("%s: unable to alloc buffer for superblock"), + device_name); + + memset(boot_block_buffer,0,512); + super_set_magic(); + + 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(); + zones = get_nzones(); + + /* some magic nrs: 1 inode / 3 blocks */ + if ( req_nr_inodes == 0 ) + inodes = BLOCKS/3; + else + inodes = req_nr_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 { + Super.s_ninodes = inodes; + if (inodes > MINIX_MAX_INODES) + inodes = MINIX_MAX_INODES; + } + + super_set_map_blocks(inodes); + imaps = get_nimaps(); + zmaps = get_nzmaps(); + + inode_map = malloc(imaps * MINIX_BLOCK_SIZE); + zone_map = malloc(zmaps * MINIX_BLOCK_SIZE); + if (!inode_map || !zone_map) + err(MKFS_EX_ERROR, _("%s: unable to allocate buffers for maps"), + device_name); + memset(inode_map,0xff,imaps * MINIX_BLOCK_SIZE); + memset(zone_map,0xff,zmaps * MINIX_BLOCK_SIZE); + for (i = get_first_zone() ; i= zones) + return; + signal(SIGALRM,alarm_intr); + alarm(5); + if (!currently_testing) + return; + printf("%d ...", currently_testing); + fflush(stdout); +} + +static void check_blocks(void) { + int 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(DEV,currently_testing*MINIX_BLOCK_SIZE,SEEK_SET) != + currently_testing*MINIX_BLOCK_SIZE) + errx(MKFS_EX_ERROR, _("%s: seek failed in check_blocks"), + device_name); + try = TEST_BUFFER_BLOCKS; + if (currently_testing + try > zones) + try = zones-currently_testing; + got = do_check(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"), device_name); + mark_zone(currently_testing); + badblocks++; + currently_testing++; + } + if (badblocks > 1) + printf(_("%d bad blocks\n"), badblocks); + else if (badblocks == 1) + printf(_("one bad block\n")); +} + +static void get_list_blocks(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"), + device_name); + + while (!feof(listfile)) { + if (fscanf(listfile,"%ld\n", &blockno) != 1) { + printf(_("badblock number input error on line %d\n"), badblocks + 1); + errx(MKFS_EX_ERROR, _("%s: cannot read badblocks file"), + device_name); + } + mark_zone(blockno); + badblocks++; + } + fclose(listfile); + + if(badblocks > 1) + printf(_("%d bad blocks\n"), badblocks); + else if (badblocks == 1) + printf(_("one bad block\n")); +} + +int main(int argc, char ** argv) { + int i; + char * tmp; + struct stat statbuf; + char * listfile = NULL; + char * p; + + if (argc && *argv) + program_name = *argv; + if ((p = strrchr(program_name, '/')) != NULL) + program_name = p+1; + + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + atexit(close_stdout); + + if (argc == 2 && + (!strcmp(argv[1], "-V") || !strcmp(argv[1], "--version"))) { + printf(_("%s (%s)\n"), program_name, PACKAGE_STRING); + exit(0); + } + + if (INODE_SIZE * MINIX_INODES_PER_BLOCK != MINIX_BLOCK_SIZE) + errx(MKFS_EX_ERROR, _("%s: bad inode size"), device_name); + if (INODE2_SIZE * MINIX2_INODES_PER_BLOCK != MINIX_BLOCK_SIZE) + errx(MKFS_EX_ERROR, _("%s: bad inode size"), device_name); + + opterr = 0; + while ((i = getopt(argc, argv, "ci:l:n:v123")) != -1) + switch (i) { + case 'c': + check=1; break; + case 'i': + req_nr_inodes = (unsigned long) atol(optarg); + break; + case 'l': + listfile = optarg; break; + case 'n': + i = strtoul(optarg,&tmp,0); + if (*tmp) + usage(); + if (i == 14) + magic = MINIX_SUPER_MAGIC; + else if (i == 30) + magic = MINIX_SUPER_MAGIC2; + else + usage(); + namelen = i; + dirsize = i+2; + break; + case '1': + fs_version = 1; + break; + case '2': + case 'v': /* kept for backwards compatiblitly */ + fs_version = 2; + break; + case '3': + fs_version = 3; + namelen = 60; + dirsize = 64; + break; + default: + usage(); + } + argc -= optind; + argv += optind; + if (argc > 0 && !device_name) { + device_name = argv[0]; + argc--; + argv++; + } + if (argc > 0) { + BLOCKS = strtol(argv[0],&tmp,0); + if (*tmp) { + printf(_("strtol error: number of blocks not specified")); + usage(); + } + } + + if (!device_name) { + usage(); + } + check_mount(); /* is it already mounted? */ + tmp = root_block; + if (fs_version == 3) { + *(uint32_t *)tmp = 1; + strcpy(tmp+4,"."); + tmp += dirsize; + *(uint32_t *)tmp = 1; + strcpy(tmp+4,".."); + tmp += dirsize; + *(uint32_t *)tmp = 2; + strcpy(tmp+4, ".badblocks"); + } else { + *(uint16_t *)tmp = 1; + strcpy(tmp+2,"."); + tmp += dirsize; + *(uint16_t *)tmp = 1; + strcpy(tmp+2,".."); + tmp += dirsize; + *(uint16_t *)tmp = 2; + strcpy(tmp+2, ".badblocks"); + } + if (stat(device_name, &statbuf) < 0) + err(MKFS_EX_ERROR, _("stat failed %s"), device_name); + if (S_ISBLK(statbuf.st_mode)) + DEV = open(device_name,O_RDWR | O_EXCL); + else + DEV = open(device_name,O_RDWR); + + if (DEV<0) + err(MKFS_EX_ERROR, _("cannot open %s"), device_name); + + if (S_ISBLK(statbuf.st_mode)) { + int sectorsize; + + if (blkdev_get_sector_size(DEV, §orsize) == -1) + sectorsize = DEFAULT_SECTOR_SIZE; /* kernel < 2.3.3 */ + + if (blkdev_is_misaligned(DEV)) + warnx(_("%s: device is misaligned"), device_name); + + if (MINIX_BLOCK_SIZE < sectorsize) + errx(MKFS_EX_ERROR, _("block size smaller than physical " + "sector size of %s"), device_name); + if (!BLOCKS) { + if (blkdev_get_size(DEV, &BLOCKS) == -1) + errx(MKFS_EX_ERROR, _("cannot determine size of %s"), + device_name); + BLOCKS /= MINIX_BLOCK_SIZE; + } + } else if (!S_ISBLK(statbuf.st_mode)) { + if (!BLOCKS) + BLOCKS = statbuf.st_size / MINIX_BLOCK_SIZE; + check=0; + } else if (statbuf.st_rdev == 0x0300 || statbuf.st_rdev == 0x0340) + errx(MKFS_EX_ERROR, _("will not try to make filesystem on '%s'"), device_name); + if (BLOCKS < 10) + errx(MKFS_EX_ERROR, _("%s: number of blocks too small"), device_name); + + if (fs_version == 3) + magic = MINIX3_SUPER_MAGIC; + else if (fs_version == 2) { + if (namelen == 14) + magic = MINIX2_SUPER_MAGIC; + else + magic = MINIX2_SUPER_MAGIC2; + } else /* fs_version == 1 */ + if (BLOCKS > MINIX_MAX_INODES) + BLOCKS = MINIX_MAX_INODES; + setup_tables(); + if (check) + check_blocks(); + else if (listfile) + get_list_blocks(listfile); + + make_root_inode(); + make_bad_inode(); + + mark_good_blocks(); + write_tables(); + close(DEV); + + return 0; +} diff --git a/disk-utils/mkswap.8 b/disk-utils/mkswap.8 new file mode 100644 index 0000000..c653171 --- /dev/null +++ b/disk-utils/mkswap.8 @@ -0,0 +1,148 @@ +.\" Copyright 1998 Andries E. Brouwer (aeb@cwi.nl) +.\" +.\" May be distributed under the GNU General Public License +.\" Rewritten for 2.1.117, aeb, 981010. +.\" +.TH MKSWAP 8 "March 2009" "util-linux" "System Administration" +.SH NAME +mkswap \- set up a Linux swap area +.SH SYNOPSIS +.B mkswap +.RI [ 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 -- 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, ...) and on a whole disk (e.g. /dev/sda). + +.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 and on +a whole disk (e.g. /dev/sda). +.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. +It is roughly 2GiB on i386, PPC, m68k and ARM, 1GiB on sparc, 512MiB on mips, +128GiB on alpha, and 3TiB on sparc64. For kernels after 2.3.3 (May 1999) there is no +such limitation. + +Note that before version 2.1.117 the kernel allocated one byte for each page, +while it now allocates two bytes, so that taking into use a swap area of 2 GiB +might require 2 MiB of kernel memory. + +Presently, Linux allows 32 swap areas (this was 8 before Linux 2.4.10 (Sep 2001)). +The areas in use can be seen in the file +.I /proc/swaps +(since 2.1.25 (Sep 1997)). + +.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 -- +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=1024 count=65536 +.RE +.fi + +Note that a swap file must not contain any holes (so, using +.BR cp (1) +to create the file is not acceptable). + + +.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 +ftp://ftp.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..34fe687 --- /dev/null +++ b/disk-utils/mkswap.c @@ -0,0 +1,672 @@ +/* + * mkswap.c - set up a linux swap device + * + * (C) 1991 Linus Torvalds. This file may be redistributed as per + * the Linux copyright. + */ + +/* + * 20.12.91 - time began. Got VM working yesterday by doing this by hand. + * + * Usage: mkswap [-c] [-vN] [-f] device [size-in-blocks] + * + * -c for readability checking. (Use it unless you are SURE!) + * -vN for swap areas version N. (Only N=0,1 known today.) + * -f for forcing swap creation even if it would smash partition table. + * + * The device may be a block device or an image of one, but this isn't + * enforced (but it's not much fun on a character device :-). + * + * Patches from jaggy@purplet.demon.co.uk (Mike Jagdis) to make the + * size-in-blocks parameter optional added Wed Feb 8 10:33:43 1995. + * + * Version 1 swap area code (for kernel 2.1.117), aeb, 981010. + * + * Sparc fixes, jj@ultra.linux.cz (Jakub Jelinek), 981201 - mangled by aeb. + * V1_MAX_PAGES fixes, jj, 990325. + * sparc64 fixes, jj, 000219. + * + * 1999-02-22 Arkadiusz Mi¶kiewicz + * - added Native Language Support + * + */ + +#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 "wholedisk.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 + +static char *device_name = NULL; +static int DEV = -1; +static unsigned long long PAGES = 0; +static unsigned long badpages = 0; +static int check = 0; + +#define SELINUX_SWAPFILE_TYPE "swapfile_t" + +#ifdef __sparc__ +# ifdef __arch64__ +# define is_sparc64() 1 +# define is_be64() 1 +# else /* sparc32 */ +static int +is_sparc64(void) +{ + struct utsname un; + static int sparc64 = -1; + + if (sparc64 != -1) + return sparc64; + sparc64 = 0; + + if (uname(&un) < 0) + return 0; + if (! strcmp(un.machine, "sparc64")) { + sparc64 = 1; + return 1; + } + if (strcmp(un.machine, "sparc")) + return 0; /* Should not happen */ + +#ifdef HAVE_PERSONALITY + { + extern int personality(unsigned long); + int oldpers; +#define PERS_LINUX 0x00000000 +#define PERS_LINUX_32BIT 0x00800000 +#define PERS_LINUX32 0x00000008 + + oldpers = personality(PERS_LINUX_32BIT); + if (oldpers != -1) { + if (personality(PERS_LINUX) != -1) { + uname(&un); + if (! strcmp(un.machine, "sparc64")) { + sparc64 = 1; + oldpers = PERS_LINUX32; + } + } + personality(oldpers); + } + } +#endif + + return sparc64; +} +# define is_be64() is_sparc64() +# endif /* sparc32 */ +#else /* !sparc */ +# define is_be64() 0 +#endif + +/* + * The definition of the union swap_header uses the kernel constant PAGE_SIZE. + * Unfortunately, on some architectures this depends on the hardware model, and + * can only be found at run time -- we use getpagesize(), so that we do not + * need separate binaries e.g. for sun4, sun4c/d/m and sun4u. + * + * Even more unfortunately, getpagesize() does not always return the right + * information. For example, libc4, libc5 and glibc 2.0 do not use the system + * call but invent a value themselves (EXEC_PAGESIZE or NBPG * CLSIZE or NBPC), + * and thus it may happen that e.g. on a sparc kernel PAGE_SIZE=4096 and + * getpagesize() returns 8192. + * + * What to do? Let us allow the user to specify the pagesize explicitly. + * + */ +static unsigned int user_pagesize; +static unsigned int pagesize; +static unsigned long *signature_page = NULL; + +static void +init_signature_page(void) +{ + + unsigned int kernel_pagesize = pagesize = getpagesize(); + + if (user_pagesize) { + if (!is_power_of_2(user_pagesize) || + user_pagesize < sizeof(struct swap_header_v1_2) + 10) + errx(EXIT_FAILURE, + _("Bad user-specified page size %u"), + user_pagesize); + pagesize = user_pagesize; + } + + if (user_pagesize && user_pagesize != kernel_pagesize) + warnx(_("Using user-specified page size %d, " + "instead of the system value %d"), + pagesize, kernel_pagesize); + + signature_page = (unsigned long *) xcalloc(1, pagesize); +} + +static void +write_signature(char *sig) +{ + char *sp = (char *) signature_page; + + strncpy(sp + pagesize - 10, sig, 10); +} + +static void +write_uuid_and_label(unsigned char *uuid, char *volume_name) +{ + struct swap_header_v1_2 *h; + + /* Sanity check */ + if (sizeof(struct swap_header_v1) != + sizeof(struct swap_header_v1_2)) { + warnx(_("Bad swap header size, no label written.")); + return; + } + + h = (struct swap_header_v1_2 *) signature_page; + if (uuid) + memcpy(h->uuid, uuid, sizeof(h->uuid)); + if (volume_name) { + xstrncpy(h->volume_name, volume_name, sizeof(h->volume_name)); + if (strlen(volume_name) > strlen(h->volume_name)) + warnx(_("Label was truncated.")); + } + if (uuid || volume_name) { + if (volume_name) + printf("LABEL=%s, ", h->volume_name); + else + printf(_("no label, ")); +#ifdef HAVE_LIBUUID + if (uuid) { + char uuid_string[37]; + uuid_unparse(uuid, uuid_string); + printf("UUID=%s\n", uuid_string); + } else +#endif + printf(_("no uuid\n")); + } +} + +/* + * Find out what the maximum amount of swap space is that the kernel will + * handle. This wouldn't matter if the kernel just used as much of the + * swap space as it can handle, but until 2.3.4 it would return an error + * to swapon() if the swapspace was too large. + */ +/* Before 2.2.0pre9 */ +#define V1_OLD_MAX_PAGES ((0x7fffffff / pagesize) - 1) +/* Since 2.2.0pre9, before 2.3.4: + error if nr of pages >= SWP_OFFSET(SWP_ENTRY(0,~0UL)) + with variations on + #define SWP_ENTRY(type,offset) (((type) << 1) | ((offset) << 8)) + #define SWP_OFFSET(entry) ((entry) >> 8) + on the various architectures. Below the result - yuk. + + Machine pagesize SWP_ENTRY SWP_OFFSET bound+1 oldbound+2 + i386 2^12 o<<8 e>>8 1<<24 1<<19 + mips 2^12 o<<15 e>>15 1<<17 1<<19 + alpha 2^13 o<<40 e>>40 1<<24 1<<18 + m68k 2^12 o<<12 e>>12 1<<20 1<<19 + sparc 2^{12,13} (o&0x3ffff)<<9 (e>>9)&0x3ffff 1<<18 1<<{19,18} + sparc64 2^13 o<<13 e>>13 1<<51 1<<18 + ppc 2^12 o<<8 e>>8 1<<24 1<<19 + armo 2^{13,14,15} o<<8 e>>8 1<<24 1<<{18,17,16} + armv 2^12 o<<9 e>>9 1<<23 1<<19 + + assuming that longs have 64 bits on alpha and sparc64 and 32 bits elsewhere. + + The bad part is that we need to know this since the kernel will + refuse a swap space if it is too large. +*/ +/* patch from jj - why does this differ from the above? */ +/* 32bit kernels have a second limitation of 2GB, sparc64 is limited by + the size of virtual address space allocation for vmalloc */ +#if defined(__alpha__) +#define V1_MAX_PAGES ((1 << 24) - 1) +#elif defined(__mips__) +#define V1_MAX_PAGES ((1 << 17) - 1) +#elif defined(__sparc__) +#define V1_MAX_PAGES (is_sparc64() ? ((3 << 29) - 1) : ((1 << 18) - 1)) +#elif defined(__ia64__) +/* + * The actual size will depend on the amount of virtual address space + * available to vmalloc the swap map. + */ +#define V1_MAX_PAGES ((1UL << 54) - 1) +#else +#define V1_MAX_PAGES V1_OLD_MAX_PAGES +#endif +/* man page now says: +The maximum useful size of a swap area now depends on the architecture. +It is roughly 2GB on i386, PPC, m68k, ARM, 1GB on sparc, 512MB on mips, +128GB on alpha and 3TB on sparc64. +*/ + +#define MAX_BADPAGES ((pagesize-1024-128*sizeof(int)-10)/sizeof(int)) +#define MIN_GOODPAGES 10 + +static void __attribute__ ((__noreturn__)) usage(FILE *out) +{ + fprintf(out, + _("\nUsage:\n" + " %s [options] device [size]\n"), + program_invocation_short_name); + + 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" + " -V, --version output version information and exit\n" + " -h, --help display this help and exit\n\n")); + + exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); +} + +static void +page_bad(int page) +{ + struct swap_header_v1_2 *p = (struct swap_header_v1_2 *) signature_page; + + if (badpages == MAX_BADPAGES) + errx(EXIT_FAILURE, _("too many bad pages")); + p->badpages[badpages] = page; + badpages++; +} + +static void +check_blocks(void) +{ + unsigned int current_page; + int do_seek = 1; + char *buffer; + + buffer = xmalloc(pagesize); + current_page = 0; + while (current_page < PAGES) { + if (do_seek && lseek(DEV,current_page*pagesize,SEEK_SET) != + current_page*pagesize) + errx(EXIT_FAILURE, _("seek failed in check_blocks")); + if ((do_seek = (pagesize != read(DEV, buffer, pagesize)))) + page_bad(current_page); + current_page++; + } + if (badpages == 1) + printf(_("one bad page\n")); + else if (badpages > 1) + printf(_("%lu bad pages\n"), badpages); + free(buffer); +} + +/* return size in pages */ +static unsigned long long +get_size(const char *file) +{ + int fd; + unsigned long long size; + + fd = open(file, O_RDONLY); + if (fd < 0) { + perror(file); + exit(EXIT_FAILURE); + } + if (blkdev_get_size(fd, &size) == 0) + size /= pagesize; + + close(fd); + return size; +} + +#ifdef HAVE_LIBBLKID +static blkid_probe +new_prober(int fd) +{ + blkid_probe pr = blkid_new_probe(); + if (!pr) + errx(EXIT_FAILURE, _("unable to alloc new libblkid probe")); + if (blkid_probe_set_device(pr, fd, 0, 0)) + errx(EXIT_FAILURE, _("unable to assign device to libblkid probe")); + return pr; +} +#endif + +static void +wipe_device(int fd, const char *devname, int force, int is_blkdevice) +{ + char *type = NULL; + int whole = 0; + int zap = 1; +#ifdef HAVE_LIBBLKID + blkid_probe pr = NULL; +#endif + if (!force) { + if (lseek(fd, 0, SEEK_SET) != 0) + errx(EXIT_FAILURE, _("unable to rewind swap-device")); + + if (is_blkdevice && is_whole_disk_fd(fd, devname)) { + /* don't zap bootbits on whole disk -- we know nothing + * about bootloaders on the device */ + whole = 1; + zap = 0; + } else { +#ifdef HAVE_LIBBLKID + pr = new_prober(fd); + blkid_probe_enable_partitions(pr, 1); + blkid_probe_enable_superblocks(pr, 0); + + if (blkid_do_fullprobe(pr) == 0 && + blkid_probe_lookup_value(pr, "PTTYPE", + (const char **) &type, NULL) == 0 && + type) { + type = xstrdup(type); + zap = 0; + } +#else + /* don't zap if compiled without libblkid */ + zap = 0; +#endif + } + } + + if (zap) { + /* + * Wipe boodbits + */ + char buf[1024]; + + if (lseek(fd, 0, SEEK_SET) != 0) + errx(EXIT_FAILURE, _("unable to rewind swap-device")); + + memset(buf, 0, sizeof(buf)); + if (write_all(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(fd); + + blkid_probe_enable_superblocks(pr, 1); + blkid_probe_enable_partitions(pr, 0); + blkid_probe_set_superblocks_flags(pr, BLKID_SUBLKS_MAGIC); + + while (blkid_do_probe(pr) == 0) + blkid_do_wipe(pr, 0); +#endif + } else { + warnx(_("%s: warning: don't erase bootbits sectors"), + devname); + if (type) + fprintf(stderr, _(" (%s partition table detected). "), type); + else if (whole) + fprintf(stderr, _(" on whole disk. ")); + else + fprintf(stderr, _(" (compiled without libblkid). ")); + fprintf(stderr, "Use -f to force.\n"); + } +#ifdef HAVE_LIBBLKID + blkid_free_probe(pr); +#endif +} + +int +main(int argc, char **argv) { + struct stat statbuf; + struct swap_header_v1_2 *hdr; + int c; + unsigned long long maxpages; + unsigned long long goodpages; + unsigned long long sz; + off_t offset; + int force = 0; + int version = 1; + char *block_count = 0; + char *opt_label = NULL; + unsigned char *uuid = NULL; +#ifdef HAVE_LIBUUID + const char *opt_uuid = NULL; + uuid_t uuid_dat; +#endif + static const struct option longopts[] = { + { "check", no_argument, 0, 'c' }, + { "force", no_argument, 0, 'f' }, + { "pagesize", required_argument, 0, 'p' }, + { "label", required_argument, 0, 'L' }, + { "swapversion", required_argument, 0, 'v' }, + { "uuid", required_argument, 0, 'U' }, + { "version", no_argument, 0, 'V' }, + { "help", no_argument, 0, 'h' }, + { NULL, 0, 0, 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': + check=1; + break; + case 'f': + force=1; + break; + case 'p': + user_pagesize = strtou32_or_err(optarg, _("parse page size failed")); + break; + case 'L': + opt_label = optarg; + break; + case 'v': + version = strtos32_or_err(optarg, _("parse version number failed")); + break; + case 'U': +#ifdef HAVE_LIBUUID + opt_uuid = optarg; +#else + warnx(_("warning: ignore -U (UUIDs are unsupported by %s)"), + program_invocation_short_name); +#endif + break; + case 'V': + printf(UTIL_LINUX_VERSION); + exit(EXIT_SUCCESS); + case 'h': + usage(stdout); + default: + usage(stderr); + } + } + if (optind < argc) + device_name = argv[optind++]; + if (optind < argc) + block_count = argv[optind++]; + if (optind != argc) { + warnx(("only one device as argument is currently supported.")); + usage(stderr); + } + + if (version != 1) + errx(EXIT_FAILURE, + _("does not support swapspace version %d."), version); + +#ifdef HAVE_LIBUUID + if(opt_uuid) { + if (uuid_parse(opt_uuid, uuid_dat) != 0) + errx(EXIT_FAILURE, _("error: UUID parsing failed")); + } else + uuid_generate(uuid_dat); + uuid = uuid_dat; +#endif + + init_signature_page(); /* get pagesize */ + + if (!device_name) { + warnx(_("error: Nowhere to set up swap on?")); + usage(stderr); + } + if (block_count) { + /* this silly user specified the number of blocks explicitly */ + uint64_t blks = strtou64_or_err(block_count, + _("invalid block count argument")); + PAGES = blks / (pagesize / 1024); + } + sz = get_size(device_name); + if (!PAGES) + PAGES = sz; + else if (PAGES > sz && !force) { + errx(EXIT_FAILURE, + _("error: " + "size %llu KiB is larger than device size %llu KiB"), + PAGES*(pagesize/1024), sz*(pagesize/1024)); + } + + if (PAGES < MIN_GOODPAGES) { + warnx(_("error: swap area needs to be at least %ld KiB"), + (long)(MIN_GOODPAGES * pagesize/1024)); + usage(stderr); + } + +#ifdef __linux__ + if (get_linux_version() >= KERNEL_VERSION(2,3,4)) + maxpages = UINT_MAX + 1ULL; + else if (get_linux_version() >= KERNEL_VERSION(2,2,1)) + maxpages = V1_MAX_PAGES; + else +#endif + maxpages = V1_OLD_MAX_PAGES; + + if (PAGES > maxpages) { + PAGES = maxpages; + warnx(_("warning: truncating swap area to %llu KiB"), + PAGES * pagesize / 1024); + } + + if (is_mounted(device_name)) + errx(EXIT_FAILURE, _("error: " + "%s is mounted; will not make swapspace."), + device_name); + + if (stat(device_name, &statbuf) < 0) { + perror(device_name); + exit(EXIT_FAILURE); + } + if (S_ISBLK(statbuf.st_mode)) + DEV = open(device_name, O_RDWR | O_EXCL); + else + DEV = open(device_name, O_RDWR); + + if (DEV < 0) { + perror(device_name); + exit(EXIT_FAILURE); + } + + if (!S_ISBLK(statbuf.st_mode)) + check=0; + else if (blkdev_is_misaligned(DEV)) + warnx(_("warning: %s is misaligned"), device_name); + + if (check) + check_blocks(); + + wipe_device(DEV, device_name, force, S_ISBLK(statbuf.st_mode)); + + hdr = (struct swap_header_v1_2 *) signature_page; + hdr->version = 1; + hdr->last_page = PAGES - 1; + hdr->nr_badpages = badpages; + + if (badpages > PAGES - MIN_GOODPAGES) + errx(EXIT_FAILURE, _("Unable to set up swap-space: unreadable")); + + goodpages = PAGES - badpages - 1; + printf(_("Setting up swapspace version 1, size = %llu KiB\n"), + goodpages * pagesize / 1024); + + write_signature("SWAPSPACE2"); + write_uuid_and_label(uuid, opt_label); + + offset = 1024; + if (lseek(DEV, offset, SEEK_SET) != offset) + errx(EXIT_FAILURE, _("unable to rewind swap-device")); + if (write_all(DEV, (char *) signature_page + offset, + pagesize - offset) == -1) + err(EXIT_FAILURE, + _("%s: unable to write signature page"), + device_name); + + /* + * A subsequent swapon() will fail if the signature + * is not actually on disk. (This is a kernel bug.) + */ +#ifdef HAVE_FSYNC + if (fsync(DEV)) + errx(EXIT_FAILURE, _("fsync failed")); +#endif + +#ifdef HAVE_LIBSELINUX + if (S_ISREG(statbuf.st_mode) && is_selinux_enabled() > 0) { + security_context_t context_string; + security_context_t oldcontext; + context_t newcontext; + + if (fgetfilecon(DEV, &oldcontext) < 0) { + if (errno != ENODATA) + err(EXIT_FAILURE, + _("%s: unable to obtain selinux file label"), + device_name); + if (matchpathcon(device_name, statbuf.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(DEV, context_string)) + err(EXIT_FAILURE, _("unable to relabel %s to %s"), + device_name, context_string); + } + context_free(newcontext); + freecon(oldcontext); + } +#endif + return EXIT_SUCCESS; +} diff --git a/disk-utils/partx.8 b/disk-utils/partx.8 new file mode 100644 index 0000000..be1608d --- /dev/null +++ b/disk-utils/partx.8 @@ -0,0 +1,173 @@ +.\" partx.8 -- +.\" 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" "June 2012" "util-linux" "System Administration" +.SH NAME +partx \- tell the Linux kernel about the presence and numbering of +on-disk partitions +.SH SYNOPSIS +partx [\-a|\-d|\-s] [\-t TYPE] [\-n M:N] [\-] disk +.br +partx [\-a|\-d|\-s] [\-t TYPE] partition [disk] +.SH DESCRIPTION +Given a device or disk-image, +.B partx +tries to parse the partition table and list its contents. It +optionally adds or removes partitions. +.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 "-". For example: + +.RS 7 +.TP +partx \-\-show \- /dev/sda3 +.RE +.PP +This will see sda3 as a whole-disk rather than a partition. +.PP +The +.B partx is not an fdisk program +\-\- 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 +.IP "\fB\-a\fR, \fB\-\-add\fP" +Add the specified partitions, or read the disk and add all partitions. +.IP "\fB\-b\fR, \fB\-\-bytes\fP" +Print the SIZE column in bytes rather than in human-readable format. +.IP "\fB\-d\fR, \fB\-\-delete\fP" +Delete the specified partitions or all partitions. +.IP "\fB\-g\fR, \fB\-\-noheadings\fP" +Do not print a header line. +.IP "\fB\-h\fR, \fB\-\-help\fP" +Print a help text and exit. +.IP "\fB\-l\fR, \fB\-\-list\fP" +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. +.IP "\fB\-o\fR, \fB\-\-output \fIlist\fP" +Define the output columns to use for +.B \-\-show +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 +.BR \-\-add , +.B \-\-delete +or +.B \-\-list +options. +.IP "\fB\-P\fR, \fB\-\-pairs\fP" +Output using key="value" format. +.IP "\fB\-n\fR, \fB\-\-nr \fIM:N\fP" +Specify the range of partitions. For backward compatibility also the +format +.I M-N +is supported. The range may contain negative numbers, for example +.BI \-\-nr \ :\-1 +means the last partition, and +.BI \-\-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\fR +.IR 3 ). +.TP +.I M: +Specifies lower limit only (e.g. \fB\-\-nr\fR +.IR 2: ). +.TP +.I :N +Specifies upper limit only (e.g. \fB\-\-nr\fR +.IR :4 ). +.TP +.IR M:N \ or +.TQ +.I M-N +Specifies lower and upper limits (e.g. \fB--nr\fR +.IR 2:4 ). +.RE +.IP "\fB\-r\fR, \fB\-\-raw\fP" +Use the raw output format. +.IP "\fB\-s\fR, \fB\-\-show\fP" +List the partitions. All numbers (except SIZE) are in 512-byte +sectors. The output columns can be rearranged with the +.B \-\-output +option. +.IP "\fB\-t\fR, \fB\-\-type \fItype\fP" +Specify the partition table type +.IR aix , +.IR bsd , +.IR dos , +.IR gpt , +.IR mac , +.IR minix , +.IR sgi , +.IR solaris_x86 , +.IR sun , +.I ultrix +or +.IR unixware . +.IP "\fB\-v\fR, \fB\-\-verbose\fP" +Verbose mode. +.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 AVAILABILITY +The partx command is part of the util-linux package and is available from +.UR ftp://\:ftp.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..9764478 --- /dev/null +++ b/disk-utils/partx.c @@ -0,0 +1,891 @@ +/* + * 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 "c.h" +#include "pathnames.h" +#include "nls.h" +#include "tt.h" +#include "blkdev.h" +#include "strutils.h" +#include "xalloc.h" +#include "partx.h" +#include "sysfs.h" +#include "loopdev.h" +#include "at.h" +#include "closestream.h" +#include "optutils.h" + +/* this is the default upper limit, could be modified by --nr */ +#define SLICES_MAX 256 + +/* 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_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; /* TT_FL_* */ + const char *help; +}; + +/* columns descriptions */ +struct colinfo infos[] = { + [COL_PARTNO] = { "NR", 0.25, TT_FL_RIGHT, N_("partition number") }, + [COL_START] = { "START", 0.30, TT_FL_RIGHT, N_("start of the partition in sectors") }, + [COL_END] = { "END", 0.30, TT_FL_RIGHT, N_("end of the partition in sectors") }, + [COL_SECTORS] = { "SECTORS", 0.30, TT_FL_RIGHT, N_("number of sectors") }, + [COL_SIZE] = { "SIZE", 0.30, TT_FL_RIGHT, N_("human readable size") }, + [COL_NAME] = { "NAME", 0.30, TT_FL_TRUNC, N_("partition name") }, + [COL_UUID] = { "UUID", 36, 0, N_("partition UUID")}, + [COL_SCHEME] = { "SCHEME", 0.1, TT_FL_TRUNC, N_("partition table type (dos, gpt, ...)")}, + [COL_FLAGS] = { "FLAGS", 0.1, TT_FL_TRUNC, N_("partition flags")}, + [COL_TYPE] = { "TYPE", 1, TT_FL_RIGHT, N_("partition type hex or uuid")}, +}; + +#define NCOLS ARRAY_SIZE(infos) + +/* array with IDs of enabled columns */ +static int columns[NCOLS], 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 setup loop device"), fname); + + loopdev = 1; +} + +static inline int get_column_id(int num) +{ + assert(ARRAY_SIZE(columns) == NCOLS); + assert(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 sysfs_cxt cxt; + int rc; + + if (sysfs_init(&cxt, devno, NULL)) + goto err; + + rc = sysfs_read_int(&cxt, "partition", &partno); + sysfs_deinit(&cxt); + + if (rc == 0) + return partno; + } + + sz = strlen(partition); + p = partition + sz - 1; + + if (!isdigit((unsigned int) *p)) + goto err; + + while (isdigit((unsigned int) *(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) + continue; +#endif + if (strncmp(parent, d->d_name, strlen(parent))) + continue; + snprintf(path, sizeof(path), "%s/partition", d->d_name); + + fd = open_at(dirfd(dir), dirname, 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 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); + + 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 already 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 = 0, errfirst = 0, errlast = 0; + + assert(fd >= 0); + assert(device); + assert(ls); + + 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 int list_parts(blkid_partlist ls, int lower, int upper) +{ + int i, nparts; + + assert(ls); + + 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(_("#%2d: %9ju-%9ju (%9ju sectors, %6ju MB)\n"), + n, start, start + size -1, + size, (size << 9) / 1000000); + } + return 0; +} + +static void add_tt_line(struct tt *tt, blkid_partition par) +{ + struct tt_line *line; + int i; + + assert(tt); + assert(par); + + line = tt_add_line(tt, NULL); + if (!line) { + warn(_("failed to add line to output")); + return; + } + + for (i = 0; i < ncolumns; i++) { + char *str = NULL; + int rc = 0; + + switch (get_column_id(i)) { + case COL_PARTNO: + rc = xasprintf(&str, "%d", + blkid_partition_get_partno(par)); + break; + case COL_START: + rc = xasprintf(&str, "%ju", + blkid_partition_get_start(par)); + break; + case COL_END: + rc = xasprintf(&str, "%ju", + blkid_partition_get_start(par) + + blkid_partition_get_size(par) - 1); + break; + case COL_SECTORS: + rc = xasprintf(&str, "%ju", + blkid_partition_get_size(par)); + break; + case COL_SIZE: + if (partx_flags & FL_BYTES) + rc = 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: + str = (char *) blkid_partition_get_name(par); + if (str) + str = xstrdup(str); + break; + case COL_UUID: + str = (char *) blkid_partition_get_uuid(par); + if (str) + str = xstrdup(str); + break; + case COL_TYPE: + str = (char *) blkid_partition_get_type_string(par); + if (str) + str = xstrdup(str); + else + rc = xasprintf(&str, "0x%x", + blkid_partition_get_type(par)); + break; + case COL_FLAGS: + rc = xasprintf(&str, "0x%llx", blkid_partition_get_flags(par)); + break; + case COL_SCHEME: + { + blkid_parttable tab = blkid_partition_get_table(par); + if (tab) { + str = (char *) blkid_parttable_get_type(tab); + if (str) + str = xstrdup(str); + } + break; + } + default: + break; + } + + if (rc || str) + tt_line_set_data(line, i, str); + } +} + +static int show_parts(blkid_partlist ls, int tt_flags, int lower, int upper) +{ + int i, rc = -1; + struct tt *tt; + int nparts; + + assert(ls); + + nparts = blkid_partlist_numof_partitions(ls); + if (!nparts) + return 0; + + tt = tt_new_table(tt_flags); + if (!tt) { + warn(_("failed to initialize output table")); + return -1; + } + + for (i = 0; i < ncolumns; i++) { + struct colinfo *col = get_column_info(i); + + if (!tt_define_column(tt, col->name, col->whint, col->flags)) { + warnx(_("failed to initialize output column")); + 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; + + add_tt_line(tt, par); + } + + rc = 0; + tt_print_table(tt); +done: + tt_free_table(tt); + 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(FILE *out) +{ + size_t i; + + fputs(USAGE_HEADER, out); + fprintf(out, + _(" %s [-a|-d|-s] [--nr | ] \n"), + program_invocation_short_name); + + fputs(USAGE_OPTIONS, out); + fputs(_(" -a, --add add specified partitions or all of them\n" + " -d, --delete delete specified partitions or all of them\n" + " -l, --list list partitions (DEPRECATED)\n" + " -s, --show list partitions\n\n" + + " -b, --bytes print SIZE in bytes rather than in human readable format\n" + " -g, --noheadings don't print headings for --show\n" + " -n, --nr specify the range of partitions (e.g. --nr 2:4)\n" + " -o, --output define which output columns to use\n" + " -P, --pairs use key=\"value\" output format\n" + " -r, --raw use raw output format\n" + " -t, --type specify the partition type (dos, bsd, solaris, etc.)\n" + " -v, --verbose verbose mode\n"), out); + + fputs(USAGE_SEPARATOR, out); + fputs(USAGE_HELP, out); + fputs(USAGE_VERSION, out); + + fputs(_("\nAvailable columns (for --show, --raw or --pairs):\n"), out); + + for (i = 0; i < NCOLS; i++) + fprintf(out, " %10s %s\n", infos[i].name, _(infos[i].help)); + + fprintf(out, USAGE_MAN_TAIL("partx(8)")); + + exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); +} + +int main(int argc, char **argv) +{ + int fd, c, what = ACT_NONE, lower = 0, upper = 0, rc = 0; + int tt_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; + + 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' }, + { "type", required_argument, NULL, 't' }, + { "nr", required_argument, NULL, 'n' }, + { "output", required_argument, NULL, 'o' }, + { "pairs", no_argument, NULL, 'P' }, + { "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 in ASCII order */ + { 'P','a','d','l','r','s' }, + { 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, + "abdglrsvn:t:o:PhV", 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': + tt_flags |= TT_FL_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 'P': + tt_flags |= TT_FL_EXPORT; + what = ACT_SHOW; + break; + case 'r': + tt_flags |= TT_FL_RAW; + what = ACT_SHOW; + break; + case 's': + what = ACT_SHOW; + break; + case 't': + type = optarg; + break; + case 'v': + verbose = 1; + break; + case 'h': + usage(stdout); + case 'V': + printf(UTIL_LINUX_VERSION); + return EXIT_SUCCESS; + case '?': + default: + usage(stderr); + } + } + + 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]); + } + } 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 failed %s"), 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 + usage(stderr); + + 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 + ls = get_partlist(pr, wholedisk, type); + + if (ls) { + int n = blkid_partlist_numof_partitions(ls); + + if (lower < 0) + lower = n + lower + 1; + if (upper < 0) + upper = n + upper + 1; + if (lower > upper) { + warnx(_("specified range <%d:%d> " + "does not make sense"), lower, upper); + rc = -1, what = ACT_NONE; + } + + switch (what) { + case ACT_SHOW: + rc = show_parts(ls, tt_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_NONE: + break; + default: + abort(); + } + } + blkid_free_probe(pr); + } + + if (loopdev) + loopcxt_deinit(&lc); + + close(fd); + return rc ? EXIT_FAILURE : EXIT_SUCCESS; +} diff --git a/disk-utils/partx.h b/disk-utils/partx.h new file mode 100644 index 0000000..254cd85 --- /dev/null +++ b/disk-utils/partx.h @@ -0,0 +1,75 @@ +#ifndef UTIL_LINUX_PARTX_H +#define UTIL_LINUX_PARTX_H + +#include +#include + +#ifndef BLKPG_ADD_PARTITION +# define BLKPG_ADD_PARTITION 1 +#endif + +#ifndef BLKPG_DEL_PARTITION +# define BLKPG_DEL_PARTITION 2 +#endif + +#ifndef BLKPG_RESIZE_PARTITION +# define BLKPG_RESIZE_PARTITION 3 /* since Linux 3.6 */ +#endif + +static inline int partx_del_partition(int fd, unsigned int partno) +{ + struct blkpg_ioctl_arg a; + struct blkpg_partition p; + + p.pno = partno; + p.start = 0; + p.length = 0; + p.devname[0] = 0; + p.volname[0] = 0; + a.op = BLKPG_DEL_PARTITION; + a.flags = 0; + a.datalen = sizeof(p); + a.data = &p; + + return ioctl(fd, BLKPG, &a); +} + +static inline int partx_add_partition(int fd, int partno, + uint64_t start, uint64_t size) +{ + struct blkpg_ioctl_arg a; + struct blkpg_partition p; + + p.pno = partno; + p.start = start << 9; + p.length = size << 9; + p.devname[0] = 0; + p.volname[0] = 0; + a.op = BLKPG_ADD_PARTITION; + a.flags = 0; + a.datalen = sizeof(p); + a.data = &p; + + return ioctl(fd, BLKPG, &a); +} + +static inline int partx_resize_partition(int fd, int partno, + uint64_t start, uint64_t size) +{ + struct blkpg_ioctl_arg a; + struct blkpg_partition p; + + p.pno = partno; + p.start = start << 9; + p.length = size << 9; + p.devname[0] = 0; + p.volname[0] = 0; + a.op = BLKPG_RESIZE_PARTITION; + a.flags = 0; + a.datalen = sizeof(p); + a.data = &p; + + return ioctl(fd, BLKPG, &a); +} + +#endif /* UTIL_LINUX_PARTX_H */ diff --git a/disk-utils/raw.8 b/disk-utils/raw.8 new file mode 100644 index 0000000..0e47843 --- /dev/null +++ b/disk-utils/raw.8 @@ -0,0 +1,92 @@ +.\" -*- nroff -*- +.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 +.B -q +Set query mode. +.B raw +will query an existing binding instead of setting a new one. +.TP +.B -a +With +.B -q +, specify that all bound raw devices should be queried. +.TP +.B -h +Provide a usage summary. +.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 AUTHOR +Stephen Tweedie (sct@redhat.com) +.SH AVAILABILITY +The raw command is part of the util-linux package and is available from +ftp://ftp.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..eb58e96 --- /dev/null +++ b/disk-utils/raw.c @@ -0,0 +1,270 @@ +/* + * 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 + +#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 + +int do_query; +int do_query_all; + +int master_fd; +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(int err) +{ + FILE *out = err == EXIT_SUCCESS ? stdout : stderr; + + 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_OPTIONS, out); + fputs(_(" -q, --query set query mode\n"), out); + fputs(_(" -a, --all query all raw devices\n"), out); + fputs(USAGE_HELP, out); + fputs(USAGE_VERSION, out); + fprintf(out, USAGE_MAN_TAIL("raw(8)")); + exit(err); +} + +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, 0, 'q'}, + {"all", no_argument, 0, 'a'}, + {"version", no_argument, 0, 'V'}, + {"help", no_argument, 0, 'h'}, + {NULL, no_argument, 0, '0'}, + }; + + setlocale(LC_MESSAGES, ""); + 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(EXIT_SUCCESS); + default: + usage(EXIT_FAILURE); + } + + /* + * Check for, and open, the master raw device, /dev/raw + */ + open_raw_ctl(); + + if (do_query_all) { + if (optind < argc) + usage(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) + usage(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) + usage(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: + usage(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)) + 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)) + 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..c009cc3 --- /dev/null +++ b/disk-utils/resizepart.8 @@ -0,0 +1,38 @@ +.\" resizepart.8 -- +.\" Copyright 2012 Vivek Goyal +.\" Copyright 2012 Red Hat, Inc. +.\" May be distributed under the GNU General Public License +.TH RESIZEPART 8 "February 2012" "util-linux" "System Administration" +.SH NAME +resizepart \- +simple wrapper around the "resize partition" ioctl +.SH SYNOPSIS +.B resizepart +.I device partition length +.SH DESCRIPTION +.B resizepart +is a program that informs the Linux kernel of new partition size. + +This command doesn't manipulate partitions on hard drive. + +.SH PARAMETERS +.TP +.I device +Specify the disk device. +.TP +.I partition +Specify the partition number. +.TP +.I length +Specify the 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 +ftp://ftp.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..5517c4f --- /dev/null +++ b/disk-utils/resizepart.c @@ -0,0 +1,106 @@ +#include +#include +#include +#include +#include +#include +#include + +#include "c.h" +#include "nls.h" +#include "partx.h" +#include "sysfs.h" +#include "strutils.h" + +static void __attribute__ ((__noreturn__)) usage(FILE * out) +{ + fputs(USAGE_HEADER, out); + fprintf(out, _(" %s \n"), + program_invocation_short_name); + fputs(USAGE_OPTIONS, out); + fputs(USAGE_HELP, out); + fputs(USAGE_VERSION, out); + fprintf(out, USAGE_MAN_TAIL("resizepart(8)")); + exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); +} + +static int get_partition_start(int fd, int partno, uint64_t *start) +{ + struct stat st; + struct sysfs_cxt disk = UL_SYSFSCXT_EMPTY, + part = UL_SYSFSCXT_EMPTY; + dev_t devno = 0; + int rc = -1; + + /* + * wholedisk + */ + if (fstat(fd, &st) || !S_ISBLK(st.st_mode)) + goto done; + devno = st.st_rdev; + if (sysfs_init(&disk, devno, NULL)) + goto done; + /* + * partition + */ + devno = sysfs_partno_to_devno(&disk, partno); + if (!devno) + goto done; + if (sysfs_init(&part, devno, &disk)) + goto done; + if (sysfs_read_u64(&part, "start", start)) + goto done; + + rc = 0; +done: + sysfs_deinit(&part); + sysfs_deinit(&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, 0, 'h'}, + {"version", no_argument, 0, 'V'}, + {NULL, no_argument, 0, '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(stdout); + default: + usage(stderr); + } + + if (argc != 4) + usage(stderr); + + 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")); + + return 0; +} diff --git a/disk-utils/swaplabel.8 b/disk-utils/swaplabel.8 new file mode 100644 index 0000000..0d47456 --- /dev/null +++ b/disk-utils/swaplabel.8 @@ -0,0 +1,67 @@ +.\" Copyright 2010 Jason Borden +.\" +.\" This file may be copied under the terms of the GNU Public License. +.\" +.TH SWAPLABEL 8 "April 2010" "util-linux" "System Administration" +.SH NAME +swaplabel \- print or change the label or UUID of a swap area +.SH SYNOPSIS +.B swaplabel +.RB [ \-L +.IR label ] +.RB [ \-U +.IR UUID ] +.I device +.SH DESCRIPTION +.B swaplabel +will display or change the label or UUID of a swap partition located on +.IR device +(or regular file). +.PP +If the optional arguments +.B \-L +and +.B \-U +are not given, +.B swaplabel +will simply display the current swap-area label and UUID of +.IR device . +.PP +If an optional argument is present, then +.B swaplabel +will change the appropriate value on +.IR device . +These values can also be set during swap creation using +.BR mkswap (8). +The +.B swaplabel +utility allows to change the label or UUID on an actively used swap device. +.SH OPTIONS +.TP +.BR \-h , " \-\-help" +Display help text and exit. +.TP +.BR \-L , " \-\-label " \fIlabel\fR +Specify a new \fIlabel\fR for the device. +Swap partition labels can be at most 16 characters long. If +.I label +is longer than 16 characters, +.B swaplabel +will truncate it and print a warning message. +.TP +.BR \-U , " \-\-uuid " \fIUUID\fR +Specify a new \fIUUID\fR for the device. +The \fI UUID\fR +must be in the standard 8-4-4-4-12 character format, such as is output by +.BR uuidgen (1) . +.PP +.SH AUTHOR +.B swaplabel +was written by Jason Borden and Karel Zak . +.SH AVAILABILITY +The swaplabel command is part of the util-linux package and is available from +ftp://ftp.kernel.org/pub/linux/utils/util-linux/. +.SH SEE ALSO +.BR mkswap (8), +.BR swapon (8), +.BR uuidgen (1) diff --git a/disk-utils/swaplabel.c b/disk-utils/swaplabel.c new file mode 100644 index 0000000..3e3e78b --- /dev/null +++ b/disk-utils/swaplabel.c @@ -0,0 +1,228 @@ +/* + * swaplabel.c - Print or change the label / UUID of a swap partition + * + * Copyright (C) 2010 Jason Borden + * Copyright (C) 2010 Karel Zak + * + * Usage: swaplabel [-L label] [-U UUID] device + * + * This file may be redistributed under the terms of the GNU Public License + * version 2 or later. + * + */ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef HAVE_LIBUUID +# include +#endif + +#include "c.h" +#include "closestream.h" +#include "all-io.h" +#include "swapheader.h" +#include "strutils.h" +#include "nls.h" + +#define SWAP_UUID_OFFSET (offsetof(struct swap_header_v1_2, uuid)) +#define SWAP_LABEL_OFFSET (offsetof(struct swap_header_v1_2, volume_name)) + +/* + * Returns new libblkid prober. This function call exit() on error. + */ +static blkid_probe get_swap_prober(const char *devname) +{ + blkid_probe pr; + int rc; + const char *version = NULL; + char *swap_filter[] = { "swap", NULL }; + + pr = blkid_new_probe_from_filename(devname); + if (!pr) { + warn(_("%s: unable to probe device"), devname); + return NULL; + } + + blkid_probe_enable_superblocks(pr, TRUE); + blkid_probe_set_superblocks_flags(pr, + BLKID_SUBLKS_LABEL | BLKID_SUBLKS_UUID | + BLKID_SUBLKS_VERSION); + + blkid_probe_filter_superblocks_type(pr, BLKID_FLTR_ONLYIN, swap_filter); + + rc = blkid_do_safeprobe(pr); + if (rc == -1) + warn(_("%s: unable to probe device"), devname); + else if (rc == -2) + warnx(_("%s: ambivalent probing result, use wipefs(8)"), devname); + else if (rc == 1) + warnx(_("%s: not a valid swap partition"), devname); + + if (rc == 0) { + /* supported is SWAPSPACE2 only */ + if (blkid_probe_lookup_value(pr, "VERSION", &version, NULL) == 0 + && version + && strcmp(version, "2")) + warnx(_("%s: unsupported swap version '%s'"), + devname, version); + else + return pr; + } + + blkid_free_probe(pr); + return NULL; +} + +/* Print the swap partition information */ +static int print_info(blkid_probe pr) +{ + const char *data; + + if (!blkid_probe_lookup_value(pr, "LABEL", &data, NULL)) + printf("LABEL: %s\n", data); + + if (!blkid_probe_lookup_value(pr, "UUID", &data, NULL)) + printf("UUID: %s\n", data); + + return 0; +} + +/* Change the swap partition info */ +static int change_info(const char *devname, const char *label, const char *uuid) +{ + int fd; + + fd = open(devname, O_RDWR); + if (fd < 0) { + warn(_("cannot open %s"), devname); + goto err; + } +#ifdef HAVE_LIBUUID + /* Write the uuid if it was provided */ + if (uuid) { + uuid_t newuuid; + + if (uuid_parse(uuid, newuuid) == -1) + warnx(_("failed to parse UUID: %s"), uuid); + else { + if (lseek(fd, SWAP_UUID_OFFSET, SEEK_SET) != + SWAP_UUID_OFFSET) { + warn(_("%s: failed to seek to swap UUID"), devname); + goto err; + + } else if (write_all(fd, newuuid, sizeof(newuuid))) { + warn(_("%s: failed to write UUID"), devname); + goto err; + } + } + } +#endif + /* Write the label if it was provided */ + if (label) { + char newlabel[SWAP_LABEL_LENGTH]; + + if (lseek(fd, SWAP_LABEL_OFFSET, SEEK_SET) != SWAP_LABEL_OFFSET) { + warn(_("%s: failed to seek to swap label "), devname); + goto err; + } + memset(newlabel, 0, sizeof(newlabel)); + xstrncpy(newlabel, label, sizeof(newlabel)); + + if (strlen(label) > strlen(newlabel)) + warnx(_("label is too long. Truncating it to '%s'"), + newlabel); + if (write_all(fd, newlabel, sizeof(newlabel))) { + warn(_("%s: failed to write label"), devname); + goto err; + } + } + + close(fd); + return 0; +err: + if (fd >= 0) + close(fd); + return -1; +} + +static void __attribute__((__noreturn__)) usage(FILE *out) +{ + fputs(USAGE_HEADER, out); + fprintf(out, _(" %s [options] \n"), + program_invocation_short_name); + fputs(USAGE_OPTIONS, out); + fputs(_(" -L, --label